mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
chore: drop exports the composition and marker merge left unread
This commit is contained in:
1 parent
0dd634c9c8
commit
1e7fc08f57
4 files changed
-17
No files matched your search
@@ -12,8 +12,6 @@
|
||||
import type { Prisma, PrismaClient } from "@/generated/prisma/client";
|
||||
import { foldForMatch } from "@/lib/i18n/fold-for-match";
|
||||
|
||||
export type AliasSource = "MERGE" | "IMPORT_CHOICE" | "MANUAL";
|
||||
|
||||
type AliasClient = Pick<PrismaClient, "biomarkerAlias" | "biomarker">;
|
||||
type AliasTx = Prisma.TransactionClient;
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ export {
|
||||
} from "./schemas";
|
||||
export { medicationPaths } from "./paths";
|
||||
export {
|
||||
medicationIngredient,
|
||||
medicationIngredientPaths,
|
||||
supplementLabelExtractResult,
|
||||
} from "./ingredients";
|
||||
@@ -36,10 +36,3 @@ export const BIOMARKER_MERGE_REFUSALS = [
|
||||
"unknown_unit",
|
||||
"not_finite",
|
||||
] as const;
|
||||
|
||||
/** Where an alias came from (`biomarker_aliases.source`). */
|
||||
export const BIOMARKER_ALIAS_SOURCES = [
|
||||
"MERGE",
|
||||
"IMPORT_CHOICE",
|
||||
"MANUAL",
|
||||
] as const;
|
||||
@@ -43,10 +43,3 @@ export type MedicationIngredientsPutInput = z.infer<
|
||||
|
||||
/** Label photo upload limits for `POST /api/medications/{id}/ingredients/extract`. */
|
||||
export const SUPPLEMENT_LABEL_MAX_BYTES = 10 * 1024 * 1024;
|
||||
export const SUPPLEMENT_LABEL_MIME_TYPES = [
|
||||
"image/jpeg",
|
||||
"image/png",
|
||||
"image/heic",
|
||||
"image/webp",
|
||||
"application/pdf",
|
||||
] as const;
|
||||
Reference in new issue
Block a user