@datapos/datapos-shared 0.3.285 → 0.3.290
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 +6 -7
- package/dist/types/vite.config.d.ts +5 -0
- package/package.json +9 -35
- package/dist/schemas.js +0 -190
- package/dist/types/_SCHEMA_TYPES.d.ts +0 -42
- package/dist/types/component/connector/connectorSchema.d.ts +0 -46
- package/dist/types/component/context/contextSchema.d.ts +0 -45
- package/dist/types/component/presenter/presenterSchema.d.ts +0 -28
- package/dist/types/schemas.d.ts +0 -3
- /package/dist/types/{component → src/component}/connector/connection.d.ts +0 -0
- /package/dist/types/{component → src/component}/connector/index.d.ts +0 -0
- /package/dist/types/{component → src/component}/context/index.d.ts +0 -0
- /package/dist/types/{component → src/component}/dataView/OLD_ContentAuditColumn.d.ts +0 -0
- /package/dist/types/{component → src/component}/dataView/OLD_PreviewColumn.d.ts +0 -0
- /package/dist/types/{component → src/component}/dataView/index.d.ts +0 -0
- /package/dist/types/{component → src/component}/dimension/index.d.ts +0 -0
- /package/dist/types/{component → src/component}/eventQuery/index.d.ts +0 -0
- /package/dist/types/{component → src/component}/index.d.ts +0 -0
- /package/dist/types/{component → src/component}/presenter/index.d.ts +0 -0
- /package/dist/types/{component → src/component}/presenter/presentation.d.ts +0 -0
- /package/dist/types/{component → src/component}/tool/index.d.ts +0 -0
- /package/dist/types/{composables → src/composables}/useCytoscapeJS.d.ts +0 -0
- /package/dist/types/{composables → src/composables}/useDataTable.d.ts +0 -0
- /package/dist/types/{engine → src/engine}/index.d.ts +0 -0
- /package/dist/types/{errors → src/errors}/index.d.ts +0 -0
- /package/dist/types/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/types/{timestamp.d.ts → src/timestamp.d.ts} +0 -0
- /package/dist/types/{utilities → src/utilities}/index.d.ts +0 -0
package/README.md
CHANGED
|
@@ -125,13 +125,12 @@ The OWASP Dependency Check Report identifies known vulnerabilities in project de
|
|
|
125
125
|
The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the uploaded library are covered by these checks.
|
|
126
126
|
|
|
127
127
|
<!-- DEPENDENCY_LICENSES_START -->
|
|
128
|
-
|
|
129
|
-
|
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
|
|
|
134
|
-
|
|
128
|
+
| Name | Type | Installed | Latest | Latest Modified |
|
|
129
|
+
| :-------- | :--: | :-------: | :----: | :----------------------- |
|
|
130
|
+
| csv-parse | MIT | 6.1.0 | 6.1.0 | 2025-07-16T18:42:21.126Z |
|
|
131
|
+
| date-fns | MIT | 4.1.0 | 4.1.0 | 2025-08-03T13:10:27.925Z |
|
|
132
|
+
| nanoid | MIT | 5.1.6 | 5.1.6 | 2025-09-22T09:45:52.899Z |
|
|
133
|
+
| zod | MIT | 4.1.13 | 4.1.13 | 2025-12-02T06:21:25.529Z |
|
|
135
134
|
<!-- DEPENDENCY_LICENSES_END -->
|
|
136
135
|
|
|
137
136
|
**Installed dependencies are kept up-to-date with latest releases.**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.290",
|
|
4
4
|
"description": "A library containing common declarations and utilities used across all other Data Positioning projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -14,31 +14,18 @@
|
|
|
14
14
|
"url": "https://github.com/data-positioning/datapos-shared/issues"
|
|
15
15
|
},
|
|
16
16
|
"module": "./dist/datapos-shared.es.js",
|
|
17
|
-
"types": "./dist/types/index.d.ts",
|
|
17
|
+
"types": "./dist/types/src/index.d.ts",
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"import": "./dist/datapos-shared.es.js",
|
|
21
|
-
"types": "./dist/types/index.d.ts"
|
|
22
|
-
},
|
|
23
|
-
"./schemas": {
|
|
24
|
-
"import": "./dist/schemas.js",
|
|
25
|
-
"types": "./dist/types/schemas.d.ts"
|
|
21
|
+
"types": "./dist/types/src/index.d.ts"
|
|
26
22
|
}
|
|
27
23
|
},
|
|
28
24
|
"sideEffects": false,
|
|
29
25
|
"files": [
|
|
30
26
|
"dist"
|
|
31
27
|
],
|
|
32
|
-
"
|
|
33
|
-
"*": {
|
|
34
|
-
"schemas": [
|
|
35
|
-
"dist/types/schemas.d.ts"
|
|
36
|
-
],
|
|
37
|
-
"*": [
|
|
38
|
-
"dist/types/*"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
28
|
+
"prettier": "@datapos/datapos-development/prettierrc",
|
|
42
29
|
"peerDependencies": {
|
|
43
30
|
"csv-parse": "^6.1.0",
|
|
44
31
|
"date-fns": "^4.1.0",
|
|
@@ -46,7 +33,7 @@
|
|
|
46
33
|
"zod": "^4.1.13"
|
|
47
34
|
},
|
|
48
35
|
"devDependencies": {
|
|
49
|
-
"@datapos/datapos-development": "^0.3.
|
|
36
|
+
"@datapos/datapos-development": "^0.3.273",
|
|
50
37
|
"@types/node": "^24.10.1",
|
|
51
38
|
"@types/prismjs": "^1.26.5",
|
|
52
39
|
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
@@ -56,9 +43,12 @@
|
|
|
56
43
|
"jiti": "^2.6.1",
|
|
57
44
|
"license-report": "^6.8.1",
|
|
58
45
|
"license-report-check": "^0.1.2",
|
|
46
|
+
"license-report-recursive": "^6.8.2",
|
|
47
|
+
"nanoid": "^5.1.6",
|
|
59
48
|
"npm-check-updates": "^19.1.2",
|
|
49
|
+
"owasp-dependency-check": "^1.0.0",
|
|
60
50
|
"prettier": "^3.7.4",
|
|
61
|
-
"
|
|
51
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
62
52
|
"ts-to-zod": "^5.1.0",
|
|
63
53
|
"typescript": "^5.9.3",
|
|
64
54
|
"vite": "^7.2.6",
|
|
@@ -75,22 +65,6 @@
|
|
|
75
65
|
"sync": "node -e \"import('@datapos/datapos-development').then(m => m.syncProjectWithGitHub())\"",
|
|
76
66
|
"test": "node -e \"import('@datapos/datapos-development').then(m => m.testProject())\"",
|
|
77
67
|
"update": "node -e \"import('@datapos/datapos-development').then(m => m.updateDataPosDependencies(['development']))\"",
|
|
78
|
-
"audit1": "npm audit",
|
|
79
|
-
"build1": "vite build",
|
|
80
|
-
"bump:version1": "node -e \"import('@datapos/datapos-development').then(m => m.bumpVersion())\"",
|
|
81
|
-
"check1": "npm outdated; npm-check-updates -i && retire",
|
|
82
|
-
"document1": "npm run _document:licenceReport && npm run _document:licenceCheck",
|
|
83
|
-
"format1": "prettier --write src/",
|
|
84
|
-
"lint1": "eslint .",
|
|
85
|
-
"publish:toNPM1": "npm publish --access public",
|
|
86
|
-
"release1": "npm run bump:version && npm run build && npm run _sync:withGitHub && npm run publish:toNPM",
|
|
87
|
-
"sync1": "npm run bump:version && npm run _sync:withGitHub",
|
|
88
|
-
"test1": "node -e \"import('@datapos/datapos-development').then(m => m.echoScriptNotImplemented('Test'))\"",
|
|
89
|
-
"update:dataPosDep1s": "npm run _update:developDep",
|
|
90
|
-
"_document:licenceReport1": "license-report --only=prod,peer > LICENSES.json",
|
|
91
|
-
"_document:licenceCheck1": "license-report-check --source ./LICENSES.json --allowed 'MIT' --allowed 'n/a' --allowed 'Apache-2.0' --output=table",
|
|
92
|
-
"_sync:withGitHub1": "node -e \"import('@datapos/datapos-development').then(m => m.syncWithGitHub())\"",
|
|
93
|
-
"_update:developDep1": "npm install --save-dev @datapos/datapos-development@latest",
|
|
94
68
|
"___ts-to-zod": "npx ts-to-zod src/schemaTypes.ts src/schemaZOD.ts"
|
|
95
69
|
},
|
|
96
70
|
"engines": {
|
package/dist/schemas.js
DELETED
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
import { z as e } from "zod";
|
|
2
|
-
const o = e.union([e.literal("amber"), e.literal("green"), e.literal("red"), e.literal("other")]), r = e.union([
|
|
3
|
-
e.literal("alpha"),
|
|
4
|
-
e.literal("beta"),
|
|
5
|
-
e.literal("generalAvailability"),
|
|
6
|
-
e.literal("notApplicable"),
|
|
7
|
-
e.literal("preAlpha"),
|
|
8
|
-
e.literal("proposed"),
|
|
9
|
-
e.literal("releaseCandidate"),
|
|
10
|
-
e.literal("unavailable"),
|
|
11
|
-
e.literal("underReview")
|
|
12
|
-
]), i = e.union([
|
|
13
|
-
e.literal("app"),
|
|
14
|
-
e.literal("connector"),
|
|
15
|
-
e.literal("connectorConnection"),
|
|
16
|
-
e.literal("context"),
|
|
17
|
-
e.literal("contextModelGroup"),
|
|
18
|
-
e.literal("contextModel"),
|
|
19
|
-
e.literal("contextModelDimensionGroup"),
|
|
20
|
-
e.literal("contextModelDimension"),
|
|
21
|
-
e.literal("contextModelDimensionHierarchy"),
|
|
22
|
-
e.literal("contextModelEntityGroup"),
|
|
23
|
-
e.literal("contextModelEntity"),
|
|
24
|
-
e.literal("contextModelEntityDataItem"),
|
|
25
|
-
e.literal("contextModelEntityEvent"),
|
|
26
|
-
e.literal("contextModelEntityPrimaryMeasure"),
|
|
27
|
-
e.literal("contextModelSecondaryMeasureGroup"),
|
|
28
|
-
e.literal("contextModelSecondaryMeasure"),
|
|
29
|
-
e.literal("dataView"),
|
|
30
|
-
e.literal("dimension"),
|
|
31
|
-
e.literal("engine"),
|
|
32
|
-
e.literal("eventQuery"),
|
|
33
|
-
e.literal("presenter"),
|
|
34
|
-
e.literal("presenterPresentation"),
|
|
35
|
-
e.literal("tool")
|
|
36
|
-
]), a = e.union([e.literal("en-au"), e.literal("en-gb"), e.literal("en-us"), e.literal("es-es")]), c = e.record(a, e.string()), s = e.object({
|
|
37
|
-
id: e.string(),
|
|
38
|
-
color: o,
|
|
39
|
-
label: e.string()
|
|
40
|
-
}), d = e.object({
|
|
41
|
-
id: e.string(),
|
|
42
|
-
label: e.record(e.string(), e.string()),
|
|
43
|
-
description: e.record(e.string(), e.string()),
|
|
44
|
-
firstCreatedAt: e.number().optional(),
|
|
45
|
-
icon: e.string().optional(),
|
|
46
|
-
iconDark: e.string().optional(),
|
|
47
|
-
lastUpdatedAt: e.number().optional(),
|
|
48
|
-
status: s.nullable().optional(),
|
|
49
|
-
statusId: r,
|
|
50
|
-
typeId: i
|
|
51
|
-
}), p = e.union([e.literal("app"), e.literal("engine"), e.literal("connector"), e.literal("context"), e.literal("presenter"), e.literal("tool")]), m = e.object({
|
|
52
|
-
id: e.string(),
|
|
53
|
-
label: e.string()
|
|
54
|
-
}), u = e.object({
|
|
55
|
-
activeConnectionCount: e.number().optional(),
|
|
56
|
-
canDescribe: e.boolean().optional(),
|
|
57
|
-
id: e.string().optional(),
|
|
58
|
-
authMethodId: e.union([e.literal("apiKey"), e.literal("disabled"), e.literal("oAuth2"), e.literal("none")]),
|
|
59
|
-
label: c.optional(),
|
|
60
|
-
maxConnectionCount: e.number().optional(),
|
|
61
|
-
params: e.array(e.record(e.string(), e.string())).optional()
|
|
62
|
-
}), g = e.union([e.literal("application"), e.literal("curatedDataset"), e.literal("database"), e.literal("fileStore")]), b = e.union([
|
|
63
|
-
e.literal("abortOperation"),
|
|
64
|
-
e.literal("authenticateConnection"),
|
|
65
|
-
e.literal("createObject"),
|
|
66
|
-
e.literal("describeConnection"),
|
|
67
|
-
e.literal("dropObject"),
|
|
68
|
-
e.literal("findObject"),
|
|
69
|
-
e.literal("getRecord"),
|
|
70
|
-
e.literal("listNodes"),
|
|
71
|
-
e.literal("previewObject"),
|
|
72
|
-
e.literal("removeRecords"),
|
|
73
|
-
e.literal("retrieveRecords"),
|
|
74
|
-
e.literal("upsertRecords")
|
|
75
|
-
]), y = e.union([e.literal("bidirectional"), e.literal("destination"), e.literal("source"), e.literal("unknown")]), h = d.extend({
|
|
76
|
-
typeId: p,
|
|
77
|
-
version: e.string()
|
|
78
|
-
}), T = h.extend({
|
|
79
|
-
category: m.optional(),
|
|
80
|
-
categoryId: g,
|
|
81
|
-
implementations: e.record(e.string(), u),
|
|
82
|
-
operations: e.array(b),
|
|
83
|
-
typeId: e.literal("connector"),
|
|
84
|
-
usageId: y,
|
|
85
|
-
vendorAccountURL: e.string().nullable().optional(),
|
|
86
|
-
vendorDocumentationURL: e.string().nullable().optional(),
|
|
87
|
-
vendorHomeURL: e.string().nullable().optional()
|
|
88
|
-
}), x = e.union([e.literal("amber"), e.literal("green"), e.literal("red"), e.literal("other")]), S = e.union([
|
|
89
|
-
e.literal("alpha"),
|
|
90
|
-
e.literal("beta"),
|
|
91
|
-
e.literal("generalAvailability"),
|
|
92
|
-
e.literal("notApplicable"),
|
|
93
|
-
e.literal("preAlpha"),
|
|
94
|
-
e.literal("proposed"),
|
|
95
|
-
e.literal("releaseCandidate"),
|
|
96
|
-
e.literal("unavailable"),
|
|
97
|
-
e.literal("underReview")
|
|
98
|
-
]), M = e.union([
|
|
99
|
-
e.literal("app"),
|
|
100
|
-
e.literal("connector"),
|
|
101
|
-
e.literal("connectorConnection"),
|
|
102
|
-
e.literal("context"),
|
|
103
|
-
e.literal("contextModelGroup"),
|
|
104
|
-
e.literal("contextModel"),
|
|
105
|
-
e.literal("contextModelDimensionGroup"),
|
|
106
|
-
e.literal("contextModelDimension"),
|
|
107
|
-
e.literal("contextModelDimensionHierarchy"),
|
|
108
|
-
e.literal("contextModelEntityGroup"),
|
|
109
|
-
e.literal("contextModelEntity"),
|
|
110
|
-
e.literal("contextModelEntityDataItem"),
|
|
111
|
-
e.literal("contextModelEntityEvent"),
|
|
112
|
-
e.literal("contextModelEntityPrimaryMeasure"),
|
|
113
|
-
e.literal("contextModelSecondaryMeasureGroup"),
|
|
114
|
-
e.literal("contextModelSecondaryMeasure"),
|
|
115
|
-
e.literal("dataView"),
|
|
116
|
-
e.literal("dimension"),
|
|
117
|
-
e.literal("engine"),
|
|
118
|
-
e.literal("eventQuery"),
|
|
119
|
-
e.literal("presenter"),
|
|
120
|
-
e.literal("presenterPresentation"),
|
|
121
|
-
e.literal("tool")
|
|
122
|
-
]), t = e.number(), I = e.object({
|
|
123
|
-
id: e.string(),
|
|
124
|
-
color: x,
|
|
125
|
-
label: e.string()
|
|
126
|
-
}), C = e.object({
|
|
127
|
-
id: e.string(),
|
|
128
|
-
label: e.record(e.string(), e.string()),
|
|
129
|
-
description: e.record(e.string(), e.string()),
|
|
130
|
-
icon: e.string().optional(),
|
|
131
|
-
iconDark: e.string().optional(),
|
|
132
|
-
order: e.number(),
|
|
133
|
-
path: e.string()
|
|
134
|
-
}), n = e.object({
|
|
135
|
-
id: e.string(),
|
|
136
|
-
label: e.record(e.string(), e.string()),
|
|
137
|
-
description: e.record(e.string(), e.string()),
|
|
138
|
-
firstCreatedAt: t.optional(),
|
|
139
|
-
icon: e.string().optional(),
|
|
140
|
-
iconDark: e.string().optional(),
|
|
141
|
-
lastUpdatedAt: t.optional(),
|
|
142
|
-
status: I.optional(),
|
|
143
|
-
statusId: S,
|
|
144
|
-
typeId: M
|
|
145
|
-
}), v = e.union([e.literal("app"), e.literal("engine"), e.literal("connector"), e.literal("context"), e.literal("presenter"), e.literal("tool")]), D = n.extend({
|
|
146
|
-
typeId: v,
|
|
147
|
-
version: e.string()
|
|
148
|
-
}), f = n.extend({
|
|
149
|
-
modelRefs: e.array(C),
|
|
150
|
-
order: e.number()
|
|
151
|
-
}), E = e.literal("list"), H = D.extend({
|
|
152
|
-
models: e.array(f),
|
|
153
|
-
operations: e.array(E),
|
|
154
|
-
typeId: e.literal("context")
|
|
155
|
-
}), A = e.union([e.literal("amber"), e.literal("green"), e.literal("red"), e.literal("other")]), $ = e.union([e.literal("alpha"), e.literal("beta"), e.literal("generalAvailability"), e.literal("notApplicable"), e.literal("preAlpha"), e.literal("proposed"), e.literal("releaseCandidate"), e.literal("unavailable"), e.literal("underReview")]), j = e.union([e.literal("app"), e.literal("connector"), e.literal("connectorConnection"), e.literal("context"), e.literal("contextModelGroup"), e.literal("contextModel"), e.literal("contextModelDimensionGroup"), e.literal("contextModelDimension"), e.literal("contextModelDimensionHierarchy"), e.literal("contextModelEntityGroup"), e.literal("contextModelEntity"), e.literal("contextModelEntityDataItem"), e.literal("contextModelEntityEvent"), e.literal("contextModelEntityPrimaryMeasure"), e.literal("contextModelSecondaryMeasureGroup"), e.literal("contextModelSecondaryMeasure"), e.literal("dataView"), e.literal("dimension"), e.literal("engine"), e.literal("eventQuery"), e.literal("presenter"), e.literal("presenterPresentation"), e.literal("tool")]), l = e.number(), G = e.object({
|
|
156
|
-
id: e.string(),
|
|
157
|
-
color: A,
|
|
158
|
-
label: e.string()
|
|
159
|
-
}), R = e.object({
|
|
160
|
-
id: e.string(),
|
|
161
|
-
label: e.record(e.string(), e.string()),
|
|
162
|
-
description: e.record(e.string(), e.string()),
|
|
163
|
-
icon: e.string().optional(),
|
|
164
|
-
iconDark: e.string().optional(),
|
|
165
|
-
order: e.number(),
|
|
166
|
-
path: e.string()
|
|
167
|
-
}), w = e.object({
|
|
168
|
-
id: e.string(),
|
|
169
|
-
label: e.record(e.string(), e.string()),
|
|
170
|
-
description: e.record(e.string(), e.string()),
|
|
171
|
-
firstCreatedAt: l.optional(),
|
|
172
|
-
icon: e.string().optional(),
|
|
173
|
-
iconDark: e.string().optional(),
|
|
174
|
-
lastUpdatedAt: l.optional(),
|
|
175
|
-
status: G.optional(),
|
|
176
|
-
statusId: $,
|
|
177
|
-
typeId: j
|
|
178
|
-
}), O = e.union([e.literal("app"), e.literal("engine"), e.literal("connector"), e.literal("context"), e.literal("presenter"), e.literal("tool")]), U = w.extend({
|
|
179
|
-
typeId: O,
|
|
180
|
-
version: e.string()
|
|
181
|
-
}), k = e.union([e.literal("list"), e.literal("render"), e.literal("setColorMode")]), L = U.extend({
|
|
182
|
-
presentations: e.array(R),
|
|
183
|
-
operations: e.array(k),
|
|
184
|
-
typeId: e.literal("presenter")
|
|
185
|
-
});
|
|
186
|
-
export {
|
|
187
|
-
T as connectorConfigSchema,
|
|
188
|
-
H as contextConfigSchema,
|
|
189
|
-
L as presenterConfigSchema
|
|
190
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
type ComponentStatus = {
|
|
2
|
-
id: string;
|
|
3
|
-
color: StatusColorId;
|
|
4
|
-
label: string;
|
|
5
|
-
};
|
|
6
|
-
type ComponentStatusId = 'alpha' | 'beta' | 'generalAvailability' | 'notApplicable' | 'preAlpha' | 'proposed' | 'releaseCandidate' | 'unavailable' | 'underReview';
|
|
7
|
-
type ComponentTypeId = 'app' | 'connector' | 'connectorConnection' | 'context' | 'contextModelGroup' | 'contextModel' | 'contextModelDimensionGroup' | 'contextModelDimension' | 'contextModelDimensionHierarchy' | 'contextModelEntityGroup' | 'contextModelEntity' | 'contextModelEntityDataItem' | 'contextModelEntityEvent' | 'contextModelEntityPrimaryMeasure' | 'contextModelSecondaryMeasureGroup' | 'contextModelSecondaryMeasure' | 'dataView' | 'dimension' | 'engine' | 'eventQuery' | 'presenter' | 'presenterPresentation' | 'tool';
|
|
8
|
-
type StatusColorId = 'amber' | 'green' | 'red' | 'other';
|
|
9
|
-
type Timestamp = number;
|
|
10
|
-
interface ComponentConfig {
|
|
11
|
-
id: string;
|
|
12
|
-
label: Record<string, string>;
|
|
13
|
-
description: Record<string, string>;
|
|
14
|
-
firstCreatedAt?: Timestamp;
|
|
15
|
-
icon?: string;
|
|
16
|
-
iconDark?: string;
|
|
17
|
-
lastUpdatedAt?: Timestamp;
|
|
18
|
-
status?: ComponentStatus;
|
|
19
|
-
statusId: ComponentStatusId;
|
|
20
|
-
typeId: ComponentTypeId;
|
|
21
|
-
}
|
|
22
|
-
type ComponentRef = {
|
|
23
|
-
id: string;
|
|
24
|
-
label: Record<string, string>;
|
|
25
|
-
description: Record<string, string>;
|
|
26
|
-
icon?: string;
|
|
27
|
-
iconDark?: string;
|
|
28
|
-
order: number;
|
|
29
|
-
path: string;
|
|
30
|
-
};
|
|
31
|
-
interface ModuleConfig extends ComponentConfig {
|
|
32
|
-
typeId: ModuleTypeId;
|
|
33
|
-
version: string;
|
|
34
|
-
}
|
|
35
|
-
type ModuleTypeId = 'app' | 'engine' | 'connector' | 'context' | 'presenter' | 'tool';
|
|
36
|
-
export interface PresenterConfig extends ModuleConfig {
|
|
37
|
-
presentations: ComponentRef[];
|
|
38
|
-
operations: PresenterOperation[];
|
|
39
|
-
typeId: 'presenter';
|
|
40
|
-
}
|
|
41
|
-
type PresenterOperation = 'list' | 'render' | 'setColorMode';
|
|
42
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const connectorImplementationSchema: z.ZodObject<{
|
|
3
|
-
activeConnectionCount: z.ZodOptional<z.ZodNumber>;
|
|
4
|
-
canDescribe: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
-
id: z.ZodOptional<z.ZodString>;
|
|
6
|
-
authMethodId: z.ZodUnion<readonly [z.ZodLiteral<"apiKey">, z.ZodLiteral<"disabled">, z.ZodLiteral<"oAuth2">, z.ZodLiteral<"none">]>;
|
|
7
|
-
label: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"en-au">, z.ZodLiteral<"en-gb">, z.ZodLiteral<"en-us">, z.ZodLiteral<"es-es">]>, z.ZodString>>;
|
|
8
|
-
maxConnectionCount: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
params: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
export declare const connectorConfigSchema: z.ZodObject<{
|
|
12
|
-
id: z.ZodString;
|
|
13
|
-
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
14
|
-
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
15
|
-
firstCreatedAt: z.ZodOptional<z.ZodNumber>;
|
|
16
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
17
|
-
iconDark: z.ZodOptional<z.ZodString>;
|
|
18
|
-
lastUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
19
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
-
id: z.ZodString;
|
|
21
|
-
color: z.ZodUnion<readonly [z.ZodLiteral<"amber">, z.ZodLiteral<"green">, z.ZodLiteral<"red">, z.ZodLiteral<"other">]>;
|
|
22
|
-
label: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>>;
|
|
24
|
-
statusId: z.ZodUnion<readonly [z.ZodLiteral<"alpha">, z.ZodLiteral<"beta">, z.ZodLiteral<"generalAvailability">, z.ZodLiteral<"notApplicable">, z.ZodLiteral<"preAlpha">, z.ZodLiteral<"proposed">, z.ZodLiteral<"releaseCandidate">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"underReview">]>;
|
|
25
|
-
version: z.ZodString;
|
|
26
|
-
category: z.ZodOptional<z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
label: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>;
|
|
30
|
-
categoryId: z.ZodUnion<readonly [z.ZodLiteral<"application">, z.ZodLiteral<"curatedDataset">, z.ZodLiteral<"database">, z.ZodLiteral<"fileStore">]>;
|
|
31
|
-
implementations: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
32
|
-
activeConnectionCount: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
canDescribe: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
-
id: z.ZodOptional<z.ZodString>;
|
|
35
|
-
authMethodId: z.ZodUnion<readonly [z.ZodLiteral<"apiKey">, z.ZodLiteral<"disabled">, z.ZodLiteral<"oAuth2">, z.ZodLiteral<"none">]>;
|
|
36
|
-
label: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"en-au">, z.ZodLiteral<"en-gb">, z.ZodLiteral<"en-us">, z.ZodLiteral<"es-es">]>, z.ZodString>>;
|
|
37
|
-
maxConnectionCount: z.ZodOptional<z.ZodNumber>;
|
|
38
|
-
params: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
39
|
-
}, z.core.$strip>>;
|
|
40
|
-
operations: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"abortOperation">, z.ZodLiteral<"authenticateConnection">, z.ZodLiteral<"createObject">, z.ZodLiteral<"describeConnection">, z.ZodLiteral<"dropObject">, z.ZodLiteral<"findObject">, z.ZodLiteral<"getRecord">, z.ZodLiteral<"listNodes">, z.ZodLiteral<"previewObject">, z.ZodLiteral<"removeRecords">, z.ZodLiteral<"retrieveRecords">, z.ZodLiteral<"upsertRecords">]>>;
|
|
41
|
-
typeId: z.ZodLiteral<"connector">;
|
|
42
|
-
usageId: z.ZodUnion<readonly [z.ZodLiteral<"bidirectional">, z.ZodLiteral<"destination">, z.ZodLiteral<"source">, z.ZodLiteral<"unknown">]>;
|
|
43
|
-
vendorAccountURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
vendorDocumentationURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
-
vendorHomeURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
-
}, z.core.$strip>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const contextConfigSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5
|
-
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6
|
-
firstCreatedAt: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
8
|
-
iconDark: z.ZodOptional<z.ZodString>;
|
|
9
|
-
lastUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
10
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
11
|
-
id: z.ZodString;
|
|
12
|
-
color: z.ZodUnion<readonly [z.ZodLiteral<"amber">, z.ZodLiteral<"green">, z.ZodLiteral<"red">, z.ZodLiteral<"other">]>;
|
|
13
|
-
label: z.ZodString;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
statusId: z.ZodUnion<readonly [z.ZodLiteral<"alpha">, z.ZodLiteral<"beta">, z.ZodLiteral<"generalAvailability">, z.ZodLiteral<"notApplicable">, z.ZodLiteral<"preAlpha">, z.ZodLiteral<"proposed">, z.ZodLiteral<"releaseCandidate">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"underReview">]>;
|
|
16
|
-
version: z.ZodString;
|
|
17
|
-
models: z.ZodArray<z.ZodObject<{
|
|
18
|
-
id: z.ZodString;
|
|
19
|
-
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
20
|
-
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
21
|
-
firstCreatedAt: z.ZodOptional<z.ZodNumber>;
|
|
22
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
23
|
-
iconDark: z.ZodOptional<z.ZodString>;
|
|
24
|
-
lastUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
25
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
26
|
-
id: z.ZodString;
|
|
27
|
-
color: z.ZodUnion<readonly [z.ZodLiteral<"amber">, z.ZodLiteral<"green">, z.ZodLiteral<"red">, z.ZodLiteral<"other">]>;
|
|
28
|
-
label: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>;
|
|
30
|
-
statusId: z.ZodUnion<readonly [z.ZodLiteral<"alpha">, z.ZodLiteral<"beta">, z.ZodLiteral<"generalAvailability">, z.ZodLiteral<"notApplicable">, z.ZodLiteral<"preAlpha">, z.ZodLiteral<"proposed">, z.ZodLiteral<"releaseCandidate">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"underReview">]>;
|
|
31
|
-
typeId: z.ZodUnion<readonly [z.ZodLiteral<"app">, z.ZodLiteral<"connector">, z.ZodLiteral<"connectorConnection">, z.ZodLiteral<"context">, z.ZodLiteral<"contextModelGroup">, z.ZodLiteral<"contextModel">, z.ZodLiteral<"contextModelDimensionGroup">, z.ZodLiteral<"contextModelDimension">, z.ZodLiteral<"contextModelDimensionHierarchy">, z.ZodLiteral<"contextModelEntityGroup">, z.ZodLiteral<"contextModelEntity">, z.ZodLiteral<"contextModelEntityDataItem">, z.ZodLiteral<"contextModelEntityEvent">, z.ZodLiteral<"contextModelEntityPrimaryMeasure">, z.ZodLiteral<"contextModelSecondaryMeasureGroup">, z.ZodLiteral<"contextModelSecondaryMeasure">, z.ZodLiteral<"dataView">, z.ZodLiteral<"dimension">, z.ZodLiteral<"engine">, z.ZodLiteral<"eventQuery">, z.ZodLiteral<"presenter">, z.ZodLiteral<"presenterPresentation">, z.ZodLiteral<"tool">]>;
|
|
32
|
-
modelRefs: z.ZodArray<z.ZodObject<{
|
|
33
|
-
id: z.ZodString;
|
|
34
|
-
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
35
|
-
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
36
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
37
|
-
iconDark: z.ZodOptional<z.ZodString>;
|
|
38
|
-
order: z.ZodNumber;
|
|
39
|
-
path: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>;
|
|
41
|
-
order: z.ZodNumber;
|
|
42
|
-
}, z.core.$strip>>;
|
|
43
|
-
operations: z.ZodArray<z.ZodLiteral<"list">>;
|
|
44
|
-
typeId: z.ZodLiteral<"context">;
|
|
45
|
-
}, z.core.$strip>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const presenterConfigSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodString;
|
|
4
|
-
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5
|
-
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6
|
-
firstCreatedAt: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
8
|
-
iconDark: z.ZodOptional<z.ZodString>;
|
|
9
|
-
lastUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
10
|
-
status: z.ZodOptional<z.ZodObject<{
|
|
11
|
-
id: z.ZodString;
|
|
12
|
-
color: z.ZodUnion<readonly [z.ZodLiteral<"amber">, z.ZodLiteral<"green">, z.ZodLiteral<"red">, z.ZodLiteral<"other">]>;
|
|
13
|
-
label: z.ZodString;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
statusId: z.ZodUnion<readonly [z.ZodLiteral<"alpha">, z.ZodLiteral<"beta">, z.ZodLiteral<"generalAvailability">, z.ZodLiteral<"notApplicable">, z.ZodLiteral<"preAlpha">, z.ZodLiteral<"proposed">, z.ZodLiteral<"releaseCandidate">, z.ZodLiteral<"unavailable">, z.ZodLiteral<"underReview">]>;
|
|
16
|
-
version: z.ZodString;
|
|
17
|
-
presentations: z.ZodArray<z.ZodObject<{
|
|
18
|
-
id: z.ZodString;
|
|
19
|
-
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
20
|
-
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
21
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
22
|
-
iconDark: z.ZodOptional<z.ZodString>;
|
|
23
|
-
order: z.ZodNumber;
|
|
24
|
-
path: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>;
|
|
26
|
-
operations: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"list">, z.ZodLiteral<"render">, z.ZodLiteral<"setColorMode">]>>;
|
|
27
|
-
typeId: z.ZodLiteral<"presenter">;
|
|
28
|
-
}, z.core.$strip>;
|
package/dist/types/schemas.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|