@datapos/datapos-shared 0.3.389 → 0.3.391
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/datapos-shared-component.es.js +4 -0
- package/dist/datapos-shared-tools.es.js +4 -5
- package/dist/datapos-shared.es.js +91 -113
- package/dist/types/src/component/componentConfig.schema.d.ts +0 -54
- package/dist/types/src/component/connector/index.d.ts +2 -11
- package/dist/types/src/component/context/index.d.ts +2 -1
- package/dist/types/src/component/index.d.ts +12 -15
- package/dist/types/src/component/module.d.ts +8 -0
- package/dist/types/src/component/moduleConfig.schema.d.ts +62 -0
- package/dist/types/src/component/presenter/index.d.ts +2 -1
- package/dist/types/src/component/tool/index.d.ts +4 -2
- package/dist/types/src/engine/index.d.ts +13 -5
- package/dist/types/src/index.d.ts +0 -2
- package/package.json +5 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
async function c(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const l = await import(`https://engine-eu.datapos.app/tools/${o}_v${e.version}/${t}.es.js`);
|
|
1
|
+
async function c(e, o) {
|
|
2
|
+
const n = `datapos-tool-${o}`, t = e.find((s) => s.id === n);
|
|
3
|
+
if (!t) throw new Error(`Connector could not load unknown tool '${o}'.`);
|
|
4
|
+
const l = await import(`https://engine-eu.datapos.app/tools/${o}_v${t.version}/${n}.es.js`);
|
|
6
5
|
return new l.Tool();
|
|
7
6
|
}
|
|
8
7
|
export {
|
|
@@ -15,13 +15,13 @@ function N(n) {
|
|
|
15
15
|
}
|
|
16
16
|
let T;
|
|
17
17
|
// @__NO_SIDE_EFFECTS__
|
|
18
|
-
function
|
|
18
|
+
function V(n) {
|
|
19
19
|
return T?.get(n);
|
|
20
20
|
}
|
|
21
|
-
let
|
|
21
|
+
let z;
|
|
22
22
|
// @__NO_SIDE_EFFECTS__
|
|
23
23
|
function X(n, t) {
|
|
24
|
-
return
|
|
24
|
+
return z?.get(n)?.get(t);
|
|
25
25
|
}
|
|
26
26
|
// @__NO_SIDE_EFFECTS__
|
|
27
27
|
function _(n) {
|
|
@@ -42,7 +42,7 @@ function g(n, t, e, r, o) {
|
|
|
42
42
|
lang: r.lang,
|
|
43
43
|
abortEarly: r.abortEarly,
|
|
44
44
|
abortPipeEarly: r.abortPipeEarly
|
|
45
|
-
}, p = n.kind === "schema", d = o?.message ?? n.message ?? /* @__PURE__ */ X(n.reference, l.lang) ?? (p ? /* @__PURE__ */
|
|
45
|
+
}, p = n.kind === "schema", d = o?.message ?? n.message ?? /* @__PURE__ */ X(n.reference, l.lang) ?? (p ? /* @__PURE__ */ V(l.lang) : null) ?? r.message ?? /* @__PURE__ */ N(l.lang);
|
|
46
46
|
d !== void 0 && (l.message = typeof d == "function" ? d(l) : d), p && (e.typed = !1), e.issues ? e.issues.push(l) : e.issues = [l];
|
|
47
47
|
}
|
|
48
48
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -73,11 +73,11 @@ function j(n, t, e) {
|
|
|
73
73
|
return typeof n.default == "function" ? n.default(t, e) : n.default;
|
|
74
74
|
}
|
|
75
75
|
// @__NO_SIDE_EFFECTS__
|
|
76
|
-
function
|
|
76
|
+
function x(n, t) {
|
|
77
77
|
return {
|
|
78
78
|
kind: "schema",
|
|
79
79
|
type: "array",
|
|
80
|
-
reference:
|
|
80
|
+
reference: x,
|
|
81
81
|
expects: "Array",
|
|
82
82
|
async: !1,
|
|
83
83
|
item: n,
|
|
@@ -131,11 +131,11 @@ function w(n) {
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
// @__NO_SIDE_EFFECTS__
|
|
134
|
-
function
|
|
134
|
+
function C(n, t) {
|
|
135
135
|
return {
|
|
136
136
|
kind: "schema",
|
|
137
137
|
type: "literal",
|
|
138
|
-
reference:
|
|
138
|
+
reference: C,
|
|
139
139
|
expects: /* @__PURE__ */ _(n),
|
|
140
140
|
async: !1,
|
|
141
141
|
literal: n,
|
|
@@ -167,11 +167,11 @@ function y(n, t) {
|
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
// @__NO_SIDE_EFFECTS__
|
|
170
|
-
function
|
|
170
|
+
function k(n) {
|
|
171
171
|
return {
|
|
172
172
|
kind: "schema",
|
|
173
173
|
type: "number",
|
|
174
|
-
reference:
|
|
174
|
+
reference: k,
|
|
175
175
|
expects: "number",
|
|
176
176
|
async: !1,
|
|
177
177
|
message: n,
|
|
@@ -285,8 +285,8 @@ function I(n, t, e) {
|
|
|
285
285
|
key: i,
|
|
286
286
|
value: c
|
|
287
287
|
};
|
|
288
|
-
for (const
|
|
289
|
-
|
|
288
|
+
for (const S of l.issues)
|
|
289
|
+
S.path = [d], r.issues?.push(S);
|
|
290
290
|
if (r.issues || (r.issues = l.issues), o.abortEarly) {
|
|
291
291
|
r.typed = !1;
|
|
292
292
|
break;
|
|
@@ -301,8 +301,8 @@ function I(n, t, e) {
|
|
|
301
301
|
key: i,
|
|
302
302
|
value: c
|
|
303
303
|
};
|
|
304
|
-
for (const
|
|
305
|
-
|
|
304
|
+
for (const S of p.issues)
|
|
305
|
+
S.path ? S.path.unshift(d) : S.path = [d], r.issues?.push(S);
|
|
306
306
|
if (r.issues || (r.issues = p.issues), o.abortEarly) {
|
|
307
307
|
r.typed = !1;
|
|
308
308
|
break;
|
|
@@ -374,12 +374,12 @@ function P(n, t) {
|
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
|
-
const m = (n) => /* @__PURE__ */ P(n.map((t) => /* @__PURE__ */
|
|
377
|
+
const m = (n) => /* @__PURE__ */ P(n.map((t) => /* @__PURE__ */ C(t))), J = /* @__PURE__ */ f({
|
|
378
378
|
"en-au": /* @__PURE__ */ a(),
|
|
379
379
|
"en-gb": /* @__PURE__ */ a(),
|
|
380
380
|
"en-us": /* @__PURE__ */ a(),
|
|
381
381
|
"es-es": /* @__PURE__ */ a()
|
|
382
|
-
}),
|
|
382
|
+
}), E = /* @__PURE__ */ f({
|
|
383
383
|
"en-au": /* @__PURE__ */ b(/* @__PURE__ */ a()),
|
|
384
384
|
"en-gb": /* @__PURE__ */ b(/* @__PURE__ */ a()),
|
|
385
385
|
"en-us": /* @__PURE__ */ b(/* @__PURE__ */ a()),
|
|
@@ -418,70 +418,49 @@ const m = (n) => /* @__PURE__ */ P(n.map((t) => /* @__PURE__ */ k(t))), J = /* @
|
|
|
418
418
|
"presenter",
|
|
419
419
|
"presenterPresentation",
|
|
420
420
|
"tool"
|
|
421
|
-
])
|
|
422
|
-
m(["app", "engine", "connector", "context", "presenter", "tool"]);
|
|
423
|
-
const Y = /* @__PURE__ */ f({
|
|
421
|
+
]), Y = /* @__PURE__ */ f({
|
|
424
422
|
id: /* @__PURE__ */ a(),
|
|
425
423
|
color: B,
|
|
426
424
|
label: /* @__PURE__ */ a()
|
|
427
|
-
}),
|
|
425
|
+
}), O = {
|
|
428
426
|
id: /* @__PURE__ */ a(),
|
|
429
|
-
label:
|
|
430
|
-
description:
|
|
431
|
-
firstCreatedAt: /* @__PURE__ */ b(/* @__PURE__ */
|
|
427
|
+
label: E,
|
|
428
|
+
description: E,
|
|
429
|
+
firstCreatedAt: /* @__PURE__ */ b(/* @__PURE__ */ k()),
|
|
432
430
|
icon: /* @__PURE__ */ y(/* @__PURE__ */ a()),
|
|
433
431
|
iconDark: /* @__PURE__ */ y(/* @__PURE__ */ a()),
|
|
434
|
-
lastUpdatedAt: /* @__PURE__ */ y(/* @__PURE__ */
|
|
432
|
+
lastUpdatedAt: /* @__PURE__ */ y(/* @__PURE__ */ k()),
|
|
435
433
|
status: /* @__PURE__ */ y(Y),
|
|
436
434
|
statusId: Q
|
|
437
|
-
},
|
|
438
|
-
...
|
|
435
|
+
}, pe = /* @__PURE__ */ f({
|
|
436
|
+
...O,
|
|
439
437
|
typeId: W
|
|
440
|
-
}),
|
|
441
|
-
...L,
|
|
442
|
-
version: /* @__PURE__ */ a()
|
|
443
|
-
}, U = /* @__PURE__ */ f({
|
|
438
|
+
}), U = /* @__PURE__ */ f({
|
|
444
439
|
id: /* @__PURE__ */ a(),
|
|
445
|
-
label:
|
|
446
|
-
description:
|
|
440
|
+
label: E,
|
|
441
|
+
description: E,
|
|
447
442
|
icon: /* @__PURE__ */ y(/* @__PURE__ */ a()),
|
|
448
443
|
iconDark: /* @__PURE__ */ y(/* @__PURE__ */ a()),
|
|
449
|
-
order: /* @__PURE__ */
|
|
444
|
+
order: /* @__PURE__ */ k(),
|
|
450
445
|
path: /* @__PURE__ */ a()
|
|
451
446
|
}), v = (n) => {
|
|
452
447
|
const t = Object.entries(n).filter((e) => typeof e[1] == "string");
|
|
453
448
|
return new Map(t);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
{ id: "notApplicable", color: "green", labels: v({ "en-gb": "not-applicable" }) },
|
|
464
|
-
{ id: "preAlpha", color: "red", labels: v({ "en-gb": "pre-alpha" }) },
|
|
465
|
-
{ id: "proposed", color: "other", labels: v({ "en-gb": "proposed" }) },
|
|
466
|
-
{ id: "releaseCandidate", color: "green", labels: v({ "en-gb": "release-candidate" }) },
|
|
467
|
-
{ id: "unavailable", color: "other", labels: v({ "en-gb": "unavailable" }) },
|
|
468
|
-
{ id: "underReview", color: "other", labels: v({ "en-gb": "under-review" }) }
|
|
469
|
-
], fe = (n, t = E) => {
|
|
470
|
-
const e = $.find((r) => r.id === n);
|
|
471
|
-
if (e) {
|
|
472
|
-
const r = Z(e.labels, t);
|
|
473
|
-
return { id: e.id, color: e.color, label: r ?? e.id };
|
|
474
|
-
}
|
|
475
|
-
return { id: n, color: "other", label: n };
|
|
476
|
-
}, ee = m(["apiKey", "disabled", "oAuth2", "none"]), ne = /* @__PURE__ */ f({
|
|
477
|
-
authMethodId: ee,
|
|
478
|
-
activeConnectionCount: /* @__PURE__ */ b(/* @__PURE__ */ C()),
|
|
449
|
+
};
|
|
450
|
+
v({ "en-gb": "alpha" }), v({ "en-gb": "beta" }), v({ "en-gb": "" }), v({ "en-gb": "not-applicable" }), v({ "en-gb": "pre-alpha" }), v({ "en-gb": "proposed" }), v({ "en-gb": "release-candidate" }), v({ "en-gb": "unavailable" }), v({ "en-gb": "under-review" });
|
|
451
|
+
m(["app", "engine", "connector", "context", "presenter", "tool"]);
|
|
452
|
+
const A = {
|
|
453
|
+
...O,
|
|
454
|
+
version: /* @__PURE__ */ a()
|
|
455
|
+
}, Z = m(["apiKey", "disabled", "oAuth2", "none"]), $ = /* @__PURE__ */ f({
|
|
456
|
+
authMethodId: Z,
|
|
457
|
+
activeConnectionCount: /* @__PURE__ */ b(/* @__PURE__ */ k()),
|
|
479
458
|
canDescribe: /* @__PURE__ */ b(/* @__PURE__ */ w()),
|
|
480
459
|
id: /* @__PURE__ */ b(/* @__PURE__ */ a()),
|
|
481
460
|
label: /* @__PURE__ */ b(J),
|
|
482
|
-
maxConnectionCount: /* @__PURE__ */ b(/* @__PURE__ */
|
|
483
|
-
params: /* @__PURE__ */ b(/* @__PURE__ */
|
|
484
|
-
}),
|
|
461
|
+
maxConnectionCount: /* @__PURE__ */ b(/* @__PURE__ */ k()),
|
|
462
|
+
params: /* @__PURE__ */ b(/* @__PURE__ */ x(/* @__PURE__ */ I(/* @__PURE__ */ a(), /* @__PURE__ */ a())))
|
|
463
|
+
}), ee = m(["application", "curatedDataset", "database", "fileStore"]), ne = m([
|
|
485
464
|
"abortOperation",
|
|
486
465
|
"authenticateConnection",
|
|
487
466
|
"createObject",
|
|
@@ -496,51 +475,51 @@ const Y = /* @__PURE__ */ f({
|
|
|
496
475
|
"retrieveChunks",
|
|
497
476
|
"retrieveRecords",
|
|
498
477
|
"upsertRecords"
|
|
499
|
-
]),
|
|
500
|
-
...
|
|
501
|
-
typeId: /* @__PURE__ */
|
|
478
|
+
]), te = m(["bidirectional", "destination", "source", "unknown"]), de = /* @__PURE__ */ f({
|
|
479
|
+
...A,
|
|
480
|
+
typeId: /* @__PURE__ */ C("connector"),
|
|
502
481
|
category: /* @__PURE__ */ y(/* @__PURE__ */ f({ id: /* @__PURE__ */ a(), label: /* @__PURE__ */ a() })),
|
|
503
|
-
categoryId:
|
|
504
|
-
implementations: /* @__PURE__ */ I(/* @__PURE__ */ a(),
|
|
505
|
-
operations: /* @__PURE__ */
|
|
506
|
-
usageId:
|
|
482
|
+
categoryId: ee,
|
|
483
|
+
implementations: /* @__PURE__ */ I(/* @__PURE__ */ a(), $),
|
|
484
|
+
operations: /* @__PURE__ */ x(ne),
|
|
485
|
+
usageId: te,
|
|
507
486
|
vendorAccountURL: /* @__PURE__ */ y(/* @__PURE__ */ a()),
|
|
508
487
|
vendorDocumentationURL: /* @__PURE__ */ y(/* @__PURE__ */ a()),
|
|
509
488
|
vendorHomeURL: /* @__PURE__ */ y(/* @__PURE__ */ a())
|
|
510
|
-
}),
|
|
511
|
-
...L,
|
|
512
|
-
typeId: /* @__PURE__ */ k("contextModelGroup"),
|
|
513
|
-
modelRefs: /* @__PURE__ */ S(U),
|
|
514
|
-
order: /* @__PURE__ */ C()
|
|
515
|
-
}), ge = /* @__PURE__ */ f({
|
|
516
|
-
...O,
|
|
517
|
-
typeId: /* @__PURE__ */ k("context"),
|
|
518
|
-
models: /* @__PURE__ */ S(ie),
|
|
519
|
-
operations: /* @__PURE__ */ S(oe)
|
|
520
|
-
}), le = m(["list", "render", "setColorMode"]), he = /* @__PURE__ */ f({
|
|
489
|
+
}), re = m(["list"]), se = /* @__PURE__ */ f({
|
|
521
490
|
...O,
|
|
522
|
-
typeId: /* @__PURE__ */
|
|
523
|
-
|
|
524
|
-
|
|
491
|
+
typeId: /* @__PURE__ */ C("contextModelGroup"),
|
|
492
|
+
modelRefs: /* @__PURE__ */ x(U),
|
|
493
|
+
order: /* @__PURE__ */ k()
|
|
494
|
+
}), be = /* @__PURE__ */ f({
|
|
495
|
+
...A,
|
|
496
|
+
typeId: /* @__PURE__ */ C("context"),
|
|
497
|
+
models: /* @__PURE__ */ x(se),
|
|
498
|
+
operations: /* @__PURE__ */ x(re)
|
|
499
|
+
}), oe = m(["list", "render", "setColorMode"]), fe = /* @__PURE__ */ f({
|
|
500
|
+
...A,
|
|
501
|
+
typeId: /* @__PURE__ */ C("presenter"),
|
|
502
|
+
presentations: /* @__PURE__ */ x(U),
|
|
503
|
+
operations: /* @__PURE__ */ x(oe)
|
|
525
504
|
});
|
|
526
|
-
function
|
|
527
|
-
return { render:
|
|
505
|
+
function ye() {
|
|
506
|
+
return { render: ie };
|
|
528
507
|
}
|
|
529
|
-
function
|
|
508
|
+
function ie(n, t, e) {
|
|
530
509
|
e.textContent = "Cytoscape.js diagram goes here...";
|
|
531
510
|
}
|
|
532
|
-
function
|
|
533
|
-
return { render:
|
|
511
|
+
function ge() {
|
|
512
|
+
return { render: le };
|
|
534
513
|
}
|
|
535
|
-
function
|
|
514
|
+
function le(n, t) {
|
|
536
515
|
console.log(1111, n), console.log(2222, t), console.log(3333, t.childNodes), console.log(4444, t.children);
|
|
537
516
|
}
|
|
538
|
-
const u = (n) => new Map(Object.entries(n)),
|
|
517
|
+
const u = (n) => new Map(Object.entries(n)), L = (n, t, e = D) => {
|
|
539
518
|
const r = n.get(t);
|
|
540
519
|
if (r !== void 0) return r;
|
|
541
520
|
if (e !== t)
|
|
542
521
|
return n.get(e);
|
|
543
|
-
},
|
|
522
|
+
}, ae = [
|
|
544
523
|
{ id: "dtv", labels: u({ "en-gb": "Delimited Text" }) },
|
|
545
524
|
{ id: "e/e", labels: u({ "en-gb": "Entity/Event" }) },
|
|
546
525
|
{ id: "jsonArray", labels: u({ "en-gb": "JSON Array" }) },
|
|
@@ -548,27 +527,27 @@ const u = (n) => new Map(Object.entries(n)), A = (n, t, e = E) => {
|
|
|
548
527
|
{ id: "xls", labels: u({ "en-gb": "XLS" }) },
|
|
549
528
|
{ id: "xlsx", labels: u({ "en-gb": "XLSX" }) },
|
|
550
529
|
{ id: "xml", labels: u({ "en-gb": "XML" }) }
|
|
551
|
-
],
|
|
530
|
+
], he = (n = D) => {
|
|
552
531
|
const t = [];
|
|
553
|
-
for (const e of
|
|
554
|
-
const r =
|
|
532
|
+
for (const e of ae) {
|
|
533
|
+
const r = L(e.labels, n);
|
|
555
534
|
t.push({ id: e.id, label: r ?? e.id });
|
|
556
535
|
}
|
|
557
536
|
return t;
|
|
558
|
-
},
|
|
537
|
+
}, ue = [
|
|
559
538
|
{ id: `
|
|
560
539
|
`, labels: u({ "en-gb": "Newline" }) },
|
|
561
540
|
{ id: "\r", labels: u({ "en-gb": "Carriage Return" }) },
|
|
562
541
|
{ id: `\r
|
|
563
542
|
`, labels: u({ "en-gb": "Carriage Return/Newline" }) }
|
|
564
|
-
],
|
|
543
|
+
], me = (n = D) => {
|
|
565
544
|
const t = [];
|
|
566
|
-
for (const e of
|
|
567
|
-
const r =
|
|
545
|
+
for (const e of ue) {
|
|
546
|
+
const r = L(e.labels, n);
|
|
568
547
|
t.push({ id: e.id, label: r ?? e.id });
|
|
569
548
|
}
|
|
570
549
|
return t;
|
|
571
|
-
},
|
|
550
|
+
}, ce = [
|
|
572
551
|
{ id: ":", labels: u({ "en-gb": "Colon" }) },
|
|
573
552
|
{ id: ",", labels: u({ "en-gb": "Comma" }) },
|
|
574
553
|
{ id: "!", labels: u({ "en-gb": "Exclamation Mark" }) },
|
|
@@ -580,24 +559,23 @@ const u = (n) => new Map(Object.entries(n)), A = (n, t, e = E) => {
|
|
|
580
559
|
{ id: "_", labels: u({ "en-gb": "Underscore" }) },
|
|
581
560
|
{ id: "0x1F", labels: u({ "en-gb": "Unit Separator" }) },
|
|
582
561
|
{ id: "|", labels: u({ "en-gb": "Vertical Bar" }) }
|
|
583
|
-
],
|
|
562
|
+
], ve = (n = D) => {
|
|
584
563
|
const t = [];
|
|
585
|
-
for (const e of
|
|
586
|
-
const r =
|
|
564
|
+
for (const e of ce) {
|
|
565
|
+
const r = L(e.labels, n);
|
|
587
566
|
t.push({ id: e.id, label: r ?? e.id });
|
|
588
567
|
}
|
|
589
568
|
return t;
|
|
590
|
-
},
|
|
569
|
+
}, D = "en-gb";
|
|
591
570
|
export {
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
ve as useDataTable
|
|
571
|
+
D as DEFAULT_LOCALE_CODE,
|
|
572
|
+
pe as componentConfigSchema,
|
|
573
|
+
de as connectorConfigSchema,
|
|
574
|
+
be as contextConfigSchema,
|
|
575
|
+
he as getDataFormats,
|
|
576
|
+
me as getRecordDelimiters,
|
|
577
|
+
ve as getValueDelimiters,
|
|
578
|
+
fe as presenterConfigSchema,
|
|
579
|
+
ye as useCytoscapeJS,
|
|
580
|
+
ge as useDataTable
|
|
603
581
|
};
|
|
@@ -18,7 +18,6 @@ export declare const partialLocalisedStringSchema: import('valibot').ObjectSchem
|
|
|
18
18
|
export declare const componentStatusColorIdSchema: LiteralUnionSchema<readonly ["amber", "green", "red", "other"]>;
|
|
19
19
|
export declare const componentStatusIdSchema: LiteralUnionSchema<readonly ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"]>;
|
|
20
20
|
export declare const componentTypeIdSchema: LiteralUnionSchema<readonly ["app", "connector", "connectorConnection", "context", "contextModelGroup", "contextModel", "contextModelDimensionGroup", "contextModelDimension", "contextModelDimensionHierarchy", "contextModelEntityGroup", "contextModelEntity", "contextModelEntityDataItem", "contextModelEntityEvent", "contextModelEntityPrimaryMeasure", "contextModelSecondaryMeasureGroup", "contextModelSecondaryMeasure", "dataView", "dimension", "engine", "eventQuery", "presenter", "presenterPresentation", "tool"]>;
|
|
21
|
-
export declare const moduleTypeIdSchema: LiteralUnionSchema<readonly ["app", "engine", "connector", "context", "presenter", "tool"]>;
|
|
22
21
|
export declare const componentStatusSchema: import('valibot').ObjectSchema<{
|
|
23
22
|
readonly id: import('valibot').StringSchema<undefined>;
|
|
24
23
|
readonly color: LiteralUnionSchema<readonly ["amber", "green", "red", "other"]>;
|
|
@@ -75,59 +74,6 @@ export declare const componentConfigSchema: import('valibot').ObjectSchema<{
|
|
|
75
74
|
}, undefined>, undefined>;
|
|
76
75
|
readonly statusId: LiteralUnionSchema<readonly ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"]>;
|
|
77
76
|
}, undefined>;
|
|
78
|
-
export declare const moduleConfigCoreFields: {
|
|
79
|
-
readonly version: import('valibot').StringSchema<undefined>;
|
|
80
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
81
|
-
readonly label: import('valibot').ObjectSchema<{
|
|
82
|
-
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
83
|
-
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
84
|
-
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
85
|
-
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
86
|
-
}, undefined>;
|
|
87
|
-
readonly description: import('valibot').ObjectSchema<{
|
|
88
|
-
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
89
|
-
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
90
|
-
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
91
|
-
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
92
|
-
}, undefined>;
|
|
93
|
-
readonly firstCreatedAt: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
94
|
-
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
95
|
-
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
96
|
-
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
97
|
-
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
98
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
99
|
-
readonly color: LiteralUnionSchema<readonly ["amber", "green", "red", "other"]>;
|
|
100
|
-
readonly label: import('valibot').StringSchema<undefined>;
|
|
101
|
-
}, undefined>, undefined>;
|
|
102
|
-
readonly statusId: LiteralUnionSchema<readonly ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"]>;
|
|
103
|
-
};
|
|
104
|
-
export declare const moduleConfigSchema: import('valibot').ObjectSchema<{
|
|
105
|
-
readonly typeId: LiteralUnionSchema<readonly ["app", "engine", "connector", "context", "presenter", "tool"]>;
|
|
106
|
-
readonly version: import('valibot').StringSchema<undefined>;
|
|
107
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
108
|
-
readonly label: import('valibot').ObjectSchema<{
|
|
109
|
-
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
110
|
-
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
111
|
-
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
112
|
-
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
113
|
-
}, undefined>;
|
|
114
|
-
readonly description: import('valibot').ObjectSchema<{
|
|
115
|
-
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
116
|
-
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
117
|
-
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
118
|
-
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
119
|
-
}, undefined>;
|
|
120
|
-
readonly firstCreatedAt: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
121
|
-
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
122
|
-
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
123
|
-
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
124
|
-
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
125
|
-
readonly id: import('valibot').StringSchema<undefined>;
|
|
126
|
-
readonly color: LiteralUnionSchema<readonly ["amber", "green", "red", "other"]>;
|
|
127
|
-
readonly label: import('valibot').StringSchema<undefined>;
|
|
128
|
-
}, undefined>, undefined>;
|
|
129
|
-
readonly statusId: LiteralUnionSchema<readonly ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"]>;
|
|
130
|
-
}, undefined>;
|
|
131
77
|
export declare const componentReferenceSchema: import('valibot').ObjectSchema<{
|
|
132
78
|
readonly id: import('valibot').StringSchema<undefined>;
|
|
133
79
|
readonly label: import('valibot').ObjectSchema<{
|
|
@@ -3,7 +3,7 @@ import { Component } from '..';
|
|
|
3
3
|
import { connectorConfigSchema } from './connectorConfig.schema';
|
|
4
4
|
import { ToolConfig } from '../tool';
|
|
5
5
|
import { ConnectionConfig, ConnectionDescription, ConnectionNodeConfig } from './connection';
|
|
6
|
-
import {
|
|
6
|
+
import { ValueDelimiterId } from '../dataView';
|
|
7
7
|
/** Authentication method identifiers supported by a connector implementation. */
|
|
8
8
|
/** Connector implementation. */
|
|
9
9
|
/** Category identifiers used for grouping and filtering connectors. */
|
|
@@ -49,15 +49,6 @@ interface ConnectorOperationSettings {
|
|
|
49
49
|
appCheckToken?: string;
|
|
50
50
|
sessionAccessToken?: string;
|
|
51
51
|
}
|
|
52
|
-
interface AuditContentSettings extends ConnectorOperationSettings {
|
|
53
|
-
chunkSize?: number;
|
|
54
|
-
encodingId: string;
|
|
55
|
-
path: string;
|
|
56
|
-
valueDelimiterId: ValueDelimiterId;
|
|
57
|
-
}
|
|
58
|
-
interface AuditContentResult {
|
|
59
|
-
contentAuditConfig: DataViewContentAuditConfig;
|
|
60
|
-
}
|
|
61
52
|
interface CreateSettings extends ConnectorOperationSettings {
|
|
62
53
|
accountId?: string;
|
|
63
54
|
path: string;
|
|
@@ -154,5 +145,5 @@ interface ConnectorCallbackData {
|
|
|
154
145
|
/** Exports. */
|
|
155
146
|
export type { ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig, Encoding, UsageTypeId } from './connection';
|
|
156
147
|
export type { Connector, ConnectorCallbackData, ConnectorConfig, ConnectorLocalisedConfig, ConnectorOperationSettings };
|
|
157
|
-
export type {
|
|
148
|
+
export type { CreateSettings, DropSettings, FindResult, FindSettings, GetReadableStreamResult, GetReadableStreamSettings, GetRecordResult, GetRecordSettings, ListResult, ListSettings, PreviewResult, PreviewSettings, RemoveSettings, RetrieveChunksResult, RetrieveChunksSettings, RetrieveChunksSummary, RetrieveRecordsResult, RetrieveRecordsSettings, RetrieveRecordsSummary, UpsertSettings };
|
|
158
149
|
export { connectorConfigSchema } from './connectorConfig.schema';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
2
|
import { contextConfigSchema } from './contextConfig.schema';
|
|
3
3
|
import { LocalisedString } from '../../index';
|
|
4
|
-
import {
|
|
4
|
+
import { ModuleConfig } from '../module';
|
|
5
|
+
import { Component, ComponentConfig, ComponentReference } from '..';
|
|
5
6
|
export interface Context extends Component {
|
|
6
7
|
readonly config: ContextConfig;
|
|
7
8
|
list(settings?: ContextListSettings): Promise<ContextListResult>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { InferOutput } from 'valibot';
|
|
2
2
|
import { componentConfigSchema, componentStatusColorIdSchema, componentStatusIdSchema, componentStatusSchema, componentTypeIdSchema } from './componentConfig.schema';
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { LocalisedString } from '../index';
|
|
4
|
+
/** Component. */
|
|
5
|
+
interface Component {
|
|
5
6
|
readonly config: ComponentConfig;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
type ComponentConfig = InferOutput<typeof componentConfigSchema>;
|
|
9
|
+
type ComponentStatus = InferOutput<typeof componentStatusSchema>;
|
|
10
|
+
type ComponentStatusColorId = InferOutput<typeof componentStatusColorIdSchema>;
|
|
11
|
+
type ComponentStatusId = InferOutput<typeof componentStatusIdSchema>;
|
|
12
|
+
type ComponentTypeId = InferOutput<typeof componentTypeIdSchema>;
|
|
13
|
+
interface ComponentReference {
|
|
13
14
|
id: string;
|
|
14
15
|
label: Partial<LocalisedString>;
|
|
15
16
|
description: Partial<LocalisedString>;
|
|
@@ -18,11 +19,7 @@ export interface ComponentReference {
|
|
|
18
19
|
order: number;
|
|
19
20
|
path: string;
|
|
20
21
|
}
|
|
21
|
-
|
|
22
|
-
export
|
|
23
|
-
typeId: ModuleTypeId;
|
|
24
|
-
version: string;
|
|
25
|
-
}
|
|
26
|
-
export type ModuleTypeId = 'app' | 'engine' | 'connector' | 'context' | 'presenter' | 'tool';
|
|
27
|
-
/** Exposures */
|
|
22
|
+
/** Exports */
|
|
23
|
+
export type { Component, ComponentConfig, ComponentReference, ComponentStatus, ComponentStatusId, ComponentTypeId, ComponentStatusColorId };
|
|
28
24
|
export { componentConfigSchema } from './componentConfig.schema';
|
|
25
|
+
export type { ModuleConfig, ModuleTypeId } from './module';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InferOutput } from 'valibot';
|
|
2
|
+
import { moduleConfigSchema, moduleTypeIdSchema } from './moduleConfig.schema';
|
|
3
|
+
/** Module configuration. */
|
|
4
|
+
type ModuleConfig = InferOutput<typeof moduleConfigSchema>;
|
|
5
|
+
/** Module type identifier. */
|
|
6
|
+
type ModuleTypeId = InferOutput<typeof moduleTypeIdSchema>;
|
|
7
|
+
/** Exports. */
|
|
8
|
+
export type { ModuleConfig, ModuleTypeId };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module configuration schema.
|
|
3
|
+
*/
|
|
4
|
+
/** */
|
|
5
|
+
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>;
|
|
6
|
+
/** */
|
|
7
|
+
declare const moduleConfigCoreFields: {
|
|
8
|
+
readonly version: import('valibot').StringSchema<undefined>;
|
|
9
|
+
readonly id: import('valibot').StringSchema<undefined>;
|
|
10
|
+
readonly label: import('valibot').ObjectSchema<{
|
|
11
|
+
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
readonly description: import('valibot').ObjectSchema<{
|
|
17
|
+
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
18
|
+
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
readonly firstCreatedAt: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
23
|
+
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
24
|
+
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
26
|
+
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
27
|
+
readonly id: import('valibot').StringSchema<undefined>;
|
|
28
|
+
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
|
+
readonly label: import('valibot').StringSchema<undefined>;
|
|
30
|
+
}, undefined>, undefined>;
|
|
31
|
+
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>;
|
|
32
|
+
};
|
|
33
|
+
/** */
|
|
34
|
+
declare const moduleConfigSchema: import('valibot').ObjectSchema<{
|
|
35
|
+
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>;
|
|
36
|
+
readonly version: import('valibot').StringSchema<undefined>;
|
|
37
|
+
readonly id: import('valibot').StringSchema<undefined>;
|
|
38
|
+
readonly label: import('valibot').ObjectSchema<{
|
|
39
|
+
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
40
|
+
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
41
|
+
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
42
|
+
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
43
|
+
}, undefined>;
|
|
44
|
+
readonly description: import('valibot').ObjectSchema<{
|
|
45
|
+
readonly 'en-au': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
46
|
+
readonly 'en-gb': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
47
|
+
readonly 'en-us': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
48
|
+
readonly 'es-es': import('valibot').OptionalSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
49
|
+
}, undefined>;
|
|
50
|
+
readonly firstCreatedAt: import('valibot').OptionalSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
51
|
+
readonly icon: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
52
|
+
readonly iconDark: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
53
|
+
readonly lastUpdatedAt: import('valibot').NullableSchema<import('valibot').NumberSchema<undefined>, undefined>;
|
|
54
|
+
readonly status: import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
55
|
+
readonly id: import('valibot').StringSchema<undefined>;
|
|
56
|
+
readonly color: import('valibot').UnionSchema<readonly [import('valibot').LiteralSchema<"amber", undefined>, import('valibot').LiteralSchema<"green", undefined>, import('valibot').LiteralSchema<"red", undefined>, import('valibot').LiteralSchema<"other", undefined>], undefined>;
|
|
57
|
+
readonly label: import('valibot').StringSchema<undefined>;
|
|
58
|
+
}, undefined>, undefined>;
|
|
59
|
+
readonly statusId: import('valibot').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>;
|
|
60
|
+
}, undefined>;
|
|
61
|
+
/** Exports. */
|
|
62
|
+
export { moduleConfigCoreFields, moduleConfigSchema, moduleTypeIdSchema };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ModuleConfig } from '
|
|
1
|
+
import { ModuleConfig } from '../module';
|
|
2
2
|
/** Tool configuration. */
|
|
3
3
|
interface ToolConfig extends ModuleConfig {
|
|
4
4
|
typeId: 'tool';
|
|
5
5
|
}
|
|
6
6
|
/** Load tool. */
|
|
7
7
|
declare function loadTool<T>(toolConfigs: ToolConfig[], toolId: string): Promise<T>;
|
|
8
|
-
|
|
8
|
+
/** Exports. */
|
|
9
|
+
export { loadTool };
|
|
10
|
+
export type { ToolConfig };
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { ConnectionConfig } from '../component/connector/connection';
|
|
2
2
|
import { ToolConfig } from '../component/tool';
|
|
3
|
-
import {
|
|
4
|
-
import { Component } from '../component';
|
|
3
|
+
import { ConnectorCallbackData, ConnectorOperationSettings, ListResult, RetrieveRecordsResult } from '../component/connector';
|
|
5
4
|
import { ContextCallbackData, ContextConfig, ContextOperationSettings } from '../component/context';
|
|
6
|
-
import { DataViewPreviewConfig, EncodingConfig } from '../component/dataView';
|
|
5
|
+
import { DataViewContentAuditConfig, DataViewPreviewConfig, EncodingConfig, ValueDelimiterId } from '../component/dataView';
|
|
7
6
|
interface EngineInitialiseSettings {
|
|
8
7
|
connectorStorageURLPrefix: string;
|
|
9
8
|
toolConfigs: ToolConfig[];
|
|
10
9
|
}
|
|
11
10
|
type InitialiseEngine = (settings: EngineInitialiseSettings) => Promise<void>;
|
|
12
11
|
type ProcessConnectorRequest = (id: string, connectionConfig: ConnectionConfig, settings: ConnectorOperationSettings, callback?: (callbackData: ContextCallbackData) => void) => Promise<ConnectorInterfaceResult>;
|
|
12
|
+
interface AuditContentSettings extends ConnectorOperationSettings {
|
|
13
|
+
chunkSize?: number;
|
|
14
|
+
encodingId: string;
|
|
15
|
+
path: string;
|
|
16
|
+
valueDelimiterId: ValueDelimiterId;
|
|
17
|
+
}
|
|
18
|
+
interface AuditContentResult {
|
|
19
|
+
contentAuditConfig: DataViewContentAuditConfig;
|
|
20
|
+
}
|
|
13
21
|
type ConnectorInterfaceResult = AuditContentResult | DataViewPreviewConfig | ListResult | RetrieveRecordsResult;
|
|
14
22
|
type ProcessContextRequest = (id: string, contextConfig: ContextConfig, settings: ContextOperationSettings, callback?: (callbackData: ConnectorCallbackData) => void) => Promise<ContextInterfaceResult>;
|
|
15
23
|
type ContextInterfaceResult = AuditContentResult | DataViewPreviewConfig | ListResult | RetrieveRecordsResult;
|
|
@@ -21,7 +29,7 @@ interface TestSettings {
|
|
|
21
29
|
hasHeaders?: boolean;
|
|
22
30
|
readable: ReadableStream<Uint8Array>;
|
|
23
31
|
}
|
|
24
|
-
interface EngineInterface
|
|
32
|
+
interface EngineInterface {
|
|
25
33
|
getEncodingConfigs: (localeId: string) => EncodingConfig[];
|
|
26
34
|
invokeWorker(errorEventCallback: (errorEvent: ErrorEvent) => void): EngineWorker;
|
|
27
35
|
}
|
|
@@ -32,4 +40,4 @@ interface EngineWorker {
|
|
|
32
40
|
processTestRequest: ProcessTestRequest;
|
|
33
41
|
}
|
|
34
42
|
/** Exports. */
|
|
35
|
-
export type { ConnectorInterfaceResult, ContextInterfaceResult, EngineInterface, EngineWorker, EngineInitialiseSettings, TestSettings };
|
|
43
|
+
export type { AuditContentSettings, AuditContentResult, ConnectorInterfaceResult, ContextInterfaceResult, EngineInterface, EngineWorker, EngineInitialiseSettings, TestSettings };
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
export type LocaleCode = 'en-au' | 'en-gb' | 'en-us' | 'es-es';
|
|
6
6
|
export type LocalisedString = Record<LocaleCode, string>;
|
|
7
7
|
/** Interfaces/Types - Component */
|
|
8
|
-
export type { ComponentConfig, ComponentReference, ComponentStatus, ComponentStatusId, ComponentTypeId, ModuleConfig, ModuleTypeId, ComponentStatusColorId } from './component';
|
|
9
8
|
/** Schemas - Component */
|
|
10
9
|
export { componentConfigSchema } from './component';
|
|
11
10
|
/** Schemas - Connector */
|
|
@@ -55,4 +54,3 @@ export { useDataTable } from './composables/useDataTable';
|
|
|
55
54
|
export declare const DEFAULT_LOCALE_CODE: LocaleCode;
|
|
56
55
|
/** Utilities */
|
|
57
56
|
export { getDataFormats, getRecordDelimiters, getValueDelimiters } from './component/dataView';
|
|
58
|
-
export { getComponentStatus } from './component';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.391",
|
|
4
4
|
"description": "A library containing common constants, types and utilities used across all Data Positioning projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
"import": "./dist/datapos-shared.es.js",
|
|
22
22
|
"types": "./dist/types/src/index.d.ts"
|
|
23
23
|
},
|
|
24
|
+
"./component": {
|
|
25
|
+
"import": "./dist/datapos-shared-component.es.js",
|
|
26
|
+
"types": "./dist/types/src/component/index.d.ts"
|
|
27
|
+
},
|
|
24
28
|
"./component/connector": {
|
|
25
29
|
"import": "./dist/datapos-shared-connector.es.js",
|
|
26
30
|
"types": "./dist/types/src/component/connector/index.d.ts"
|