react-semaphor 0.1.560 → 0.1.561
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +353 -349
- 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 → analytics-base-schemas-CB3oFAXk.js} +199 -171
- package/dist/chunks/{assistant-chat-Bu2fFm_I.js → assistant-chat-DiVHY3Hw.js} +27 -28
- package/dist/chunks/bookmark-impact-CR09dpkn.js +75 -0
- package/dist/chunks/bookmark-state-BusLpkb7.js +743 -0
- package/dist/chunks/{braces-Da41xfUd.js → braces-u8VorWJc.js} +1 -1
- package/dist/chunks/{comparison-window-caption-4FNkMrzE.js → comparison-window-caption-DDsIWJYT.js} +108 -108
- package/dist/chunks/{context-BgPDzLHZ.js → context-TUjw9eqr.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-Dz-enUNR.js → custom-visual-inputs-DfolidZ9.js} +1 -1
- package/dist/chunks/{dashboard-_MeBuy67.js → dashboard-BRdZBPqr.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CEi4Pr_v.js → dashboard-briefing-launcher-CgvTLndW.js} +161 -162
- package/dist/chunks/{dashboard-controls-Bi7fyG-4.js → dashboard-controls-B4vfSzTF.js} +881 -945
- package/dist/chunks/{dashboard-json-B1mU_OMa.js → dashboard-json-Y3MF59g7.js} +5 -5
- package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +1718 -0
- package/dist/chunks/{edit-dashboard-visual-0CJN31Y3.js → edit-dashboard-visual-DwjZcxj-.js} +6112 -6146
- package/dist/chunks/{filter-reach-copy-BF4w4kI2.js → filter-reach-copy-bijwf_-b.js} +1250 -1392
- package/dist/chunks/{filter-value-text-CRC-K_l_.js → filter-value-text-DFnhwuEW.js} +3 -3
- package/dist/chunks/global-date-filter-utils-BXgCpvQM.js +15142 -0
- package/dist/chunks/{index-DtHidOPV.js → index-ClwbY3BL.js} +197 -198
- package/dist/chunks/{layout-grid-BvsH4RY2.js → layout-grid-CtvCBfOm.js} +1 -1
- package/dist/chunks/{list-filter-Dg0otx5E.js → list-filter-BklYgciR.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-CM18W8w6.js → matrix-analytical-definition-pU51-JmY.js} +4 -4
- package/dist/chunks/{matrix-card-HPskLaPy.js → matrix-card-CUorIB7Q.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-Bbrfrke4.js → matrix-member-presentation-Df5UgCGN.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-WPv4R-H_.js → matrix-operation-contract-BSiGEXVC.js} +255 -248
- package/dist/chunks/{metric-comparison-ljMKYZKa.js → metric-comparison-95aC0uEO.js} +6 -6
- package/dist/chunks/{model-change-Ccn1zaxl.js → model-change-B5wQhg5G.js} +1 -1
- package/dist/chunks/{palette-Bsh376zO.js → palette-DTnMhipt.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-Bo-86vwS.js +56 -0
- package/dist/chunks/{pivot-result-identity-vS9TSh4f.js → pivot-result-identity-olvXJoB9.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-BV8L0SeS.js → report-preferences-dialog-C2YUIwKG.js} +14 -14
- package/dist/chunks/{report-runtime-context-BZQh9ywy.js → report-runtime-context-DoIUr3MP.js} +2 -2
- package/dist/chunks/resolve-dashboard-input-context-q_iiNXE1.js +6503 -0
- package/dist/chunks/{save-B5EAsgQF.js → save-DH4RyrnG.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-n2Wn11cV.js → saved-dashboard-context-8jqfI7hI.js} +12 -12
- package/dist/chunks/{selection-reducer-D0YnaAD9.js → selection-reducer-CV7K4FI6.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-XLBLOJ2V.js → semaphor-ready-indicator-E2XWyibu.js} +30253 -31076
- package/dist/chunks/{shelf-drop-preview-context-DHMa54a-.js → shelf-drop-preview-context-C29EUzDp.js} +7 -7
- package/dist/chunks/{source-entity-resolution-dUG5VWRm.js → source-entity-resolution-BXI3nQ5Z.js} +1 -1
- package/dist/chunks/{switch-ByxH4M7t.js → switch-balDSHc7.js} +3 -3
- package/dist/chunks/{table-export-sheet-C_GdeTYU.js → table-export-sheet-CK8tvh4d.js} +1 -1
- package/dist/chunks/temporal-input-presentation-B77JsAzU.js +5002 -0
- package/dist/chunks/{token-types-CQtXUVMy.js → token-types-DhYH5YKb.js} +1 -1
- package/dist/chunks/{upload-wbR-NVzq.js → upload-Ufj8vjyn.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-CEBaLOKC.js → use-create-flow-overlay-state-9WsnzEO5.js} +6 -6
- package/dist/chunks/{validators-CXTneCA4.js → validators-BtaCFIEB.js} +37 -37
- package/dist/chunks/{zoned-wall-clock-B1n_WjW3.js → zoned-wall-clock-CGLVI40Q.js} +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2400 -1856
- package/dist/data-app-sdk/index.js +20 -20
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +10 -10
- package/dist/format-utils/index.js +257 -256
- package/dist/index.js +214 -215
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/dashboard/summary-number-formatter.d.ts +6 -0
- package/dist/types/index.js +50 -51
- package/dist/types/lib/formatters/kpi-number-formatter.d.ts +41 -0
- package/dist/types/lib/stores/editor-store.d.ts +9 -1
- package/dist/types/lib/stores/table-actions.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +10 -0
- package/dist/types/shared/analytics-protocol/measure-aggregation-profile.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/card-settings/apply-card-settings.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +52 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/carry-column-settings.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-format-write.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +51 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-sources.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/confirm-class.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/card-settings/highlight-inputs.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +102 -0
- package/dist/types/shared/dashboard-authoring/card-settings/read-card-settings.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-settings.d.ts +59 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +28 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +32 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +539 -22
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +27 -8
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +25 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +1 -8
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/index.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +123 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +21 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +10 -4
- package/dist/types/shared/dashboard-viewer/bookmark-impact.d.ts +33 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +8 -1
- package/dist/types/shared/format-utils/raw-temporal.d.ts +16 -0
- package/package.json +2 -2
- package/dist/chunks/bookmark-state-BFY9oNmr.js +0 -111
- package/dist/chunks/document-dashboard-inputs-CkWfDB8c.js +0 -3010
- package/dist/chunks/global-date-filter-utils-D8365uPH.js +0 -12889
- package/dist/chunks/pivot-result-contract-expectations-Bl5suy4-.js +0 -1832
- package/dist/chunks/raw-temporal-presentation-BHm7s-hz.js +0 -540
- package/dist/chunks/resolve-dashboard-input-context-CAMiWvyR.js +0 -5280
- package/dist/chunks/table-settings-Imz0FgWi.js +0 -637
- package/dist/chunks/temporal-input-presentation-uvNK_tM0.js +0 -3228
|
@@ -2626,6 +2626,48 @@ export declare const matrixColumnsSchema: z.ZodObject<{
|
|
|
2626
2626
|
}>;
|
|
2627
2627
|
export declare const handleSchema: z.ZodString;
|
|
2628
2628
|
declare const filterValueSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2629
|
+
/**
|
|
2630
|
+
* How a column reads and shows (card appearance SPEC 3.1), keyed by the
|
|
2631
|
+
* column's name in the outline. `format` is the stored format type, or a patch
|
|
2632
|
+
* without `type`; the card settings owner validates it against the column, so
|
|
2633
|
+
* its refusals can say what the column takes (CA-D9, CA-D18).
|
|
2634
|
+
*/
|
|
2635
|
+
export declare const columnSettingsInputSchema: z.ZodObject<{
|
|
2636
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2637
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2638
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2639
|
+
format: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2640
|
+
field: z.ZodOptional<z.ZodString>;
|
|
2641
|
+
role: z.ZodOptional<z.ZodString>;
|
|
2642
|
+
inherits: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2643
|
+
}, "strict", z.ZodTypeAny, {
|
|
2644
|
+
label?: string | null | undefined;
|
|
2645
|
+
role?: string | undefined;
|
|
2646
|
+
field?: string | undefined;
|
|
2647
|
+
format?: Record<string, unknown> | null | undefined;
|
|
2648
|
+
hidden?: boolean | undefined;
|
|
2649
|
+
width?: number | null | undefined;
|
|
2650
|
+
inherits?: string[] | undefined;
|
|
2651
|
+
}, {
|
|
2652
|
+
label?: string | null | undefined;
|
|
2653
|
+
role?: string | undefined;
|
|
2654
|
+
field?: string | undefined;
|
|
2655
|
+
format?: Record<string, unknown> | null | undefined;
|
|
2656
|
+
hidden?: boolean | undefined;
|
|
2657
|
+
width?: number | null | undefined;
|
|
2658
|
+
inherits?: string[] | undefined;
|
|
2659
|
+
}>;
|
|
2660
|
+
/**
|
|
2661
|
+
* The stored format's fields in words, by kind of format. The definition's `columns` summary and a
|
|
2662
|
+
* refused format's fix say the same: on a dashboard whose columns inherit their formats the outline
|
|
2663
|
+
* shows none to copy, and agents without these words guessed `decimals` and `style` (card
|
|
2664
|
+
* appearance ledger P0-02, P5-03, P5-05).
|
|
2665
|
+
*/
|
|
2666
|
+
export declare const FORMAT_WORDS: {
|
|
2667
|
+
readonly number: "{ type: 'number' | 'currency' | 'percent', currency?: 'USD' (on a currency), minimumFractionDigits?, maximumFractionDigits?, compact?: true (1.2K), percentValueMode: 'fraction' (0.1 is 10%) | 'whole' (on a percent) }";
|
|
2668
|
+
readonly temporal_bucket: "{ type: 'temporal_bucket', presentation: { mode: 'preset', preset: 'short' | 'long' | 'numeric' | 'iso' } or { mode: 'pattern', pattern: 'MMM YYYY' } }";
|
|
2669
|
+
readonly date: "{ type: 'date', preset?: 'short' | 'long' | 'numeric' | 'iso', pattern? }";
|
|
2670
|
+
};
|
|
2629
2671
|
export declare const relationshipAddSchema: z.ZodObject<{
|
|
2630
2672
|
op: z.ZodLiteral<"relationship.add">;
|
|
2631
2673
|
from: z.ZodObject<{
|
|
@@ -4165,11 +4207,14 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4165
4207
|
}, {
|
|
4166
4208
|
after: string;
|
|
4167
4209
|
}>]>>;
|
|
4210
|
+
/** Card appearance: a card is born finished, with the settings `card.update` takes. */
|
|
4211
|
+
columns: z.ZodOptional<z.ZodTypeAny>;
|
|
4168
4212
|
}, "strict", z.ZodTypeAny, {
|
|
4169
4213
|
type: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table";
|
|
4170
4214
|
title: string;
|
|
4171
4215
|
op: "card.add";
|
|
4172
4216
|
description?: string | undefined;
|
|
4217
|
+
columns?: any;
|
|
4173
4218
|
matrix?: {
|
|
4174
4219
|
columns: (string | {
|
|
4175
4220
|
name: string;
|
|
@@ -4189,15 +4234,16 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4189
4234
|
position?: "top" | "end" | {
|
|
4190
4235
|
after: string;
|
|
4191
4236
|
} | undefined;
|
|
4192
|
-
sheetId?: string | undefined;
|
|
4193
4237
|
width?: "quarter" | "full" | "half" | "third" | undefined;
|
|
4194
|
-
query?: any;
|
|
4195
4238
|
handle?: string | undefined;
|
|
4239
|
+
sheetId?: string | undefined;
|
|
4240
|
+
query?: any;
|
|
4196
4241
|
}, {
|
|
4197
4242
|
type: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table";
|
|
4198
4243
|
title: string;
|
|
4199
4244
|
op: "card.add";
|
|
4200
4245
|
description?: string | undefined;
|
|
4246
|
+
columns?: any;
|
|
4201
4247
|
matrix?: {
|
|
4202
4248
|
columns: (string | {
|
|
4203
4249
|
name: string;
|
|
@@ -4217,10 +4263,10 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4217
4263
|
position?: "top" | "end" | {
|
|
4218
4264
|
after: string;
|
|
4219
4265
|
} | undefined;
|
|
4220
|
-
sheetId?: string | undefined;
|
|
4221
4266
|
width?: "quarter" | "full" | "half" | "third" | undefined;
|
|
4222
|
-
query?: any;
|
|
4223
4267
|
handle?: string | undefined;
|
|
4268
|
+
sheetId?: string | undefined;
|
|
4269
|
+
query?: any;
|
|
4224
4270
|
}>, z.ZodObject<{
|
|
4225
4271
|
op: z.ZodLiteral<"card.update">;
|
|
4226
4272
|
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -5120,11 +5166,13 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5120
5166
|
} | undefined;
|
|
5121
5167
|
})[];
|
|
5122
5168
|
}>>;
|
|
5169
|
+
columns: z.ZodOptional<z.ZodTypeAny>;
|
|
5123
5170
|
}, "strict", z.ZodTypeAny, {
|
|
5124
5171
|
cardId: string;
|
|
5125
5172
|
op: "card.update";
|
|
5126
5173
|
type?: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table" | undefined;
|
|
5127
5174
|
description?: string | null | undefined;
|
|
5175
|
+
columns?: any;
|
|
5128
5176
|
matrix?: {
|
|
5129
5177
|
columns: (string | {
|
|
5130
5178
|
name: string;
|
|
@@ -5267,6 +5315,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5267
5315
|
op: "card.update";
|
|
5268
5316
|
type?: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table" | undefined;
|
|
5269
5317
|
description?: string | null | undefined;
|
|
5318
|
+
columns?: any;
|
|
5270
5319
|
matrix?: {
|
|
5271
5320
|
columns: (string | {
|
|
5272
5321
|
name: string;
|
|
@@ -5582,7 +5631,6 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5582
5631
|
op: "filter.add";
|
|
5583
5632
|
selection?: "single" | "multiple" | undefined;
|
|
5584
5633
|
defaultValues?: (string | number | boolean)[] | undefined;
|
|
5585
|
-
sheetIds?: string[] | undefined;
|
|
5586
5634
|
handle?: string | undefined;
|
|
5587
5635
|
defaultPeriod?: {
|
|
5588
5636
|
value: number;
|
|
@@ -5600,6 +5648,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5600
5648
|
start: string;
|
|
5601
5649
|
end: string;
|
|
5602
5650
|
} | undefined;
|
|
5651
|
+
sheetIds?: string[] | undefined;
|
|
5603
5652
|
}, {
|
|
5604
5653
|
domainId: string;
|
|
5605
5654
|
datasetName: string;
|
|
@@ -5608,7 +5657,6 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5608
5657
|
op: "filter.add";
|
|
5609
5658
|
selection?: "single" | "multiple" | undefined;
|
|
5610
5659
|
defaultValues?: (string | number | boolean)[] | undefined;
|
|
5611
|
-
sheetIds?: string[] | undefined;
|
|
5612
5660
|
handle?: string | undefined;
|
|
5613
5661
|
defaultPeriod?: {
|
|
5614
5662
|
value: number;
|
|
@@ -5626,6 +5674,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5626
5674
|
start: string;
|
|
5627
5675
|
end: string;
|
|
5628
5676
|
} | undefined;
|
|
5677
|
+
sheetIds?: string[] | undefined;
|
|
5629
5678
|
}>, z.ZodObject<{
|
|
5630
5679
|
op: z.ZodLiteral<"filter.update">;
|
|
5631
5680
|
filterId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -5790,7 +5839,6 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5790
5839
|
label?: string | undefined;
|
|
5791
5840
|
selection?: "single" | "multiple" | undefined;
|
|
5792
5841
|
defaultValues?: (string | number | boolean)[] | null | undefined;
|
|
5793
|
-
sheetIds?: string[] | null | undefined;
|
|
5794
5842
|
defaultPeriod?: {
|
|
5795
5843
|
value: number;
|
|
5796
5844
|
unit: "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
@@ -5807,13 +5855,13 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5807
5855
|
start: string;
|
|
5808
5856
|
end: string;
|
|
5809
5857
|
} | null | undefined;
|
|
5858
|
+
sheetIds?: string[] | null | undefined;
|
|
5810
5859
|
}, {
|
|
5811
5860
|
filterId: string;
|
|
5812
5861
|
op: "filter.update";
|
|
5813
5862
|
label?: string | undefined;
|
|
5814
5863
|
selection?: "single" | "multiple" | undefined;
|
|
5815
5864
|
defaultValues?: (string | number | boolean)[] | null | undefined;
|
|
5816
|
-
sheetIds?: string[] | null | undefined;
|
|
5817
5865
|
defaultPeriod?: {
|
|
5818
5866
|
value: number;
|
|
5819
5867
|
unit: "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
@@ -5830,6 +5878,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5830
5878
|
start: string;
|
|
5831
5879
|
end: string;
|
|
5832
5880
|
} | null | undefined;
|
|
5881
|
+
sheetIds?: string[] | null | undefined;
|
|
5833
5882
|
}>, z.ZodObject<{
|
|
5834
5883
|
op: z.ZodLiteral<"filter.remove">;
|
|
5835
5884
|
filterId: z.ZodString;
|
|
@@ -5893,6 +5942,231 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5893
5942
|
op: "layout.arrange";
|
|
5894
5943
|
sheetId?: string | undefined;
|
|
5895
5944
|
keepOrder?: boolean | undefined;
|
|
5945
|
+
}>, z.ZodObject<{
|
|
5946
|
+
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5947
|
+
color: z.ZodOptional<z.ZodString>;
|
|
5948
|
+
scale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5949
|
+
bars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5950
|
+
op: z.ZodLiteral<"highlight.add">;
|
|
5951
|
+
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
5952
|
+
column: z.ZodString;
|
|
5953
|
+
apply: z.ZodOptional<z.ZodEnum<["cell", "row"]>>;
|
|
5954
|
+
} | {
|
|
5955
|
+
when: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
5956
|
+
operator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<="]>;
|
|
5957
|
+
value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5958
|
+
}, "strict", z.ZodTypeAny, {
|
|
5959
|
+
value: string | number;
|
|
5960
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5961
|
+
}, {
|
|
5962
|
+
value: string | number;
|
|
5963
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5964
|
+
}>, z.ZodObject<{
|
|
5965
|
+
operator: z.ZodLiteral<"between">;
|
|
5966
|
+
values: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
5967
|
+
}, "strict", z.ZodTypeAny, {
|
|
5968
|
+
values: [number, number];
|
|
5969
|
+
operator: "between";
|
|
5970
|
+
}, {
|
|
5971
|
+
values: [number, number];
|
|
5972
|
+
operator: "between";
|
|
5973
|
+
}>, z.ZodObject<{
|
|
5974
|
+
operator: z.ZodLiteral<"contains">;
|
|
5975
|
+
value: z.ZodString;
|
|
5976
|
+
}, "strict", z.ZodTypeAny, {
|
|
5977
|
+
value: string;
|
|
5978
|
+
operator: "contains";
|
|
5979
|
+
}, {
|
|
5980
|
+
value: string;
|
|
5981
|
+
operator: "contains";
|
|
5982
|
+
}>, z.ZodObject<{
|
|
5983
|
+
operator: z.ZodLiteral<"is_null">;
|
|
5984
|
+
}, "strict", z.ZodTypeAny, {
|
|
5985
|
+
operator: "is_null";
|
|
5986
|
+
}, {
|
|
5987
|
+
operator: "is_null";
|
|
5988
|
+
}>, z.ZodObject<{
|
|
5989
|
+
top: z.ZodNumber;
|
|
5990
|
+
}, "strict", z.ZodTypeAny, {
|
|
5991
|
+
top: number;
|
|
5992
|
+
}, {
|
|
5993
|
+
top: number;
|
|
5994
|
+
}>, z.ZodObject<{
|
|
5995
|
+
bottom: z.ZodNumber;
|
|
5996
|
+
}, "strict", z.ZodTypeAny, {
|
|
5997
|
+
bottom: number;
|
|
5998
|
+
}, {
|
|
5999
|
+
bottom: number;
|
|
6000
|
+
}>]>>;
|
|
6001
|
+
color: z.ZodOptional<z.ZodString>;
|
|
6002
|
+
scale: z.ZodOptional<z.ZodObject<{
|
|
6003
|
+
low: z.ZodString;
|
|
6004
|
+
high: z.ZodString;
|
|
6005
|
+
mid: z.ZodOptional<z.ZodString>;
|
|
6006
|
+
}, "strict", z.ZodTypeAny, {
|
|
6007
|
+
low: string;
|
|
6008
|
+
high: string;
|
|
6009
|
+
mid?: string | undefined;
|
|
6010
|
+
}, {
|
|
6011
|
+
low: string;
|
|
6012
|
+
high: string;
|
|
6013
|
+
mid?: string | undefined;
|
|
6014
|
+
}>>;
|
|
6015
|
+
bars: z.ZodOptional<z.ZodObject<{
|
|
6016
|
+
color: z.ZodOptional<z.ZodString>;
|
|
6017
|
+
}, "strict", z.ZodTypeAny, {
|
|
6018
|
+
color?: string | undefined;
|
|
6019
|
+
}, {
|
|
6020
|
+
color?: string | undefined;
|
|
6021
|
+
}>>;
|
|
6022
|
+
op: z.ZodLiteral<"highlight.add">;
|
|
6023
|
+
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
6024
|
+
column: z.ZodString;
|
|
6025
|
+
apply: z.ZodOptional<z.ZodEnum<["cell", "row"]>>;
|
|
6026
|
+
}, "strict", z.ZodTypeAny, {
|
|
6027
|
+
column: string;
|
|
6028
|
+
cardId: string;
|
|
6029
|
+
op: "highlight.add";
|
|
6030
|
+
scale?: Record<string, unknown> | {
|
|
6031
|
+
low: string;
|
|
6032
|
+
high: string;
|
|
6033
|
+
mid?: string | undefined;
|
|
6034
|
+
} | undefined;
|
|
6035
|
+
color?: string | undefined;
|
|
6036
|
+
apply?: "row" | "cell" | undefined;
|
|
6037
|
+
when?: Record<string, unknown> | {
|
|
6038
|
+
value: string | number;
|
|
6039
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
6040
|
+
} | {
|
|
6041
|
+
values: [number, number];
|
|
6042
|
+
operator: "between";
|
|
6043
|
+
} | {
|
|
6044
|
+
value: string;
|
|
6045
|
+
operator: "contains";
|
|
6046
|
+
} | {
|
|
6047
|
+
operator: "is_null";
|
|
6048
|
+
} | {
|
|
6049
|
+
top: number;
|
|
6050
|
+
} | {
|
|
6051
|
+
bottom: number;
|
|
6052
|
+
} | undefined;
|
|
6053
|
+
bars?: Record<string, unknown> | {
|
|
6054
|
+
color?: string | undefined;
|
|
6055
|
+
} | undefined;
|
|
6056
|
+
} | {
|
|
6057
|
+
column: string;
|
|
6058
|
+
cardId: string;
|
|
6059
|
+
op: "highlight.add";
|
|
6060
|
+
scale?: Record<string, unknown> | {
|
|
6061
|
+
low: string;
|
|
6062
|
+
high: string;
|
|
6063
|
+
mid?: string | undefined;
|
|
6064
|
+
} | undefined;
|
|
6065
|
+
color?: string | undefined;
|
|
6066
|
+
apply?: "row" | "cell" | undefined;
|
|
6067
|
+
when?: Record<string, unknown> | {
|
|
6068
|
+
value: string | number;
|
|
6069
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
6070
|
+
} | {
|
|
6071
|
+
values: [number, number];
|
|
6072
|
+
operator: "between";
|
|
6073
|
+
} | {
|
|
6074
|
+
value: string;
|
|
6075
|
+
operator: "contains";
|
|
6076
|
+
} | {
|
|
6077
|
+
operator: "is_null";
|
|
6078
|
+
} | {
|
|
6079
|
+
top: number;
|
|
6080
|
+
} | {
|
|
6081
|
+
bottom: number;
|
|
6082
|
+
} | undefined;
|
|
6083
|
+
bars?: Record<string, unknown> | {
|
|
6084
|
+
color?: string | undefined;
|
|
6085
|
+
} | undefined;
|
|
6086
|
+
}, {
|
|
6087
|
+
column: string;
|
|
6088
|
+
cardId: string;
|
|
6089
|
+
op: "highlight.add";
|
|
6090
|
+
scale?: Record<string, unknown> | {
|
|
6091
|
+
low: string;
|
|
6092
|
+
high: string;
|
|
6093
|
+
mid?: string | undefined;
|
|
6094
|
+
} | undefined;
|
|
6095
|
+
color?: string | undefined;
|
|
6096
|
+
apply?: "row" | "cell" | undefined;
|
|
6097
|
+
when?: Record<string, unknown> | {
|
|
6098
|
+
value: string | number;
|
|
6099
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
6100
|
+
} | {
|
|
6101
|
+
values: [number, number];
|
|
6102
|
+
operator: "between";
|
|
6103
|
+
} | {
|
|
6104
|
+
value: string;
|
|
6105
|
+
operator: "contains";
|
|
6106
|
+
} | {
|
|
6107
|
+
operator: "is_null";
|
|
6108
|
+
} | {
|
|
6109
|
+
top: number;
|
|
6110
|
+
} | {
|
|
6111
|
+
bottom: number;
|
|
6112
|
+
} | undefined;
|
|
6113
|
+
bars?: Record<string, unknown> | {
|
|
6114
|
+
color?: string | undefined;
|
|
6115
|
+
} | undefined;
|
|
6116
|
+
} | {
|
|
6117
|
+
column: string;
|
|
6118
|
+
cardId: string;
|
|
6119
|
+
op: "highlight.add";
|
|
6120
|
+
scale?: Record<string, unknown> | {
|
|
6121
|
+
low: string;
|
|
6122
|
+
high: string;
|
|
6123
|
+
mid?: string | undefined;
|
|
6124
|
+
} | undefined;
|
|
6125
|
+
color?: string | undefined;
|
|
6126
|
+
apply?: "row" | "cell" | undefined;
|
|
6127
|
+
when?: Record<string, unknown> | {
|
|
6128
|
+
value: string | number;
|
|
6129
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
6130
|
+
} | {
|
|
6131
|
+
values: [number, number];
|
|
6132
|
+
operator: "between";
|
|
6133
|
+
} | {
|
|
6134
|
+
value: string;
|
|
6135
|
+
operator: "contains";
|
|
6136
|
+
} | {
|
|
6137
|
+
operator: "is_null";
|
|
6138
|
+
} | {
|
|
6139
|
+
top: number;
|
|
6140
|
+
} | {
|
|
6141
|
+
bottom: number;
|
|
6142
|
+
} | undefined;
|
|
6143
|
+
bars?: Record<string, unknown> | {
|
|
6144
|
+
color?: string | undefined;
|
|
6145
|
+
} | undefined;
|
|
6146
|
+
}>, z.ZodObject<{
|
|
6147
|
+
op: z.ZodLiteral<"highlight.remove">;
|
|
6148
|
+
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
6149
|
+
ruleId: z.ZodString;
|
|
6150
|
+
}, "strict", z.ZodTypeAny, {
|
|
6151
|
+
cardId: string;
|
|
6152
|
+
op: "highlight.remove";
|
|
6153
|
+
ruleId: string;
|
|
6154
|
+
}, {
|
|
6155
|
+
cardId: string;
|
|
6156
|
+
op: "highlight.remove";
|
|
6157
|
+
ruleId: string;
|
|
6158
|
+
}>, z.ZodObject<{
|
|
6159
|
+
op: z.ZodLiteral<"dashboard.update">;
|
|
6160
|
+
title: z.ZodOptional<z.ZodString>;
|
|
6161
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6162
|
+
}, "strict", z.ZodTypeAny, {
|
|
6163
|
+
op: "dashboard.update";
|
|
6164
|
+
description?: string | null | undefined;
|
|
6165
|
+
title?: string | undefined;
|
|
6166
|
+
}, {
|
|
6167
|
+
op: "dashboard.update";
|
|
6168
|
+
description?: string | null | undefined;
|
|
6169
|
+
title?: string | undefined;
|
|
5896
6170
|
}>]>;
|
|
5897
6171
|
/** The ops of changes to a dashboard: the one list callers route by (semaphor-app's MCP change tools). */
|
|
5898
6172
|
export declare const DASHBOARD_CHANGE_OPS: readonly DashboardChange['op'][];
|
|
@@ -5999,11 +6273,14 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
5999
6273
|
}, {
|
|
6000
6274
|
after: string;
|
|
6001
6275
|
}>]>>;
|
|
6276
|
+
/** Card appearance: a card is born finished, with the settings `card.update` takes. */
|
|
6277
|
+
columns: z.ZodOptional<z.ZodTypeAny>;
|
|
6002
6278
|
}, "strict", z.ZodTypeAny, {
|
|
6003
6279
|
type: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table";
|
|
6004
6280
|
title: string;
|
|
6005
6281
|
op: "card.add";
|
|
6006
6282
|
description?: string | undefined;
|
|
6283
|
+
columns?: any;
|
|
6007
6284
|
matrix?: {
|
|
6008
6285
|
columns: (string | {
|
|
6009
6286
|
name: string;
|
|
@@ -6023,15 +6300,16 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
6023
6300
|
position?: "top" | "end" | {
|
|
6024
6301
|
after: string;
|
|
6025
6302
|
} | undefined;
|
|
6026
|
-
sheetId?: string | undefined;
|
|
6027
6303
|
width?: "quarter" | "full" | "half" | "third" | undefined;
|
|
6028
|
-
query?: any;
|
|
6029
6304
|
handle?: string | undefined;
|
|
6305
|
+
sheetId?: string | undefined;
|
|
6306
|
+
query?: any;
|
|
6030
6307
|
}, {
|
|
6031
6308
|
type: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table";
|
|
6032
6309
|
title: string;
|
|
6033
6310
|
op: "card.add";
|
|
6034
6311
|
description?: string | undefined;
|
|
6312
|
+
columns?: any;
|
|
6035
6313
|
matrix?: {
|
|
6036
6314
|
columns: (string | {
|
|
6037
6315
|
name: string;
|
|
@@ -6051,10 +6329,10 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
6051
6329
|
position?: "top" | "end" | {
|
|
6052
6330
|
after: string;
|
|
6053
6331
|
} | undefined;
|
|
6054
|
-
sheetId?: string | undefined;
|
|
6055
6332
|
width?: "quarter" | "full" | "half" | "third" | undefined;
|
|
6056
|
-
query?: any;
|
|
6057
6333
|
handle?: string | undefined;
|
|
6334
|
+
sheetId?: string | undefined;
|
|
6335
|
+
query?: any;
|
|
6058
6336
|
}>, z.ZodObject<{
|
|
6059
6337
|
op: z.ZodLiteral<"card.update">;
|
|
6060
6338
|
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -6954,11 +7232,13 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
6954
7232
|
} | undefined;
|
|
6955
7233
|
})[];
|
|
6956
7234
|
}>>;
|
|
7235
|
+
columns: z.ZodOptional<z.ZodTypeAny>;
|
|
6957
7236
|
}, "strict", z.ZodTypeAny, {
|
|
6958
7237
|
cardId: string;
|
|
6959
7238
|
op: "card.update";
|
|
6960
7239
|
type?: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table" | undefined;
|
|
6961
7240
|
description?: string | null | undefined;
|
|
7241
|
+
columns?: any;
|
|
6962
7242
|
matrix?: {
|
|
6963
7243
|
columns: (string | {
|
|
6964
7244
|
name: string;
|
|
@@ -7101,6 +7381,7 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7101
7381
|
op: "card.update";
|
|
7102
7382
|
type?: "table" | "matrix" | "kpi" | "line" | "bar" | "area" | "pie" | "detail_table" | undefined;
|
|
7103
7383
|
description?: string | null | undefined;
|
|
7384
|
+
columns?: any;
|
|
7104
7385
|
matrix?: {
|
|
7105
7386
|
columns: (string | {
|
|
7106
7387
|
name: string;
|
|
@@ -7416,7 +7697,6 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7416
7697
|
op: "filter.add";
|
|
7417
7698
|
selection?: "single" | "multiple" | undefined;
|
|
7418
7699
|
defaultValues?: (string | number | boolean)[] | undefined;
|
|
7419
|
-
sheetIds?: string[] | undefined;
|
|
7420
7700
|
handle?: string | undefined;
|
|
7421
7701
|
defaultPeriod?: {
|
|
7422
7702
|
value: number;
|
|
@@ -7434,6 +7714,7 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7434
7714
|
start: string;
|
|
7435
7715
|
end: string;
|
|
7436
7716
|
} | undefined;
|
|
7717
|
+
sheetIds?: string[] | undefined;
|
|
7437
7718
|
}, {
|
|
7438
7719
|
domainId: string;
|
|
7439
7720
|
datasetName: string;
|
|
@@ -7442,7 +7723,6 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7442
7723
|
op: "filter.add";
|
|
7443
7724
|
selection?: "single" | "multiple" | undefined;
|
|
7444
7725
|
defaultValues?: (string | number | boolean)[] | undefined;
|
|
7445
|
-
sheetIds?: string[] | undefined;
|
|
7446
7726
|
handle?: string | undefined;
|
|
7447
7727
|
defaultPeriod?: {
|
|
7448
7728
|
value: number;
|
|
@@ -7460,6 +7740,7 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7460
7740
|
start: string;
|
|
7461
7741
|
end: string;
|
|
7462
7742
|
} | undefined;
|
|
7743
|
+
sheetIds?: string[] | undefined;
|
|
7463
7744
|
}>, z.ZodObject<{
|
|
7464
7745
|
op: z.ZodLiteral<"filter.update">;
|
|
7465
7746
|
filterId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
@@ -7624,7 +7905,6 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7624
7905
|
label?: string | undefined;
|
|
7625
7906
|
selection?: "single" | "multiple" | undefined;
|
|
7626
7907
|
defaultValues?: (string | number | boolean)[] | null | undefined;
|
|
7627
|
-
sheetIds?: string[] | null | undefined;
|
|
7628
7908
|
defaultPeriod?: {
|
|
7629
7909
|
value: number;
|
|
7630
7910
|
unit: "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
@@ -7641,13 +7921,13 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7641
7921
|
start: string;
|
|
7642
7922
|
end: string;
|
|
7643
7923
|
} | null | undefined;
|
|
7924
|
+
sheetIds?: string[] | null | undefined;
|
|
7644
7925
|
}, {
|
|
7645
7926
|
filterId: string;
|
|
7646
7927
|
op: "filter.update";
|
|
7647
7928
|
label?: string | undefined;
|
|
7648
7929
|
selection?: "single" | "multiple" | undefined;
|
|
7649
7930
|
defaultValues?: (string | number | boolean)[] | null | undefined;
|
|
7650
|
-
sheetIds?: string[] | null | undefined;
|
|
7651
7931
|
defaultPeriod?: {
|
|
7652
7932
|
value: number;
|
|
7653
7933
|
unit: "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
@@ -7664,6 +7944,7 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7664
7944
|
start: string;
|
|
7665
7945
|
end: string;
|
|
7666
7946
|
} | null | undefined;
|
|
7947
|
+
sheetIds?: string[] | null | undefined;
|
|
7667
7948
|
}>, z.ZodObject<{
|
|
7668
7949
|
op: z.ZodLiteral<"filter.remove">;
|
|
7669
7950
|
filterId: z.ZodString;
|
|
@@ -7727,6 +8008,231 @@ export declare const proposedChangeSchema: z.ZodDiscriminatedUnion<"op", [z.ZodO
|
|
|
7727
8008
|
op: "layout.arrange";
|
|
7728
8009
|
sheetId?: string | undefined;
|
|
7729
8010
|
keepOrder?: boolean | undefined;
|
|
8011
|
+
}>, z.ZodObject<{
|
|
8012
|
+
when: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8013
|
+
color: z.ZodOptional<z.ZodString>;
|
|
8014
|
+
scale: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8015
|
+
bars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8016
|
+
op: z.ZodLiteral<"highlight.add">;
|
|
8017
|
+
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
8018
|
+
column: z.ZodString;
|
|
8019
|
+
apply: z.ZodOptional<z.ZodEnum<["cell", "row"]>>;
|
|
8020
|
+
} | {
|
|
8021
|
+
when: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
8022
|
+
operator: z.ZodEnum<["=", "!=", ">", ">=", "<", "<="]>;
|
|
8023
|
+
value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
8024
|
+
}, "strict", z.ZodTypeAny, {
|
|
8025
|
+
value: string | number;
|
|
8026
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
8027
|
+
}, {
|
|
8028
|
+
value: string | number;
|
|
8029
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
8030
|
+
}>, z.ZodObject<{
|
|
8031
|
+
operator: z.ZodLiteral<"between">;
|
|
8032
|
+
values: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
8033
|
+
}, "strict", z.ZodTypeAny, {
|
|
8034
|
+
values: [number, number];
|
|
8035
|
+
operator: "between";
|
|
8036
|
+
}, {
|
|
8037
|
+
values: [number, number];
|
|
8038
|
+
operator: "between";
|
|
8039
|
+
}>, z.ZodObject<{
|
|
8040
|
+
operator: z.ZodLiteral<"contains">;
|
|
8041
|
+
value: z.ZodString;
|
|
8042
|
+
}, "strict", z.ZodTypeAny, {
|
|
8043
|
+
value: string;
|
|
8044
|
+
operator: "contains";
|
|
8045
|
+
}, {
|
|
8046
|
+
value: string;
|
|
8047
|
+
operator: "contains";
|
|
8048
|
+
}>, z.ZodObject<{
|
|
8049
|
+
operator: z.ZodLiteral<"is_null">;
|
|
8050
|
+
}, "strict", z.ZodTypeAny, {
|
|
8051
|
+
operator: "is_null";
|
|
8052
|
+
}, {
|
|
8053
|
+
operator: "is_null";
|
|
8054
|
+
}>, z.ZodObject<{
|
|
8055
|
+
top: z.ZodNumber;
|
|
8056
|
+
}, "strict", z.ZodTypeAny, {
|
|
8057
|
+
top: number;
|
|
8058
|
+
}, {
|
|
8059
|
+
top: number;
|
|
8060
|
+
}>, z.ZodObject<{
|
|
8061
|
+
bottom: z.ZodNumber;
|
|
8062
|
+
}, "strict", z.ZodTypeAny, {
|
|
8063
|
+
bottom: number;
|
|
8064
|
+
}, {
|
|
8065
|
+
bottom: number;
|
|
8066
|
+
}>]>>;
|
|
8067
|
+
color: z.ZodOptional<z.ZodString>;
|
|
8068
|
+
scale: z.ZodOptional<z.ZodObject<{
|
|
8069
|
+
low: z.ZodString;
|
|
8070
|
+
high: z.ZodString;
|
|
8071
|
+
mid: z.ZodOptional<z.ZodString>;
|
|
8072
|
+
}, "strict", z.ZodTypeAny, {
|
|
8073
|
+
low: string;
|
|
8074
|
+
high: string;
|
|
8075
|
+
mid?: string | undefined;
|
|
8076
|
+
}, {
|
|
8077
|
+
low: string;
|
|
8078
|
+
high: string;
|
|
8079
|
+
mid?: string | undefined;
|
|
8080
|
+
}>>;
|
|
8081
|
+
bars: z.ZodOptional<z.ZodObject<{
|
|
8082
|
+
color: z.ZodOptional<z.ZodString>;
|
|
8083
|
+
}, "strict", z.ZodTypeAny, {
|
|
8084
|
+
color?: string | undefined;
|
|
8085
|
+
}, {
|
|
8086
|
+
color?: string | undefined;
|
|
8087
|
+
}>>;
|
|
8088
|
+
op: z.ZodLiteral<"highlight.add">;
|
|
8089
|
+
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
8090
|
+
column: z.ZodString;
|
|
8091
|
+
apply: z.ZodOptional<z.ZodEnum<["cell", "row"]>>;
|
|
8092
|
+
}, "strict", z.ZodTypeAny, {
|
|
8093
|
+
column: string;
|
|
8094
|
+
cardId: string;
|
|
8095
|
+
op: "highlight.add";
|
|
8096
|
+
scale?: Record<string, unknown> | {
|
|
8097
|
+
low: string;
|
|
8098
|
+
high: string;
|
|
8099
|
+
mid?: string | undefined;
|
|
8100
|
+
} | undefined;
|
|
8101
|
+
color?: string | undefined;
|
|
8102
|
+
apply?: "row" | "cell" | undefined;
|
|
8103
|
+
when?: Record<string, unknown> | {
|
|
8104
|
+
value: string | number;
|
|
8105
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
8106
|
+
} | {
|
|
8107
|
+
values: [number, number];
|
|
8108
|
+
operator: "between";
|
|
8109
|
+
} | {
|
|
8110
|
+
value: string;
|
|
8111
|
+
operator: "contains";
|
|
8112
|
+
} | {
|
|
8113
|
+
operator: "is_null";
|
|
8114
|
+
} | {
|
|
8115
|
+
top: number;
|
|
8116
|
+
} | {
|
|
8117
|
+
bottom: number;
|
|
8118
|
+
} | undefined;
|
|
8119
|
+
bars?: Record<string, unknown> | {
|
|
8120
|
+
color?: string | undefined;
|
|
8121
|
+
} | undefined;
|
|
8122
|
+
} | {
|
|
8123
|
+
column: string;
|
|
8124
|
+
cardId: string;
|
|
8125
|
+
op: "highlight.add";
|
|
8126
|
+
scale?: Record<string, unknown> | {
|
|
8127
|
+
low: string;
|
|
8128
|
+
high: string;
|
|
8129
|
+
mid?: string | undefined;
|
|
8130
|
+
} | undefined;
|
|
8131
|
+
color?: string | undefined;
|
|
8132
|
+
apply?: "row" | "cell" | undefined;
|
|
8133
|
+
when?: Record<string, unknown> | {
|
|
8134
|
+
value: string | number;
|
|
8135
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
8136
|
+
} | {
|
|
8137
|
+
values: [number, number];
|
|
8138
|
+
operator: "between";
|
|
8139
|
+
} | {
|
|
8140
|
+
value: string;
|
|
8141
|
+
operator: "contains";
|
|
8142
|
+
} | {
|
|
8143
|
+
operator: "is_null";
|
|
8144
|
+
} | {
|
|
8145
|
+
top: number;
|
|
8146
|
+
} | {
|
|
8147
|
+
bottom: number;
|
|
8148
|
+
} | undefined;
|
|
8149
|
+
bars?: Record<string, unknown> | {
|
|
8150
|
+
color?: string | undefined;
|
|
8151
|
+
} | undefined;
|
|
8152
|
+
}, {
|
|
8153
|
+
column: string;
|
|
8154
|
+
cardId: string;
|
|
8155
|
+
op: "highlight.add";
|
|
8156
|
+
scale?: Record<string, unknown> | {
|
|
8157
|
+
low: string;
|
|
8158
|
+
high: string;
|
|
8159
|
+
mid?: string | undefined;
|
|
8160
|
+
} | undefined;
|
|
8161
|
+
color?: string | undefined;
|
|
8162
|
+
apply?: "row" | "cell" | undefined;
|
|
8163
|
+
when?: Record<string, unknown> | {
|
|
8164
|
+
value: string | number;
|
|
8165
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
8166
|
+
} | {
|
|
8167
|
+
values: [number, number];
|
|
8168
|
+
operator: "between";
|
|
8169
|
+
} | {
|
|
8170
|
+
value: string;
|
|
8171
|
+
operator: "contains";
|
|
8172
|
+
} | {
|
|
8173
|
+
operator: "is_null";
|
|
8174
|
+
} | {
|
|
8175
|
+
top: number;
|
|
8176
|
+
} | {
|
|
8177
|
+
bottom: number;
|
|
8178
|
+
} | undefined;
|
|
8179
|
+
bars?: Record<string, unknown> | {
|
|
8180
|
+
color?: string | undefined;
|
|
8181
|
+
} | undefined;
|
|
8182
|
+
} | {
|
|
8183
|
+
column: string;
|
|
8184
|
+
cardId: string;
|
|
8185
|
+
op: "highlight.add";
|
|
8186
|
+
scale?: Record<string, unknown> | {
|
|
8187
|
+
low: string;
|
|
8188
|
+
high: string;
|
|
8189
|
+
mid?: string | undefined;
|
|
8190
|
+
} | undefined;
|
|
8191
|
+
color?: string | undefined;
|
|
8192
|
+
apply?: "row" | "cell" | undefined;
|
|
8193
|
+
when?: Record<string, unknown> | {
|
|
8194
|
+
value: string | number;
|
|
8195
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
8196
|
+
} | {
|
|
8197
|
+
values: [number, number];
|
|
8198
|
+
operator: "between";
|
|
8199
|
+
} | {
|
|
8200
|
+
value: string;
|
|
8201
|
+
operator: "contains";
|
|
8202
|
+
} | {
|
|
8203
|
+
operator: "is_null";
|
|
8204
|
+
} | {
|
|
8205
|
+
top: number;
|
|
8206
|
+
} | {
|
|
8207
|
+
bottom: number;
|
|
8208
|
+
} | undefined;
|
|
8209
|
+
bars?: Record<string, unknown> | {
|
|
8210
|
+
color?: string | undefined;
|
|
8211
|
+
} | undefined;
|
|
8212
|
+
}>, z.ZodObject<{
|
|
8213
|
+
op: z.ZodLiteral<"highlight.remove">;
|
|
8214
|
+
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
8215
|
+
ruleId: z.ZodString;
|
|
8216
|
+
}, "strict", z.ZodTypeAny, {
|
|
8217
|
+
cardId: string;
|
|
8218
|
+
op: "highlight.remove";
|
|
8219
|
+
ruleId: string;
|
|
8220
|
+
}, {
|
|
8221
|
+
cardId: string;
|
|
8222
|
+
op: "highlight.remove";
|
|
8223
|
+
ruleId: string;
|
|
8224
|
+
}>, z.ZodObject<{
|
|
8225
|
+
op: z.ZodLiteral<"dashboard.update">;
|
|
8226
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8227
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8228
|
+
}, "strict", z.ZodTypeAny, {
|
|
8229
|
+
op: "dashboard.update";
|
|
8230
|
+
description?: string | null | undefined;
|
|
8231
|
+
title?: string | undefined;
|
|
8232
|
+
}, {
|
|
8233
|
+
op: "dashboard.update";
|
|
8234
|
+
description?: string | null | undefined;
|
|
8235
|
+
title?: string | undefined;
|
|
7730
8236
|
}>, z.ZodObject<{
|
|
7731
8237
|
op: z.ZodLiteral<"relationship.add">;
|
|
7732
8238
|
from: z.ZodObject<{
|
|
@@ -7837,15 +8343,26 @@ export type ProposeChangeCaller = {
|
|
|
7837
8343
|
/**
|
|
7838
8344
|
* The propose tool's input for one caller (DE-INV-7, design rule 5): only the
|
|
7839
8345
|
* changes and query forms this caller may use. `shape` is what an MCP tool
|
|
7840
|
-
* registers; `schema` parses a call
|
|
8346
|
+
* registers, with card settings summarized; `schema` parses a call and checks
|
|
8347
|
+
* them in full. This is the one place that decides what
|
|
7841
8348
|
* on-screen propose accepts (LC-D17).
|
|
7842
8349
|
*/
|
|
7843
8350
|
export declare function buildProposeChangeInputSchema(caller: ProposeChangeCaller): {
|
|
7844
|
-
shape:
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
8351
|
+
shape: {
|
|
8352
|
+
changes: z.ZodArray<z.ZodDiscriminatedUnion<"op", [z.ZodDiscriminatedUnionOption<"op">, ...z.ZodDiscriminatedUnionOption<"op">[]]>, "many">;
|
|
8353
|
+
};
|
|
8354
|
+
schema: z.ZodObject<{
|
|
8355
|
+
changes: z.ZodArray<z.ZodDiscriminatedUnion<"op", [z.ZodDiscriminatedUnionOption<"op">, ...z.ZodDiscriminatedUnionOption<"op">[]]>, "many">;
|
|
8356
|
+
}, "strict", z.ZodTypeAny, {
|
|
8357
|
+
changes: {
|
|
8358
|
+
[x: string]: any;
|
|
8359
|
+
op?: unknown;
|
|
8360
|
+
}[];
|
|
8361
|
+
}, {
|
|
8362
|
+
changes: {
|
|
8363
|
+
[x: string]: any;
|
|
8364
|
+
op?: unknown;
|
|
8365
|
+
}[];
|
|
7849
8366
|
}>;
|
|
7850
8367
|
};
|
|
7851
8368
|
export type ProposeChangeInput = {
|