react-semaphor 0.1.606 → 0.1.607
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 +1 -1
- package/dist/appearance-runtime/index.js +1 -1
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +1 -1
- package/dist/brand-studio/index.js +2 -2
- package/dist/briefings/index.js +1 -1
- package/dist/chunks/add-to-dashboard-Bu3M9DpP.js +12 -0
- package/dist/chunks/appearance-provider-C4lPZcaN.js +613 -0
- package/dist/chunks/appearance-runtime-provider-De2VZS4F.js +1 -0
- package/dist/chunks/assistant-chat-B7Fngg8U.js +53 -0
- package/dist/chunks/attachment-filter-line-wJRB0GSP.js +1 -0
- package/dist/chunks/{bookmark-impact-BW30cm5E.js → bookmark-impact-DjrrJomS.js} +1 -1
- package/dist/chunks/bookmark-state-x9hJS83D.js +1 -0
- package/dist/chunks/{brand-CL5xDiFH.js → brand-DgFcvKJI.js} +1 -1
- package/dist/chunks/{card-filter-builder-CzScSOQY.js → card-filter-builder-CvxygmsE.js} +8 -3
- package/dist/chunks/check-input-7DVPUuco.js +1 -0
- package/dist/chunks/{comparison-window-caption-tguyN24S.js → comparison-window-caption-zUZDe4tL.js} +1 -1
- package/dist/chunks/compiler-XErOfUUx.js +1 -0
- package/dist/chunks/context-Cwj8Axgd.js +2 -0
- package/dist/chunks/currency-presentation-binding-w9WDUk3b.js +1 -0
- package/dist/chunks/custom-visual-inputs-D8U98aBz.js +1 -0
- package/dist/chunks/{dashboard-Cyhj9EOl.js → dashboard-BEd6i29E.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CyOFddmD.js → dashboard-briefing-launcher-DMDYM9IA.js} +9 -14
- package/dist/chunks/{dashboard-controls-DpADfhr0.js → dashboard-controls-5B2vCIjJ.js} +8 -8
- package/dist/chunks/{dashboard-json-4xMChR2q.js → dashboard-json-C6r30x-5.js} +1 -1
- package/dist/chunks/dashboard-temporal-snapshot-Wki-YACw.js +1 -0
- package/dist/chunks/edit-dashboard-visual-F2w7v4iB.js +83 -0
- package/dist/chunks/{filter-line-WwUV5JzN.js → filter-line-COFQaF4_.js} +1 -1
- package/dist/chunks/filter-reach-preview-BWRGfSmb.js +1 -0
- package/dist/chunks/filter-value-text-BSAMEgve.js +1 -0
- package/dist/chunks/kpi-trend-rule-BcnKbY7d.js +1 -0
- package/dist/chunks/{layout-grid-Dtsioq4h.js → layout-grid-DahW4ClC.js} +1 -1
- package/dist/chunks/matrix-analytical-definition-Bd-dXB8q.js +1 -0
- package/dist/chunks/{matrix-member-presentation-vVAv-aqg.js → matrix-member-presentation-CfvxPV-i.js} +1 -1
- package/dist/chunks/matrix-operation-contract-Cw7U53Ao.js +1 -0
- package/dist/chunks/metric-formatting-QDqXfQGY.js +1 -0
- package/dist/chunks/{numeric-range-options-C8tr-Bls.js → numeric-range-options-s6i_nDXg.js} +1 -1
- package/dist/chunks/{palette-565cA0nh.js → palette-CYvJHSqP.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-BX5gLcze.js +1 -0
- package/dist/chunks/{pivot-result-identity-B0eWVMXg.js → pivot-result-identity-DOISzHU4.js} +1 -1
- package/dist/chunks/{raw-temporal-value-BHQ-ldpW.js → raw-temporal-value-Cssny3RJ.js} +1 -1
- package/dist/chunks/report-preferences-dialog-BNpB9byP.js +1 -0
- package/dist/chunks/{report-runtime-context-Cd1b5pku.js → report-runtime-context-B8HuY0bu.js} +1 -1
- package/dist/chunks/resolve-dashboard-input-context-B-0tONJg.js +8 -0
- package/dist/chunks/sandbox-host-Drf58_oU.js +197 -0
- package/dist/chunks/saved-dashboard-context-dbdbQ5bB.js +1 -0
- package/dist/chunks/{selection-filter-compiler-kYsRugss.js → selection-filter-compiler-DK8KkS9g.js} +1 -1
- package/dist/chunks/semaphor-ready-indicator-BSFsqsBJ.js +617 -0
- package/dist/chunks/set-oJDaJdtI.js +1 -0
- package/dist/chunks/slider-DAvAdfMC.js +599 -0
- package/dist/chunks/stored-dashboard-DmgJQcyZ.js +1 -0
- package/dist/chunks/table-cell-text-2x6r_oHO.js +1 -0
- package/dist/chunks/{table-export-sheet-xaczzWZF.js → table-export-sheet-CWqKiQu4.js} +1 -1
- package/dist/chunks/{token-types-1vzMWjI-.js → token-types-BSyWn2pb.js} +1 -1
- package/dist/chunks/{validators-Dg2kyF4_.js → validators-BPGmPz8-.js} +1 -1
- package/dist/chunks/{variable-draft-CRbSYdB6.js → variable-draft-DGA22H2g.js} +1 -1
- package/dist/chunks/visual-contract-DQPKg5QW.js +143 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +1 -1
- package/dist/extensions/index.js +1 -0
- package/dist/format-utils/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/components/assistant/assistant-store.d.ts +19 -0
- package/dist/types/components/assistant/use-assistant.d.ts +4 -0
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +2 -3
- package/dist/types/components/visual/data-table/table-cell-text.d.ts +93 -0
- package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -1
- package/dist/types/extensions.d.ts +2 -0
- package/dist/types/index.js +1 -1
- package/dist/types/lib/charts/types.d.ts +3 -1
- package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +0 -2
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +12 -12
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +25 -25
- package/dist/types/lib/stores/dashboard-store.d.ts +33 -2
- package/dist/types/lib/stores/editor-store.d.ts +8 -0
- package/dist/types/lib/types/common-types.d.ts +3 -0
- package/dist/types/lib/utils/card-definition.d.ts +12 -12
- package/dist/types/lib/utils/card-type-change.d.ts +9 -0
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +6 -6
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +10 -10
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +248 -248
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +10 -10
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +8 -8
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +2 -2
- package/dist/types/shared/assistant-protocol/context.d.ts +26 -26
- package/dist/types/shared/assistant-protocol/parts.d.ts +4 -0
- package/dist/types/shared/assistant-protocol/request.d.ts +2 -1
- package/dist/types/shared/dashboard-authoring/card-data-source/card-base.d.ts +16 -6
- package/dist/types/shared/dashboard-authoring/card-settings/custom-visual-write.d.ts +44 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +2 -2
- package/dist/types/shared/dashboard-authoring/changes/custom-visual-change.d.ts +57 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +61 -54
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +5 -1
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +5 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +60 -60
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +4 -4
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +48 -48
- package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +8 -2
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +7 -0
- package/dist/types/shared/extensions/check-audits.d.ts +30 -0
- package/dist/types/shared/extensions/check-findings.d.ts +46 -0
- package/dist/types/shared/extensions/check-input.d.ts +23 -0
- package/dist/types/shared/extensions/check-renders.d.ts +44 -0
- package/dist/types/shared/extensions/check-runner.d.ts +19 -0
- package/dist/types/shared/extensions/index.d.ts +17 -0
- package/dist/types/shared/extensions/read-document.d.ts +18 -0
- package/dist/types/shared/extensions/sandbox-host.d.ts +63 -0
- package/dist/types/shared/extensions/saved-refs.d.ts +33 -0
- package/dist/types/shared/extensions/script-policy.d.ts +11 -0
- package/dist/types/shared/extensions/types.d.ts +186 -0
- package/dist/types/shared/extensions/visual-contract.d.ts +36 -0
- package/dist/types/shared/extensions/visual-payload.d.ts +75 -0
- package/dist/types/shared/extensions/visual-theme.d.ts +21 -0
- package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +13 -6
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +2 -2
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +24 -24
- package/dist/types/shared/usage-events/details.d.ts +4 -4
- package/dist/types/shared/usage-events/envelope.d.ts +2 -2
- package/dist/usage-events/index.js +1 -1
- package/package.json +7 -2
- package/dist/chunks/add-to-dashboard-CEmZUf9o.js +0 -12
- package/dist/chunks/appearance-provider-fIhJSX6y.js +0 -613
- package/dist/chunks/appearance-runtime-provider-Bx8H-moR.js +0 -1
- package/dist/chunks/assistant-chat-SBKSrrEA.js +0 -51
- package/dist/chunks/attachment-filter-line-C_zHMhGh.js +0 -1
- package/dist/chunks/bookmark-state-DScd31KT.js +0 -1
- package/dist/chunks/context-CntvtZwC.js +0 -2
- package/dist/chunks/dashboard-temporal-snapshot-w3SMiPKj.js +0 -1
- package/dist/chunks/edit-dashboard-visual-DlvY7au4.js +0 -73
- package/dist/chunks/filter-reach-preview-DAEIyrEG.js +0 -1
- package/dist/chunks/filter-value-text-DqTHe_vu.js +0 -1
- package/dist/chunks/kpi-trend-rule-N1Xkwe_u.js +0 -1
- package/dist/chunks/matrix-analytical-definition-5T-2euHZ.js +0 -1
- package/dist/chunks/matrix-operation-contract-CWvcEsQ0.js +0 -1
- package/dist/chunks/pivot-result-contract-expectations-BNWhS8mv.js +0 -1
- package/dist/chunks/report-preferences-dialog-B2ZGPS9t.js +0 -1
- package/dist/chunks/resolve-dashboard-input-context-SlAAe4GF.js +0 -8
- package/dist/chunks/saved-dashboard-context-Bc2SVDr-.js +0 -1
- package/dist/chunks/semaphor-ready-indicator-Bj-cjkz-.js +0 -612
- package/dist/chunks/set-CACXVM2A.js +0 -1
- package/dist/chunks/slider-CWze9OEM.js +0 -4
- package/dist/chunks/stored-dashboard-CcNdU-mG.js +0 -1
|
@@ -139,7 +139,7 @@ export declare const analyticsFilterSchema: z.ZodObject<{
|
|
|
139
139
|
} | undefined;
|
|
140
140
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
141
141
|
};
|
|
142
|
-
operator: "
|
|
142
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
143
143
|
values?: (string | number | boolean)[] | undefined;
|
|
144
144
|
id?: string | undefined;
|
|
145
145
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const analyticsFilterSchema: z.ZodObject<{
|
|
|
159
159
|
} | undefined;
|
|
160
160
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
161
161
|
};
|
|
162
|
-
operator: "
|
|
162
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
163
163
|
values?: (string | number | boolean)[] | undefined;
|
|
164
164
|
id?: string | undefined;
|
|
165
165
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -1172,7 +1172,7 @@ export declare const metricCardQuerySchema: z.ZodObject<{
|
|
|
1172
1172
|
} | undefined;
|
|
1173
1173
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1174
1174
|
};
|
|
1175
|
-
operator: "
|
|
1175
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
1176
1176
|
values?: (string | number | boolean)[] | undefined;
|
|
1177
1177
|
id?: string | undefined;
|
|
1178
1178
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -1192,7 +1192,7 @@ export declare const metricCardQuerySchema: z.ZodObject<{
|
|
|
1192
1192
|
} | undefined;
|
|
1193
1193
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1194
1194
|
};
|
|
1195
|
-
operator: "
|
|
1195
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
1196
1196
|
values?: (string | number | boolean)[] | undefined;
|
|
1197
1197
|
id?: string | undefined;
|
|
1198
1198
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -1449,7 +1449,7 @@ export declare const metricCardQuerySchema: z.ZodObject<{
|
|
|
1449
1449
|
} | undefined;
|
|
1450
1450
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1451
1451
|
};
|
|
1452
|
-
operator: "
|
|
1452
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
1453
1453
|
values?: (string | number | boolean)[] | undefined;
|
|
1454
1454
|
id?: string | undefined;
|
|
1455
1455
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -1659,7 +1659,7 @@ export declare const metricCardQuerySchema: z.ZodObject<{
|
|
|
1659
1659
|
} | undefined;
|
|
1660
1660
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1661
1661
|
};
|
|
1662
|
-
operator: "
|
|
1662
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
1663
1663
|
values?: (string | number | boolean)[] | undefined;
|
|
1664
1664
|
id?: string | undefined;
|
|
1665
1665
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -1844,7 +1844,7 @@ export declare const recordsCardQuerySchema: z.ZodObject<{
|
|
|
1844
1844
|
} | undefined;
|
|
1845
1845
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1846
1846
|
};
|
|
1847
|
-
operator: "
|
|
1847
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
1848
1848
|
values?: (string | number | boolean)[] | undefined;
|
|
1849
1849
|
id?: string | undefined;
|
|
1850
1850
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -1864,7 +1864,7 @@ export declare const recordsCardQuerySchema: z.ZodObject<{
|
|
|
1864
1864
|
} | undefined;
|
|
1865
1865
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
1866
1866
|
};
|
|
1867
|
-
operator: "
|
|
1867
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
1868
1868
|
values?: (string | number | boolean)[] | undefined;
|
|
1869
1869
|
id?: string | undefined;
|
|
1870
1870
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -2045,7 +2045,7 @@ export declare const recordsCardQuerySchema: z.ZodObject<{
|
|
|
2045
2045
|
} | undefined;
|
|
2046
2046
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
2047
2047
|
};
|
|
2048
|
-
operator: "
|
|
2048
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
2049
2049
|
values?: (string | number | boolean)[] | undefined;
|
|
2050
2050
|
id?: string | undefined;
|
|
2051
2051
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -2116,7 +2116,7 @@ export declare const recordsCardQuerySchema: z.ZodObject<{
|
|
|
2116
2116
|
} | undefined;
|
|
2117
2117
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
2118
2118
|
};
|
|
2119
|
-
operator: "
|
|
2119
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
2120
2120
|
values?: (string | number | boolean)[] | undefined;
|
|
2121
2121
|
id?: string | undefined;
|
|
2122
2122
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -2673,7 +2673,7 @@ declare const cardQueryPatchObject: z.ZodObject<{
|
|
|
2673
2673
|
} | undefined;
|
|
2674
2674
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
2675
2675
|
};
|
|
2676
|
-
operator: "
|
|
2676
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
2677
2677
|
values?: (string | number | boolean)[] | undefined;
|
|
2678
2678
|
id?: string | undefined;
|
|
2679
2679
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -2693,7 +2693,7 @@ declare const cardQueryPatchObject: z.ZodObject<{
|
|
|
2693
2693
|
} | undefined;
|
|
2694
2694
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
2695
2695
|
};
|
|
2696
|
-
operator: "
|
|
2696
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
2697
2697
|
values?: (string | number | boolean)[] | undefined;
|
|
2698
2698
|
id?: string | undefined;
|
|
2699
2699
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -2968,7 +2968,7 @@ declare const cardQueryPatchObject: z.ZodObject<{
|
|
|
2968
2968
|
} | undefined;
|
|
2969
2969
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
2970
2970
|
};
|
|
2971
|
-
operator: "
|
|
2971
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
2972
2972
|
values?: (string | number | boolean)[] | undefined;
|
|
2973
2973
|
id?: string | undefined;
|
|
2974
2974
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -3194,7 +3194,7 @@ declare const cardQueryPatchObject: z.ZodObject<{
|
|
|
3194
3194
|
} | undefined;
|
|
3195
3195
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
3196
3196
|
};
|
|
3197
|
-
operator: "
|
|
3197
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
3198
3198
|
values?: (string | number | boolean)[] | undefined;
|
|
3199
3199
|
id?: string | undefined;
|
|
3200
3200
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -3412,22 +3412,22 @@ declare const chipColorSchema: z.ZodObject<{
|
|
|
3412
3412
|
value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
3413
3413
|
}, "strict", z.ZodTypeAny, {
|
|
3414
3414
|
value: string | number;
|
|
3415
|
-
operator: "
|
|
3415
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3416
3416
|
}, {
|
|
3417
3417
|
value: string | number;
|
|
3418
|
-
operator: "
|
|
3418
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3419
3419
|
}>;
|
|
3420
3420
|
color: z.ZodString;
|
|
3421
3421
|
}, "strict", z.ZodTypeAny, {
|
|
3422
3422
|
when: {
|
|
3423
3423
|
value: string | number;
|
|
3424
|
-
operator: "
|
|
3424
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3425
3425
|
};
|
|
3426
3426
|
color: string;
|
|
3427
3427
|
}, {
|
|
3428
3428
|
when: {
|
|
3429
3429
|
value: string | number;
|
|
3430
|
-
operator: "
|
|
3430
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3431
3431
|
};
|
|
3432
3432
|
color: string;
|
|
3433
3433
|
}>;
|
|
@@ -3473,22 +3473,22 @@ declare const runPresentationSchema: z.ZodObject<{
|
|
|
3473
3473
|
value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
3474
3474
|
}, "strict", z.ZodTypeAny, {
|
|
3475
3475
|
value: string | number;
|
|
3476
|
-
operator: "
|
|
3476
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3477
3477
|
}, {
|
|
3478
3478
|
value: string | number;
|
|
3479
|
-
operator: "
|
|
3479
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3480
3480
|
}>;
|
|
3481
3481
|
color: z.ZodString;
|
|
3482
3482
|
}, "strict", z.ZodTypeAny, {
|
|
3483
3483
|
when: {
|
|
3484
3484
|
value: string | number;
|
|
3485
|
-
operator: "
|
|
3485
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3486
3486
|
};
|
|
3487
3487
|
color: string;
|
|
3488
3488
|
}, {
|
|
3489
3489
|
when: {
|
|
3490
3490
|
value: string | number;
|
|
3491
|
-
operator: "
|
|
3491
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3492
3492
|
};
|
|
3493
3493
|
color: string;
|
|
3494
3494
|
}>, "many">>;
|
|
@@ -3499,7 +3499,7 @@ declare const runPresentationSchema: z.ZodObject<{
|
|
|
3499
3499
|
colors?: {
|
|
3500
3500
|
when: {
|
|
3501
3501
|
value: string | number;
|
|
3502
|
-
operator: "
|
|
3502
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3503
3503
|
};
|
|
3504
3504
|
color: string;
|
|
3505
3505
|
}[] | undefined;
|
|
@@ -3522,7 +3522,7 @@ declare const runPresentationSchema: z.ZodObject<{
|
|
|
3522
3522
|
colors?: {
|
|
3523
3523
|
when: {
|
|
3524
3524
|
value: string | number;
|
|
3525
|
-
operator: "
|
|
3525
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
3526
3526
|
};
|
|
3527
3527
|
color: string;
|
|
3528
3528
|
}[] | undefined;
|
|
@@ -3571,10 +3571,10 @@ export declare const columnSettingsInputSchema: z.ZodObject<{
|
|
|
3571
3571
|
lines: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<5>, z.ZodLiteral<"all">]>>;
|
|
3572
3572
|
}, "strict", z.ZodTypeAny, {
|
|
3573
3573
|
as: "monospace";
|
|
3574
|
-
lines?:
|
|
3574
|
+
lines?: 2 | 5 | 3 | "all" | undefined;
|
|
3575
3575
|
}, {
|
|
3576
3576
|
as: "monospace";
|
|
3577
|
-
lines?:
|
|
3577
|
+
lines?: 2 | 5 | 3 | "all" | undefined;
|
|
3578
3578
|
}>, z.ZodObject<{
|
|
3579
3579
|
as: z.ZodLiteral<"status">;
|
|
3580
3580
|
shape: z.ZodOptional<z.ZodEnum<["pill", "dot"]>>;
|
|
@@ -3642,7 +3642,7 @@ export declare const columnSettingsInputSchema: z.ZodObject<{
|
|
|
3642
3642
|
as: "text";
|
|
3643
3643
|
} | {
|
|
3644
3644
|
as: "monospace";
|
|
3645
|
-
lines?:
|
|
3645
|
+
lines?: 2 | 5 | 3 | "all" | undefined;
|
|
3646
3646
|
} | {
|
|
3647
3647
|
as: "status";
|
|
3648
3648
|
shape?: "pill" | "dot" | undefined;
|
|
@@ -3672,7 +3672,7 @@ export declare const columnSettingsInputSchema: z.ZodObject<{
|
|
|
3672
3672
|
as: "text";
|
|
3673
3673
|
} | {
|
|
3674
3674
|
as: "monospace";
|
|
3675
|
-
lines?:
|
|
3675
|
+
lines?: 2 | 5 | 3 | "all" | undefined;
|
|
3676
3676
|
} | {
|
|
3677
3677
|
as: "status";
|
|
3678
3678
|
shape?: "pill" | "dot" | undefined;
|
|
@@ -3891,7 +3891,7 @@ declare const variableMetricQuerySchema: z.ZodObject<{
|
|
|
3891
3891
|
} | undefined;
|
|
3892
3892
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
3893
3893
|
};
|
|
3894
|
-
operator: "
|
|
3894
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
3895
3895
|
values?: (string | number | boolean)[] | undefined;
|
|
3896
3896
|
id?: string | undefined;
|
|
3897
3897
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -3911,7 +3911,7 @@ declare const variableMetricQuerySchema: z.ZodObject<{
|
|
|
3911
3911
|
} | undefined;
|
|
3912
3912
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
3913
3913
|
};
|
|
3914
|
-
operator: "
|
|
3914
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
3915
3915
|
values?: (string | number | boolean)[] | undefined;
|
|
3916
3916
|
id?: string | undefined;
|
|
3917
3917
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -4043,7 +4043,7 @@ declare const variableMetricQuerySchema: z.ZodObject<{
|
|
|
4043
4043
|
} | undefined;
|
|
4044
4044
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
4045
4045
|
};
|
|
4046
|
-
operator: "
|
|
4046
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
4047
4047
|
values?: (string | number | boolean)[] | undefined;
|
|
4048
4048
|
id?: string | undefined;
|
|
4049
4049
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -4115,7 +4115,7 @@ declare const variableMetricQuerySchema: z.ZodObject<{
|
|
|
4115
4115
|
} | undefined;
|
|
4116
4116
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
4117
4117
|
};
|
|
4118
|
-
operator: "
|
|
4118
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
4119
4119
|
values?: (string | number | boolean)[] | undefined;
|
|
4120
4120
|
id?: string | undefined;
|
|
4121
4121
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -4197,14 +4197,14 @@ export declare function sheetChangeSchemas(tableCard: z.ZodTypeAny): readonly [z
|
|
|
4197
4197
|
}, "strict", z.ZodTypeAny, {
|
|
4198
4198
|
title: string;
|
|
4199
4199
|
op: "sheet.add";
|
|
4200
|
-
card?: any;
|
|
4201
4200
|
kind?: "table" | undefined;
|
|
4201
|
+
card?: any;
|
|
4202
4202
|
handle?: string | undefined;
|
|
4203
4203
|
}, {
|
|
4204
4204
|
title: string;
|
|
4205
4205
|
op: "sheet.add";
|
|
4206
|
-
card?: any;
|
|
4207
4206
|
kind?: "table" | undefined;
|
|
4207
|
+
card?: any;
|
|
4208
4208
|
handle?: string | undefined;
|
|
4209
4209
|
}>, z.ZodObject<{
|
|
4210
4210
|
op: z.ZodLiteral<"sheet.update">;
|
|
@@ -4336,7 +4336,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4336
4336
|
op: z.ZodLiteral<"card.add">;
|
|
4337
4337
|
handle: z.ZodOptional<z.ZodString>;
|
|
4338
4338
|
sheetId: z.ZodOptional<z.ZodString>;
|
|
4339
|
-
type: z.ZodEnum<["kpi", "bar", "line", "area", "pie", "table", "detail_table", "matrix", "text"]>;
|
|
4339
|
+
type: z.ZodEnum<["kpi", "bar", "line", "area", "pie", "table", "detail_table", "matrix", "custom_visual", "text"]>;
|
|
4340
4340
|
title: z.ZodString;
|
|
4341
4341
|
description: z.ZodOptional<z.ZodString>;
|
|
4342
4342
|
query: z.ZodOptional<z.ZodTypeAny>;
|
|
@@ -4425,6 +4425,8 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4425
4425
|
} | undefined;
|
|
4426
4426
|
})[];
|
|
4427
4427
|
}>>;
|
|
4428
|
+
/** A custom_visual card's { html, slots, settings } (EXT-D12). */
|
|
4429
|
+
customVisual: z.ZodOptional<z.ZodTypeAny>;
|
|
4428
4430
|
/** Responsive layouts RL-D9: a width by intent; with no position, the card goes after the last card, beside it when the row has room (MCP first-run fixes FR-D4). */
|
|
4429
4431
|
width: z.ZodOptional<z.ZodEnum<["full", "half", "third", "quarter"]>>;
|
|
4430
4432
|
/** Responsive layouts RL-D9: where the card goes; absent, it is placed by kind. */
|
|
@@ -4438,7 +4440,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4438
4440
|
/** Card appearance: a card is born finished, with the settings `card.update` takes. */
|
|
4439
4441
|
columns: z.ZodOptional<z.ZodTypeAny>;
|
|
4440
4442
|
}, "strict", z.ZodTypeAny, {
|
|
4441
|
-
type: "
|
|
4443
|
+
type: "matrix" | "kpi" | "table" | "text" | "line" | "bar" | "area" | "pie" | "detail_table" | "custom_visual";
|
|
4442
4444
|
title: string;
|
|
4443
4445
|
op: "card.add";
|
|
4444
4446
|
description?: string | undefined;
|
|
@@ -4463,12 +4465,13 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4463
4465
|
position?: "top" | "end" | {
|
|
4464
4466
|
after: string;
|
|
4465
4467
|
} | undefined;
|
|
4466
|
-
|
|
4468
|
+
customVisual?: any;
|
|
4469
|
+
width?: "quarter" | "full" | "half" | "third" | undefined;
|
|
4467
4470
|
query?: any;
|
|
4468
4471
|
handle?: string | undefined;
|
|
4469
4472
|
sheetId?: string | undefined;
|
|
4470
4473
|
}, {
|
|
4471
|
-
type: "
|
|
4474
|
+
type: "matrix" | "kpi" | "table" | "text" | "line" | "bar" | "area" | "pie" | "detail_table" | "custom_visual";
|
|
4472
4475
|
title: string;
|
|
4473
4476
|
op: "card.add";
|
|
4474
4477
|
description?: string | undefined;
|
|
@@ -4493,14 +4496,15 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4493
4496
|
position?: "top" | "end" | {
|
|
4494
4497
|
after: string;
|
|
4495
4498
|
} | undefined;
|
|
4496
|
-
|
|
4499
|
+
customVisual?: any;
|
|
4500
|
+
width?: "quarter" | "full" | "half" | "third" | undefined;
|
|
4497
4501
|
query?: any;
|
|
4498
4502
|
handle?: string | undefined;
|
|
4499
4503
|
sheetId?: string | undefined;
|
|
4500
4504
|
}>, z.ZodObject<{
|
|
4501
4505
|
op: z.ZodLiteral<"card.update">;
|
|
4502
4506
|
cardId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4503
|
-
type: z.ZodOptional<z.ZodEnum<["kpi", "bar", "line", "area", "pie", "table", "detail_table", "matrix"]>>;
|
|
4507
|
+
type: z.ZodOptional<z.ZodEnum<["kpi", "bar", "line", "area", "pie", "table", "detail_table", "matrix", "custom_visual"]>>;
|
|
4504
4508
|
title: z.ZodOptional<z.ZodString>;
|
|
4505
4509
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4506
4510
|
query: z.ZodOptional<z.ZodType<{
|
|
@@ -4677,7 +4681,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4677
4681
|
} | undefined;
|
|
4678
4682
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
4679
4683
|
};
|
|
4680
|
-
operator: "
|
|
4684
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
4681
4685
|
values?: (string | number | boolean)[] | undefined;
|
|
4682
4686
|
id?: string | undefined;
|
|
4683
4687
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -4815,11 +4819,12 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4815
4819
|
} | undefined;
|
|
4816
4820
|
})[];
|
|
4817
4821
|
}>>;
|
|
4822
|
+
customVisual: z.ZodOptional<z.ZodTypeAny>;
|
|
4818
4823
|
columns: z.ZodOptional<z.ZodTypeAny>;
|
|
4819
4824
|
}, "strict", z.ZodTypeAny, {
|
|
4820
4825
|
cardId: string;
|
|
4821
4826
|
op: "card.update";
|
|
4822
|
-
type?: "
|
|
4827
|
+
type?: "matrix" | "kpi" | "table" | "line" | "bar" | "area" | "pie" | "detail_table" | "custom_visual" | undefined;
|
|
4823
4828
|
description?: string | null | undefined;
|
|
4824
4829
|
columns?: any;
|
|
4825
4830
|
matrix?: {
|
|
@@ -4840,6 +4845,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
4840
4845
|
} | undefined;
|
|
4841
4846
|
text?: any;
|
|
4842
4847
|
title?: string | undefined;
|
|
4848
|
+
customVisual?: any;
|
|
4843
4849
|
query?: {
|
|
4844
4850
|
domainId?: string | undefined;
|
|
4845
4851
|
datasetName?: string | undefined;
|
|
@@ -5014,7 +5020,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5014
5020
|
} | undefined;
|
|
5015
5021
|
aggregate?: "SUM" | "COUNT" | "AVG" | "MIN" | "MAX" | "MEDIAN" | "DISTINCT" | undefined;
|
|
5016
5022
|
};
|
|
5017
|
-
operator: "
|
|
5023
|
+
operator: "=" | "!=" | "in" | "not_in" | "contains" | "not_contains" | "between" | "not_between" | ">" | ">=" | "<" | "<=" | "is_null" | "is_not_null";
|
|
5018
5024
|
values?: (string | number | boolean)[] | undefined;
|
|
5019
5025
|
id?: string | undefined;
|
|
5020
5026
|
scope?: "aggregate" | "row" | undefined;
|
|
@@ -5070,7 +5076,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5070
5076
|
}, {
|
|
5071
5077
|
cardId: string;
|
|
5072
5078
|
op: "card.update";
|
|
5073
|
-
type?: "
|
|
5079
|
+
type?: "matrix" | "kpi" | "table" | "line" | "bar" | "area" | "pie" | "detail_table" | "custom_visual" | undefined;
|
|
5074
5080
|
description?: string | null | undefined;
|
|
5075
5081
|
columns?: any;
|
|
5076
5082
|
matrix?: {
|
|
@@ -5091,6 +5097,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5091
5097
|
} | undefined;
|
|
5092
5098
|
text?: any;
|
|
5093
5099
|
title?: string | undefined;
|
|
5100
|
+
customVisual?: any;
|
|
5094
5101
|
query?: unknown;
|
|
5095
5102
|
}>, z.ZodObject<{
|
|
5096
5103
|
op: z.ZodLiteral<"card.remove">;
|
|
@@ -5192,8 +5199,8 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5192
5199
|
}, "strict", z.ZodTypeAny, {
|
|
5193
5200
|
filterId: string;
|
|
5194
5201
|
op: "filter.update";
|
|
5195
|
-
selection?: "single" | "multiple" | undefined;
|
|
5196
5202
|
label?: string | undefined;
|
|
5203
|
+
selection?: "single" | "multiple" | undefined;
|
|
5197
5204
|
defaultPeriod?: import('../../analytics-protocol/agent-time-window.js').AgentTimeWindow | null | undefined;
|
|
5198
5205
|
position?: number | undefined;
|
|
5199
5206
|
cardId?: string | undefined;
|
|
@@ -5208,8 +5215,8 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5208
5215
|
}, {
|
|
5209
5216
|
filterId: string;
|
|
5210
5217
|
op: "filter.update";
|
|
5211
|
-
selection?: "single" | "multiple" | undefined;
|
|
5212
5218
|
label?: string | undefined;
|
|
5219
|
+
selection?: "single" | "multiple" | undefined;
|
|
5213
5220
|
defaultPeriod?: import('../../analytics-protocol/index.js').SemaphorTimeWindow | null | undefined;
|
|
5214
5221
|
position?: number | undefined;
|
|
5215
5222
|
cardId?: string | undefined;
|
|
@@ -5315,14 +5322,14 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5315
5322
|
}, "strict", z.ZodTypeAny, {
|
|
5316
5323
|
title: string;
|
|
5317
5324
|
op: "sheet.add";
|
|
5318
|
-
card?: any;
|
|
5319
5325
|
kind?: "table" | undefined;
|
|
5326
|
+
card?: any;
|
|
5320
5327
|
handle?: string | undefined;
|
|
5321
5328
|
}, {
|
|
5322
5329
|
title: string;
|
|
5323
5330
|
op: "sheet.add";
|
|
5324
|
-
card?: any;
|
|
5325
5331
|
kind?: "table" | undefined;
|
|
5332
|
+
card?: any;
|
|
5326
5333
|
handle?: string | undefined;
|
|
5327
5334
|
}>, z.ZodObject<{
|
|
5328
5335
|
op: z.ZodLiteral<"sheet.update">;
|
|
@@ -5351,10 +5358,10 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5351
5358
|
value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5352
5359
|
}, "strict", z.ZodTypeAny, {
|
|
5353
5360
|
value: string | number;
|
|
5354
|
-
operator: "
|
|
5361
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5355
5362
|
}, {
|
|
5356
5363
|
value: string | number;
|
|
5357
|
-
operator: "
|
|
5364
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5358
5365
|
}>, z.ZodObject<{
|
|
5359
5366
|
operator: z.ZodLiteral<"between">;
|
|
5360
5367
|
values: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
@@ -5428,7 +5435,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5428
5435
|
} | undefined;
|
|
5429
5436
|
when?: Record<string, unknown> | {
|
|
5430
5437
|
value: string | number;
|
|
5431
|
-
operator: "
|
|
5438
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5432
5439
|
} | {
|
|
5433
5440
|
values: [number, number];
|
|
5434
5441
|
operator: "between";
|
|
@@ -5458,7 +5465,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5458
5465
|
} | undefined;
|
|
5459
5466
|
when?: Record<string, unknown> | {
|
|
5460
5467
|
value: string | number;
|
|
5461
|
-
operator: "
|
|
5468
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5462
5469
|
} | {
|
|
5463
5470
|
values: [number, number];
|
|
5464
5471
|
operator: "between";
|
|
@@ -5488,7 +5495,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5488
5495
|
} | undefined;
|
|
5489
5496
|
when?: Record<string, unknown> | {
|
|
5490
5497
|
value: string | number;
|
|
5491
|
-
operator: "
|
|
5498
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5492
5499
|
} | {
|
|
5493
5500
|
values: [number, number];
|
|
5494
5501
|
operator: "between";
|
|
@@ -5518,7 +5525,7 @@ export declare const dashboardChangeSchema: z.ZodDiscriminatedUnion<"op", [z.Zod
|
|
|
5518
5525
|
} | undefined;
|
|
5519
5526
|
when?: Record<string, unknown> | {
|
|
5520
5527
|
value: string | number;
|
|
5521
|
-
operator: "
|
|
5528
|
+
operator: "=" | "!=" | ">" | ">=" | "<" | "<=";
|
|
5522
5529
|
} | {
|
|
5523
5530
|
values: [number, number];
|
|
5524
5531
|
operator: "between";
|
|
@@ -87,7 +87,11 @@ export type ChangeWarningCode =
|
|
|
87
87
|
/** The same condition on every card a filter on its field reaches on a sheet: one dashboard filter's default (shared conditions SC-D10, SC-D16). */
|
|
88
88
|
| 'repeated_card_condition'
|
|
89
89
|
/** A card condition equal to the default of a dashboard filter that reaches the card: it won't follow the filter (SC-D11). */
|
|
90
|
-
| 'card_condition_repeats_filter_default'
|
|
90
|
+
| 'card_condition_repeats_filter_default'
|
|
91
|
+
/** A custom visual draws, but its checks found a flaw: text below 4.5:1, content cut off, the font, a colour in its code (custom visuals EXT-D17). */
|
|
92
|
+
| 'custom_visual_check'
|
|
93
|
+
/** A complete query replaces one the MCP can't read (a card on a table, with joins set in the editor, a Python step): what it read is gone (custom visuals EXT-D32). */
|
|
94
|
+
| 'query_replaced';
|
|
91
95
|
/**
|
|
92
96
|
* Calculated fields (calculated fields one core, plan "Refusals"): a
|
|
93
97
|
* dashboard field's add, change or removal, and its formula.
|
|
@@ -11,11 +11,15 @@ import { CardQuery, FieldRef, MatrixColumns } from './dashboard-change.js';
|
|
|
11
11
|
* only whether the card can be changed; whether it can be analyzed is
|
|
12
12
|
* `semaphor_analyze` `fromCard`'s question (DE-D29).
|
|
13
13
|
*/
|
|
14
|
+
/** What a card whose query the MCP can't read still takes (custom visuals EXT-D32): the outline and the refusal say it alike. */
|
|
15
|
+
export declare const UNREADABLE_CARD_TAKES = "It can still be renamed, have its custom visual changed, or be given a complete query (and a type) that replaces its query; change the rest in the editor.";
|
|
14
16
|
export type NotEditableReason = 'text' | 'document_section' | 'custom' | 'needs_sql_access'
|
|
15
17
|
/** A chart type outside the eight. */
|
|
16
18
|
| 'type_not_supported'
|
|
17
19
|
/** The card uses something the public query can't say; `detail` names it. */
|
|
18
|
-
| 'not_expressible'
|
|
20
|
+
| 'not_expressible'
|
|
21
|
+
/** No SQL, no fields and no table or dataset chosen yet: `card.update` gives it a complete query (custom visuals EXT-D28). */
|
|
22
|
+
| 'empty';
|
|
19
23
|
export type OutlineCardSource = {
|
|
20
24
|
kind: 'semantic';
|
|
21
25
|
domainId: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VisualManifest } from '../../extensions/types.js';
|
|
1
2
|
import { TCard, TDashboard } from '../../../lib/types/common-types.js';
|
|
2
3
|
import { DataSource, Field } from '../../../lib/types/explorer-types.js';
|
|
3
4
|
import { TChartType } from '../../../lib/charts/types.js';
|
|
@@ -152,6 +153,15 @@ export type ChangeServices = {
|
|
|
152
153
|
* without it, the dashboard inherits the defaults alone.
|
|
153
154
|
*/
|
|
154
155
|
readOrganizationAppearance?(): Promise<AppearanceSpec | null>;
|
|
156
|
+
/**
|
|
157
|
+
* A saved custom visual's manifest, when it is a visual of this dashboard
|
|
158
|
+
* (custom visuals Plan 1, Phase 3); null otherwise. Called only for a slot
|
|
159
|
+
* or setting change that sends no new HTML.
|
|
160
|
+
*/
|
|
161
|
+
readExtensionManifest?(input: {
|
|
162
|
+
extensionId: string;
|
|
163
|
+
version: number;
|
|
164
|
+
}): Promise<VisualManifest | null>;
|
|
155
165
|
};
|
|
156
166
|
export type ChangeRef = {
|
|
157
167
|
ref: string;
|