mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
chore: drop the schema modules' unused constant re-exports
The client-safe constants moved to zod-free modules and every caller imports them from there; the re-exports from the schema modules had no reader left.
This commit is contained in:
1 parent
a37d45ab3f
commit
54d215d377
3 files changed
+1
-15
No files matched your search
@@ -14,12 +14,7 @@
|
||||
*/
|
||||
import { z } from "zod/v4";
|
||||
|
||||
import {
|
||||
isReportLeafId,
|
||||
orderLeaves,
|
||||
type ReportLeafId,
|
||||
ALL_LEAF_IDS,
|
||||
} from "./catalogue";
|
||||
import { isReportLeafId, type ReportLeafId, ALL_LEAF_IDS } from "./catalogue";
|
||||
|
||||
declare const brand: unique symbol;
|
||||
|
||||
@@ -121,7 +116,3 @@ export function selectionToBlob(
|
||||
export function isEmptySelection(selection: ReportSelection): boolean {
|
||||
return selection.leaves.length === 0;
|
||||
}
|
||||
|
||||
// The ordering helper lives beside the catalogue it orders, so a client
|
||||
// panel that only folds its own state does not pull the schema library in.
|
||||
export { orderLeaves };
|
||||
@@ -24,7 +24,6 @@ import {
|
||||
// Coach and the settings pages do not pull the schema library in with them.
|
||||
// Re-exported here for the server code that imports them from the schema.
|
||||
export {
|
||||
COACH_DATA_CLUSTERS,
|
||||
DEFAULT_COACH_CLUSTERS,
|
||||
DEFAULT_COACH_PREFS,
|
||||
coachReasoningLevel,
|
||||
|
||||
@@ -42,12 +42,8 @@ import type { AiCapabilityState } from "@/lib/ai/capabilities/types";
|
||||
// library into its route. Re-exported here for the server code that already
|
||||
// imports them from the schema module.
|
||||
export {
|
||||
DOCUMENT_BULK_MAX_IDS,
|
||||
DOCUMENT_CONTENT_INDEX_SOURCES,
|
||||
DOCUMENT_LIST_DEFAULT_LIMIT,
|
||||
INBOUND_DOCUMENT_KINDS,
|
||||
MAX_COACH_ATTACHMENTS,
|
||||
isAiReadSource,
|
||||
type DocumentContentIndexSourceValue,
|
||||
type InboundDocumentKindValue,
|
||||
} from "@/lib/documents/inbound-constants";
|
||||
|
||||
Reference in new issue
Block a user