@datapos/datapos-development 0.3.273 → 0.3.278
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.
|
@@ -0,0 +1,46 @@
|
|
|
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>;
|
|
@@ -0,0 +1,45 @@
|
|
|
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>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-development",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.278",
|
|
4
4
|
"description": "A library of utilities for managing the Data Positioning repositories.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
".prettierrc.json"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@datapos/datapos-shared": "^0.3.
|
|
31
|
+
"@datapos/datapos-shared": "^0.3.290",
|
|
32
32
|
"acorn": "^8.15.0",
|
|
33
33
|
"acorn-typescript": "^1.4.13",
|
|
34
34
|
"acorn-walk": "^8.3.4",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"owasp-dependency-check": "^1.0.0",
|
|
56
56
|
"prettier": "^3.7.4",
|
|
57
57
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
58
|
+
"ts-to-zod": "^5.1.0",
|
|
58
59
|
"type-fest": "^5.3.1",
|
|
59
60
|
"typescript": "^5.9.3",
|
|
60
61
|
"vite": "^7.2.6",
|
|
@@ -71,7 +72,8 @@
|
|
|
71
72
|
"release": "node -e \"import('./dist/datapos-development.es.js').then(m => m.releaseProject())\"",
|
|
72
73
|
"sync": "node -e \"import('./dist/datapos-development.es.js').then(m => m.syncProjectWithGitHub())\"",
|
|
73
74
|
"test": "node -e \"import('./dist/datapos-development.es.js').then(m => m.testProject())\"",
|
|
74
|
-
"update": "node -e \"import('./dist/datapos-development.es.js').then(m => m.updateDataPosDependencies(['shared']))\""
|
|
75
|
+
"update": "node -e \"import('./dist/datapos-development.es.js').then(m => m.updateDataPosDependencies(['shared']))\"",
|
|
76
|
+
"___ts-to-zod": "npx ts-to-zod src/schemaTypes.ts src/schemaZOD.ts"
|
|
75
77
|
},
|
|
76
78
|
"engines": {
|
|
77
79
|
"node": ">=22.0.0",
|