@dpuse/dpuse-shared 0.3.756 → 0.3.759
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.
- package/README.md +3 -3
- package/dist/dpuse-shared-componentModuleConnector.es.js +6 -6
- package/dist/dpuse-shared-componentModuleCookbook.es.js +2 -2
- package/dist/dpuse-shared-componentModulePresenter.es.js +2 -2
- package/dist/{moduleConfig.schema-CXWl_g98.js → moduleConfig.schema-vxTWrD6x.js} +0 -1
- package/dist/types/src/component/module/connector/connectorConfig.schema.d.ts +1 -1
- package/dist/types/src/component/module/cookbook/cookbookConfig.schema.d.ts +1 -1
- package/dist/types/src/component/module/moduleConfig.schema.d.ts +2 -2
- package/dist/types/src/component/module/presenter/presenterConfig.schema.d.ts +1 -1
- package/dist/types/src/locale/index.d.ts +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -150,10 +150,10 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
150
150
|
| dist/dpuse-shared-component.es.js | 1.3 kB · brotli 451 B |
|
|
151
151
|
| dist/dpuse-shared-locale.es.js | 987 B · brotli 390 B |
|
|
152
152
|
| dist/dpuse-shared-componentDataView.es.js | 722 B · brotli 310 B |
|
|
153
|
-
| dist/dpuse-shared-componentModulePresenter.es.js | 411 B · brotli
|
|
154
|
-
| dist/dpuse-shared-componentModuleCookbook.es.js | 370 B · brotli
|
|
153
|
+
| dist/dpuse-shared-componentModulePresenter.es.js | 411 B · brotli 226 B |
|
|
154
|
+
| dist/dpuse-shared-componentModuleCookbook.es.js | 370 B · brotli 231 B |
|
|
155
155
|
| dist/dpuse-shared-componentModuleTool.es.js | 325 B · brotli 223 B |
|
|
156
|
-
| dist/moduleConfig.schema-
|
|
156
|
+
| dist/moduleConfig.schema-vxTWrD6x.js | 313 B · brotli 200 B |
|
|
157
157
|
| dist/dpuse-shared-componentRecipe.es.js | 94 B · brotli 70 B |
|
|
158
158
|
| dist/dpuse-shared-componentConnection.es.js | 0 B · brotli 1 B |
|
|
159
159
|
| dist/dpuse-shared-componentContext.es.js | 0 B · brotli 1 B |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createLabelMap as e, resolveLabel as t } from "./dpuse-shared-locale.es.js";
|
|
2
2
|
import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, o as l, p as u, s as d, u as f } from "./componentConfig.schema-CqVgZGPq.js";
|
|
3
|
-
import { t as p } from "./moduleConfig.schema-
|
|
3
|
+
import { t as p } from "./moduleConfig.schema-vxTWrD6x.js";
|
|
4
4
|
//#region src/component/module/connector/connectorConfig.schema.ts
|
|
5
5
|
var m = n([
|
|
6
6
|
"abortOperation",
|
|
@@ -41,8 +41,8 @@ var m = n([
|
|
|
41
41
|
maxConnectionCount: s(f()),
|
|
42
42
|
params: a(l(u(c(), c())))
|
|
43
43
|
}), b = i({
|
|
44
|
-
typeId: r("connector"),
|
|
45
44
|
...p,
|
|
45
|
+
typeId: r("connector"),
|
|
46
46
|
actionNames: l(m),
|
|
47
47
|
category: s(g),
|
|
48
48
|
categoryId: h,
|
|
@@ -151,19 +151,19 @@ var D = (n, r = "en") => {
|
|
|
151
151
|
let i = x.find((e) => e.id === n);
|
|
152
152
|
return i ? {
|
|
153
153
|
label: t(e(i.label), r) ?? i.id,
|
|
154
|
-
description:
|
|
154
|
+
description: ""
|
|
155
155
|
} : {
|
|
156
156
|
label: n,
|
|
157
|
-
description:
|
|
157
|
+
description: ""
|
|
158
158
|
};
|
|
159
159
|
}, O = (n, r = "en") => {
|
|
160
160
|
let i = C.find((e) => e.id === n);
|
|
161
161
|
return i ? {
|
|
162
162
|
label: t(e(i.label), r) ?? i.id,
|
|
163
|
-
description:
|
|
163
|
+
description: ""
|
|
164
164
|
} : {
|
|
165
165
|
label: n,
|
|
166
|
-
description:
|
|
166
|
+
description: ""
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
function k(e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, o as r, r as i } from "./componentConfig.schema-CqVgZGPq.js";
|
|
2
|
-
import { t as a } from "./moduleConfig.schema-
|
|
2
|
+
import { t as a } from "./moduleConfig.schema-vxTWrD6x.js";
|
|
3
3
|
//#region src/component/module/cookbook/cookbookConfig.schema.ts
|
|
4
4
|
var o = e(["list"]), s = n({
|
|
5
|
-
typeId: t("cookbook"),
|
|
6
5
|
...a,
|
|
6
|
+
typeId: t("cookbook"),
|
|
7
7
|
actionNames: r(o),
|
|
8
8
|
recipes: r(i)
|
|
9
9
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, o as r, r as i } from "./componentConfig.schema-CqVgZGPq.js";
|
|
2
|
-
import { t as a } from "./moduleConfig.schema-
|
|
2
|
+
import { t as a } from "./moduleConfig.schema-vxTWrD6x.js";
|
|
3
3
|
//#region src/component/module/presenter/presenterConfig.schema.ts
|
|
4
4
|
var o = e([
|
|
5
5
|
"list",
|
|
6
6
|
"render",
|
|
7
7
|
"setColorMode"
|
|
8
8
|
]), s = n({
|
|
9
|
-
typeId: t("presenter"),
|
|
10
9
|
...a,
|
|
10
|
+
typeId: t("presenter"),
|
|
11
11
|
actionNames: r(o),
|
|
12
12
|
presentations: r(i)
|
|
13
13
|
});
|
|
@@ -17,6 +17,7 @@ export declare const connectorUsageConfigSchema: import('valibot').ObjectSchema<
|
|
|
17
17
|
}, undefined>;
|
|
18
18
|
}, undefined>;
|
|
19
19
|
export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
|
|
20
|
+
readonly typeId: import('valibot').LiteralSchema<"connector", undefined>;
|
|
20
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>;
|
|
21
22
|
readonly category: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
22
23
|
readonly label: import('valibot').ObjectSchema<{
|
|
@@ -66,5 +67,4 @@ export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
|
|
|
66
67
|
}, undefined>;
|
|
67
68
|
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
68
69
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
69
|
-
readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connection", 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<"dimension", 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>;
|
|
70
70
|
}, undefined>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const cookbookActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"list", undefined>], undefined>;
|
|
2
2
|
export declare const cookbookConfigSchema: import('valibot').ObjectSchema<{
|
|
3
|
+
readonly typeId: import('valibot').LiteralSchema<"cookbook", undefined>;
|
|
3
4
|
readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"list", undefined>], undefined>, undefined>;
|
|
4
5
|
readonly recipes: import('valibot').ArraySchema<import('valibot').ObjectSchema<{
|
|
5
6
|
readonly order: import('valibot').NumberSchema<undefined>;
|
|
@@ -36,5 +37,4 @@ export declare const cookbookConfigSchema: import('valibot').ObjectSchema<{
|
|
|
36
37
|
}, undefined>;
|
|
37
38
|
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
38
39
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
39
|
-
readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connection", 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<"dimension", 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>;
|
|
40
40
|
}, undefined>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const moduleTypeIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"
|
|
1
|
+
export declare const moduleTypeIdSchema: 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>;
|
|
2
2
|
export declare const moduleConfigCoreFields: {
|
|
3
3
|
version: import('valibot').StringSchema<undefined>;
|
|
4
4
|
firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
@@ -22,7 +22,7 @@ export declare const moduleConfigCoreFields: {
|
|
|
22
22
|
typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connection", 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<"dimension", 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>;
|
|
23
23
|
};
|
|
24
24
|
export declare const moduleConfigSchema: import('valibot').ObjectSchema<{
|
|
25
|
-
readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"
|
|
25
|
+
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>;
|
|
26
26
|
readonly version: import('valibot').StringSchema<undefined>;
|
|
27
27
|
readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
28
28
|
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const presenterActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"list", undefined>, import('valibot').LiteralSchema<"render", undefined>, import('valibot').LiteralSchema<"setColorMode", undefined>], undefined>;
|
|
2
2
|
export declare const presenterConfigSchema: import('valibot').ObjectSchema<{
|
|
3
|
+
readonly typeId: import('valibot').LiteralSchema<"presenter", undefined>;
|
|
3
4
|
readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"list", undefined>, import('valibot').LiteralSchema<"render", undefined>, import('valibot').LiteralSchema<"setColorMode", undefined>], undefined>, undefined>;
|
|
4
5
|
readonly presentations: import('valibot').ArraySchema<import('valibot').ObjectSchema<{
|
|
5
6
|
readonly order: import('valibot').NumberSchema<undefined>;
|
|
@@ -36,5 +37,4 @@ export declare const presenterConfigSchema: import('valibot').ObjectSchema<{
|
|
|
36
37
|
}, undefined>;
|
|
37
38
|
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
38
39
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
39
|
-
readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connection", 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<"dimension", 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>;
|
|
40
40
|
}, undefined>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export type FlagId = 'es' | 'gb';
|
|
2
2
|
export type LocaleId = 'en' | 'es';
|
|
3
3
|
export type LocaleLabel = Partial<Record<LocaleId, string>>;
|
|
4
|
-
export type LocaleDescription = Partial<Record<LocaleId, string
|
|
4
|
+
export type LocaleDescription = Partial<Record<LocaleId, string>>;
|
|
5
5
|
export type LocaleLabelMap = ReadonlyMap<string, string>;
|
|
6
6
|
export type LocalisedConfig<T> = Omit<T, 'label' | 'description' | 'verb'> & {
|
|
7
7
|
label: string;
|
|
8
|
-
description: string
|
|
8
|
+
description: string;
|
|
9
9
|
verb?: string | undefined;
|
|
10
10
|
};
|
|
11
11
|
interface UnlocalisedConfig {
|
|
@@ -16,7 +16,7 @@ interface UnlocalisedConfig {
|
|
|
16
16
|
}
|
|
17
17
|
export type LocalisedReference<T> = Omit<T, 'label' | 'description'> & {
|
|
18
18
|
label: string;
|
|
19
|
-
description: string
|
|
19
|
+
description: string;
|
|
20
20
|
};
|
|
21
21
|
interface UnlocalisedReference {
|
|
22
22
|
id: string;
|