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
|
@@ -1,266 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const strictScalarValueFormatSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<Omit<{
|
|
3
|
-
type: z.ZodEnum<["number", "currency", "percent", "percentage", "scientific"]>;
|
|
4
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
5
|
-
minimumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
6
|
-
maximumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
useGrouping: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
9
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
10
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
11
|
-
compact: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
13
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
14
|
-
percentValueMode: z.ZodOptional<z.ZodEnum<["fraction", "whole"]>>;
|
|
15
|
-
}, "locale">, "strict", z.ZodTypeAny, {
|
|
16
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
17
|
-
currency?: string | undefined;
|
|
18
|
-
minimumFractionDigits?: number | undefined;
|
|
19
|
-
maximumFractionDigits?: number | undefined;
|
|
20
|
-
useGrouping?: boolean | undefined;
|
|
21
|
-
prefix?: string | undefined;
|
|
22
|
-
suffix?: string | undefined;
|
|
23
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
24
|
-
compact?: boolean | undefined;
|
|
25
|
-
scale?: number | undefined;
|
|
26
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
29
|
-
currency?: string | undefined;
|
|
30
|
-
minimumFractionDigits?: number | undefined;
|
|
31
|
-
maximumFractionDigits?: number | undefined;
|
|
32
|
-
useGrouping?: boolean | undefined;
|
|
33
|
-
prefix?: string | undefined;
|
|
34
|
-
suffix?: string | undefined;
|
|
35
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
36
|
-
compact?: boolean | undefined;
|
|
37
|
-
scale?: number | undefined;
|
|
38
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
39
|
-
}>, {
|
|
40
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
41
|
-
currency?: string | undefined;
|
|
42
|
-
minimumFractionDigits?: number | undefined;
|
|
43
|
-
maximumFractionDigits?: number | undefined;
|
|
44
|
-
useGrouping?: boolean | undefined;
|
|
45
|
-
prefix?: string | undefined;
|
|
46
|
-
suffix?: string | undefined;
|
|
47
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
48
|
-
compact?: boolean | undefined;
|
|
49
|
-
scale?: number | undefined;
|
|
50
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
51
|
-
}, {
|
|
52
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
53
|
-
currency?: string | undefined;
|
|
54
|
-
minimumFractionDigits?: number | undefined;
|
|
55
|
-
maximumFractionDigits?: number | undefined;
|
|
56
|
-
useGrouping?: boolean | undefined;
|
|
57
|
-
prefix?: string | undefined;
|
|
58
|
-
suffix?: string | undefined;
|
|
59
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
60
|
-
compact?: boolean | undefined;
|
|
61
|
-
scale?: number | undefined;
|
|
62
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
63
|
-
}>, z.ZodObject<{
|
|
64
|
-
type: z.ZodEnum<["date", "datetime"]>;
|
|
65
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
66
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
67
|
-
relative: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
69
|
-
sourceTimezone: z.ZodOptional<z.ZodString>;
|
|
70
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
71
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, "strict", z.ZodTypeAny, {
|
|
73
|
-
type: "date" | "datetime";
|
|
74
|
-
pattern?: string | undefined;
|
|
75
|
-
locale?: string | undefined;
|
|
76
|
-
prefix?: string | undefined;
|
|
77
|
-
suffix?: string | undefined;
|
|
78
|
-
relative?: boolean | undefined;
|
|
79
|
-
timezone?: string | undefined;
|
|
80
|
-
sourceTimezone?: string | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
type: "date" | "datetime";
|
|
83
|
-
pattern?: string | undefined;
|
|
84
|
-
locale?: string | undefined;
|
|
85
|
-
prefix?: string | undefined;
|
|
86
|
-
suffix?: string | undefined;
|
|
87
|
-
relative?: boolean | undefined;
|
|
88
|
-
timezone?: string | undefined;
|
|
89
|
-
sourceTimezone?: string | undefined;
|
|
90
|
-
}>, z.ZodObject<{
|
|
91
|
-
type: z.ZodLiteral<"duration">;
|
|
92
|
-
inputUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
93
|
-
outputStyle: z.ZodOptional<z.ZodEnum<["compact", "digital", "long"]>>;
|
|
94
|
-
largestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
95
|
-
smallestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
96
|
-
maxUnits: z.ZodOptional<z.ZodNumber>;
|
|
97
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
98
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
99
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
100
|
-
}, "strict", z.ZodTypeAny, {
|
|
101
|
-
type: "duration";
|
|
102
|
-
prefix?: string | undefined;
|
|
103
|
-
suffix?: string | undefined;
|
|
104
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
105
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
106
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
107
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
108
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
109
|
-
maxUnits?: number | undefined;
|
|
110
|
-
}, {
|
|
111
|
-
type: "duration";
|
|
112
|
-
prefix?: string | undefined;
|
|
113
|
-
suffix?: string | undefined;
|
|
114
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
115
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
116
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
117
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
118
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
119
|
-
maxUnits?: number | undefined;
|
|
120
|
-
}>, z.ZodObject<{
|
|
121
|
-
type: z.ZodLiteral<"string">;
|
|
122
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
123
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
124
|
-
}, "strict", z.ZodTypeAny, {
|
|
125
|
-
type: "string";
|
|
126
|
-
prefix?: string | undefined;
|
|
127
|
-
suffix?: string | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
type: "string";
|
|
130
|
-
prefix?: string | undefined;
|
|
131
|
-
suffix?: string | undefined;
|
|
132
|
-
}>]>;
|
|
133
|
-
export declare const semaphorValueFormatSchema: z.ZodUnion<[z.ZodUnion<[z.ZodEffects<z.ZodObject<Omit<{
|
|
134
|
-
type: z.ZodEnum<["number", "currency", "percent", "percentage", "scientific"]>;
|
|
135
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
136
|
-
minimumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
137
|
-
maximumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
138
|
-
useGrouping: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
140
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
141
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
142
|
-
compact: z.ZodOptional<z.ZodBoolean>;
|
|
143
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
144
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
145
|
-
percentValueMode: z.ZodOptional<z.ZodEnum<["fraction", "whole"]>>;
|
|
146
|
-
}, "locale">, "strict", z.ZodTypeAny, {
|
|
147
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
148
|
-
currency?: string | undefined;
|
|
149
|
-
minimumFractionDigits?: number | undefined;
|
|
150
|
-
maximumFractionDigits?: number | undefined;
|
|
151
|
-
useGrouping?: boolean | undefined;
|
|
152
|
-
prefix?: string | undefined;
|
|
153
|
-
suffix?: string | undefined;
|
|
154
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
155
|
-
compact?: boolean | undefined;
|
|
156
|
-
scale?: number | undefined;
|
|
157
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
158
|
-
}, {
|
|
159
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
160
|
-
currency?: string | undefined;
|
|
161
|
-
minimumFractionDigits?: number | undefined;
|
|
162
|
-
maximumFractionDigits?: number | undefined;
|
|
163
|
-
useGrouping?: boolean | undefined;
|
|
164
|
-
prefix?: string | undefined;
|
|
165
|
-
suffix?: string | undefined;
|
|
166
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
167
|
-
compact?: boolean | undefined;
|
|
168
|
-
scale?: number | undefined;
|
|
169
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
170
|
-
}>, {
|
|
171
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
172
|
-
currency?: string | undefined;
|
|
173
|
-
minimumFractionDigits?: number | undefined;
|
|
174
|
-
maximumFractionDigits?: number | undefined;
|
|
175
|
-
useGrouping?: boolean | undefined;
|
|
176
|
-
prefix?: string | undefined;
|
|
177
|
-
suffix?: string | undefined;
|
|
178
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
179
|
-
compact?: boolean | undefined;
|
|
180
|
-
scale?: number | undefined;
|
|
181
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
182
|
-
}, {
|
|
183
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
184
|
-
currency?: string | undefined;
|
|
185
|
-
minimumFractionDigits?: number | undefined;
|
|
186
|
-
maximumFractionDigits?: number | undefined;
|
|
187
|
-
useGrouping?: boolean | undefined;
|
|
188
|
-
prefix?: string | undefined;
|
|
189
|
-
suffix?: string | undefined;
|
|
190
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
191
|
-
compact?: boolean | undefined;
|
|
192
|
-
scale?: number | undefined;
|
|
193
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
194
|
-
}>, z.ZodObject<{
|
|
195
|
-
type: z.ZodEnum<["date", "datetime"]>;
|
|
196
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
197
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
198
|
-
relative: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
200
|
-
sourceTimezone: z.ZodOptional<z.ZodString>;
|
|
201
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
202
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
203
|
-
}, "strict", z.ZodTypeAny, {
|
|
204
|
-
type: "date" | "datetime";
|
|
205
|
-
pattern?: string | undefined;
|
|
206
|
-
locale?: string | undefined;
|
|
207
|
-
prefix?: string | undefined;
|
|
208
|
-
suffix?: string | undefined;
|
|
209
|
-
relative?: boolean | undefined;
|
|
210
|
-
timezone?: string | undefined;
|
|
211
|
-
sourceTimezone?: string | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
type: "date" | "datetime";
|
|
214
|
-
pattern?: string | undefined;
|
|
215
|
-
locale?: string | undefined;
|
|
216
|
-
prefix?: string | undefined;
|
|
217
|
-
suffix?: string | undefined;
|
|
218
|
-
relative?: boolean | undefined;
|
|
219
|
-
timezone?: string | undefined;
|
|
220
|
-
sourceTimezone?: string | undefined;
|
|
221
|
-
}>, z.ZodObject<{
|
|
222
|
-
type: z.ZodLiteral<"duration">;
|
|
223
|
-
inputUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
224
|
-
outputStyle: z.ZodOptional<z.ZodEnum<["compact", "digital", "long"]>>;
|
|
225
|
-
largestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
226
|
-
smallestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
227
|
-
maxUnits: z.ZodOptional<z.ZodNumber>;
|
|
228
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
229
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
230
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
231
|
-
}, "strict", z.ZodTypeAny, {
|
|
232
|
-
type: "duration";
|
|
233
|
-
prefix?: string | undefined;
|
|
234
|
-
suffix?: string | undefined;
|
|
235
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
236
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
237
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
238
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
239
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
240
|
-
maxUnits?: number | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
type: "duration";
|
|
243
|
-
prefix?: string | undefined;
|
|
244
|
-
suffix?: string | undefined;
|
|
245
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
246
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
247
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
248
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
249
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
250
|
-
maxUnits?: number | undefined;
|
|
251
|
-
}>, z.ZodObject<{
|
|
252
|
-
type: z.ZodLiteral<"string">;
|
|
253
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
254
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
255
|
-
}, "strict", z.ZodTypeAny, {
|
|
256
|
-
type: "string";
|
|
257
|
-
prefix?: string | undefined;
|
|
258
|
-
suffix?: string | undefined;
|
|
259
|
-
}, {
|
|
260
|
-
type: "string";
|
|
261
|
-
prefix?: string | undefined;
|
|
262
|
-
suffix?: string | undefined;
|
|
263
|
-
}>]>, z.ZodType<import('./contracts.js').TemporalBucketFormat, z.ZodTypeDef, import('./contracts.js').TemporalBucketFormat>]>;
|
|
264
2
|
export declare const configSourceRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
265
3
|
kind: z.ZodLiteral<"semantic">;
|
|
266
4
|
datasetId: z.ZodOptional<z.ZodString>;
|
|
@@ -297,20 +35,20 @@ export declare const configSourceRefSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
297
35
|
kind: "physical";
|
|
298
36
|
connectionId: string;
|
|
299
37
|
tableName: string;
|
|
38
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
300
39
|
label?: string | undefined;
|
|
301
40
|
connectionType?: string | undefined;
|
|
302
41
|
databaseName?: string | undefined;
|
|
303
42
|
schemaName?: string | undefined;
|
|
304
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
305
43
|
}, {
|
|
306
44
|
kind: "physical";
|
|
307
45
|
connectionId: string;
|
|
308
46
|
tableName: string;
|
|
47
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
309
48
|
label?: string | undefined;
|
|
310
49
|
connectionType?: string | undefined;
|
|
311
50
|
databaseName?: string | undefined;
|
|
312
51
|
schemaName?: string | undefined;
|
|
313
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
314
52
|
}>]>;
|
|
315
53
|
export declare const configFieldRefSchema: z.ZodObject<{
|
|
316
54
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -355,26 +93,26 @@ export declare const configFieldRefSchema: z.ZodObject<{
|
|
|
355
93
|
kind: "physical";
|
|
356
94
|
connectionId: string;
|
|
357
95
|
tableName: string;
|
|
96
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
358
97
|
label?: string | undefined;
|
|
359
98
|
connectionType?: string | undefined;
|
|
360
99
|
databaseName?: string | undefined;
|
|
361
100
|
schemaName?: string | undefined;
|
|
362
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
363
101
|
}, {
|
|
364
102
|
kind: "physical";
|
|
365
103
|
connectionId: string;
|
|
366
104
|
tableName: string;
|
|
105
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
367
106
|
label?: string | undefined;
|
|
368
107
|
connectionType?: string | undefined;
|
|
369
108
|
databaseName?: string | undefined;
|
|
370
109
|
schemaName?: string | undefined;
|
|
371
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
372
110
|
}>]>>;
|
|
373
111
|
}, "strict", z.ZodTypeAny, {
|
|
374
112
|
name: string;
|
|
375
113
|
label?: string | undefined;
|
|
376
|
-
role?: "
|
|
377
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
114
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
115
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
378
116
|
source?: {
|
|
379
117
|
kind: "semantic";
|
|
380
118
|
domainId: string;
|
|
@@ -386,18 +124,18 @@ export declare const configFieldRefSchema: z.ZodObject<{
|
|
|
386
124
|
kind: "physical";
|
|
387
125
|
connectionId: string;
|
|
388
126
|
tableName: string;
|
|
127
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
389
128
|
label?: string | undefined;
|
|
390
129
|
connectionType?: string | undefined;
|
|
391
130
|
databaseName?: string | undefined;
|
|
392
131
|
schemaName?: string | undefined;
|
|
393
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
394
132
|
} | undefined;
|
|
395
133
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
396
134
|
}, {
|
|
397
135
|
name: string;
|
|
398
136
|
label?: string | undefined;
|
|
399
|
-
role?: "
|
|
400
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
137
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
138
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
401
139
|
source?: {
|
|
402
140
|
kind: "semantic";
|
|
403
141
|
domainId: string;
|
|
@@ -409,11 +147,11 @@ export declare const configFieldRefSchema: z.ZodObject<{
|
|
|
409
147
|
kind: "physical";
|
|
410
148
|
connectionId: string;
|
|
411
149
|
tableName: string;
|
|
150
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
412
151
|
label?: string | undefined;
|
|
413
152
|
connectionType?: string | undefined;
|
|
414
153
|
databaseName?: string | undefined;
|
|
415
154
|
schemaName?: string | undefined;
|
|
416
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
417
155
|
} | undefined;
|
|
418
156
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
419
157
|
}>;
|
|
@@ -432,137 +170,7 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
432
170
|
aggregationStrategy: z.ZodOptional<z.ZodEnum<["default", "symmetric_aggregate", "aggregate_then_join", "weighted"]>>;
|
|
433
171
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
434
172
|
} & {
|
|
435
|
-
format: z.ZodOptional<z.
|
|
436
|
-
type: z.ZodEnum<["number", "currency", "percent", "percentage", "scientific"]>;
|
|
437
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
438
|
-
minimumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
439
|
-
maximumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
440
|
-
useGrouping: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
442
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
443
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
444
|
-
compact: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
446
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
447
|
-
percentValueMode: z.ZodOptional<z.ZodEnum<["fraction", "whole"]>>;
|
|
448
|
-
}, "locale">, "strict", z.ZodTypeAny, {
|
|
449
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
450
|
-
currency?: string | undefined;
|
|
451
|
-
minimumFractionDigits?: number | undefined;
|
|
452
|
-
maximumFractionDigits?: number | undefined;
|
|
453
|
-
useGrouping?: boolean | undefined;
|
|
454
|
-
prefix?: string | undefined;
|
|
455
|
-
suffix?: string | undefined;
|
|
456
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
457
|
-
compact?: boolean | undefined;
|
|
458
|
-
scale?: number | undefined;
|
|
459
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
460
|
-
}, {
|
|
461
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
462
|
-
currency?: string | undefined;
|
|
463
|
-
minimumFractionDigits?: number | undefined;
|
|
464
|
-
maximumFractionDigits?: number | undefined;
|
|
465
|
-
useGrouping?: boolean | undefined;
|
|
466
|
-
prefix?: string | undefined;
|
|
467
|
-
suffix?: string | undefined;
|
|
468
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
469
|
-
compact?: boolean | undefined;
|
|
470
|
-
scale?: number | undefined;
|
|
471
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
472
|
-
}>, {
|
|
473
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
474
|
-
currency?: string | undefined;
|
|
475
|
-
minimumFractionDigits?: number | undefined;
|
|
476
|
-
maximumFractionDigits?: number | undefined;
|
|
477
|
-
useGrouping?: boolean | undefined;
|
|
478
|
-
prefix?: string | undefined;
|
|
479
|
-
suffix?: string | undefined;
|
|
480
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
481
|
-
compact?: boolean | undefined;
|
|
482
|
-
scale?: number | undefined;
|
|
483
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
484
|
-
}, {
|
|
485
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
486
|
-
currency?: string | undefined;
|
|
487
|
-
minimumFractionDigits?: number | undefined;
|
|
488
|
-
maximumFractionDigits?: number | undefined;
|
|
489
|
-
useGrouping?: boolean | undefined;
|
|
490
|
-
prefix?: string | undefined;
|
|
491
|
-
suffix?: string | undefined;
|
|
492
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
493
|
-
compact?: boolean | undefined;
|
|
494
|
-
scale?: number | undefined;
|
|
495
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
496
|
-
}>, z.ZodObject<{
|
|
497
|
-
type: z.ZodEnum<["date", "datetime"]>;
|
|
498
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
499
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
500
|
-
relative: z.ZodOptional<z.ZodBoolean>;
|
|
501
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
502
|
-
sourceTimezone: z.ZodOptional<z.ZodString>;
|
|
503
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
504
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
505
|
-
}, "strict", z.ZodTypeAny, {
|
|
506
|
-
type: "date" | "datetime";
|
|
507
|
-
pattern?: string | undefined;
|
|
508
|
-
locale?: string | undefined;
|
|
509
|
-
prefix?: string | undefined;
|
|
510
|
-
suffix?: string | undefined;
|
|
511
|
-
relative?: boolean | undefined;
|
|
512
|
-
timezone?: string | undefined;
|
|
513
|
-
sourceTimezone?: string | undefined;
|
|
514
|
-
}, {
|
|
515
|
-
type: "date" | "datetime";
|
|
516
|
-
pattern?: string | undefined;
|
|
517
|
-
locale?: string | undefined;
|
|
518
|
-
prefix?: string | undefined;
|
|
519
|
-
suffix?: string | undefined;
|
|
520
|
-
relative?: boolean | undefined;
|
|
521
|
-
timezone?: string | undefined;
|
|
522
|
-
sourceTimezone?: string | undefined;
|
|
523
|
-
}>, z.ZodObject<{
|
|
524
|
-
type: z.ZodLiteral<"duration">;
|
|
525
|
-
inputUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
526
|
-
outputStyle: z.ZodOptional<z.ZodEnum<["compact", "digital", "long"]>>;
|
|
527
|
-
largestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
528
|
-
smallestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
529
|
-
maxUnits: z.ZodOptional<z.ZodNumber>;
|
|
530
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
531
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
532
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
533
|
-
}, "strict", z.ZodTypeAny, {
|
|
534
|
-
type: "duration";
|
|
535
|
-
prefix?: string | undefined;
|
|
536
|
-
suffix?: string | undefined;
|
|
537
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
538
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
539
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
540
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
541
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
542
|
-
maxUnits?: number | undefined;
|
|
543
|
-
}, {
|
|
544
|
-
type: "duration";
|
|
545
|
-
prefix?: string | undefined;
|
|
546
|
-
suffix?: string | undefined;
|
|
547
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
548
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
549
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
550
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
551
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
552
|
-
maxUnits?: number | undefined;
|
|
553
|
-
}>, z.ZodObject<{
|
|
554
|
-
type: z.ZodLiteral<"string">;
|
|
555
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
556
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
557
|
-
}, "strict", z.ZodTypeAny, {
|
|
558
|
-
type: "string";
|
|
559
|
-
prefix?: string | undefined;
|
|
560
|
-
suffix?: string | undefined;
|
|
561
|
-
}, {
|
|
562
|
-
type: "string";
|
|
563
|
-
prefix?: string | undefined;
|
|
564
|
-
suffix?: string | undefined;
|
|
565
|
-
}>]>>;
|
|
173
|
+
format: z.ZodOptional<z.ZodType<import('./contracts.js').SemaphorScalarValueFormat, z.ZodTypeDef, import('./contracts.js').SemaphorScalarValueFormat>>;
|
|
566
174
|
inputs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
567
175
|
kind: z.ZodLiteral<"field">;
|
|
568
176
|
field: z.ZodObject<{
|
|
@@ -608,26 +216,26 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
608
216
|
kind: "physical";
|
|
609
217
|
connectionId: string;
|
|
610
218
|
tableName: string;
|
|
219
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
611
220
|
label?: string | undefined;
|
|
612
221
|
connectionType?: string | undefined;
|
|
613
222
|
databaseName?: string | undefined;
|
|
614
223
|
schemaName?: string | undefined;
|
|
615
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
616
224
|
}, {
|
|
617
225
|
kind: "physical";
|
|
618
226
|
connectionId: string;
|
|
619
227
|
tableName: string;
|
|
228
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
620
229
|
label?: string | undefined;
|
|
621
230
|
connectionType?: string | undefined;
|
|
622
231
|
databaseName?: string | undefined;
|
|
623
232
|
schemaName?: string | undefined;
|
|
624
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
625
233
|
}>]>>;
|
|
626
234
|
}, "strict", z.ZodTypeAny, {
|
|
627
235
|
name: string;
|
|
628
236
|
label?: string | undefined;
|
|
629
|
-
role?: "
|
|
630
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
237
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
238
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
631
239
|
source?: {
|
|
632
240
|
kind: "semantic";
|
|
633
241
|
domainId: string;
|
|
@@ -639,18 +247,18 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
639
247
|
kind: "physical";
|
|
640
248
|
connectionId: string;
|
|
641
249
|
tableName: string;
|
|
250
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
642
251
|
label?: string | undefined;
|
|
643
252
|
connectionType?: string | undefined;
|
|
644
253
|
databaseName?: string | undefined;
|
|
645
254
|
schemaName?: string | undefined;
|
|
646
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
647
255
|
} | undefined;
|
|
648
256
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
649
257
|
}, {
|
|
650
258
|
name: string;
|
|
651
259
|
label?: string | undefined;
|
|
652
|
-
role?: "
|
|
653
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
260
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
261
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
654
262
|
source?: {
|
|
655
263
|
kind: "semantic";
|
|
656
264
|
domainId: string;
|
|
@@ -662,11 +270,11 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
662
270
|
kind: "physical";
|
|
663
271
|
connectionId: string;
|
|
664
272
|
tableName: string;
|
|
273
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
665
274
|
label?: string | undefined;
|
|
666
275
|
connectionType?: string | undefined;
|
|
667
276
|
databaseName?: string | undefined;
|
|
668
277
|
schemaName?: string | undefined;
|
|
669
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
670
278
|
} | undefined;
|
|
671
279
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
672
280
|
}>;
|
|
@@ -676,8 +284,8 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
676
284
|
field: {
|
|
677
285
|
name: string;
|
|
678
286
|
label?: string | undefined;
|
|
679
|
-
role?: "
|
|
680
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
287
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
288
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
681
289
|
source?: {
|
|
682
290
|
kind: "semantic";
|
|
683
291
|
domainId: string;
|
|
@@ -689,11 +297,11 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
689
297
|
kind: "physical";
|
|
690
298
|
connectionId: string;
|
|
691
299
|
tableName: string;
|
|
300
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
692
301
|
label?: string | undefined;
|
|
693
302
|
connectionType?: string | undefined;
|
|
694
303
|
databaseName?: string | undefined;
|
|
695
304
|
schemaName?: string | undefined;
|
|
696
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
697
305
|
} | undefined;
|
|
698
306
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
699
307
|
};
|
|
@@ -703,8 +311,8 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
703
311
|
field: {
|
|
704
312
|
name: string;
|
|
705
313
|
label?: string | undefined;
|
|
706
|
-
role?: "
|
|
707
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
314
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
315
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
708
316
|
source?: {
|
|
709
317
|
kind: "semantic";
|
|
710
318
|
domainId: string;
|
|
@@ -716,11 +324,11 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
716
324
|
kind: "physical";
|
|
717
325
|
connectionId: string;
|
|
718
326
|
tableName: string;
|
|
327
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
719
328
|
label?: string | undefined;
|
|
720
329
|
connectionType?: string | undefined;
|
|
721
330
|
databaseName?: string | undefined;
|
|
722
331
|
schemaName?: string | undefined;
|
|
723
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
724
332
|
} | undefined;
|
|
725
333
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
726
334
|
};
|
|
@@ -730,8 +338,8 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
730
338
|
kind: "derived_field";
|
|
731
339
|
label: string;
|
|
732
340
|
name: string;
|
|
733
|
-
dataType: "string" | "number" | "boolean" | "
|
|
734
|
-
resultRole: "
|
|
341
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
342
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
735
343
|
computeStage: "aggregate" | "row";
|
|
736
344
|
expression: string;
|
|
737
345
|
inputs: Record<string, {
|
|
@@ -739,8 +347,8 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
739
347
|
field: {
|
|
740
348
|
name: string;
|
|
741
349
|
label?: string | undefined;
|
|
742
|
-
role?: "
|
|
743
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
350
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
351
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
744
352
|
source?: {
|
|
745
353
|
kind: "semantic";
|
|
746
354
|
domainId: string;
|
|
@@ -752,11 +360,11 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
752
360
|
kind: "physical";
|
|
753
361
|
connectionId: string;
|
|
754
362
|
tableName: string;
|
|
363
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
755
364
|
label?: string | undefined;
|
|
756
365
|
connectionType?: string | undefined;
|
|
757
366
|
databaseName?: string | undefined;
|
|
758
367
|
schemaName?: string | undefined;
|
|
759
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
760
368
|
} | undefined;
|
|
761
369
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
762
370
|
};
|
|
@@ -767,49 +375,14 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
767
375
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
768
376
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
769
377
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
770
|
-
format?:
|
|
771
|
-
type: "date" | "datetime";
|
|
772
|
-
pattern?: string | undefined;
|
|
773
|
-
locale?: string | undefined;
|
|
774
|
-
prefix?: string | undefined;
|
|
775
|
-
suffix?: string | undefined;
|
|
776
|
-
relative?: boolean | undefined;
|
|
777
|
-
timezone?: string | undefined;
|
|
778
|
-
sourceTimezone?: string | undefined;
|
|
779
|
-
} | {
|
|
780
|
-
type: "duration";
|
|
781
|
-
prefix?: string | undefined;
|
|
782
|
-
suffix?: string | undefined;
|
|
783
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
784
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
785
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
786
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
787
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
788
|
-
maxUnits?: number | undefined;
|
|
789
|
-
} | {
|
|
790
|
-
type: "string";
|
|
791
|
-
prefix?: string | undefined;
|
|
792
|
-
suffix?: string | undefined;
|
|
793
|
-
} | {
|
|
794
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
795
|
-
currency?: string | undefined;
|
|
796
|
-
minimumFractionDigits?: number | undefined;
|
|
797
|
-
maximumFractionDigits?: number | undefined;
|
|
798
|
-
useGrouping?: boolean | undefined;
|
|
799
|
-
prefix?: string | undefined;
|
|
800
|
-
suffix?: string | undefined;
|
|
801
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
802
|
-
compact?: boolean | undefined;
|
|
803
|
-
scale?: number | undefined;
|
|
804
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
805
|
-
} | undefined;
|
|
378
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
806
379
|
tags?: string[] | undefined;
|
|
807
380
|
}, {
|
|
808
381
|
kind: "derived_field";
|
|
809
382
|
label: string;
|
|
810
383
|
name: string;
|
|
811
|
-
dataType: "string" | "number" | "boolean" | "
|
|
812
|
-
resultRole: "
|
|
384
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
385
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
813
386
|
computeStage: "aggregate" | "row";
|
|
814
387
|
expression: string;
|
|
815
388
|
inputs: Record<string, {
|
|
@@ -817,8 +390,8 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
817
390
|
field: {
|
|
818
391
|
name: string;
|
|
819
392
|
label?: string | undefined;
|
|
820
|
-
role?: "
|
|
821
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
393
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
394
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
822
395
|
source?: {
|
|
823
396
|
kind: "semantic";
|
|
824
397
|
domainId: string;
|
|
@@ -830,11 +403,11 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
830
403
|
kind: "physical";
|
|
831
404
|
connectionId: string;
|
|
832
405
|
tableName: string;
|
|
406
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
833
407
|
label?: string | undefined;
|
|
834
408
|
connectionType?: string | undefined;
|
|
835
409
|
databaseName?: string | undefined;
|
|
836
410
|
schemaName?: string | undefined;
|
|
837
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
838
411
|
} | undefined;
|
|
839
412
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
840
413
|
};
|
|
@@ -845,49 +418,14 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
845
418
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
846
419
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
847
420
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
848
|
-
format?:
|
|
849
|
-
type: "date" | "datetime";
|
|
850
|
-
pattern?: string | undefined;
|
|
851
|
-
locale?: string | undefined;
|
|
852
|
-
prefix?: string | undefined;
|
|
853
|
-
suffix?: string | undefined;
|
|
854
|
-
relative?: boolean | undefined;
|
|
855
|
-
timezone?: string | undefined;
|
|
856
|
-
sourceTimezone?: string | undefined;
|
|
857
|
-
} | {
|
|
858
|
-
type: "duration";
|
|
859
|
-
prefix?: string | undefined;
|
|
860
|
-
suffix?: string | undefined;
|
|
861
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
862
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
863
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
864
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
865
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
866
|
-
maxUnits?: number | undefined;
|
|
867
|
-
} | {
|
|
868
|
-
type: "string";
|
|
869
|
-
prefix?: string | undefined;
|
|
870
|
-
suffix?: string | undefined;
|
|
871
|
-
} | {
|
|
872
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
873
|
-
currency?: string | undefined;
|
|
874
|
-
minimumFractionDigits?: number | undefined;
|
|
875
|
-
maximumFractionDigits?: number | undefined;
|
|
876
|
-
useGrouping?: boolean | undefined;
|
|
877
|
-
prefix?: string | undefined;
|
|
878
|
-
suffix?: string | undefined;
|
|
879
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
880
|
-
compact?: boolean | undefined;
|
|
881
|
-
scale?: number | undefined;
|
|
882
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
883
|
-
} | undefined;
|
|
421
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
884
422
|
tags?: string[] | undefined;
|
|
885
423
|
}>, {
|
|
886
424
|
kind: "derived_field";
|
|
887
425
|
label: string;
|
|
888
426
|
name: string;
|
|
889
|
-
dataType: "string" | "number" | "boolean" | "
|
|
890
|
-
resultRole: "
|
|
427
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
428
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
891
429
|
computeStage: "aggregate" | "row";
|
|
892
430
|
expression: string;
|
|
893
431
|
inputs: Record<string, {
|
|
@@ -895,8 +433,8 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
895
433
|
field: {
|
|
896
434
|
name: string;
|
|
897
435
|
label?: string | undefined;
|
|
898
|
-
role?: "
|
|
899
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
436
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
437
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
900
438
|
source?: {
|
|
901
439
|
kind: "semantic";
|
|
902
440
|
domainId: string;
|
|
@@ -908,11 +446,11 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
908
446
|
kind: "physical";
|
|
909
447
|
connectionId: string;
|
|
910
448
|
tableName: string;
|
|
449
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
911
450
|
label?: string | undefined;
|
|
912
451
|
connectionType?: string | undefined;
|
|
913
452
|
databaseName?: string | undefined;
|
|
914
453
|
schemaName?: string | undefined;
|
|
915
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
916
454
|
} | undefined;
|
|
917
455
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
918
456
|
};
|
|
@@ -923,49 +461,14 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
923
461
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
924
462
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
925
463
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
926
|
-
format?:
|
|
927
|
-
type: "date" | "datetime";
|
|
928
|
-
pattern?: string | undefined;
|
|
929
|
-
locale?: string | undefined;
|
|
930
|
-
prefix?: string | undefined;
|
|
931
|
-
suffix?: string | undefined;
|
|
932
|
-
relative?: boolean | undefined;
|
|
933
|
-
timezone?: string | undefined;
|
|
934
|
-
sourceTimezone?: string | undefined;
|
|
935
|
-
} | {
|
|
936
|
-
type: "duration";
|
|
937
|
-
prefix?: string | undefined;
|
|
938
|
-
suffix?: string | undefined;
|
|
939
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
940
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
941
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
942
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
943
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
944
|
-
maxUnits?: number | undefined;
|
|
945
|
-
} | {
|
|
946
|
-
type: "string";
|
|
947
|
-
prefix?: string | undefined;
|
|
948
|
-
suffix?: string | undefined;
|
|
949
|
-
} | {
|
|
950
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
951
|
-
currency?: string | undefined;
|
|
952
|
-
minimumFractionDigits?: number | undefined;
|
|
953
|
-
maximumFractionDigits?: number | undefined;
|
|
954
|
-
useGrouping?: boolean | undefined;
|
|
955
|
-
prefix?: string | undefined;
|
|
956
|
-
suffix?: string | undefined;
|
|
957
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
958
|
-
compact?: boolean | undefined;
|
|
959
|
-
scale?: number | undefined;
|
|
960
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
961
|
-
} | undefined;
|
|
464
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
962
465
|
tags?: string[] | undefined;
|
|
963
466
|
}, {
|
|
964
467
|
kind: "derived_field";
|
|
965
468
|
label: string;
|
|
966
469
|
name: string;
|
|
967
|
-
dataType: "string" | "number" | "boolean" | "
|
|
968
|
-
resultRole: "
|
|
470
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
471
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
969
472
|
computeStage: "aggregate" | "row";
|
|
970
473
|
expression: string;
|
|
971
474
|
inputs: Record<string, {
|
|
@@ -973,8 +476,8 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
973
476
|
field: {
|
|
974
477
|
name: string;
|
|
975
478
|
label?: string | undefined;
|
|
976
|
-
role?: "
|
|
977
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
479
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
480
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
978
481
|
source?: {
|
|
979
482
|
kind: "semantic";
|
|
980
483
|
domainId: string;
|
|
@@ -986,11 +489,11 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
986
489
|
kind: "physical";
|
|
987
490
|
connectionId: string;
|
|
988
491
|
tableName: string;
|
|
492
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
989
493
|
label?: string | undefined;
|
|
990
494
|
connectionType?: string | undefined;
|
|
991
495
|
databaseName?: string | undefined;
|
|
992
496
|
schemaName?: string | undefined;
|
|
993
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
994
497
|
} | undefined;
|
|
995
498
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
996
499
|
};
|
|
@@ -1001,42 +504,7 @@ export declare const configDerivedFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1001
504
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1002
505
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
1003
506
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
1004
|
-
format?:
|
|
1005
|
-
type: "date" | "datetime";
|
|
1006
|
-
pattern?: string | undefined;
|
|
1007
|
-
locale?: string | undefined;
|
|
1008
|
-
prefix?: string | undefined;
|
|
1009
|
-
suffix?: string | undefined;
|
|
1010
|
-
relative?: boolean | undefined;
|
|
1011
|
-
timezone?: string | undefined;
|
|
1012
|
-
sourceTimezone?: string | undefined;
|
|
1013
|
-
} | {
|
|
1014
|
-
type: "duration";
|
|
1015
|
-
prefix?: string | undefined;
|
|
1016
|
-
suffix?: string | undefined;
|
|
1017
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1018
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1019
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1020
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1021
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1022
|
-
maxUnits?: number | undefined;
|
|
1023
|
-
} | {
|
|
1024
|
-
type: "string";
|
|
1025
|
-
prefix?: string | undefined;
|
|
1026
|
-
suffix?: string | undefined;
|
|
1027
|
-
} | {
|
|
1028
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1029
|
-
currency?: string | undefined;
|
|
1030
|
-
minimumFractionDigits?: number | undefined;
|
|
1031
|
-
maximumFractionDigits?: number | undefined;
|
|
1032
|
-
useGrouping?: boolean | undefined;
|
|
1033
|
-
prefix?: string | undefined;
|
|
1034
|
-
suffix?: string | undefined;
|
|
1035
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1036
|
-
compact?: boolean | undefined;
|
|
1037
|
-
scale?: number | undefined;
|
|
1038
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1039
|
-
} | undefined;
|
|
507
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
1040
508
|
tags?: string[] | undefined;
|
|
1041
509
|
}>;
|
|
1042
510
|
export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
@@ -1082,20 +550,20 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1082
550
|
kind: "physical";
|
|
1083
551
|
connectionId: string;
|
|
1084
552
|
tableName: string;
|
|
553
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1085
554
|
label?: string | undefined;
|
|
1086
555
|
connectionType?: string | undefined;
|
|
1087
556
|
databaseName?: string | undefined;
|
|
1088
557
|
schemaName?: string | undefined;
|
|
1089
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1090
558
|
}, {
|
|
1091
559
|
kind: "physical";
|
|
1092
560
|
connectionId: string;
|
|
1093
561
|
tableName: string;
|
|
562
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1094
563
|
label?: string | undefined;
|
|
1095
564
|
connectionType?: string | undefined;
|
|
1096
565
|
databaseName?: string | undefined;
|
|
1097
566
|
schemaName?: string | undefined;
|
|
1098
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1099
567
|
}>]>>;
|
|
1100
568
|
} & {
|
|
1101
569
|
derivedField: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
@@ -1113,137 +581,7 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1113
581
|
aggregationStrategy: z.ZodOptional<z.ZodEnum<["default", "symmetric_aggregate", "aggregate_then_join", "weighted"]>>;
|
|
1114
582
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1115
583
|
} & {
|
|
1116
|
-
format: z.ZodOptional<z.
|
|
1117
|
-
type: z.ZodEnum<["number", "currency", "percent", "percentage", "scientific"]>;
|
|
1118
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
1119
|
-
minimumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
1120
|
-
maximumFractionDigits: z.ZodOptional<z.ZodNumber>;
|
|
1121
|
-
useGrouping: z.ZodOptional<z.ZodBoolean>;
|
|
1122
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1123
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
1124
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
1125
|
-
compact: z.ZodOptional<z.ZodBoolean>;
|
|
1126
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
1127
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
1128
|
-
percentValueMode: z.ZodOptional<z.ZodEnum<["fraction", "whole"]>>;
|
|
1129
|
-
}, "locale">, "strict", z.ZodTypeAny, {
|
|
1130
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1131
|
-
currency?: string | undefined;
|
|
1132
|
-
minimumFractionDigits?: number | undefined;
|
|
1133
|
-
maximumFractionDigits?: number | undefined;
|
|
1134
|
-
useGrouping?: boolean | undefined;
|
|
1135
|
-
prefix?: string | undefined;
|
|
1136
|
-
suffix?: string | undefined;
|
|
1137
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1138
|
-
compact?: boolean | undefined;
|
|
1139
|
-
scale?: number | undefined;
|
|
1140
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1141
|
-
}, {
|
|
1142
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1143
|
-
currency?: string | undefined;
|
|
1144
|
-
minimumFractionDigits?: number | undefined;
|
|
1145
|
-
maximumFractionDigits?: number | undefined;
|
|
1146
|
-
useGrouping?: boolean | undefined;
|
|
1147
|
-
prefix?: string | undefined;
|
|
1148
|
-
suffix?: string | undefined;
|
|
1149
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1150
|
-
compact?: boolean | undefined;
|
|
1151
|
-
scale?: number | undefined;
|
|
1152
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1153
|
-
}>, {
|
|
1154
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1155
|
-
currency?: string | undefined;
|
|
1156
|
-
minimumFractionDigits?: number | undefined;
|
|
1157
|
-
maximumFractionDigits?: number | undefined;
|
|
1158
|
-
useGrouping?: boolean | undefined;
|
|
1159
|
-
prefix?: string | undefined;
|
|
1160
|
-
suffix?: string | undefined;
|
|
1161
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1162
|
-
compact?: boolean | undefined;
|
|
1163
|
-
scale?: number | undefined;
|
|
1164
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1165
|
-
}, {
|
|
1166
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1167
|
-
currency?: string | undefined;
|
|
1168
|
-
minimumFractionDigits?: number | undefined;
|
|
1169
|
-
maximumFractionDigits?: number | undefined;
|
|
1170
|
-
useGrouping?: boolean | undefined;
|
|
1171
|
-
prefix?: string | undefined;
|
|
1172
|
-
suffix?: string | undefined;
|
|
1173
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1174
|
-
compact?: boolean | undefined;
|
|
1175
|
-
scale?: number | undefined;
|
|
1176
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1177
|
-
}>, z.ZodObject<{
|
|
1178
|
-
type: z.ZodEnum<["date", "datetime"]>;
|
|
1179
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
1180
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
relative: z.ZodOptional<z.ZodBoolean>;
|
|
1182
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
sourceTimezone: z.ZodOptional<z.ZodString>;
|
|
1184
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1185
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
1186
|
-
}, "strict", z.ZodTypeAny, {
|
|
1187
|
-
type: "date" | "datetime";
|
|
1188
|
-
pattern?: string | undefined;
|
|
1189
|
-
locale?: string | undefined;
|
|
1190
|
-
prefix?: string | undefined;
|
|
1191
|
-
suffix?: string | undefined;
|
|
1192
|
-
relative?: boolean | undefined;
|
|
1193
|
-
timezone?: string | undefined;
|
|
1194
|
-
sourceTimezone?: string | undefined;
|
|
1195
|
-
}, {
|
|
1196
|
-
type: "date" | "datetime";
|
|
1197
|
-
pattern?: string | undefined;
|
|
1198
|
-
locale?: string | undefined;
|
|
1199
|
-
prefix?: string | undefined;
|
|
1200
|
-
suffix?: string | undefined;
|
|
1201
|
-
relative?: boolean | undefined;
|
|
1202
|
-
timezone?: string | undefined;
|
|
1203
|
-
sourceTimezone?: string | undefined;
|
|
1204
|
-
}>, z.ZodObject<{
|
|
1205
|
-
type: z.ZodLiteral<"duration">;
|
|
1206
|
-
inputUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
1207
|
-
outputStyle: z.ZodOptional<z.ZodEnum<["compact", "digital", "long"]>>;
|
|
1208
|
-
largestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
1209
|
-
smallestUnit: z.ZodOptional<z.ZodEnum<["millisecond", "second", "minute", "hour", "day"]>>;
|
|
1210
|
-
maxUnits: z.ZodOptional<z.ZodNumber>;
|
|
1211
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1212
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
1213
|
-
negativeStyle: z.ZodOptional<z.ZodEnum<["minus", "parentheses"]>>;
|
|
1214
|
-
}, "strict", z.ZodTypeAny, {
|
|
1215
|
-
type: "duration";
|
|
1216
|
-
prefix?: string | undefined;
|
|
1217
|
-
suffix?: string | undefined;
|
|
1218
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1219
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1220
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1221
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1222
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1223
|
-
maxUnits?: number | undefined;
|
|
1224
|
-
}, {
|
|
1225
|
-
type: "duration";
|
|
1226
|
-
prefix?: string | undefined;
|
|
1227
|
-
suffix?: string | undefined;
|
|
1228
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1229
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1230
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1231
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1232
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1233
|
-
maxUnits?: number | undefined;
|
|
1234
|
-
}>, z.ZodObject<{
|
|
1235
|
-
type: z.ZodLiteral<"string">;
|
|
1236
|
-
prefix: z.ZodOptional<z.ZodString>;
|
|
1237
|
-
suffix: z.ZodOptional<z.ZodString>;
|
|
1238
|
-
}, "strict", z.ZodTypeAny, {
|
|
1239
|
-
type: "string";
|
|
1240
|
-
prefix?: string | undefined;
|
|
1241
|
-
suffix?: string | undefined;
|
|
1242
|
-
}, {
|
|
1243
|
-
type: "string";
|
|
1244
|
-
prefix?: string | undefined;
|
|
1245
|
-
suffix?: string | undefined;
|
|
1246
|
-
}>]>>;
|
|
584
|
+
format: z.ZodOptional<z.ZodType<import('./contracts.js').SemaphorScalarValueFormat, z.ZodTypeDef, import('./contracts.js').SemaphorScalarValueFormat>>;
|
|
1247
585
|
inputs: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1248
586
|
kind: z.ZodLiteral<"field">;
|
|
1249
587
|
field: z.ZodObject<{
|
|
@@ -1289,26 +627,26 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1289
627
|
kind: "physical";
|
|
1290
628
|
connectionId: string;
|
|
1291
629
|
tableName: string;
|
|
630
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1292
631
|
label?: string | undefined;
|
|
1293
632
|
connectionType?: string | undefined;
|
|
1294
633
|
databaseName?: string | undefined;
|
|
1295
634
|
schemaName?: string | undefined;
|
|
1296
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1297
635
|
}, {
|
|
1298
636
|
kind: "physical";
|
|
1299
637
|
connectionId: string;
|
|
1300
638
|
tableName: string;
|
|
639
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1301
640
|
label?: string | undefined;
|
|
1302
641
|
connectionType?: string | undefined;
|
|
1303
642
|
databaseName?: string | undefined;
|
|
1304
643
|
schemaName?: string | undefined;
|
|
1305
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1306
644
|
}>]>>;
|
|
1307
645
|
}, "strict", z.ZodTypeAny, {
|
|
1308
646
|
name: string;
|
|
1309
647
|
label?: string | undefined;
|
|
1310
|
-
role?: "
|
|
1311
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
648
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
649
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1312
650
|
source?: {
|
|
1313
651
|
kind: "semantic";
|
|
1314
652
|
domainId: string;
|
|
@@ -1320,18 +658,18 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1320
658
|
kind: "physical";
|
|
1321
659
|
connectionId: string;
|
|
1322
660
|
tableName: string;
|
|
661
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1323
662
|
label?: string | undefined;
|
|
1324
663
|
connectionType?: string | undefined;
|
|
1325
664
|
databaseName?: string | undefined;
|
|
1326
665
|
schemaName?: string | undefined;
|
|
1327
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1328
666
|
} | undefined;
|
|
1329
667
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1330
668
|
}, {
|
|
1331
669
|
name: string;
|
|
1332
670
|
label?: string | undefined;
|
|
1333
|
-
role?: "
|
|
1334
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
671
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
672
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1335
673
|
source?: {
|
|
1336
674
|
kind: "semantic";
|
|
1337
675
|
domainId: string;
|
|
@@ -1343,11 +681,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1343
681
|
kind: "physical";
|
|
1344
682
|
connectionId: string;
|
|
1345
683
|
tableName: string;
|
|
684
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1346
685
|
label?: string | undefined;
|
|
1347
686
|
connectionType?: string | undefined;
|
|
1348
687
|
databaseName?: string | undefined;
|
|
1349
688
|
schemaName?: string | undefined;
|
|
1350
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1351
689
|
} | undefined;
|
|
1352
690
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1353
691
|
}>;
|
|
@@ -1357,8 +695,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1357
695
|
field: {
|
|
1358
696
|
name: string;
|
|
1359
697
|
label?: string | undefined;
|
|
1360
|
-
role?: "
|
|
1361
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
698
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
699
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1362
700
|
source?: {
|
|
1363
701
|
kind: "semantic";
|
|
1364
702
|
domainId: string;
|
|
@@ -1370,11 +708,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1370
708
|
kind: "physical";
|
|
1371
709
|
connectionId: string;
|
|
1372
710
|
tableName: string;
|
|
711
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1373
712
|
label?: string | undefined;
|
|
1374
713
|
connectionType?: string | undefined;
|
|
1375
714
|
databaseName?: string | undefined;
|
|
1376
715
|
schemaName?: string | undefined;
|
|
1377
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1378
716
|
} | undefined;
|
|
1379
717
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1380
718
|
};
|
|
@@ -1384,8 +722,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1384
722
|
field: {
|
|
1385
723
|
name: string;
|
|
1386
724
|
label?: string | undefined;
|
|
1387
|
-
role?: "
|
|
1388
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
725
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
726
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1389
727
|
source?: {
|
|
1390
728
|
kind: "semantic";
|
|
1391
729
|
domainId: string;
|
|
@@ -1397,11 +735,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1397
735
|
kind: "physical";
|
|
1398
736
|
connectionId: string;
|
|
1399
737
|
tableName: string;
|
|
738
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1400
739
|
label?: string | undefined;
|
|
1401
740
|
connectionType?: string | undefined;
|
|
1402
741
|
databaseName?: string | undefined;
|
|
1403
742
|
schemaName?: string | undefined;
|
|
1404
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1405
743
|
} | undefined;
|
|
1406
744
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1407
745
|
};
|
|
@@ -1411,8 +749,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1411
749
|
kind: "derived_field";
|
|
1412
750
|
label: string;
|
|
1413
751
|
name: string;
|
|
1414
|
-
dataType: "string" | "number" | "boolean" | "
|
|
1415
|
-
resultRole: "
|
|
752
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
753
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
1416
754
|
computeStage: "aggregate" | "row";
|
|
1417
755
|
expression: string;
|
|
1418
756
|
inputs: Record<string, {
|
|
@@ -1420,8 +758,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1420
758
|
field: {
|
|
1421
759
|
name: string;
|
|
1422
760
|
label?: string | undefined;
|
|
1423
|
-
role?: "
|
|
1424
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
761
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
762
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1425
763
|
source?: {
|
|
1426
764
|
kind: "semantic";
|
|
1427
765
|
domainId: string;
|
|
@@ -1433,11 +771,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1433
771
|
kind: "physical";
|
|
1434
772
|
connectionId: string;
|
|
1435
773
|
tableName: string;
|
|
774
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1436
775
|
label?: string | undefined;
|
|
1437
776
|
connectionType?: string | undefined;
|
|
1438
777
|
databaseName?: string | undefined;
|
|
1439
778
|
schemaName?: string | undefined;
|
|
1440
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1441
779
|
} | undefined;
|
|
1442
780
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1443
781
|
};
|
|
@@ -1448,49 +786,14 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1448
786
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1449
787
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
1450
788
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
1451
|
-
format?:
|
|
1452
|
-
type: "date" | "datetime";
|
|
1453
|
-
pattern?: string | undefined;
|
|
1454
|
-
locale?: string | undefined;
|
|
1455
|
-
prefix?: string | undefined;
|
|
1456
|
-
suffix?: string | undefined;
|
|
1457
|
-
relative?: boolean | undefined;
|
|
1458
|
-
timezone?: string | undefined;
|
|
1459
|
-
sourceTimezone?: string | undefined;
|
|
1460
|
-
} | {
|
|
1461
|
-
type: "duration";
|
|
1462
|
-
prefix?: string | undefined;
|
|
1463
|
-
suffix?: string | undefined;
|
|
1464
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1465
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1466
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1467
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1468
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1469
|
-
maxUnits?: number | undefined;
|
|
1470
|
-
} | {
|
|
1471
|
-
type: "string";
|
|
1472
|
-
prefix?: string | undefined;
|
|
1473
|
-
suffix?: string | undefined;
|
|
1474
|
-
} | {
|
|
1475
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1476
|
-
currency?: string | undefined;
|
|
1477
|
-
minimumFractionDigits?: number | undefined;
|
|
1478
|
-
maximumFractionDigits?: number | undefined;
|
|
1479
|
-
useGrouping?: boolean | undefined;
|
|
1480
|
-
prefix?: string | undefined;
|
|
1481
|
-
suffix?: string | undefined;
|
|
1482
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1483
|
-
compact?: boolean | undefined;
|
|
1484
|
-
scale?: number | undefined;
|
|
1485
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1486
|
-
} | undefined;
|
|
789
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
1487
790
|
tags?: string[] | undefined;
|
|
1488
791
|
}, {
|
|
1489
792
|
kind: "derived_field";
|
|
1490
793
|
label: string;
|
|
1491
794
|
name: string;
|
|
1492
|
-
dataType: "string" | "number" | "boolean" | "
|
|
1493
|
-
resultRole: "
|
|
795
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
796
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
1494
797
|
computeStage: "aggregate" | "row";
|
|
1495
798
|
expression: string;
|
|
1496
799
|
inputs: Record<string, {
|
|
@@ -1498,8 +801,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1498
801
|
field: {
|
|
1499
802
|
name: string;
|
|
1500
803
|
label?: string | undefined;
|
|
1501
|
-
role?: "
|
|
1502
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
804
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
805
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1503
806
|
source?: {
|
|
1504
807
|
kind: "semantic";
|
|
1505
808
|
domainId: string;
|
|
@@ -1511,11 +814,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1511
814
|
kind: "physical";
|
|
1512
815
|
connectionId: string;
|
|
1513
816
|
tableName: string;
|
|
817
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1514
818
|
label?: string | undefined;
|
|
1515
819
|
connectionType?: string | undefined;
|
|
1516
820
|
databaseName?: string | undefined;
|
|
1517
821
|
schemaName?: string | undefined;
|
|
1518
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1519
822
|
} | undefined;
|
|
1520
823
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1521
824
|
};
|
|
@@ -1526,49 +829,14 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1526
829
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1527
830
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
1528
831
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
1529
|
-
format?:
|
|
1530
|
-
type: "date" | "datetime";
|
|
1531
|
-
pattern?: string | undefined;
|
|
1532
|
-
locale?: string | undefined;
|
|
1533
|
-
prefix?: string | undefined;
|
|
1534
|
-
suffix?: string | undefined;
|
|
1535
|
-
relative?: boolean | undefined;
|
|
1536
|
-
timezone?: string | undefined;
|
|
1537
|
-
sourceTimezone?: string | undefined;
|
|
1538
|
-
} | {
|
|
1539
|
-
type: "duration";
|
|
1540
|
-
prefix?: string | undefined;
|
|
1541
|
-
suffix?: string | undefined;
|
|
1542
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1543
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1544
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1545
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1546
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1547
|
-
maxUnits?: number | undefined;
|
|
1548
|
-
} | {
|
|
1549
|
-
type: "string";
|
|
1550
|
-
prefix?: string | undefined;
|
|
1551
|
-
suffix?: string | undefined;
|
|
1552
|
-
} | {
|
|
1553
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1554
|
-
currency?: string | undefined;
|
|
1555
|
-
minimumFractionDigits?: number | undefined;
|
|
1556
|
-
maximumFractionDigits?: number | undefined;
|
|
1557
|
-
useGrouping?: boolean | undefined;
|
|
1558
|
-
prefix?: string | undefined;
|
|
1559
|
-
suffix?: string | undefined;
|
|
1560
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1561
|
-
compact?: boolean | undefined;
|
|
1562
|
-
scale?: number | undefined;
|
|
1563
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1564
|
-
} | undefined;
|
|
832
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
1565
833
|
tags?: string[] | undefined;
|
|
1566
834
|
}>, {
|
|
1567
835
|
kind: "derived_field";
|
|
1568
836
|
label: string;
|
|
1569
837
|
name: string;
|
|
1570
|
-
dataType: "string" | "number" | "boolean" | "
|
|
1571
|
-
resultRole: "
|
|
838
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
839
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
1572
840
|
computeStage: "aggregate" | "row";
|
|
1573
841
|
expression: string;
|
|
1574
842
|
inputs: Record<string, {
|
|
@@ -1576,8 +844,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1576
844
|
field: {
|
|
1577
845
|
name: string;
|
|
1578
846
|
label?: string | undefined;
|
|
1579
|
-
role?: "
|
|
1580
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
847
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
848
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1581
849
|
source?: {
|
|
1582
850
|
kind: "semantic";
|
|
1583
851
|
domainId: string;
|
|
@@ -1589,11 +857,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1589
857
|
kind: "physical";
|
|
1590
858
|
connectionId: string;
|
|
1591
859
|
tableName: string;
|
|
860
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1592
861
|
label?: string | undefined;
|
|
1593
862
|
connectionType?: string | undefined;
|
|
1594
863
|
databaseName?: string | undefined;
|
|
1595
864
|
schemaName?: string | undefined;
|
|
1596
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1597
865
|
} | undefined;
|
|
1598
866
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1599
867
|
};
|
|
@@ -1604,49 +872,14 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1604
872
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1605
873
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
1606
874
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
1607
|
-
format?:
|
|
1608
|
-
type: "date" | "datetime";
|
|
1609
|
-
pattern?: string | undefined;
|
|
1610
|
-
locale?: string | undefined;
|
|
1611
|
-
prefix?: string | undefined;
|
|
1612
|
-
suffix?: string | undefined;
|
|
1613
|
-
relative?: boolean | undefined;
|
|
1614
|
-
timezone?: string | undefined;
|
|
1615
|
-
sourceTimezone?: string | undefined;
|
|
1616
|
-
} | {
|
|
1617
|
-
type: "duration";
|
|
1618
|
-
prefix?: string | undefined;
|
|
1619
|
-
suffix?: string | undefined;
|
|
1620
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1621
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1622
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1623
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1624
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1625
|
-
maxUnits?: number | undefined;
|
|
1626
|
-
} | {
|
|
1627
|
-
type: "string";
|
|
1628
|
-
prefix?: string | undefined;
|
|
1629
|
-
suffix?: string | undefined;
|
|
1630
|
-
} | {
|
|
1631
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1632
|
-
currency?: string | undefined;
|
|
1633
|
-
minimumFractionDigits?: number | undefined;
|
|
1634
|
-
maximumFractionDigits?: number | undefined;
|
|
1635
|
-
useGrouping?: boolean | undefined;
|
|
1636
|
-
prefix?: string | undefined;
|
|
1637
|
-
suffix?: string | undefined;
|
|
1638
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1639
|
-
compact?: boolean | undefined;
|
|
1640
|
-
scale?: number | undefined;
|
|
1641
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1642
|
-
} | undefined;
|
|
875
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
1643
876
|
tags?: string[] | undefined;
|
|
1644
877
|
}, {
|
|
1645
878
|
kind: "derived_field";
|
|
1646
879
|
label: string;
|
|
1647
880
|
name: string;
|
|
1648
|
-
dataType: "string" | "number" | "boolean" | "
|
|
1649
|
-
resultRole: "
|
|
881
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
882
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
1650
883
|
computeStage: "aggregate" | "row";
|
|
1651
884
|
expression: string;
|
|
1652
885
|
inputs: Record<string, {
|
|
@@ -1654,8 +887,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1654
887
|
field: {
|
|
1655
888
|
name: string;
|
|
1656
889
|
label?: string | undefined;
|
|
1657
|
-
role?: "
|
|
1658
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
890
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
891
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1659
892
|
source?: {
|
|
1660
893
|
kind: "semantic";
|
|
1661
894
|
domainId: string;
|
|
@@ -1667,11 +900,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1667
900
|
kind: "physical";
|
|
1668
901
|
connectionId: string;
|
|
1669
902
|
tableName: string;
|
|
903
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1670
904
|
label?: string | undefined;
|
|
1671
905
|
connectionType?: string | undefined;
|
|
1672
906
|
databaseName?: string | undefined;
|
|
1673
907
|
schemaName?: string | undefined;
|
|
1674
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1675
908
|
} | undefined;
|
|
1676
909
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1677
910
|
};
|
|
@@ -1682,49 +915,14 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1682
915
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1683
916
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
1684
917
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
1685
|
-
format?:
|
|
1686
|
-
type: "date" | "datetime";
|
|
1687
|
-
pattern?: string | undefined;
|
|
1688
|
-
locale?: string | undefined;
|
|
1689
|
-
prefix?: string | undefined;
|
|
1690
|
-
suffix?: string | undefined;
|
|
1691
|
-
relative?: boolean | undefined;
|
|
1692
|
-
timezone?: string | undefined;
|
|
1693
|
-
sourceTimezone?: string | undefined;
|
|
1694
|
-
} | {
|
|
1695
|
-
type: "duration";
|
|
1696
|
-
prefix?: string | undefined;
|
|
1697
|
-
suffix?: string | undefined;
|
|
1698
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1699
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1700
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1701
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1702
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1703
|
-
maxUnits?: number | undefined;
|
|
1704
|
-
} | {
|
|
1705
|
-
type: "string";
|
|
1706
|
-
prefix?: string | undefined;
|
|
1707
|
-
suffix?: string | undefined;
|
|
1708
|
-
} | {
|
|
1709
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1710
|
-
currency?: string | undefined;
|
|
1711
|
-
minimumFractionDigits?: number | undefined;
|
|
1712
|
-
maximumFractionDigits?: number | undefined;
|
|
1713
|
-
useGrouping?: boolean | undefined;
|
|
1714
|
-
prefix?: string | undefined;
|
|
1715
|
-
suffix?: string | undefined;
|
|
1716
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1717
|
-
compact?: boolean | undefined;
|
|
1718
|
-
scale?: number | undefined;
|
|
1719
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1720
|
-
} | undefined;
|
|
918
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
1721
919
|
tags?: string[] | undefined;
|
|
1722
920
|
}>>;
|
|
1723
921
|
}, "strict", z.ZodTypeAny, {
|
|
1724
922
|
name: string;
|
|
1725
923
|
label?: string | undefined;
|
|
1726
|
-
role?: "
|
|
1727
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
924
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
925
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1728
926
|
source?: {
|
|
1729
927
|
kind: "semantic";
|
|
1730
928
|
domainId: string;
|
|
@@ -1736,19 +934,19 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1736
934
|
kind: "physical";
|
|
1737
935
|
connectionId: string;
|
|
1738
936
|
tableName: string;
|
|
937
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1739
938
|
label?: string | undefined;
|
|
1740
939
|
connectionType?: string | undefined;
|
|
1741
940
|
databaseName?: string | undefined;
|
|
1742
941
|
schemaName?: string | undefined;
|
|
1743
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1744
942
|
} | undefined;
|
|
1745
943
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1746
944
|
derivedField?: {
|
|
1747
945
|
kind: "derived_field";
|
|
1748
946
|
label: string;
|
|
1749
947
|
name: string;
|
|
1750
|
-
dataType: "string" | "number" | "boolean" | "
|
|
1751
|
-
resultRole: "
|
|
948
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
949
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
1752
950
|
computeStage: "aggregate" | "row";
|
|
1753
951
|
expression: string;
|
|
1754
952
|
inputs: Record<string, {
|
|
@@ -1756,8 +954,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1756
954
|
field: {
|
|
1757
955
|
name: string;
|
|
1758
956
|
label?: string | undefined;
|
|
1759
|
-
role?: "
|
|
1760
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
957
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
958
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1761
959
|
source?: {
|
|
1762
960
|
kind: "semantic";
|
|
1763
961
|
domainId: string;
|
|
@@ -1769,11 +967,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1769
967
|
kind: "physical";
|
|
1770
968
|
connectionId: string;
|
|
1771
969
|
tableName: string;
|
|
970
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1772
971
|
label?: string | undefined;
|
|
1773
972
|
connectionType?: string | undefined;
|
|
1774
973
|
databaseName?: string | undefined;
|
|
1775
974
|
schemaName?: string | undefined;
|
|
1776
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1777
975
|
} | undefined;
|
|
1778
976
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1779
977
|
};
|
|
@@ -1784,49 +982,14 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1784
982
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1785
983
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
1786
984
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
1787
|
-
format?:
|
|
1788
|
-
type: "date" | "datetime";
|
|
1789
|
-
pattern?: string | undefined;
|
|
1790
|
-
locale?: string | undefined;
|
|
1791
|
-
prefix?: string | undefined;
|
|
1792
|
-
suffix?: string | undefined;
|
|
1793
|
-
relative?: boolean | undefined;
|
|
1794
|
-
timezone?: string | undefined;
|
|
1795
|
-
sourceTimezone?: string | undefined;
|
|
1796
|
-
} | {
|
|
1797
|
-
type: "duration";
|
|
1798
|
-
prefix?: string | undefined;
|
|
1799
|
-
suffix?: string | undefined;
|
|
1800
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1801
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1802
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1803
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1804
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1805
|
-
maxUnits?: number | undefined;
|
|
1806
|
-
} | {
|
|
1807
|
-
type: "string";
|
|
1808
|
-
prefix?: string | undefined;
|
|
1809
|
-
suffix?: string | undefined;
|
|
1810
|
-
} | {
|
|
1811
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1812
|
-
currency?: string | undefined;
|
|
1813
|
-
minimumFractionDigits?: number | undefined;
|
|
1814
|
-
maximumFractionDigits?: number | undefined;
|
|
1815
|
-
useGrouping?: boolean | undefined;
|
|
1816
|
-
prefix?: string | undefined;
|
|
1817
|
-
suffix?: string | undefined;
|
|
1818
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1819
|
-
compact?: boolean | undefined;
|
|
1820
|
-
scale?: number | undefined;
|
|
1821
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1822
|
-
} | undefined;
|
|
985
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
1823
986
|
tags?: string[] | undefined;
|
|
1824
987
|
} | undefined;
|
|
1825
988
|
}, {
|
|
1826
989
|
name: string;
|
|
1827
990
|
label?: string | undefined;
|
|
1828
|
-
role?: "
|
|
1829
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
991
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
992
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1830
993
|
source?: {
|
|
1831
994
|
kind: "semantic";
|
|
1832
995
|
domainId: string;
|
|
@@ -1838,19 +1001,19 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1838
1001
|
kind: "physical";
|
|
1839
1002
|
connectionId: string;
|
|
1840
1003
|
tableName: string;
|
|
1004
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1841
1005
|
label?: string | undefined;
|
|
1842
1006
|
connectionType?: string | undefined;
|
|
1843
1007
|
databaseName?: string | undefined;
|
|
1844
1008
|
schemaName?: string | undefined;
|
|
1845
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1846
1009
|
} | undefined;
|
|
1847
1010
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1848
1011
|
derivedField?: {
|
|
1849
1012
|
kind: "derived_field";
|
|
1850
1013
|
label: string;
|
|
1851
1014
|
name: string;
|
|
1852
|
-
dataType: "string" | "number" | "boolean" | "
|
|
1853
|
-
resultRole: "
|
|
1015
|
+
dataType: "string" | "number" | "boolean" | "date" | "datetime" | "unknown";
|
|
1016
|
+
resultRole: "date" | "unknown" | "dimension" | "measure" | "id";
|
|
1854
1017
|
computeStage: "aggregate" | "row";
|
|
1855
1018
|
expression: string;
|
|
1856
1019
|
inputs: Record<string, {
|
|
@@ -1858,8 +1021,8 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1858
1021
|
field: {
|
|
1859
1022
|
name: string;
|
|
1860
1023
|
label?: string | undefined;
|
|
1861
|
-
role?: "
|
|
1862
|
-
dataType?: "string" | "number" | "boolean" | "
|
|
1024
|
+
role?: "date" | "unknown" | "dimension" | "measure" | "id" | undefined;
|
|
1025
|
+
dataType?: "string" | "number" | "boolean" | "date" | "datetime" | "unknown" | undefined;
|
|
1863
1026
|
source?: {
|
|
1864
1027
|
kind: "semantic";
|
|
1865
1028
|
domainId: string;
|
|
@@ -1871,11 +1034,11 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1871
1034
|
kind: "physical";
|
|
1872
1035
|
connectionId: string;
|
|
1873
1036
|
tableName: string;
|
|
1037
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1874
1038
|
label?: string | undefined;
|
|
1875
1039
|
connectionType?: string | undefined;
|
|
1876
1040
|
databaseName?: string | undefined;
|
|
1877
1041
|
schemaName?: string | undefined;
|
|
1878
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1879
1042
|
} | undefined;
|
|
1880
1043
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1881
1044
|
};
|
|
@@ -1886,42 +1049,7 @@ export declare const configExecutionFieldSchema: z.ZodObject<{
|
|
|
1886
1049
|
defaultAggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1887
1050
|
aggregationBehavior?: "additive" | "non_additive" | "ratio_of_sums" | "weighted" | "pre_aggregated" | "snapshot" | undefined;
|
|
1888
1051
|
aggregationStrategy?: "weighted" | "default" | "symmetric_aggregate" | "aggregate_then_join" | undefined;
|
|
1889
|
-
format?:
|
|
1890
|
-
type: "date" | "datetime";
|
|
1891
|
-
pattern?: string | undefined;
|
|
1892
|
-
locale?: string | undefined;
|
|
1893
|
-
prefix?: string | undefined;
|
|
1894
|
-
suffix?: string | undefined;
|
|
1895
|
-
relative?: boolean | undefined;
|
|
1896
|
-
timezone?: string | undefined;
|
|
1897
|
-
sourceTimezone?: string | undefined;
|
|
1898
|
-
} | {
|
|
1899
|
-
type: "duration";
|
|
1900
|
-
prefix?: string | undefined;
|
|
1901
|
-
suffix?: string | undefined;
|
|
1902
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1903
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1904
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1905
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1906
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1907
|
-
maxUnits?: number | undefined;
|
|
1908
|
-
} | {
|
|
1909
|
-
type: "string";
|
|
1910
|
-
prefix?: string | undefined;
|
|
1911
|
-
suffix?: string | undefined;
|
|
1912
|
-
} | {
|
|
1913
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1914
|
-
currency?: string | undefined;
|
|
1915
|
-
minimumFractionDigits?: number | undefined;
|
|
1916
|
-
maximumFractionDigits?: number | undefined;
|
|
1917
|
-
useGrouping?: boolean | undefined;
|
|
1918
|
-
prefix?: string | undefined;
|
|
1919
|
-
suffix?: string | undefined;
|
|
1920
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1921
|
-
compact?: boolean | undefined;
|
|
1922
|
-
scale?: number | undefined;
|
|
1923
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1924
|
-
} | undefined;
|
|
1052
|
+
format?: import('./contracts.js').SemaphorScalarValueFormat | undefined;
|
|
1925
1053
|
tags?: string[] | undefined;
|
|
1926
1054
|
} | undefined;
|
|
1927
1055
|
}>;
|