react-semaphor 0.1.558 → 0.1.560
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 +368 -358
- 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-CHLxsPfX.js +630 -0
- package/dist/chunks/{assistant-chat-BCWoP6Rf.js → assistant-chat-Bu2fFm_I.js} +206 -207
- package/dist/chunks/{bookmark-state-PjQpxbG7.js → bookmark-state-BFY9oNmr.js} +3 -3
- package/dist/chunks/{braces-D5Ucy7q1.js → braces-Da41xfUd.js} +1 -1
- package/dist/chunks/{comparison-window-caption-Dc7BaCMz.js → comparison-window-caption-4FNkMrzE.js} +213 -213
- package/dist/chunks/{context-DVy4HOU0.js → context-BgPDzLHZ.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-B-DLRGrV.js → custom-visual-inputs-Dz-enUNR.js} +1 -1
- package/dist/chunks/{dashboard-wK6Bai4V.js → dashboard-_MeBuy67.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Coqghdn6.js → dashboard-briefing-launcher-CEi4Pr_v.js} +1152 -1166
- package/dist/chunks/{dashboard-controls-BYWSM2RM.js → dashboard-controls-Bi7fyG-4.js} +98 -98
- package/dist/chunks/{dashboard-json-pPTB5gj0.js → dashboard-json-B1mU_OMa.js} +5 -5
- package/dist/chunks/{document-dashboard-inputs-PY_7Xm55.js → document-dashboard-inputs-CkWfDB8c.js} +64 -64
- package/dist/chunks/{edit-dashboard-visual-BODxuUeq.js → edit-dashboard-visual-0CJN31Y3.js} +8274 -8514
- package/dist/chunks/filter-reach-copy-BF4w4kI2.js +3738 -0
- package/dist/chunks/{filter-value-text-CUBpotVN.js → filter-value-text-CRC-K_l_.js} +3 -3
- package/dist/chunks/{global-date-filter-utils-BsFqnnbA.js → global-date-filter-utils-D8365uPH.js} +4088 -3416
- package/dist/chunks/{index-DP_wQl0v.js → index-DtHidOPV.js} +579 -604
- package/dist/chunks/{layout-grid-CkoXmv0L.js → layout-grid-BvsH4RY2.js} +1 -1
- package/dist/chunks/{list-filter-B4i25kuc.js → list-filter-Dg0otx5E.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-4GTUDheD.js → matrix-analytical-definition-CM18W8w6.js} +41 -41
- package/dist/chunks/{matrix-card-fS_4O7zA.js → matrix-card-HPskLaPy.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-Dj7HaAHC.js → matrix-member-presentation-Bbrfrke4.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-CpgLZ7E5.js → matrix-operation-contract-WPv4R-H_.js} +130 -130
- package/dist/chunks/{metric-comparison-C8LY7GG5.js → metric-comparison-ljMKYZKa.js} +2 -2
- package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-Ccn1zaxl.js} +1 -1
- package/dist/chunks/{palette-stlpjVk4.js → palette-Bsh376zO.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-DMk-mKhG.js → pivot-result-contract-expectations-Bl5suy4-.js} +602 -696
- package/dist/chunks/{pivot-result-identity-CrQ54Xbj.js → pivot-result-identity-vS9TSh4f.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-BI2z2LlB.js → raw-temporal-presentation-BHm7s-hz.js} +230 -274
- package/dist/chunks/{report-preferences-dialog-Dc-YyVwf.js → report-preferences-dialog-BV8L0SeS.js} +55 -55
- package/dist/chunks/{report-runtime-context-CohdtiMg.js → report-runtime-context-BZQh9ywy.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-BZYI1hB0.js → resolve-dashboard-input-context-CAMiWvyR.js} +2021 -2239
- package/dist/chunks/{save-C1dgxgAu.js → save-B5EAsgQF.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CIBoMq46.js → saved-dashboard-context-n2Wn11cV.js} +57 -57
- package/dist/chunks/{selection-reducer-_d6aKJnj.js → selection-reducer-D0YnaAD9.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-ERTLU7B4.js → semaphor-ready-indicator-XLBLOJ2V.js} +38446 -39176
- package/dist/chunks/{shelf-drop-preview-context-fEnx6iL_.js → shelf-drop-preview-context-DHMa54a-.js} +570 -570
- package/dist/chunks/source-entity-resolution-dUG5VWRm.js +607 -0
- package/dist/chunks/{switch-BqUan2mN.js → switch-ByxH4M7t.js} +3 -3
- package/dist/chunks/{table-export-sheet-CTCTA_bd.js → table-export-sheet-C_GdeTYU.js} +1 -1
- package/dist/chunks/{table-settings-DF1gdVQR.js → table-settings-Imz0FgWi.js} +8 -8
- package/dist/chunks/{temporal-input-presentation-DoSniQj1.js → temporal-input-presentation-uvNK_tM0.js} +1109 -820
- package/dist/chunks/{token-types-DFyLflLY.js → token-types-CQtXUVMy.js} +1 -1
- package/dist/chunks/{upload-DcoyjkRV.js → upload-wbR-NVzq.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-xhb9YFg-.js → use-create-flow-overlay-state-CEBaLOKC.js} +6 -6
- package/dist/chunks/validators-CXTneCA4.js +3453 -0
- package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-B1n_WjW3.js} +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2207 -1496
- 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 +6 -6
- package/dist/format-utils/index.js +181 -176
- package/dist/index.js +22 -22
- 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/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 +6 -6
- package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
- 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 +39 -9
- package/dist/types/lib/stores/table-actions.d.ts +9 -3
- 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 +13 -44
- package/dist/types/lib/utils/card-config-utils.d.ts +9 -1
- package/dist/types/lib/utils/card-definition.d.ts +9 -187
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +159 -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/scalar-value.d.ts +8 -8
- package/dist/types/shared/analytics-protocol/source-capabilities.d.ts +21 -0
- 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/changes/dashboard-change.d.ts +24 -24
- 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 +14 -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/dashboard-card-source-index.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +4 -2
- 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/retired-presentation-fields.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +5 -1
- 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 +15 -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 +1 -1
- package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
- package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
- package/dist/chunks/filter-reach-copy-BvJH9JO-.js +0 -3411
- package/dist/chunks/source-entity-resolution-DXW1HpKf.js +0 -816
- package/dist/chunks/validators-hmfNNQz8.js +0 -3595
- 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
|
@@ -11,7 +11,6 @@ export declare function captureMatrixExport(input: {
|
|
|
11
11
|
format: 'csv' | 'xlsx' | 'pdf';
|
|
12
12
|
purpose: 'manual' | 'schedule';
|
|
13
13
|
}): {
|
|
14
|
-
mode: "layout";
|
|
15
14
|
presentation: {
|
|
16
15
|
totals: {
|
|
17
16
|
columns: {
|
|
@@ -53,187 +52,10 @@ export declare function captureMatrixExport(input: {
|
|
|
53
52
|
};
|
|
54
53
|
levelLabels: Readonly<Record<string, string>>;
|
|
55
54
|
measureLabels: Readonly<Record<string, string>>;
|
|
56
|
-
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').
|
|
57
|
-
|
|
58
|
-
pattern?: string | undefined;
|
|
59
|
-
locale?: string | undefined;
|
|
60
|
-
prefix?: string | undefined;
|
|
61
|
-
suffix?: string | undefined;
|
|
62
|
-
relative?: boolean | undefined;
|
|
63
|
-
timezone?: string | undefined;
|
|
64
|
-
sourceTimezone?: string | undefined;
|
|
65
|
-
} | {
|
|
66
|
-
type: "duration";
|
|
67
|
-
prefix?: string | undefined;
|
|
68
|
-
suffix?: string | undefined;
|
|
69
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
70
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
71
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
72
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
73
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
74
|
-
maxUnits?: number | undefined;
|
|
75
|
-
} | {
|
|
76
|
-
type: "string";
|
|
77
|
-
prefix?: string | undefined;
|
|
78
|
-
suffix?: string | undefined;
|
|
79
|
-
} | {
|
|
80
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
81
|
-
currency?: string | undefined;
|
|
82
|
-
minimumFractionDigits?: number | undefined;
|
|
83
|
-
maximumFractionDigits?: number | undefined;
|
|
84
|
-
useGrouping?: boolean | undefined;
|
|
85
|
-
prefix?: string | undefined;
|
|
86
|
-
suffix?: string | undefined;
|
|
87
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
88
|
-
compact?: boolean | undefined;
|
|
89
|
-
scale?: number | undefined;
|
|
90
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
91
|
-
}>>;
|
|
92
|
-
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').TemporalBucketFormat | {
|
|
93
|
-
type: "date" | "datetime";
|
|
94
|
-
pattern?: string | undefined;
|
|
95
|
-
locale?: string | undefined;
|
|
96
|
-
prefix?: string | undefined;
|
|
97
|
-
suffix?: string | undefined;
|
|
98
|
-
relative?: boolean | undefined;
|
|
99
|
-
timezone?: string | undefined;
|
|
100
|
-
sourceTimezone?: string | undefined;
|
|
101
|
-
} | {
|
|
102
|
-
type: "duration";
|
|
103
|
-
prefix?: string | undefined;
|
|
104
|
-
suffix?: string | undefined;
|
|
105
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
106
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
107
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
108
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
109
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
110
|
-
maxUnits?: number | undefined;
|
|
111
|
-
} | {
|
|
112
|
-
type: "string";
|
|
113
|
-
prefix?: string | undefined;
|
|
114
|
-
suffix?: string | undefined;
|
|
115
|
-
} | {
|
|
116
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
117
|
-
currency?: string | undefined;
|
|
118
|
-
minimumFractionDigits?: number | undefined;
|
|
119
|
-
maximumFractionDigits?: number | undefined;
|
|
120
|
-
useGrouping?: boolean | undefined;
|
|
121
|
-
prefix?: string | undefined;
|
|
122
|
-
suffix?: string | undefined;
|
|
123
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
124
|
-
compact?: boolean | undefined;
|
|
125
|
-
scale?: number | undefined;
|
|
126
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
127
|
-
}>>;
|
|
128
|
-
conditionalFormatting?: {
|
|
129
|
-
version: 1;
|
|
130
|
-
rules: {
|
|
131
|
-
id: string;
|
|
132
|
-
target: {
|
|
133
|
-
level: "row" | "cell";
|
|
134
|
-
matrix?: {
|
|
135
|
-
axis: "columns" | "rows";
|
|
136
|
-
levelId?: string | undefined;
|
|
137
|
-
oppositePath?: {
|
|
138
|
-
member: {
|
|
139
|
-
value: string | number | boolean | {
|
|
140
|
-
value: string;
|
|
141
|
-
type: "integer" | "decimal";
|
|
142
|
-
kind: "exact_number";
|
|
143
|
-
} | null;
|
|
144
|
-
kind: "value";
|
|
145
|
-
} | {
|
|
146
|
-
kind: "others";
|
|
147
|
-
rankingId: string;
|
|
148
|
-
};
|
|
149
|
-
levelId: string;
|
|
150
|
-
}[] | undefined;
|
|
151
|
-
} | undefined;
|
|
152
|
-
columnIds?: string[] | undefined;
|
|
153
|
-
conditionColumnId?: string | undefined;
|
|
154
|
-
applyToColumnIds?: string[] | undefined;
|
|
155
|
-
tableParts?: ("subtotal" | "body" | "header" | "footer" | "grandTotal")[] | undefined;
|
|
156
|
-
rowRoles?: ("member" | "subtotal" | "grand_total" | "others")[] | undefined;
|
|
157
|
-
depth?: number | undefined;
|
|
158
|
-
includeTotals?: boolean | undefined;
|
|
159
|
-
includeSubtotals?: boolean | undefined;
|
|
160
|
-
};
|
|
161
|
-
condition: {
|
|
162
|
-
value: string | number | boolean | {
|
|
163
|
-
value: string;
|
|
164
|
-
type: "integer" | "decimal";
|
|
165
|
-
kind: "exact_number";
|
|
166
|
-
} | null;
|
|
167
|
-
kind: "comparison";
|
|
168
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
|
|
169
|
-
columnId: string;
|
|
170
|
-
} | {
|
|
171
|
-
kind: "between";
|
|
172
|
-
columnId: string;
|
|
173
|
-
min: string | number | boolean | {
|
|
174
|
-
value: string;
|
|
175
|
-
type: "integer" | "decimal";
|
|
176
|
-
kind: "exact_number";
|
|
177
|
-
} | null;
|
|
178
|
-
max: string | number | boolean | {
|
|
179
|
-
value: string;
|
|
180
|
-
type: "integer" | "decimal";
|
|
181
|
-
kind: "exact_number";
|
|
182
|
-
} | null;
|
|
183
|
-
inclusive?: boolean | undefined;
|
|
184
|
-
} | {
|
|
185
|
-
kind: "blank";
|
|
186
|
-
columnId: string;
|
|
187
|
-
isBlank: boolean;
|
|
188
|
-
} | {
|
|
189
|
-
value: string;
|
|
190
|
-
kind: "contains";
|
|
191
|
-
columnId: string;
|
|
192
|
-
exact?: boolean | undefined;
|
|
193
|
-
caseSensitive?: boolean | undefined;
|
|
194
|
-
} | {
|
|
195
|
-
kind: "topBottom";
|
|
196
|
-
count: number;
|
|
197
|
-
columnId: string;
|
|
198
|
-
direction: "top" | "bottom";
|
|
199
|
-
} | {
|
|
200
|
-
kind: "colorScale";
|
|
201
|
-
columnId: string;
|
|
202
|
-
range: "auto" | "manual";
|
|
203
|
-
colors: {
|
|
204
|
-
min: string;
|
|
205
|
-
max: string;
|
|
206
|
-
mid?: string | undefined;
|
|
207
|
-
};
|
|
208
|
-
min?: number | undefined;
|
|
209
|
-
max?: number | undefined;
|
|
210
|
-
mid?: number | undefined;
|
|
211
|
-
} | {
|
|
212
|
-
kind: "dataBar";
|
|
213
|
-
columnId: string;
|
|
214
|
-
range: "auto" | "manual";
|
|
215
|
-
color: string;
|
|
216
|
-
min?: number | undefined;
|
|
217
|
-
max?: number | undefined;
|
|
218
|
-
showValue?: boolean | undefined;
|
|
219
|
-
};
|
|
220
|
-
name?: string | undefined;
|
|
221
|
-
enabled?: boolean | undefined;
|
|
222
|
-
style?: {
|
|
223
|
-
dataBar?: {
|
|
224
|
-
color: string;
|
|
225
|
-
showValue: boolean;
|
|
226
|
-
} | undefined;
|
|
227
|
-
backgroundColor?: string | undefined;
|
|
228
|
-
textColor?: string | undefined;
|
|
229
|
-
fontWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
230
|
-
italic?: boolean | undefined;
|
|
231
|
-
textDecoration?: "none" | "underline" | "line-through" | undefined;
|
|
232
|
-
icon?: "arrowUp" | "arrowDown" | "warning" | "check" | "x" | undefined;
|
|
233
|
-
} | undefined;
|
|
234
|
-
}[];
|
|
235
|
-
} | undefined;
|
|
55
|
+
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
56
|
+
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
236
57
|
};
|
|
58
|
+
mode: "layout";
|
|
237
59
|
format: "csv" | "xlsx" | "pdf";
|
|
238
60
|
spec: {
|
|
239
61
|
source: {
|
|
@@ -247,11 +69,11 @@ export declare function captureMatrixExport(input: {
|
|
|
247
69
|
kind: "physical";
|
|
248
70
|
connectionId: string;
|
|
249
71
|
tableName: string;
|
|
72
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
250
73
|
label?: string | undefined;
|
|
251
74
|
connectionType?: string | undefined;
|
|
252
75
|
databaseName?: string | undefined;
|
|
253
76
|
schemaName?: string | undefined;
|
|
254
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
255
77
|
};
|
|
256
78
|
columns: readonly import('../analytics-protocol/index.js').MatrixLevel[];
|
|
257
79
|
measures: readonly ({
|
|
@@ -293,8 +115,8 @@ export declare function captureMatrixExport(input: {
|
|
|
293
115
|
parent: readonly {
|
|
294
116
|
member: {
|
|
295
117
|
value: string | number | boolean | {
|
|
296
|
-
value: string;
|
|
297
118
|
type: "integer" | "decimal";
|
|
119
|
+
value: string;
|
|
298
120
|
kind: "exact_number";
|
|
299
121
|
} | null;
|
|
300
122
|
kind: "value";
|
|
@@ -326,8 +148,8 @@ export declare function captureMatrixExport(input: {
|
|
|
326
148
|
path: readonly {
|
|
327
149
|
member: {
|
|
328
150
|
value: string | number | boolean | {
|
|
329
|
-
value: string;
|
|
330
151
|
type: "integer" | "decimal";
|
|
152
|
+
value: string;
|
|
331
153
|
kind: "exact_number";
|
|
332
154
|
} | null;
|
|
333
155
|
kind: "value";
|
|
@@ -346,8 +168,8 @@ export declare function captureMatrixExport(input: {
|
|
|
346
168
|
path: readonly {
|
|
347
169
|
member: {
|
|
348
170
|
value: string | number | boolean | {
|
|
349
|
-
value: string;
|
|
350
171
|
type: "integer" | "decimal";
|
|
172
|
+
value: string;
|
|
351
173
|
kind: "exact_number";
|
|
352
174
|
} | null;
|
|
353
175
|
kind: "value";
|
|
@@ -364,7 +186,6 @@ export declare function captureMatrixExport(input: {
|
|
|
364
186
|
kind: "all";
|
|
365
187
|
};
|
|
366
188
|
} | {
|
|
367
|
-
mode: "flat";
|
|
368
189
|
presentation: {
|
|
369
190
|
totals: {
|
|
370
191
|
columns: {
|
|
@@ -406,187 +227,10 @@ export declare function captureMatrixExport(input: {
|
|
|
406
227
|
};
|
|
407
228
|
levelLabels: Readonly<Record<string, string>>;
|
|
408
229
|
measureLabels: Readonly<Record<string, string>>;
|
|
409
|
-
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').
|
|
410
|
-
|
|
411
|
-
pattern?: string | undefined;
|
|
412
|
-
locale?: string | undefined;
|
|
413
|
-
prefix?: string | undefined;
|
|
414
|
-
suffix?: string | undefined;
|
|
415
|
-
relative?: boolean | undefined;
|
|
416
|
-
timezone?: string | undefined;
|
|
417
|
-
sourceTimezone?: string | undefined;
|
|
418
|
-
} | {
|
|
419
|
-
type: "duration";
|
|
420
|
-
prefix?: string | undefined;
|
|
421
|
-
suffix?: string | undefined;
|
|
422
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
423
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
424
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
425
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
426
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
427
|
-
maxUnits?: number | undefined;
|
|
428
|
-
} | {
|
|
429
|
-
type: "string";
|
|
430
|
-
prefix?: string | undefined;
|
|
431
|
-
suffix?: string | undefined;
|
|
432
|
-
} | {
|
|
433
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
434
|
-
currency?: string | undefined;
|
|
435
|
-
minimumFractionDigits?: number | undefined;
|
|
436
|
-
maximumFractionDigits?: number | undefined;
|
|
437
|
-
useGrouping?: boolean | undefined;
|
|
438
|
-
prefix?: string | undefined;
|
|
439
|
-
suffix?: string | undefined;
|
|
440
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
441
|
-
compact?: boolean | undefined;
|
|
442
|
-
scale?: number | undefined;
|
|
443
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
444
|
-
}>>;
|
|
445
|
-
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').TemporalBucketFormat | {
|
|
446
|
-
type: "date" | "datetime";
|
|
447
|
-
pattern?: string | undefined;
|
|
448
|
-
locale?: string | undefined;
|
|
449
|
-
prefix?: string | undefined;
|
|
450
|
-
suffix?: string | undefined;
|
|
451
|
-
relative?: boolean | undefined;
|
|
452
|
-
timezone?: string | undefined;
|
|
453
|
-
sourceTimezone?: string | undefined;
|
|
454
|
-
} | {
|
|
455
|
-
type: "duration";
|
|
456
|
-
prefix?: string | undefined;
|
|
457
|
-
suffix?: string | undefined;
|
|
458
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
459
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
460
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
461
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
462
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
463
|
-
maxUnits?: number | undefined;
|
|
464
|
-
} | {
|
|
465
|
-
type: "string";
|
|
466
|
-
prefix?: string | undefined;
|
|
467
|
-
suffix?: string | undefined;
|
|
468
|
-
} | {
|
|
469
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
470
|
-
currency?: string | undefined;
|
|
471
|
-
minimumFractionDigits?: number | undefined;
|
|
472
|
-
maximumFractionDigits?: number | undefined;
|
|
473
|
-
useGrouping?: boolean | undefined;
|
|
474
|
-
prefix?: string | undefined;
|
|
475
|
-
suffix?: string | undefined;
|
|
476
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
477
|
-
compact?: boolean | undefined;
|
|
478
|
-
scale?: number | undefined;
|
|
479
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
480
|
-
}>>;
|
|
481
|
-
conditionalFormatting?: {
|
|
482
|
-
version: 1;
|
|
483
|
-
rules: {
|
|
484
|
-
id: string;
|
|
485
|
-
target: {
|
|
486
|
-
level: "row" | "cell";
|
|
487
|
-
matrix?: {
|
|
488
|
-
axis: "columns" | "rows";
|
|
489
|
-
levelId?: string | undefined;
|
|
490
|
-
oppositePath?: {
|
|
491
|
-
member: {
|
|
492
|
-
value: string | number | boolean | {
|
|
493
|
-
value: string;
|
|
494
|
-
type: "integer" | "decimal";
|
|
495
|
-
kind: "exact_number";
|
|
496
|
-
} | null;
|
|
497
|
-
kind: "value";
|
|
498
|
-
} | {
|
|
499
|
-
kind: "others";
|
|
500
|
-
rankingId: string;
|
|
501
|
-
};
|
|
502
|
-
levelId: string;
|
|
503
|
-
}[] | undefined;
|
|
504
|
-
} | undefined;
|
|
505
|
-
columnIds?: string[] | undefined;
|
|
506
|
-
conditionColumnId?: string | undefined;
|
|
507
|
-
applyToColumnIds?: string[] | undefined;
|
|
508
|
-
tableParts?: ("subtotal" | "body" | "header" | "footer" | "grandTotal")[] | undefined;
|
|
509
|
-
rowRoles?: ("member" | "subtotal" | "grand_total" | "others")[] | undefined;
|
|
510
|
-
depth?: number | undefined;
|
|
511
|
-
includeTotals?: boolean | undefined;
|
|
512
|
-
includeSubtotals?: boolean | undefined;
|
|
513
|
-
};
|
|
514
|
-
condition: {
|
|
515
|
-
value: string | number | boolean | {
|
|
516
|
-
value: string;
|
|
517
|
-
type: "integer" | "decimal";
|
|
518
|
-
kind: "exact_number";
|
|
519
|
-
} | null;
|
|
520
|
-
kind: "comparison";
|
|
521
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
|
|
522
|
-
columnId: string;
|
|
523
|
-
} | {
|
|
524
|
-
kind: "between";
|
|
525
|
-
columnId: string;
|
|
526
|
-
min: string | number | boolean | {
|
|
527
|
-
value: string;
|
|
528
|
-
type: "integer" | "decimal";
|
|
529
|
-
kind: "exact_number";
|
|
530
|
-
} | null;
|
|
531
|
-
max: string | number | boolean | {
|
|
532
|
-
value: string;
|
|
533
|
-
type: "integer" | "decimal";
|
|
534
|
-
kind: "exact_number";
|
|
535
|
-
} | null;
|
|
536
|
-
inclusive?: boolean | undefined;
|
|
537
|
-
} | {
|
|
538
|
-
kind: "blank";
|
|
539
|
-
columnId: string;
|
|
540
|
-
isBlank: boolean;
|
|
541
|
-
} | {
|
|
542
|
-
value: string;
|
|
543
|
-
kind: "contains";
|
|
544
|
-
columnId: string;
|
|
545
|
-
exact?: boolean | undefined;
|
|
546
|
-
caseSensitive?: boolean | undefined;
|
|
547
|
-
} | {
|
|
548
|
-
kind: "topBottom";
|
|
549
|
-
count: number;
|
|
550
|
-
columnId: string;
|
|
551
|
-
direction: "top" | "bottom";
|
|
552
|
-
} | {
|
|
553
|
-
kind: "colorScale";
|
|
554
|
-
columnId: string;
|
|
555
|
-
range: "auto" | "manual";
|
|
556
|
-
colors: {
|
|
557
|
-
min: string;
|
|
558
|
-
max: string;
|
|
559
|
-
mid?: string | undefined;
|
|
560
|
-
};
|
|
561
|
-
min?: number | undefined;
|
|
562
|
-
max?: number | undefined;
|
|
563
|
-
mid?: number | undefined;
|
|
564
|
-
} | {
|
|
565
|
-
kind: "dataBar";
|
|
566
|
-
columnId: string;
|
|
567
|
-
range: "auto" | "manual";
|
|
568
|
-
color: string;
|
|
569
|
-
min?: number | undefined;
|
|
570
|
-
max?: number | undefined;
|
|
571
|
-
showValue?: boolean | undefined;
|
|
572
|
-
};
|
|
573
|
-
name?: string | undefined;
|
|
574
|
-
enabled?: boolean | undefined;
|
|
575
|
-
style?: {
|
|
576
|
-
dataBar?: {
|
|
577
|
-
color: string;
|
|
578
|
-
showValue: boolean;
|
|
579
|
-
} | undefined;
|
|
580
|
-
backgroundColor?: string | undefined;
|
|
581
|
-
textColor?: string | undefined;
|
|
582
|
-
fontWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
583
|
-
italic?: boolean | undefined;
|
|
584
|
-
textDecoration?: "none" | "underline" | "line-through" | undefined;
|
|
585
|
-
icon?: "arrowUp" | "arrowDown" | "warning" | "check" | "x" | undefined;
|
|
586
|
-
} | undefined;
|
|
587
|
-
}[];
|
|
588
|
-
} | undefined;
|
|
230
|
+
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
231
|
+
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
589
232
|
};
|
|
233
|
+
mode: "flat";
|
|
590
234
|
format: "csv" | "xlsx";
|
|
591
235
|
spec: {
|
|
592
236
|
source: {
|
|
@@ -600,11 +244,11 @@ export declare function captureMatrixExport(input: {
|
|
|
600
244
|
kind: "physical";
|
|
601
245
|
connectionId: string;
|
|
602
246
|
tableName: string;
|
|
247
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
603
248
|
label?: string | undefined;
|
|
604
249
|
connectionType?: string | undefined;
|
|
605
250
|
databaseName?: string | undefined;
|
|
606
251
|
schemaName?: string | undefined;
|
|
607
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
608
252
|
};
|
|
609
253
|
columns: readonly import('../analytics-protocol/index.js').MatrixLevel[];
|
|
610
254
|
measures: readonly ({
|
|
@@ -646,8 +290,8 @@ export declare function captureMatrixExport(input: {
|
|
|
646
290
|
parent: readonly {
|
|
647
291
|
member: {
|
|
648
292
|
value: string | number | boolean | {
|
|
649
|
-
value: string;
|
|
650
293
|
type: "integer" | "decimal";
|
|
294
|
+
value: string;
|
|
651
295
|
kind: "exact_number";
|
|
652
296
|
} | null;
|
|
653
297
|
kind: "value";
|
|
@@ -799,7 +443,6 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
799
443
|
active_filters: TFilters;
|
|
800
444
|
formatOptions: {
|
|
801
445
|
matrix: {
|
|
802
|
-
mode: "layout";
|
|
803
446
|
presentation: {
|
|
804
447
|
totals: {
|
|
805
448
|
columns: {
|
|
@@ -841,187 +484,10 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
841
484
|
};
|
|
842
485
|
levelLabels: Readonly<Record<string, string>>;
|
|
843
486
|
measureLabels: Readonly<Record<string, string>>;
|
|
844
|
-
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').
|
|
845
|
-
|
|
846
|
-
pattern?: string | undefined;
|
|
847
|
-
locale?: string | undefined;
|
|
848
|
-
prefix?: string | undefined;
|
|
849
|
-
suffix?: string | undefined;
|
|
850
|
-
relative?: boolean | undefined;
|
|
851
|
-
timezone?: string | undefined;
|
|
852
|
-
sourceTimezone?: string | undefined;
|
|
853
|
-
} | {
|
|
854
|
-
type: "duration";
|
|
855
|
-
prefix?: string | undefined;
|
|
856
|
-
suffix?: string | undefined;
|
|
857
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
858
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
859
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
860
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
861
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
862
|
-
maxUnits?: number | undefined;
|
|
863
|
-
} | {
|
|
864
|
-
type: "string";
|
|
865
|
-
prefix?: string | undefined;
|
|
866
|
-
suffix?: string | undefined;
|
|
867
|
-
} | {
|
|
868
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
869
|
-
currency?: string | undefined;
|
|
870
|
-
minimumFractionDigits?: number | undefined;
|
|
871
|
-
maximumFractionDigits?: number | undefined;
|
|
872
|
-
useGrouping?: boolean | undefined;
|
|
873
|
-
prefix?: string | undefined;
|
|
874
|
-
suffix?: string | undefined;
|
|
875
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
876
|
-
compact?: boolean | undefined;
|
|
877
|
-
scale?: number | undefined;
|
|
878
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
879
|
-
}>>;
|
|
880
|
-
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').TemporalBucketFormat | {
|
|
881
|
-
type: "date" | "datetime";
|
|
882
|
-
pattern?: string | undefined;
|
|
883
|
-
locale?: string | undefined;
|
|
884
|
-
prefix?: string | undefined;
|
|
885
|
-
suffix?: string | undefined;
|
|
886
|
-
relative?: boolean | undefined;
|
|
887
|
-
timezone?: string | undefined;
|
|
888
|
-
sourceTimezone?: string | undefined;
|
|
889
|
-
} | {
|
|
890
|
-
type: "duration";
|
|
891
|
-
prefix?: string | undefined;
|
|
892
|
-
suffix?: string | undefined;
|
|
893
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
894
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
895
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
896
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
897
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
898
|
-
maxUnits?: number | undefined;
|
|
899
|
-
} | {
|
|
900
|
-
type: "string";
|
|
901
|
-
prefix?: string | undefined;
|
|
902
|
-
suffix?: string | undefined;
|
|
903
|
-
} | {
|
|
904
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
905
|
-
currency?: string | undefined;
|
|
906
|
-
minimumFractionDigits?: number | undefined;
|
|
907
|
-
maximumFractionDigits?: number | undefined;
|
|
908
|
-
useGrouping?: boolean | undefined;
|
|
909
|
-
prefix?: string | undefined;
|
|
910
|
-
suffix?: string | undefined;
|
|
911
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
912
|
-
compact?: boolean | undefined;
|
|
913
|
-
scale?: number | undefined;
|
|
914
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
915
|
-
}>>;
|
|
916
|
-
conditionalFormatting?: {
|
|
917
|
-
version: 1;
|
|
918
|
-
rules: {
|
|
919
|
-
id: string;
|
|
920
|
-
target: {
|
|
921
|
-
level: "row" | "cell";
|
|
922
|
-
matrix?: {
|
|
923
|
-
axis: "columns" | "rows";
|
|
924
|
-
levelId?: string | undefined;
|
|
925
|
-
oppositePath?: {
|
|
926
|
-
member: {
|
|
927
|
-
value: string | number | boolean | {
|
|
928
|
-
value: string;
|
|
929
|
-
type: "integer" | "decimal";
|
|
930
|
-
kind: "exact_number";
|
|
931
|
-
} | null;
|
|
932
|
-
kind: "value";
|
|
933
|
-
} | {
|
|
934
|
-
kind: "others";
|
|
935
|
-
rankingId: string;
|
|
936
|
-
};
|
|
937
|
-
levelId: string;
|
|
938
|
-
}[] | undefined;
|
|
939
|
-
} | undefined;
|
|
940
|
-
columnIds?: string[] | undefined;
|
|
941
|
-
conditionColumnId?: string | undefined;
|
|
942
|
-
applyToColumnIds?: string[] | undefined;
|
|
943
|
-
tableParts?: ("subtotal" | "body" | "header" | "footer" | "grandTotal")[] | undefined;
|
|
944
|
-
rowRoles?: ("member" | "subtotal" | "grand_total" | "others")[] | undefined;
|
|
945
|
-
depth?: number | undefined;
|
|
946
|
-
includeTotals?: boolean | undefined;
|
|
947
|
-
includeSubtotals?: boolean | undefined;
|
|
948
|
-
};
|
|
949
|
-
condition: {
|
|
950
|
-
value: string | number | boolean | {
|
|
951
|
-
value: string;
|
|
952
|
-
type: "integer" | "decimal";
|
|
953
|
-
kind: "exact_number";
|
|
954
|
-
} | null;
|
|
955
|
-
kind: "comparison";
|
|
956
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
|
|
957
|
-
columnId: string;
|
|
958
|
-
} | {
|
|
959
|
-
kind: "between";
|
|
960
|
-
columnId: string;
|
|
961
|
-
min: string | number | boolean | {
|
|
962
|
-
value: string;
|
|
963
|
-
type: "integer" | "decimal";
|
|
964
|
-
kind: "exact_number";
|
|
965
|
-
} | null;
|
|
966
|
-
max: string | number | boolean | {
|
|
967
|
-
value: string;
|
|
968
|
-
type: "integer" | "decimal";
|
|
969
|
-
kind: "exact_number";
|
|
970
|
-
} | null;
|
|
971
|
-
inclusive?: boolean | undefined;
|
|
972
|
-
} | {
|
|
973
|
-
kind: "blank";
|
|
974
|
-
columnId: string;
|
|
975
|
-
isBlank: boolean;
|
|
976
|
-
} | {
|
|
977
|
-
value: string;
|
|
978
|
-
kind: "contains";
|
|
979
|
-
columnId: string;
|
|
980
|
-
exact?: boolean | undefined;
|
|
981
|
-
caseSensitive?: boolean | undefined;
|
|
982
|
-
} | {
|
|
983
|
-
kind: "topBottom";
|
|
984
|
-
count: number;
|
|
985
|
-
columnId: string;
|
|
986
|
-
direction: "top" | "bottom";
|
|
987
|
-
} | {
|
|
988
|
-
kind: "colorScale";
|
|
989
|
-
columnId: string;
|
|
990
|
-
range: "auto" | "manual";
|
|
991
|
-
colors: {
|
|
992
|
-
min: string;
|
|
993
|
-
max: string;
|
|
994
|
-
mid?: string | undefined;
|
|
995
|
-
};
|
|
996
|
-
min?: number | undefined;
|
|
997
|
-
max?: number | undefined;
|
|
998
|
-
mid?: number | undefined;
|
|
999
|
-
} | {
|
|
1000
|
-
kind: "dataBar";
|
|
1001
|
-
columnId: string;
|
|
1002
|
-
range: "auto" | "manual";
|
|
1003
|
-
color: string;
|
|
1004
|
-
min?: number | undefined;
|
|
1005
|
-
max?: number | undefined;
|
|
1006
|
-
showValue?: boolean | undefined;
|
|
1007
|
-
};
|
|
1008
|
-
name?: string | undefined;
|
|
1009
|
-
enabled?: boolean | undefined;
|
|
1010
|
-
style?: {
|
|
1011
|
-
dataBar?: {
|
|
1012
|
-
color: string;
|
|
1013
|
-
showValue: boolean;
|
|
1014
|
-
} | undefined;
|
|
1015
|
-
backgroundColor?: string | undefined;
|
|
1016
|
-
textColor?: string | undefined;
|
|
1017
|
-
fontWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
1018
|
-
italic?: boolean | undefined;
|
|
1019
|
-
textDecoration?: "none" | "underline" | "line-through" | undefined;
|
|
1020
|
-
icon?: "arrowUp" | "arrowDown" | "warning" | "check" | "x" | undefined;
|
|
1021
|
-
} | undefined;
|
|
1022
|
-
}[];
|
|
1023
|
-
} | undefined;
|
|
487
|
+
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
488
|
+
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
1024
489
|
};
|
|
490
|
+
mode: "layout";
|
|
1025
491
|
format: "csv" | "xlsx" | "pdf";
|
|
1026
492
|
spec: {
|
|
1027
493
|
source: {
|
|
@@ -1035,11 +501,11 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1035
501
|
kind: "physical";
|
|
1036
502
|
connectionId: string;
|
|
1037
503
|
tableName: string;
|
|
504
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1038
505
|
label?: string | undefined;
|
|
1039
506
|
connectionType?: string | undefined;
|
|
1040
507
|
databaseName?: string | undefined;
|
|
1041
508
|
schemaName?: string | undefined;
|
|
1042
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1043
509
|
};
|
|
1044
510
|
columns: readonly import('../analytics-protocol/index.js').MatrixLevel[];
|
|
1045
511
|
measures: readonly ({
|
|
@@ -1081,8 +547,8 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1081
547
|
parent: readonly {
|
|
1082
548
|
member: {
|
|
1083
549
|
value: string | number | boolean | {
|
|
1084
|
-
value: string;
|
|
1085
550
|
type: "integer" | "decimal";
|
|
551
|
+
value: string;
|
|
1086
552
|
kind: "exact_number";
|
|
1087
553
|
} | null;
|
|
1088
554
|
kind: "value";
|
|
@@ -1114,8 +580,8 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1114
580
|
path: readonly {
|
|
1115
581
|
member: {
|
|
1116
582
|
value: string | number | boolean | {
|
|
1117
|
-
value: string;
|
|
1118
583
|
type: "integer" | "decimal";
|
|
584
|
+
value: string;
|
|
1119
585
|
kind: "exact_number";
|
|
1120
586
|
} | null;
|
|
1121
587
|
kind: "value";
|
|
@@ -1134,8 +600,8 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1134
600
|
path: readonly {
|
|
1135
601
|
member: {
|
|
1136
602
|
value: string | number | boolean | {
|
|
1137
|
-
value: string;
|
|
1138
603
|
type: "integer" | "decimal";
|
|
604
|
+
value: string;
|
|
1139
605
|
kind: "exact_number";
|
|
1140
606
|
} | null;
|
|
1141
607
|
kind: "value";
|
|
@@ -1152,7 +618,6 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1152
618
|
kind: "all";
|
|
1153
619
|
};
|
|
1154
620
|
} | {
|
|
1155
|
-
mode: "flat";
|
|
1156
621
|
presentation: {
|
|
1157
622
|
totals: {
|
|
1158
623
|
columns: {
|
|
@@ -1194,187 +659,10 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1194
659
|
};
|
|
1195
660
|
levelLabels: Readonly<Record<string, string>>;
|
|
1196
661
|
measureLabels: Readonly<Record<string, string>>;
|
|
1197
|
-
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').
|
|
1198
|
-
|
|
1199
|
-
pattern?: string | undefined;
|
|
1200
|
-
locale?: string | undefined;
|
|
1201
|
-
prefix?: string | undefined;
|
|
1202
|
-
suffix?: string | undefined;
|
|
1203
|
-
relative?: boolean | undefined;
|
|
1204
|
-
timezone?: string | undefined;
|
|
1205
|
-
sourceTimezone?: string | undefined;
|
|
1206
|
-
} | {
|
|
1207
|
-
type: "duration";
|
|
1208
|
-
prefix?: string | undefined;
|
|
1209
|
-
suffix?: string | undefined;
|
|
1210
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1211
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1212
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1213
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1214
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1215
|
-
maxUnits?: number | undefined;
|
|
1216
|
-
} | {
|
|
1217
|
-
type: "string";
|
|
1218
|
-
prefix?: string | undefined;
|
|
1219
|
-
suffix?: string | undefined;
|
|
1220
|
-
} | {
|
|
1221
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1222
|
-
currency?: string | undefined;
|
|
1223
|
-
minimumFractionDigits?: number | undefined;
|
|
1224
|
-
maximumFractionDigits?: number | undefined;
|
|
1225
|
-
useGrouping?: boolean | undefined;
|
|
1226
|
-
prefix?: string | undefined;
|
|
1227
|
-
suffix?: string | undefined;
|
|
1228
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1229
|
-
compact?: boolean | undefined;
|
|
1230
|
-
scale?: number | undefined;
|
|
1231
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1232
|
-
}>>;
|
|
1233
|
-
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').TemporalBucketFormat | {
|
|
1234
|
-
type: "date" | "datetime";
|
|
1235
|
-
pattern?: string | undefined;
|
|
1236
|
-
locale?: string | undefined;
|
|
1237
|
-
prefix?: string | undefined;
|
|
1238
|
-
suffix?: string | undefined;
|
|
1239
|
-
relative?: boolean | undefined;
|
|
1240
|
-
timezone?: string | undefined;
|
|
1241
|
-
sourceTimezone?: string | undefined;
|
|
1242
|
-
} | {
|
|
1243
|
-
type: "duration";
|
|
1244
|
-
prefix?: string | undefined;
|
|
1245
|
-
suffix?: string | undefined;
|
|
1246
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1247
|
-
inputUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1248
|
-
outputStyle?: "compact" | "digital" | "long" | undefined;
|
|
1249
|
-
largestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1250
|
-
smallestUnit?: "second" | "minute" | "hour" | "day" | "millisecond" | undefined;
|
|
1251
|
-
maxUnits?: number | undefined;
|
|
1252
|
-
} | {
|
|
1253
|
-
type: "string";
|
|
1254
|
-
prefix?: string | undefined;
|
|
1255
|
-
suffix?: string | undefined;
|
|
1256
|
-
} | {
|
|
1257
|
-
type: "number" | "currency" | "percent" | "percentage" | "scientific";
|
|
1258
|
-
currency?: string | undefined;
|
|
1259
|
-
minimumFractionDigits?: number | undefined;
|
|
1260
|
-
maximumFractionDigits?: number | undefined;
|
|
1261
|
-
useGrouping?: boolean | undefined;
|
|
1262
|
-
prefix?: string | undefined;
|
|
1263
|
-
suffix?: string | undefined;
|
|
1264
|
-
negativeStyle?: "minus" | "parentheses" | undefined;
|
|
1265
|
-
compact?: boolean | undefined;
|
|
1266
|
-
scale?: number | undefined;
|
|
1267
|
-
percentValueMode?: "fraction" | "whole" | undefined;
|
|
1268
|
-
}>>;
|
|
1269
|
-
conditionalFormatting?: {
|
|
1270
|
-
version: 1;
|
|
1271
|
-
rules: {
|
|
1272
|
-
id: string;
|
|
1273
|
-
target: {
|
|
1274
|
-
level: "row" | "cell";
|
|
1275
|
-
matrix?: {
|
|
1276
|
-
axis: "columns" | "rows";
|
|
1277
|
-
levelId?: string | undefined;
|
|
1278
|
-
oppositePath?: {
|
|
1279
|
-
member: {
|
|
1280
|
-
value: string | number | boolean | {
|
|
1281
|
-
value: string;
|
|
1282
|
-
type: "integer" | "decimal";
|
|
1283
|
-
kind: "exact_number";
|
|
1284
|
-
} | null;
|
|
1285
|
-
kind: "value";
|
|
1286
|
-
} | {
|
|
1287
|
-
kind: "others";
|
|
1288
|
-
rankingId: string;
|
|
1289
|
-
};
|
|
1290
|
-
levelId: string;
|
|
1291
|
-
}[] | undefined;
|
|
1292
|
-
} | undefined;
|
|
1293
|
-
columnIds?: string[] | undefined;
|
|
1294
|
-
conditionColumnId?: string | undefined;
|
|
1295
|
-
applyToColumnIds?: string[] | undefined;
|
|
1296
|
-
tableParts?: ("subtotal" | "body" | "header" | "footer" | "grandTotal")[] | undefined;
|
|
1297
|
-
rowRoles?: ("member" | "subtotal" | "grand_total" | "others")[] | undefined;
|
|
1298
|
-
depth?: number | undefined;
|
|
1299
|
-
includeTotals?: boolean | undefined;
|
|
1300
|
-
includeSubtotals?: boolean | undefined;
|
|
1301
|
-
};
|
|
1302
|
-
condition: {
|
|
1303
|
-
value: string | number | boolean | {
|
|
1304
|
-
value: string;
|
|
1305
|
-
type: "integer" | "decimal";
|
|
1306
|
-
kind: "exact_number";
|
|
1307
|
-
} | null;
|
|
1308
|
-
kind: "comparison";
|
|
1309
|
-
operator: "eq" | "neq" | "gt" | "gte" | "lt" | "lte";
|
|
1310
|
-
columnId: string;
|
|
1311
|
-
} | {
|
|
1312
|
-
kind: "between";
|
|
1313
|
-
columnId: string;
|
|
1314
|
-
min: string | number | boolean | {
|
|
1315
|
-
value: string;
|
|
1316
|
-
type: "integer" | "decimal";
|
|
1317
|
-
kind: "exact_number";
|
|
1318
|
-
} | null;
|
|
1319
|
-
max: string | number | boolean | {
|
|
1320
|
-
value: string;
|
|
1321
|
-
type: "integer" | "decimal";
|
|
1322
|
-
kind: "exact_number";
|
|
1323
|
-
} | null;
|
|
1324
|
-
inclusive?: boolean | undefined;
|
|
1325
|
-
} | {
|
|
1326
|
-
kind: "blank";
|
|
1327
|
-
columnId: string;
|
|
1328
|
-
isBlank: boolean;
|
|
1329
|
-
} | {
|
|
1330
|
-
value: string;
|
|
1331
|
-
kind: "contains";
|
|
1332
|
-
columnId: string;
|
|
1333
|
-
exact?: boolean | undefined;
|
|
1334
|
-
caseSensitive?: boolean | undefined;
|
|
1335
|
-
} | {
|
|
1336
|
-
kind: "topBottom";
|
|
1337
|
-
count: number;
|
|
1338
|
-
columnId: string;
|
|
1339
|
-
direction: "top" | "bottom";
|
|
1340
|
-
} | {
|
|
1341
|
-
kind: "colorScale";
|
|
1342
|
-
columnId: string;
|
|
1343
|
-
range: "auto" | "manual";
|
|
1344
|
-
colors: {
|
|
1345
|
-
min: string;
|
|
1346
|
-
max: string;
|
|
1347
|
-
mid?: string | undefined;
|
|
1348
|
-
};
|
|
1349
|
-
min?: number | undefined;
|
|
1350
|
-
max?: number | undefined;
|
|
1351
|
-
mid?: number | undefined;
|
|
1352
|
-
} | {
|
|
1353
|
-
kind: "dataBar";
|
|
1354
|
-
columnId: string;
|
|
1355
|
-
range: "auto" | "manual";
|
|
1356
|
-
color: string;
|
|
1357
|
-
min?: number | undefined;
|
|
1358
|
-
max?: number | undefined;
|
|
1359
|
-
showValue?: boolean | undefined;
|
|
1360
|
-
};
|
|
1361
|
-
name?: string | undefined;
|
|
1362
|
-
enabled?: boolean | undefined;
|
|
1363
|
-
style?: {
|
|
1364
|
-
dataBar?: {
|
|
1365
|
-
color: string;
|
|
1366
|
-
showValue: boolean;
|
|
1367
|
-
} | undefined;
|
|
1368
|
-
backgroundColor?: string | undefined;
|
|
1369
|
-
textColor?: string | undefined;
|
|
1370
|
-
fontWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
1371
|
-
italic?: boolean | undefined;
|
|
1372
|
-
textDecoration?: "none" | "underline" | "line-through" | undefined;
|
|
1373
|
-
icon?: "arrowUp" | "arrowDown" | "warning" | "check" | "x" | undefined;
|
|
1374
|
-
} | undefined;
|
|
1375
|
-
}[];
|
|
1376
|
-
} | undefined;
|
|
662
|
+
levelFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
663
|
+
measureFormats: Readonly<Record<string, import('../analytics-protocol/index.js').SemaphorValueFormat>>;
|
|
1377
664
|
};
|
|
665
|
+
mode: "flat";
|
|
1378
666
|
format: "csv" | "xlsx";
|
|
1379
667
|
spec: {
|
|
1380
668
|
source: {
|
|
@@ -1388,11 +676,11 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1388
676
|
kind: "physical";
|
|
1389
677
|
connectionId: string;
|
|
1390
678
|
tableName: string;
|
|
679
|
+
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1391
680
|
label?: string | undefined;
|
|
1392
681
|
connectionType?: string | undefined;
|
|
1393
682
|
databaseName?: string | undefined;
|
|
1394
683
|
schemaName?: string | undefined;
|
|
1395
|
-
dialect?: "postgres" | "mysql" | "mssql" | "snowflake" | "clickhouse" | "bigquery" | "redshift" | "duckdb" | "sqlite" | "unknown" | undefined;
|
|
1396
684
|
};
|
|
1397
685
|
columns: readonly import('../analytics-protocol/index.js').MatrixLevel[];
|
|
1398
686
|
measures: readonly ({
|
|
@@ -1434,8 +722,8 @@ export declare function buildMatrixDeliveryEnvelope<TSource extends {
|
|
|
1434
722
|
parent: readonly {
|
|
1435
723
|
member: {
|
|
1436
724
|
value: string | number | boolean | {
|
|
1437
|
-
value: string;
|
|
1438
725
|
type: "integer" | "decimal";
|
|
726
|
+
value: string;
|
|
1439
727
|
kind: "exact_number";
|
|
1440
728
|
} | null;
|
|
1441
729
|
kind: "value";
|