@dpuse/dpuse-shared 0.3.815 → 0.3.821

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +45 -9
  2. package/dist/{componentConfig.schema-Dxqinpxy.js → componentConfig.schema-DT3mO5rS.js} +80 -64
  3. package/dist/componentConfig.schema-DT3mO5rS.js.map +1 -0
  4. package/dist/dpuse-shared-component.es.js +2 -2
  5. package/dist/dpuse-shared-component.es.js.map +1 -0
  6. package/dist/dpuse-shared-componentDataView.es.js +1 -1
  7. package/dist/dpuse-shared-componentDataView.es.js.map +1 -0
  8. package/dist/dpuse-shared-componentModuleConnector.es.js +31 -31
  9. package/dist/dpuse-shared-componentModuleConnector.es.js.map +1 -0
  10. package/dist/dpuse-shared-componentModuleCookbook.es.js +5 -5
  11. package/dist/dpuse-shared-componentModuleCookbook.es.js.map +1 -0
  12. package/dist/dpuse-shared-componentModulePresenter.es.js +6 -6
  13. package/dist/dpuse-shared-componentModulePresenter.es.js.map +1 -0
  14. package/dist/dpuse-shared-componentModuleTool.es.js.map +1 -0
  15. package/dist/dpuse-shared-componentRecipe.es.js.map +1 -0
  16. package/dist/dpuse-shared-encoding.es.js +229 -121
  17. package/dist/dpuse-shared-encoding.es.js.map +1 -0
  18. package/dist/dpuse-shared-errors.es.js.map +1 -0
  19. package/dist/dpuse-shared-locale.es.js +8 -24
  20. package/dist/dpuse-shared-locale.es.js.map +1 -0
  21. package/dist/dpuse-shared-utilities.es.js +4 -11
  22. package/dist/dpuse-shared-utilities.es.js.map +1 -0
  23. package/dist/label-DexpXrnC.js +19 -0
  24. package/dist/label-DexpXrnC.js.map +1 -0
  25. package/dist/moduleConfig.schema-aYmFWSrn.js +22 -0
  26. package/dist/moduleConfig.schema-aYmFWSrn.js.map +1 -0
  27. package/dist/types/src/baseConfig.schema.d.ts +2 -2
  28. package/dist/types/src/component/componentConfig.schema.d.ts +13 -14
  29. package/dist/types/src/component/connection/index.d.ts +1 -1
  30. package/dist/types/src/component/context/model/dimension/hierarchy/index.d.ts +1 -1
  31. package/dist/types/src/component/context/model/entity/dataItem/index.d.ts +1 -1
  32. package/dist/types/src/component/context/model/entity/event/index.d.ts +1 -1
  33. package/dist/types/src/component/context/model/entity/index.d.ts +1 -1
  34. package/dist/types/src/component/context/model/entity/primaryMeasure/index.d.ts +1 -1
  35. package/dist/types/src/component/index.d.ts +3 -3
  36. package/dist/types/src/component/module/connector/connectorConfig.schema.d.ts +14 -14
  37. package/dist/types/src/component/module/cookbook/cookbookConfig.schema.d.ts +7 -7
  38. package/dist/types/src/component/module/engine/index.d.ts +3 -2
  39. package/dist/types/src/component/module/moduleConfig.schema.d.ts +7 -7
  40. package/dist/types/src/component/module/presenter/presenterConfig.schema.d.ts +7 -7
  41. package/dist/types/src/encoding/index.d.ts +22 -6
  42. package/dist/types/src/index.d.ts +2 -2
  43. package/dist/types/src/locale/index.d.ts +2 -14
  44. package/dist/types/src/locale/label.d.ts +13 -0
  45. package/dist/types/src/locale/locale.schema.d.ts +3 -3
  46. package/package.json +15 -9
  47. package/dist/moduleConfig.schema-B_EBeUaj.js +0 -22
  48. package/dist/types/eslint.config.d.ts +0 -3
  49. package/dist/types/tests/errors/index.test.d.ts +0 -1
  50. package/dist/types/tests/locale/index.test.d.ts +0 -1
  51. package/dist/types/tests/schema/index.test.d.ts +0 -1
  52. package/dist/types/tests/utilities/index.test.d.ts +0 -1
  53. package/dist/types/vite.config.d.ts +0 -2
  54. package/dist/types/vitest.config.d.ts +0 -2
@@ -1,44 +1,28 @@
1
+ import { i as e, n as t, r as n, t as r } from "./label-DexpXrnC.js";
1
2
  //#region src/locale/index.ts
2
- var e = "en", t = [{
3
- id: "en",
4
- flag: "gb",
5
- label: "English"
6
- }, {
7
- id: "es",
8
- flag: "es",
9
- label: "Español"
10
- }];
11
- function n(e) {
12
- return new Map(Object.entries(e));
13
- }
14
- function r(e, t) {
3
+ function i(e, t) {
15
4
  return {
16
5
  ...e,
17
6
  label: e.label[t] ?? e.id,
18
- description: e.description[t] ?? e.description.en,
7
+ description: e.description[t] ?? e.description.en ?? "",
19
8
  verb: e.verb?.[t] ?? void 0
20
9
  };
21
10
  }
22
- function i(e, t, n = !1) {
11
+ function a(e, t, n = !1) {
23
12
  let r = e.map((e) => ({
24
13
  ...e,
25
14
  label: e.label[t] ?? e.id,
26
- description: e.description[t] ?? e.description.en,
15
+ description: e.description[t] ?? e.description.en ?? "",
27
16
  verb: e.verb?.[t] ?? void 0
28
17
  }));
29
18
  return n ? r.toSorted((e, t) => e.label.localeCompare(t.label) || e.id.localeCompare(t.id)) : r;
30
19
  }
31
- function a(e, t) {
20
+ function o(e, t) {
32
21
  return {
33
22
  ...e,
34
23
  label: e.label[t] ?? e.id,
35
- description: e.description[t] ?? e.description.en
24
+ description: e.description[t] ?? e.description.en ?? ""
36
25
  };
37
26
  }
38
- function o(e, t, n = "en") {
39
- let r = e.get(t);
40
- if (r !== void 0) return r;
41
- if (n !== t) return e.get(n);
42
- }
43
27
  //#endregion
44
- export { e as DEFAULT_LOCALE_ID, t as SUPPORTED_LANGUAGES, n as createLabelMap, r as localiseConfig, i as localiseConfigs, a as localiseReference, o as resolveLabel };
28
+ export { r as DEFAULT_LOCALE_ID, t as SUPPORTED_LANGUAGES, n as createLabelMap, i as localiseConfig, a as localiseConfigs, o as localiseReference, e as resolveLabel };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dpuse-shared-locale.es.js","names":[],"sources":["../src/locale/index.ts"],"sourcesContent":["// ── DPUse Framework\nimport { DEFAULT_LOCALE_ID } from '@/locale/label';\nimport type { LocaleDescription, LocaleId, LocaleLabel } from '@/locale/label';\n\n// The label vocabulary is re-exported so that the published '@dpuse/dpuse-shared/locale' entry point stays one import\n// for consumers, while modules inside this package can depend on '@/locale/label' alone.\nexport * from '@/locale/label';\n\n// ── Types ────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport type LocalisedConfig<T> = Omit<T, 'label' | 'description' | 'verb'> & { label: string; description: string; verb?: string | undefined };\n\ninterface UnlocalisedConfig {\n id: string;\n label: LocaleLabel;\n description: LocaleDescription;\n verb?: LocaleLabel | undefined;\n}\n\nexport type LocalisedReference<T> = Omit<T, 'label' | 'description'> & { label: string; description: string };\n\ninterface UnlocalisedReference {\n id: string;\n label: LocaleLabel;\n description: LocaleDescription;\n}\n\n// ── Actions ──────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport function localiseConfig<T extends UnlocalisedConfig>(config: T, localeId: LocaleId): LocalisedConfig<T> {\n return {\n ...config,\n label: config.label[localeId] ?? config.id,\n description: config.description[localeId] ?? config.description[DEFAULT_LOCALE_ID] ?? '',\n verb: config.verb?.[localeId] ?? undefined\n };\n}\n\nexport function localiseConfigs<T extends UnlocalisedConfig>(configs: T[], localeId: LocaleId, isResultSorted = false): LocalisedConfig<T>[] {\n const mapped = configs.map((config) => ({\n ...config,\n label: config.label[localeId] ?? config.id,\n description: config.description[localeId] ?? config.description[DEFAULT_LOCALE_ID] ?? '',\n verb: config.verb?.[localeId] ?? undefined\n }));\n return isResultSorted ? mapped.toSorted((a, b) => a.label.localeCompare(b.label) || a.id.localeCompare(b.id)) : mapped;\n}\n\nexport function localiseReference<T extends UnlocalisedReference>(reference: T, localeId: LocaleId): LocalisedReference<T> {\n return {\n ...reference,\n label: reference.label[localeId] ?? reference.id,\n description: reference.description[localeId] ?? reference.description[DEFAULT_LOCALE_ID] ?? ''\n };\n}\n"],"mappings":";;AA6BA,SAAgB,EAA4C,GAAW,GAAwC;CAC3G,OAAO;EACH,GAAG;EACH,OAAO,EAAO,MAAM,MAAa,EAAO;EACxC,aAAa,EAAO,YAAY,MAAa,EAAO,YAAA,MAAkC;EACtF,MAAM,EAAO,OAAO,MAAa,KAAA;CACrC;AACJ;AAEA,SAAgB,EAA6C,GAAc,GAAoB,IAAiB,IAA6B;CACzI,IAAM,IAAS,EAAQ,KAAK,OAAY;EACpC,GAAG;EACH,OAAO,EAAO,MAAM,MAAa,EAAO;EACxC,aAAa,EAAO,YAAY,MAAa,EAAO,YAAA,MAAkC;EACtF,MAAM,EAAO,OAAO,MAAa,KAAA;CACrC,EAAE;CACF,OAAO,IAAiB,EAAO,UAAU,GAAG,MAAM,EAAE,MAAM,cAAc,EAAE,KAAK,KAAK,EAAE,GAAG,cAAc,EAAE,EAAE,CAAC,IAAI;AACpH;AAEA,SAAgB,EAAkD,GAAc,GAA2C;CACvH,OAAO;EACH,GAAG;EACH,OAAO,EAAU,MAAM,MAAa,EAAU;EAC9C,aAAa,EAAU,YAAY,MAAa,EAAU,YAAA,MAAkC;CAChG;AACJ"}
@@ -79,16 +79,9 @@ function c(e, t = 1) {
79
79
  }
80
80
  function l(t, n = "ms") {
81
81
  if (t == null) return "";
82
- let r = e.findIndex(([e]) => e === n);
83
- if (t < (e[r]?.[1] ?? 0)) {
84
- let n = e.find(([, e]) => t >= e);
85
- if (n == null) return `${u(t)} ms`;
86
- let [, r, i] = n;
87
- return i(r > 0 ? Math.floor(t / r) : t);
88
- }
89
- let i = [], a = t, o = e.slice(0, r + 1);
90
- for (let [, e, t] of o) e === 0 ? (a > 0 || i.length === 0) && i.push(t(a)) : a >= e && (i.push(t(Math.floor(a / e))), a %= e);
91
- return i.join(" ");
82
+ let r = e.findIndex(([, e]) => t >= e), i = r === -1 ? e.length - 1 : r, a = e.findIndex(([e]) => e === n), o = e.slice(i, Math.max(a, i) + 1), s = [], c = t;
83
+ for (let [, e, t] of o) c < e || c === 0 && s.length > 0 || (s.push(t(e > 0 ? Math.floor(c / e) : c)), c %= e > 0 ? e : 1);
84
+ return s.join(" ");
92
85
  }
93
86
  function u(e, r = t) {
94
87
  if (e == null) return "";
@@ -103,7 +96,7 @@ function u(e, r = t) {
103
96
  }), n.set(i, a)), a.format(e);
104
97
  }
105
98
  function d(e) {
106
- switch (e) {
99
+ switch (e?.toLowerCase()) {
107
100
  case "csv": return "text/csv";
108
101
  case "tab":
109
102
  case "tsv": return "text/tab-separated-values";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dpuse-shared-utilities.es.js","names":[],"sources":["../src/utilities/index.ts"],"sourcesContent":["// ── Types ────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\ntype DurationLevel = 'days' | 'hrs' | 'mins' | 'secs' | 'ms';\ntype DurationLevelTuple = [DurationLevel, number, (n: number) => string];\n\n// ── Constants ────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nconst DURATION_LEVELS: DurationLevelTuple[] = [\n ['days', 86_400_000, (n: number): string => (n === 1 ? '1 day' : `${formatNumberAsWholeNumber(n)} days`)],\n ['hrs', 3_600_000, (n: number): string => (n === 1 ? '1 hr' : `${formatNumberAsWholeNumber(n)} hrs`)],\n ['mins', 60_000, (n: number): string => (n === 1 ? '1 min' : `${formatNumberAsWholeNumber(n)} mins`)],\n ['secs', 1000, (n: number): string => (n === 1 ? '1 sec' : `${formatNumberAsWholeNumber(n)} secs`)],\n ['ms', 0, (n: number): string => `${formatNumberAsWholeNumber(n)} ms`]\n];\n\nconst NUMBER_FORMATTER_DEFAULT_LOCALE = 'en';\nconst NUMBER_FORMATTER_MAP = new Map<string, Intl.NumberFormat>();\n\n// ── Actions - Data Type Conversion ───────────────────────────────────────────────────────────────────────────────────\n\n// See: https://www.odata.org/documentation/odata-version-2-0/overview/.\nexport function convertODataTypeIdToUsageTypeId(oDataTypeId: string): string {\n switch (oDataTypeId) {\n case 'Edm.Binary':\n return 'unknown'; // Binary...\n case 'Edm.Boolean':\n return 'boolean';\n case 'Edm.Byte':\n return 'wholeNumber';\n case 'Edm.DateTime':\n return 'moment'; // DateTime...\n case 'Edm.DateTimeOffset':\n return 'moment'; // DateTimeOffset...\n case 'Edm.Decimal':\n return 'decimalNumber';\n case 'Edm.Double':\n return 'decimalNumber';\n case 'Edm.Guid':\n return 'string';\n case 'Edm.Int16':\n return 'wholeNumber';\n case 'Edm.Int32':\n return 'wholeNumber';\n case 'Edm.Int64':\n return 'wholeNumber';\n case 'Edm.SByte':\n return 'wholeNumber';\n case 'Edm.Single':\n return 'decimalNumber';\n case 'Edm.String':\n return 'string';\n case 'Edm.Time':\n return 'momentTime'; // Time...\n default:\n return 'unknown';\n }\n}\n\n// ── Actions - File Path Segment Extraction ───────────────────────────────────────────────────────────────────────────\n\n// Extract the path without its final basename extension.\n// Dots in parent directories are ignored, and leading dots in the basename\n// are treated as part of dotfile names rather than as an extension separator.\nexport function extractNameFromPath(itemPath: string): string | undefined {\n if (itemPath) {\n const lastSeparatorIndex = itemPath.lastIndexOf('/');\n const basenameStartIndex = lastSeparatorIndex + 1;\n const lastExtensionIndex = itemPath.lastIndexOf('.');\n if (lastExtensionIndex <= basenameStartIndex) return itemPath;\n return lastExtensionIndex === -1 ? itemPath : itemPath.slice(0, Math.max(0, lastExtensionIndex));\n }\n return undefined;\n}\n\n// Extract only the final basename extension.\n// Returns undefined when the basename has no extension, including dotfiles such\n// as .gitignore where the only dot is the leading character of the basename.\nexport function extractExtensionFromPath(itemPath: string): string | undefined {\n if (itemPath) {\n const lastSeparatorIndex = itemPath.lastIndexOf('/');\n const basenameStartIndex = lastSeparatorIndex + 1;\n const lastExtensionIndex = itemPath.lastIndexOf('.');\n if (lastExtensionIndex <= basenameStartIndex) return undefined;\n if (lastExtensionIndex !== -1) return itemPath.slice(Math.max(0, lastExtensionIndex + 1));\n }\n return undefined;\n}\n\n// ── Actions - String Formatting ──────────────────────────────────────────────────────────────────────────────────────\n\nexport function formatNumberAsDecimalNumber(number?: number, decimalPlaces = 2, minimumFractionDigits = decimalPlaces, locale = NUMBER_FORMATTER_DEFAULT_LOCALE): string {\n if (number == null) return '';\n const formatterId = `${locale}decimal${String(decimalPlaces)}.${String(minimumFractionDigits)}`;\n let numberFormatter = NUMBER_FORMATTER_MAP.get(formatterId);\n if (!numberFormatter) {\n numberFormatter = new Intl.NumberFormat(locale, {\n localeMatcher: 'best fit',\n maximumFractionDigits: decimalPlaces,\n minimumFractionDigits,\n minimumIntegerDigits: 1,\n style: 'decimal',\n useGrouping: true\n });\n NUMBER_FORMATTER_MAP.set(formatterId, numberFormatter);\n }\n return numberFormatter.format(number);\n}\n\nexport function formatNumberAsSize(number?: number, decimalPlaces = 1): string {\n if (number == null) return '';\n if (number < 1000) return formatNumberAsWholeNumber(number);\n if (number < 1_000_000) return `${formatNumberAsDecimalNumber(number / 1000, decimalPlaces, 0)}K`;\n if (number < 1_000_000_000) return `${formatNumberAsDecimalNumber(number / 1_000_000, decimalPlaces, 0)}M`;\n return number < 1_000_000_000_000\n ? `${formatNumberAsDecimalNumber(number / 1_000_000_000, decimalPlaces, 0)}B`\n : `${formatNumberAsDecimalNumber(number / 1_000_000_000_000, decimalPlaces, 0)}T`;\n}\n\nexport function formatNumberAsStorageSize(number?: number, decimalPlaces = 1): string {\n if (number == null) return '';\n if (number === 1) return '1 byte';\n if (number < 1024) return `${formatNumberAsWholeNumber(number)} bytes`;\n if (number < 1_048_576) return `${formatNumberAsDecimalNumber(number / 1024, decimalPlaces, 0)} KB`;\n if (number < 1_073_741_824) return `${formatNumberAsDecimalNumber(number / 1_048_576, decimalPlaces, 0)} MB`;\n return number < 1_099_511_627_776\n ? `${formatNumberAsDecimalNumber(number / 1_073_741_824, decimalPlaces, 0)} GB`\n : `${formatNumberAsDecimalNumber(number / 1_099_511_627_776, decimalPlaces, 0)} TB`;\n}\n\nexport function formatNumberAsDuration(number?: number, stopAt: DurationLevel = 'ms'): string {\n if (number == null) return '';\n\n // Start at the largest unit the value actually fills, so a value below the requested level still reads sensibly\n // rather than as a run of zeroes.\n const startIndex = DURATION_LEVELS.findIndex(([, threshold]) => number >= threshold);\n const firstIndex = startIndex === -1 ? DURATION_LEVELS.length - 1 : startIndex;\n const stopIndex = DURATION_LEVELS.findIndex(([level]) => level === stopAt);\n\n const durationLevels = DURATION_LEVELS.slice(firstIndex, Math.max(stopIndex, firstIndex) + 1);\n const parts: string[] = [];\n let remaining = number;\n for (const [, threshold, format] of durationLevels) {\n if (remaining < threshold || (remaining === 0 && parts.length > 0)) continue;\n parts.push(format(threshold > 0 ? Math.floor(remaining / threshold) : remaining));\n remaining %= threshold > 0 ? threshold : 1;\n }\n return parts.join(' ');\n}\n\nexport function formatNumberAsWholeNumber(number?: number, locale = NUMBER_FORMATTER_DEFAULT_LOCALE): string {\n if (number == null) return '';\n const formatterId = `${locale}decimal0.0`;\n let numberFormatter = NUMBER_FORMATTER_MAP.get(formatterId);\n if (!numberFormatter) {\n numberFormatter = new Intl.NumberFormat(locale, {\n localeMatcher: 'best fit',\n maximumFractionDigits: 0,\n minimumFractionDigits: 0,\n minimumIntegerDigits: 1,\n style: 'decimal',\n useGrouping: true\n });\n NUMBER_FORMATTER_MAP.set(formatterId, numberFormatter);\n }\n return numberFormatter.format(number);\n}\n\n// ── Actions - Lookup ─────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport function lookupMimeTypeForExtension(extension?: string): string {\n // Extensions arrive from file names as typed, so 'REPORT.CSV' must resolve the same as 'report.csv'.\n switch (extension?.toLowerCase()) {\n case 'csv':\n return 'text/csv';\n case 'tab':\n case 'tsv':\n return 'text/tab-separated-values';\n case 'xls':\n return 'application/vnd.ms-excel';\n case 'xlsx':\n return 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';\n default:\n return 'application/octet-stream';\n }\n}\n\n// TODO: Do we need this?\n// // export const establishVendorAccessToken = async (item: Item, accountId: string, sessionAccessToken: string, vendorRefreshURI: string): Promise<string> => {\n// export const establishVendorAccessToken = async (connectionConfig: ConnectionConfig, settings: ReadSettings, vendorRefreshURI: string): Promise<string> => {\n// let accessToken;\n//\n// // If the current dropbox access token expires within 5 minutes then refresh it and return the new one, otherwise return the current one.\n// if (connectionConfig.authorisation[''].expires_at - Date.now() < 300000) {\n// // TODO: Above is WRONG 'item.authorization!['']'. We need to know what authorisation.\n// const headers: HeadersInit = {\n// 'Account-Id': settings.accountId || '',\n// Authorization: settings.sessionAccessToken || '',\n// 'Connection-Id': connectionConfig.id\n// };\n// const response = await fetch(vendorRefreshURI, { headers });\n// if (!response.ok) {\n// const data = {\n// body: {\n// context: 'establishVendorAccessToken',\n// message: await response.text()\n// },\n// statusCode: response.status,\n// statusText: response.statusText\n// };\n// throw new Error('Unable to establish access token.|' + JSON.stringify(data));\n// }\n// accessToken = await response.text();\n// } else {\n// accessToken = connectionConfig.authorisation[''].access_token; // TODO: This is WRONG 'item.authorization!['']'. We need to know what authorisation.\n// }\n//\n// return accessToken;\n// };\n"],"mappings":"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"}
@@ -0,0 +1,19 @@
1
+ //#region src/locale/label.ts
2
+ var e = "en", t = [{
3
+ id: "en",
4
+ flag: "gb",
5
+ label: "English"
6
+ }, {
7
+ id: "es",
8
+ flag: "es",
9
+ label: "Español"
10
+ }];
11
+ function n(e) {
12
+ return new Map(Object.entries(e));
13
+ }
14
+ function r(e, t, n = "en") {
15
+ let r = e.get(t);
16
+ return r === void 0 ? n === t ? void 0 : e.get(n) : r;
17
+ }
18
+ //#endregion
19
+ export { r as i, t as n, n as r, e as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label-DexpXrnC.js","names":[],"sources":["../src/locale/label.ts"],"sourcesContent":["// ── Types ────────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport type FlagId = 'es' | 'gb';\n\nexport type LocaleId = 'en' | 'es';\n\nexport type LocaleLabel = Partial<Record<LocaleId, string>>;\n\nexport type LocaleDescription = Partial<Record<LocaleId, string>>;\n\nexport type LocaleLabelMap = ReadonlyMap<string, string>;\n\n// ── Constants ────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport const DEFAULT_LOCALE_ID: LocaleId = 'en';\n\nexport const SUPPORTED_LANGUAGES: { id: LocaleId; flag: FlagId; label: string }[] = [\n { id: 'en', flag: 'gb', label: 'English' },\n { id: 'es', flag: 'es', label: 'Español' }\n];\n\n// ── Actions ──────────────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport function createLabelMap(labels: Record<string, string>): LocaleLabelMap {\n return new Map(Object.entries(labels));\n}\n\nexport function resolveLabel(labels: LocaleLabelMap, localeId: string, fallbackLocaleId = DEFAULT_LOCALE_ID): string | undefined {\n const localizedLabel = labels.get(localeId);\n if (localizedLabel !== undefined) return localizedLabel;\n return fallbackLocaleId === localeId ? undefined : labels.get(fallbackLocaleId);\n}\n"],"mappings":";AAcA,IAAa,IAA8B,MAE9B,IAAuE,CAChF;CAAE,IAAI;CAAM,MAAM;CAAM,OAAO;AAAU,GACzC;CAAE,IAAI;CAAM,MAAM;CAAM,OAAO;AAAU,CAC7C;AAIA,SAAgB,EAAe,GAAgD;CAC3E,OAAO,IAAI,IAAI,OAAO,QAAQ,CAAM,CAAC;AACzC;AAEA,SAAgB,EAAa,GAAwB,GAAkB,IAAA,MAA0D;CAC7H,IAAM,IAAiB,EAAO,IAAI,CAAQ;CAE1C,OADI,MAAmB,KAAA,IAChB,MAAqB,IAAW,KAAA,IAAY,EAAO,IAAI,CAAgB,IADrC;AAE7C"}
@@ -0,0 +1,22 @@
1
+ import { i as e, l as t, m as n, p as r, t as i } from "./componentConfig.schema-DT3mO5rS.js";
2
+ //#region src/component/module/moduleConfig.schema.ts
3
+ var a = e([
4
+ "app",
5
+ "engine",
6
+ "connector",
7
+ "cookbook",
8
+ "presenter",
9
+ "tool"
10
+ ]), o = {
11
+ ...i,
12
+ vendorAccountURL: t(n()),
13
+ vendorDocumentationURL: t(n()),
14
+ vendorHomeURL: t(n()),
15
+ version: n()
16
+ };
17
+ r({
18
+ ...o,
19
+ typeId: a
20
+ });
21
+ //#endregion
22
+ export { o as t };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moduleConfig.schema-aYmFWSrn.js","names":[],"sources":["../src/component/module/moduleConfig.schema.ts"],"sourcesContent":["// ── External Dependencies & Registrations\nimport { nullable, strictObject, string } from 'valibot';\n\n// ── DPUse Framework\nimport { componentCoreFieldsConfig } from '@/component/componentConfig.schema';\nimport { literalUnion } from '@/schema';\n\n// ── Schemas - Type Identifier ────────────────────────────────────────────────────────────────────────────────────────\n\n// We include 'app' here so we can monitor updates in 'dpuse-app'.\nexport const moduleTypeIdSchema = literalUnion(['app', 'engine', 'connector', 'cookbook', 'presenter', 'tool']);\n\n// ── Schemas - Configuration ──────────────────────────────────────────────────────────────────────────────────────────\n\nexport const moduleConfigCoreFields = {\n ...componentCoreFieldsConfig,\n vendorAccountURL: nullable(string()),\n vendorDocumentationURL: nullable(string()),\n vendorHomeURL: nullable(string()),\n version: string()\n};\n\nexport const moduleConfigSchema = strictObject({\n ...moduleConfigCoreFields,\n typeId: moduleTypeIdSchema\n});\n"],"mappings":";;AAUA,IAAa,IAAqB,EAAa;CAAC;CAAO;CAAU;CAAa;CAAY;CAAa;AAAM,CAAC,GAIjG,IAAyB;CAClC,GAAG;CACH,kBAAkB,EAAS,EAAO,CAAC;CACnC,wBAAwB,EAAS,EAAO,CAAC;CACzC,eAAe,EAAS,EAAO,CAAC;CAChC,SAAS,EAAO;AACpB;AAEkC,EAAa;CAC3C,GAAG;CACH,QAAQ;AACZ,CAAC"}
@@ -1,10 +1,10 @@
1
1
  export declare const baseConfigSchema: {
2
2
  id: import('valibot').StringSchema<undefined>;
3
- label: import('valibot').ObjectSchema<{
3
+ label: import('valibot').StrictObjectSchema<{
4
4
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
5
5
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
6
6
  }, undefined>;
7
- description: import('valibot').ObjectSchema<{
7
+ description: import('valibot').StrictObjectSchema<{
8
8
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
9
9
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
10
10
  }, undefined>;
@@ -1,34 +1,33 @@
1
1
  export declare const componentTypeIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextArea", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"cookbookRecipe", undefined>, import('valibot').LiteralSchema<"dataView", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"eventQuery", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"presenterPresentation", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
2
2
  export declare const componentStatusColorIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
3
- export declare const componentStatusIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>], undefined>;
4
- export declare const componentStatusConfigSchema: import('valibot').ObjectSchema<{
3
+ export declare const componentStatusConfigSchema: import('valibot').StrictObjectSchema<{
5
4
  readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
6
5
  readonly label: import('valibot').StringSchema<undefined>;
7
6
  }, undefined>;
8
7
  export declare const componentBaseConfigSchema: {
9
8
  typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextArea", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"cookbookRecipe", undefined>, import('valibot').LiteralSchema<"dataView", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"eventQuery", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"presenterPresentation", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
10
9
  id: import('valibot').StringSchema<undefined>;
11
- label: import('valibot').ObjectSchema<{
10
+ label: import('valibot').StrictObjectSchema<{
12
11
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
13
12
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
14
13
  }, undefined>;
15
- description: import('valibot').ObjectSchema<{
14
+ description: import('valibot').StrictObjectSchema<{
16
15
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
17
16
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
18
17
  }, undefined>;
19
18
  icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
20
19
  iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
21
20
  };
22
- export declare const componentReferenceConfigSchema: import('valibot').ObjectSchema<{
21
+ export declare const componentReferenceConfigSchema: import('valibot').StrictObjectSchema<{
23
22
  readonly order: import('valibot').NumberSchema<undefined>;
24
23
  readonly path: import('valibot').StringSchema<undefined>;
25
24
  readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextArea", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"cookbookRecipe", undefined>, import('valibot').LiteralSchema<"dataView", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"eventQuery", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"presenterPresentation", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
26
25
  readonly id: import('valibot').StringSchema<undefined>;
27
- readonly label: import('valibot').ObjectSchema<{
26
+ readonly label: import('valibot').StrictObjectSchema<{
28
27
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
29
28
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
30
29
  }, undefined>;
31
- readonly description: import('valibot').ObjectSchema<{
30
+ readonly description: import('valibot').StrictObjectSchema<{
32
31
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
33
32
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
34
33
  }, undefined>;
@@ -38,39 +37,39 @@ export declare const componentReferenceConfigSchema: import('valibot').ObjectSch
38
37
  export declare const componentCoreFieldsConfig: {
39
38
  firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
40
39
  lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
41
- status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
40
+ status: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
42
41
  readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
43
42
  readonly label: import('valibot').StringSchema<undefined>;
44
43
  }, undefined>, undefined>;
45
44
  statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>], undefined>, undefined>;
46
45
  typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextArea", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"cookbookRecipe", undefined>, import('valibot').LiteralSchema<"dataView", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"eventQuery", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"presenterPresentation", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
47
46
  id: import('valibot').StringSchema<undefined>;
48
- label: import('valibot').ObjectSchema<{
47
+ label: import('valibot').StrictObjectSchema<{
49
48
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
50
49
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
51
50
  }, undefined>;
52
- description: import('valibot').ObjectSchema<{
51
+ description: import('valibot').StrictObjectSchema<{
53
52
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
54
53
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
55
54
  }, undefined>;
56
55
  icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
57
56
  iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
58
57
  };
59
- export declare const componentInstanceConfigSchema: import('valibot').ObjectSchema<{
58
+ export declare const componentInstanceConfigSchema: import('valibot').StrictObjectSchema<{
60
59
  readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
61
60
  readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
62
- readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
61
+ readonly status: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
63
62
  readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
64
63
  readonly label: import('valibot').StringSchema<undefined>;
65
64
  }, undefined>, undefined>;
66
65
  readonly statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>], undefined>, undefined>;
67
66
  readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextArea", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"cookbookRecipe", undefined>, import('valibot').LiteralSchema<"dataView", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"eventQuery", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"presenterPresentation", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
68
67
  readonly id: import('valibot').StringSchema<undefined>;
69
- readonly label: import('valibot').ObjectSchema<{
68
+ readonly label: import('valibot').StrictObjectSchema<{
70
69
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
71
70
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
72
71
  }, undefined>;
73
- readonly description: import('valibot').ObjectSchema<{
72
+ readonly description: import('valibot').StrictObjectSchema<{
74
73
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
75
74
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
76
75
  }, undefined>;
@@ -1,5 +1,5 @@
1
1
  import { ConnectorConfig } from '../module/connector';
2
- import { LocaleLabel } from '../../locale';
2
+ import { LocaleLabel } from '../../locale/label';
3
3
  import { ComponentInstanceConfig } from '..';
4
4
  import { DataSubtypeId, DataTypeId } from '../dataView';
5
5
  export interface ConnectionConfig extends ComponentInstanceConfig {
@@ -1,6 +1,6 @@
1
1
  import { BaseConfig } from '../../../../../index';
2
2
  import { ComponentInstanceConfig } from '../../../..';
3
- import { LocaleDescription, LocaleLabel } from '../../../../../locale';
3
+ import { LocaleDescription, LocaleLabel } from '../../../../../locale/label';
4
4
  export interface ContextModelDimensionHierarchyConfig extends ComponentInstanceConfig {
5
5
  typeId: 'contextModelDimensionHierarchy';
6
6
  type: string | null;
@@ -1,5 +1,5 @@
1
1
  import { BaseConfig } from '../../../../../index';
2
- import { LocaleDescription } from '../../../../../locale';
2
+ import { LocaleDescription } from '../../../../../locale/label';
3
3
  export interface ContextModelEntityDataItemConfig extends Omit<BaseConfig, 'description'> {
4
4
  description?: LocaleDescription;
5
5
  type?: string;
@@ -1,4 +1,4 @@
1
- import { LocaleDescription, LocaleLabel } from '../../../../../locale';
1
+ import { LocaleDescription, LocaleLabel } from '../../../../../locale/label';
2
2
  export type ContextModelEntityEventId = 'creation' | 'activation' | 'recognition' | 'correction' | 'modification' | 'derecognition' | 'deactivation' | 'archival' | 'deletion';
3
3
  export interface ContextModelEntityEventConfig {
4
4
  id: ContextModelEntityEventId;
@@ -2,7 +2,7 @@ import { ComponentInstanceConfig } from '../../..';
2
2
  import { ContextModelEntityDataItemConfig } from './dataItem';
3
3
  import { ContextModelEntityEventsConfig } from './event';
4
4
  import { ContextModelEntityPrimaryMeasuresConfig } from './primaryMeasure';
5
- import { LocaleLabel } from '../../../../locale';
5
+ import { LocaleLabel } from '../../../../locale/label';
6
6
  export interface ContextModelEntityConfig extends ComponentInstanceConfig {
7
7
  typeId: 'contextModelEntity';
8
8
  labelPlural: LocaleLabel;
@@ -1,5 +1,5 @@
1
1
  import { BaseConfig } from '../../../../../index';
2
- import { LocaleDescription } from '../../../../../locale';
2
+ import { LocaleDescription } from '../../../../../locale/label';
3
3
  export interface ContextModelEntityPrimaryMeasureConfig extends Omit<BaseConfig, 'description'> {
4
4
  description?: LocaleDescription;
5
5
  formula?: string;
@@ -1,11 +1,11 @@
1
- import { InferOutput, object } from 'valibot';
1
+ import { InferOutput, strictObject } from 'valibot';
2
2
  import { componentBaseConfigSchema, componentInstanceConfigSchema, componentReferenceConfigSchema, componentStatusColorIdSchema, componentStatusConfigSchema } from './componentConfig.schema';
3
- import { LocaleId } from '../locale';
3
+ import { LocaleId } from '../locale/label';
4
4
  export { componentInstanceConfigSchema } from './componentConfig.schema';
5
5
  export interface Component {
6
6
  readonly config: ComponentInstanceConfig;
7
7
  }
8
- export type ComponentBaseConfig = InferOutput<ReturnType<typeof object<typeof componentBaseConfigSchema>>>;
8
+ export type ComponentBaseConfig = InferOutput<ReturnType<typeof strictObject<typeof componentBaseConfigSchema>>>;
9
9
  export type ComponentInstanceConfig = InferOutput<typeof componentInstanceConfigSchema>;
10
10
  export type ComponentReferenceConfig = InferOutput<typeof componentReferenceConfigSchema>;
11
11
  export type ComponentStatus = InferOutput<typeof componentStatusConfigSchema>;
@@ -3,43 +3,43 @@
3
3
  * of connector manifests and capability discovery at runtime.
4
4
  */
5
5
  export declare const connectorActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"abortOperation", undefined>, import('valibot').LiteralSchema<"auditObjectContent", undefined>, import('valibot').LiteralSchema<"createObject", undefined>, import('valibot').LiteralSchema<"describeConnection", undefined>, import('valibot').LiteralSchema<"dropObject", undefined>, import('valibot').LiteralSchema<"findObject", undefined>, import('valibot').LiteralSchema<"getInfo", undefined>, import('valibot').LiteralSchema<"getReadableStream", undefined>, import('valibot').LiteralSchema<"getRecord", undefined>, import('valibot').LiteralSchema<"listNodes", undefined>, import('valibot').LiteralSchema<"previewObject", undefined>, import('valibot').LiteralSchema<"removeRecords", undefined>, import('valibot').LiteralSchema<"retrieveChunks", undefined>, import('valibot').LiteralSchema<"retrieveRecords", undefined>, import('valibot').LiteralSchema<"upsertRecords", undefined>], undefined>;
6
- export declare const connectorCategoryConfigSchema: import('valibot').ObjectSchema<{
7
- readonly label: import('valibot').ObjectSchema<{
6
+ export declare const connectorCategoryConfigSchema: import('valibot').StrictObjectSchema<{
7
+ readonly label: import('valibot').StrictObjectSchema<{
8
8
  readonly en: import('valibot').StringSchema<undefined>;
9
9
  readonly es: import('valibot').StringSchema<undefined>;
10
10
  }, undefined>;
11
11
  }, undefined>;
12
12
  export declare const connectorUsageIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"bidirectional", undefined>, import('valibot').LiteralSchema<"destination", undefined>, import('valibot').LiteralSchema<"source", undefined>], undefined>;
13
- export declare const connectorUsageConfigSchema: import('valibot').ObjectSchema<{
14
- readonly label: import('valibot').ObjectSchema<{
13
+ export declare const connectorUsageConfigSchema: import('valibot').StrictObjectSchema<{
14
+ readonly label: import('valibot').StrictObjectSchema<{
15
15
  readonly en: import('valibot').StringSchema<undefined>;
16
16
  readonly es: import('valibot').StringSchema<undefined>;
17
17
  }, undefined>;
18
18
  }, undefined>;
19
- export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
19
+ export declare const connectorConfigSchema: import('valibot').StrictObjectSchema<{
20
20
  readonly typeId: import('valibot').LiteralSchema<"connector", undefined>;
21
21
  readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"abortOperation", undefined>, import('valibot').LiteralSchema<"auditObjectContent", undefined>, import('valibot').LiteralSchema<"createObject", undefined>, import('valibot').LiteralSchema<"describeConnection", undefined>, import('valibot').LiteralSchema<"dropObject", undefined>, import('valibot').LiteralSchema<"findObject", undefined>, import('valibot').LiteralSchema<"getInfo", undefined>, import('valibot').LiteralSchema<"getReadableStream", undefined>, import('valibot').LiteralSchema<"getRecord", undefined>, import('valibot').LiteralSchema<"listNodes", undefined>, import('valibot').LiteralSchema<"previewObject", undefined>, import('valibot').LiteralSchema<"removeRecords", undefined>, import('valibot').LiteralSchema<"retrieveChunks", undefined>, import('valibot').LiteralSchema<"retrieveRecords", undefined>, import('valibot').LiteralSchema<"upsertRecords", undefined>], undefined>, undefined>;
22
- readonly category: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
23
- readonly label: import('valibot').ObjectSchema<{
22
+ readonly category: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
23
+ readonly label: import('valibot').StrictObjectSchema<{
24
24
  readonly en: import('valibot').StringSchema<undefined>;
25
25
  readonly es: import('valibot').StringSchema<undefined>;
26
26
  }, undefined>;
27
27
  }, undefined>, undefined>;
28
28
  readonly categoryId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"application", undefined>, import('valibot').LiteralSchema<"curatedDataset", undefined>, import('valibot').LiteralSchema<"database", undefined>, import('valibot').LiteralSchema<"fileStore", undefined>], undefined>;
29
- readonly implementations: import('valibot').RecordSchema<import('valibot').StringSchema<undefined>, import('valibot').ObjectSchema<{
29
+ readonly implementations: import('valibot').RecordSchema<import('valibot').StringSchema<undefined>, import('valibot').StrictObjectSchema<{
30
30
  readonly authMethodId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"apiKey", undefined>, import('valibot').LiteralSchema<"disabled", undefined>, import('valibot').LiteralSchema<"oAuth2", undefined>, import('valibot').LiteralSchema<"none", undefined>], undefined>;
31
31
  readonly activeConnectionCount: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, undefined>;
32
32
  readonly canDescribe: import('valibot').OptionalSchema<import('valibot').BooleanSchema<undefined>, undefined>;
33
33
  readonly id: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
34
- readonly label: import('valibot').OptionalSchema<import('valibot').ObjectSchema<{
34
+ readonly label: import('valibot').OptionalSchema<import('valibot').StrictObjectSchema<{
35
35
  readonly en: import('valibot').StringSchema<undefined>;
36
36
  readonly es: import('valibot').StringSchema<undefined>;
37
37
  }, undefined>, undefined>;
38
38
  readonly maxConnectionCount: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
39
39
  readonly params: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').RecordSchema<import('valibot').StringSchema<undefined>, import('valibot').StringSchema<undefined>, undefined>, undefined>, undefined>;
40
40
  }, undefined>, undefined>;
41
- readonly usage: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
42
- readonly label: import('valibot').ObjectSchema<{
41
+ readonly usage: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
42
+ readonly label: import('valibot').StrictObjectSchema<{
43
43
  readonly en: import('valibot').StringSchema<undefined>;
44
44
  readonly es: import('valibot').StringSchema<undefined>;
45
45
  }, undefined>;
@@ -51,17 +51,17 @@ export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
51
51
  readonly version: import('valibot').StringSchema<undefined>;
52
52
  readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
53
53
  readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
54
- readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
54
+ readonly status: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
55
55
  readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
56
56
  readonly label: import('valibot').StringSchema<undefined>;
57
57
  }, undefined>, undefined>;
58
58
  readonly statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>], undefined>, undefined>;
59
59
  readonly id: import('valibot').StringSchema<undefined>;
60
- readonly label: import('valibot').ObjectSchema<{
60
+ readonly label: import('valibot').StrictObjectSchema<{
61
61
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
62
62
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
63
63
  }, undefined>;
64
- readonly description: import('valibot').ObjectSchema<{
64
+ readonly description: import('valibot').StrictObjectSchema<{
65
65
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
66
66
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
67
67
  }, undefined>;
@@ -1,17 +1,17 @@
1
1
  export declare const cookbookActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"list", undefined>], undefined>;
2
- export declare const cookbookConfigSchema: import('valibot').ObjectSchema<{
2
+ export declare const cookbookConfigSchema: import('valibot').StrictObjectSchema<{
3
3
  readonly typeId: import('valibot').LiteralSchema<"cookbook", undefined>;
4
4
  readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"list", undefined>], undefined>, undefined>;
5
- readonly recipes: import('valibot').ArraySchema<import('valibot').ObjectSchema<{
5
+ readonly recipes: import('valibot').ArraySchema<import('valibot').StrictObjectSchema<{
6
6
  readonly order: import('valibot').NumberSchema<undefined>;
7
7
  readonly path: import('valibot').StringSchema<undefined>;
8
8
  readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextArea", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"cookbookRecipe", undefined>, import('valibot').LiteralSchema<"dataView", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"eventQuery", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"presenterPresentation", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
9
9
  readonly id: import('valibot').StringSchema<undefined>;
10
- readonly label: import('valibot').ObjectSchema<{
10
+ readonly label: import('valibot').StrictObjectSchema<{
11
11
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
12
12
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
13
13
  }, undefined>;
14
- readonly description: import('valibot').ObjectSchema<{
14
+ readonly description: import('valibot').StrictObjectSchema<{
15
15
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
16
16
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
17
17
  }, undefined>;
@@ -24,17 +24,17 @@ export declare const cookbookConfigSchema: import('valibot').ObjectSchema<{
24
24
  readonly version: import('valibot').StringSchema<undefined>;
25
25
  readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
26
26
  readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
27
- readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
27
+ readonly status: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
28
28
  readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
29
29
  readonly label: import('valibot').StringSchema<undefined>;
30
30
  }, undefined>, undefined>;
31
31
  readonly statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>], undefined>, undefined>;
32
32
  readonly id: import('valibot').StringSchema<undefined>;
33
- readonly label: import('valibot').ObjectSchema<{
33
+ readonly label: import('valibot').StrictObjectSchema<{
34
34
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
35
35
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
36
36
  }, undefined>;
37
- readonly description: import('valibot').ObjectSchema<{
37
+ readonly description: import('valibot').StrictObjectSchema<{
38
38
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
39
39
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
40
40
  }, undefined>;
@@ -1,10 +1,11 @@
1
1
  import { ComponentInstanceConfig } from '../..';
2
- import { EncodingTypeConfig } from '../../../encoding';
2
+ import { LocalisedEncodingTypeConfig } from '../../../encoding';
3
+ import { LocaleId } from '../../../locale/label';
3
4
  import { LocalisedConfig } from '../../../locale';
4
5
  import { ModuleConfig } from '..';
5
6
  import { ToolConfig } from '../tool';
6
7
  export interface EngineRuntime {
7
- getEncodingTypeConfigs: (localeId: string) => EncodingTypeConfig[];
8
+ getEncodingTypeConfigs: (localeId: LocaleId) => LocalisedEncodingTypeConfig[];
8
9
  invokeWorker(errorEventCallback: (errorEvent: ErrorEvent) => void): EngineWorker;
9
10
  }
10
11
  export interface EngineWorker {
@@ -6,25 +6,25 @@ export declare const moduleConfigCoreFields: {
6
6
  version: import('valibot').StringSchema<undefined>;
7
7
  firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
8
8
  lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
9
- status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
9
+ status: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
10
10
  readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
11
11
  readonly label: import('valibot').StringSchema<undefined>;
12
12
  }, undefined>, undefined>;
13
13
  statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>], undefined>, undefined>;
14
14
  typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextArea", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"cookbookRecipe", undefined>, import('valibot').LiteralSchema<"dataView", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"eventQuery", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"presenterPresentation", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
15
15
  id: import('valibot').StringSchema<undefined>;
16
- label: import('valibot').ObjectSchema<{
16
+ label: import('valibot').StrictObjectSchema<{
17
17
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
18
18
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
19
19
  }, undefined>;
20
- description: import('valibot').ObjectSchema<{
20
+ description: import('valibot').StrictObjectSchema<{
21
21
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
22
22
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
23
23
  }, undefined>;
24
24
  icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
25
25
  iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
26
26
  };
27
- export declare const moduleConfigSchema: import('valibot').ObjectSchema<{
27
+ export declare const moduleConfigSchema: import('valibot').StrictObjectSchema<{
28
28
  readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"cookbook", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
29
29
  readonly vendorAccountURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
30
30
  readonly vendorDocumentationURL: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
@@ -32,17 +32,17 @@ export declare const moduleConfigSchema: import('valibot').ObjectSchema<{
32
32
  readonly version: import('valibot').StringSchema<undefined>;
33
33
  readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
34
34
  readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
35
- readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
35
+ readonly status: import('valibot').NullableSchema<import('valibot').StrictObjectSchema<{
36
36
  readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"danger", undefined>, import('valibot').LiteralSchema<"success", undefined>, import('valibot').LiteralSchema<"warning", undefined>], undefined>;
37
37
  readonly label: import('valibot').StringSchema<undefined>;
38
38
  }, undefined>, undefined>;
39
39
  readonly statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>], undefined>, undefined>;
40
40
  readonly id: import('valibot').StringSchema<undefined>;
41
- readonly label: import('valibot').ObjectSchema<{
41
+ readonly label: import('valibot').StrictObjectSchema<{
42
42
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
43
43
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
44
44
  }, undefined>;
45
- readonly description: import('valibot').ObjectSchema<{
45
+ readonly description: import('valibot').StrictObjectSchema<{
46
46
  readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
47
47
  readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
48
48
  }, undefined>;