react-semaphor 0.1.561 → 0.1.563
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.js +452 -429
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +9 -9
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{analytics-base-schemas-CB3oFAXk.js → analytics-base-schemas-BaIQrEzX.js} +139 -134
- package/dist/chunks/{assistant-chat-DiVHY3Hw.js → assistant-chat-iIp02_77.js} +104 -104
- package/dist/chunks/{bookmark-impact-CR09dpkn.js → bookmark-impact-D4Kl4amw.js} +2 -2
- package/dist/chunks/{bookmark-state-BusLpkb7.js → bookmark-state-CWeoGbrx.js} +25 -25
- package/dist/chunks/{braces-u8VorWJc.js → braces-DzgoQC64.js} +1 -1
- package/dist/chunks/{comparison-window-caption-DDsIWJYT.js → comparison-window-caption-D1EUXzaR.js} +562 -437
- package/dist/chunks/{context-TUjw9eqr.js → context-R31TSL5V.js} +1 -1
- package/dist/chunks/{dashboard-BRdZBPqr.js → dashboard-CmqeP3QZ.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CgvTLndW.js → dashboard-briefing-launcher-TYlSW77S.js} +155 -154
- package/dist/chunks/{dashboard-controls-B4vfSzTF.js → dashboard-controls-B253nJS-.js} +970 -968
- package/dist/chunks/{dashboard-json-Y3MF59g7.js → dashboard-json-osQuinUZ.js} +5 -5
- package/dist/chunks/dates-DFY7Gfss.js +91 -0
- package/dist/chunks/{edit-dashboard-visual-DwjZcxj-.js → edit-dashboard-visual-CMar-NhA.js} +4636 -4681
- package/dist/chunks/{filter-reach-copy-bijwf_-b.js → filter-reach-copy-CvV7W5dd.js} +1470 -1101
- package/dist/chunks/{filter-value-text-DFnhwuEW.js → filter-value-text-CPwFkrMz.js} +11 -10
- package/dist/chunks/{global-date-filter-utils-BXgCpvQM.js → global-date-filter-utils-N1kcsOFE.js} +8997 -7417
- package/dist/chunks/{index-ClwbY3BL.js → index-CNGkfUp4.js} +91 -85
- package/dist/chunks/{layout-grid-CtvCBfOm.js → layout-grid-BM65viQh.js} +1 -1
- package/dist/chunks/{list-filter-BklYgciR.js → list-filter-BoeLBfL3.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-pU51-JmY.js → matrix-analytical-definition-hEucouWM.js} +4 -4
- package/dist/chunks/{matrix-card-CUorIB7Q.js → matrix-card-CCh9JjP1.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-Df5UgCGN.js → matrix-member-presentation-DsAUbuoL.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-BSiGEXVC.js → matrix-operation-contract-DsLdFdSa.js} +339 -330
- package/dist/chunks/{metric-comparison-95aC0uEO.js → metric-comparison-Bnso1cm1.js} +2 -2
- package/dist/chunks/{model-change-B5wQhg5G.js → model-change-T1cRkh3m.js} +1 -1
- package/dist/chunks/{palette-DTnMhipt.js → palette-p1XSJFgB.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Bo-86vwS.js → pivot-result-contract-expectations-B53jqszr.js} +5 -5
- package/dist/chunks/{pivot-result-identity-olvXJoB9.js → pivot-result-identity-Dq5jm-EC.js} +1 -1
- package/dist/chunks/{zoned-wall-clock-CGLVI40Q.js → raw-temporal-value-Bqz8wc7L.js} +97 -46
- package/dist/chunks/{report-preferences-dialog-C2YUIwKG.js → report-preferences-dialog-l54wJyYE.js} +68 -63
- package/dist/chunks/{report-runtime-context-DoIUr3MP.js → report-runtime-context-BITkNSDa.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-q_iiNXE1.js → resolve-dashboard-input-context-DaDrZGuA.js} +3455 -1744
- package/dist/chunks/{save-DH4RyrnG.js → save-CHV1B1fL.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-8jqfI7hI.js → saved-dashboard-context-DFYBrE6O.js} +94 -95
- package/dist/chunks/{selection-filter-compiler-BKXmyLrS.js → selection-filter-compiler-CUDRnUxc.js} +19 -18
- package/dist/chunks/{selection-reducer-CV7K4FI6.js → selection-reducer-Bz5aywT4.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-E2XWyibu.js → semaphor-ready-indicator-C3EQEiD9.js} +36434 -37732
- package/dist/chunks/{shelf-drop-preview-context-C29EUzDp.js → shelf-drop-preview-context-BODiBlqT.js} +81 -82
- package/dist/chunks/{source-entity-resolution-BXI3nQ5Z.js → source-entity-resolution-DdDVXFB8.js} +6 -6
- package/dist/chunks/{switch-balDSHc7.js → switch-BW4yXSYs.js} +3 -3
- package/dist/chunks/{table-export-sheet-CK8tvh4d.js → table-export-sheet-bSXxGn-v.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-B77JsAzU.js → temporal-input-presentation-sk9gqLi6.js} +699 -741
- package/dist/chunks/{token-types-DhYH5YKb.js → token-types-BUK06hU2.js} +1 -1
- package/dist/chunks/{upload-Ufj8vjyn.js → upload-BnmuyPqW.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-9WsnzEO5.js → use-create-flow-overlay-state-BXY8-Cyz.js} +6 -6
- package/dist/chunks/{validators-BtaCFIEB.js → validators-BIM0FE31.js} +764 -885
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2278 -3030
- package/dist/data-app-sdk/index.js +43 -43
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +22 -22
- package/dist/format-utils/index.js +215 -209
- package/dist/index.js +225 -224
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-create-dialog.d.ts +23 -0
- package/dist/types/components/index.d.ts +1 -2
- package/dist/types/components/surfboard/filter/types.d.ts +3 -1
- package/dist/types/index.js +5 -5
- package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +59 -2
- package/dist/types/lib/interactions/get-click-context-from-matrix.d.ts +5 -0
- package/dist/types/lib/interactions/get-click-context-from-table.d.ts +45 -0
- package/dist/types/lib/print/print-inputs.d.ts +2 -1
- package/dist/types/lib/query-context/assemble-card-query.d.ts +2 -0
- package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +5 -0
- package/dist/types/lib/selection/selection-from-click-context.d.ts +41 -0
- package/dist/types/lib/types/common-types.d.ts +6 -0
- package/dist/types/lib/types/explorer-types.d.ts +7 -1
- package/dist/types/lib/types/interaction-types.d.ts +3 -1
- package/dist/types/lib/types/token-types.d.ts +0 -1
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +3 -1
- package/dist/types/shared/analytics-protocol/contracts.d.ts +9 -40
- package/dist/types/shared/analytics-protocol/selection-contract.d.ts +12 -2
- package/dist/types/shared/analytics-protocol/validators.d.ts +1 -2
- package/dist/types/shared/assistant-protocol/context.d.ts +8 -8
- package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/column-polarity-write.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +4 -2
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +12 -1
- package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +5 -3
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +3230 -4658
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +24 -2
- package/dist/types/shared/dashboard-authoring/changes/field-ref.d.ts +91 -0
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +27 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-create.d.ts +26 -0
- package/dist/types/shared/dashboard-authoring/click-to-filter-settings.d.ts +2 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/detail-date-presentation.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +8 -6
- package/dist/types/shared/dashboard-authoring/measure-calculations/apply.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/dates.d.ts +41 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/index.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/options.d.ts +63 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/read.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/resolve.d.ts +79 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +934 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/sentences.d.ts +4 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/set.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/transform.d.ts +63 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/window-transforms.d.ts +60 -0
- package/dist/types/shared/dashboard-authoring/new-card.d.ts +12 -1
- package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +2 -1
- package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +46 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +52 -2
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +13 -1
- package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +58 -0
- package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +55 -0
- package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +18 -0
- package/dist/types/shared/format-utils/document-print.d.ts +82 -0
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/raw-temporal.d.ts +2 -7
- package/dist/types/shared/temporal/index.d.ts +1 -0
- package/dist/types/shared/temporal/raw-temporal-equality.d.ts +19 -0
- package/dist/types/shared/temporal/raw-temporal-value.d.ts +29 -0
- package/dist/types/shared/temporal/zoned-wall-clock.d.ts +6 -0
- package/package.json +1 -1
- package/dist/chunks/custom-visual-inputs-DfolidZ9.js +0 -292
- package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +0 -1718
- package/dist/types/components/dashboard/ai-dashboard-create-dialog.d.ts +0 -38
- package/dist/types/components/dashboard/dashboard-create-template.d.ts +0 -10
- package/dist/types/lib/hooks/use-dashboard-authoring.d.ts +0 -49
- package/dist/types/shared/dashboard-authoring/artifact-compiler.d.ts +0 -6
- package/dist/types/shared/dashboard-authoring/contracts.d.ts +0 -106
- package/dist/types/shared/dashboard-authoring/protocol-adapter.d.ts +0 -7
- package/dist/types/shared/dashboard-authoring/source-matching.d.ts +0 -34
- package/dist/types/shared/dashboard-authoring/validators.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, b as r, c as o, p as d, d as n, e as p } from "../chunks/saved-dashboard-context-
|
|
1
|
+
import { A as e, a as t, b as r, c as o, p as d, d as n, e as p } from "../chunks/saved-dashboard-context-DFYBrE6O.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AssistantContextSourceError,
|
|
4
4
|
t as assistantCardReplayFields,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z as e } from "zod";
|
|
2
|
-
import { s as x } from "../chunks/analytics-base-schemas-
|
|
3
|
-
import { a as g, A as s, b as T, c } from "../chunks/context-
|
|
4
|
-
import { e as q, j as O, m as F, d as L, l as $, g as M, k as U, h as j, i as w, f as P, r as V } from "../chunks/context-
|
|
5
|
-
import { t as y } from "../chunks/model-change-
|
|
6
|
-
import { A as J, m as K, C as X, e as z, k as G, j as H, f as W, n as Q, q as Z, s as ee, h as se, l as ae, i as te, d as oe, a as re, c as ne, b as de, g as ie, v as ce, w as le } from "../chunks/model-change-
|
|
2
|
+
import { s as x } from "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
3
|
+
import { a as g, A as s, b as T, c } from "../chunks/context-R31TSL5V.js";
|
|
4
|
+
import { e as q, j as O, m as F, d as L, l as $, g as M, k as U, h as j, i as w, f as P, r as V } from "../chunks/context-R31TSL5V.js";
|
|
5
|
+
import { t as y } from "../chunks/model-change-T1cRkh3m.js";
|
|
6
|
+
import { A as J, m as K, C as X, e as z, k as G, j as H, f as W, n as Q, q as Z, s as ee, h as se, l as ae, i as te, d as oe, a as re, c as ne, b as de, g as ie, v as ce, w as le } from "../chunks/model-change-T1cRkh3m.js";
|
|
7
7
|
import { p as Se, a as be, r as me } from "../chunks/availability-Bp5Gfu1I.js";
|
|
8
8
|
import { A as Ae, a as fe, D as pe, i as xe } from "../chunks/conversation-sQiWYUOb.js";
|
|
9
9
|
const C = [
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r, Fragment as de } from "react/jsx-runtime";
|
|
2
2
|
import b from "react";
|
|
3
|
-
import { c as ee, P as ue, a as pe, B as C, b as be, C as ze, R as ge, L as ce, X as De, S as ie, d as je, T as Ie, e as Je, f as L, g as Le, h as $, i as $e, j as _e, k as Ue, l as Ve, m as T, n as X, o as Y, p as q, I as fe, q as Z, r as K, s as me, t as he, u as ke, v as xe, w as ye, x as Me } from "../chunks/switch-
|
|
3
|
+
import { c as ee, P as ue, a as pe, B as C, b as be, C as ze, R as ge, L as ce, X as De, S as ie, d as je, T as Ie, e as Je, f as L, g as Le, h as $, i as $e, j as _e, k as Ue, l as Ve, m as T, n as X, o as Y, p as q, I as fe, q as Z, r as K, s as me, t as he, u as ke, v as xe, w as ye, x as Me } from "../chunks/switch-BW4yXSYs.js";
|
|
4
4
|
import { A as Ge, p as We } from "../chunks/color-CJvdlFM_.js";
|
|
5
5
|
import "../chunks/index-CuHybtft.js";
|
|
6
|
-
import "../chunks/validators-
|
|
7
|
-
import "../chunks/matrix-operation-contract-
|
|
8
|
-
import "../chunks/analytics-base-schemas-
|
|
6
|
+
import "../chunks/validators-BIM0FE31.js";
|
|
7
|
+
import "../chunks/matrix-operation-contract-DsLdFdSa.js";
|
|
8
|
+
import "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
9
9
|
import "zod";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
11
|
import { c as Q } from "../chunks/_commonjsHelpers-DimLPMtv.js";
|
|
12
12
|
import { r as He, v as Xe, A as Ye } from "../chunks/index-CLIro-EG.js";
|
|
13
|
-
import { P as _ } from "../chunks/palette-
|
|
14
|
-
import { B as qe } from "../chunks/braces-
|
|
15
|
-
import { U as Ze } from "../chunks/upload-
|
|
16
|
-
import { S as Ke } from "../chunks/save-
|
|
17
|
-
import { L as Qe } from "../chunks/layout-grid-
|
|
13
|
+
import { P as _ } from "../chunks/palette-p1XSJFgB.js";
|
|
14
|
+
import { B as qe } from "../chunks/braces-DzgoQC64.js";
|
|
15
|
+
import { U as Ze } from "../chunks/upload-BnmuyPqW.js";
|
|
16
|
+
import { S as Ke } from "../chunks/save-CHV1B1fL.js";
|
|
17
|
+
import { L as Qe } from "../chunks/layout-grid-BM65viQh.js";
|
|
18
18
|
/**
|
|
19
19
|
* @license lucide-react v0.453.0 - ISC
|
|
20
20
|
*
|
package/dist/briefings/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../chunks/temporal-input-presentation-
|
|
2
|
-
import "../chunks/validators-
|
|
1
|
+
import "../chunks/temporal-input-presentation-sk9gqLi6.js";
|
|
2
|
+
import "../chunks/validators-BIM0FE31.js";
|
|
3
3
|
import "../chunks/export-file-format-C-tJsxsf.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import "../chunks/matrix-operation-contract-
|
|
6
|
-
import "../chunks/analytics-base-schemas-
|
|
5
|
+
import "../chunks/matrix-operation-contract-DsLdFdSa.js";
|
|
6
|
+
import "../chunks/analytics-base-schemas-BaIQrEzX.js";
|
|
7
7
|
import "../value-format-preferences/index.js";
|
|
8
|
-
import { y as g, H as l, a0 as B, C as m, B as c, A as d, I as T, z as E, D as I, M as A, X as h, i as p, Y as u, Z as C, n as b, l as F, m as D, N as S, k as _, P as N, f as R, e as y, Q as M, t as O, q as x, c as G, d as v, G as L, F as U, h as z, b as H, a as J, a2 as V, g as P, _ as q, T as X, a1 as K, U as Q, E as j, $ as k, r as W, j as Y, V as Z, W as $, o as w, J as ii, O as ei, L as ai, p as ri, s as ti, K as si, R as ni, S as oi } from "../chunks/index-
|
|
8
|
+
import { y as g, H as l, a0 as B, C as m, B as c, A as d, I as T, z as E, D as I, M as A, X as h, i as p, Y as u, Z as C, n as b, l as F, m as D, N as S, k as _, P as N, f as R, e as y, Q as M, t as O, q as x, c as G, d as v, G as L, F as U, h as z, b as H, a as J, a2 as V, g as P, _ as q, T as X, a1 as K, U as Q, E as j, $ as k, r as W, j as Y, V as Z, W as $, o as w, J as ii, O as ei, L as ai, p as ri, s as ti, K as si, R as ni, S as oi } from "../chunks/index-CNGkfUp4.js";
|
|
9
9
|
export {
|
|
10
10
|
g as BRIEFING_ARTIFACT_FORMATS,
|
|
11
11
|
l as BRIEFING_ATTACHMENT_FORMATS,
|
package/dist/chunks/{analytics-base-schemas-CB3oFAXk.js → analytics-base-schemas-BaIQrEzX.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z as e } from "zod";
|
|
2
|
-
const
|
|
2
|
+
const Z = [
|
|
3
3
|
"missing_dependency",
|
|
4
4
|
"missing_relationship",
|
|
5
5
|
"population_required",
|
|
6
6
|
"ambiguous_relationship"
|
|
7
7
|
];
|
|
8
8
|
function ve(t) {
|
|
9
|
-
return
|
|
9
|
+
return Z.includes(
|
|
10
10
|
t
|
|
11
11
|
);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Te = 200, D = [
|
|
14
14
|
"second",
|
|
15
15
|
"minute",
|
|
16
16
|
"hour",
|
|
@@ -20,10 +20,10 @@ const Re = 200, D = [
|
|
|
20
20
|
"quarter",
|
|
21
21
|
"year"
|
|
22
22
|
];
|
|
23
|
-
function
|
|
23
|
+
function ke(t) {
|
|
24
24
|
return typeof t == "string" && D.includes(t);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const B = [
|
|
27
27
|
"week_of_short",
|
|
28
28
|
"week_of_long",
|
|
29
29
|
"quarter_short",
|
|
@@ -35,28 +35,28 @@ const Z = [
|
|
|
35
35
|
"long",
|
|
36
36
|
"numeric",
|
|
37
37
|
"iso"
|
|
38
|
-
],
|
|
38
|
+
], Re = {
|
|
39
39
|
invalidMetadata: "invalid_raw_temporal_metadata"
|
|
40
40
|
};
|
|
41
|
-
function
|
|
41
|
+
function z(t) {
|
|
42
42
|
return t === "second" || t === "minute" || t === "hour" ? "datetime" : "date";
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const Ie = {
|
|
45
45
|
missingMetadata: "missing_temporal_bucket_metadata",
|
|
46
46
|
invalidMetadata: "invalid_temporal_bucket_metadata",
|
|
47
47
|
invalidValue: "invalid_temporal_bucket_value"
|
|
48
|
-
},
|
|
49
|
-
function
|
|
48
|
+
}, xe = "__auto_count__";
|
|
49
|
+
function j(t) {
|
|
50
50
|
try {
|
|
51
51
|
return new Intl.DateTimeFormat("en-US", { timeZone: t }).format(), !0;
|
|
52
52
|
} catch {
|
|
53
53
|
return !1;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const G = 20;
|
|
57
57
|
function d(t) {
|
|
58
58
|
if (!(typeof t != "number" || !Number.isFinite(t)))
|
|
59
|
-
return Math.max(0, Math.min(
|
|
59
|
+
return Math.max(0, Math.min(G, Math.trunc(t)));
|
|
60
60
|
}
|
|
61
61
|
function s(t) {
|
|
62
62
|
return typeof t == "string" ? t : void 0;
|
|
@@ -90,12 +90,12 @@ function W(t) {
|
|
|
90
90
|
const { scale: i, ...b } = t;
|
|
91
91
|
return { ...b, percentValueMode: "whole" };
|
|
92
92
|
}
|
|
93
|
-
const
|
|
93
|
+
const n = t.minimumFractionDigits ?? (t.maximumFractionDigits === void 0 ? 1 : 0), o = t.maximumFractionDigits ?? Math.max(n, 1);
|
|
94
94
|
return c({
|
|
95
95
|
type: "number",
|
|
96
96
|
scale: a === "whole" ? t.scale : t.scale * 100,
|
|
97
|
-
minimumFractionDigits:
|
|
98
|
-
maximumFractionDigits:
|
|
97
|
+
minimumFractionDigits: n,
|
|
98
|
+
maximumFractionDigits: o,
|
|
99
99
|
useGrouping: t.useGrouping,
|
|
100
100
|
prefix: t.prefix,
|
|
101
101
|
suffix: `%${t.suffix ?? ""}`,
|
|
@@ -105,14 +105,14 @@ function W(t) {
|
|
|
105
105
|
}
|
|
106
106
|
function X(t) {
|
|
107
107
|
const a = t.type === "percentage" ? "percent" : t.type;
|
|
108
|
-
let
|
|
108
|
+
let n = d(t.minimumFractionDigits), o = d(t.maximumFractionDigits);
|
|
109
109
|
const i = d(t.decimals);
|
|
110
|
-
|
|
111
|
-
const b = t.negativeStyle === "parentheses" || t.negativeStyle === "minus" ? t.negativeStyle : void 0,
|
|
110
|
+
n === void 0 && o === void 0 && i !== void 0 && (n = i, o = i), n !== void 0 && o !== void 0 && n > o && ([n, o] = [o, n]);
|
|
111
|
+
const b = t.negativeStyle === "parentheses" || t.negativeStyle === "minus" ? t.negativeStyle : void 0, P = t.signDisplay === "auto" || t.signDisplay === "always" || t.signDisplay === "exceptZero" || t.signDisplay === "never" ? t.signDisplay : void 0, m = c({
|
|
112
112
|
type: a,
|
|
113
113
|
currency: a === "currency" ? L(t.currency) : void 0,
|
|
114
|
-
minimumFractionDigits:
|
|
115
|
-
maximumFractionDigits:
|
|
114
|
+
minimumFractionDigits: n,
|
|
115
|
+
maximumFractionDigits: o,
|
|
116
116
|
useGrouping: _(t.useGrouping) ?? _(t.thousandsSeparator),
|
|
117
117
|
prefix: s(t.prefix),
|
|
118
118
|
// Intl adds the % of a percent; a stored '%' suffix on one is the same sign.
|
|
@@ -121,7 +121,7 @@ function X(t) {
|
|
|
121
121
|
compact: _(t.compact),
|
|
122
122
|
scale: $(t.scale),
|
|
123
123
|
percentValueMode: a === "percent" ? t.percentValueMode === "whole" ? "whole" : "fraction" : void 0,
|
|
124
|
-
signDisplay:
|
|
124
|
+
signDisplay: P
|
|
125
125
|
});
|
|
126
126
|
return m.type === "percent" && m.scale !== void 0 ? W(m) : m;
|
|
127
127
|
}
|
|
@@ -129,18 +129,18 @@ function Y(t) {
|
|
|
129
129
|
if (!t || typeof t != "object" || Array.isArray(t)) return;
|
|
130
130
|
const a = t;
|
|
131
131
|
if (a.type === "temporal_bucket") {
|
|
132
|
-
const
|
|
133
|
-
return
|
|
132
|
+
const n = a.presentation;
|
|
133
|
+
return n && typeof n == "object" && !Array.isArray(n) ? { type: "temporal_bucket", presentation: n } : void 0;
|
|
134
134
|
}
|
|
135
135
|
if (typeof a.type == "string" && H.has(a.type))
|
|
136
136
|
return X(a);
|
|
137
137
|
if (a.type === "date" || a.type === "datetime") {
|
|
138
|
-
const
|
|
138
|
+
const n = S(a.pattern), o = a.preset === "short" || a.preset === "long" || a.preset === "numeric" || a.preset === "iso" ? a.preset : void 0, i = n && (a.dialect === "date_fns" || a.dialect === "semaphor_tokens") ? a.dialect : void 0;
|
|
139
139
|
return c({
|
|
140
140
|
type: "date",
|
|
141
|
-
pattern:
|
|
141
|
+
pattern: n,
|
|
142
142
|
dialect: i,
|
|
143
|
-
preset:
|
|
143
|
+
preset: n ? void 0 : o,
|
|
144
144
|
relative: a.relative === !0 ? !0 : void 0,
|
|
145
145
|
timezone: S(a.timezone),
|
|
146
146
|
sourceTimezone: S(a.sourceTimezone),
|
|
@@ -149,14 +149,14 @@ function Y(t) {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
if (a.type === "duration") {
|
|
152
|
-
const
|
|
152
|
+
const n = d(a.maxUnits);
|
|
153
153
|
return c({
|
|
154
154
|
type: "duration",
|
|
155
155
|
inputUnit: v(a.inputUnit),
|
|
156
156
|
outputStyle: a.outputStyle === "compact" || a.outputStyle === "digital" || a.outputStyle === "long" ? a.outputStyle : void 0,
|
|
157
157
|
largestUnit: v(a.largestUnit),
|
|
158
158
|
smallestUnit: v(a.smallestUnit),
|
|
159
|
-
maxUnits:
|
|
159
|
+
maxUnits: n === void 0 ? void 0 : Math.min(n, 10),
|
|
160
160
|
prefix: s(a.prefix),
|
|
161
161
|
suffix: s(a.suffix),
|
|
162
162
|
negativeStyle: a.negativeStyle === "parentheses" || a.negativeStyle === "minus" ? a.negativeStyle : void 0
|
|
@@ -197,13 +197,13 @@ const J = e.record(e.string(), e.unknown()), p = e.array(J), u = e.enum([
|
|
|
197
197
|
"date",
|
|
198
198
|
"datetime",
|
|
199
199
|
"unknown"
|
|
200
|
-
]),
|
|
200
|
+
]), T = e.union([e.number(), e.string(), e.null()]), k = e.enum([
|
|
201
201
|
"millisecond",
|
|
202
202
|
"second",
|
|
203
203
|
"minute",
|
|
204
204
|
"hour",
|
|
205
205
|
"day"
|
|
206
|
-
]), ee = e.enum(
|
|
206
|
+
]), ee = e.enum(B), te = e.discriminatedUnion("mode", [
|
|
207
207
|
e.object({ mode: e.literal("auto") }).strict(),
|
|
208
208
|
e.object({
|
|
209
209
|
mode: e.literal("preset"),
|
|
@@ -213,11 +213,11 @@ const J = e.record(e.string(), e.unknown()), p = e.array(J), u = e.enum([
|
|
|
213
213
|
mode: e.literal("pattern"),
|
|
214
214
|
pattern: e.string().min(1)
|
|
215
215
|
}).strict()
|
|
216
|
-
]),
|
|
216
|
+
]), w = e.object({
|
|
217
217
|
type: e.literal("temporal_bucket"),
|
|
218
218
|
presentation: te
|
|
219
219
|
}).strict(), ae = e.object({
|
|
220
|
-
tz: e.string().min(1).refine(
|
|
220
|
+
tz: e.string().min(1).refine(j, {
|
|
221
221
|
message: "tz must be a valid IANA timezone"
|
|
222
222
|
}),
|
|
223
223
|
weekStart: e.number().int().min(0).max(6),
|
|
@@ -225,18 +225,22 @@ const J = e.record(e.string(), e.unknown()), p = e.array(J), u = e.enum([
|
|
|
225
225
|
kind: e.literal("month_aligned"),
|
|
226
226
|
yearStartMonth: e.number().int().min(1).max(12)
|
|
227
227
|
}).strict().optional()
|
|
228
|
-
}).strict(),
|
|
228
|
+
}).strict(), R = e.object({
|
|
229
229
|
kind: e.literal("temporal_bucket"),
|
|
230
230
|
granularity: Q,
|
|
231
231
|
calendar: ae
|
|
232
|
-
}).strict(),
|
|
232
|
+
}).strict(), ne = e.object({
|
|
233
233
|
kind: e.literal("raw_temporal"),
|
|
234
234
|
valueKind: e.enum(["date", "wall_datetime", "instant"])
|
|
235
|
-
}).strict(),
|
|
235
|
+
}).strict(), De = e.object({
|
|
236
|
+
kind: e.literal("raw_temporal"),
|
|
237
|
+
valueKind: e.enum(["date", "wall_datetime", "instant"]),
|
|
238
|
+
tz: e.string().min(1).refine(j, "tz must be an IANA timezone.")
|
|
239
|
+
}).strict(), r = e.string(), I = e.number().int().min(0).max(20), F = e.object({
|
|
236
240
|
type: e.enum(["number", "currency", "percent", "scientific"]),
|
|
237
241
|
currency: e.string().regex(/^[A-Z]{3}$/, "Expected an ISO 4217 currency code.").optional(),
|
|
238
|
-
minimumFractionDigits:
|
|
239
|
-
maximumFractionDigits:
|
|
242
|
+
minimumFractionDigits: I.optional(),
|
|
243
|
+
maximumFractionDigits: I.optional(),
|
|
240
244
|
useGrouping: e.boolean().optional(),
|
|
241
245
|
prefix: r.optional(),
|
|
242
246
|
suffix: r.optional(),
|
|
@@ -246,8 +250,8 @@ const J = e.record(e.string(), e.unknown()), p = e.array(J), u = e.enum([
|
|
|
246
250
|
percentValueMode: e.enum(["fraction", "whole"]).optional(),
|
|
247
251
|
signDisplay: e.enum(["auto", "always", "exceptZero", "never"]).optional()
|
|
248
252
|
}).strict().superRefine((t, a) => {
|
|
249
|
-
const { minimumFractionDigits:
|
|
250
|
-
|
|
253
|
+
const { minimumFractionDigits: n, maximumFractionDigits: o } = t;
|
|
254
|
+
n !== void 0 && o !== void 0 && n > o && a.addIssue({
|
|
251
255
|
code: e.ZodIssueCode.custom,
|
|
252
256
|
path: ["minimumFractionDigits"],
|
|
253
257
|
message: "minimumFractionDigits must not exceed maximumFractionDigits."
|
|
@@ -268,11 +272,11 @@ const J = e.record(e.string(), e.unknown()), p = e.array(J), u = e.enum([
|
|
|
268
272
|
path: ["percentValueMode"],
|
|
269
273
|
message: "Only a percent format has percentValueMode."
|
|
270
274
|
});
|
|
271
|
-
}),
|
|
275
|
+
}), oe = ["short", "long", "numeric", "iso"], A = e.object({
|
|
272
276
|
type: e.literal("date"),
|
|
273
277
|
pattern: e.string().min(1).optional(),
|
|
274
278
|
dialect: e.enum(["semaphor_tokens", "date_fns"]).optional(),
|
|
275
|
-
preset: e.enum(
|
|
279
|
+
preset: e.enum(oe).optional(),
|
|
276
280
|
relative: e.boolean().optional(),
|
|
277
281
|
timezone: e.string().min(1).optional(),
|
|
278
282
|
sourceTimezone: e.string().min(1).optional(),
|
|
@@ -288,25 +292,25 @@ const J = e.record(e.string(), e.unknown()), p = e.array(J), u = e.enum([
|
|
|
288
292
|
path: ["dialect"],
|
|
289
293
|
message: "dialect names the token set of a pattern."
|
|
290
294
|
});
|
|
291
|
-
}),
|
|
295
|
+
}), M = e.object({
|
|
292
296
|
type: e.literal("duration"),
|
|
293
|
-
inputUnit:
|
|
297
|
+
inputUnit: k.optional(),
|
|
294
298
|
outputStyle: e.enum(["compact", "digital", "long"]).optional(),
|
|
295
|
-
largestUnit:
|
|
296
|
-
smallestUnit:
|
|
299
|
+
largestUnit: k.optional(),
|
|
300
|
+
smallestUnit: k.optional(),
|
|
297
301
|
maxUnits: e.number().int().min(0).max(10).optional(),
|
|
298
302
|
prefix: r.optional(),
|
|
299
303
|
suffix: r.optional(),
|
|
300
304
|
negativeStyle: e.enum(["minus", "parentheses"]).optional()
|
|
301
|
-
}).strict(),
|
|
305
|
+
}).strict(), C = e.object({
|
|
302
306
|
type: e.literal("string"),
|
|
303
307
|
prefix: r.optional(),
|
|
304
308
|
suffix: r.optional()
|
|
305
|
-
}).strict(),
|
|
306
|
-
w,
|
|
309
|
+
}).strict(), O = e.union([
|
|
307
310
|
F,
|
|
308
311
|
A,
|
|
309
|
-
M
|
|
312
|
+
M,
|
|
313
|
+
C
|
|
310
314
|
]), ie = e.unknown().superRefine((t, a) => {
|
|
311
315
|
t && typeof t == "object" && "locale" in t && ["number", "currency", "percent", "percentage", "scientific"].includes(
|
|
312
316
|
String(t.type)
|
|
@@ -315,46 +319,46 @@ const J = e.record(e.string(), e.unknown()), p = e.array(J), u = e.enum([
|
|
|
315
319
|
path: ["locale"],
|
|
316
320
|
message: "Numeric semantic formats inherit locale from viewer preferences."
|
|
317
321
|
});
|
|
318
|
-
}).transform((t) => Y(t) ?? t).pipe(
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
]),
|
|
322
|
+
}).transform((t) => Y(t) ?? t).pipe(O), je = e.union([
|
|
323
|
+
O,
|
|
324
|
+
w
|
|
325
|
+
]), we = ["number", "currency", "percent", "scientific", "duration", "date", "string", "temporal_bucket"];
|
|
322
326
|
function se(t) {
|
|
323
327
|
switch (t) {
|
|
324
328
|
case "number":
|
|
325
329
|
case "currency":
|
|
326
330
|
case "percent":
|
|
327
331
|
case "scientific":
|
|
328
|
-
return w;
|
|
329
|
-
case "date":
|
|
330
332
|
return F;
|
|
331
|
-
case "
|
|
333
|
+
case "date":
|
|
332
334
|
return A;
|
|
333
|
-
case "
|
|
335
|
+
case "duration":
|
|
334
336
|
return M;
|
|
337
|
+
case "string":
|
|
338
|
+
return C;
|
|
335
339
|
case "temporal_bucket":
|
|
336
|
-
return
|
|
340
|
+
return w;
|
|
337
341
|
default:
|
|
338
342
|
return;
|
|
339
343
|
}
|
|
340
344
|
}
|
|
341
|
-
function
|
|
345
|
+
function Fe(t) {
|
|
342
346
|
let a = se(t);
|
|
343
347
|
for (; a && !(a instanceof e.ZodObject); )
|
|
344
348
|
a = a instanceof e.ZodEffects ? a.innerType() : void 0;
|
|
345
349
|
return a ? Object.keys(a.shape) : void 0;
|
|
346
350
|
}
|
|
347
351
|
function re(t, a) {
|
|
348
|
-
return e.object(t).passthrough().superRefine((
|
|
352
|
+
return e.object(t).passthrough().superRefine((n, o) => {
|
|
349
353
|
for (const i of a)
|
|
350
|
-
Object.prototype.hasOwnProperty.call(
|
|
354
|
+
Object.prototype.hasOwnProperty.call(n, i) || o.addIssue({
|
|
351
355
|
code: "custom",
|
|
352
356
|
path: [i],
|
|
353
357
|
message: `Required field "${i}" is missing.`
|
|
354
358
|
});
|
|
355
359
|
});
|
|
356
360
|
}
|
|
357
|
-
const
|
|
361
|
+
const E = e.object({
|
|
358
362
|
kind: e.literal("semantic"),
|
|
359
363
|
domainId: e.string(),
|
|
360
364
|
datasetName: e.string(),
|
|
@@ -375,8 +379,8 @@ const O = e.object({
|
|
|
375
379
|
connectionId: e.string(),
|
|
376
380
|
dialect: g.optional(),
|
|
377
381
|
label: e.string().optional()
|
|
378
|
-
}).passthrough(),
|
|
379
|
-
|
|
382
|
+
}).passthrough(), N = e.union([
|
|
383
|
+
E,
|
|
380
384
|
ce,
|
|
381
385
|
le
|
|
382
386
|
]), pe = e.object({
|
|
@@ -384,11 +388,11 @@ const O = e.object({
|
|
|
384
388
|
label: e.string().optional(),
|
|
385
389
|
role: h.optional(),
|
|
386
390
|
dataType: y.optional(),
|
|
387
|
-
source:
|
|
391
|
+
source: N.optional(),
|
|
388
392
|
aggregate: u.optional()
|
|
389
|
-
}).passthrough(),
|
|
393
|
+
}).passthrough(), V = pe, ue = e.object({
|
|
390
394
|
kind: e.literal("field"),
|
|
391
|
-
field:
|
|
395
|
+
field: V,
|
|
392
396
|
aggregate: u.optional()
|
|
393
397
|
}).passthrough(), me = e.object({
|
|
394
398
|
kind: e.literal("derived_field"),
|
|
@@ -418,11 +422,11 @@ const O = e.object({
|
|
|
418
422
|
]).optional(),
|
|
419
423
|
format: ie.optional(),
|
|
420
424
|
tags: e.array(e.string()).optional()
|
|
421
|
-
}).passthrough(),
|
|
425
|
+
}).passthrough(), U = me, Ae = V.and(
|
|
422
426
|
e.object({
|
|
423
|
-
derivedField:
|
|
427
|
+
derivedField: U.optional()
|
|
424
428
|
}).passthrough()
|
|
425
|
-
), de =
|
|
429
|
+
), de = E, ge = e.object({
|
|
426
430
|
kind: e.literal("physical"),
|
|
427
431
|
connectionId: e.string().optional(),
|
|
428
432
|
connectionType: e.string().optional(),
|
|
@@ -440,7 +444,7 @@ const O = e.object({
|
|
|
440
444
|
de,
|
|
441
445
|
ge,
|
|
442
446
|
he
|
|
443
|
-
]),
|
|
447
|
+
]), Me = e.object({
|
|
444
448
|
key: e.string().optional(),
|
|
445
449
|
name: e.string(),
|
|
446
450
|
label: e.string().optional(),
|
|
@@ -456,10 +460,10 @@ const O = e.object({
|
|
|
456
460
|
role: h.optional(),
|
|
457
461
|
dataType: y.optional(),
|
|
458
462
|
aggregate: u.optional(),
|
|
459
|
-
source:
|
|
460
|
-
derivedField:
|
|
461
|
-
temporalBucket:
|
|
462
|
-
rawTemporal:
|
|
463
|
+
source: N.optional(),
|
|
464
|
+
derivedField: U.optional(),
|
|
465
|
+
temporalBucket: R.optional(),
|
|
466
|
+
rawTemporal: ne.optional(),
|
|
463
467
|
pivotIdentity: e.object({
|
|
464
468
|
metricId: e.string().min(1),
|
|
465
469
|
metricAlias: e.string().min(1),
|
|
@@ -467,7 +471,7 @@ const O = e.object({
|
|
|
467
471
|
e.object({
|
|
468
472
|
fieldId: e.string().min(1),
|
|
469
473
|
value: e.string().nullable(),
|
|
470
|
-
temporalBucket:
|
|
474
|
+
temporalBucket: R.optional()
|
|
471
475
|
}).strict()
|
|
472
476
|
)
|
|
473
477
|
}).strict().optional()
|
|
@@ -477,30 +481,30 @@ const O = e.object({
|
|
|
477
481
|
path: ["rawTemporal"],
|
|
478
482
|
message: "A result column cannot carry both temporalBucket and rawTemporal metadata."
|
|
479
483
|
}), t.temporalBucket) {
|
|
480
|
-
const
|
|
484
|
+
const n = z(
|
|
481
485
|
t.temporalBucket.granularity
|
|
482
486
|
);
|
|
483
|
-
t.dataType !==
|
|
487
|
+
t.dataType !== n && a.addIssue({
|
|
484
488
|
code: e.ZodIssueCode.custom,
|
|
485
489
|
path: ["dataType"],
|
|
486
|
-
message: `${t.temporalBucket.granularity} temporal buckets require dataType ${
|
|
490
|
+
message: `${t.temporalBucket.granularity} temporal buckets require dataType ${n}.`
|
|
487
491
|
});
|
|
488
492
|
}
|
|
489
493
|
if (t.rawTemporal) {
|
|
490
|
-
const
|
|
491
|
-
t.dataType !==
|
|
494
|
+
const n = t.rawTemporal.valueKind === "date" ? "date" : "datetime";
|
|
495
|
+
t.dataType !== n && a.addIssue({
|
|
492
496
|
code: e.ZodIssueCode.custom,
|
|
493
497
|
path: ["dataType"],
|
|
494
|
-
message: `${t.rawTemporal.valueKind} raw temporal values require dataType ${
|
|
498
|
+
message: `${t.rawTemporal.valueKind} raw temporal values require dataType ${n}.`
|
|
495
499
|
});
|
|
496
500
|
}
|
|
497
|
-
}),
|
|
501
|
+
}), Ce = e.object({
|
|
498
502
|
records: p,
|
|
499
503
|
columns: e.array(l).optional()
|
|
500
|
-
}).passthrough(),
|
|
504
|
+
}).passthrough(), Oe = e.object({
|
|
501
505
|
records: p,
|
|
502
506
|
columns: e.array(l)
|
|
503
|
-
}).passthrough(),
|
|
507
|
+
}).passthrough(), q = e.object({
|
|
504
508
|
code: e.string(),
|
|
505
509
|
message: e.string().optional(),
|
|
506
510
|
invalidField: e.string().optional(),
|
|
@@ -509,17 +513,17 @@ const O = e.object({
|
|
|
509
513
|
validDateCandidates: e.array(e.string()).optional(),
|
|
510
514
|
validDimensionCandidates: e.array(e.string()).optional(),
|
|
511
515
|
recommendedNextStep: e.string()
|
|
512
|
-
}).passthrough(),
|
|
516
|
+
}).passthrough(), x = e.object({
|
|
513
517
|
code: e.string(),
|
|
514
518
|
message: e.string(),
|
|
515
519
|
path: e.string().optional(),
|
|
516
520
|
fieldRole: e.enum(["measure", "date", "dimension", "input", "source", "sql"]).optional(),
|
|
517
|
-
repairHint:
|
|
518
|
-
}).passthrough(),
|
|
521
|
+
repairHint: q.optional()
|
|
522
|
+
}).passthrough(), Ee = e.object({
|
|
519
523
|
ok: e.boolean(),
|
|
520
|
-
errors: e.array(
|
|
521
|
-
warnings: e.array(
|
|
522
|
-
repairHints: e.array(
|
|
524
|
+
errors: e.array(x),
|
|
525
|
+
warnings: e.array(x),
|
|
526
|
+
repairHints: e.array(q)
|
|
523
527
|
}).passthrough(), fe = e.object({
|
|
524
528
|
page: e.number(),
|
|
525
529
|
pageSize: e.number(),
|
|
@@ -535,20 +539,20 @@ const O = e.object({
|
|
|
535
539
|
rowLimitExceeded: e.boolean().optional(),
|
|
536
540
|
limit: e.number().optional(),
|
|
537
541
|
pagination: fe.optional()
|
|
538
|
-
},
|
|
542
|
+
}, Ne = e.object({
|
|
539
543
|
...f,
|
|
540
544
|
kind: e.literal("metric"),
|
|
541
|
-
primaryValue:
|
|
542
|
-
measures: e.record(
|
|
545
|
+
primaryValue: T,
|
|
546
|
+
measures: e.record(T).optional(),
|
|
543
547
|
missingMeasures: e.array(e.string()).optional(),
|
|
544
548
|
comparison: e.object({
|
|
545
549
|
kind: e.enum(["previous_period", "previous_year", "target"]),
|
|
546
|
-
value:
|
|
550
|
+
value: T.optional(),
|
|
547
551
|
delta: e.union([e.number(), e.null()]).optional(),
|
|
548
552
|
deltaPercent: e.union([e.number(), e.null()]).optional()
|
|
549
553
|
}).passthrough().optional(),
|
|
550
554
|
records: p.optional()
|
|
551
|
-
}).passthrough(),
|
|
555
|
+
}).passthrough(), Ve = e.object({
|
|
552
556
|
...f,
|
|
553
557
|
kind: e.literal("records"),
|
|
554
558
|
columns: e.array(l),
|
|
@@ -575,7 +579,7 @@ const O = e.object({
|
|
|
575
579
|
}), Se = e.object({
|
|
576
580
|
complete: e.boolean(),
|
|
577
581
|
reason: e.enum(["unsupported", "truncated"]).optional()
|
|
578
|
-
}),
|
|
582
|
+
}), Ue = e.object({
|
|
579
583
|
...f,
|
|
580
584
|
kind: e.literal("inputOptions"),
|
|
581
585
|
dependencyOutcomes: e.array(be).optional(),
|
|
@@ -591,7 +595,7 @@ const O = e.object({
|
|
|
591
595
|
["value"]
|
|
592
596
|
)
|
|
593
597
|
)
|
|
594
|
-
}).passthrough(),
|
|
598
|
+
}).passthrough(), qe = e.object({
|
|
595
599
|
...f,
|
|
596
600
|
kind: e.literal("sql"),
|
|
597
601
|
columns: e.array(l),
|
|
@@ -603,56 +607,57 @@ const O = e.object({
|
|
|
603
607
|
}).passthrough().optional()
|
|
604
608
|
}).passthrough();
|
|
605
609
|
export {
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
610
|
+
se as A,
|
|
611
|
+
Fe as B,
|
|
612
|
+
E as C,
|
|
613
|
+
ce as D,
|
|
614
|
+
le as E,
|
|
615
|
+
pe as F,
|
|
616
|
+
V as G,
|
|
617
|
+
me as H,
|
|
618
|
+
U as I,
|
|
615
619
|
Ae as J,
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
620
|
+
Me as K,
|
|
621
|
+
l as L,
|
|
622
|
+
Te as M,
|
|
619
623
|
Ce as N,
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
624
|
+
Z as O,
|
|
625
|
+
Oe as P,
|
|
626
|
+
x as Q,
|
|
627
|
+
Re as R,
|
|
628
|
+
xe as S,
|
|
629
|
+
Ie as T,
|
|
626
630
|
Ee as U,
|
|
627
631
|
Ne as V,
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
632
|
+
Ve as W,
|
|
633
|
+
be as X,
|
|
634
|
+
Se as Y,
|
|
631
635
|
Ue as Z,
|
|
632
|
-
|
|
633
|
-
|
|
636
|
+
qe as _,
|
|
637
|
+
z as a,
|
|
638
|
+
R as b,
|
|
634
639
|
ve as c,
|
|
635
640
|
D as d,
|
|
636
|
-
|
|
637
|
-
|
|
641
|
+
ke as e,
|
|
642
|
+
B as f,
|
|
638
643
|
p as g,
|
|
639
644
|
u as h,
|
|
640
|
-
|
|
645
|
+
j as i,
|
|
641
646
|
Q as j,
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
647
|
+
w as k,
|
|
648
|
+
ne as l,
|
|
649
|
+
De as m,
|
|
650
|
+
T as n,
|
|
651
|
+
F as o,
|
|
652
|
+
oe as p,
|
|
648
653
|
A as q,
|
|
649
654
|
J as r,
|
|
650
|
-
|
|
655
|
+
N as s,
|
|
651
656
|
Y as t,
|
|
652
657
|
M as u,
|
|
653
658
|
C as v,
|
|
654
|
-
|
|
655
|
-
|
|
659
|
+
O as w,
|
|
660
|
+
ie as x,
|
|
656
661
|
je as y,
|
|
657
|
-
|
|
662
|
+
we as z
|
|
658
663
|
};
|