diff --git a/packages/demo/src/AppCCP.svelte b/packages/demo/src/AppCCP.svelte index dbca66e..b9f3b75 100644 --- a/packages/demo/src/AppCCP.svelte +++ b/packages/demo/src/AppCCP.svelte @@ -20,7 +20,7 @@ if (import.meta.env.VITE_TARGET_ENVIRONMENT === "production") { catalogueUrl = "catalogues/catalogue-dktk.json"; - optionsFilePath = "options.json"; + optionsFilePath = "options-ccp-prod.json"; } else { catalogueUrl = "catalogues/catalogue-dktk-staging.json"; optionsFilePath = "options-ccp-demo.json"; diff --git a/packages/lib/src/types/treeData.ts b/packages/lib/src/types/treeData.ts index 0d8f152..7dc4ab7 100644 --- a/packages/lib/src/types/treeData.ts +++ b/packages/lib/src/types/treeData.ts @@ -17,7 +17,7 @@ export type Category = key: string; name: string; system?: string; - fieldType: "single-select" | "autocomplete" | "number"; + fieldType: "single-select" | "autocomplete" | "number" | "date"; type: "EQUALS" | "BETWEEN"; min?: number; max?: number;