@datapos/datapos-shared 0.3.287 → 0.3.293
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 +2 -3
- package/dist/types/vite.config.d.ts +5 -0
- package/package.json +9 -25
- package/dist/schemas.js +0 -190
- 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
|
@@ -118,7 +118,7 @@ getComponentStatus('alpha');
|
|
|
118
118
|
|
|
119
119
|
The OWASP Dependency Check Report identifies known vulnerabilities in project dependencies. It is generated automatically on each release using the npm package `owasp-dependency-check`. We also rely on GitHub Dependabot to continuously check for vulnerabilities across all dependencies.
|
|
120
120
|
|
|
121
|
-
[View the OWASP Dependency Check Report](https://data-positioning.github.io/datapos-shared/dependency-check-
|
|
121
|
+
[View the OWASP Dependency Check Report](https://data-positioning.github.io/datapos-shared/dependency-check-report.html)
|
|
122
122
|
|
|
123
123
|
### Dependency Licenses
|
|
124
124
|
|
|
@@ -130,7 +130,6 @@ The following table lists top-level production and peer dependencies. All these
|
|
|
130
130
|
| csv-parse | MIT | 6.1.0 | 6.1.0 | 2025-07-16T18:42:21.126Z |
|
|
131
131
|
| date-fns | MIT | 4.1.0 | 4.1.0 | 2025-08-03T13:10:27.925Z |
|
|
132
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 |
|
|
134
133
|
<!-- DEPENDENCY_LICENSES_END -->
|
|
135
134
|
|
|
136
135
|
**Installed dependencies are kept up-to-date with latest releases.**
|
|
@@ -139,7 +138,7 @@ The following table lists top-level production and peer dependencies. All these
|
|
|
139
138
|
|
|
140
139
|
The Bundle Analysis Report provides a detailed breakdown of the bundle's composition and module sizes, helping to identify which modules contribute most to the final build. It is generated automatically on each release using the npm package `rollup-plugin-visualizer`.
|
|
141
140
|
|
|
142
|
-
[View the Bundle Analysis Report](https://data-positioning.github.io/datapos-shared/stats
|
|
141
|
+
[View the Bundle Analysis Report](https://data-positioning.github.io/datapos-shared/stats.html)
|
|
143
142
|
|
|
144
143
|
## Repository Common Management Commands
|
|
145
144
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "A library containing common
|
|
3
|
+
"version": "0.3.293",
|
|
4
|
+
"description": "A library containing common constants, types and utilities used across all Data Positioning projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"type": "module",
|
|
@@ -14,39 +14,25 @@
|
|
|
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",
|
|
45
|
-
"nanoid": "^5.1.6"
|
|
46
|
-
"zod": "^4.1.13"
|
|
32
|
+
"nanoid": "^5.1.6"
|
|
47
33
|
},
|
|
48
34
|
"devDependencies": {
|
|
49
|
-
"@datapos/datapos-development": "^0.3.
|
|
35
|
+
"@datapos/datapos-development": "^0.3.279",
|
|
50
36
|
"@types/node": "^24.10.1",
|
|
51
37
|
"@types/prismjs": "^1.26.5",
|
|
52
38
|
"@typescript-eslint/eslint-plugin": "^8.48.1",
|
|
@@ -62,9 +48,8 @@
|
|
|
62
48
|
"owasp-dependency-check": "^1.0.0",
|
|
63
49
|
"prettier": "^3.7.4",
|
|
64
50
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
65
|
-
"ts-to-zod": "^5.1.0",
|
|
66
51
|
"typescript": "^5.9.3",
|
|
67
|
-
"vite": "^7.2.
|
|
52
|
+
"vite": "^7.2.7",
|
|
68
53
|
"vite-plugin-dts": "^4.5.4"
|
|
69
54
|
},
|
|
70
55
|
"scripts": {
|
|
@@ -77,8 +62,7 @@
|
|
|
77
62
|
"release": "node -e \"import('@datapos/datapos-development').then(m => m.releaseProject())\"",
|
|
78
63
|
"sync": "node -e \"import('@datapos/datapos-development').then(m => m.syncProjectWithGitHub())\"",
|
|
79
64
|
"test": "node -e \"import('@datapos/datapos-development').then(m => m.testProject())\"",
|
|
80
|
-
"update": "node -e \"import('@datapos/datapos-development').then(m => m.updateDataPosDependencies(['development']))\""
|
|
81
|
-
"___ts-to-zod": "npx ts-to-zod src/schemaTypes.ts src/schemaZOD.ts"
|
|
65
|
+
"update": "node -e \"import('@datapos/datapos-development').then(m => m.updateDataPosDependencies(['development']))\""
|
|
82
66
|
},
|
|
83
67
|
"engines": {
|
|
84
68
|
"node": ">=22.0.0",
|
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,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
|