@dpuse/dpuse-shared 0.3.618 → 0.3.621
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/dist/{componentConfig.schema-Dvc1hymu.js → componentConfig.schema-Bvr66FJf.js} +28 -29
- package/dist/dpuse-shared-component.es.js +1 -3
- package/dist/dpuse-shared-connection.es.js +0 -0
- package/dist/dpuse-shared-connector.es.js +34 -47
- package/dist/dpuse-shared-module.es.js +0 -0
- package/dist/dpuse-shared.es.js +3 -3
- package/dist/{moduleConfig.schema-B_KmEec4.js → moduleConfig.schema-Ct8Q53dE.js} +2 -2
- package/dist/types/src/component/componentConfig.schema.d.ts +19 -22
- package/dist/types/src/component/{connector/connection.d.ts → connection/index.d.ts} +1 -1
- package/dist/types/src/component/dataView/index.d.ts +1 -1
- package/dist/types/src/component/index.d.ts +2 -2
- package/dist/types/src/component/{connector → module/connector}/connectorConfig.schema.d.ts +9 -21
- package/dist/types/src/component/{connector → module/connector}/index.d.ts +7 -7
- package/dist/types/src/component/{context → module/context}/contextConfig.schema.d.ts +2 -4
- package/dist/types/src/component/{context → module/context}/index.d.ts +4 -4
- package/dist/types/src/component/{moduleConfig.schema.d.ts → module/moduleConfig.schema.d.ts} +14 -29
- package/dist/types/src/component/{presenter → module/presenter}/index.d.ts +2 -2
- package/dist/types/src/component/{presenter → module/presenter}/presentation.d.ts +1 -1
- package/dist/types/src/component/{presenter → module/presenter}/presenterConfig.schema.d.ts +1 -2
- package/dist/types/src/engine/index.d.ts +1 -1
- package/dist/types/src/index.d.ts +10 -10
- package/dist/types/vite.config.d.ts +0 -3
- package/package.json +12 -4
- /package/dist/types/src/component/{module.d.ts → module/index.d.ts} +0 -0
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import { a as e, d as t, f as n, g as r, h as i, l as a, u as o } from "./locale-CrC0-wPd.js";
|
|
2
2
|
//#region src/schema.ts
|
|
3
3
|
var s = (e) => r(e.map((e) => a(e))), c = s([
|
|
4
|
-
"amber",
|
|
5
|
-
"green",
|
|
6
|
-
"red",
|
|
7
|
-
"other"
|
|
8
|
-
]), l = s([
|
|
9
|
-
"alpha",
|
|
10
|
-
"beta",
|
|
11
|
-
"generalAvailability",
|
|
12
|
-
"notApplicable",
|
|
13
|
-
"preAlpha",
|
|
14
|
-
"proposed",
|
|
15
|
-
"releaseCandidate",
|
|
16
|
-
"unavailable",
|
|
17
|
-
"underReview"
|
|
18
|
-
]), u = s([
|
|
19
4
|
"app",
|
|
20
5
|
"connector",
|
|
21
6
|
"connectorConnection",
|
|
@@ -39,31 +24,45 @@ var s = (e) => r(e.map((e) => a(e))), c = s([
|
|
|
39
24
|
"presenter",
|
|
40
25
|
"presenterPresentation",
|
|
41
26
|
"tool"
|
|
27
|
+
]), l = s([
|
|
28
|
+
"amber",
|
|
29
|
+
"green",
|
|
30
|
+
"red",
|
|
31
|
+
"other"
|
|
32
|
+
]), u = s([
|
|
33
|
+
"alpha",
|
|
34
|
+
"beta",
|
|
35
|
+
"generalAvailability",
|
|
36
|
+
"notApplicable",
|
|
37
|
+
"preAlpha",
|
|
38
|
+
"proposed",
|
|
39
|
+
"releaseCandidate",
|
|
40
|
+
"unavailable",
|
|
41
|
+
"underReview"
|
|
42
42
|
]), d = n({
|
|
43
|
-
|
|
44
|
-
color: c,
|
|
43
|
+
color: l,
|
|
45
44
|
label: i()
|
|
46
|
-
}), f = {
|
|
45
|
+
}), f = n({
|
|
47
46
|
id: i(),
|
|
48
47
|
label: e,
|
|
49
48
|
description: e,
|
|
50
|
-
firstCreatedAt: o(t()),
|
|
51
49
|
icon: o(i()),
|
|
52
50
|
iconDark: o(i()),
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, p = n({
|
|
57
|
-
...f,
|
|
58
|
-
typeId: u
|
|
59
|
-
}), m = n({
|
|
51
|
+
order: t(),
|
|
52
|
+
path: i()
|
|
53
|
+
}), p = {
|
|
60
54
|
id: i(),
|
|
61
55
|
label: e,
|
|
62
56
|
description: e,
|
|
57
|
+
firstCreatedAt: o(t()),
|
|
63
58
|
icon: o(i()),
|
|
64
59
|
iconDark: o(i()),
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
lastUpdatedAt: o(t()),
|
|
61
|
+
status: o(d),
|
|
62
|
+
statusId: o(u)
|
|
63
|
+
}, m = n({
|
|
64
|
+
...p,
|
|
65
|
+
typeId: c
|
|
67
66
|
});
|
|
68
67
|
//#endregion
|
|
69
|
-
export { s as i,
|
|
68
|
+
export { s as i, m as n, f as r, p as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./locale-CrC0-wPd.js";
|
|
2
|
-
import { n as e } from "./componentConfig.schema-
|
|
2
|
+
import { n as e } from "./componentConfig.schema-Bvr66FJf.js";
|
|
3
3
|
//#region src/component/index.ts
|
|
4
4
|
var t = [
|
|
5
5
|
{
|
|
@@ -53,13 +53,11 @@ function n(e, n = "en") {
|
|
|
53
53
|
if (r) {
|
|
54
54
|
let e = r.labels[n] ?? r.labels.en ?? r.id;
|
|
55
55
|
return {
|
|
56
|
-
id: r.id,
|
|
57
56
|
color: r.color,
|
|
58
57
|
label: e
|
|
59
58
|
};
|
|
60
59
|
}
|
|
61
60
|
return {
|
|
62
|
-
id: e,
|
|
63
61
|
color: "other",
|
|
64
62
|
label: e
|
|
65
63
|
};
|
|
File without changes
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import { t as
|
|
4
|
-
//#region src/component/connector/connectorConfig.schema.ts
|
|
5
|
-
var
|
|
6
|
-
|
|
1
|
+
import { c as e, d as t, f as n, h as r, i, l as a, m as o, o as s, p as c, r as l, s as u, u as d } from "./locale-CrC0-wPd.js";
|
|
2
|
+
import { i as f } from "./componentConfig.schema-Bvr66FJf.js";
|
|
3
|
+
import { t as p } from "./moduleConfig.schema-Ct8Q53dE.js";
|
|
4
|
+
//#region src/component/module/connector/connectorConfig.schema.ts
|
|
5
|
+
var m = f([
|
|
6
|
+
"application",
|
|
7
|
+
"curatedDataset",
|
|
8
|
+
"database",
|
|
9
|
+
"fileStore"
|
|
10
|
+
]), h = n({ label: i }), g = n({
|
|
11
|
+
authMethodId: f([
|
|
7
12
|
"apiKey",
|
|
8
13
|
"disabled",
|
|
9
14
|
"oAuth2",
|
|
10
15
|
"none"
|
|
11
16
|
]),
|
|
12
|
-
activeConnectionCount:
|
|
13
|
-
canDescribe:
|
|
14
|
-
id:
|
|
15
|
-
label:
|
|
16
|
-
maxConnectionCount:
|
|
17
|
-
params:
|
|
18
|
-
}),
|
|
19
|
-
"application",
|
|
20
|
-
"curatedDataset",
|
|
21
|
-
"database",
|
|
22
|
-
"fileStore"
|
|
23
|
-
]), _ = p([
|
|
17
|
+
activeConnectionCount: c(t()),
|
|
18
|
+
canDescribe: c(e()),
|
|
19
|
+
id: c(r()),
|
|
20
|
+
label: c(i),
|
|
21
|
+
maxConnectionCount: d(t()),
|
|
22
|
+
params: c(u(o(r(), r())))
|
|
23
|
+
}), _ = f([
|
|
24
24
|
"abortOperation",
|
|
25
25
|
"auditObjectContent",
|
|
26
26
|
"createObject",
|
|
@@ -35,26 +35,23 @@ var h = r({
|
|
|
35
35
|
"retrieveChunks",
|
|
36
36
|
"retrieveRecords",
|
|
37
37
|
"upsertRecords"
|
|
38
|
-
]), v =
|
|
38
|
+
]), v = f([
|
|
39
39
|
"bidirectional",
|
|
40
40
|
"destination",
|
|
41
41
|
"source",
|
|
42
42
|
"unknown"
|
|
43
|
-
]), y =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
categoryId: g,
|
|
51
|
-
implementations: s(i(), h),
|
|
52
|
-
operations: d(_),
|
|
43
|
+
]), y = n({
|
|
44
|
+
...p,
|
|
45
|
+
typeId: a("connector"),
|
|
46
|
+
category: d(h),
|
|
47
|
+
categoryId: m,
|
|
48
|
+
implementations: o(r(), g),
|
|
49
|
+
operations: u(_),
|
|
53
50
|
usageId: v,
|
|
54
|
-
vendorAccountURL:
|
|
55
|
-
vendorDocumentationURL:
|
|
56
|
-
vendorHomeURL:
|
|
57
|
-
}),
|
|
51
|
+
vendorAccountURL: d(r()),
|
|
52
|
+
vendorDocumentationURL: d(r()),
|
|
53
|
+
vendorHomeURL: d(r())
|
|
54
|
+
}), b = [
|
|
58
55
|
{
|
|
59
56
|
id: "application",
|
|
60
57
|
label: { en: "Application" }
|
|
@@ -71,19 +68,9 @@ var h = r({
|
|
|
71
68
|
id: "fileStore",
|
|
72
69
|
label: { en: "File Store" }
|
|
73
70
|
}
|
|
74
|
-
],
|
|
75
|
-
let n =
|
|
76
|
-
|
|
77
|
-
let e = c(u(n.label), t);
|
|
78
|
-
return {
|
|
79
|
-
id: n.id,
|
|
80
|
-
label: e ?? n.id
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
id: e,
|
|
85
|
-
label: e
|
|
86
|
-
};
|
|
71
|
+
], x = (e, t = "en") => {
|
|
72
|
+
let n = b.find((t) => t.id === e);
|
|
73
|
+
return n ? { label: s(l(n.label), t) ?? n.id } : { label: e };
|
|
87
74
|
};
|
|
88
75
|
//#endregion
|
|
89
|
-
export {
|
|
76
|
+
export { y as connectorConfigSchema, x as constructConnectorCategoryConfig };
|
|
File without changes
|
package/dist/dpuse-shared.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as e, f as t, l as n, s as r } from "./locale-CrC0-wPd.js";
|
|
2
|
-
import { i, r as a, t as o } from "./componentConfig.schema-
|
|
3
|
-
import { t as s } from "./moduleConfig.schema-
|
|
4
|
-
//#region src/component/context/contextConfig.schema.ts
|
|
2
|
+
import { i, r as a, t as o } from "./componentConfig.schema-Bvr66FJf.js";
|
|
3
|
+
import { t as s } from "./moduleConfig.schema-Ct8Q53dE.js";
|
|
4
|
+
//#region src/component/module/context/contextConfig.schema.ts
|
|
5
5
|
var c = i(["list"]), l = t({
|
|
6
6
|
...o,
|
|
7
7
|
typeId: n("contextModelGroup"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as e, h as t } from "./locale-CrC0-wPd.js";
|
|
2
|
-
import { i as n, t as r } from "./componentConfig.schema-
|
|
3
|
-
//#region src/component/moduleConfig.schema.ts
|
|
2
|
+
import { i as n, t as r } from "./componentConfig.schema-Bvr66FJf.js";
|
|
3
|
+
//#region src/component/module/moduleConfig.schema.ts
|
|
4
4
|
var i = n([
|
|
5
5
|
"app",
|
|
6
6
|
"engine",
|
|
@@ -1,11 +1,25 @@
|
|
|
1
|
+
export declare const componentTypeIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextModelGroup", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimensionGroup", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntityGroup", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasureGroup", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", 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>;
|
|
1
2
|
export declare const componentStatusColorIdSchema: 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>;
|
|
2
3
|
export declare const componentStatusIdSchema: 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>;
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const componentStatusSchema: import('valibot').ObjectSchema<{
|
|
5
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
4
|
+
export declare const componentStatusConfigSchema: import('valibot').ObjectSchema<{
|
|
6
5
|
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>;
|
|
7
6
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
8
7
|
}, undefined>;
|
|
8
|
+
export declare const componentReferenceSchema: import('valibot').ObjectSchema<{
|
|
9
|
+
readonly id: import('valibot').StringSchema<undefined>;
|
|
10
|
+
readonly label: import('valibot').ObjectSchema<{
|
|
11
|
+
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
13
|
+
}, undefined>;
|
|
14
|
+
readonly description: import('valibot').ObjectSchema<{
|
|
15
|
+
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
16
|
+
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly order: import('valibot').NumberSchema<undefined>;
|
|
21
|
+
readonly path: import('valibot').StringSchema<undefined>;
|
|
22
|
+
}, undefined>;
|
|
9
23
|
export declare const componentConfigCoreFields: {
|
|
10
24
|
id: import('valibot').StringSchema<undefined>;
|
|
11
25
|
label: import('valibot').ObjectSchema<{
|
|
@@ -21,11 +35,10 @@ export declare const componentConfigCoreFields: {
|
|
|
21
35
|
iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
22
36
|
lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
23
37
|
status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
24
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
25
38
|
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>;
|
|
26
39
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
27
40
|
}, undefined>, undefined>;
|
|
28
|
-
statusId: 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>;
|
|
41
|
+
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>;
|
|
29
42
|
};
|
|
30
43
|
export declare const componentConfigSchema: import('valibot').ObjectSchema<{
|
|
31
44
|
readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"connectorConnection", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"contextModelGroup", undefined>, import('valibot').LiteralSchema<"contextModel", undefined>, import('valibot').LiteralSchema<"contextModelDimensionGroup", undefined>, import('valibot').LiteralSchema<"contextModelDimension", undefined>, import('valibot').LiteralSchema<"contextModelDimensionHierarchy", undefined>, import('valibot').LiteralSchema<"contextModelEntityGroup", undefined>, import('valibot').LiteralSchema<"contextModelEntity", undefined>, import('valibot').LiteralSchema<"contextModelEntityDataItem", undefined>, import('valibot').LiteralSchema<"contextModelEntityEvent", undefined>, import('valibot').LiteralSchema<"contextModelEntityPrimaryMeasure", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasureGroup", undefined>, import('valibot').LiteralSchema<"contextModelSecondaryMeasure", 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>;
|
|
@@ -43,24 +56,8 @@ export declare const componentConfigSchema: import('valibot').ObjectSchema<{
|
|
|
43
56
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
44
57
|
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
45
58
|
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
46
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
47
59
|
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>;
|
|
48
60
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
49
61
|
}, undefined>, undefined>;
|
|
50
|
-
readonly statusId: 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>;
|
|
51
|
-
}, undefined>;
|
|
52
|
-
export declare const componentReferenceSchema: import('valibot').ObjectSchema<{
|
|
53
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
54
|
-
readonly label: import('valibot').ObjectSchema<{
|
|
55
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
56
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
57
|
-
}, undefined>;
|
|
58
|
-
readonly description: import('valibot').ObjectSchema<{
|
|
59
|
-
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
60
|
-
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
61
|
-
}, undefined>;
|
|
62
|
-
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
63
|
-
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
64
|
-
readonly order: import('valibot').NumberSchema<undefined>;
|
|
65
|
-
readonly path: import('valibot').StringSchema<undefined>;
|
|
62
|
+
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>;
|
|
66
63
|
}, undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FileTypeResult } from 'file-type';
|
|
2
2
|
import { Component, ComponentConfig } from '..';
|
|
3
|
-
import { ConnectionNodeConfig, ObjectColumnConfig } from '../
|
|
3
|
+
import { ConnectionNodeConfig, ObjectColumnConfig } from '../connection';
|
|
4
4
|
/**
|
|
5
5
|
* Data view interface.
|
|
6
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
|
-
import { componentConfigSchema, componentReferenceSchema,
|
|
2
|
+
import { componentConfigSchema, componentReferenceSchema, componentStatusConfigSchema } from './componentConfig.schema';
|
|
3
3
|
import { LocaleId } from '../locale';
|
|
4
4
|
export { componentConfigSchema } from './componentConfig.schema';
|
|
5
5
|
export type { ModuleConfig, ModuleTypeId } from './module';
|
|
@@ -12,5 +12,5 @@ export type ComponentLocalisedConfig = Omit<ComponentConfig, 'label' | 'descript
|
|
|
12
12
|
description: string;
|
|
13
13
|
};
|
|
14
14
|
export type ComponentReference = InferOutput<typeof componentReferenceSchema>;
|
|
15
|
-
export type ComponentStatus = InferOutput<typeof
|
|
15
|
+
export type ComponentStatus = InferOutput<typeof componentStatusConfigSchema>;
|
|
16
16
|
export declare function getComponentStatus(id: string, localeId?: LocaleId): ComponentStatus;
|
|
@@ -1,31 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Connector configuration schema.
|
|
3
|
-
*
|
|
4
2
|
* Defines the configuration metadata for a connector. Used for validation
|
|
5
3
|
* of connector manifests and capability discovery at runtime.
|
|
6
4
|
*/
|
|
7
|
-
|
|
8
|
-
declare const connectorOperationNameSchema: 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<"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>;
|
|
9
|
-
/** Connector data pipeline usage identifiers. */
|
|
10
|
-
declare const connectorUsageIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"bidirectional", undefined>, import('valibot').LiteralSchema<"destination", undefined>, import('valibot').LiteralSchema<"source", undefined>, import('valibot').LiteralSchema<"unknown", undefined>], undefined>;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
declare const connectorCategoryConfigSchema: import('valibot').ObjectSchema<{
|
|
15
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
5
|
+
export declare const connectorCategoryConfigSchema: import('valibot').ObjectSchema<{
|
|
16
6
|
readonly label: import('valibot').ObjectSchema<{
|
|
17
|
-
readonly en: import('valibot').
|
|
18
|
-
readonly es: import('valibot').
|
|
7
|
+
readonly en: import('valibot').StringSchema<undefined>;
|
|
8
|
+
readonly es: import('valibot').StringSchema<undefined>;
|
|
19
9
|
}, undefined>;
|
|
20
10
|
}, undefined>;
|
|
21
|
-
|
|
22
|
-
declare const
|
|
11
|
+
export declare const connectorOperationNameSchema: 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<"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>;
|
|
12
|
+
export declare const connectorUsageIdSchema: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"bidirectional", undefined>, import('valibot').LiteralSchema<"destination", undefined>, import('valibot').LiteralSchema<"source", undefined>, import('valibot').LiteralSchema<"unknown", undefined>], undefined>;
|
|
13
|
+
export declare const connectorConfigSchema: import('valibot').ObjectSchema<{
|
|
23
14
|
readonly typeId: import('valibot').LiteralSchema<"connector", undefined>;
|
|
24
15
|
readonly category: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
25
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
26
16
|
readonly label: import('valibot').ObjectSchema<{
|
|
27
|
-
readonly en: import('valibot').
|
|
28
|
-
readonly es: import('valibot').
|
|
17
|
+
readonly en: import('valibot').StringSchema<undefined>;
|
|
18
|
+
readonly es: import('valibot').StringSchema<undefined>;
|
|
29
19
|
}, undefined>;
|
|
30
20
|
}, undefined>, undefined>;
|
|
31
21
|
readonly categoryId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"application", undefined>, import('valibot').LiteralSchema<"curatedDataset", undefined>, import('valibot').LiteralSchema<"database", undefined>, import('valibot').LiteralSchema<"fileStore", undefined>], undefined>;
|
|
@@ -61,10 +51,8 @@ declare const connectorConfigSchema: import('valibot').ObjectSchema<{
|
|
|
61
51
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
62
52
|
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
63
53
|
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
64
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
65
54
|
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>;
|
|
66
55
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
67
56
|
}, undefined>, undefined>;
|
|
68
|
-
readonly statusId: 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>;
|
|
57
|
+
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>;
|
|
69
58
|
}, undefined>;
|
|
70
|
-
export { connectorCategoryConfigSchema, connectorConfigSchema, connectorOperationNameSchema, connectorUsageIdSchema };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
|
-
import { Component } from '
|
|
3
|
-
import { ToolConfig } from '
|
|
4
|
-
import { ConnectionDescriptionConfig, ConnectionNodeConfig } from '
|
|
2
|
+
import { Component } from '../..';
|
|
3
|
+
import { ToolConfig } from '../../tool';
|
|
4
|
+
import { ConnectionDescriptionConfig, ConnectionNodeConfig } from '../../connection';
|
|
5
5
|
import { connectorCategoryConfigSchema, connectorConfigSchema, connectorOperationNameSchema, connectorUsageIdSchema } from './connectorConfig.schema';
|
|
6
|
-
import { ContentAuditConfig, ParsingRecord, PreviewConfig, ValueDelimiterId } from '
|
|
7
|
-
import { EngineConnectorActionOptions, EngineUtilities } from '
|
|
6
|
+
import { ContentAuditConfig, ParsingRecord, PreviewConfig, ValueDelimiterId } from '../../dataView';
|
|
7
|
+
import { EngineConnectorActionOptions, EngineUtilities } from '../../../engine';
|
|
8
8
|
export interface ConnectorInterface extends Component {
|
|
9
9
|
abortController: AbortController | undefined;
|
|
10
10
|
readonly config: ConnectorConfig;
|
|
@@ -211,8 +211,8 @@ type ConnectorCategoryLocalisedConfig = Omit<ConnectorCategoryConfig, 'label'> &
|
|
|
211
211
|
/**
|
|
212
212
|
* Construct connector category configuration.
|
|
213
213
|
*/
|
|
214
|
-
declare const constructConnectorCategoryConfig: (id: string, localeId?: import('
|
|
214
|
+
declare const constructConnectorCategoryConfig: (id: string, localeId?: import('../../../locale').LocaleId) => ConnectorCategoryLocalisedConfig;
|
|
215
215
|
export { connectorConfigSchema } from './connectorConfig.schema';
|
|
216
216
|
export { constructConnectorCategoryConfig };
|
|
217
|
-
export type { ConnectionConfig, ConnectionLocalisedConfig, ConnectionNodeConfig, ObjectColumnConfig } from '
|
|
217
|
+
export type { ConnectionConfig, ConnectionLocalisedConfig, ConnectionNodeConfig, ObjectColumnConfig } from '../../connection';
|
|
218
218
|
export type { AuditObjectContentOptions1, AuditObjectContentResult1, AuditObjectContentOptions, AuditObjectContentResult, ConnectorConfig, ConnectorLocalisedConfig, ConnectorUsageId, CreateObjectOptions, DropObjectOptions, FindObjectOptions, FindObjectResult, GetReadableStreamOptions, GetRecordOptions, GetRecordResult, ListNodesOptions, ListNodesResult, PreviewObjectOptions, RemoveRecordsOptions, RetrieveChunksOptions, RetrieveRecordsOptions, RetrieveRecordsSummary, UpsertRecordsOptions };
|
|
@@ -35,11 +35,10 @@ export declare const contextConfigSchema: import('valibot').ObjectSchema<{
|
|
|
35
35
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
36
36
|
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
37
37
|
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
38
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
39
38
|
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>;
|
|
40
39
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
41
40
|
}, undefined>, undefined>;
|
|
42
|
-
readonly statusId: 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>;
|
|
41
|
+
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>;
|
|
43
42
|
}, undefined>, undefined>;
|
|
44
43
|
readonly operations: import('valibot').ArraySchema<import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"list", undefined>], undefined>, undefined>;
|
|
45
44
|
readonly version: import('valibot').StringSchema<undefined>;
|
|
@@ -57,9 +56,8 @@ export declare const contextConfigSchema: import('valibot').ObjectSchema<{
|
|
|
57
56
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
58
57
|
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
59
58
|
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
60
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
61
59
|
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>;
|
|
62
60
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
63
61
|
}, undefined>, undefined>;
|
|
64
|
-
readonly statusId: 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>;
|
|
62
|
+
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>;
|
|
65
63
|
}, undefined>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
2
|
import { contextConfigSchema } from './contextConfig.schema';
|
|
3
|
-
import { EngineContextActionOptions } from '
|
|
4
|
-
import { LocaleLabel } from '
|
|
5
|
-
import { ModuleConfig } from '
|
|
6
|
-
import { Component, ComponentConfig, ComponentReference } from '
|
|
3
|
+
import { EngineContextActionOptions } from '../../../engine';
|
|
4
|
+
import { LocaleLabel } from '../../../locale';
|
|
5
|
+
import { ModuleConfig } from '..';
|
|
6
|
+
import { Component, ComponentConfig, ComponentReference } from '../..';
|
|
7
7
|
export interface Context extends Component {
|
|
8
8
|
readonly config: ContextConfig;
|
|
9
9
|
listContextFocuses?(context: Context, options?: ListContextOptions): Promise<ContextListResult>;
|
package/dist/types/src/component/{moduleConfig.schema.d.ts → module/moduleConfig.schema.d.ts}
RENAMED
|
@@ -1,39 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*/
|
|
7
|
-
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<"context", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
declare const moduleConfigCoreFields: {
|
|
12
|
-
readonly version: import('valibot').StringSchema<undefined>;
|
|
13
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
14
|
-
readonly label: import('valibot').ObjectSchema<{
|
|
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<"context", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
|
|
2
|
+
export declare const moduleConfigCoreFields: {
|
|
3
|
+
version: import('valibot').StringSchema<undefined>;
|
|
4
|
+
id: import('valibot').StringSchema<undefined>;
|
|
5
|
+
label: import('valibot').ObjectSchema<{
|
|
15
6
|
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
16
7
|
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
17
8
|
}, undefined>;
|
|
18
|
-
|
|
9
|
+
description: import('valibot').ObjectSchema<{
|
|
19
10
|
readonly en: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
20
11
|
readonly es: import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
21
12
|
}, undefined>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
13
|
+
firstCreatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
14
|
+
icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
15
|
+
iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
16
|
+
lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
17
|
+
status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
28
18
|
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>;
|
|
29
19
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
30
20
|
}, undefined>, undefined>;
|
|
31
|
-
|
|
21
|
+
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>;
|
|
32
22
|
};
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
declare const moduleConfigSchema: import('valibot').ObjectSchema<{
|
|
23
|
+
export declare const moduleConfigSchema: import('valibot').ObjectSchema<{
|
|
37
24
|
readonly typeId: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"app", undefined>, import('valibot').LiteralSchema<"engine", undefined>, import('valibot').LiteralSchema<"connector", undefined>, import('valibot').LiteralSchema<"context", undefined>, import('valibot').LiteralSchema<"presenter", undefined>, import('valibot').LiteralSchema<"tool", undefined>], undefined>;
|
|
38
25
|
readonly version: import('valibot').StringSchema<undefined>;
|
|
39
26
|
readonly id: import('valibot').StringSchema<undefined>;
|
|
@@ -50,10 +37,8 @@ declare const moduleConfigSchema: import('valibot').ObjectSchema<{
|
|
|
50
37
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
51
38
|
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
52
39
|
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
53
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
54
40
|
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>;
|
|
55
41
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
56
42
|
}, undefined>, undefined>;
|
|
57
|
-
readonly statusId: 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>;
|
|
43
|
+
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>;
|
|
58
44
|
}, undefined>;
|
|
59
|
-
export { moduleConfigCoreFields, moduleConfigSchema, moduleTypeIdSchema };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModuleConfig } from '
|
|
2
|
-
import { Component, ComponentReference } from '
|
|
1
|
+
import { ModuleConfig } from '..';
|
|
2
|
+
import { Component, ComponentReference } from '../..';
|
|
3
3
|
/**
|
|
4
4
|
* Presenter composables, constants, errors, types/interfaces and utilities.
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
|
-
import { ComponentConfig } from '
|
|
2
|
+
import { ComponentConfig } from '../..';
|
|
3
3
|
import { presenterConfigSchema } from './presenterConfig.schema';
|
|
4
4
|
export type PresentationConfig = InferOutput<typeof presenterConfigSchema>;
|
|
5
5
|
export interface PresentationConfig1 extends ComponentConfig {
|
|
@@ -34,9 +34,8 @@ export declare const presenterConfigSchema: import('valibot').ObjectSchema<{
|
|
|
34
34
|
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
35
35
|
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
36
36
|
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
37
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
38
37
|
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>;
|
|
39
38
|
readonly label: import('valibot').StringSchema<undefined>;
|
|
40
39
|
}, undefined>, undefined>;
|
|
41
|
-
readonly statusId: 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>;
|
|
40
|
+
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>;
|
|
42
41
|
}, undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EncodingTypeConfig } from '../encoding';
|
|
2
2
|
import { ModuleConfig } from '../component/module';
|
|
3
|
-
import { ObjectColumnConfig } from '../component/connector';
|
|
3
|
+
import { ObjectColumnConfig } from '../component/module/connector';
|
|
4
4
|
import { ToolConfig } from '../component/tool';
|
|
5
5
|
import { ComponentConfig, ComponentLocalisedConfig } from '../component';
|
|
6
6
|
import { InferenceRecord, InferenceSummary, ParsingRecord } from '../component/dataView';
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
* Shared composables, constants, errors, interfaces, schemas, types and utilities.
|
|
3
3
|
*/
|
|
4
4
|
/** Interfaces/Types - Context. */
|
|
5
|
-
export { contextConfigSchema } from './component/context';
|
|
6
|
-
export type { Context, ContextConfig, ContextLocalisedConfig, ListContextOptions, ContextListResult, ContextOperation } from './component/context';
|
|
5
|
+
export { contextConfigSchema } from './component/module/context';
|
|
6
|
+
export type { Context, ContextConfig, ContextLocalisedConfig, ListContextOptions, ContextListResult, ContextOperation } from './component/module/context';
|
|
7
7
|
/** Interfaces/Types - Context model. */
|
|
8
|
-
export type { ContextModelGroupConfig, ContextModelGroupLocalisedConfig, ContextModelConfig, ContextModelLocalisedConfig } from './component/context';
|
|
8
|
+
export type { ContextModelGroupConfig, ContextModelGroupLocalisedConfig, ContextModelConfig, ContextModelLocalisedConfig } from './component/module/context';
|
|
9
9
|
/** Interfaces/Types - Context model dimension. */
|
|
10
|
-
export type { ContextModelDimensionGroupConfig, ContextModelDimensionGroupLocalisedConfig, ContextModelDimensionConfig, ContextModelDimensionLocalisedConfig, ContextModelDimensionHierarchyConfig, ContextModelDimensionHierarchyLocalisedConfig } from './component/context';
|
|
10
|
+
export type { ContextModelDimensionGroupConfig, ContextModelDimensionGroupLocalisedConfig, ContextModelDimensionConfig, ContextModelDimensionLocalisedConfig, ContextModelDimensionHierarchyConfig, ContextModelDimensionHierarchyLocalisedConfig } from './component/module/context';
|
|
11
11
|
/** Interfaces/Types - Context model entity. */
|
|
12
12
|
export type { ContextModelEntityGroupConfig, ContextModelEntityGroupLocalisedConfig, ContextModelEntityConfig, ContextModelEntityLocalisedConfig, ContextModelEntityDataItemConfig, // Data items.
|
|
13
13
|
ContextModelEntityDataItemLocalisedConfig, ContextModelEntityEventConfig, // Events.
|
|
14
14
|
ContextModelEntityEventLocalisedConfig, ContextModelEntityPrimaryMeasureConfig, // Primary measures.
|
|
15
|
-
ContextModelEntityPrimaryMeasureLocalisedConfig } from './component/context';
|
|
15
|
+
ContextModelEntityPrimaryMeasureLocalisedConfig } from './component/module/context';
|
|
16
16
|
/** Interfaces/Types - Context model secondary measure. */
|
|
17
|
-
export type { ContextModelSecondaryMeasureGroupConfig, ContextModelSecondaryMeasureGroupLocalisedConfig, ContextModelSecondaryMeasureConfig, ContextModelSecondaryMeasureLocalisedConfig } from './component/context';
|
|
17
|
+
export type { ContextModelSecondaryMeasureGroupConfig, ContextModelSecondaryMeasureGroupLocalisedConfig, ContextModelSecondaryMeasureConfig, ContextModelSecondaryMeasureLocalisedConfig } from './component/module/context';
|
|
18
18
|
/** Interfaces/Types - Dimension. */
|
|
19
19
|
export type { DimensionConfig, DimensionLocalisedConfig } from './component/dimension';
|
|
20
20
|
/** Interfaces/Types - Event query. */
|
|
21
21
|
export type { EventQueryConfig, EventQueryLocalisedConfig } from './component/eventQuery';
|
|
22
22
|
/** Interfaces/Types */
|
|
23
|
-
export { presenterConfigSchema } from './component/presenter';
|
|
24
|
-
export type { Presenter, PresenterConfig, PresenterLocalisedConfig, PresenterOperation } from './component/presenter';
|
|
23
|
+
export { presenterConfigSchema } from './component/module/presenter';
|
|
24
|
+
export type { Presenter, PresenterConfig, PresenterLocalisedConfig, PresenterOperation } from './component/module/presenter';
|
|
25
25
|
/** Interfaces/Types - Presenter presentation. */
|
|
26
|
-
export type { PresentationConfig, PresentationView } from './component/presenter/presentation';
|
|
27
|
-
export type { PresentationCategoryId, PresentationCartesianTypeId, PresentationPolarTypeId, PresentationRangeTypeId, PresentationVisualConfig, PresentationVisualContentConfig, PresentationVisualViewConfig, PresentationVisualCartesianChartViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPeriodFlowBoundariesChartViewConfig, PresentationVisualPolarChartViewConfig, PresentationVisualRangeChartViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamGraphViewConfig, PresentationVisualValueTableViewConfig } from './component/presenter/presentation';
|
|
26
|
+
export type { PresentationConfig, PresentationView } from './component/module/presenter/presentation';
|
|
27
|
+
export type { PresentationCategoryId, PresentationCartesianTypeId, PresentationPolarTypeId, PresentationRangeTypeId, PresentationVisualConfig, PresentationVisualContentConfig, PresentationVisualViewConfig, PresentationVisualCartesianChartViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPeriodFlowBoundariesChartViewConfig, PresentationVisualPolarChartViewConfig, PresentationVisualRangeChartViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamGraphViewConfig, PresentationVisualValueTableViewConfig } from './component/module/presenter/presentation';
|
|
28
28
|
/** Utilities */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dpuse/dpuse-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.621",
|
|
4
4
|
"description": "Common constants, types and utilities used across all DPUse projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|
|
@@ -25,14 +25,22 @@
|
|
|
25
25
|
"import": "./dist/dpuse-shared-component.es.js",
|
|
26
26
|
"types": "./dist/types/src/component/index.d.ts"
|
|
27
27
|
},
|
|
28
|
-
"./component/
|
|
29
|
-
"import": "./dist/dpuse-shared-
|
|
30
|
-
"types": "./dist/types/src/component/
|
|
28
|
+
"./component/connection": {
|
|
29
|
+
"import": "./dist/dpuse-shared-connection.es.js",
|
|
30
|
+
"types": "./dist/types/src/component/connection/index.d.ts"
|
|
31
31
|
},
|
|
32
32
|
"./component/dataView": {
|
|
33
33
|
"import": "./dist/dpuse-shared-dataview.es.js",
|
|
34
34
|
"types": "./dist/types/src/component/dataView/index.d.ts"
|
|
35
35
|
},
|
|
36
|
+
"./component/module": {
|
|
37
|
+
"import": "./dist/dpuse-shared-module.es.js",
|
|
38
|
+
"types": "./dist/types/src/component/module/index.d.ts"
|
|
39
|
+
},
|
|
40
|
+
"./component/module/connector": {
|
|
41
|
+
"import": "./dist/dpuse-shared-connector.es.js",
|
|
42
|
+
"types": "./dist/types/src/component/module/connector/index.d.ts"
|
|
43
|
+
},
|
|
36
44
|
"./component/tool": {
|
|
37
45
|
"import": "./dist/dpuse-shared-tools.es.js",
|
|
38
46
|
"types": "./dist/types/src/component/tool/index.d.ts"
|
|
File without changes
|