react-semaphor 0.1.421 → 0.1.423
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/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +2 -2
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +2 -2
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +913 -712
- package/dist/chunks/{analyze-result-contract-sWcmvBOA.js → analyze-result-contract-D7pjjYPy.js} +45 -46
- package/dist/chunks/{analyze-result-contract-B5Eeu7vD.js → analyze-result-contract-DpDcImgk.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-CscmhyuZ.js → calendar-preferences-dialog-CTmeASaM.js} +1 -1
- package/dist/chunks/{calendar-preferences-dialog-cN3_2C-u.js → calendar-preferences-dialog-t5ET6MON.js} +3 -3
- package/dist/chunks/card-config-utils-15sRtebL.js +1 -0
- package/dist/chunks/card-config-utils-BYZ5MJOh.js +16 -0
- package/dist/chunks/dashboard-briefing-launcher-Cavd0QJb.js +3401 -0
- package/dist/chunks/dashboard-briefing-launcher-S2akO-ub.js +26 -0
- package/dist/chunks/dashboard-controls-BJLrErjW.js +2322 -0
- package/dist/chunks/dashboard-controls-DzbP8AXA.js +52 -0
- package/dist/chunks/dashboard-json-5tWb5KD6.js +1 -0
- package/dist/chunks/{dashboard-json-Cxhw2TZc.js → dashboard-json-Do2-pdPZ.js} +12 -11
- package/dist/chunks/{edit-dashboard-visual-BigSJ3-x.js → edit-dashboard-visual-Cw6bq4_w.js} +7058 -6989
- package/dist/chunks/edit-dashboard-visual-Yh5YFgMF.js +178 -0
- package/dist/chunks/index-BPM3gDRw.js +1406 -0
- package/dist/chunks/{index-CH2ZzQo4.js → index-yHe0SeLO.js} +81534 -75430
- package/dist/chunks/{switch-TbCsyhv9.js → switch-2bh3Hka1.js} +620 -633
- package/dist/chunks/{switch-CiOjVyVI.js → switch-DMT7qf_R.js} +24 -24
- package/dist/chunks/{update-policy-2MZ-Vf7v.js → update-policy-BCJc0oI5.js} +1 -1
- package/dist/chunks/{update-policy-qpyAkOyO.js → update-policy-C1pmhLz9.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BzcJWNzh.js → use-create-flow-overlay-state-5MDbZcs1.js} +515 -544
- package/dist/chunks/use-create-flow-overlay-state-BNczg9Gj.js +11 -0
- package/dist/chunks/{validators-Dj1Y-46V.js → validators-DMlVbd1p.js} +1 -1
- package/dist/chunks/{validators-D0pfj3jJ.js → validators-PXkij33j.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.cjs +1 -1
- package/dist/dashboard-authoring/index.js +2 -2
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +108 -108
- package/dist/data-app-codegen/index.cjs +1 -1
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.cjs +165 -340
- package/dist/data-app-codegen-node/index.js +761 -952
- package/dist/data-app-sdk/index.cjs +2 -2
- package/dist/data-app-sdk/index.js +91 -95
- package/dist/data-app-sdk-adapters/index.cjs +1 -1
- package/dist/data-app-sdk-adapters/index.js +1 -1
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +168 -164
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/analytics-protocol.d.ts +0 -4
- package/dist/types/briefings.d.ts +2388 -7
- package/dist/types/dashboard-assistant.d.ts +0 -1
- package/dist/types/data-app-sdk-validation.d.ts +0 -1
- package/dist/types/data-app-sdk.d.ts +0 -2
- package/dist/types/main.d.ts +70 -10
- package/dist/types/types.d.ts +4 -8
- package/package.json +1 -1
- package/dist/chunks/dashboard-briefing-launcher-BYTBNetR.js +0 -9077
- package/dist/chunks/dashboard-briefing-launcher-DmZkzIC3.js +0 -80
- package/dist/chunks/dashboard-controls-9DFeKIP4.js +0 -52
- package/dist/chunks/dashboard-controls-PhzuaTBj.js +0 -2280
- package/dist/chunks/dashboard-json-DyRHI3mL.js +0 -1
- package/dist/chunks/edit-dashboard-visual-3_jiBXsu.js +0 -178
- package/dist/chunks/index-BKDQw0aK.js +0 -1346
- package/dist/chunks/use-create-flow-overlay-state-DUQmgb9H.js +0 -21
package/dist/chunks/{analyze-result-contract-sWcmvBOA.js → analyze-result-contract-D7pjjYPy.js}
RENAMED
|
@@ -248,7 +248,7 @@ function se(s) {
|
|
|
248
248
|
), (typeof t.title != "string" || !t.title.trim()) && i.push("title is required."), Array.isArray(t.sources) || i.push("sources must be an array."), Array.isArray(t.inputs) || i.push("inputs must be an array."), Array.isArray(t.views) || i.push("views must be an array."), Array.isArray(t.filterContracts) || i.push("filterContracts must be an array."), (!t.implementationChecklist || typeof t.implementationChecklist != "object") && i.push("implementationChecklist must be an object."), t.implementationChecklist && typeof t.implementationChecklist == "object" && i.push(
|
|
249
249
|
...Ke(t.implementationChecklist)
|
|
250
250
|
), Array.isArray(t.sources) && t.sources.forEach((o, n) => {
|
|
251
|
-
i.push(...
|
|
251
|
+
i.push(...k(o, `sources.${n}`));
|
|
252
252
|
}), Array.isArray(t.inputs) && t.inputs.forEach((o, n) => {
|
|
253
253
|
i.push(...Te(o, `inputs.${n}`));
|
|
254
254
|
}), Array.isArray(t.views) && t.views.forEach((o, n) => {
|
|
@@ -292,7 +292,7 @@ const H = /* @__PURE__ */ new Set([
|
|
|
292
292
|
"missing_relationship",
|
|
293
293
|
"raw_identifier_filter_options"
|
|
294
294
|
]);
|
|
295
|
-
function
|
|
295
|
+
function k(s, i) {
|
|
296
296
|
const t = a(s);
|
|
297
297
|
return t ? t.kind === "semantic" ? typeof t.domainId == "string" && t.domainId.trim() && typeof t.datasetName == "string" && t.datasetName.trim() ? [] : [`${i} must include sourceKey or a supported source identity.`] : typeof t.sourceKey == "string" && t.sourceKey.trim() ? [] : t.kind === "physical" && typeof t.tableName == "string" && t.tableName.trim() && typeof t.connectionId == "string" && t.connectionId.trim() ? [] : t.kind === "sql" && typeof t.connectionId == "string" && t.connectionId.trim() ? [] : [`${i} must include sourceKey or a supported source identity.`] : [`${i} must be an object.`];
|
|
298
298
|
}
|
|
@@ -355,7 +355,7 @@ function Me(s, i) {
|
|
|
355
355
|
return o.push(`${i}.fields must be an array.`), (t.sdkSpec !== void 0 || t.sdkBuilder !== void 0) && o.push(`${i}.fields must be an array for executable views.`), o.push(...F(t, `${i}`)), o;
|
|
356
356
|
t.fields.forEach((d, y) => {
|
|
357
357
|
o.push(...c(d, `${i}.fields.${y}`));
|
|
358
|
-
}),
|
|
358
|
+
}), S(t.queryKind) || o.push(`${i}.queryKind must be a supported codegen query kind.`), t.sdkBuilder !== void 0 && !le(t.sdkBuilder) && o.push(`${i}.sdkBuilder must be a supported SDK builder.`), t.metricBindingKeys !== void 0 && (Array.isArray(t.metricBindingKeys) ? t.metricBindingKeys.some(
|
|
359
359
|
(d) => typeof d != "string" || d.trim().length === 0
|
|
360
360
|
) && o.push(`${i}.metricBindingKeys must be an array of strings.`) : o.push(`${i}.metricBindingKeys must be an array of strings.`));
|
|
361
361
|
const n = a(t.sdkSpec), r = (n == null ? void 0 : n.builder) === "semaphor.metric";
|
|
@@ -365,7 +365,7 @@ function Me(s, i) {
|
|
|
365
365
|
`${i}.metricBindingKeys must match the generated metric field binding keys in order.`
|
|
366
366
|
);
|
|
367
367
|
const l = a(t.computation);
|
|
368
|
-
return (l == null ? void 0 : l.kind) === "server_query" &&
|
|
368
|
+
return (l == null ? void 0 : l.kind) === "server_query" && S(t.queryKind) && S(l.queryKind) && l.queryKind !== t.queryKind && o.push(`${i}.computation.queryKind must match queryKind.`), o.push(
|
|
369
369
|
...Qe({
|
|
370
370
|
value: t.sdkSpec,
|
|
371
371
|
path: `${i}.sdkSpec`,
|
|
@@ -579,7 +579,7 @@ function ne(s, i) {
|
|
|
579
579
|
`${i}.filterFieldRef`
|
|
580
580
|
)
|
|
581
581
|
];
|
|
582
|
-
return t.builder !== "semaphor.inputOptions" && o.push(`${i}.builder must be semaphor.inputOptions.`), typeof t.sourceKey != "string" && t.source === void 0 && o.push(`${i} must include source or sourceKey.`), t.source !== void 0 && o.push(...
|
|
582
|
+
return t.builder !== "semaphor.inputOptions" && o.push(`${i}.builder must be semaphor.inputOptions.`), typeof t.sourceKey != "string" && t.source === void 0 && o.push(`${i} must include source or sourceKey.`), t.source !== void 0 && o.push(...k(t.source, `${i}.source`)), a(t.valueFieldRef) || o.push(`${i}.valueFieldRef is required.`), a(t.labelFieldRef) || o.push(`${i}.labelFieldRef is required.`), t.limit !== void 0 && (typeof t.limit != "number" || !Number.isInteger(t.limit) || t.limit <= 0) && o.push(`${i}.limit must be a positive integer.`), o;
|
|
583
583
|
}
|
|
584
584
|
function Qe(s) {
|
|
585
585
|
var n;
|
|
@@ -589,7 +589,7 @@ function Qe(s) {
|
|
|
589
589
|
const t = [];
|
|
590
590
|
if (!le(i.builder))
|
|
591
591
|
return t.push(`${s.path}.builder must be a supported SDK builder.`), t;
|
|
592
|
-
s.sdkBuilder && i.builder !== s.sdkBuilder && t.push(`${s.path}.builder must match sdkBuilder.`), s.queryKind &&
|
|
592
|
+
s.sdkBuilder && i.builder !== s.sdkBuilder && t.push(`${s.path}.builder must match sdkBuilder.`), s.queryKind && S(s.queryKind) && i.builder !== ot(s.queryKind) && t.push(`${s.path}.builder must match queryKind.`);
|
|
593
593
|
const o = a(i.spec);
|
|
594
594
|
if (!o)
|
|
595
595
|
return t.push(`${s.path}.spec must be an object.`), t;
|
|
@@ -597,7 +597,7 @@ function Qe(s) {
|
|
|
597
597
|
case "semaphor.metric":
|
|
598
598
|
t.push(
|
|
599
599
|
...$(o, ie, `${s.path}.spec`),
|
|
600
|
-
...
|
|
600
|
+
..._(o, s.path),
|
|
601
601
|
...N(o.measures, `${s.path}.spec.measures`),
|
|
602
602
|
...f(
|
|
603
603
|
o.primaryMeasure,
|
|
@@ -612,13 +612,13 @@ function Qe(s) {
|
|
|
612
612
|
`${s.path}.spec.dimensions`
|
|
613
613
|
),
|
|
614
614
|
...T(o.orderBy, `${s.path}.spec.orderBy`),
|
|
615
|
-
...
|
|
615
|
+
...j(o.filters, `${s.path}.spec.filters`)
|
|
616
616
|
);
|
|
617
617
|
break;
|
|
618
618
|
case "semaphor.analysis":
|
|
619
619
|
t.push(
|
|
620
620
|
...$(o, Re, `${s.path}.spec`),
|
|
621
|
-
...
|
|
621
|
+
..._(o, s.path),
|
|
622
622
|
...N(o.measures, `${s.path}.spec.measures`),
|
|
623
623
|
...f(
|
|
624
624
|
o.primaryMeasure,
|
|
@@ -633,21 +633,21 @@ function Qe(s) {
|
|
|
633
633
|
`${s.path}.spec.dimensions`
|
|
634
634
|
),
|
|
635
635
|
...T(o.orderBy, `${s.path}.spec.orderBy`),
|
|
636
|
-
...
|
|
636
|
+
...j(o.filters, `${s.path}.spec.filters`),
|
|
637
637
|
...Je(o, `${s.path}.spec`)
|
|
638
638
|
);
|
|
639
639
|
break;
|
|
640
640
|
case "semaphor.records":
|
|
641
641
|
t.push(
|
|
642
642
|
...$(o, Ce, `${s.path}.spec`),
|
|
643
|
-
...
|
|
643
|
+
..._(o, s.path),
|
|
644
644
|
...N(o.fields, `${s.path}.spec.fields`),
|
|
645
645
|
...f(
|
|
646
646
|
o.dateField,
|
|
647
647
|
`${s.path}.spec.dateField`
|
|
648
648
|
),
|
|
649
649
|
...T(o.orderBy, `${s.path}.spec.orderBy`),
|
|
650
|
-
...
|
|
650
|
+
...j(o.filters, `${s.path}.spec.filters`),
|
|
651
651
|
...We(
|
|
652
652
|
o.totals,
|
|
653
653
|
`${s.path}.spec.totals`
|
|
@@ -665,7 +665,7 @@ function Qe(s) {
|
|
|
665
665
|
),
|
|
666
666
|
...tt(o.values, `${s.path}.spec.values`),
|
|
667
667
|
...it(o.sort, `${s.path}.spec.sort`),
|
|
668
|
-
...
|
|
668
|
+
...j(o.filters, `${s.path}.spec.filters`),
|
|
669
669
|
...Ye(
|
|
670
670
|
o.displayLimits,
|
|
671
671
|
`${s.path}.spec.displayLimits`
|
|
@@ -675,7 +675,7 @@ function Qe(s) {
|
|
|
675
675
|
case "semaphor.sql":
|
|
676
676
|
t.push(
|
|
677
677
|
...$(o, xe, `${s.path}.spec`),
|
|
678
|
-
...
|
|
678
|
+
..._(o, s.path)
|
|
679
679
|
), ((n = a(o.source)) == null ? void 0 : n.kind) !== "sql" && t.push(`${s.path}.spec.source.kind must be sql.`), (typeof o.sql != "string" || !o.sql.trim()) && t.push(`${s.path}.spec.sql is required.`), t.push(
|
|
680
680
|
...K(
|
|
681
681
|
o.fields,
|
|
@@ -760,14 +760,14 @@ function $(s, i, t) {
|
|
|
760
760
|
i.has(n) || o.push(`${t}.${n} is not supported for this SDK builder.`);
|
|
761
761
|
}), o;
|
|
762
762
|
}
|
|
763
|
-
function
|
|
764
|
-
return a(s.source) ?
|
|
763
|
+
function _(s, i) {
|
|
764
|
+
return a(s.source) ? k(s.source, `${i}.spec.source`) : [`${i}.spec.source must be an object.`];
|
|
765
765
|
}
|
|
766
766
|
function Xe(s, i) {
|
|
767
767
|
const t = a(s.source);
|
|
768
768
|
if (!t)
|
|
769
769
|
return [`${i}.spec.source must be an object.`];
|
|
770
|
-
const o =
|
|
770
|
+
const o = k(s.source, `${i}.spec.source`);
|
|
771
771
|
return t.kind !== "semantic" && t.kind !== "physical" && o.push(`${i}.spec.source.kind must be semantic or physical.`), o;
|
|
772
772
|
}
|
|
773
773
|
function N(s, i) {
|
|
@@ -872,7 +872,7 @@ function st(s, i) {
|
|
|
872
872
|
function re(s, i) {
|
|
873
873
|
return s === "asc" || s === "desc" ? [] : [`${i} must be asc or desc.`];
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function j(s, i) {
|
|
876
876
|
if (s === void 0)
|
|
877
877
|
return [];
|
|
878
878
|
if (!Array.isArray(s))
|
|
@@ -975,7 +975,7 @@ function pt(s, i) {
|
|
|
975
975
|
const o = [];
|
|
976
976
|
switch (t.kind) {
|
|
977
977
|
case "server_query":
|
|
978
|
-
|
|
978
|
+
S(t.queryKind) || o.push(`${i}.queryKind must be a supported codegen query kind.`), t.queryOwnership !== void 0 && t.queryOwnership !== "view_owned" && t.queryOwnership !== "shared_query" && o.push(
|
|
979
979
|
`${i}.queryOwnership must be view_owned or shared_query.`
|
|
980
980
|
), t.sourceKeys !== void 0 && !g(t.sourceKeys) && o.push(`${i}.sourceKeys must be an array of strings.`), t.fieldNames !== void 0 && !g(t.fieldNames) && o.push(`${i}.fieldNames must be an array of strings.`);
|
|
981
981
|
break;
|
|
@@ -1135,7 +1135,7 @@ function O(s, i) {
|
|
|
1135
1135
|
);
|
|
1136
1136
|
}), t.kind !== "semantic" && o.push(`${i} must use semantic source identity.`), (typeof t.domainId != "string" || !t.domainId.trim() || typeof t.datasetName != "string" || !t.datasetName.trim()) && o.push(`${i} must include semantic domainId and datasetName.`), o;
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function S(s) {
|
|
1139
1139
|
return Ie.has(s);
|
|
1140
1140
|
}
|
|
1141
1141
|
function le(s) {
|
|
@@ -1156,7 +1156,7 @@ function ue(s, i) {
|
|
|
1156
1156
|
if (!t || typeof t.sourceKey == "string" && t.sourceKey.trim())
|
|
1157
1157
|
return o;
|
|
1158
1158
|
if (t.source !== void 0) {
|
|
1159
|
-
const r =
|
|
1159
|
+
const r = k(t.source, `${i}.source`);
|
|
1160
1160
|
return r.length === 0 || o.push(...r), o;
|
|
1161
1161
|
}
|
|
1162
1162
|
return o.includes(`${i} must include source or sourceKey.`) || o.push(`${i} must include source or sourceKey.`), o;
|
|
@@ -1206,7 +1206,7 @@ const p = e.record(e.string(), e.unknown()), C = e.array(p), m = e.enum([
|
|
|
1206
1206
|
"date",
|
|
1207
1207
|
"datetime",
|
|
1208
1208
|
"unknown"
|
|
1209
|
-
]),
|
|
1209
|
+
]), R = e.union([e.number(), e.string(), e.null()]), M = e.enum([
|
|
1210
1210
|
"millisecond",
|
|
1211
1211
|
"second",
|
|
1212
1212
|
"minute",
|
|
@@ -1271,7 +1271,7 @@ const p = e.record(e.string(), e.unknown()), C = e.array(p), m = e.enum([
|
|
|
1271
1271
|
expressionId: e.string()
|
|
1272
1272
|
}).passthrough()
|
|
1273
1273
|
]);
|
|
1274
|
-
function
|
|
1274
|
+
function I(s, i) {
|
|
1275
1275
|
return e.object(s).passthrough().superRefine((t, o) => {
|
|
1276
1276
|
for (const n of i)
|
|
1277
1277
|
Object.prototype.hasOwnProperty.call(t, n) || o.addIssue({
|
|
@@ -1302,7 +1302,7 @@ const pe = e.object({
|
|
|
1302
1302
|
connectionId: e.string(),
|
|
1303
1303
|
dialect: q.optional(),
|
|
1304
1304
|
label: e.string().optional()
|
|
1305
|
-
}).passthrough(),
|
|
1305
|
+
}).passthrough(), w = e.union([
|
|
1306
1306
|
pe,
|
|
1307
1307
|
bt,
|
|
1308
1308
|
vt
|
|
@@ -1311,7 +1311,7 @@ const pe = e.object({
|
|
|
1311
1311
|
label: e.string().optional(),
|
|
1312
1312
|
role: x.optional(),
|
|
1313
1313
|
dataType: E.optional(),
|
|
1314
|
-
source:
|
|
1314
|
+
source: w.optional(),
|
|
1315
1315
|
aggregate: m.optional()
|
|
1316
1316
|
}).passthrough(), $t = e.object({
|
|
1317
1317
|
kind: e.literal("field"),
|
|
@@ -1383,7 +1383,7 @@ const pe = e.object({
|
|
|
1383
1383
|
role: x.optional(),
|
|
1384
1384
|
dataType: E.optional(),
|
|
1385
1385
|
aggregate: m.optional(),
|
|
1386
|
-
source:
|
|
1386
|
+
source: w.optional(),
|
|
1387
1387
|
derivedField: me.optional()
|
|
1388
1388
|
}).passthrough(), ge = e.object({
|
|
1389
1389
|
code: e.string(),
|
|
@@ -1412,7 +1412,7 @@ const pe = e.object({
|
|
|
1412
1412
|
totalCount: e.number(),
|
|
1413
1413
|
hasNextPage: e.boolean(),
|
|
1414
1414
|
hasPrevPage: e.boolean()
|
|
1415
|
-
}).passthrough(),
|
|
1415
|
+
}).passthrough(), A = {
|
|
1416
1416
|
intentId: e.string().optional(),
|
|
1417
1417
|
queryPath: e.enum(["query_spec", "sql", "sql_python"]),
|
|
1418
1418
|
warnings: e.array(e.string()).optional(),
|
|
@@ -1421,21 +1421,20 @@ const pe = e.object({
|
|
|
1421
1421
|
limit: e.number().optional(),
|
|
1422
1422
|
pagination: _t.optional()
|
|
1423
1423
|
}, jt = e.object({
|
|
1424
|
-
...
|
|
1424
|
+
...A,
|
|
1425
1425
|
kind: e.literal("metric"),
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
measures: e.record(S).optional(),
|
|
1426
|
+
primaryValue: R,
|
|
1427
|
+
measures: e.record(R).optional(),
|
|
1429
1428
|
missingMeasures: e.array(e.string()).optional(),
|
|
1430
1429
|
comparison: e.object({
|
|
1431
1430
|
kind: e.enum(["previous_period", "previous_year", "target"]),
|
|
1432
|
-
value:
|
|
1431
|
+
value: R.optional(),
|
|
1433
1432
|
delta: e.union([e.number(), e.null()]).optional(),
|
|
1434
1433
|
deltaPercent: e.union([e.number(), e.null()]).optional()
|
|
1435
1434
|
}).passthrough().optional(),
|
|
1436
1435
|
records: C.optional()
|
|
1437
1436
|
}).passthrough(), Rt = e.object({
|
|
1438
|
-
...
|
|
1437
|
+
...A,
|
|
1439
1438
|
kind: e.literal("records"),
|
|
1440
1439
|
columns: e.array(P),
|
|
1441
1440
|
records: C,
|
|
@@ -1446,10 +1445,10 @@ const pe = e.object({
|
|
|
1446
1445
|
columns: e.array(P).optional()
|
|
1447
1446
|
}).passthrough().optional()
|
|
1448
1447
|
}).passthrough(), Ct = e.object({
|
|
1449
|
-
...
|
|
1448
|
+
...A,
|
|
1450
1449
|
kind: e.literal("inputOptions"),
|
|
1451
1450
|
options: e.array(
|
|
1452
|
-
|
|
1451
|
+
I(
|
|
1453
1452
|
{
|
|
1454
1453
|
label: e.string(),
|
|
1455
1454
|
value: e.unknown(),
|
|
@@ -1460,7 +1459,7 @@ const pe = e.object({
|
|
|
1460
1459
|
)
|
|
1461
1460
|
)
|
|
1462
1461
|
}).passthrough(), qt = e.object({
|
|
1463
|
-
...
|
|
1462
|
+
...A,
|
|
1464
1463
|
kind: e.literal("sql"),
|
|
1465
1464
|
columns: e.array(P),
|
|
1466
1465
|
records: C,
|
|
@@ -1486,7 +1485,7 @@ const pe = e.object({
|
|
|
1486
1485
|
}).passthrough()
|
|
1487
1486
|
),
|
|
1488
1487
|
nodeIds: e.array(e.string())
|
|
1489
|
-
}).passthrough(), b =
|
|
1488
|
+
}).passthrough(), b = I(
|
|
1490
1489
|
{
|
|
1491
1490
|
instanceId: e.string(),
|
|
1492
1491
|
fieldKey: e.string(),
|
|
@@ -1583,7 +1582,7 @@ const pe = e.object({
|
|
|
1583
1582
|
kind: e.string(),
|
|
1584
1583
|
label: e.string().optional(),
|
|
1585
1584
|
payload: e.record(e.string(), e.unknown()).optional()
|
|
1586
|
-
}).passthrough(), Ot =
|
|
1585
|
+
}).passthrough(), Ot = I(
|
|
1587
1586
|
{
|
|
1588
1587
|
id: e.string(),
|
|
1589
1588
|
axis: e.enum(["row", "column"]),
|
|
@@ -1641,7 +1640,7 @@ const pe = e.object({
|
|
|
1641
1640
|
role: e.enum(["value", "columnSubtotal", "columnGrandTotal"])
|
|
1642
1641
|
}).passthrough()
|
|
1643
1642
|
)
|
|
1644
|
-
}).passthrough(), Vt =
|
|
1643
|
+
}).passthrough(), Vt = I(
|
|
1645
1644
|
{
|
|
1646
1645
|
rowId: e.string(),
|
|
1647
1646
|
columnId: e.string().optional(),
|
|
@@ -1663,7 +1662,7 @@ const pe = e.object({
|
|
|
1663
1662
|
columns: e.boolean().optional()
|
|
1664
1663
|
}).passthrough()
|
|
1665
1664
|
]).optional()
|
|
1666
|
-
}).passthrough(), Gt =
|
|
1665
|
+
}).passthrough(), Gt = I(
|
|
1667
1666
|
{
|
|
1668
1667
|
id: e.string(),
|
|
1669
1668
|
axis: e.enum(["row", "column"]),
|
|
@@ -1700,7 +1699,7 @@ const pe = e.object({
|
|
|
1700
1699
|
).optional(),
|
|
1701
1700
|
rules: e.array(e.record(e.string(), e.unknown())).optional()
|
|
1702
1701
|
}).passthrough(), Yt = e.object({
|
|
1703
|
-
...
|
|
1702
|
+
...A,
|
|
1704
1703
|
kind: e.literal("matrix"),
|
|
1705
1704
|
schemaVersion: e.literal(1),
|
|
1706
1705
|
shape: e.enum(["hierarchical", "pivot"]),
|
|
@@ -1736,15 +1735,15 @@ const pe = e.object({
|
|
|
1736
1735
|
"fanout_risk",
|
|
1737
1736
|
"unknown"
|
|
1738
1737
|
]),
|
|
1739
|
-
requiredSources: e.array(
|
|
1738
|
+
requiredSources: e.array(w).optional(),
|
|
1740
1739
|
relationshipsUsed: e.array(e.string()).optional(),
|
|
1741
1740
|
missingSources: e.array(e.string()).optional(),
|
|
1742
1741
|
warnings: e.array(e.string()).optional(),
|
|
1743
1742
|
message: e.string().optional(),
|
|
1744
1743
|
recommendedNextStep: e.string().optional(),
|
|
1745
1744
|
joinPlanSummary: e.object({
|
|
1746
|
-
baseSource:
|
|
1747
|
-
joinedSources: e.array(
|
|
1745
|
+
baseSource: w.optional(),
|
|
1746
|
+
joinedSources: e.array(w).optional(),
|
|
1748
1747
|
joinCount: e.number().optional()
|
|
1749
1748
|
}).passthrough().optional(),
|
|
1750
1749
|
fanoutRisk: e.object({
|
|
@@ -1798,7 +1797,7 @@ const pe = e.object({
|
|
|
1798
1797
|
).optional()
|
|
1799
1798
|
}).passthrough(), ye = e.object({
|
|
1800
1799
|
scope: e.literal("filtered_query"),
|
|
1801
|
-
measures: e.record(
|
|
1800
|
+
measures: e.record(R)
|
|
1802
1801
|
}).passthrough(), be = e.object({
|
|
1803
1802
|
answeredObligations: e.array(e.string()),
|
|
1804
1803
|
missingObligations: e.array(e.string()),
|
|
@@ -2051,7 +2050,7 @@ export {
|
|
|
2051
2050
|
bt as h,
|
|
2052
2051
|
mi as i,
|
|
2053
2052
|
vt as j,
|
|
2054
|
-
k,
|
|
2053
|
+
w as k,
|
|
2055
2054
|
v as l,
|
|
2056
2055
|
me as m,
|
|
2057
2056
|
U as n,
|