react-semaphor 0.1.559 → 0.1.561
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 +389 -378
- 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 +658 -0
- package/dist/chunks/{assistant-chat-B_4bVE6I.js → assistant-chat-DiVHY3Hw.js} +209 -211
- package/dist/chunks/bookmark-impact-CR09dpkn.js +75 -0
- package/dist/chunks/bookmark-state-BusLpkb7.js +743 -0
- package/dist/chunks/{braces-Rdxa3H-s.js → braces-u8VorWJc.js} +1 -1
- package/dist/chunks/{comparison-window-caption-CKzQ5LcF.js → comparison-window-caption-DDsIWJYT.js} +201 -201
- package/dist/chunks/{context-DVy4HOU0.js → context-TUjw9eqr.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-zVa9wX_o.js → custom-visual-inputs-DfolidZ9.js} +1 -1
- package/dist/chunks/{dashboard-BziwOVpZ.js → dashboard-BRdZBPqr.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CbeNR-YI.js → dashboard-briefing-launcher-CgvTLndW.js} +1163 -1178
- package/dist/chunks/{dashboard-controls-RD6UJs1r.js → dashboard-controls-B4vfSzTF.js} +877 -941
- package/dist/chunks/{dashboard-json-DGpv17vL.js → dashboard-json-Y3MF59g7.js} +5 -5
- package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +1718 -0
- package/dist/chunks/{edit-dashboard-visual-AQ2pQkFp.js → edit-dashboard-visual-DwjZcxj-.js} +9080 -9354
- package/dist/chunks/filter-reach-copy-bijwf_-b.js +3596 -0
- package/dist/chunks/{filter-value-text-B4l-xqJT.js → filter-value-text-DFnhwuEW.js} +3 -3
- package/dist/chunks/global-date-filter-utils-BXgCpvQM.js +15142 -0
- package/dist/chunks/{index-B1Xr7W24.js → index-ClwbY3BL.js} +648 -674
- package/dist/chunks/{layout-grid-Bbz3zKif.js → layout-grid-CtvCBfOm.js} +1 -1
- package/dist/chunks/{list-filter-3sbH0Uy1.js → list-filter-BklYgciR.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-CEe3PGEo.js → matrix-analytical-definition-pU51-JmY.js} +4 -4
- package/dist/chunks/{matrix-card-BRNGb1C4.js → matrix-card-CUorIB7Q.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-CEegvTqg.js → matrix-member-presentation-Df5UgCGN.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-COxrfQTS.js → matrix-operation-contract-BSiGEXVC.js} +221 -214
- package/dist/chunks/{metric-comparison-DQx-uX__.js → metric-comparison-95aC0uEO.js} +6 -6
- package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-B5wQhg5G.js} +1 -1
- package/dist/chunks/{palette-DMJtp3Vn.js → palette-DTnMhipt.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-Bo-86vwS.js +56 -0
- package/dist/chunks/{pivot-result-identity-CAj8SiRL.js → pivot-result-identity-olvXJoB9.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-0sc8B1lh.js → report-preferences-dialog-C2YUIwKG.js} +55 -55
- package/dist/chunks/{report-runtime-context-bYoExeWr.js → report-runtime-context-DoIUr3MP.js} +2 -2
- package/dist/chunks/resolve-dashboard-input-context-q_iiNXE1.js +6503 -0
- package/dist/chunks/{save-DSb1jTtG.js → save-DH4RyrnG.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-BQWM3ldX.js → saved-dashboard-context-8jqfI7hI.js} +59 -59
- package/dist/chunks/{selection-reducer-DSzMWb4x.js → selection-reducer-CV7K4FI6.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-Bz14Oma5.js → semaphor-ready-indicator-E2XWyibu.js} +40105 -41658
- package/dist/chunks/{shelf-drop-preview-context-DBHAkgch.js → shelf-drop-preview-context-C29EUzDp.js} +570 -570
- package/dist/chunks/{source-entity-resolution-BOrmNCEM.js → source-entity-resolution-BXI3nQ5Z.js} +1 -1
- package/dist/chunks/{switch-Dq8XPFpT.js → switch-balDSHc7.js} +3 -3
- package/dist/chunks/{table-export-sheet-C_RvEUyO.js → table-export-sheet-CK8tvh4d.js} +1 -1
- package/dist/chunks/temporal-input-presentation-B77JsAzU.js +5002 -0
- package/dist/chunks/{token-types-LCYMJ3pa.js → token-types-DhYH5YKb.js} +1 -1
- package/dist/chunks/{upload-Dr_WAxHQ.js → upload-Ufj8vjyn.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BK3YFkfc.js → use-create-flow-overlay-state-9WsnzEO5.js} +6 -6
- package/dist/chunks/{validators-C87JPd-_.js → validators-BtaCFIEB.js} +1206 -1579
- package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-CGLVI40Q.js} +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2713 -1459
- package/dist/data-app-sdk/index.js +20 -20
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +10 -10
- package/dist/format-utils/index.js +262 -256
- package/dist/index.js +214 -215
- 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/dashboard/summary-number-formatter.d.ts +6 -0
- package/dist/types/components/editor/editor-aside/utils.d.ts +1 -1
- package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
- package/dist/types/index.js +50 -51
- package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
- package/dist/types/lib/formatters/kpi-number-formatter.d.ts +41 -0
- package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
- package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
- package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
- package/dist/types/lib/stores/editor-store.d.ts +48 -10
- package/dist/types/lib/stores/table-actions.d.ts +9 -5
- package/dist/types/lib/table-formatting/index.d.ts +0 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
- package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
- package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
- package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
- package/dist/types/lib/types/common-types.d.ts +40 -47
- package/dist/types/lib/types/explorer-types.d.ts +11 -43
- package/dist/types/lib/utils/card-config-utils.d.ts +8 -0
- package/dist/types/lib/utils/card-definition.d.ts +9 -187
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +169 -513
- package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
- package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
- package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
- package/dist/types/shared/analytics-protocol/measure-aggregation-profile.d.ts +12 -0
- package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
- package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
- package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
- package/dist/types/shared/dashboard-authoring/card-settings/apply-card-settings.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +52 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/carry-column-settings.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-format-write.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +51 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-sources.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/confirm-class.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/card-settings/highlight-inputs.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +102 -0
- package/dist/types/shared/dashboard-authoring/card-settings/read-card-settings.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-settings.d.ts +59 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +28 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +32 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +555 -38
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +27 -8
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +25 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
- package/dist/types/shared/dashboard-authoring/index.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +123 -0
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +21 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +10 -4
- package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
- package/dist/types/shared/dashboard-viewer/bookmark-impact.d.ts +33 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +13 -2
- package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
- package/dist/types/shared/format-utils/index.d.ts +2 -0
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
- package/dist/types/shared/format-utils/raw-temporal.d.ts +31 -1
- package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
- package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
- package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
- package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
- package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
- package/package.json +2 -2
- package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
- package/dist/chunks/bookmark-state-ssqrs5oP.js +0 -111
- package/dist/chunks/document-dashboard-inputs-ChVkcBuu.js +0 -3010
- package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
- package/dist/chunks/filter-reach-copy-B5Y7FHzg.js +0 -3411
- package/dist/chunks/global-date-filter-utils-DBzEOX9M.js +0 -12222
- package/dist/chunks/pivot-result-contract-expectations-DOYhqeZb.js +0 -1926
- package/dist/chunks/raw-temporal-presentation-BmT7z6NH.js +0 -584
- package/dist/chunks/resolve-dashboard-input-context-B_C_VAJH.js +0 -5520
- package/dist/chunks/table-settings-DXj_zXwS.js +0 -637
- package/dist/chunks/temporal-input-presentation-AhLSkGPf.js +0 -2939
- package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
- package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +0 -12
|
@@ -10,33 +10,33 @@ export declare const matrixMemberSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
|
|
|
10
10
|
type: z.ZodEnum<["integer", "decimal"]>;
|
|
11
11
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
12
12
|
}, "strict", z.ZodTypeAny, {
|
|
13
|
-
value: string;
|
|
14
13
|
type: "integer" | "decimal";
|
|
14
|
+
value: string;
|
|
15
15
|
kind: "exact_number";
|
|
16
16
|
}, {
|
|
17
|
-
value: string;
|
|
18
17
|
type: "integer" | "decimal";
|
|
18
|
+
value: string;
|
|
19
19
|
kind: "exact_number";
|
|
20
20
|
}>, {
|
|
21
|
-
value: string;
|
|
22
21
|
type: "integer" | "decimal";
|
|
22
|
+
value: string;
|
|
23
23
|
kind: "exact_number";
|
|
24
24
|
}, {
|
|
25
|
-
value: string;
|
|
26
25
|
type: "integer" | "decimal";
|
|
26
|
+
value: string;
|
|
27
27
|
kind: "exact_number";
|
|
28
28
|
}>]>;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
30
|
value: string | number | boolean | {
|
|
31
|
-
value: string;
|
|
32
31
|
type: "integer" | "decimal";
|
|
32
|
+
value: string;
|
|
33
33
|
kind: "exact_number";
|
|
34
34
|
} | null;
|
|
35
35
|
kind: "value";
|
|
36
36
|
}, {
|
|
37
37
|
value: string | number | boolean | {
|
|
38
|
-
value: string;
|
|
39
38
|
type: "integer" | "decimal";
|
|
39
|
+
value: string;
|
|
40
40
|
kind: "exact_number";
|
|
41
41
|
} | null;
|
|
42
42
|
kind: "value";
|
|
@@ -59,33 +59,33 @@ export declare const matrixPathSchema: z.ZodEffects<z.ZodReadonly<z.ZodArray<z.Z
|
|
|
59
59
|
type: z.ZodEnum<["integer", "decimal"]>;
|
|
60
60
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
61
61
|
}, "strict", z.ZodTypeAny, {
|
|
62
|
-
value: string;
|
|
63
62
|
type: "integer" | "decimal";
|
|
63
|
+
value: string;
|
|
64
64
|
kind: "exact_number";
|
|
65
65
|
}, {
|
|
66
|
-
value: string;
|
|
67
66
|
type: "integer" | "decimal";
|
|
67
|
+
value: string;
|
|
68
68
|
kind: "exact_number";
|
|
69
69
|
}>, {
|
|
70
|
-
value: string;
|
|
71
70
|
type: "integer" | "decimal";
|
|
71
|
+
value: string;
|
|
72
72
|
kind: "exact_number";
|
|
73
73
|
}, {
|
|
74
|
-
value: string;
|
|
75
74
|
type: "integer" | "decimal";
|
|
75
|
+
value: string;
|
|
76
76
|
kind: "exact_number";
|
|
77
77
|
}>]>;
|
|
78
78
|
}, "strict", z.ZodTypeAny, {
|
|
79
79
|
value: string | number | boolean | {
|
|
80
|
-
value: string;
|
|
81
80
|
type: "integer" | "decimal";
|
|
81
|
+
value: string;
|
|
82
82
|
kind: "exact_number";
|
|
83
83
|
} | null;
|
|
84
84
|
kind: "value";
|
|
85
85
|
}, {
|
|
86
86
|
value: string | number | boolean | {
|
|
87
|
-
value: string;
|
|
88
87
|
type: "integer" | "decimal";
|
|
88
|
+
value: string;
|
|
89
89
|
kind: "exact_number";
|
|
90
90
|
} | null;
|
|
91
91
|
kind: "value";
|
|
@@ -102,8 +102,8 @@ export declare const matrixPathSchema: z.ZodEffects<z.ZodReadonly<z.ZodArray<z.Z
|
|
|
102
102
|
}, "strict", z.ZodTypeAny, {
|
|
103
103
|
member: {
|
|
104
104
|
value: string | number | boolean | {
|
|
105
|
-
value: string;
|
|
106
105
|
type: "integer" | "decimal";
|
|
106
|
+
value: string;
|
|
107
107
|
kind: "exact_number";
|
|
108
108
|
} | null;
|
|
109
109
|
kind: "value";
|
|
@@ -115,8 +115,8 @@ export declare const matrixPathSchema: z.ZodEffects<z.ZodReadonly<z.ZodArray<z.Z
|
|
|
115
115
|
}, {
|
|
116
116
|
member: {
|
|
117
117
|
value: string | number | boolean | {
|
|
118
|
-
value: string;
|
|
119
118
|
type: "integer" | "decimal";
|
|
119
|
+
value: string;
|
|
120
120
|
kind: "exact_number";
|
|
121
121
|
} | null;
|
|
122
122
|
kind: "value";
|
|
@@ -128,8 +128,8 @@ export declare const matrixPathSchema: z.ZodEffects<z.ZodReadonly<z.ZodArray<z.Z
|
|
|
128
128
|
}>, "many">>, readonly {
|
|
129
129
|
member: {
|
|
130
130
|
value: string | number | boolean | {
|
|
131
|
-
value: string;
|
|
132
131
|
type: "integer" | "decimal";
|
|
132
|
+
value: string;
|
|
133
133
|
kind: "exact_number";
|
|
134
134
|
} | null;
|
|
135
135
|
kind: "value";
|
|
@@ -141,8 +141,8 @@ export declare const matrixPathSchema: z.ZodEffects<z.ZodReadonly<z.ZodArray<z.Z
|
|
|
141
141
|
}[], readonly {
|
|
142
142
|
member: {
|
|
143
143
|
value: string | number | boolean | {
|
|
144
|
-
value: string;
|
|
145
144
|
type: "integer" | "decimal";
|
|
145
|
+
value: string;
|
|
146
146
|
kind: "exact_number";
|
|
147
147
|
} | null;
|
|
148
148
|
kind: "value";
|
|
@@ -162,33 +162,33 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
162
162
|
type: z.ZodEnum<["integer", "decimal"]>;
|
|
163
163
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
164
164
|
}, "strict", z.ZodTypeAny, {
|
|
165
|
-
value: string;
|
|
166
165
|
type: "integer" | "decimal";
|
|
166
|
+
value: string;
|
|
167
167
|
kind: "exact_number";
|
|
168
168
|
}, {
|
|
169
|
-
value: string;
|
|
170
169
|
type: "integer" | "decimal";
|
|
170
|
+
value: string;
|
|
171
171
|
kind: "exact_number";
|
|
172
172
|
}>, {
|
|
173
|
-
value: string;
|
|
174
173
|
type: "integer" | "decimal";
|
|
174
|
+
value: string;
|
|
175
175
|
kind: "exact_number";
|
|
176
176
|
}, {
|
|
177
|
-
value: string;
|
|
178
177
|
type: "integer" | "decimal";
|
|
178
|
+
value: string;
|
|
179
179
|
kind: "exact_number";
|
|
180
180
|
}>]>;
|
|
181
181
|
}, "strict", z.ZodTypeAny, {
|
|
182
182
|
value: string | number | boolean | {
|
|
183
|
-
value: string;
|
|
184
183
|
type: "integer" | "decimal";
|
|
184
|
+
value: string;
|
|
185
185
|
kind: "exact_number";
|
|
186
186
|
} | null;
|
|
187
187
|
kind: "value";
|
|
188
188
|
}, {
|
|
189
189
|
value: string | number | boolean | {
|
|
190
|
-
value: string;
|
|
191
190
|
type: "integer" | "decimal";
|
|
191
|
+
value: string;
|
|
192
192
|
kind: "exact_number";
|
|
193
193
|
} | null;
|
|
194
194
|
kind: "value";
|
|
@@ -205,8 +205,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
205
205
|
}, "strict", z.ZodTypeAny, {
|
|
206
206
|
member: {
|
|
207
207
|
value: string | number | boolean | {
|
|
208
|
-
value: string;
|
|
209
208
|
type: "integer" | "decimal";
|
|
209
|
+
value: string;
|
|
210
210
|
kind: "exact_number";
|
|
211
211
|
} | null;
|
|
212
212
|
kind: "value";
|
|
@@ -218,8 +218,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
218
218
|
}, {
|
|
219
219
|
member: {
|
|
220
220
|
value: string | number | boolean | {
|
|
221
|
-
value: string;
|
|
222
221
|
type: "integer" | "decimal";
|
|
222
|
+
value: string;
|
|
223
223
|
kind: "exact_number";
|
|
224
224
|
} | null;
|
|
225
225
|
kind: "value";
|
|
@@ -231,8 +231,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
231
231
|
}>, "many">>, readonly {
|
|
232
232
|
member: {
|
|
233
233
|
value: string | number | boolean | {
|
|
234
|
-
value: string;
|
|
235
234
|
type: "integer" | "decimal";
|
|
235
|
+
value: string;
|
|
236
236
|
kind: "exact_number";
|
|
237
237
|
} | null;
|
|
238
238
|
kind: "value";
|
|
@@ -244,8 +244,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
244
244
|
}[], readonly {
|
|
245
245
|
member: {
|
|
246
246
|
value: string | number | boolean | {
|
|
247
|
-
value: string;
|
|
248
247
|
type: "integer" | "decimal";
|
|
248
|
+
value: string;
|
|
249
249
|
kind: "exact_number";
|
|
250
250
|
} | null;
|
|
251
251
|
kind: "value";
|
|
@@ -264,33 +264,33 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
264
264
|
type: z.ZodEnum<["integer", "decimal"]>;
|
|
265
265
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
266
266
|
}, "strict", z.ZodTypeAny, {
|
|
267
|
-
value: string;
|
|
268
267
|
type: "integer" | "decimal";
|
|
268
|
+
value: string;
|
|
269
269
|
kind: "exact_number";
|
|
270
270
|
}, {
|
|
271
|
-
value: string;
|
|
272
271
|
type: "integer" | "decimal";
|
|
272
|
+
value: string;
|
|
273
273
|
kind: "exact_number";
|
|
274
274
|
}>, {
|
|
275
|
-
value: string;
|
|
276
275
|
type: "integer" | "decimal";
|
|
276
|
+
value: string;
|
|
277
277
|
kind: "exact_number";
|
|
278
278
|
}, {
|
|
279
|
-
value: string;
|
|
280
279
|
type: "integer" | "decimal";
|
|
280
|
+
value: string;
|
|
281
281
|
kind: "exact_number";
|
|
282
282
|
}>]>;
|
|
283
283
|
}, "strict", z.ZodTypeAny, {
|
|
284
284
|
value: string | number | boolean | {
|
|
285
|
-
value: string;
|
|
286
285
|
type: "integer" | "decimal";
|
|
286
|
+
value: string;
|
|
287
287
|
kind: "exact_number";
|
|
288
288
|
} | null;
|
|
289
289
|
kind: "value";
|
|
290
290
|
}, {
|
|
291
291
|
value: string | number | boolean | {
|
|
292
|
-
value: string;
|
|
293
292
|
type: "integer" | "decimal";
|
|
293
|
+
value: string;
|
|
294
294
|
kind: "exact_number";
|
|
295
295
|
} | null;
|
|
296
296
|
kind: "value";
|
|
@@ -307,8 +307,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
307
307
|
}, "strict", z.ZodTypeAny, {
|
|
308
308
|
member: {
|
|
309
309
|
value: string | number | boolean | {
|
|
310
|
-
value: string;
|
|
311
310
|
type: "integer" | "decimal";
|
|
311
|
+
value: string;
|
|
312
312
|
kind: "exact_number";
|
|
313
313
|
} | null;
|
|
314
314
|
kind: "value";
|
|
@@ -320,8 +320,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
320
320
|
}, {
|
|
321
321
|
member: {
|
|
322
322
|
value: string | number | boolean | {
|
|
323
|
-
value: string;
|
|
324
323
|
type: "integer" | "decimal";
|
|
324
|
+
value: string;
|
|
325
325
|
kind: "exact_number";
|
|
326
326
|
} | null;
|
|
327
327
|
kind: "value";
|
|
@@ -333,8 +333,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
333
333
|
}>, "many">>, readonly {
|
|
334
334
|
member: {
|
|
335
335
|
value: string | number | boolean | {
|
|
336
|
-
value: string;
|
|
337
336
|
type: "integer" | "decimal";
|
|
337
|
+
value: string;
|
|
338
338
|
kind: "exact_number";
|
|
339
339
|
} | null;
|
|
340
340
|
kind: "value";
|
|
@@ -346,8 +346,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
346
346
|
}[], readonly {
|
|
347
347
|
member: {
|
|
348
348
|
value: string | number | boolean | {
|
|
349
|
-
value: string;
|
|
350
349
|
type: "integer" | "decimal";
|
|
350
|
+
value: string;
|
|
351
351
|
kind: "exact_number";
|
|
352
352
|
} | null;
|
|
353
353
|
kind: "value";
|
|
@@ -362,8 +362,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
362
362
|
rowPath: readonly {
|
|
363
363
|
member: {
|
|
364
364
|
value: string | number | boolean | {
|
|
365
|
-
value: string;
|
|
366
365
|
type: "integer" | "decimal";
|
|
366
|
+
value: string;
|
|
367
367
|
kind: "exact_number";
|
|
368
368
|
} | null;
|
|
369
369
|
kind: "value";
|
|
@@ -376,8 +376,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
376
376
|
columnPath: readonly {
|
|
377
377
|
member: {
|
|
378
378
|
value: string | number | boolean | {
|
|
379
|
-
value: string;
|
|
380
379
|
type: "integer" | "decimal";
|
|
380
|
+
value: string;
|
|
381
381
|
kind: "exact_number";
|
|
382
382
|
} | null;
|
|
383
383
|
kind: "value";
|
|
@@ -392,8 +392,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
392
392
|
rowPath: readonly {
|
|
393
393
|
member: {
|
|
394
394
|
value: string | number | boolean | {
|
|
395
|
-
value: string;
|
|
396
395
|
type: "integer" | "decimal";
|
|
396
|
+
value: string;
|
|
397
397
|
kind: "exact_number";
|
|
398
398
|
} | null;
|
|
399
399
|
kind: "value";
|
|
@@ -406,8 +406,8 @@ export declare const matrixCoordinateSchema: z.ZodObject<{
|
|
|
406
406
|
columnPath: readonly {
|
|
407
407
|
member: {
|
|
408
408
|
value: string | number | boolean | {
|
|
409
|
-
value: string;
|
|
410
409
|
type: "integer" | "decimal";
|
|
410
|
+
value: string;
|
|
411
411
|
kind: "exact_number";
|
|
412
412
|
} | null;
|
|
413
413
|
kind: "value";
|
|
@@ -156,217 +156,17 @@ export declare const matrixDescriptorSchema: z.ZodObject<{
|
|
|
156
156
|
id: z.ZodString;
|
|
157
157
|
column: z.ZodType<SemaphorResultColumn, z.ZodTypeDef, SemaphorResultColumn>;
|
|
158
158
|
nativeDataType: z.ZodString;
|
|
159
|
-
semanticFormat: z.ZodOptional<z.
|
|
160
|
-
type: z.ZodEnum<["number", "currency", "percent", "percentage", "scientific"]>;
|
|
161
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
162
|
-
minimumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
163
|
-
maximumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
164
|
-
useGrouping: z.ZodOptional<z.ZodBoolean>;
|
|
165
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
166
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
167
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
168
|
-
compact: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
170
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
171
|
-
percentValueMode: z.ZodOptional<z.ZodEnum<["fraction", "whole"]>>;
|
|
172
|
-
}, "locale">, "strict", z.ZodTypeAny, {
|
|
173
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
174
|
-
currency?: string | undefined;
|
|
175
|
-
minimumFractionDigits?: number | undefined;
|
|
176
|
-
maximumFractionDigits?: number | undefined;
|
|
177
|
-
useGrouping?: boolean | undefined;
|
|
178
|
-
prefix?: string | undefined;
|
|
179
|
-
suffix?: string | undefined;
|
|
180
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
181
|
-
compact?: boolean | undefined;
|
|
182
|
-
scale?: number | undefined;
|
|
183
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
184
|
-
}, {
|
|
185
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
186
|
-
currency?: string | undefined;
|
|
187
|
-
minimumFractionDigits?: number | undefined;
|
|
188
|
-
maximumFractionDigits?: number | undefined;
|
|
189
|
-
useGrouping?: boolean | undefined;
|
|
190
|
-
prefix?: string | undefined;
|
|
191
|
-
suffix?: string | undefined;
|
|
192
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
193
|
-
compact?: boolean | undefined;
|
|
194
|
-
scale?: number | undefined;
|
|
195
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
196
|
-
}>, {
|
|
197
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
198
|
-
currency?: string | undefined;
|
|
199
|
-
minimumFractionDigits?: number | undefined;
|
|
200
|
-
maximumFractionDigits?: number | undefined;
|
|
201
|
-
useGrouping?: boolean | undefined;
|
|
202
|
-
prefix?: string | undefined;
|
|
203
|
-
suffix?: string | undefined;
|
|
204
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
205
|
-
compact?: boolean | undefined;
|
|
206
|
-
scale?: number | undefined;
|
|
207
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
208
|
-
}, {
|
|
209
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
210
|
-
currency?: string | undefined;
|
|
211
|
-
minimumFractionDigits?: number | undefined;
|
|
212
|
-
maximumFractionDigits?: number | undefined;
|
|
213
|
-
useGrouping?: boolean | undefined;
|
|
214
|
-
prefix?: string | undefined;
|
|
215
|
-
suffix?: string | undefined;
|
|
216
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
217
|
-
compact?: boolean | undefined;
|
|
218
|
-
scale?: number | undefined;
|
|
219
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
220
|
-
}>, z.ZodObject<{
|
|
221
|
-
type: z.ZodEnum<["date", "datetime"]>;
|
|
222
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
223
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
224
|
-
relative: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
226
|
-
sourceTimezone: z.ZodOptional<z.ZodString>;
|
|
227
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
228
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
229
|
-
}, "strict", z.ZodTypeAny, {
|
|
230
|
-
type: "date" | "datetime";
|
|
231
|
-
pattern?: string | undefined;
|
|
232
|
-
locale?: string | undefined;
|
|
233
|
-
prefix?: string | undefined;
|
|
234
|
-
suffix?: string | undefined;
|
|
235
|
-
relative?: boolean | undefined;
|
|
236
|
-
timezone?: string | undefined;
|
|
237
|
-
sourceTimezone?: string | undefined;
|
|
238
|
-
}, {
|
|
239
|
-
type: "date" | "datetime";
|
|
240
|
-
pattern?: string | undefined;
|
|
241
|
-
locale?: string | undefined;
|
|
242
|
-
prefix?: string | undefined;
|
|
243
|
-
suffix?: string | undefined;
|
|
244
|
-
relative?: boolean | undefined;
|
|
245
|
-
timezone?: string | undefined;
|
|
246
|
-
sourceTimezone?: string | undefined;
|
|
247
|
-
}>, z.ZodObject<{
|
|
248
|
-
type: z.ZodLiteral<"duration">;
|
|
249
|
-
inputUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
250
|
-
outputStyle: z.ZodOptional<z.ZodEnum<["compact", "digital", "long"]>>;
|
|
251
|
-
largestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
252
|
-
smallestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
253
|
-
maxUnits: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
255
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
256
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
257
|
-
}, "strict", z.ZodTypeAny, {
|
|
258
|
-
type: "duration";
|
|
259
|
-
prefix?: string | undefined;
|
|
260
|
-
suffix?: string | undefined;
|
|
261
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
262
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
263
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
264
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
265
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
266
|
-
maxUnits?: number | undefined;
|
|
267
|
-
}, {
|
|
268
|
-
type: "duration";
|
|
269
|
-
prefix?: string | undefined;
|
|
270
|
-
suffix?: string | undefined;
|
|
271
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
272
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
273
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
274
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
275
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
276
|
-
maxUnits?: number | undefined;
|
|
277
|
-
}>, z.ZodObject<{
|
|
278
|
-
type: z.ZodLiteral<"string">;
|
|
279
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
280
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
281
|
-
}, "strict", z.ZodTypeAny, {
|
|
282
|
-
type: "string";
|
|
283
|
-
prefix?: string | undefined;
|
|
284
|
-
suffix?: string | undefined;
|
|
285
|
-
}, {
|
|
286
|
-
type: "string";
|
|
287
|
-
prefix?: string | undefined;
|
|
288
|
-
suffix?: string | undefined;
|
|
289
|
-
}>]>, z.ZodType<import('./contracts.js').TemporalBucketFormat, z.ZodTypeDef, import('./contracts.js').TemporalBucketFormat>]>>;
|
|
159
|
+
semanticFormat: z.ZodOptional<z.ZodType<SemaphorValueFormat, z.ZodTypeDef, SemaphorValueFormat>>;
|
|
290
160
|
}, "strict", z.ZodTypeAny, {
|
|
291
161
|
id: string;
|
|
292
162
|
nativeDataType: string;
|
|
293
163
|
column: SemaphorResultColumn;
|
|
294
|
-
semanticFormat?:
|
|
295
|
-
type: "date" | "datetime";
|
|
296
|
-
pattern?: string | undefined;
|
|
297
|
-
locale?: string | undefined;
|
|
298
|
-
prefix?: string | undefined;
|
|
299
|
-
suffix?: string | undefined;
|
|
300
|
-
relative?: boolean | undefined;
|
|
301
|
-
timezone?: string | undefined;
|
|
302
|
-
sourceTimezone?: string | undefined;
|
|
303
|
-
} | {
|
|
304
|
-
type: "duration";
|
|
305
|
-
prefix?: string | undefined;
|
|
306
|
-
suffix?: string | undefined;
|
|
307
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
308
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
309
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
310
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
311
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
312
|
-
maxUnits?: number | undefined;
|
|
313
|
-
} | {
|
|
314
|
-
type: "string";
|
|
315
|
-
prefix?: string | undefined;
|
|
316
|
-
suffix?: string | undefined;
|
|
317
|
-
} | {
|
|
318
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
319
|
-
currency?: string | undefined;
|
|
320
|
-
minimumFractionDigits?: number | undefined;
|
|
321
|
-
maximumFractionDigits?: number | undefined;
|
|
322
|
-
useGrouping?: boolean | undefined;
|
|
323
|
-
prefix?: string | undefined;
|
|
324
|
-
suffix?: string | undefined;
|
|
325
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
326
|
-
compact?: boolean | undefined;
|
|
327
|
-
scale?: number | undefined;
|
|
328
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
329
|
-
} | undefined;
|
|
164
|
+
semanticFormat?: SemaphorValueFormat | undefined;
|
|
330
165
|
}, {
|
|
331
166
|
id: string;
|
|
332
167
|
nativeDataType: string;
|
|
333
168
|
column: SemaphorResultColumn;
|
|
334
|
-
semanticFormat?:
|
|
335
|
-
type: "date" | "datetime";
|
|
336
|
-
pattern?: string | undefined;
|
|
337
|
-
locale?: string | undefined;
|
|
338
|
-
prefix?: string | undefined;
|
|
339
|
-
suffix?: string | undefined;
|
|
340
|
-
relative?: boolean | undefined;
|
|
341
|
-
timezone?: string | undefined;
|
|
342
|
-
sourceTimezone?: string | undefined;
|
|
343
|
-
} | {
|
|
344
|
-
type: "duration";
|
|
345
|
-
prefix?: string | undefined;
|
|
346
|
-
suffix?: string | undefined;
|
|
347
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
348
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
349
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
350
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
351
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
352
|
-
maxUnits?: number | undefined;
|
|
353
|
-
} | {
|
|
354
|
-
type: "string";
|
|
355
|
-
prefix?: string | undefined;
|
|
356
|
-
suffix?: string | undefined;
|
|
357
|
-
} | {
|
|
358
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
359
|
-
currency?: string | undefined;
|
|
360
|
-
minimumFractionDigits?: number | undefined;
|
|
361
|
-
maximumFractionDigits?: number | undefined;
|
|
362
|
-
useGrouping?: boolean | undefined;
|
|
363
|
-
prefix?: string | undefined;
|
|
364
|
-
suffix?: string | undefined;
|
|
365
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
366
|
-
compact?: boolean | undefined;
|
|
367
|
-
scale?: number | undefined;
|
|
368
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
369
|
-
} | undefined;
|
|
169
|
+
semanticFormat?: SemaphorValueFormat | undefined;
|
|
370
170
|
}>;
|
|
371
171
|
export declare const matrixFailureSchema: z.ZodType<MatrixFailure>;
|
|
372
172
|
export declare const matrixCapabilitiesSchema: z.ZodType<MatrixCapabilities>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AggregationFunctionKind } from './aggregate-expression.js';
|
|
2
|
+
import { AnalyticsCatalogDataType } from './catalog-field-grounding.js';
|
|
2
3
|
/** The structural fields of a measure the profile reads. */
|
|
3
4
|
export type MeasureProfileField = {
|
|
4
5
|
name?: string;
|
|
@@ -61,3 +62,14 @@ export type MeasureAggregationProfile = {
|
|
|
61
62
|
* field and its nested `calculatedFormula.inputFields`.
|
|
62
63
|
*/
|
|
63
64
|
export declare function resolveMeasureAggregationProfile(field: MeasureProfileField): MeasureAggregationProfile;
|
|
65
|
+
/**
|
|
66
|
+
* A measure's result type: what its aggregation makes of its field, through
|
|
67
|
+
* the profile. MIN and MAX keep the field's type; every other aggregate is a
|
|
68
|
+
* number, so a COUNT of a text or date column is a number (Excel exports
|
|
69
|
+
* ledger P2b-12). A measure the profile can't resolve keeps the field's type.
|
|
70
|
+
* The one owner of this job: the canonical result, card settings' format
|
|
71
|
+
* check and the window transforms read it (card appearance ledger P2-16).
|
|
72
|
+
*/
|
|
73
|
+
export declare function measureResultDataType(metric: (MeasureProfileField & {
|
|
74
|
+
dataType?: string;
|
|
75
|
+
}) | undefined): AnalyticsCatalogDataType;
|
|
@@ -5,20 +5,20 @@ export declare const exactNumericValueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5
5
|
type: z.ZodEnum<["integer", "decimal"]>;
|
|
6
6
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
7
7
|
}, "strict", z.ZodTypeAny, {
|
|
8
|
-
value: string;
|
|
9
8
|
type: "integer" | "decimal";
|
|
9
|
+
value: string;
|
|
10
10
|
kind: "exact_number";
|
|
11
11
|
}, {
|
|
12
|
-
value: string;
|
|
13
12
|
type: "integer" | "decimal";
|
|
13
|
+
value: string;
|
|
14
14
|
kind: "exact_number";
|
|
15
15
|
}>, {
|
|
16
|
-
value: string;
|
|
17
16
|
type: "integer" | "decimal";
|
|
17
|
+
value: string;
|
|
18
18
|
kind: "exact_number";
|
|
19
19
|
}, {
|
|
20
|
-
value: string;
|
|
21
20
|
type: "integer" | "decimal";
|
|
21
|
+
value: string;
|
|
22
22
|
kind: "exact_number";
|
|
23
23
|
}>;
|
|
24
24
|
export type ExactNumericValue = z.infer<typeof exactNumericValueSchema>;
|
|
@@ -27,20 +27,20 @@ export declare const semaphorScalarValueSchema: z.ZodUnion<[z.ZodNull, z.ZodStri
|
|
|
27
27
|
type: z.ZodEnum<["integer", "decimal"]>;
|
|
28
28
|
value: z.ZodEffects<z.ZodString, string, string>;
|
|
29
29
|
}, "strict", z.ZodTypeAny, {
|
|
30
|
-
value: string;
|
|
31
30
|
type: "integer" | "decimal";
|
|
31
|
+
value: string;
|
|
32
32
|
kind: "exact_number";
|
|
33
33
|
}, {
|
|
34
|
-
value: string;
|
|
35
34
|
type: "integer" | "decimal";
|
|
35
|
+
value: string;
|
|
36
36
|
kind: "exact_number";
|
|
37
37
|
}>, {
|
|
38
|
-
value: string;
|
|
39
38
|
type: "integer" | "decimal";
|
|
39
|
+
value: string;
|
|
40
40
|
kind: "exact_number";
|
|
41
41
|
}, {
|
|
42
|
-
value: string;
|
|
43
42
|
type: "integer" | "decimal";
|
|
43
|
+
value: string;
|
|
44
44
|
kind: "exact_number";
|
|
45
45
|
}>]>;
|
|
46
46
|
export type SemaphorScalarValue = z.infer<typeof semaphorScalarValueSchema>;
|
|
@@ -9,6 +9,7 @@ import { TransientInputContext } from '../../lib/dashboard-inputs/transient-inpu
|
|
|
9
9
|
import { DashboardCardLocation } from '../dashboard-authoring/document-section-cards.js';
|
|
10
10
|
import { AssistantContext } from '../assistant-protocol/context.js';
|
|
11
11
|
import { AssistantCardRequest, AssistantCardUnavailable, AssistantCardUnavailableReason } from '../assistant-protocol/request.js';
|
|
12
|
+
import { CardConfig } from '../../lib/types/explorer-types.js';
|
|
12
13
|
/**
|
|
13
14
|
* A saved dashboard as a fresh viewer opens it (saved defaults, no bookmark),
|
|
14
15
|
* as the assistant's context: the regression set's dashboard cases
|
|
@@ -136,6 +137,13 @@ export declare function buildSavedCardRequest(input: {
|
|
|
136
137
|
}): {
|
|
137
138
|
status: 'ready';
|
|
138
139
|
request: AssistantCardRequest;
|
|
140
|
+
/**
|
|
141
|
+
* The config the card renders with, as a viewer's query result binds it
|
|
142
|
+
* (the query context's `finalConfig`): the column formats the request's
|
|
143
|
+
* config leaves out are here (column formats CF-D5). A server-built
|
|
144
|
+
* export presents with it.
|
|
145
|
+
*/
|
|
146
|
+
renderConfig: CardConfig;
|
|
139
147
|
} | {
|
|
140
148
|
status: 'refused';
|
|
141
149
|
reason: SavedCardRequestRefusal;
|