react-semaphor 0.1.598 → 0.1.599
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 +329 -327
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +8 -8
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{add-to-dashboard-C86FsM8D.js → add-to-dashboard-ClhEIFst.js} +1 -1
- package/dist/chunks/{analytics-base-schemas-8wz9vqn_.js → analytics-base-schemas-DevrgqQb.js} +67 -60
- package/dist/chunks/{assistant-chat-DrI442Ld.js → assistant-chat-f3XuzrAm.js} +88 -89
- package/dist/chunks/{bookmark-impact-C6uWtNWF.js → bookmark-impact-B5hyttm2.js} +3 -3
- package/dist/chunks/{bookmark-state-BfeKmj5s.js → bookmark-state-h1OLXVjE.js} +153 -153
- package/dist/chunks/{card-filter-builder-CSKCSpNo.js → card-filter-builder-DfLqD2RV.js} +1035 -1063
- package/dist/chunks/{comparison-window-caption-3bum5j00.js → comparison-window-caption-DJDwP9XO.js} +6 -6
- package/dist/chunks/{context-CVXTFljo.js → context-BJoEFgNl.js} +1 -1
- package/dist/chunks/{dashboard-PYd63LbL.js → dashboard-CoI4aOUc.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-C2AuKs10.js → dashboard-briefing-launcher-RxYGtk-F.js} +255 -255
- package/dist/chunks/{dashboard-controls-BSbhyIkY.js → dashboard-controls-DeaXrtLK.js} +85 -85
- package/dist/chunks/{dashboard-json-Bd1rxD3y.js → dashboard-json-DvxKpKd_.js} +5 -5
- package/dist/chunks/dates-BhtO28Sn.js +164 -0
- package/dist/chunks/{edit-dashboard-visual-D_0ZiWev.js → edit-dashboard-visual-C4f5hONA.js} +5489 -5435
- package/dist/chunks/{filter-line-BdLyPYjH.js → filter-line-Dkg3yuOX.js} +6 -6
- package/dist/chunks/{filter-reach-copy-Dxn-mTuG.js → filter-reach-copy-Cl5Od38Q.js} +1740 -1643
- package/dist/chunks/{filter-value-text-C6g-nDUW.js → filter-value-text-CXyuLW9Q.js} +4 -4
- package/dist/chunks/{index-BHSDE54O.js → index-EKpTtkYF.js} +7 -7
- package/dist/chunks/{layout-grid-CYR-LVpl.js → layout-grid-DSrBSfPM.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-C0IGLTZH.js → matrix-analytical-definition-BuUSBDm7.js} +246 -218
- package/dist/chunks/{matrix-member-presentation-D5BIYuy5.js → matrix-member-presentation-B_2beBc0.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-RckfqkQm.js → matrix-operation-contract-DdK0J_KU.js} +36 -36
- package/dist/chunks/{metric-comparison-DsE8wdRh.js → metric-comparison-Bhz0V841.js} +2 -2
- package/dist/chunks/{paintbrush-xDDRjIyF.js → paintbrush-1UiU-uTz.js} +1 -1
- package/dist/chunks/{palette-CbOgFCy2.js → palette-DFIFf_-m.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Cnq55Uno.js → pivot-result-contract-expectations-Dk7WFR_u.js} +8 -8
- package/dist/chunks/{pivot-result-identity-b4-ugQhm.js → pivot-result-identity-CzzrJpEm.js} +1 -1
- package/dist/chunks/{raw-temporal-value-B9W38mi3.js → raw-temporal-value-BLvdaMng.js} +2 -2
- package/dist/chunks/{report-preferences-dialog-DTu3a7ce.js → report-preferences-dialog-CZaYsQLK.js} +14 -14
- package/dist/chunks/{report-runtime-context-BvJkcbar.js → report-runtime-context-CEGluufW.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-Bw-DesV2.js → resolve-dashboard-input-context-vPtbuDDz.js} +11811 -11331
- package/dist/chunks/{save-BgvAsp6X.js → save-CWQ02kHo.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-BFh0oOnF.js → saved-dashboard-context-C6X5nP4C.js} +97 -97
- package/dist/chunks/{selection-filter-compiler-DHYsq3yM.js → selection-filter-compiler-Ce4BpjRX.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-WvgHMnj8.js → semaphor-ready-indicator-BUiaKY6O.js} +59336 -58569
- package/dist/chunks/{shelf-drop-preview-context-D6HgYFJp.js → shelf-drop-preview-context-CwxWJjBv.js} +6 -6
- package/dist/chunks/{stored-dashboard-vlG0Knxi.js → stored-dashboard-Bmct-STp.js} +1200 -1183
- package/dist/chunks/{style-sheet-parts-ClmvtkSC.js → style-sheet-parts-BX7d7-2-.js} +198 -198
- package/dist/chunks/{table-export-sheet-Bv6tVuMu.js → table-export-sheet-BWSVTclx.js} +1 -1
- package/dist/chunks/{token-types-eMdcuB6j.js → token-types-CnlEiAdS.js} +1 -1
- package/dist/chunks/{upload-ClUeK8F0.js → upload-DsqUSS8l.js} +1 -1
- package/dist/chunks/{validators-DwhBEvnh.js → validators-D2Hm57lJ.js} +23 -13
- package/dist/chunks/{variable-draft-CauoSBN0.js → variable-draft-Bi-zUa_a.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2497 -2549
- package/dist/format-utils/index.js +14 -14
- package/dist/index.js +48 -48
- 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/components/surfboard/filter/types.d.ts +13 -1
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +0 -2
- package/dist/types/components/visual/data-table/types/data-table.d.ts +14 -21
- package/dist/types/index.js +5 -5
- package/dist/types/lib/dashboard-view-state/card-view-state.d.ts +11 -1
- package/dist/types/lib/dashboard-view-state/drill-path.d.ts +7 -0
- package/dist/types/lib/dashboard-viewer/table-view.d.ts +20 -0
- package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +8 -0
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +1 -0
- package/dist/types/lib/query-context/resolve-runtime-card-filters.d.ts +2 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +3 -1
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +64 -0
- package/dist/types/shared/analytics-protocol/column-filter-id.d.ts +4 -0
- package/dist/types/shared/analytics-protocol/contracts.d.ts +26 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/card-query-request.d.ts +12 -1
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +4 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +18 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-contract.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +8 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +3 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +29 -1
- package/dist/types/shared/usage-events/attribution.d.ts +2 -2
- package/dist/types/shared/usage-events/envelope.d.ts +2 -2
- package/dist/usage-events/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/aggregate-measure-field-DtKcEjG5.js +0 -22
- package/dist/chunks/dates-DHMCf-F7.js +0 -115
- package/dist/chunks/list-filter-B67GsjTw.js +0 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-
|
|
1
|
+
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-C6X5nP4C.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 g } from "../chunks/analytics-base-schemas-
|
|
3
|
-
import { a as p, A as s, b as x, c } from "../chunks/context-
|
|
4
|
-
import { e as L, k as B, l as q, o as F, g as U, d as M, n as $, h as P, m as j, i as w, j as V, f as Y, r as H } from "../chunks/context-
|
|
5
|
-
import { t as C } from "../chunks/add-to-dashboard-
|
|
6
|
-
import { A as K, n as W, C as G, e as X, M as z, l as Q, k as Z, f as ee, p as se, r as ae, u as te, x as oe, q as re, s as ne, h as de, m as ie, o as ce, i as le, d as ue, a as Se, j as Ae, c as me, b as he, g as be, v as fe, w as Te } from "../chunks/add-to-dashboard-
|
|
2
|
+
import { s as g } from "../chunks/analytics-base-schemas-DevrgqQb.js";
|
|
3
|
+
import { a as p, A as s, b as x, c } from "../chunks/context-BJoEFgNl.js";
|
|
4
|
+
import { e as L, k as B, l as q, o as F, g as U, d as M, n as $, h as P, m as j, i as w, j as V, f as Y, r as H } from "../chunks/context-BJoEFgNl.js";
|
|
5
|
+
import { t as C } from "../chunks/add-to-dashboard-ClhEIFst.js";
|
|
6
|
+
import { A as K, n as W, C as G, e as X, M as z, l as Q, k as Z, f as ee, p as se, r as ae, u as te, x as oe, q as re, s as ne, h as de, m as ie, o as ce, i as le, d as ue, a as Se, j as Ae, c as me, b as he, g as be, v as fe, w as Te } from "../chunks/add-to-dashboard-ClhEIFst.js";
|
|
7
7
|
import { p as pe, a as xe, r as Ce } from "../chunks/availability-Bp5Gfu1I.js";
|
|
8
8
|
import { A as ye, a as Ie, D as Ee, i as Ne } from "../chunks/conversation-sQiWYUOb.js";
|
|
9
9
|
const _ = [
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r, Fragment as ue } from "react/jsx-runtime";
|
|
2
2
|
import g, { useState as pe } from "react";
|
|
3
|
-
import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-
|
|
3
|
+
import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-BX7d7-2-.js";
|
|
4
4
|
import { v as dr, A as ne, d as cr, p as sr } from "../chunks/schema-C9NPiIru.js";
|
|
5
5
|
import { S as j, C as lr, a as ge, c as te } from "../chunks/pickers-DkqmtnTL.js";
|
|
6
|
-
import "../chunks/validators-
|
|
7
|
-
import "../chunks/matrix-operation-contract-
|
|
8
|
-
import "../chunks/analytics-base-schemas-
|
|
6
|
+
import "../chunks/validators-D2Hm57lJ.js";
|
|
7
|
+
import "../chunks/matrix-operation-contract-DdK0J_KU.js";
|
|
8
|
+
import "../chunks/analytics-base-schemas-DevrgqQb.js";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
10
|
import { e as ir } from "../chunks/brand-BoUV0iHF.js";
|
|
11
11
|
import { b as ur, D as pr } from "../chunks/edit-9df1zOWe.js";
|
|
12
12
|
import { n as Ee } from "../chunks/index-BVKzKl5d.js";
|
|
13
13
|
import { b as br } from "../chunks/resolver-DG_tfEpt.js";
|
|
14
|
-
import { P as H } from "../chunks/palette-
|
|
15
|
-
import { U as fr } from "../chunks/upload-
|
|
16
|
-
import { S as mr } from "../chunks/save-
|
|
17
|
-
import { L as gr } from "../chunks/layout-grid-
|
|
14
|
+
import { P as H } from "../chunks/palette-DFIFf_-m.js";
|
|
15
|
+
import { U as fr } from "../chunks/upload-DsqUSS8l.js";
|
|
16
|
+
import { S as mr } from "../chunks/save-CWQ02kHo.js";
|
|
17
|
+
import { L as gr } from "../chunks/layout-grid-DSrBSfPM.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/pivot-result-contract-expectations-
|
|
2
|
-
import "../chunks/validators-
|
|
1
|
+
import "../chunks/pivot-result-contract-expectations-Dk7WFR_u.js";
|
|
2
|
+
import "../chunks/validators-D2Hm57lJ.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-DdK0J_KU.js";
|
|
6
|
+
import "../chunks/analytics-base-schemas-DevrgqQb.js";
|
|
7
7
|
import "../value-format-preferences/index.js";
|
|
8
|
-
import { A as g, J as l, a2 as B, F as m, a4 as E, z as c, B as I, E as T, K as d, C, D as u, M as A, Z as h, i as p, _ as D, $ as _, a5 as b, n as F, l as S, m as R, P as N, k as y, R as M, f as O, e as G, S as v, u as x, q as L, c as U, d as V, I as z, H, h as J, b as P, a as q, a6 as X, g as K, a0 as Q, V as Y, a3 as j, W as k, G as W, a1 as Z, r as $, j as w, X as ee, Y as ie, o as ae, L as re, Q as te, O as se, p as ne, s as oe, t as fe, N as ge, T as le, U as Be } from "../chunks/index-
|
|
8
|
+
import { A as g, J as l, a2 as B, F as m, a4 as E, z as c, B as I, E as T, K as d, C, D as u, M as A, Z as h, i as p, _ as D, $ as _, a5 as b, n as F, l as S, m as R, P as N, k as y, R as M, f as O, e as G, S as v, u as x, q as L, c as U, d as V, I as z, H, h as J, b as P, a as q, a6 as X, g as K, a0 as Q, V as Y, a3 as j, W as k, G as W, a1 as Z, r as $, j as w, X as ee, Y as ie, o as ae, L as re, Q as te, O as se, p as ne, s as oe, t as fe, N as ge, T as le, U as Be } from "../chunks/index-EKpTtkYF.js";
|
|
9
9
|
export {
|
|
10
10
|
g as BRIEFING_ARTIFACT_FORMATS,
|
|
11
11
|
l as BRIEFING_ATTACHMENT_FORMATS,
|
package/dist/chunks/{analytics-base-schemas-8wz9vqn_.js → analytics-base-schemas-DevrgqQb.js}
RENAMED
|
@@ -10,7 +10,7 @@ function Re(t) {
|
|
|
10
10
|
t
|
|
11
11
|
);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const Ie = 200, D = [
|
|
14
14
|
"second",
|
|
15
15
|
"minute",
|
|
16
16
|
"hour",
|
|
@@ -20,7 +20,7 @@ const ke = 200, D = [
|
|
|
20
20
|
"quarter",
|
|
21
21
|
"year"
|
|
22
22
|
];
|
|
23
|
-
function
|
|
23
|
+
function xe(t) {
|
|
24
24
|
return typeof t == "string" && D.includes(t);
|
|
25
25
|
}
|
|
26
26
|
const B = [
|
|
@@ -35,18 +35,18 @@ const B = [
|
|
|
35
35
|
"long",
|
|
36
36
|
"numeric",
|
|
37
37
|
"iso"
|
|
38
|
-
], G = ["hour", "day", "week", "month", "quarter", "year"],
|
|
38
|
+
], G = ["hour", "day", "week", "month", "quarter", "year"], De = {
|
|
39
39
|
invalidMetadata: "invalid_raw_temporal_metadata"
|
|
40
40
|
};
|
|
41
41
|
function z(t) {
|
|
42
42
|
return t === "second" || t === "minute" || t === "hour" ? "datetime" : "date";
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const je = {
|
|
45
45
|
missingMetadata: "missing_temporal_bucket_metadata",
|
|
46
46
|
invalidMetadata: "invalid_temporal_bucket_metadata",
|
|
47
47
|
invalidValue: "invalid_temporal_bucket_value"
|
|
48
48
|
}, we = "__auto_count__";
|
|
49
|
-
function
|
|
49
|
+
function j(t) {
|
|
50
50
|
try {
|
|
51
51
|
return new Intl.DateTimeFormat("en-US", { timeZone: t }).format(), !0;
|
|
52
52
|
} catch {
|
|
@@ -197,7 +197,7 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), u = e.enum([
|
|
|
197
197
|
"date",
|
|
198
198
|
"datetime",
|
|
199
199
|
"unknown"
|
|
200
|
-
]), T = e.union([e.number(), e.string(), e.null()]),
|
|
200
|
+
]), T = e.union([e.number(), e.string(), e.null()]), k = e.enum([
|
|
201
201
|
"millisecond",
|
|
202
202
|
"second",
|
|
203
203
|
"minute",
|
|
@@ -213,11 +213,11 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), 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: ae
|
|
219
219
|
}).strict(), oe = 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,7 +225,7 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), 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: ee,
|
|
231
231
|
calendar: oe
|
|
@@ -237,10 +237,10 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), u = e.enum([
|
|
|
237
237
|
}).strict(), ie = e.object({
|
|
238
238
|
kind: e.literal("raw_temporal"),
|
|
239
239
|
valueKind: e.enum(["date", "wall_datetime", "instant"])
|
|
240
|
-
}).strict(),
|
|
240
|
+
}).strict(), Ae = e.object({
|
|
241
241
|
kind: e.literal("raw_temporal"),
|
|
242
242
|
valueKind: e.enum(["date", "wall_datetime", "instant"]),
|
|
243
|
-
tz: e.string().min(1).refine(
|
|
243
|
+
tz: e.string().min(1).refine(j, "tz must be an IANA timezone.")
|
|
244
244
|
}).strict(), r = e.string(), I = e.number().int().min(0).max(20), A = e.object({
|
|
245
245
|
type: e.enum(["number", "currency", "percent", "scientific"]),
|
|
246
246
|
currency: e.string().regex(/^[A-Z]{3}$/, "Expected an ISO 4217 currency code.").optional(),
|
|
@@ -297,25 +297,25 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), u = e.enum([
|
|
|
297
297
|
path: ["dialect"],
|
|
298
298
|
message: "dialect names the token set of a pattern."
|
|
299
299
|
});
|
|
300
|
-
}),
|
|
300
|
+
}), C = e.object({
|
|
301
301
|
type: e.literal("duration"),
|
|
302
|
-
inputUnit:
|
|
302
|
+
inputUnit: k.optional(),
|
|
303
303
|
outputStyle: e.enum(["compact", "digital", "long"]).optional(),
|
|
304
|
-
largestUnit:
|
|
305
|
-
smallestUnit:
|
|
304
|
+
largestUnit: k.optional(),
|
|
305
|
+
smallestUnit: k.optional(),
|
|
306
306
|
maxUnits: e.number().int().min(0).max(10).optional(),
|
|
307
307
|
prefix: r.optional(),
|
|
308
308
|
suffix: r.optional(),
|
|
309
309
|
negativeStyle: e.enum(["minus", "parentheses"]).optional()
|
|
310
|
-
}).strict(),
|
|
310
|
+
}).strict(), M = e.object({
|
|
311
311
|
type: e.literal("string"),
|
|
312
312
|
prefix: r.optional(),
|
|
313
313
|
suffix: r.optional()
|
|
314
|
-
}).strict(),
|
|
314
|
+
}).strict(), O = e.union([
|
|
315
315
|
A,
|
|
316
316
|
F,
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
C,
|
|
318
|
+
M
|
|
319
319
|
]), re = e.unknown().superRefine((t, a) => {
|
|
320
320
|
t && typeof t == "object" && "locale" in t && ["number", "currency", "percent", "percentage", "scientific"].includes(
|
|
321
321
|
String(t.type)
|
|
@@ -324,10 +324,10 @@ const Q = e.record(e.string(), e.unknown()), p = e.array(Q), u = e.enum([
|
|
|
324
324
|
path: ["locale"],
|
|
325
325
|
message: "Numeric semantic formats inherit locale from viewer preferences."
|
|
326
326
|
});
|
|
327
|
-
}).transform((t) => J(t) ?? t).pipe(
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
]),
|
|
327
|
+
}).transform((t) => J(t) ?? t).pipe(O), Fe = e.union([
|
|
328
|
+
O,
|
|
329
|
+
w
|
|
330
|
+
]), Ce = ["number", "currency", "percent", "scientific", "duration", "date", "string", "temporal_bucket"];
|
|
331
331
|
function ce(t) {
|
|
332
332
|
switch (t) {
|
|
333
333
|
case "number":
|
|
@@ -338,11 +338,11 @@ function ce(t) {
|
|
|
338
338
|
case "date":
|
|
339
339
|
return F;
|
|
340
340
|
case "duration":
|
|
341
|
-
return M;
|
|
342
|
-
case "string":
|
|
343
341
|
return C;
|
|
342
|
+
case "string":
|
|
343
|
+
return M;
|
|
344
344
|
case "temporal_bucket":
|
|
345
|
-
return
|
|
345
|
+
return w;
|
|
346
346
|
default:
|
|
347
347
|
return;
|
|
348
348
|
}
|
|
@@ -363,7 +363,7 @@ function le(t, a) {
|
|
|
363
363
|
});
|
|
364
364
|
});
|
|
365
365
|
}
|
|
366
|
-
const
|
|
366
|
+
const E = e.object({
|
|
367
367
|
kind: e.literal("semantic"),
|
|
368
368
|
domainId: e.string(),
|
|
369
369
|
datasetName: e.string(),
|
|
@@ -385,7 +385,7 @@ const O = e.object({
|
|
|
385
385
|
dialect: g.optional(),
|
|
386
386
|
label: e.string().optional()
|
|
387
387
|
}).passthrough(), N = e.union([
|
|
388
|
-
|
|
388
|
+
E,
|
|
389
389
|
pe,
|
|
390
390
|
ue
|
|
391
391
|
]), me = e.object({
|
|
@@ -427,11 +427,11 @@ const O = e.object({
|
|
|
427
427
|
]).optional(),
|
|
428
428
|
format: re.optional(),
|
|
429
429
|
tags: e.array(e.string()).optional()
|
|
430
|
-
}).passthrough(), U = ge,
|
|
430
|
+
}).passthrough(), U = ge, Oe = V.and(
|
|
431
431
|
e.object({
|
|
432
432
|
derivedField: U.optional()
|
|
433
433
|
}).passthrough()
|
|
434
|
-
), he =
|
|
434
|
+
), he = E, ye = e.object({
|
|
435
435
|
kind: e.literal("physical"),
|
|
436
436
|
connectionId: e.string().optional(),
|
|
437
437
|
connectionType: e.string().optional(),
|
|
@@ -467,7 +467,7 @@ const O = e.object({
|
|
|
467
467
|
aggregate: u.optional(),
|
|
468
468
|
source: N.optional(),
|
|
469
469
|
derivedField: U.optional(),
|
|
470
|
-
temporalBucket:
|
|
470
|
+
temporalBucket: R.optional(),
|
|
471
471
|
rawTemporal: ie.optional(),
|
|
472
472
|
dateGrain: ne.optional(),
|
|
473
473
|
pivotIdentity: e.object({
|
|
@@ -477,7 +477,7 @@ const O = e.object({
|
|
|
477
477
|
e.object({
|
|
478
478
|
fieldId: e.string().min(1),
|
|
479
479
|
value: e.string().nullable(),
|
|
480
|
-
temporalBucket:
|
|
480
|
+
temporalBucket: R.optional()
|
|
481
481
|
}).strict()
|
|
482
482
|
)
|
|
483
483
|
}).strict().optional()
|
|
@@ -504,10 +504,10 @@ const O = e.object({
|
|
|
504
504
|
message: `${t.rawTemporal.valueKind} raw temporal values require dataType ${o}.`
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
|
-
}),
|
|
507
|
+
}), Ne = e.object({
|
|
508
508
|
records: p,
|
|
509
509
|
columns: e.array(l).optional()
|
|
510
|
-
}).passthrough(),
|
|
510
|
+
}).passthrough(), Ve = e.object({
|
|
511
511
|
records: p,
|
|
512
512
|
columns: e.array(l)
|
|
513
513
|
}).passthrough(), q = e.object({
|
|
@@ -525,7 +525,7 @@ const O = e.object({
|
|
|
525
525
|
path: e.string().optional(),
|
|
526
526
|
fieldRole: e.enum(["measure", "date", "dimension", "input", "source", "sql"]).optional(),
|
|
527
527
|
repairHint: q.optional()
|
|
528
|
-
}).passthrough(),
|
|
528
|
+
}).passthrough(), Ue = e.object({
|
|
529
529
|
ok: e.boolean(),
|
|
530
530
|
errors: e.array(x),
|
|
531
531
|
warnings: e.array(x),
|
|
@@ -545,7 +545,7 @@ const O = e.object({
|
|
|
545
545
|
rowLimitExceeded: e.boolean().optional(),
|
|
546
546
|
limit: e.number().optional(),
|
|
547
547
|
pagination: Se.optional()
|
|
548
|
-
},
|
|
548
|
+
}, qe = e.object({
|
|
549
549
|
...b,
|
|
550
550
|
kind: e.literal("metric"),
|
|
551
551
|
primaryValue: T,
|
|
@@ -558,7 +558,7 @@ const O = e.object({
|
|
|
558
558
|
deltaPercent: e.union([e.number(), e.null()]).optional()
|
|
559
559
|
}).passthrough().optional(),
|
|
560
560
|
records: p.optional()
|
|
561
|
-
}).passthrough(),
|
|
561
|
+
}).passthrough(), Pe = e.object({
|
|
562
562
|
...b,
|
|
563
563
|
kind: e.literal("records"),
|
|
564
564
|
columns: e.array(l),
|
|
@@ -585,11 +585,17 @@ const O = e.object({
|
|
|
585
585
|
}), ve = e.object({
|
|
586
586
|
complete: e.boolean(),
|
|
587
587
|
reason: e.enum(["unsupported", "truncated"]).optional()
|
|
588
|
-
}),
|
|
588
|
+
}), Te = e.object({
|
|
589
|
+
kind: e.literal("standardCursor"),
|
|
590
|
+
pageSize: e.number().int().positive(),
|
|
591
|
+
hasMore: e.boolean(),
|
|
592
|
+
nextCursor: e.string().min(1).optional()
|
|
593
|
+
}), Ze = e.object({
|
|
589
594
|
...b,
|
|
590
595
|
kind: e.literal("inputOptions"),
|
|
591
596
|
dependencyOutcomes: e.array(_e).optional(),
|
|
592
597
|
match: ve.optional(),
|
|
598
|
+
page: Te.optional(),
|
|
593
599
|
options: e.array(
|
|
594
600
|
le(
|
|
595
601
|
{
|
|
@@ -601,7 +607,7 @@ const O = e.object({
|
|
|
601
607
|
["value"]
|
|
602
608
|
)
|
|
603
609
|
)
|
|
604
|
-
}).passthrough(),
|
|
610
|
+
}).passthrough(), Be = e.object({
|
|
605
611
|
...b,
|
|
606
612
|
kind: e.literal("sql"),
|
|
607
613
|
columns: e.array(l),
|
|
@@ -613,59 +619,60 @@ const O = e.object({
|
|
|
613
619
|
}).passthrough().optional()
|
|
614
620
|
}).passthrough();
|
|
615
621
|
export {
|
|
616
|
-
|
|
622
|
+
Te as $,
|
|
617
623
|
G as A,
|
|
618
|
-
|
|
624
|
+
Ce as B,
|
|
619
625
|
ce as C,
|
|
620
626
|
Me as D,
|
|
621
|
-
|
|
627
|
+
E,
|
|
622
628
|
pe as F,
|
|
623
629
|
ue as G,
|
|
624
630
|
me as H,
|
|
625
631
|
V as I,
|
|
626
632
|
ge as J,
|
|
627
633
|
U as K,
|
|
628
|
-
|
|
629
|
-
|
|
634
|
+
Oe as L,
|
|
635
|
+
Ie as M,
|
|
630
636
|
Ee as N,
|
|
631
637
|
Z as O,
|
|
632
638
|
l as P,
|
|
633
|
-
|
|
634
|
-
|
|
639
|
+
Ne as Q,
|
|
640
|
+
De as R,
|
|
635
641
|
we as S,
|
|
636
|
-
|
|
637
|
-
|
|
642
|
+
je as T,
|
|
643
|
+
Ve as U,
|
|
638
644
|
x as V,
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
645
|
+
Ue as W,
|
|
646
|
+
qe as X,
|
|
647
|
+
Pe as Y,
|
|
642
648
|
_e as Z,
|
|
643
649
|
ve as _,
|
|
644
650
|
z as a,
|
|
645
651
|
Ze as a0,
|
|
646
|
-
|
|
652
|
+
Be as a1,
|
|
653
|
+
R as b,
|
|
647
654
|
Re as c,
|
|
648
655
|
D as d,
|
|
649
|
-
|
|
656
|
+
xe as e,
|
|
650
657
|
B as f,
|
|
651
658
|
p as g,
|
|
652
659
|
u as h,
|
|
653
|
-
|
|
660
|
+
j as i,
|
|
654
661
|
ee as j,
|
|
655
|
-
|
|
662
|
+
w as k,
|
|
656
663
|
ne as l,
|
|
657
664
|
ie as m,
|
|
658
665
|
T as n,
|
|
659
|
-
|
|
666
|
+
Ae as o,
|
|
660
667
|
A as p,
|
|
661
668
|
se as q,
|
|
662
669
|
Q as r,
|
|
663
670
|
N as s,
|
|
664
671
|
J as t,
|
|
665
672
|
F as u,
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
673
|
+
C as v,
|
|
674
|
+
M as w,
|
|
675
|
+
O as x,
|
|
669
676
|
re as y,
|
|
670
|
-
|
|
677
|
+
Fe as z
|
|
671
678
|
};
|