@dpuse/dpuse-shared 0.3.748 → 0.3.751
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 +9 -8
- package/dist/dpuse-shared-componentModuleConnector.es.js +1 -1
- package/dist/dpuse-shared-componentModuleCookbook.es.js +11 -0
- package/dist/dpuse-shared-componentRecipe.es.js +4 -0
- package/dist/types/src/component/context/index.d.ts +10 -0
- package/dist/types/src/component/{model → context/model}/entity/dataItem/index.d.ts +1 -1
- package/dist/types/src/component/{model → context/model}/entity/event/index.d.ts +1 -1
- package/dist/types/src/component/{model → context/model}/entity/index.d.ts +2 -2
- package/dist/types/src/component/{model → context/model}/entity/primaryMeasure/index.d.ts +1 -1
- package/dist/types/src/component/context/model/index.d.ts +9 -0
- package/dist/types/src/component/{model → context/model}/secondaryMeasure/index.d.ts +1 -1
- package/dist/types/src/component/{model/dimension/index.d.ts → dimension/indexFromModel.d.ts} +1 -1
- package/package.json +32 -28
- package/dist/dpuse-shared-componentModuleContext.es.js +0 -16
- package/dist/types/src/component/model/index.d.ts +0 -7
- package/dist/types/src/component/module/context/contextConfig.schema.d.ts +0 -61
- package/dist/types/src/component/module/context/index.d.ts +0 -21
- /package/dist/{dpuse-shared-componentModel.es.js → dpuse-shared-componentContext.es.js} +0 -0
- /package/dist/{dpuse-shared-componentModelDimension.es.js → dpuse-shared-componentContextModel.es.js} +0 -0
- /package/dist/{dpuse-shared-componentModelEntity.es.js → dpuse-shared-componentContextModelEntity.es.js} +0 -0
- /package/dist/{dpuse-shared-componentModelEntityDataItem.es.js → dpuse-shared-componentContextModelEntityDataItem.es.js} +0 -0
- /package/dist/{dpuse-shared-componentModelEntityEvent.es.js → dpuse-shared-componentContextModelEntityEvent.es.js} +0 -0
- /package/dist/{dpuse-shared-componentModelEntityPrimaryMeasure.es.js → dpuse-shared-componentContextModelEntityPrimaryMeasure.es.js} +0 -0
- /package/dist/{dpuse-shared-componentModelSecondaryMeasure.es.js → dpuse-shared-componentContextModelSecondaryMeasure.es.js} +0 -0
package/README.md
CHANGED
|
@@ -150,20 +150,21 @@ _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 458 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-componentModuleContext.es.js | 471 B · brotli 239 B |
|
|
154
153
|
| dist/dpuse-shared-componentModulePresenter.es.js | 411 B · brotli 226 B |
|
|
154
|
+
| dist/dpuse-shared-componentModuleCookbook.es.js | 370 B · brotli 234 B |
|
|
155
155
|
| dist/dpuse-shared-componentModuleTool.es.js | 325 B · brotli 223 B |
|
|
156
156
|
| dist/moduleConfig.schema-COF8ocp_.js | 325 B · brotli 207 B |
|
|
157
|
+
| dist/dpuse-shared-componentRecipe.es.js | 94 B · brotli 70 B |
|
|
157
158
|
| dist/dpuse-shared-componentConnection.es.js | 0 B · brotli 1 B |
|
|
159
|
+
| dist/dpuse-shared-componentContext.es.js | 0 B · brotli 1 B |
|
|
160
|
+
| dist/dpuse-shared-componentContextModel.es.js | 0 B · brotli 1 B |
|
|
161
|
+
| dist/dpuse-shared-componentContextModelEntity.es.js | 0 B · brotli 1 B |
|
|
162
|
+
| dist/dpuse-shared-componentContextModelEntityDataItem.es.js | 0 B · brotli 1 B |
|
|
163
|
+
| dist/dpuse-shared-componentContextModelEntityEvent.es.js | 0 B · brotli 1 B |
|
|
164
|
+
| dist/dpuse-shared-componentContextModelEntityPrimaryMeasure.es.js | 0 B · brotli 1 B |
|
|
165
|
+
| dist/dpuse-shared-componentContextModelSecondaryMeasure.es.js | 0 B · brotli 1 B |
|
|
158
166
|
| dist/dpuse-shared-componentDimension.es.js | 0 B · brotli 1 B |
|
|
159
167
|
| dist/dpuse-shared-componentEventQuery.es.js | 0 B · brotli 1 B |
|
|
160
|
-
| dist/dpuse-shared-componentModel.es.js | 0 B · brotli 1 B |
|
|
161
|
-
| dist/dpuse-shared-componentModelDimension.es.js | 0 B · brotli 1 B |
|
|
162
|
-
| dist/dpuse-shared-componentModelEntity.es.js | 0 B · brotli 1 B |
|
|
163
|
-
| dist/dpuse-shared-componentModelEntityDataItem.es.js | 0 B · brotli 1 B |
|
|
164
|
-
| dist/dpuse-shared-componentModelEntityEvent.es.js | 0 B · brotli 1 B |
|
|
165
|
-
| dist/dpuse-shared-componentModelEntityPrimaryMeasure.es.js | 0 B · brotli 1 B |
|
|
166
|
-
| dist/dpuse-shared-componentModelSecondaryMeasure.es.js | 0 B · brotli 1 B |
|
|
167
168
|
| dist/dpuse-shared-componentModule.es.js | 0 B · brotli 1 B |
|
|
168
169
|
| dist/dpuse-shared-componentModuleEngine.es.js | 0 B · brotli 1 B |
|
|
169
170
|
| dist/dpuse-shared-componentPresentation.es.js | 0 B · brotli 1 B |
|
|
@@ -145,7 +145,7 @@ var m = n([
|
|
|
145
145
|
function E(e) {
|
|
146
146
|
let t = !1, n = !1;
|
|
147
147
|
for (let r of e) T.has(r) && (t = !0), w.has(r) && (n = !0);
|
|
148
|
-
return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "
|
|
148
|
+
return t && n ? "bidirectional" : t ? "source" : n ? "destination" : "source";
|
|
149
149
|
}
|
|
150
150
|
var D = (n, r = "en") => {
|
|
151
151
|
let i = x.find((e) => e.id === n);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { a as e, c as t, d as n, o as r, r as i } from "./componentConfig.schema-DzuoA1f0.js";
|
|
2
|
+
import { t as a } from "./moduleConfig.schema-COF8ocp_.js";
|
|
3
|
+
//#region src/component/module/cookbook/cookbookConfig.schema.ts
|
|
4
|
+
var o = e(["list"]), s = n({
|
|
5
|
+
typeId: t("cookbook"),
|
|
6
|
+
...a,
|
|
7
|
+
actionNames: r(o),
|
|
8
|
+
recipes: r(i)
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { s as cookbookConfigSchema };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ComponentConfig, ComponentReference } from '..';
|
|
2
|
+
export interface ContextConfig extends ComponentConfig {
|
|
3
|
+
typeId: 'context';
|
|
4
|
+
areas: ContextAreaConfig[];
|
|
5
|
+
}
|
|
6
|
+
export interface ContextAreaConfig extends ComponentConfig {
|
|
7
|
+
typeId: 'contextArea';
|
|
8
|
+
models: ComponentReference[];
|
|
9
|
+
order: number;
|
|
10
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentConfig } from '
|
|
1
|
+
import { ComponentConfig } from '../../..';
|
|
2
2
|
import { ContextModelEntityDataItemConfig } from './dataItem';
|
|
3
3
|
import { ContextModelEntityEventConfig } from './event';
|
|
4
4
|
import { ContextModelEntityPrimaryMeasureConfig } from './primaryMeasure';
|
|
5
|
-
import { LocaleLabel } from '
|
|
5
|
+
import { LocaleLabel } from '../../../../locale';
|
|
6
6
|
export interface ContextModelEntityConfig extends ComponentConfig {
|
|
7
7
|
typeId: 'contextModelEntity';
|
|
8
8
|
labelPlural: LocaleLabel;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ComponentConfig } from '../..';
|
|
2
|
+
import { ContextModelEntityConfig } from './entity';
|
|
3
|
+
import { ContextModelSecondaryMeasureConfig } from './secondaryMeasure';
|
|
4
|
+
export interface ContextModelConfig extends ComponentConfig {
|
|
5
|
+
typeId: 'contextModel';
|
|
6
|
+
diagramURL?: string;
|
|
7
|
+
entities: ContextModelEntityConfig[];
|
|
8
|
+
secondaryMeasures: ContextModelSecondaryMeasureConfig[];
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.751",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Common constants, types and utilities used across all DPUse projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,33 +38,33 @@
|
|
|
38
38
|
"import": "./dist/dpuse-shared-componentEventQuery.es.js",
|
|
39
39
|
"types": "./dist/types/src/component/eventQuery/index.d.ts"
|
|
40
40
|
},
|
|
41
|
-
"./component/
|
|
42
|
-
"import": "./dist/dpuse-shared-
|
|
43
|
-
"types": "./dist/types/src/component/
|
|
41
|
+
"./component/context": {
|
|
42
|
+
"import": "./dist/dpuse-shared-componentContext.es.js",
|
|
43
|
+
"types": "./dist/types/src/component/context/index.d.ts"
|
|
44
44
|
},
|
|
45
|
-
"./component/model
|
|
46
|
-
"import": "./dist/dpuse-shared-
|
|
47
|
-
"types": "./dist/types/src/component/model/
|
|
45
|
+
"./component/context/model": {
|
|
46
|
+
"import": "./dist/dpuse-shared-componentContextModel.es.js",
|
|
47
|
+
"types": "./dist/types/src/component/context/model/index.d.ts"
|
|
48
48
|
},
|
|
49
|
-
"./component/model/entity": {
|
|
50
|
-
"import": "./dist/dpuse-shared-
|
|
51
|
-
"types": "./dist/types/src/component/model/entity/index.d.ts"
|
|
49
|
+
"./component/context/model/entity": {
|
|
50
|
+
"import": "./dist/dpuse-shared-componentContextModelEntity.es.js",
|
|
51
|
+
"types": "./dist/types/src/component/context/model/entity/index.d.ts"
|
|
52
52
|
},
|
|
53
|
-
"./component/model/entity/dataItem": {
|
|
54
|
-
"import": "./dist/dpuse-shared-
|
|
55
|
-
"types": "./dist/types/src/component/model/entity/dataItem/index.d.ts"
|
|
53
|
+
"./component/context/model/entity/dataItem": {
|
|
54
|
+
"import": "./dist/dpuse-shared-componentContextModelEntityDataItem.es.js",
|
|
55
|
+
"types": "./dist/types/src/component/context/model/entity/dataItem/index.d.ts"
|
|
56
56
|
},
|
|
57
|
-
"./component/model/entity/event": {
|
|
58
|
-
"import": "./dist/dpuse-shared-
|
|
59
|
-
"types": "./dist/types/src/component/model/entity/event/index.d.ts"
|
|
57
|
+
"./component/context/model/entity/event": {
|
|
58
|
+
"import": "./dist/dpuse-shared-componentContextModelEntityEvent.es.js",
|
|
59
|
+
"types": "./dist/types/src/component/context/model/entity/event/index.d.ts"
|
|
60
60
|
},
|
|
61
|
-
"./component/model/entity/primaryMeasure": {
|
|
62
|
-
"import": "./dist/dpuse-shared-
|
|
63
|
-
"types": "./dist/types/src/component/model/entity/primaryMeasure/index.d.ts"
|
|
61
|
+
"./component/context/model/entity/primaryMeasure": {
|
|
62
|
+
"import": "./dist/dpuse-shared-componentContextModelEntityPrimaryMeasure.es.js",
|
|
63
|
+
"types": "./dist/types/src/component/context/model/entity/primaryMeasure/index.d.ts"
|
|
64
64
|
},
|
|
65
|
-
"./component/model/secondaryMeasure": {
|
|
66
|
-
"import": "./dist/dpuse-shared-
|
|
67
|
-
"types": "./dist/types/src/component/model/secondaryMeasure/index.d.ts"
|
|
65
|
+
"./component/context/model/secondaryMeasure": {
|
|
66
|
+
"import": "./dist/dpuse-shared-componentContextModelSecondaryMeasure.es.js",
|
|
67
|
+
"types": "./dist/types/src/component/context/model/secondaryMeasure/index.d.ts"
|
|
68
68
|
},
|
|
69
69
|
"./component/module": {
|
|
70
70
|
"import": "./dist/dpuse-shared-componentModule.es.js",
|
|
@@ -74,10 +74,6 @@
|
|
|
74
74
|
"import": "./dist/dpuse-shared-componentModuleConnector.es.js",
|
|
75
75
|
"types": "./dist/types/src/component/module/connector/index.d.ts"
|
|
76
76
|
},
|
|
77
|
-
"./component/module/context": {
|
|
78
|
-
"import": "./dist/dpuse-shared-componentModuleContext.es.js",
|
|
79
|
-
"types": "./dist/types/src/component/module/context/index.d.ts"
|
|
80
|
-
},
|
|
81
77
|
"./component/module/engine": {
|
|
82
78
|
"import": "./dist/dpuse-shared-componentModuleEngine.es.js",
|
|
83
79
|
"types": "./dist/types/src/component/module/engine/index.d.ts"
|
|
@@ -86,14 +82,22 @@
|
|
|
86
82
|
"import": "./dist/dpuse-shared-componentModulePresenter.es.js",
|
|
87
83
|
"types": "./dist/types/src/component/module/presenter/index.d.ts"
|
|
88
84
|
},
|
|
85
|
+
"./component/module/cookbook": {
|
|
86
|
+
"import": "./dist/dpuse-shared-componentModuleCookbook.es.js",
|
|
87
|
+
"types": "./dist/types/src/component/module/cookbook/index.d.ts"
|
|
88
|
+
},
|
|
89
89
|
"./component/module/tool": {
|
|
90
90
|
"import": "./dist/dpuse-shared-componentModuleTool.es.js",
|
|
91
91
|
"types": "./dist/types/src/component/module/tool/index.d.ts"
|
|
92
92
|
},
|
|
93
93
|
"./component/presentation": {
|
|
94
|
-
"import": "./dist/dpuse-shared-
|
|
94
|
+
"import": "./dist/dpuse-shared-componentModulePresentation.es.js",
|
|
95
95
|
"types": "./dist/types/src/component/presentation/index.d.ts"
|
|
96
96
|
},
|
|
97
|
+
"./component/recipe": {
|
|
98
|
+
"import": "./dist/dpuse-shared-componentModuleRecipe.es.js",
|
|
99
|
+
"types": "./dist/types/src/component/recipe/index.d.ts"
|
|
100
|
+
},
|
|
97
101
|
"./encoding": {
|
|
98
102
|
"import": "./dist/dpuse-shared-encoding.es.js",
|
|
99
103
|
"types": "./dist/types/src/encoding/index.d.ts"
|
|
@@ -115,7 +119,7 @@
|
|
|
115
119
|
"dist"
|
|
116
120
|
],
|
|
117
121
|
"engines": {
|
|
118
|
-
"node": ">=
|
|
122
|
+
"node": ">=23.11",
|
|
119
123
|
"npm": ">=11"
|
|
120
124
|
},
|
|
121
125
|
"prettier": "@dpuse/dpuse-development/prettierrc",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, o as r, r as i, t as a, u as o } from "./componentConfig.schema-DzuoA1f0.js";
|
|
2
|
-
import { t as s } from "./moduleConfig.schema-COF8ocp_.js";
|
|
3
|
-
//#region src/component/module/context/contextConfig.schema.ts
|
|
4
|
-
var c = n({
|
|
5
|
-
typeId: t("contextArea"),
|
|
6
|
-
...a,
|
|
7
|
-
modelRefs: r(i),
|
|
8
|
-
order: o()
|
|
9
|
-
}), l = e(["listContextFocuses"]), u = n({
|
|
10
|
-
typeId: t("context"),
|
|
11
|
-
...s,
|
|
12
|
-
actionNames: r(l),
|
|
13
|
-
models: r(c)
|
|
14
|
-
});
|
|
15
|
-
//#endregion
|
|
16
|
-
export { u as contextConfigSchema };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare const contextActionNameSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"listContextFocuses", undefined>], undefined>;
|
|
2
|
-
export declare const contextConfigSchema: import('valibot').ObjectSchema<{
|
|
3
|
-
readonly actionNames: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"listContextFocuses", undefined>], undefined>, undefined>;
|
|
4
|
-
readonly models: import('valibot').ArraySchema<import('valibot').ObjectSchema<{
|
|
5
|
-
readonly modelRefs: import('valibot').ArraySchema<import('valibot').ObjectSchema<{
|
|
6
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
7
|
-
readonly label: import('valibot').ObjectSchema<{
|
|
8
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
9
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
10
|
-
}, undefined>;
|
|
11
|
-
readonly description: import('valibot').ObjectSchema<{
|
|
12
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
|
|
13
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
|
|
14
|
-
}, undefined>;
|
|
15
|
-
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
16
|
-
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
17
|
-
readonly order: import('valibot').NumberSchema<undefined>;
|
|
18
|
-
readonly path: import('valibot').StringSchema<undefined>;
|
|
19
|
-
}, undefined>, undefined>;
|
|
20
|
-
readonly order: import('valibot').NumberSchema<undefined>;
|
|
21
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
22
|
-
readonly label: import('valibot').ObjectSchema<{
|
|
23
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
24
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
25
|
-
}, undefined>;
|
|
26
|
-
readonly description: import('valibot').ObjectSchema<{
|
|
27
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
|
|
28
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
|
|
29
|
-
}, undefined>;
|
|
30
|
-
readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
31
|
-
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
32
|
-
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
33
|
-
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
34
|
-
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
35
|
-
readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"amber", undefined>, import('valibot').LiteralSchema<"green", undefined>, import('valibot').LiteralSchema<"red", undefined>, import('valibot').LiteralSchema<"other", undefined>], undefined>;
|
|
36
|
-
readonly label: import('valibot').StringSchema<undefined>;
|
|
37
|
-
}, undefined>, undefined>;
|
|
38
|
-
readonly statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>, import('valibot').LiteralSchema<"notApplicable", undefined>, import('valibot').LiteralSchema<"preAlpha", undefined>, import('valibot').LiteralSchema<"proposed", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"unavailable", undefined>, import('valibot').LiteralSchema<"underReview", undefined>], undefined>, undefined>;
|
|
39
|
-
readonly typeId: import('valibot').LiteralSchema<"contextArea", undefined>;
|
|
40
|
-
}, undefined>, undefined>;
|
|
41
|
-
readonly version: import('valibot').StringSchema<undefined>;
|
|
42
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
43
|
-
readonly label: import('valibot').ObjectSchema<{
|
|
44
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
45
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
46
|
-
}, undefined>;
|
|
47
|
-
readonly description: import('valibot').ObjectSchema<{
|
|
48
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
|
|
49
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').ArraySchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
|
|
50
|
-
}, undefined>;
|
|
51
|
-
readonly firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
52
|
-
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
53
|
-
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
54
|
-
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
55
|
-
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
56
|
-
readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"amber", undefined>, import('valibot').LiteralSchema<"green", undefined>, import('valibot').LiteralSchema<"red", undefined>, import('valibot').LiteralSchema<"other", undefined>], undefined>;
|
|
57
|
-
readonly label: import('valibot').StringSchema<undefined>;
|
|
58
|
-
}, undefined>, undefined>;
|
|
59
|
-
readonly statusId: import('valibot').NullableSchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"alpha", undefined>, import('valibot').LiteralSchema<"beta", undefined>, import('valibot').LiteralSchema<"generalAvailability", undefined>, import('valibot').LiteralSchema<"notApplicable", undefined>, import('valibot').LiteralSchema<"preAlpha", undefined>, import('valibot').LiteralSchema<"proposed", undefined>, import('valibot').LiteralSchema<"releaseCandidate", undefined>, import('valibot').LiteralSchema<"unavailable", undefined>, import('valibot').LiteralSchema<"underReview", undefined>], undefined>, undefined>;
|
|
60
|
-
readonly typeId: import('valibot').LiteralSchema<"context", undefined>;
|
|
61
|
-
}, undefined>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { InferOutput } from 'valibot';
|
|
2
|
-
import { EngineContextActionOptions } from '../engine';
|
|
3
|
-
import { Component, ComponentConfig, ComponentReference } from '../..';
|
|
4
|
-
import { contextActionNameSchema, contextConfigSchema } from './contextConfig.schema';
|
|
5
|
-
export { contextConfigSchema } from './contextConfig.schema';
|
|
6
|
-
export interface ContextInterface extends Component {
|
|
7
|
-
readonly config: ContextConfig;
|
|
8
|
-
listContextFocuses?(context: ContextInterface, options?: ListContextOptions): Promise<ListContextResult>;
|
|
9
|
-
}
|
|
10
|
-
export type ContextConfig = InferOutput<typeof contextConfigSchema>;
|
|
11
|
-
export type ContextActionName = InferOutput<typeof contextActionNameSchema>;
|
|
12
|
-
export interface ContextAreaConfig extends ComponentConfig {
|
|
13
|
-
modelRefs: ComponentReference[];
|
|
14
|
-
order: number;
|
|
15
|
-
}
|
|
16
|
-
export interface ListContextOptions extends EngineContextActionOptions {
|
|
17
|
-
placeholder: unknown;
|
|
18
|
-
}
|
|
19
|
-
export interface ListContextResult {
|
|
20
|
-
models: ContextAreaConfig[];
|
|
21
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|