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.
Files changed (168) hide show
  1. package/dist/analytics-protocol/index.js +389 -378
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +5 -5
  4. package/dist/brand-studio/index.js +9 -9
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/analytics-base-schemas-CB3oFAXk.js +658 -0
  7. package/dist/chunks/{assistant-chat-B_4bVE6I.js → assistant-chat-DiVHY3Hw.js} +209 -211
  8. package/dist/chunks/bookmark-impact-CR09dpkn.js +75 -0
  9. package/dist/chunks/bookmark-state-BusLpkb7.js +743 -0
  10. package/dist/chunks/{braces-Rdxa3H-s.js → braces-u8VorWJc.js} +1 -1
  11. package/dist/chunks/{comparison-window-caption-CKzQ5LcF.js → comparison-window-caption-DDsIWJYT.js} +201 -201
  12. package/dist/chunks/{context-DVy4HOU0.js → context-TUjw9eqr.js} +1 -1
  13. package/dist/chunks/{custom-visual-inputs-zVa9wX_o.js → custom-visual-inputs-DfolidZ9.js} +1 -1
  14. package/dist/chunks/{dashboard-BziwOVpZ.js → dashboard-BRdZBPqr.js} +1 -1
  15. package/dist/chunks/{dashboard-briefing-launcher-CbeNR-YI.js → dashboard-briefing-launcher-CgvTLndW.js} +1163 -1178
  16. package/dist/chunks/{dashboard-controls-RD6UJs1r.js → dashboard-controls-B4vfSzTF.js} +877 -941
  17. package/dist/chunks/{dashboard-json-DGpv17vL.js → dashboard-json-Y3MF59g7.js} +5 -5
  18. package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +1718 -0
  19. package/dist/chunks/{edit-dashboard-visual-AQ2pQkFp.js → edit-dashboard-visual-DwjZcxj-.js} +9080 -9354
  20. package/dist/chunks/filter-reach-copy-bijwf_-b.js +3596 -0
  21. package/dist/chunks/{filter-value-text-B4l-xqJT.js → filter-value-text-DFnhwuEW.js} +3 -3
  22. package/dist/chunks/global-date-filter-utils-BXgCpvQM.js +15142 -0
  23. package/dist/chunks/{index-B1Xr7W24.js → index-ClwbY3BL.js} +648 -674
  24. package/dist/chunks/{layout-grid-Bbz3zKif.js → layout-grid-CtvCBfOm.js} +1 -1
  25. package/dist/chunks/{list-filter-3sbH0Uy1.js → list-filter-BklYgciR.js} +1 -1
  26. package/dist/chunks/{matrix-analytical-definition-CEe3PGEo.js → matrix-analytical-definition-pU51-JmY.js} +4 -4
  27. package/dist/chunks/{matrix-card-BRNGb1C4.js → matrix-card-CUorIB7Q.js} +3 -3
  28. package/dist/chunks/{matrix-member-presentation-CEegvTqg.js → matrix-member-presentation-Df5UgCGN.js} +1 -1
  29. package/dist/chunks/{matrix-operation-contract-COxrfQTS.js → matrix-operation-contract-BSiGEXVC.js} +221 -214
  30. package/dist/chunks/{metric-comparison-DQx-uX__.js → metric-comparison-95aC0uEO.js} +6 -6
  31. package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-B5wQhg5G.js} +1 -1
  32. package/dist/chunks/{palette-DMJtp3Vn.js → palette-DTnMhipt.js} +1 -1
  33. package/dist/chunks/pivot-result-contract-expectations-Bo-86vwS.js +56 -0
  34. package/dist/chunks/{pivot-result-identity-CAj8SiRL.js → pivot-result-identity-olvXJoB9.js} +1 -1
  35. package/dist/chunks/{report-preferences-dialog-0sc8B1lh.js → report-preferences-dialog-C2YUIwKG.js} +55 -55
  36. package/dist/chunks/{report-runtime-context-bYoExeWr.js → report-runtime-context-DoIUr3MP.js} +2 -2
  37. package/dist/chunks/resolve-dashboard-input-context-q_iiNXE1.js +6503 -0
  38. package/dist/chunks/{save-DSb1jTtG.js → save-DH4RyrnG.js} +1 -1
  39. package/dist/chunks/{saved-dashboard-context-BQWM3ldX.js → saved-dashboard-context-8jqfI7hI.js} +59 -59
  40. package/dist/chunks/{selection-reducer-DSzMWb4x.js → selection-reducer-CV7K4FI6.js} +1 -1
  41. package/dist/chunks/{semaphor-ready-indicator-Bz14Oma5.js → semaphor-ready-indicator-E2XWyibu.js} +40105 -41658
  42. package/dist/chunks/{shelf-drop-preview-context-DBHAkgch.js → shelf-drop-preview-context-C29EUzDp.js} +570 -570
  43. package/dist/chunks/{source-entity-resolution-BOrmNCEM.js → source-entity-resolution-BXI3nQ5Z.js} +1 -1
  44. package/dist/chunks/{switch-Dq8XPFpT.js → switch-balDSHc7.js} +3 -3
  45. package/dist/chunks/{table-export-sheet-C_RvEUyO.js → table-export-sheet-CK8tvh4d.js} +1 -1
  46. package/dist/chunks/temporal-input-presentation-B77JsAzU.js +5002 -0
  47. package/dist/chunks/{token-types-LCYMJ3pa.js → token-types-DhYH5YKb.js} +1 -1
  48. package/dist/chunks/{upload-Dr_WAxHQ.js → upload-Ufj8vjyn.js} +1 -1
  49. package/dist/chunks/{use-create-flow-overlay-state-BK3YFkfc.js → use-create-flow-overlay-state-9WsnzEO5.js} +6 -6
  50. package/dist/chunks/{validators-C87JPd-_.js → validators-BtaCFIEB.js} +1206 -1579
  51. package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-CGLVI40Q.js} +1 -1
  52. package/dist/dashboard/index.js +2 -2
  53. package/dist/dashboard-authoring/index.js +2713 -1459
  54. package/dist/data-app-sdk/index.js +20 -20
  55. package/dist/data-app-sdk-adapters/index.js +3 -3
  56. package/dist/data-app-sdk-validation/index.js +10 -10
  57. package/dist/format-utils/index.js +262 -256
  58. package/dist/index.js +214 -215
  59. package/dist/report-runtime-context/index.js +2 -2
  60. package/dist/style.css +1 -1
  61. package/dist/surfboard/index.js +2 -2
  62. package/dist/types/components/dashboard/summary-number-formatter.d.ts +6 -0
  63. package/dist/types/components/editor/editor-aside/utils.d.ts +1 -1
  64. package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
  65. package/dist/types/index.js +50 -51
  66. package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
  67. package/dist/types/lib/formatters/kpi-number-formatter.d.ts +41 -0
  68. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
  69. package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
  70. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
  71. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
  72. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
  73. package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
  74. package/dist/types/lib/stores/editor-store.d.ts +48 -10
  75. package/dist/types/lib/stores/table-actions.d.ts +9 -5
  76. package/dist/types/lib/table-formatting/index.d.ts +0 -2
  77. package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
  78. package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
  79. package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
  80. package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
  81. package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
  82. package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
  83. package/dist/types/lib/types/common-types.d.ts +40 -47
  84. package/dist/types/lib/types/explorer-types.d.ts +11 -43
  85. package/dist/types/lib/utils/card-config-utils.d.ts +8 -0
  86. package/dist/types/lib/utils/card-definition.d.ts +9 -187
  87. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +169 -513
  88. package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
  89. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
  90. package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
  91. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
  92. package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
  93. package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
  94. package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
  95. package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
  96. package/dist/types/shared/analytics-protocol/measure-aggregation-profile.d.ts +12 -0
  97. package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
  98. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
  99. package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
  100. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
  101. package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
  102. package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
  103. package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
  104. package/dist/types/shared/dashboard-authoring/card-settings/apply-card-settings.d.ts +11 -0
  105. package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +52 -0
  106. package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +14 -0
  107. package/dist/types/shared/dashboard-authoring/card-settings/carry-column-settings.d.ts +3 -0
  108. package/dist/types/shared/dashboard-authoring/card-settings/column-format-write.d.ts +8 -0
  109. package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +51 -0
  110. package/dist/types/shared/dashboard-authoring/card-settings/column-sources.d.ts +14 -0
  111. package/dist/types/shared/dashboard-authoring/card-settings/confirm-class.d.ts +9 -0
  112. package/dist/types/shared/dashboard-authoring/card-settings/highlight-inputs.d.ts +19 -0
  113. package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +15 -0
  114. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +102 -0
  115. package/dist/types/shared/dashboard-authoring/card-settings/read-card-settings.d.ts +10 -0
  116. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +14 -0
  117. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-settings.d.ts +59 -0
  118. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +40 -0
  119. package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +28 -0
  120. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
  121. package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +32 -0
  122. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +555 -38
  123. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +27 -8
  124. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +25 -1
  125. package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
  126. package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
  127. package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
  128. package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +7 -0
  129. package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
  130. package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
  131. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
  132. package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
  133. package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
  134. package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
  135. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
  136. package/dist/types/shared/dashboard-authoring/index.d.ts +8 -0
  137. package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +123 -0
  138. package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
  139. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
  140. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +21 -1
  141. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +10 -4
  142. package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
  143. package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
  144. package/dist/types/shared/dashboard-viewer/bookmark-impact.d.ts +33 -0
  145. package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +13 -2
  146. package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
  147. package/dist/types/shared/format-utils/index.d.ts +2 -0
  148. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
  149. package/dist/types/shared/format-utils/raw-temporal.d.ts +31 -1
  150. package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
  151. package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
  152. package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
  153. package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
  154. package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
  155. package/package.json +2 -2
  156. package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
  157. package/dist/chunks/bookmark-state-ssqrs5oP.js +0 -111
  158. package/dist/chunks/document-dashboard-inputs-ChVkcBuu.js +0 -3010
  159. package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
  160. package/dist/chunks/filter-reach-copy-B5Y7FHzg.js +0 -3411
  161. package/dist/chunks/global-date-filter-utils-DBzEOX9M.js +0 -12222
  162. package/dist/chunks/pivot-result-contract-expectations-DOYhqeZb.js +0 -1926
  163. package/dist/chunks/raw-temporal-presentation-BmT7z6NH.js +0 -584
  164. package/dist/chunks/resolve-dashboard-input-context-B_C_VAJH.js +0 -5520
  165. package/dist/chunks/table-settings-DXj_zXwS.js +0 -637
  166. package/dist/chunks/temporal-input-presentation-AhLSkGPf.js +0 -2939
  167. package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
  168. 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').TemporalBucketFormat | {
57
- type: "date" | "datetime";
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').TemporalBucketFormat | {
410
- type: "date" | "datetime";
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').TemporalBucketFormat | {
845
- type: "date" | "datetime";
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').TemporalBucketFormat | {
1198
- type: "date" | "datetime";
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";