derive-dashboards 0.1.0 → 0.1.1
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/README.md +4 -3
- package/dist/adapter/sql-adapter.mjs +4 -4
- package/dist/body.mjs +11 -1
- package/dist/cache.d.mts +1 -1
- package/dist/cli/check.mjs +14 -1
- package/dist/cli/import/dbt-schema.mjs +2 -2
- package/dist/cli/import/index.mjs +2 -2
- package/dist/core/conformance/cases.d.mts +3 -0
- package/dist/core/conformance/cases.mjs +20 -4
- package/dist/core/conformance/check.mjs +6 -3
- package/dist/core/conformance/drill-cases.mjs +120 -0
- package/dist/core/document/view.d.mts +26 -7
- package/dist/core/document/view.mjs +42 -11
- package/dist/core/engine/index.d.mts +14 -2
- package/dist/core/engine/index.mjs +12 -1
- package/dist/core/engine/members.mjs +1 -1
- package/dist/core/engine/postgres.mjs +1 -1
- package/dist/core/engine/record-layout.d.mts +11 -0
- package/dist/core/engine/record-layout.mjs +7 -7
- package/dist/core/engine/records.d.mts +3 -2
- package/dist/core/engine/records.mjs +2 -1
- package/dist/core/engine/segmented.mjs +5 -2
- package/dist/core/engine/sql-records.mjs +2 -1
- package/dist/core/engine/statement.mjs +37 -3
- package/dist/core/engine/types.d.mts +3 -0
- package/dist/core/engine/version.d.mts +1 -1
- package/dist/core/engine/version.mjs +1 -1
- package/dist/core/error/codes.d.mts +31 -0
- package/dist/core/error/codes.mjs +28 -1
- package/dist/core/index.d.mts +9 -5
- package/dist/core/index.mjs +5 -3
- package/dist/core/model/catalog/check.mjs +1 -1
- package/dist/core/model/hints.d.mts +36 -0
- package/dist/core/model/member.d.mts +4 -2
- package/dist/core/model/member.mjs +16 -3
- package/dist/core/model/types.d.mts +8 -6
- package/dist/core/model/validate/drill.mjs +70 -0
- package/dist/core/model/validate/index.mjs +3 -0
- package/dist/core/model/validate/shape.mjs +150 -0
- package/dist/core/model/validate/source.mjs +5 -3
- package/dist/core/query/alias.mjs +7 -1
- package/dist/core/query/drill/compose.d.mts +22 -0
- package/dist/core/query/drill/compose.mjs +85 -0
- package/dist/core/query/drill/fields.d.mts +21 -0
- package/dist/core/query/drill/fields.mjs +91 -0
- package/dist/core/query/drill/internal.d.mts +11 -0
- package/dist/core/query/drill/items.d.mts +29 -0
- package/dist/core/query/drill/items.mjs +98 -0
- package/dist/core/query/drill/line.d.mts +31 -0
- package/dist/core/query/drill/line.mjs +183 -0
- package/dist/core/query/drill/links.d.mts +33 -0
- package/dist/core/query/drill/links.mjs +31 -0
- package/dist/core/query/drill/operand.mjs +7 -0
- package/dist/core/query/drill/scopes.d.mts +22 -0
- package/dist/core/query/drill/scopes.mjs +58 -0
- package/dist/core/query/drill/selection.d.mts +37 -0
- package/dist/core/query/drill/selection.mjs +144 -0
- package/dist/core/query/drill/steps.d.mts +14 -0
- package/dist/core/query/drill/steps.mjs +35 -0
- package/dist/core/query/drill/synthetic-expr.mjs +85 -0
- package/dist/core/query/drill/synthetic.d.mts +22 -0
- package/dist/core/query/drill/synthetic.mjs +165 -0
- package/dist/core/query/drill/time.d.mts +11 -0
- package/dist/core/query/drill/time.mjs +71 -0
- package/dist/core/query/drill/types.d.mts +155 -0
- package/dist/core/query/drill/types.mjs +4 -0
- package/dist/core/query/drill/views.d.mts +62 -0
- package/dist/core/query/drill/views.mjs +257 -0
- package/dist/core/query/segments.d.mts +12 -2
- package/dist/core/query/segments.mjs +3 -1
- package/dist/core/result/columns.mjs +17 -4
- package/dist/core/result/types.d.mts +5 -1
- package/dist/core/schema/answer-parts.mjs +117 -0
- package/dist/core/schema/answers.d.mts +2108 -128
- package/dist/core/schema/answers.mjs +10 -113
- package/dist/core/schema/commands.d.mts +2 -2
- package/dist/core/schema/document.d.mts +1 -1
- package/dist/core/schema/drill-answers.mjs +179 -0
- package/dist/core/schema/drill.d.mts +260 -0
- package/dist/core/schema/drill.mjs +107 -0
- package/dist/core/schema/index.d.mts +4 -2
- package/dist/core/schema/index.mjs +4 -2
- package/dist/core/schema/picks.d.mts +35 -0
- package/dist/core/schema/picks.mjs +23 -0
- package/dist/core/schema/query.d.mts +1 -1
- package/dist/core/schema/tools.mjs +1 -1
- package/dist/core/schema/view.d.mts +0 -35
- package/dist/core/schema/view.mjs +19 -24
- package/dist/core/store/schema.d.mts +5 -0
- package/dist/core/store/schema.mjs +10 -0
- package/dist/core/types/api.d.mts +15 -1
- package/dist/core/types/api.mjs +1 -1
- package/dist/core/types/drill-api.d.mts +210 -0
- package/dist/core/types/options.d.mts +21 -0
- package/dist/core/types/viewer.d.mts +5 -0
- package/dist/cursor-seal.d.mts +8 -0
- package/dist/cursor-seal.mjs +98 -0
- package/dist/dashboard-id.mjs +1 -1
- package/dist/drill-access.mjs +93 -0
- package/dist/drill-change.mjs +76 -0
- package/dist/drill-crumbs.mjs +113 -0
- package/dist/drill-distinct.mjs +130 -0
- package/dist/drill-explain.mjs +64 -0
- package/dist/drill-identity.mjs +35 -0
- package/dist/drill-item-id.mjs +35 -0
- package/dist/drill-items.mjs +132 -0
- package/dist/drill-open.mjs +169 -0
- package/dist/drill-seal.mjs +170 -0
- package/dist/drill-secret.mjs +14 -0
- package/dist/drill-share.mjs +53 -0
- package/dist/drill-summary.mjs +158 -0
- package/dist/drill-targets.mjs +53 -0
- package/dist/drill-totals.mjs +8 -0
- package/dist/drill-views.mjs +175 -0
- package/dist/drill.mjs +157 -0
- package/dist/editing.mjs +2 -2
- package/dist/endpoints/dashboards.mjs +11 -3
- package/dist/endpoints/drill.mjs +55 -0
- package/dist/endpoints/index.d.mts +233 -2
- package/dist/endpoints/index.mjs +5 -1
- package/dist/endpoints/query.mjs +26 -4
- package/dist/execute.d.mts +19 -1
- package/dist/execute.mjs +15 -17
- package/dist/index.d.mts +3 -1
- package/dist/index.mjs +29 -2
- package/dist/mcp/drill.mjs +61 -0
- package/dist/mcp/format.mjs +27 -3
- package/dist/mcp/index.d.mts +15 -4
- package/dist/mcp/index.mjs +13 -7
- package/dist/mcp/query.d.mts +7 -2
- package/dist/mcp/query.mjs +7 -3
- package/dist/node-postgres.d.mts +8 -4
- package/dist/node-postgres.mjs +29 -6
- package/dist/owner.mjs +3 -3
- package/dist/postgres-connection.d.mts +8 -2
- package/dist/postgres-connection.mjs +2 -1
- package/dist/react/Dashboard.d.mts +10 -5
- package/dist/react/Dashboard.mjs +51 -23
- package/dist/react/DashboardList.mjs +30 -2
- package/dist/react/Discard.mjs +7 -2
- package/dist/react/Grid.mjs +12 -5
- package/dist/react/Header.mjs +9 -0
- package/dist/react/Parts.mjs +6 -2
- package/dist/react/ReviewPanel.mjs +13 -2
- package/dist/react/RowBody.d.mts +19 -0
- package/dist/react/RowBody.mjs +55 -0
- package/dist/react/Tile.d.mts +1 -1
- package/dist/react/Tile.mjs +54 -30
- package/dist/react/builder/state.d.mts +1 -1
- package/dist/react/client.d.mts +2 -0
- package/dist/react/client.mjs +1 -0
- package/dist/react/context.d.mts +15 -1
- package/dist/react/context.mjs +19 -4
- package/dist/react/drill/Bars.mjs +179 -0
- package/dist/react/drill/Controls.mjs +173 -0
- package/dist/react/drill/DashboardTile.d.mts +18 -0
- package/dist/react/drill/DashboardTile.mjs +107 -0
- package/dist/react/drill/DrillPanel.d.mts +31 -0
- package/dist/react/drill/DrillPanel.mjs +104 -0
- package/dist/react/drill/DrillTabs.mjs +52 -0
- package/dist/react/drill/Header.mjs +131 -0
- package/dist/react/drill/Items.d.mts +22 -0
- package/dist/react/drill/Items.mjs +164 -0
- package/dist/react/drill/ItemsFoot.mjs +60 -0
- package/dist/react/drill/Notes.mjs +58 -0
- package/dist/react/drill/PanelBody.mjs +74 -0
- package/dist/react/drill/PanelStates.mjs +37 -0
- package/dist/react/drill/board.d.mts +18 -0
- package/dist/react/drill/board.mjs +91 -0
- package/dist/react/drill/counts.mjs +14 -0
- package/dist/react/drill/host.mjs +26 -0
- package/dist/react/drill/item-parts.d.mts +5 -0
- package/dist/react/drill/item-parts.mjs +76 -0
- package/dist/react/drill/item-type.d.mts +26 -0
- package/dist/react/drill/item-type.mjs +7 -0
- package/dist/react/drill/lazy.d.mts +6 -0
- package/dist/react/drill/lazy.mjs +17 -0
- package/dist/react/drill/pages.mjs +48 -0
- package/dist/react/drill/panel-focus.mjs +51 -0
- package/dist/react/drill/props.d.mts +25 -0
- package/dist/react/drill/props.mjs +72 -0
- package/dist/react/drill/state.d.mts +18 -0
- package/dist/react/drill/state.mjs +68 -0
- package/dist/react/drill/useDrill.d.mts +46 -0
- package/dist/react/drill/useDrill.mjs +194 -0
- package/dist/react/drill/words.d.mts +98 -0
- package/dist/react/drill/words.mjs +77 -0
- package/dist/react/english.mjs +9 -1
- package/dist/react/format.d.mts +3 -3
- package/dist/react/format.mjs +34 -12
- package/dist/react/index.d.mts +27 -4
- package/dist/react/index.mjs +10 -3
- package/dist/react/messages.d.mts +14 -1
- package/dist/react/renderers/index.d.mts +10 -2
- package/dist/react/renderers/index.mjs +54 -14
- package/dist/react/renderers/list.d.mts +22 -0
- package/dist/react/renderers/list.mjs +118 -0
- package/dist/react/review-words.mjs +1 -1
- package/dist/react/review.mjs +2 -2
- package/dist/react/scope.mjs +2 -7
- package/dist/react/series.d.mts +37 -0
- package/dist/react/series.mjs +95 -0
- package/dist/react/theme.css +1823 -1296
- package/dist/react/theme.css.d.ts +1 -0
- package/dist/react/tile-store.mjs +15 -3
- package/dist/react/useBoard.d.mts +5 -0
- package/dist/react/useBoard.mjs +4 -1
- package/dist/react/useDashboard.d.mts +1 -0
- package/dist/react/useDashboard.mjs +2 -1
- package/dist/react/useTiles.mjs +50 -15
- package/dist/react/view.d.mts +9 -0
- package/dist/react/view.mjs +22 -10
- package/dist/reading.d.mts +2 -0
- package/dist/reading.mjs +9 -1
- package/dist/recharts/charts.d.mts +0 -1
- package/dist/recharts/charts.mjs +128 -34
- package/dist/recharts/index.d.mts +2 -2
- package/dist/recharts/index.mjs +2 -2
- package/dist/recharts/marks.mjs +83 -0
- package/dist/recharts/series.d.mts +2 -22
- package/dist/recharts/series.mjs +1 -64
- package/dist/records-read.mjs +44 -0
- package/dist/store/apply.mjs +5 -5
- package/dist/store/commands.mjs +4 -4
- package/dist/store/discard.mjs +7 -7
- package/dist/store/drafts.mjs +5 -5
- package/dist/store/editor.mjs +1 -1
- package/dist/store/publish.mjs +12 -12
- package/dist/store/reader.mjs +41 -22
- package/dist/store/review.mjs +16 -16
- package/dist/store/rows.mjs +20 -20
- package/dist/store/undo.mjs +3 -3
- package/dist/store/unpublished.mjs +4 -4
- package/dist/store/versions.mjs +14 -14
- package/dist/testing/adapter-suite.mjs +4 -4
- package/dist/tiles.mjs +37 -3
- package/package.json +8 -10
- package/dist/react/Records.d.mts +0 -12
- package/dist/react/Records.mjs +0 -97
- package/src/adapter/sql-adapter.ts +0 -95
- package/src/adapter/statement.ts +0 -185
- package/src/authorize.ts +0 -73
- package/src/body.ts +0 -169
- package/src/bounded.ts +0 -43
- package/src/cache.ts +0 -192
- package/src/checks.ts +0 -170
- package/src/custom-source.ts +0 -59
- package/src/dashboard-id.ts +0 -36
- package/src/dashboards.ts +0 -132
- package/src/editing.ts +0 -148
- package/src/endpoints/access.ts +0 -41
- package/src/endpoints/dashboards.ts +0 -92
- package/src/endpoints/drafts.ts +0 -138
- package/src/endpoints/index.ts +0 -21
- package/src/endpoints/meta.ts +0 -137
- package/src/endpoints/query.ts +0 -86
- package/src/endpoints/read.ts +0 -92
- package/src/endpoints/review.ts +0 -89
- package/src/endpoints/values.ts +0 -62
- package/src/endpoints/versions.ts +0 -104
- package/src/execute.ts +0 -207
- package/src/handler.ts +0 -232
- package/src/http.ts +0 -66
- package/src/index.ts +0 -163
- package/src/introspect.ts +0 -205
- package/src/mcp/api.ts +0 -59
- package/src/mcp/format.ts +0 -67
- package/src/mcp/index.ts +0 -151
- package/src/mcp/query.ts +0 -153
- package/src/mcp/resolve.ts +0 -114
- package/src/node-postgres.ts +0 -81
- package/src/owner.ts +0 -36
- package/src/postgres-connection.ts +0 -143
- package/src/postgres-store.ts +0 -82
- package/src/principal.ts +0 -39
- package/src/reading.ts +0 -56
- package/src/request-rows.ts +0 -23
- package/src/request.ts +0 -22
- package/src/storage.ts +0 -63
- package/src/store/apply.ts +0 -129
- package/src/store/commands.ts +0 -75
- package/src/store/conflicts.ts +0 -98
- package/src/store/create-tables.ts +0 -104
- package/src/store/discard.ts +0 -42
- package/src/store/drafts.ts +0 -133
- package/src/store/editor.ts +0 -28
- package/src/store/log.ts +0 -28
- package/src/store/publish.ts +0 -199
- package/src/store/publisher.ts +0 -21
- package/src/store/reader.ts +0 -139
- package/src/store/review.ts +0 -239
- package/src/store/rows.ts +0 -250
- package/src/store/tenant.ts +0 -28
- package/src/store/undo.ts +0 -56
- package/src/store/unpublished.ts +0 -33
- package/src/store/versions.ts +0 -106
- package/src/store/writer.ts +0 -19
- package/src/testing/adapter-suite.ts +0 -239
- package/src/testing/index.ts +0 -2
- package/src/tile-doc.ts +0 -46
- package/src/tiles.ts +0 -120
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IssueCode } from "../error/codes.mjs";
|
|
2
|
-
import "../
|
|
3
|
-
import { Control, StoredFormulaNode } from "../query/types.mjs";
|
|
2
|
+
import { BoundFilter, StoredFilter, WireFilter } from "../query/filter.mjs";
|
|
3
|
+
import { Control, FormulaNode, StoredFormulaNode } from "../query/types.mjs";
|
|
4
4
|
import { CommandBody } from "../document/types.mjs";
|
|
5
|
-
import
|
|
5
|
+
import "../index.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
/** One line of a tiles stream: a tile's answer or refusal, by its place in the request; then done. */
|
|
8
8
|
export declare const tileLineSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -11,14 +11,14 @@ export declare const tileLineSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
11
11
|
result: z.ZodObject<{
|
|
12
12
|
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
13
13
|
t: z.ZodEnum<{
|
|
14
|
-
int: "int";
|
|
15
14
|
decimal: "decimal";
|
|
15
|
+
int: "int";
|
|
16
16
|
}>;
|
|
17
17
|
v: z.ZodString;
|
|
18
18
|
}, z.core.$loose>]>, z.ZodObject<{
|
|
19
19
|
mark: z.ZodEnum<{
|
|
20
|
-
other: "other";
|
|
21
20
|
all: "all";
|
|
21
|
+
other: "other";
|
|
22
22
|
}>;
|
|
23
23
|
}, z.core.$loose>]>>>>>;
|
|
24
24
|
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
@@ -28,12 +28,13 @@ export declare const tileLineSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
28
28
|
string: "string";
|
|
29
29
|
number: "number";
|
|
30
30
|
boolean: "boolean";
|
|
31
|
-
int: "int";
|
|
32
31
|
time: "time";
|
|
33
|
-
decimal: "decimal";
|
|
34
32
|
float: "float";
|
|
33
|
+
decimal: "decimal";
|
|
34
|
+
int: "int";
|
|
35
35
|
}>;
|
|
36
36
|
unit: z.ZodExactOptional<z.ZodString>;
|
|
37
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
37
38
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
38
39
|
hour: "hour";
|
|
39
40
|
day: "day";
|
|
@@ -49,18 +50,19 @@ export declare const tileLineSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
49
50
|
duration: "duration";
|
|
50
51
|
}>>;
|
|
51
52
|
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
53
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
52
54
|
}, z.core.$loose>>>;
|
|
53
55
|
compare: z.ZodExactOptional<z.ZodObject<{
|
|
54
56
|
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
55
57
|
t: z.ZodEnum<{
|
|
56
|
-
int: "int";
|
|
57
58
|
decimal: "decimal";
|
|
59
|
+
int: "int";
|
|
58
60
|
}>;
|
|
59
61
|
v: z.ZodString;
|
|
60
62
|
}, z.core.$loose>]>, z.ZodObject<{
|
|
61
63
|
mark: z.ZodEnum<{
|
|
62
|
-
other: "other";
|
|
63
64
|
all: "all";
|
|
65
|
+
other: "other";
|
|
64
66
|
}>;
|
|
65
67
|
}, z.core.$loose>]>>>>>;
|
|
66
68
|
range: z.ZodObject<{
|
|
@@ -118,6 +120,76 @@ export declare const tileLineSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
118
120
|
}, z.core.$loose>;
|
|
119
121
|
widgetId: z.ZodString;
|
|
120
122
|
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
123
|
+
drill: z.ZodExactOptional<z.ZodObject<{
|
|
124
|
+
answer: z.ZodString;
|
|
125
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
126
|
+
row: z.ZodInt;
|
|
127
|
+
code: z.ZodEnum<{
|
|
128
|
+
ROW_CAP: "ROW_CAP";
|
|
129
|
+
NO_FIELD: "NO_FIELD";
|
|
130
|
+
NO_TIME: "NO_TIME";
|
|
131
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
132
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
133
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
134
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
135
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
136
|
+
SNAPSHOT: "SNAPSHOT";
|
|
137
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
138
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
139
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
140
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
141
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
142
|
+
OTHER_CUT: "OTHER_CUT";
|
|
143
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
144
|
+
}>;
|
|
145
|
+
reason: z.ZodString;
|
|
146
|
+
}, z.core.$loose>>>;
|
|
147
|
+
execution: z.ZodString;
|
|
148
|
+
previous: z.ZodExactOptional<z.ZodObject<{
|
|
149
|
+
answer: z.ZodString;
|
|
150
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
151
|
+
row: z.ZodInt;
|
|
152
|
+
code: z.ZodEnum<{
|
|
153
|
+
ROW_CAP: "ROW_CAP";
|
|
154
|
+
NO_FIELD: "NO_FIELD";
|
|
155
|
+
NO_TIME: "NO_TIME";
|
|
156
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
157
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
158
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
159
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
160
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
161
|
+
SNAPSHOT: "SNAPSHOT";
|
|
162
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
163
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
164
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
165
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
166
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
167
|
+
OTHER_CUT: "OTHER_CUT";
|
|
168
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
169
|
+
}>;
|
|
170
|
+
reason: z.ZodString;
|
|
171
|
+
}, z.core.$loose>>>;
|
|
172
|
+
}, z.core.$loose>>;
|
|
173
|
+
code: z.ZodExactOptional<z.ZodEnum<{
|
|
174
|
+
ROW_CAP: "ROW_CAP";
|
|
175
|
+
NO_FIELD: "NO_FIELD";
|
|
176
|
+
NO_TIME: "NO_TIME";
|
|
177
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
178
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
179
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
180
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
181
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
182
|
+
SNAPSHOT: "SNAPSHOT";
|
|
183
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
184
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
185
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
186
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
187
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
188
|
+
OTHER_CUT: "OTHER_CUT";
|
|
189
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
190
|
+
}>>;
|
|
191
|
+
reason: z.ZodExactOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$loose>>;
|
|
121
193
|
}, z.core.$loose>;
|
|
122
194
|
}, z.core.$loose>, z.ZodObject<{
|
|
123
195
|
i: z.ZodNumber;
|
|
@@ -233,8 +305,8 @@ export declare const answerSchemas: {
|
|
|
233
305
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
234
306
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
235
307
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
236
|
-
zero: "zero";
|
|
237
308
|
none: "none";
|
|
309
|
+
zero: "zero";
|
|
238
310
|
}>>;
|
|
239
311
|
}, z.core.$loose>>;
|
|
240
312
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -290,8 +362,8 @@ export declare const answerSchemas: {
|
|
|
290
362
|
}, z.core.$loose>, z.ZodObject<{
|
|
291
363
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
292
364
|
query: "query";
|
|
293
|
-
title: "title";
|
|
294
365
|
kind: "kind";
|
|
366
|
+
title: "title";
|
|
295
367
|
display: "display";
|
|
296
368
|
}>>>;
|
|
297
369
|
widget: z.ZodString;
|
|
@@ -451,8 +523,8 @@ export declare const answerSchemas: {
|
|
|
451
523
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
452
524
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
453
525
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
454
|
-
zero: "zero";
|
|
455
526
|
none: "none";
|
|
527
|
+
zero: "zero";
|
|
456
528
|
}>>;
|
|
457
529
|
}, z.core.$loose>>;
|
|
458
530
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -508,8 +580,8 @@ export declare const answerSchemas: {
|
|
|
508
580
|
}, z.core.$loose>, z.ZodObject<{
|
|
509
581
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
510
582
|
query: "query";
|
|
511
|
-
title: "title";
|
|
512
583
|
kind: "kind";
|
|
584
|
+
title: "title";
|
|
513
585
|
display: "display";
|
|
514
586
|
}>>>;
|
|
515
587
|
widget: z.ZodString;
|
|
@@ -670,8 +742,8 @@ export declare const answerSchemas: {
|
|
|
670
742
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
671
743
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
672
744
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
673
|
-
zero: "zero";
|
|
674
745
|
none: "none";
|
|
746
|
+
zero: "zero";
|
|
675
747
|
}>>;
|
|
676
748
|
}, z.core.$loose>>;
|
|
677
749
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -727,8 +799,8 @@ export declare const answerSchemas: {
|
|
|
727
799
|
}, z.core.$loose>, z.ZodObject<{
|
|
728
800
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
729
801
|
query: "query";
|
|
730
|
-
title: "title";
|
|
731
802
|
kind: "kind";
|
|
803
|
+
title: "title";
|
|
732
804
|
display: "display";
|
|
733
805
|
}>>>;
|
|
734
806
|
widget: z.ZodString;
|
|
@@ -891,8 +963,8 @@ export declare const answerSchemas: {
|
|
|
891
963
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
892
964
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
893
965
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
894
|
-
zero: "zero";
|
|
895
966
|
none: "none";
|
|
967
|
+
zero: "zero";
|
|
896
968
|
}>>;
|
|
897
969
|
}, z.core.$loose>>;
|
|
898
970
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -948,8 +1020,8 @@ export declare const answerSchemas: {
|
|
|
948
1020
|
}, z.core.$loose>, z.ZodObject<{
|
|
949
1021
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
950
1022
|
query: "query";
|
|
951
|
-
title: "title";
|
|
952
1023
|
kind: "kind";
|
|
1024
|
+
title: "title";
|
|
953
1025
|
display: "display";
|
|
954
1026
|
}>>>;
|
|
955
1027
|
widget: z.ZodString;
|
|
@@ -1109,8 +1181,8 @@ export declare const answerSchemas: {
|
|
|
1109
1181
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
1110
1182
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
1111
1183
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
1112
|
-
zero: "zero";
|
|
1113
1184
|
none: "none";
|
|
1185
|
+
zero: "zero";
|
|
1114
1186
|
}>>;
|
|
1115
1187
|
}, z.core.$loose>>;
|
|
1116
1188
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -1166,8 +1238,8 @@ export declare const answerSchemas: {
|
|
|
1166
1238
|
}, z.core.$loose>, z.ZodObject<{
|
|
1167
1239
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1168
1240
|
query: "query";
|
|
1169
|
-
title: "title";
|
|
1170
1241
|
kind: "kind";
|
|
1242
|
+
title: "title";
|
|
1171
1243
|
display: "display";
|
|
1172
1244
|
}>>>;
|
|
1173
1245
|
widget: z.ZodString;
|
|
@@ -1242,8 +1314,8 @@ export declare const answerSchemas: {
|
|
|
1242
1314
|
}, z.core.$loose>, z.ZodObject<{
|
|
1243
1315
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1244
1316
|
query: "query";
|
|
1245
|
-
title: "title";
|
|
1246
1317
|
kind: "kind";
|
|
1318
|
+
title: "title";
|
|
1247
1319
|
display: "display";
|
|
1248
1320
|
}>>>;
|
|
1249
1321
|
widget: z.ZodString;
|
|
@@ -1319,8 +1391,8 @@ export declare const answerSchemas: {
|
|
|
1319
1391
|
}, z.core.$loose>;
|
|
1320
1392
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1321
1393
|
query: "query";
|
|
1322
|
-
title: "title";
|
|
1323
1394
|
kind: "kind";
|
|
1395
|
+
title: "title";
|
|
1324
1396
|
display: "display";
|
|
1325
1397
|
place: "place";
|
|
1326
1398
|
removed: "removed";
|
|
@@ -1330,8 +1402,8 @@ export declare const answerSchemas: {
|
|
|
1330
1402
|
author: z.ZodExactOptional<z.ZodObject<{
|
|
1331
1403
|
id: z.ZodString;
|
|
1332
1404
|
kind: z.ZodExactOptional<z.ZodEnum<{
|
|
1333
|
-
user: "user";
|
|
1334
1405
|
agent: "agent";
|
|
1406
|
+
user: "user";
|
|
1335
1407
|
}>>;
|
|
1336
1408
|
for: z.ZodExactOptional<z.ZodString>;
|
|
1337
1409
|
}, z.core.$loose>>;
|
|
@@ -1440,8 +1512,8 @@ export declare const answerSchemas: {
|
|
|
1440
1512
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
1441
1513
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
1442
1514
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
1443
|
-
zero: "zero";
|
|
1444
1515
|
none: "none";
|
|
1516
|
+
zero: "zero";
|
|
1445
1517
|
}>>;
|
|
1446
1518
|
}, z.core.$loose>>;
|
|
1447
1519
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -1497,8 +1569,8 @@ export declare const answerSchemas: {
|
|
|
1497
1569
|
}, z.core.$loose>, z.ZodObject<{
|
|
1498
1570
|
parts: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
1499
1571
|
query: "query";
|
|
1500
|
-
title: "title";
|
|
1501
1572
|
kind: "kind";
|
|
1573
|
+
title: "title";
|
|
1502
1574
|
display: "display";
|
|
1503
1575
|
}>>>;
|
|
1504
1576
|
widget: z.ZodString;
|
|
@@ -1571,8 +1643,8 @@ export declare const answerSchemas: {
|
|
|
1571
1643
|
author: z.ZodExactOptional<z.ZodObject<{
|
|
1572
1644
|
id: z.ZodString;
|
|
1573
1645
|
kind: z.ZodExactOptional<z.ZodEnum<{
|
|
1574
|
-
user: "user";
|
|
1575
1646
|
agent: "agent";
|
|
1647
|
+
user: "user";
|
|
1576
1648
|
}>>;
|
|
1577
1649
|
for: z.ZodExactOptional<z.ZodString>;
|
|
1578
1650
|
}, z.core.$loose>>;
|
|
@@ -1680,8 +1752,8 @@ export declare const answerSchemas: {
|
|
|
1680
1752
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
1681
1753
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
1682
1754
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
1683
|
-
zero: "zero";
|
|
1684
1755
|
none: "none";
|
|
1756
|
+
zero: "zero";
|
|
1685
1757
|
}>>;
|
|
1686
1758
|
}, z.core.$loose>>;
|
|
1687
1759
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -1735,9 +1807,9 @@ export declare const answerSchemas: {
|
|
|
1735
1807
|
string: "string";
|
|
1736
1808
|
number: "number";
|
|
1737
1809
|
boolean: "boolean";
|
|
1738
|
-
int: "int";
|
|
1739
1810
|
time: "time";
|
|
1740
1811
|
decimal: "decimal";
|
|
1812
|
+
int: "int";
|
|
1741
1813
|
}>;
|
|
1742
1814
|
values: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>, z.ZodLiteral<"lookup">]>>;
|
|
1743
1815
|
aggregate: z.ZodExactOptional<z.ZodString>;
|
|
@@ -1750,9 +1822,9 @@ export declare const answerSchemas: {
|
|
|
1750
1822
|
string: "string";
|
|
1751
1823
|
number: "number";
|
|
1752
1824
|
boolean: "boolean";
|
|
1753
|
-
int: "int";
|
|
1754
1825
|
time: "time";
|
|
1755
1826
|
decimal: "decimal";
|
|
1827
|
+
int: "int";
|
|
1756
1828
|
}>;
|
|
1757
1829
|
values: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>, z.ZodLiteral<"lookup">]>>;
|
|
1758
1830
|
aggregate: z.ZodExactOptional<z.ZodString>;
|
|
@@ -1885,8 +1957,8 @@ export declare const answerSchemas: {
|
|
|
1885
1957
|
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
1886
1958
|
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
1887
1959
|
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
1888
|
-
zero: "zero";
|
|
1889
1960
|
none: "none";
|
|
1961
|
+
zero: "zero";
|
|
1890
1962
|
}>>;
|
|
1891
1963
|
}, z.core.$loose>>;
|
|
1892
1964
|
display: z.ZodExactOptional<z.ZodObject<{
|
|
@@ -1942,47 +2014,272 @@ export declare const answerSchemas: {
|
|
|
1942
2014
|
string: "string";
|
|
1943
2015
|
number: "number";
|
|
1944
2016
|
boolean: "boolean";
|
|
1945
|
-
int: "int";
|
|
1946
2017
|
time: "time";
|
|
1947
|
-
decimal: "decimal";
|
|
1948
2018
|
float: "float";
|
|
2019
|
+
decimal: "decimal";
|
|
2020
|
+
int: "int";
|
|
1949
2021
|
}>;
|
|
1950
2022
|
}, z.core.$loose>>;
|
|
1951
2023
|
rows: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
1952
2024
|
t: z.ZodEnum<{
|
|
1953
|
-
int: "int";
|
|
1954
2025
|
decimal: "decimal";
|
|
2026
|
+
int: "int";
|
|
1955
2027
|
}>;
|
|
1956
2028
|
v: z.ZodString;
|
|
1957
2029
|
}, z.core.$loose>]>>>;
|
|
1958
2030
|
next: z.ZodExactOptional<z.ZodString>;
|
|
1959
2031
|
}, z.core.$loose>;
|
|
1960
|
-
"/
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
2032
|
+
"/dashboards/drill": z.ZodObject<{
|
|
2033
|
+
summary: z.ZodExactOptional<z.ZodObject<{
|
|
2034
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2035
|
+
t: z.ZodEnum<{
|
|
2036
|
+
decimal: "decimal";
|
|
2037
|
+
int: "int";
|
|
2038
|
+
}>;
|
|
2039
|
+
v: z.ZodString;
|
|
2040
|
+
}, z.core.$loose>]>;
|
|
2041
|
+
clicked: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2042
|
+
t: z.ZodEnum<{
|
|
2043
|
+
decimal: "decimal";
|
|
2044
|
+
int: "int";
|
|
2045
|
+
}>;
|
|
2046
|
+
v: z.ZodString;
|
|
2047
|
+
}, z.core.$loose>]>>;
|
|
2048
|
+
itemCount: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2049
|
+
t: z.ZodEnum<{
|
|
2050
|
+
decimal: "decimal";
|
|
2051
|
+
int: "int";
|
|
2052
|
+
}>;
|
|
2053
|
+
v: z.ZodString;
|
|
2054
|
+
}, z.core.$loose>]>>;
|
|
2055
|
+
semantics: z.ZodEnum<{
|
|
2056
|
+
ratio: "ratio";
|
|
2057
|
+
distinct: "distinct";
|
|
2058
|
+
rows: "rows";
|
|
2059
|
+
"non-null": "non-null";
|
|
2060
|
+
expression: "expression";
|
|
1971
2061
|
}>;
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
2062
|
+
counted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2063
|
+
share: z.ZodExactOptional<z.ZodObject<{
|
|
2064
|
+
value: z.ZodNumber;
|
|
2065
|
+
of: z.ZodEnum<{
|
|
2066
|
+
parent: "parent";
|
|
2067
|
+
tile: "tile";
|
|
2068
|
+
}>;
|
|
2069
|
+
}, z.core.$loose>>;
|
|
2070
|
+
rows: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2071
|
+
t: z.ZodEnum<{
|
|
2072
|
+
decimal: "decimal";
|
|
2073
|
+
int: "int";
|
|
2074
|
+
}>;
|
|
2075
|
+
v: z.ZodString;
|
|
2076
|
+
}, z.core.$loose>]>>;
|
|
2077
|
+
operand: z.ZodExactOptional<z.ZodString>;
|
|
2078
|
+
can: z.ZodObject<{
|
|
2079
|
+
breakdown: z.ZodUnion<readonly [z.ZodObject<{
|
|
2080
|
+
ok: z.ZodLiteral<true>;
|
|
2081
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2082
|
+
ok: z.ZodLiteral<false>;
|
|
2083
|
+
code: z.ZodEnum<{
|
|
2084
|
+
ROW_CAP: "ROW_CAP";
|
|
2085
|
+
NO_FIELD: "NO_FIELD";
|
|
2086
|
+
NO_TIME: "NO_TIME";
|
|
2087
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
2088
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
2089
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
2090
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
2091
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
2092
|
+
SNAPSHOT: "SNAPSHOT";
|
|
2093
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
2094
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
2095
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
2096
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
2097
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
2098
|
+
OTHER_CUT: "OTHER_CUT";
|
|
2099
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
2100
|
+
}>;
|
|
2101
|
+
reason: z.ZodString;
|
|
2102
|
+
}, z.core.$loose>]>;
|
|
2103
|
+
trend: z.ZodUnion<readonly [z.ZodObject<{
|
|
2104
|
+
ok: z.ZodLiteral<true>;
|
|
2105
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2106
|
+
ok: z.ZodLiteral<false>;
|
|
2107
|
+
code: z.ZodEnum<{
|
|
2108
|
+
ROW_CAP: "ROW_CAP";
|
|
2109
|
+
NO_FIELD: "NO_FIELD";
|
|
2110
|
+
NO_TIME: "NO_TIME";
|
|
2111
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
2112
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
2113
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
2114
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
2115
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
2116
|
+
SNAPSHOT: "SNAPSHOT";
|
|
2117
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
2118
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
2119
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
2120
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
2121
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
2122
|
+
OTHER_CUT: "OTHER_CUT";
|
|
2123
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
2124
|
+
}>;
|
|
2125
|
+
reason: z.ZodString;
|
|
2126
|
+
}, z.core.$loose>]>;
|
|
2127
|
+
items: z.ZodUnion<readonly [z.ZodObject<{
|
|
2128
|
+
ok: z.ZodLiteral<true>;
|
|
2129
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2130
|
+
ok: z.ZodLiteral<false>;
|
|
2131
|
+
code: z.ZodEnum<{
|
|
2132
|
+
ROW_CAP: "ROW_CAP";
|
|
2133
|
+
NO_FIELD: "NO_FIELD";
|
|
2134
|
+
NO_TIME: "NO_TIME";
|
|
2135
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
2136
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
2137
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
2138
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
2139
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
2140
|
+
SNAPSHOT: "SNAPSHOT";
|
|
2141
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
2142
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
2143
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
2144
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
2145
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
2146
|
+
OTHER_CUT: "OTHER_CUT";
|
|
2147
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
2148
|
+
}>;
|
|
2149
|
+
reason: z.ZodString;
|
|
2150
|
+
}, z.core.$loose>]>;
|
|
2151
|
+
explanation: z.ZodUnion<readonly [z.ZodObject<{
|
|
2152
|
+
ok: z.ZodLiteral<true>;
|
|
2153
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2154
|
+
ok: z.ZodLiteral<false>;
|
|
2155
|
+
code: z.ZodEnum<{
|
|
2156
|
+
ROW_CAP: "ROW_CAP";
|
|
2157
|
+
NO_FIELD: "NO_FIELD";
|
|
2158
|
+
NO_TIME: "NO_TIME";
|
|
2159
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
2160
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
2161
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
2162
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
2163
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
2164
|
+
SNAPSHOT: "SNAPSHOT";
|
|
2165
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
2166
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
2167
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
2168
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
2169
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
2170
|
+
OTHER_CUT: "OTHER_CUT";
|
|
2171
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
2172
|
+
}>;
|
|
2173
|
+
reason: z.ZodString;
|
|
2174
|
+
}, z.core.$loose>]>;
|
|
2175
|
+
}, z.core.$loose>;
|
|
2176
|
+
offered: z.ZodArray<z.ZodObject<{
|
|
2177
|
+
id: z.ZodString;
|
|
2178
|
+
label: z.ZodString;
|
|
2179
|
+
}, z.core.$loose>>;
|
|
2180
|
+
receipt: z.ZodObject<{
|
|
2181
|
+
queryHash: z.ZodString;
|
|
2182
|
+
provider: z.ZodString;
|
|
2183
|
+
trust: z.ZodEnum<{
|
|
2184
|
+
external: "external";
|
|
2185
|
+
builtin: "builtin";
|
|
2186
|
+
}>;
|
|
2187
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2188
|
+
answeredBy: z.ZodString;
|
|
2189
|
+
cache: z.ZodEnum<{
|
|
2190
|
+
hit: "hit";
|
|
2191
|
+
stale: "stale";
|
|
2192
|
+
miss: "miss";
|
|
2193
|
+
off: "off";
|
|
2194
|
+
}>;
|
|
2195
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
2196
|
+
from: z.ZodString;
|
|
2197
|
+
to: z.ZodString;
|
|
2198
|
+
}, z.core.$loose>>;
|
|
2199
|
+
calendar: z.ZodObject<{
|
|
2200
|
+
timezone: z.ZodString;
|
|
2201
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
2202
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
2203
|
+
}, z.core.$loose>;
|
|
2204
|
+
dataThrough: z.ZodString;
|
|
2205
|
+
computedAt: z.ZodString;
|
|
2206
|
+
consistency: z.ZodEnum<{
|
|
2207
|
+
snapshot: "snapshot";
|
|
2208
|
+
statement: "statement";
|
|
2209
|
+
mixed: "mixed";
|
|
2210
|
+
}>;
|
|
2211
|
+
durationMs: z.ZodNumber;
|
|
2212
|
+
rowsReturned: z.ZodNumber;
|
|
2213
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
2214
|
+
coverage: z.ZodObject<{
|
|
2215
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2216
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2217
|
+
}, z.core.$loose>;
|
|
2218
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2219
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
2220
|
+
message: z.ZodString;
|
|
2221
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2222
|
+
}, z.core.$loose>>>;
|
|
2223
|
+
}, z.core.$loose>;
|
|
2224
|
+
column: z.ZodExactOptional<z.ZodObject<{
|
|
2225
|
+
id: z.ZodString;
|
|
2226
|
+
label: z.ZodString;
|
|
2227
|
+
type: z.ZodEnum<{
|
|
2228
|
+
string: "string";
|
|
2229
|
+
number: "number";
|
|
2230
|
+
boolean: "boolean";
|
|
2231
|
+
time: "time";
|
|
2232
|
+
float: "float";
|
|
2233
|
+
decimal: "decimal";
|
|
2234
|
+
int: "int";
|
|
2235
|
+
}>;
|
|
2236
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
2237
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2238
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2239
|
+
hour: "hour";
|
|
2240
|
+
day: "day";
|
|
2241
|
+
week: "week";
|
|
2242
|
+
month: "month";
|
|
2243
|
+
quarter: "quarter";
|
|
2244
|
+
year: "year";
|
|
2245
|
+
}>>;
|
|
2246
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
2247
|
+
number: "number";
|
|
2248
|
+
percent: "percent";
|
|
2249
|
+
currency: "currency";
|
|
2250
|
+
duration: "duration";
|
|
2251
|
+
}>>;
|
|
2252
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2253
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2254
|
+
}, z.core.$loose>>;
|
|
2255
|
+
noun: z.ZodExactOptional<z.ZodObject<{
|
|
2256
|
+
one: z.ZodString;
|
|
2257
|
+
other: z.ZodString;
|
|
2258
|
+
}, z.core.$loose>>;
|
|
2259
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
2260
|
+
from: z.ZodString;
|
|
2261
|
+
to: z.ZodString;
|
|
2262
|
+
}, z.core.$loose>>;
|
|
2263
|
+
previous: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2264
|
+
foreign: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2265
|
+
omitted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2266
|
+
}, z.core.$loose>>;
|
|
2267
|
+
path: z.ZodArray<z.ZodObject<{
|
|
1975
2268
|
label: z.ZodString;
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
2269
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2270
|
+
t: z.ZodEnum<{
|
|
2271
|
+
decimal: "decimal";
|
|
2272
|
+
int: "int";
|
|
2273
|
+
}>;
|
|
2274
|
+
v: z.ZodString;
|
|
2275
|
+
}, z.core.$loose>]>;
|
|
2276
|
+
kind: z.ZodExactOptional<z.ZodEnum<{
|
|
2277
|
+
search: "search";
|
|
1981
2278
|
time: "time";
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
2279
|
+
other: "other";
|
|
2280
|
+
total: "total";
|
|
2281
|
+
group: "group";
|
|
2282
|
+
}>>;
|
|
1986
2283
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
1987
2284
|
hour: "hour";
|
|
1988
2285
|
day: "day";
|
|
@@ -1991,81 +2288,1764 @@ export declare const answerSchemas: {
|
|
|
1991
2288
|
quarter: "quarter";
|
|
1992
2289
|
year: "year";
|
|
1993
2290
|
}>>;
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
}>;
|
|
2008
|
-
v: z.ZodString;
|
|
2009
|
-
}, z.core.$loose>]>, z.ZodObject<{
|
|
2010
|
-
mark: z.ZodEnum<{
|
|
2291
|
+
previous: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2292
|
+
parts: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
2293
|
+
label: z.ZodString;
|
|
2294
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2295
|
+
t: z.ZodEnum<{
|
|
2296
|
+
decimal: "decimal";
|
|
2297
|
+
int: "int";
|
|
2298
|
+
}>;
|
|
2299
|
+
v: z.ZodString;
|
|
2300
|
+
}, z.core.$loose>]>;
|
|
2301
|
+
kind: z.ZodExactOptional<z.ZodEnum<{
|
|
2302
|
+
search: "search";
|
|
2303
|
+
time: "time";
|
|
2011
2304
|
other: "other";
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
receipt: z.ZodObject<{
|
|
2025
|
-
queryHash: z.ZodString;
|
|
2026
|
-
provider: z.ZodString;
|
|
2027
|
-
trust: z.ZodEnum<{
|
|
2028
|
-
external: "external";
|
|
2029
|
-
builtin: "builtin";
|
|
2030
|
-
}>;
|
|
2031
|
-
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2032
|
-
answeredBy: z.ZodString;
|
|
2033
|
-
cache: z.ZodEnum<{
|
|
2034
|
-
hit: "hit";
|
|
2035
|
-
stale: "stale";
|
|
2036
|
-
miss: "miss";
|
|
2037
|
-
off: "off";
|
|
2038
|
-
}>;
|
|
2039
|
-
range: z.ZodExactOptional<z.ZodObject<{
|
|
2040
|
-
from: z.ZodString;
|
|
2041
|
-
to: z.ZodString;
|
|
2042
|
-
}, z.core.$loose>>;
|
|
2043
|
-
calendar: z.ZodObject<{
|
|
2044
|
-
timezone: z.ZodString;
|
|
2045
|
-
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
2046
|
-
fiscalYearStartMonth: z.ZodNumber;
|
|
2047
|
-
}, z.core.$loose>;
|
|
2048
|
-
dataThrough: z.ZodString;
|
|
2049
|
-
computedAt: z.ZodString;
|
|
2050
|
-
consistency: z.ZodEnum<{
|
|
2051
|
-
snapshot: "snapshot";
|
|
2052
|
-
statement: "statement";
|
|
2053
|
-
mixed: "mixed";
|
|
2054
|
-
}>;
|
|
2055
|
-
durationMs: z.ZodNumber;
|
|
2056
|
-
rowsReturned: z.ZodNumber;
|
|
2057
|
-
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
2058
|
-
coverage: z.ZodObject<{
|
|
2059
|
-
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2060
|
-
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2061
|
-
}, z.core.$loose>;
|
|
2062
|
-
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2063
|
-
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
2064
|
-
message: z.ZodString;
|
|
2065
|
-
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2305
|
+
total: "total";
|
|
2306
|
+
group: "group";
|
|
2307
|
+
}>>;
|
|
2308
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2309
|
+
hour: "hour";
|
|
2310
|
+
day: "day";
|
|
2311
|
+
week: "week";
|
|
2312
|
+
month: "month";
|
|
2313
|
+
quarter: "quarter";
|
|
2314
|
+
year: "year";
|
|
2315
|
+
}>>;
|
|
2316
|
+
previous: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2066
2317
|
}, z.core.$loose>>>;
|
|
2067
|
-
}, z.core.$loose
|
|
2068
|
-
|
|
2318
|
+
}, z.core.$loose>>;
|
|
2319
|
+
state: z.ZodObject<{
|
|
2320
|
+
origin: z.ZodUnion<readonly [z.ZodObject<{
|
|
2321
|
+
kind: z.ZodLiteral<"dashboard">;
|
|
2322
|
+
dashboardId: z.ZodString;
|
|
2323
|
+
widgetId: z.ZodString;
|
|
2324
|
+
query: z.ZodExactOptional<z.ZodString>;
|
|
2325
|
+
picks: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2326
|
+
op: z.ZodEnum<{
|
|
2327
|
+
equals: "equals";
|
|
2328
|
+
in: "in";
|
|
2329
|
+
contains: "contains";
|
|
2330
|
+
startsWith: "startsWith";
|
|
2331
|
+
gt: "gt";
|
|
2332
|
+
gte: "gte";
|
|
2333
|
+
lt: "lt";
|
|
2334
|
+
lte: "lte";
|
|
2335
|
+
between: "between";
|
|
2336
|
+
notEquals: "notEquals";
|
|
2337
|
+
notIn: "notIn";
|
|
2338
|
+
notContains: "notContains";
|
|
2339
|
+
set: "set";
|
|
2340
|
+
notSet: "notSet";
|
|
2341
|
+
}>;
|
|
2342
|
+
values: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
2343
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2344
|
+
last: z.ZodInt;
|
|
2345
|
+
unit: z.ZodEnum<{
|
|
2346
|
+
hour: "hour";
|
|
2347
|
+
day: "day";
|
|
2348
|
+
week: "week";
|
|
2349
|
+
month: "month";
|
|
2350
|
+
quarter: "quarter";
|
|
2351
|
+
year: "year";
|
|
2352
|
+
}>;
|
|
2353
|
+
includeCurrent: z.ZodBoolean;
|
|
2354
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2355
|
+
from: z.ZodString;
|
|
2356
|
+
to: z.ZodString;
|
|
2357
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>]>>;
|
|
2358
|
+
document: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2359
|
+
version: z.ZodInt;
|
|
2360
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2361
|
+
draft: z.ZodLiteral<true>;
|
|
2362
|
+
}, z.core.$strict>]>>;
|
|
2363
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2364
|
+
kind: z.ZodLiteral<"query">;
|
|
2365
|
+
query: z.ZodObject<{
|
|
2366
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
2367
|
+
source: z.ZodString;
|
|
2368
|
+
measures: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2369
|
+
id: z.ZodTemplateLiteral<`m${number}`>;
|
|
2370
|
+
measure: z.ZodString;
|
|
2371
|
+
filter: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
2372
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
2373
|
+
}, z.core.$strict>>>;
|
|
2374
|
+
dimensions: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2375
|
+
id: z.ZodTemplateLiteral<`d${number}`>;
|
|
2376
|
+
member: z.ZodString;
|
|
2377
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
2378
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
2379
|
+
rankBy: z.ZodExactOptional<z.ZodObject<{
|
|
2380
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>]>;
|
|
2381
|
+
dir: z.ZodEnum<{
|
|
2382
|
+
asc: "asc";
|
|
2383
|
+
desc: "desc";
|
|
2384
|
+
}>;
|
|
2385
|
+
}, z.core.$strict>>;
|
|
2386
|
+
}, z.core.$strict>>>>;
|
|
2387
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
2388
|
+
dimension: z.ZodString;
|
|
2389
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2390
|
+
hour: "hour";
|
|
2391
|
+
day: "day";
|
|
2392
|
+
week: "week";
|
|
2393
|
+
month: "month";
|
|
2394
|
+
quarter: "quarter";
|
|
2395
|
+
year: "year";
|
|
2396
|
+
}>>;
|
|
2397
|
+
range: z.ZodUnion<readonly [z.ZodObject<{
|
|
2398
|
+
last: z.ZodNumber;
|
|
2399
|
+
unit: z.ZodEnum<{
|
|
2400
|
+
hour: "hour";
|
|
2401
|
+
day: "day";
|
|
2402
|
+
week: "week";
|
|
2403
|
+
month: "month";
|
|
2404
|
+
quarter: "quarter";
|
|
2405
|
+
year: "year";
|
|
2406
|
+
}>;
|
|
2407
|
+
includeCurrent: z.ZodBoolean;
|
|
2408
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2409
|
+
from: z.ZodString;
|
|
2410
|
+
to: z.ZodString;
|
|
2411
|
+
}, z.core.$strict>]>;
|
|
2412
|
+
compare: z.ZodExactOptional<z.ZodEnum<{
|
|
2413
|
+
previous_period: "previous_period";
|
|
2414
|
+
previous_year: "previous_year";
|
|
2415
|
+
}>>;
|
|
2416
|
+
}, z.core.$strict>>;
|
|
2417
|
+
filters: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
2418
|
+
calc: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2419
|
+
id: z.ZodTemplateLiteral<`c${number}`>;
|
|
2420
|
+
formula: z.ZodType<FormulaNode, unknown, z.core.$ZodTypeInternals<FormulaNode, unknown>>;
|
|
2421
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
2422
|
+
number: "number";
|
|
2423
|
+
percent: "percent";
|
|
2424
|
+
currency: "currency";
|
|
2425
|
+
duration: "duration";
|
|
2426
|
+
}>>;
|
|
2427
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
2428
|
+
}, z.core.$strict>>>>;
|
|
2429
|
+
order: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2430
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>, z.ZodTemplateLiteral<`d${number}`>]>;
|
|
2431
|
+
dir: z.ZodEnum<{
|
|
2432
|
+
asc: "asc";
|
|
2433
|
+
desc: "desc";
|
|
2434
|
+
}>;
|
|
2435
|
+
}, z.core.$strict>>>>;
|
|
2436
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
2437
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
2438
|
+
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
2439
|
+
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
2440
|
+
none: "none";
|
|
2441
|
+
zero: "zero";
|
|
2442
|
+
}>>;
|
|
2443
|
+
}, z.core.$strict>;
|
|
2444
|
+
}, z.core.$strict>]>;
|
|
2445
|
+
entry: z.ZodExactOptional<z.ZodString>;
|
|
2446
|
+
execution: z.ZodString;
|
|
2447
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
2448
|
+
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
2449
|
+
by: z.ZodLiteral<"breakdown">;
|
|
2450
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2451
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
2452
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2453
|
+
by: z.ZodLiteral<"trend">;
|
|
2454
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2455
|
+
hour: "hour";
|
|
2456
|
+
day: "day";
|
|
2457
|
+
week: "week";
|
|
2458
|
+
month: "month";
|
|
2459
|
+
quarter: "quarter";
|
|
2460
|
+
year: "year";
|
|
2461
|
+
}>>;
|
|
2462
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2463
|
+
by: z.ZodLiteral<"items">;
|
|
2464
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2465
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2466
|
+
by: z.ZodLiteral<"explanation">;
|
|
2467
|
+
}, z.core.$strict>]>;
|
|
2468
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2469
|
+
by: z.ZodLiteral<"breakdown">;
|
|
2470
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2471
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
2472
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2473
|
+
by: z.ZodLiteral<"trend">;
|
|
2474
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2475
|
+
hour: "hour";
|
|
2476
|
+
day: "day";
|
|
2477
|
+
week: "week";
|
|
2478
|
+
month: "month";
|
|
2479
|
+
quarter: "quarter";
|
|
2480
|
+
year: "year";
|
|
2481
|
+
}>>;
|
|
2482
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2483
|
+
by: z.ZodLiteral<"items">;
|
|
2484
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2485
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2486
|
+
by: z.ZodLiteral<"explanation">;
|
|
2487
|
+
}, z.core.$strict>]>>>>;
|
|
2488
|
+
}, z.core.$strict>;
|
|
2489
|
+
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
2490
|
+
by: z.ZodEnum<{
|
|
2491
|
+
breakdown: "breakdown";
|
|
2492
|
+
trend: "trend";
|
|
2493
|
+
}>;
|
|
2494
|
+
answer: z.ZodObject<{
|
|
2495
|
+
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2496
|
+
t: z.ZodEnum<{
|
|
2497
|
+
decimal: "decimal";
|
|
2498
|
+
int: "int";
|
|
2499
|
+
}>;
|
|
2500
|
+
v: z.ZodString;
|
|
2501
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
2502
|
+
mark: z.ZodEnum<{
|
|
2503
|
+
all: "all";
|
|
2504
|
+
other: "other";
|
|
2505
|
+
}>;
|
|
2506
|
+
}, z.core.$loose>]>>>>>;
|
|
2507
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2508
|
+
id: z.ZodString;
|
|
2509
|
+
label: z.ZodString;
|
|
2510
|
+
type: z.ZodEnum<{
|
|
2511
|
+
string: "string";
|
|
2512
|
+
number: "number";
|
|
2513
|
+
boolean: "boolean";
|
|
2514
|
+
time: "time";
|
|
2515
|
+
float: "float";
|
|
2516
|
+
decimal: "decimal";
|
|
2517
|
+
int: "int";
|
|
2518
|
+
}>;
|
|
2519
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
2520
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2521
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2522
|
+
hour: "hour";
|
|
2523
|
+
day: "day";
|
|
2524
|
+
week: "week";
|
|
2525
|
+
month: "month";
|
|
2526
|
+
quarter: "quarter";
|
|
2527
|
+
year: "year";
|
|
2528
|
+
}>>;
|
|
2529
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
2530
|
+
number: "number";
|
|
2531
|
+
percent: "percent";
|
|
2532
|
+
currency: "currency";
|
|
2533
|
+
duration: "duration";
|
|
2534
|
+
}>>;
|
|
2535
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2536
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2537
|
+
}, z.core.$loose>>>;
|
|
2538
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
2539
|
+
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2540
|
+
t: z.ZodEnum<{
|
|
2541
|
+
decimal: "decimal";
|
|
2542
|
+
int: "int";
|
|
2543
|
+
}>;
|
|
2544
|
+
v: z.ZodString;
|
|
2545
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
2546
|
+
mark: z.ZodEnum<{
|
|
2547
|
+
all: "all";
|
|
2548
|
+
other: "other";
|
|
2549
|
+
}>;
|
|
2550
|
+
}, z.core.$loose>]>>>>>;
|
|
2551
|
+
range: z.ZodObject<{
|
|
2552
|
+
from: z.ZodString;
|
|
2553
|
+
to: z.ZodString;
|
|
2554
|
+
}, z.core.$loose>;
|
|
2555
|
+
}, z.core.$loose>>;
|
|
2556
|
+
status: z.ZodEnum<{
|
|
2557
|
+
complete: "complete";
|
|
2558
|
+
truncated: "truncated";
|
|
2559
|
+
}>;
|
|
2560
|
+
receipt: z.ZodObject<{
|
|
2561
|
+
queryHash: z.ZodString;
|
|
2562
|
+
provider: z.ZodString;
|
|
2563
|
+
trust: z.ZodEnum<{
|
|
2564
|
+
external: "external";
|
|
2565
|
+
builtin: "builtin";
|
|
2566
|
+
}>;
|
|
2567
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2568
|
+
answeredBy: z.ZodString;
|
|
2569
|
+
cache: z.ZodEnum<{
|
|
2570
|
+
hit: "hit";
|
|
2571
|
+
stale: "stale";
|
|
2572
|
+
miss: "miss";
|
|
2573
|
+
off: "off";
|
|
2574
|
+
}>;
|
|
2575
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
2576
|
+
from: z.ZodString;
|
|
2577
|
+
to: z.ZodString;
|
|
2578
|
+
}, z.core.$loose>>;
|
|
2579
|
+
calendar: z.ZodObject<{
|
|
2580
|
+
timezone: z.ZodString;
|
|
2581
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
2582
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
2583
|
+
}, z.core.$loose>;
|
|
2584
|
+
dataThrough: z.ZodString;
|
|
2585
|
+
computedAt: z.ZodString;
|
|
2586
|
+
consistency: z.ZodEnum<{
|
|
2587
|
+
snapshot: "snapshot";
|
|
2588
|
+
statement: "statement";
|
|
2589
|
+
mixed: "mixed";
|
|
2590
|
+
}>;
|
|
2591
|
+
durationMs: z.ZodNumber;
|
|
2592
|
+
rowsReturned: z.ZodNumber;
|
|
2593
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
2594
|
+
coverage: z.ZodObject<{
|
|
2595
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2596
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
2597
|
+
}, z.core.$loose>;
|
|
2598
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2599
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
2600
|
+
message: z.ZodString;
|
|
2601
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2602
|
+
}, z.core.$loose>>>;
|
|
2603
|
+
}, z.core.$loose>;
|
|
2604
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2605
|
+
}, z.core.$loose>;
|
|
2606
|
+
drill: z.ZodObject<{
|
|
2607
|
+
answer: z.ZodString;
|
|
2608
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
2609
|
+
row: z.ZodInt;
|
|
2610
|
+
code: z.ZodEnum<{
|
|
2611
|
+
ROW_CAP: "ROW_CAP";
|
|
2612
|
+
NO_FIELD: "NO_FIELD";
|
|
2613
|
+
NO_TIME: "NO_TIME";
|
|
2614
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
2615
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
2616
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
2617
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
2618
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
2619
|
+
SNAPSHOT: "SNAPSHOT";
|
|
2620
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
2621
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
2622
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
2623
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
2624
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
2625
|
+
OTHER_CUT: "OTHER_CUT";
|
|
2626
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
2627
|
+
}>;
|
|
2628
|
+
reason: z.ZodString;
|
|
2629
|
+
}, z.core.$loose>>>;
|
|
2630
|
+
}, z.core.$loose>;
|
|
2631
|
+
offered: z.ZodArray<z.ZodObject<{
|
|
2632
|
+
id: z.ZodString;
|
|
2633
|
+
label: z.ZodString;
|
|
2634
|
+
}, z.core.$loose>>;
|
|
2635
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2636
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2637
|
+
hour: "hour";
|
|
2638
|
+
day: "day";
|
|
2639
|
+
week: "week";
|
|
2640
|
+
month: "month";
|
|
2641
|
+
quarter: "quarter";
|
|
2642
|
+
year: "year";
|
|
2643
|
+
}>>;
|
|
2644
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
2645
|
+
from: z.ZodString;
|
|
2646
|
+
to: z.ZodString;
|
|
2647
|
+
}, z.core.$loose>>;
|
|
2648
|
+
grains: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
|
|
2649
|
+
hour: "hour";
|
|
2650
|
+
day: "day";
|
|
2651
|
+
week: "week";
|
|
2652
|
+
month: "month";
|
|
2653
|
+
quarter: "quarter";
|
|
2654
|
+
year: "year";
|
|
2655
|
+
}>>>;
|
|
2656
|
+
rankedBy: z.ZodExactOptional<z.ZodString>;
|
|
2657
|
+
change: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2658
|
+
searchable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2659
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
2660
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2661
|
+
by: z.ZodLiteral<"items">;
|
|
2662
|
+
source: z.ZodString;
|
|
2663
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
2664
|
+
member: z.ZodString;
|
|
2665
|
+
label: z.ZodString;
|
|
2666
|
+
type: z.ZodEnum<{
|
|
2667
|
+
string: "string";
|
|
2668
|
+
number: "number";
|
|
2669
|
+
boolean: "boolean";
|
|
2670
|
+
time: "time";
|
|
2671
|
+
float: "float";
|
|
2672
|
+
decimal: "decimal";
|
|
2673
|
+
int: "int";
|
|
2674
|
+
}>;
|
|
2675
|
+
format: z.ZodExactOptional<z.ZodObject<{
|
|
2676
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
2677
|
+
minor: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2678
|
+
}, z.core.$loose>>;
|
|
2679
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
2680
|
+
}, z.core.$loose>>;
|
|
2681
|
+
items: z.ZodArray<z.ZodObject<{
|
|
2682
|
+
source: z.ZodString;
|
|
2683
|
+
id: z.ZodString;
|
|
2684
|
+
key: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
2685
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2686
|
+
t: z.ZodEnum<{
|
|
2687
|
+
decimal: "decimal";
|
|
2688
|
+
int: "int";
|
|
2689
|
+
}>;
|
|
2690
|
+
v: z.ZodString;
|
|
2691
|
+
}, z.core.$loose>]>>;
|
|
2692
|
+
link: z.ZodExactOptional<z.ZodString>;
|
|
2693
|
+
}, z.core.$loose>>;
|
|
2694
|
+
next: z.ZodExactOptional<z.ZodString>;
|
|
2695
|
+
value: z.ZodExactOptional<z.ZodString>;
|
|
2696
|
+
sort: z.ZodEnum<{
|
|
2697
|
+
count: "count";
|
|
2698
|
+
value: "value";
|
|
2699
|
+
records: "records";
|
|
2700
|
+
}>;
|
|
2701
|
+
sorted: z.ZodExactOptional<z.ZodObject<{
|
|
2702
|
+
member: z.ZodString;
|
|
2703
|
+
dir: z.ZodEnum<{
|
|
2704
|
+
asc: "asc";
|
|
2705
|
+
desc: "desc";
|
|
2706
|
+
}>;
|
|
2707
|
+
time: z.ZodBoolean;
|
|
2708
|
+
}, z.core.$loose>>;
|
|
2709
|
+
fixed: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
2710
|
+
percentile: z.ZodExactOptional<z.ZodNumber>;
|
|
2711
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2712
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
2713
|
+
badge: z.ZodExactOptional<z.ZodObject<{
|
|
2714
|
+
member: z.ZodString;
|
|
2715
|
+
tones: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2716
|
+
positive: "positive";
|
|
2717
|
+
negative: "negative";
|
|
2718
|
+
warning: "warning";
|
|
2719
|
+
neutral: "neutral";
|
|
2720
|
+
}>>>;
|
|
2721
|
+
}, z.core.$loose>>;
|
|
2722
|
+
numerator: z.ZodExactOptional<z.ZodObject<{
|
|
2723
|
+
label: z.ZodString;
|
|
2724
|
+
count: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2725
|
+
t: z.ZodEnum<{
|
|
2726
|
+
decimal: "decimal";
|
|
2727
|
+
int: "int";
|
|
2728
|
+
}>;
|
|
2729
|
+
v: z.ZodString;
|
|
2730
|
+
}, z.core.$loose>]>>;
|
|
2731
|
+
flag: z.ZodExactOptional<z.ZodString>;
|
|
2732
|
+
only: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2733
|
+
unmarked: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2734
|
+
}, z.core.$loose>>;
|
|
2735
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2736
|
+
by: z.ZodLiteral<"explanation">;
|
|
2737
|
+
operands: z.ZodArray<z.ZodObject<{
|
|
2738
|
+
entry: z.ZodString;
|
|
2739
|
+
scope: z.ZodEnum<{
|
|
2740
|
+
bucket: "bucket";
|
|
2741
|
+
row: "row";
|
|
2742
|
+
previous: "previous";
|
|
2743
|
+
total: "total";
|
|
2744
|
+
}>;
|
|
2745
|
+
label: z.ZodString;
|
|
2746
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2747
|
+
t: z.ZodEnum<{
|
|
2748
|
+
decimal: "decimal";
|
|
2749
|
+
int: "int";
|
|
2750
|
+
}>;
|
|
2751
|
+
v: z.ZodString;
|
|
2752
|
+
}, z.core.$loose>]>;
|
|
2753
|
+
state: z.ZodExactOptional<z.ZodObject<{
|
|
2754
|
+
origin: z.ZodUnion<readonly [z.ZodObject<{
|
|
2755
|
+
kind: z.ZodLiteral<"dashboard">;
|
|
2756
|
+
dashboardId: z.ZodString;
|
|
2757
|
+
widgetId: z.ZodString;
|
|
2758
|
+
query: z.ZodExactOptional<z.ZodString>;
|
|
2759
|
+
picks: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
2760
|
+
op: z.ZodEnum<{
|
|
2761
|
+
equals: "equals";
|
|
2762
|
+
in: "in";
|
|
2763
|
+
contains: "contains";
|
|
2764
|
+
startsWith: "startsWith";
|
|
2765
|
+
gt: "gt";
|
|
2766
|
+
gte: "gte";
|
|
2767
|
+
lt: "lt";
|
|
2768
|
+
lte: "lte";
|
|
2769
|
+
between: "between";
|
|
2770
|
+
notEquals: "notEquals";
|
|
2771
|
+
notIn: "notIn";
|
|
2772
|
+
notContains: "notContains";
|
|
2773
|
+
set: "set";
|
|
2774
|
+
notSet: "notSet";
|
|
2775
|
+
}>;
|
|
2776
|
+
values: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
2777
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2778
|
+
last: z.ZodInt;
|
|
2779
|
+
unit: z.ZodEnum<{
|
|
2780
|
+
hour: "hour";
|
|
2781
|
+
day: "day";
|
|
2782
|
+
week: "week";
|
|
2783
|
+
month: "month";
|
|
2784
|
+
quarter: "quarter";
|
|
2785
|
+
year: "year";
|
|
2786
|
+
}>;
|
|
2787
|
+
includeCurrent: z.ZodBoolean;
|
|
2788
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2789
|
+
from: z.ZodString;
|
|
2790
|
+
to: z.ZodString;
|
|
2791
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>]>>;
|
|
2792
|
+
document: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2793
|
+
version: z.ZodInt;
|
|
2794
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2795
|
+
draft: z.ZodLiteral<true>;
|
|
2796
|
+
}, z.core.$strict>]>>;
|
|
2797
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2798
|
+
kind: z.ZodLiteral<"query">;
|
|
2799
|
+
query: z.ZodObject<{
|
|
2800
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
2801
|
+
source: z.ZodString;
|
|
2802
|
+
measures: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2803
|
+
id: z.ZodTemplateLiteral<`m${number}`>;
|
|
2804
|
+
measure: z.ZodString;
|
|
2805
|
+
filter: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
2806
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
2807
|
+
}, z.core.$strict>>>;
|
|
2808
|
+
dimensions: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2809
|
+
id: z.ZodTemplateLiteral<`d${number}`>;
|
|
2810
|
+
member: z.ZodString;
|
|
2811
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
2812
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
2813
|
+
rankBy: z.ZodExactOptional<z.ZodObject<{
|
|
2814
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>]>;
|
|
2815
|
+
dir: z.ZodEnum<{
|
|
2816
|
+
asc: "asc";
|
|
2817
|
+
desc: "desc";
|
|
2818
|
+
}>;
|
|
2819
|
+
}, z.core.$strict>>;
|
|
2820
|
+
}, z.core.$strict>>>>;
|
|
2821
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
2822
|
+
dimension: z.ZodString;
|
|
2823
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2824
|
+
hour: "hour";
|
|
2825
|
+
day: "day";
|
|
2826
|
+
week: "week";
|
|
2827
|
+
month: "month";
|
|
2828
|
+
quarter: "quarter";
|
|
2829
|
+
year: "year";
|
|
2830
|
+
}>>;
|
|
2831
|
+
range: z.ZodUnion<readonly [z.ZodObject<{
|
|
2832
|
+
last: z.ZodNumber;
|
|
2833
|
+
unit: z.ZodEnum<{
|
|
2834
|
+
hour: "hour";
|
|
2835
|
+
day: "day";
|
|
2836
|
+
week: "week";
|
|
2837
|
+
month: "month";
|
|
2838
|
+
quarter: "quarter";
|
|
2839
|
+
year: "year";
|
|
2840
|
+
}>;
|
|
2841
|
+
includeCurrent: z.ZodBoolean;
|
|
2842
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2843
|
+
from: z.ZodString;
|
|
2844
|
+
to: z.ZodString;
|
|
2845
|
+
}, z.core.$strict>]>;
|
|
2846
|
+
compare: z.ZodExactOptional<z.ZodEnum<{
|
|
2847
|
+
previous_period: "previous_period";
|
|
2848
|
+
previous_year: "previous_year";
|
|
2849
|
+
}>>;
|
|
2850
|
+
}, z.core.$strict>>;
|
|
2851
|
+
filters: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
2852
|
+
calc: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2853
|
+
id: z.ZodTemplateLiteral<`c${number}`>;
|
|
2854
|
+
formula: z.ZodType<FormulaNode, unknown, z.core.$ZodTypeInternals<FormulaNode, unknown>>;
|
|
2855
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
2856
|
+
number: "number";
|
|
2857
|
+
percent: "percent";
|
|
2858
|
+
currency: "currency";
|
|
2859
|
+
duration: "duration";
|
|
2860
|
+
}>>;
|
|
2861
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
2862
|
+
}, z.core.$strict>>>>;
|
|
2863
|
+
order: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2864
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>, z.ZodTemplateLiteral<`d${number}`>]>;
|
|
2865
|
+
dir: z.ZodEnum<{
|
|
2866
|
+
asc: "asc";
|
|
2867
|
+
desc: "desc";
|
|
2868
|
+
}>;
|
|
2869
|
+
}, z.core.$strict>>>>;
|
|
2870
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
2871
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
2872
|
+
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
2873
|
+
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
2874
|
+
none: "none";
|
|
2875
|
+
zero: "zero";
|
|
2876
|
+
}>>;
|
|
2877
|
+
}, z.core.$strict>;
|
|
2878
|
+
}, z.core.$strict>]>;
|
|
2879
|
+
entry: z.ZodExactOptional<z.ZodString>;
|
|
2880
|
+
execution: z.ZodString;
|
|
2881
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
2882
|
+
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
2883
|
+
by: z.ZodLiteral<"breakdown">;
|
|
2884
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2885
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
2886
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2887
|
+
by: z.ZodLiteral<"trend">;
|
|
2888
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2889
|
+
hour: "hour";
|
|
2890
|
+
day: "day";
|
|
2891
|
+
week: "week";
|
|
2892
|
+
month: "month";
|
|
2893
|
+
quarter: "quarter";
|
|
2894
|
+
year: "year";
|
|
2895
|
+
}>>;
|
|
2896
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2897
|
+
by: z.ZodLiteral<"items">;
|
|
2898
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2899
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2900
|
+
by: z.ZodLiteral<"explanation">;
|
|
2901
|
+
}, z.core.$strict>]>;
|
|
2902
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2903
|
+
by: z.ZodLiteral<"breakdown">;
|
|
2904
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2905
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
2906
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2907
|
+
by: z.ZodLiteral<"trend">;
|
|
2908
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2909
|
+
hour: "hour";
|
|
2910
|
+
day: "day";
|
|
2911
|
+
week: "week";
|
|
2912
|
+
month: "month";
|
|
2913
|
+
quarter: "quarter";
|
|
2914
|
+
year: "year";
|
|
2915
|
+
}>>;
|
|
2916
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2917
|
+
by: z.ZodLiteral<"items">;
|
|
2918
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2919
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2920
|
+
by: z.ZodLiteral<"explanation">;
|
|
2921
|
+
}, z.core.$strict>]>>>>;
|
|
2922
|
+
}, z.core.$strict>>;
|
|
2923
|
+
can: z.ZodUnion<readonly [z.ZodObject<{
|
|
2924
|
+
ok: z.ZodLiteral<true>;
|
|
2925
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2926
|
+
ok: z.ZodLiteral<false>;
|
|
2927
|
+
code: z.ZodEnum<{
|
|
2928
|
+
ROW_CAP: "ROW_CAP";
|
|
2929
|
+
NO_FIELD: "NO_FIELD";
|
|
2930
|
+
NO_TIME: "NO_TIME";
|
|
2931
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
2932
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
2933
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
2934
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
2935
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
2936
|
+
SNAPSHOT: "SNAPSHOT";
|
|
2937
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
2938
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
2939
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
2940
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
2941
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
2942
|
+
OTHER_CUT: "OTHER_CUT";
|
|
2943
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
2944
|
+
}>;
|
|
2945
|
+
reason: z.ZodString;
|
|
2946
|
+
}, z.core.$loose>]>;
|
|
2947
|
+
}, z.core.$loose>>;
|
|
2948
|
+
}, z.core.$loose>]>;
|
|
2949
|
+
}, z.core.$loose>;
|
|
2950
|
+
"/query/run": z.ZodObject<{
|
|
2951
|
+
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2952
|
+
t: z.ZodEnum<{
|
|
2953
|
+
decimal: "decimal";
|
|
2954
|
+
int: "int";
|
|
2955
|
+
}>;
|
|
2956
|
+
v: z.ZodString;
|
|
2957
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
2958
|
+
mark: z.ZodEnum<{
|
|
2959
|
+
all: "all";
|
|
2960
|
+
other: "other";
|
|
2961
|
+
}>;
|
|
2962
|
+
}, z.core.$loose>]>>>>>;
|
|
2963
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2964
|
+
id: z.ZodString;
|
|
2965
|
+
label: z.ZodString;
|
|
2966
|
+
type: z.ZodEnum<{
|
|
2967
|
+
string: "string";
|
|
2968
|
+
number: "number";
|
|
2969
|
+
boolean: "boolean";
|
|
2970
|
+
time: "time";
|
|
2971
|
+
float: "float";
|
|
2972
|
+
decimal: "decimal";
|
|
2973
|
+
int: "int";
|
|
2974
|
+
}>;
|
|
2975
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
2976
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
2977
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
2978
|
+
hour: "hour";
|
|
2979
|
+
day: "day";
|
|
2980
|
+
week: "week";
|
|
2981
|
+
month: "month";
|
|
2982
|
+
quarter: "quarter";
|
|
2983
|
+
year: "year";
|
|
2984
|
+
}>>;
|
|
2985
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
2986
|
+
number: "number";
|
|
2987
|
+
percent: "percent";
|
|
2988
|
+
currency: "currency";
|
|
2989
|
+
duration: "duration";
|
|
2990
|
+
}>>;
|
|
2991
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2992
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2993
|
+
}, z.core.$loose>>>;
|
|
2994
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
2995
|
+
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
2996
|
+
t: z.ZodEnum<{
|
|
2997
|
+
decimal: "decimal";
|
|
2998
|
+
int: "int";
|
|
2999
|
+
}>;
|
|
3000
|
+
v: z.ZodString;
|
|
3001
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3002
|
+
mark: z.ZodEnum<{
|
|
3003
|
+
all: "all";
|
|
3004
|
+
other: "other";
|
|
3005
|
+
}>;
|
|
3006
|
+
}, z.core.$loose>]>>>>>;
|
|
3007
|
+
range: z.ZodObject<{
|
|
3008
|
+
from: z.ZodString;
|
|
3009
|
+
to: z.ZodString;
|
|
3010
|
+
}, z.core.$loose>;
|
|
3011
|
+
}, z.core.$loose>>;
|
|
3012
|
+
status: z.ZodEnum<{
|
|
3013
|
+
complete: "complete";
|
|
3014
|
+
truncated: "truncated";
|
|
3015
|
+
}>;
|
|
3016
|
+
receipt: z.ZodObject<{
|
|
3017
|
+
queryHash: z.ZodString;
|
|
3018
|
+
provider: z.ZodString;
|
|
3019
|
+
trust: z.ZodEnum<{
|
|
3020
|
+
external: "external";
|
|
3021
|
+
builtin: "builtin";
|
|
3022
|
+
}>;
|
|
3023
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3024
|
+
answeredBy: z.ZodString;
|
|
3025
|
+
cache: z.ZodEnum<{
|
|
3026
|
+
hit: "hit";
|
|
3027
|
+
stale: "stale";
|
|
3028
|
+
miss: "miss";
|
|
3029
|
+
off: "off";
|
|
3030
|
+
}>;
|
|
3031
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3032
|
+
from: z.ZodString;
|
|
3033
|
+
to: z.ZodString;
|
|
3034
|
+
}, z.core.$loose>>;
|
|
3035
|
+
calendar: z.ZodObject<{
|
|
3036
|
+
timezone: z.ZodString;
|
|
3037
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
3038
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
3039
|
+
}, z.core.$loose>;
|
|
3040
|
+
dataThrough: z.ZodString;
|
|
3041
|
+
computedAt: z.ZodString;
|
|
3042
|
+
consistency: z.ZodEnum<{
|
|
3043
|
+
snapshot: "snapshot";
|
|
3044
|
+
statement: "statement";
|
|
3045
|
+
mixed: "mixed";
|
|
3046
|
+
}>;
|
|
3047
|
+
durationMs: z.ZodNumber;
|
|
3048
|
+
rowsReturned: z.ZodNumber;
|
|
3049
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
3050
|
+
coverage: z.ZodObject<{
|
|
3051
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3052
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3053
|
+
}, z.core.$loose>;
|
|
3054
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3055
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
3056
|
+
message: z.ZodString;
|
|
3057
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3058
|
+
}, z.core.$loose>>>;
|
|
3059
|
+
}, z.core.$loose>;
|
|
3060
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3061
|
+
drill: z.ZodExactOptional<z.ZodObject<{
|
|
3062
|
+
answer: z.ZodString;
|
|
3063
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3064
|
+
row: z.ZodInt;
|
|
3065
|
+
code: z.ZodEnum<{
|
|
3066
|
+
ROW_CAP: "ROW_CAP";
|
|
3067
|
+
NO_FIELD: "NO_FIELD";
|
|
3068
|
+
NO_TIME: "NO_TIME";
|
|
3069
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3070
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3071
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3072
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3073
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3074
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3075
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3076
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3077
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3078
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3079
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3080
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3081
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3082
|
+
}>;
|
|
3083
|
+
reason: z.ZodString;
|
|
3084
|
+
}, z.core.$loose>>>;
|
|
3085
|
+
execution: z.ZodString;
|
|
3086
|
+
previous: z.ZodExactOptional<z.ZodObject<{
|
|
3087
|
+
answer: z.ZodString;
|
|
3088
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3089
|
+
row: z.ZodInt;
|
|
3090
|
+
code: z.ZodEnum<{
|
|
3091
|
+
ROW_CAP: "ROW_CAP";
|
|
3092
|
+
NO_FIELD: "NO_FIELD";
|
|
3093
|
+
NO_TIME: "NO_TIME";
|
|
3094
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3095
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3096
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3097
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3098
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3099
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3100
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3101
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3102
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3103
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3104
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3105
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3106
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3107
|
+
}>;
|
|
3108
|
+
reason: z.ZodString;
|
|
3109
|
+
}, z.core.$loose>>>;
|
|
3110
|
+
}, z.core.$loose>>;
|
|
3111
|
+
code: z.ZodExactOptional<z.ZodEnum<{
|
|
3112
|
+
ROW_CAP: "ROW_CAP";
|
|
3113
|
+
NO_FIELD: "NO_FIELD";
|
|
3114
|
+
NO_TIME: "NO_TIME";
|
|
3115
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3116
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3117
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3118
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3119
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3120
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3121
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3122
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3123
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3124
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3125
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3126
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3127
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3128
|
+
}>>;
|
|
3129
|
+
reason: z.ZodExactOptional<z.ZodString>;
|
|
3130
|
+
}, z.core.$loose>>;
|
|
3131
|
+
}, z.core.$loose>;
|
|
3132
|
+
"/query/drill": z.ZodObject<{
|
|
3133
|
+
summary: z.ZodExactOptional<z.ZodObject<{
|
|
3134
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3135
|
+
t: z.ZodEnum<{
|
|
3136
|
+
decimal: "decimal";
|
|
3137
|
+
int: "int";
|
|
3138
|
+
}>;
|
|
3139
|
+
v: z.ZodString;
|
|
3140
|
+
}, z.core.$loose>]>;
|
|
3141
|
+
clicked: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3142
|
+
t: z.ZodEnum<{
|
|
3143
|
+
decimal: "decimal";
|
|
3144
|
+
int: "int";
|
|
3145
|
+
}>;
|
|
3146
|
+
v: z.ZodString;
|
|
3147
|
+
}, z.core.$loose>]>>;
|
|
3148
|
+
itemCount: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3149
|
+
t: z.ZodEnum<{
|
|
3150
|
+
decimal: "decimal";
|
|
3151
|
+
int: "int";
|
|
3152
|
+
}>;
|
|
3153
|
+
v: z.ZodString;
|
|
3154
|
+
}, z.core.$loose>]>>;
|
|
3155
|
+
semantics: z.ZodEnum<{
|
|
3156
|
+
ratio: "ratio";
|
|
3157
|
+
distinct: "distinct";
|
|
3158
|
+
rows: "rows";
|
|
3159
|
+
"non-null": "non-null";
|
|
3160
|
+
expression: "expression";
|
|
3161
|
+
}>;
|
|
3162
|
+
counted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3163
|
+
share: z.ZodExactOptional<z.ZodObject<{
|
|
3164
|
+
value: z.ZodNumber;
|
|
3165
|
+
of: z.ZodEnum<{
|
|
3166
|
+
parent: "parent";
|
|
3167
|
+
tile: "tile";
|
|
3168
|
+
}>;
|
|
3169
|
+
}, z.core.$loose>>;
|
|
3170
|
+
rows: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3171
|
+
t: z.ZodEnum<{
|
|
3172
|
+
decimal: "decimal";
|
|
3173
|
+
int: "int";
|
|
3174
|
+
}>;
|
|
3175
|
+
v: z.ZodString;
|
|
3176
|
+
}, z.core.$loose>]>>;
|
|
3177
|
+
operand: z.ZodExactOptional<z.ZodString>;
|
|
3178
|
+
can: z.ZodObject<{
|
|
3179
|
+
breakdown: z.ZodUnion<readonly [z.ZodObject<{
|
|
3180
|
+
ok: z.ZodLiteral<true>;
|
|
3181
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3182
|
+
ok: z.ZodLiteral<false>;
|
|
3183
|
+
code: z.ZodEnum<{
|
|
3184
|
+
ROW_CAP: "ROW_CAP";
|
|
3185
|
+
NO_FIELD: "NO_FIELD";
|
|
3186
|
+
NO_TIME: "NO_TIME";
|
|
3187
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3188
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3189
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3190
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3191
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3192
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3193
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3194
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3195
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3196
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3197
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3198
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3199
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3200
|
+
}>;
|
|
3201
|
+
reason: z.ZodString;
|
|
3202
|
+
}, z.core.$loose>]>;
|
|
3203
|
+
trend: z.ZodUnion<readonly [z.ZodObject<{
|
|
3204
|
+
ok: z.ZodLiteral<true>;
|
|
3205
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3206
|
+
ok: z.ZodLiteral<false>;
|
|
3207
|
+
code: z.ZodEnum<{
|
|
3208
|
+
ROW_CAP: "ROW_CAP";
|
|
3209
|
+
NO_FIELD: "NO_FIELD";
|
|
3210
|
+
NO_TIME: "NO_TIME";
|
|
3211
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3212
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3213
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3214
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3215
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3216
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3217
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3218
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3219
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3220
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3221
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3222
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3223
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3224
|
+
}>;
|
|
3225
|
+
reason: z.ZodString;
|
|
3226
|
+
}, z.core.$loose>]>;
|
|
3227
|
+
items: z.ZodUnion<readonly [z.ZodObject<{
|
|
3228
|
+
ok: z.ZodLiteral<true>;
|
|
3229
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3230
|
+
ok: z.ZodLiteral<false>;
|
|
3231
|
+
code: z.ZodEnum<{
|
|
3232
|
+
ROW_CAP: "ROW_CAP";
|
|
3233
|
+
NO_FIELD: "NO_FIELD";
|
|
3234
|
+
NO_TIME: "NO_TIME";
|
|
3235
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3236
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3237
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3238
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3239
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3240
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3241
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3242
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3243
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3244
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3245
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3246
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3247
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3248
|
+
}>;
|
|
3249
|
+
reason: z.ZodString;
|
|
3250
|
+
}, z.core.$loose>]>;
|
|
3251
|
+
explanation: z.ZodUnion<readonly [z.ZodObject<{
|
|
3252
|
+
ok: z.ZodLiteral<true>;
|
|
3253
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3254
|
+
ok: z.ZodLiteral<false>;
|
|
3255
|
+
code: z.ZodEnum<{
|
|
3256
|
+
ROW_CAP: "ROW_CAP";
|
|
3257
|
+
NO_FIELD: "NO_FIELD";
|
|
3258
|
+
NO_TIME: "NO_TIME";
|
|
3259
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3260
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3261
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3262
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3263
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3264
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3265
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3266
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3267
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3268
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3269
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3270
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3271
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3272
|
+
}>;
|
|
3273
|
+
reason: z.ZodString;
|
|
3274
|
+
}, z.core.$loose>]>;
|
|
3275
|
+
}, z.core.$loose>;
|
|
3276
|
+
offered: z.ZodArray<z.ZodObject<{
|
|
3277
|
+
id: z.ZodString;
|
|
3278
|
+
label: z.ZodString;
|
|
3279
|
+
}, z.core.$loose>>;
|
|
3280
|
+
receipt: z.ZodObject<{
|
|
3281
|
+
queryHash: z.ZodString;
|
|
3282
|
+
provider: z.ZodString;
|
|
3283
|
+
trust: z.ZodEnum<{
|
|
3284
|
+
external: "external";
|
|
3285
|
+
builtin: "builtin";
|
|
3286
|
+
}>;
|
|
3287
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3288
|
+
answeredBy: z.ZodString;
|
|
3289
|
+
cache: z.ZodEnum<{
|
|
3290
|
+
hit: "hit";
|
|
3291
|
+
stale: "stale";
|
|
3292
|
+
miss: "miss";
|
|
3293
|
+
off: "off";
|
|
3294
|
+
}>;
|
|
3295
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3296
|
+
from: z.ZodString;
|
|
3297
|
+
to: z.ZodString;
|
|
3298
|
+
}, z.core.$loose>>;
|
|
3299
|
+
calendar: z.ZodObject<{
|
|
3300
|
+
timezone: z.ZodString;
|
|
3301
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
3302
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
3303
|
+
}, z.core.$loose>;
|
|
3304
|
+
dataThrough: z.ZodString;
|
|
3305
|
+
computedAt: z.ZodString;
|
|
3306
|
+
consistency: z.ZodEnum<{
|
|
3307
|
+
snapshot: "snapshot";
|
|
3308
|
+
statement: "statement";
|
|
3309
|
+
mixed: "mixed";
|
|
3310
|
+
}>;
|
|
3311
|
+
durationMs: z.ZodNumber;
|
|
3312
|
+
rowsReturned: z.ZodNumber;
|
|
3313
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
3314
|
+
coverage: z.ZodObject<{
|
|
3315
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3316
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3317
|
+
}, z.core.$loose>;
|
|
3318
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3319
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
3320
|
+
message: z.ZodString;
|
|
3321
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3322
|
+
}, z.core.$loose>>>;
|
|
3323
|
+
}, z.core.$loose>;
|
|
3324
|
+
column: z.ZodExactOptional<z.ZodObject<{
|
|
3325
|
+
id: z.ZodString;
|
|
3326
|
+
label: z.ZodString;
|
|
3327
|
+
type: z.ZodEnum<{
|
|
3328
|
+
string: "string";
|
|
3329
|
+
number: "number";
|
|
3330
|
+
boolean: "boolean";
|
|
3331
|
+
time: "time";
|
|
3332
|
+
float: "float";
|
|
3333
|
+
decimal: "decimal";
|
|
3334
|
+
int: "int";
|
|
3335
|
+
}>;
|
|
3336
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
3337
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3338
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3339
|
+
hour: "hour";
|
|
3340
|
+
day: "day";
|
|
3341
|
+
week: "week";
|
|
3342
|
+
month: "month";
|
|
3343
|
+
quarter: "quarter";
|
|
3344
|
+
year: "year";
|
|
3345
|
+
}>>;
|
|
3346
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3347
|
+
number: "number";
|
|
3348
|
+
percent: "percent";
|
|
3349
|
+
currency: "currency";
|
|
3350
|
+
duration: "duration";
|
|
3351
|
+
}>>;
|
|
3352
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3353
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3354
|
+
}, z.core.$loose>>;
|
|
3355
|
+
noun: z.ZodExactOptional<z.ZodObject<{
|
|
3356
|
+
one: z.ZodString;
|
|
3357
|
+
other: z.ZodString;
|
|
3358
|
+
}, z.core.$loose>>;
|
|
3359
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3360
|
+
from: z.ZodString;
|
|
3361
|
+
to: z.ZodString;
|
|
3362
|
+
}, z.core.$loose>>;
|
|
3363
|
+
previous: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3364
|
+
foreign: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3365
|
+
omitted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3366
|
+
}, z.core.$loose>>;
|
|
3367
|
+
path: z.ZodArray<z.ZodObject<{
|
|
3368
|
+
label: z.ZodString;
|
|
3369
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3370
|
+
t: z.ZodEnum<{
|
|
3371
|
+
decimal: "decimal";
|
|
3372
|
+
int: "int";
|
|
3373
|
+
}>;
|
|
3374
|
+
v: z.ZodString;
|
|
3375
|
+
}, z.core.$loose>]>;
|
|
3376
|
+
kind: z.ZodExactOptional<z.ZodEnum<{
|
|
3377
|
+
search: "search";
|
|
3378
|
+
time: "time";
|
|
3379
|
+
other: "other";
|
|
3380
|
+
total: "total";
|
|
3381
|
+
group: "group";
|
|
3382
|
+
}>>;
|
|
3383
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3384
|
+
hour: "hour";
|
|
3385
|
+
day: "day";
|
|
3386
|
+
week: "week";
|
|
3387
|
+
month: "month";
|
|
3388
|
+
quarter: "quarter";
|
|
3389
|
+
year: "year";
|
|
3390
|
+
}>>;
|
|
3391
|
+
previous: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3392
|
+
parts: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3393
|
+
label: z.ZodString;
|
|
3394
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3395
|
+
t: z.ZodEnum<{
|
|
3396
|
+
decimal: "decimal";
|
|
3397
|
+
int: "int";
|
|
3398
|
+
}>;
|
|
3399
|
+
v: z.ZodString;
|
|
3400
|
+
}, z.core.$loose>]>;
|
|
3401
|
+
kind: z.ZodExactOptional<z.ZodEnum<{
|
|
3402
|
+
search: "search";
|
|
3403
|
+
time: "time";
|
|
3404
|
+
other: "other";
|
|
3405
|
+
total: "total";
|
|
3406
|
+
group: "group";
|
|
3407
|
+
}>>;
|
|
3408
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3409
|
+
hour: "hour";
|
|
3410
|
+
day: "day";
|
|
3411
|
+
week: "week";
|
|
3412
|
+
month: "month";
|
|
3413
|
+
quarter: "quarter";
|
|
3414
|
+
year: "year";
|
|
3415
|
+
}>>;
|
|
3416
|
+
previous: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3417
|
+
}, z.core.$loose>>>;
|
|
3418
|
+
}, z.core.$loose>>;
|
|
3419
|
+
state: z.ZodObject<{
|
|
3420
|
+
origin: z.ZodUnion<readonly [z.ZodObject<{
|
|
3421
|
+
kind: z.ZodLiteral<"dashboard">;
|
|
3422
|
+
dashboardId: z.ZodString;
|
|
3423
|
+
widgetId: z.ZodString;
|
|
3424
|
+
query: z.ZodExactOptional<z.ZodString>;
|
|
3425
|
+
picks: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3426
|
+
op: z.ZodEnum<{
|
|
3427
|
+
equals: "equals";
|
|
3428
|
+
in: "in";
|
|
3429
|
+
contains: "contains";
|
|
3430
|
+
startsWith: "startsWith";
|
|
3431
|
+
gt: "gt";
|
|
3432
|
+
gte: "gte";
|
|
3433
|
+
lt: "lt";
|
|
3434
|
+
lte: "lte";
|
|
3435
|
+
between: "between";
|
|
3436
|
+
notEquals: "notEquals";
|
|
3437
|
+
notIn: "notIn";
|
|
3438
|
+
notContains: "notContains";
|
|
3439
|
+
set: "set";
|
|
3440
|
+
notSet: "notSet";
|
|
3441
|
+
}>;
|
|
3442
|
+
values: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
3443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3444
|
+
last: z.ZodInt;
|
|
3445
|
+
unit: z.ZodEnum<{
|
|
3446
|
+
hour: "hour";
|
|
3447
|
+
day: "day";
|
|
3448
|
+
week: "week";
|
|
3449
|
+
month: "month";
|
|
3450
|
+
quarter: "quarter";
|
|
3451
|
+
year: "year";
|
|
3452
|
+
}>;
|
|
3453
|
+
includeCurrent: z.ZodBoolean;
|
|
3454
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3455
|
+
from: z.ZodString;
|
|
3456
|
+
to: z.ZodString;
|
|
3457
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>]>>;
|
|
3458
|
+
document: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3459
|
+
version: z.ZodInt;
|
|
3460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3461
|
+
draft: z.ZodLiteral<true>;
|
|
3462
|
+
}, z.core.$strict>]>>;
|
|
3463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3464
|
+
kind: z.ZodLiteral<"query">;
|
|
3465
|
+
query: z.ZodObject<{
|
|
3466
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
3467
|
+
source: z.ZodString;
|
|
3468
|
+
measures: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3469
|
+
id: z.ZodTemplateLiteral<`m${number}`>;
|
|
3470
|
+
measure: z.ZodString;
|
|
3471
|
+
filter: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
3472
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
3473
|
+
}, z.core.$strict>>>;
|
|
3474
|
+
dimensions: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3475
|
+
id: z.ZodTemplateLiteral<`d${number}`>;
|
|
3476
|
+
member: z.ZodString;
|
|
3477
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
3478
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
3479
|
+
rankBy: z.ZodExactOptional<z.ZodObject<{
|
|
3480
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>]>;
|
|
3481
|
+
dir: z.ZodEnum<{
|
|
3482
|
+
asc: "asc";
|
|
3483
|
+
desc: "desc";
|
|
3484
|
+
}>;
|
|
3485
|
+
}, z.core.$strict>>;
|
|
3486
|
+
}, z.core.$strict>>>>;
|
|
3487
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3488
|
+
dimension: z.ZodString;
|
|
3489
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3490
|
+
hour: "hour";
|
|
3491
|
+
day: "day";
|
|
3492
|
+
week: "week";
|
|
3493
|
+
month: "month";
|
|
3494
|
+
quarter: "quarter";
|
|
3495
|
+
year: "year";
|
|
3496
|
+
}>>;
|
|
3497
|
+
range: z.ZodUnion<readonly [z.ZodObject<{
|
|
3498
|
+
last: z.ZodNumber;
|
|
3499
|
+
unit: z.ZodEnum<{
|
|
3500
|
+
hour: "hour";
|
|
3501
|
+
day: "day";
|
|
3502
|
+
week: "week";
|
|
3503
|
+
month: "month";
|
|
3504
|
+
quarter: "quarter";
|
|
3505
|
+
year: "year";
|
|
3506
|
+
}>;
|
|
3507
|
+
includeCurrent: z.ZodBoolean;
|
|
3508
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3509
|
+
from: z.ZodString;
|
|
3510
|
+
to: z.ZodString;
|
|
3511
|
+
}, z.core.$strict>]>;
|
|
3512
|
+
compare: z.ZodExactOptional<z.ZodEnum<{
|
|
3513
|
+
previous_period: "previous_period";
|
|
3514
|
+
previous_year: "previous_year";
|
|
3515
|
+
}>>;
|
|
3516
|
+
}, z.core.$strict>>;
|
|
3517
|
+
filters: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
3518
|
+
calc: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3519
|
+
id: z.ZodTemplateLiteral<`c${number}`>;
|
|
3520
|
+
formula: z.ZodType<FormulaNode, unknown, z.core.$ZodTypeInternals<FormulaNode, unknown>>;
|
|
3521
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3522
|
+
number: "number";
|
|
3523
|
+
percent: "percent";
|
|
3524
|
+
currency: "currency";
|
|
3525
|
+
duration: "duration";
|
|
3526
|
+
}>>;
|
|
3527
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
3528
|
+
}, z.core.$strict>>>>;
|
|
3529
|
+
order: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3530
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>, z.ZodTemplateLiteral<`d${number}`>]>;
|
|
3531
|
+
dir: z.ZodEnum<{
|
|
3532
|
+
asc: "asc";
|
|
3533
|
+
desc: "desc";
|
|
3534
|
+
}>;
|
|
3535
|
+
}, z.core.$strict>>>>;
|
|
3536
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
3537
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
3538
|
+
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
3539
|
+
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
3540
|
+
none: "none";
|
|
3541
|
+
zero: "zero";
|
|
3542
|
+
}>>;
|
|
3543
|
+
}, z.core.$strict>;
|
|
3544
|
+
}, z.core.$strict>]>;
|
|
3545
|
+
entry: z.ZodExactOptional<z.ZodString>;
|
|
3546
|
+
execution: z.ZodString;
|
|
3547
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
3548
|
+
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
3549
|
+
by: z.ZodLiteral<"breakdown">;
|
|
3550
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3551
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
3552
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3553
|
+
by: z.ZodLiteral<"trend">;
|
|
3554
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3555
|
+
hour: "hour";
|
|
3556
|
+
day: "day";
|
|
3557
|
+
week: "week";
|
|
3558
|
+
month: "month";
|
|
3559
|
+
quarter: "quarter";
|
|
3560
|
+
year: "year";
|
|
3561
|
+
}>>;
|
|
3562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3563
|
+
by: z.ZodLiteral<"items">;
|
|
3564
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3566
|
+
by: z.ZodLiteral<"explanation">;
|
|
3567
|
+
}, z.core.$strict>]>;
|
|
3568
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3569
|
+
by: z.ZodLiteral<"breakdown">;
|
|
3570
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3571
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
3572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3573
|
+
by: z.ZodLiteral<"trend">;
|
|
3574
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3575
|
+
hour: "hour";
|
|
3576
|
+
day: "day";
|
|
3577
|
+
week: "week";
|
|
3578
|
+
month: "month";
|
|
3579
|
+
quarter: "quarter";
|
|
3580
|
+
year: "year";
|
|
3581
|
+
}>>;
|
|
3582
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3583
|
+
by: z.ZodLiteral<"items">;
|
|
3584
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3585
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3586
|
+
by: z.ZodLiteral<"explanation">;
|
|
3587
|
+
}, z.core.$strict>]>>>>;
|
|
3588
|
+
}, z.core.$strict>;
|
|
3589
|
+
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
3590
|
+
by: z.ZodEnum<{
|
|
3591
|
+
breakdown: "breakdown";
|
|
3592
|
+
trend: "trend";
|
|
3593
|
+
}>;
|
|
3594
|
+
answer: z.ZodObject<{
|
|
3595
|
+
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3596
|
+
t: z.ZodEnum<{
|
|
3597
|
+
decimal: "decimal";
|
|
3598
|
+
int: "int";
|
|
3599
|
+
}>;
|
|
3600
|
+
v: z.ZodString;
|
|
3601
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3602
|
+
mark: z.ZodEnum<{
|
|
3603
|
+
all: "all";
|
|
3604
|
+
other: "other";
|
|
3605
|
+
}>;
|
|
3606
|
+
}, z.core.$loose>]>>>>>;
|
|
3607
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3608
|
+
id: z.ZodString;
|
|
3609
|
+
label: z.ZodString;
|
|
3610
|
+
type: z.ZodEnum<{
|
|
3611
|
+
string: "string";
|
|
3612
|
+
number: "number";
|
|
3613
|
+
boolean: "boolean";
|
|
3614
|
+
time: "time";
|
|
3615
|
+
float: "float";
|
|
3616
|
+
decimal: "decimal";
|
|
3617
|
+
int: "int";
|
|
3618
|
+
}>;
|
|
3619
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
3620
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3621
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3622
|
+
hour: "hour";
|
|
3623
|
+
day: "day";
|
|
3624
|
+
week: "week";
|
|
3625
|
+
month: "month";
|
|
3626
|
+
quarter: "quarter";
|
|
3627
|
+
year: "year";
|
|
3628
|
+
}>>;
|
|
3629
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3630
|
+
number: "number";
|
|
3631
|
+
percent: "percent";
|
|
3632
|
+
currency: "currency";
|
|
3633
|
+
duration: "duration";
|
|
3634
|
+
}>>;
|
|
3635
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3636
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3637
|
+
}, z.core.$loose>>>;
|
|
3638
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
3639
|
+
rows: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3640
|
+
t: z.ZodEnum<{
|
|
3641
|
+
decimal: "decimal";
|
|
3642
|
+
int: "int";
|
|
3643
|
+
}>;
|
|
3644
|
+
v: z.ZodString;
|
|
3645
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3646
|
+
mark: z.ZodEnum<{
|
|
3647
|
+
all: "all";
|
|
3648
|
+
other: "other";
|
|
3649
|
+
}>;
|
|
3650
|
+
}, z.core.$loose>]>>>>>;
|
|
3651
|
+
range: z.ZodObject<{
|
|
3652
|
+
from: z.ZodString;
|
|
3653
|
+
to: z.ZodString;
|
|
3654
|
+
}, z.core.$loose>;
|
|
3655
|
+
}, z.core.$loose>>;
|
|
3656
|
+
status: z.ZodEnum<{
|
|
3657
|
+
complete: "complete";
|
|
3658
|
+
truncated: "truncated";
|
|
3659
|
+
}>;
|
|
3660
|
+
receipt: z.ZodObject<{
|
|
3661
|
+
queryHash: z.ZodString;
|
|
3662
|
+
provider: z.ZodString;
|
|
3663
|
+
trust: z.ZodEnum<{
|
|
3664
|
+
external: "external";
|
|
3665
|
+
builtin: "builtin";
|
|
3666
|
+
}>;
|
|
3667
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3668
|
+
answeredBy: z.ZodString;
|
|
3669
|
+
cache: z.ZodEnum<{
|
|
3670
|
+
hit: "hit";
|
|
3671
|
+
stale: "stale";
|
|
3672
|
+
miss: "miss";
|
|
3673
|
+
off: "off";
|
|
3674
|
+
}>;
|
|
3675
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3676
|
+
from: z.ZodString;
|
|
3677
|
+
to: z.ZodString;
|
|
3678
|
+
}, z.core.$loose>>;
|
|
3679
|
+
calendar: z.ZodObject<{
|
|
3680
|
+
timezone: z.ZodString;
|
|
3681
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
3682
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
3683
|
+
}, z.core.$loose>;
|
|
3684
|
+
dataThrough: z.ZodString;
|
|
3685
|
+
computedAt: z.ZodString;
|
|
3686
|
+
consistency: z.ZodEnum<{
|
|
3687
|
+
snapshot: "snapshot";
|
|
3688
|
+
statement: "statement";
|
|
3689
|
+
mixed: "mixed";
|
|
3690
|
+
}>;
|
|
3691
|
+
durationMs: z.ZodNumber;
|
|
3692
|
+
rowsReturned: z.ZodNumber;
|
|
3693
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
3694
|
+
coverage: z.ZodObject<{
|
|
3695
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3696
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3697
|
+
}, z.core.$loose>;
|
|
3698
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3699
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
3700
|
+
message: z.ZodString;
|
|
3701
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3702
|
+
}, z.core.$loose>>>;
|
|
3703
|
+
}, z.core.$loose>;
|
|
3704
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3705
|
+
}, z.core.$loose>;
|
|
3706
|
+
drill: z.ZodObject<{
|
|
3707
|
+
answer: z.ZodString;
|
|
3708
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3709
|
+
row: z.ZodInt;
|
|
3710
|
+
code: z.ZodEnum<{
|
|
3711
|
+
ROW_CAP: "ROW_CAP";
|
|
3712
|
+
NO_FIELD: "NO_FIELD";
|
|
3713
|
+
NO_TIME: "NO_TIME";
|
|
3714
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3715
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3716
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3717
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3718
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3719
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3720
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3721
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3722
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3723
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3724
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3725
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3726
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3727
|
+
}>;
|
|
3728
|
+
reason: z.ZodString;
|
|
3729
|
+
}, z.core.$loose>>>;
|
|
3730
|
+
}, z.core.$loose>;
|
|
3731
|
+
offered: z.ZodArray<z.ZodObject<{
|
|
3732
|
+
id: z.ZodString;
|
|
3733
|
+
label: z.ZodString;
|
|
3734
|
+
}, z.core.$loose>>;
|
|
3735
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3736
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3737
|
+
hour: "hour";
|
|
3738
|
+
day: "day";
|
|
3739
|
+
week: "week";
|
|
3740
|
+
month: "month";
|
|
3741
|
+
quarter: "quarter";
|
|
3742
|
+
year: "year";
|
|
3743
|
+
}>>;
|
|
3744
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3745
|
+
from: z.ZodString;
|
|
3746
|
+
to: z.ZodString;
|
|
3747
|
+
}, z.core.$loose>>;
|
|
3748
|
+
grains: z.ZodExactOptional<z.ZodArray<z.ZodEnum<{
|
|
3749
|
+
hour: "hour";
|
|
3750
|
+
day: "day";
|
|
3751
|
+
week: "week";
|
|
3752
|
+
month: "month";
|
|
3753
|
+
quarter: "quarter";
|
|
3754
|
+
year: "year";
|
|
3755
|
+
}>>>;
|
|
3756
|
+
rankedBy: z.ZodExactOptional<z.ZodString>;
|
|
3757
|
+
change: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3758
|
+
searchable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3759
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
3760
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3761
|
+
by: z.ZodLiteral<"items">;
|
|
3762
|
+
source: z.ZodString;
|
|
3763
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
3764
|
+
member: z.ZodString;
|
|
3765
|
+
label: z.ZodString;
|
|
3766
|
+
type: z.ZodEnum<{
|
|
3767
|
+
string: "string";
|
|
3768
|
+
number: "number";
|
|
3769
|
+
boolean: "boolean";
|
|
3770
|
+
time: "time";
|
|
3771
|
+
float: "float";
|
|
3772
|
+
decimal: "decimal";
|
|
3773
|
+
int: "int";
|
|
3774
|
+
}>;
|
|
3775
|
+
format: z.ZodExactOptional<z.ZodObject<{
|
|
3776
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
3777
|
+
minor: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3778
|
+
}, z.core.$loose>>;
|
|
3779
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
3780
|
+
}, z.core.$loose>>;
|
|
3781
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3782
|
+
source: z.ZodString;
|
|
3783
|
+
id: z.ZodString;
|
|
3784
|
+
key: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
3785
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3786
|
+
t: z.ZodEnum<{
|
|
3787
|
+
decimal: "decimal";
|
|
3788
|
+
int: "int";
|
|
3789
|
+
}>;
|
|
3790
|
+
v: z.ZodString;
|
|
3791
|
+
}, z.core.$loose>]>>;
|
|
3792
|
+
link: z.ZodExactOptional<z.ZodString>;
|
|
3793
|
+
}, z.core.$loose>>;
|
|
3794
|
+
next: z.ZodExactOptional<z.ZodString>;
|
|
3795
|
+
value: z.ZodExactOptional<z.ZodString>;
|
|
3796
|
+
sort: z.ZodEnum<{
|
|
3797
|
+
count: "count";
|
|
3798
|
+
value: "value";
|
|
3799
|
+
records: "records";
|
|
3800
|
+
}>;
|
|
3801
|
+
sorted: z.ZodExactOptional<z.ZodObject<{
|
|
3802
|
+
member: z.ZodString;
|
|
3803
|
+
dir: z.ZodEnum<{
|
|
3804
|
+
asc: "asc";
|
|
3805
|
+
desc: "desc";
|
|
3806
|
+
}>;
|
|
3807
|
+
time: z.ZodBoolean;
|
|
3808
|
+
}, z.core.$loose>>;
|
|
3809
|
+
fixed: z.ZodExactOptional<z.ZodArray<z.ZodString>>;
|
|
3810
|
+
percentile: z.ZodExactOptional<z.ZodNumber>;
|
|
3811
|
+
truncated: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3812
|
+
title: z.ZodExactOptional<z.ZodString>;
|
|
3813
|
+
badge: z.ZodExactOptional<z.ZodObject<{
|
|
3814
|
+
member: z.ZodString;
|
|
3815
|
+
tones: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
3816
|
+
positive: "positive";
|
|
3817
|
+
negative: "negative";
|
|
3818
|
+
warning: "warning";
|
|
3819
|
+
neutral: "neutral";
|
|
3820
|
+
}>>>;
|
|
3821
|
+
}, z.core.$loose>>;
|
|
3822
|
+
numerator: z.ZodExactOptional<z.ZodObject<{
|
|
3823
|
+
label: z.ZodString;
|
|
3824
|
+
count: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3825
|
+
t: z.ZodEnum<{
|
|
3826
|
+
decimal: "decimal";
|
|
3827
|
+
int: "int";
|
|
3828
|
+
}>;
|
|
3829
|
+
v: z.ZodString;
|
|
3830
|
+
}, z.core.$loose>]>>;
|
|
3831
|
+
flag: z.ZodExactOptional<z.ZodString>;
|
|
3832
|
+
only: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3833
|
+
unmarked: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3834
|
+
}, z.core.$loose>>;
|
|
3835
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3836
|
+
by: z.ZodLiteral<"explanation">;
|
|
3837
|
+
operands: z.ZodArray<z.ZodObject<{
|
|
3838
|
+
entry: z.ZodString;
|
|
3839
|
+
scope: z.ZodEnum<{
|
|
3840
|
+
bucket: "bucket";
|
|
3841
|
+
row: "row";
|
|
3842
|
+
previous: "previous";
|
|
3843
|
+
total: "total";
|
|
3844
|
+
}>;
|
|
3845
|
+
label: z.ZodString;
|
|
3846
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3847
|
+
t: z.ZodEnum<{
|
|
3848
|
+
decimal: "decimal";
|
|
3849
|
+
int: "int";
|
|
3850
|
+
}>;
|
|
3851
|
+
v: z.ZodString;
|
|
3852
|
+
}, z.core.$loose>]>;
|
|
3853
|
+
state: z.ZodExactOptional<z.ZodObject<{
|
|
3854
|
+
origin: z.ZodUnion<readonly [z.ZodObject<{
|
|
3855
|
+
kind: z.ZodLiteral<"dashboard">;
|
|
3856
|
+
dashboardId: z.ZodString;
|
|
3857
|
+
widgetId: z.ZodString;
|
|
3858
|
+
query: z.ZodExactOptional<z.ZodString>;
|
|
3859
|
+
picks: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3860
|
+
op: z.ZodEnum<{
|
|
3861
|
+
equals: "equals";
|
|
3862
|
+
in: "in";
|
|
3863
|
+
contains: "contains";
|
|
3864
|
+
startsWith: "startsWith";
|
|
3865
|
+
gt: "gt";
|
|
3866
|
+
gte: "gte";
|
|
3867
|
+
lt: "lt";
|
|
3868
|
+
lte: "lte";
|
|
3869
|
+
between: "between";
|
|
3870
|
+
notEquals: "notEquals";
|
|
3871
|
+
notIn: "notIn";
|
|
3872
|
+
notContains: "notContains";
|
|
3873
|
+
set: "set";
|
|
3874
|
+
notSet: "notSet";
|
|
3875
|
+
}>;
|
|
3876
|
+
values: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
3877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3878
|
+
last: z.ZodInt;
|
|
3879
|
+
unit: z.ZodEnum<{
|
|
3880
|
+
hour: "hour";
|
|
3881
|
+
day: "day";
|
|
3882
|
+
week: "week";
|
|
3883
|
+
month: "month";
|
|
3884
|
+
quarter: "quarter";
|
|
3885
|
+
year: "year";
|
|
3886
|
+
}>;
|
|
3887
|
+
includeCurrent: z.ZodBoolean;
|
|
3888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3889
|
+
from: z.ZodString;
|
|
3890
|
+
to: z.ZodString;
|
|
3891
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>]>>;
|
|
3892
|
+
document: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3893
|
+
version: z.ZodInt;
|
|
3894
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3895
|
+
draft: z.ZodLiteral<true>;
|
|
3896
|
+
}, z.core.$strict>]>>;
|
|
3897
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3898
|
+
kind: z.ZodLiteral<"query">;
|
|
3899
|
+
query: z.ZodObject<{
|
|
3900
|
+
kind: z.ZodLiteral<"aggregate">;
|
|
3901
|
+
source: z.ZodString;
|
|
3902
|
+
measures: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3903
|
+
id: z.ZodTemplateLiteral<`m${number}`>;
|
|
3904
|
+
measure: z.ZodString;
|
|
3905
|
+
filter: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
3906
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
3907
|
+
}, z.core.$strict>>>;
|
|
3908
|
+
dimensions: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3909
|
+
id: z.ZodTemplateLiteral<`d${number}`>;
|
|
3910
|
+
member: z.ZodString;
|
|
3911
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
3912
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
3913
|
+
rankBy: z.ZodExactOptional<z.ZodObject<{
|
|
3914
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>]>;
|
|
3915
|
+
dir: z.ZodEnum<{
|
|
3916
|
+
asc: "asc";
|
|
3917
|
+
desc: "desc";
|
|
3918
|
+
}>;
|
|
3919
|
+
}, z.core.$strict>>;
|
|
3920
|
+
}, z.core.$strict>>>>;
|
|
3921
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3922
|
+
dimension: z.ZodString;
|
|
3923
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3924
|
+
hour: "hour";
|
|
3925
|
+
day: "day";
|
|
3926
|
+
week: "week";
|
|
3927
|
+
month: "month";
|
|
3928
|
+
quarter: "quarter";
|
|
3929
|
+
year: "year";
|
|
3930
|
+
}>>;
|
|
3931
|
+
range: z.ZodUnion<readonly [z.ZodObject<{
|
|
3932
|
+
last: z.ZodNumber;
|
|
3933
|
+
unit: z.ZodEnum<{
|
|
3934
|
+
hour: "hour";
|
|
3935
|
+
day: "day";
|
|
3936
|
+
week: "week";
|
|
3937
|
+
month: "month";
|
|
3938
|
+
quarter: "quarter";
|
|
3939
|
+
year: "year";
|
|
3940
|
+
}>;
|
|
3941
|
+
includeCurrent: z.ZodBoolean;
|
|
3942
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3943
|
+
from: z.ZodString;
|
|
3944
|
+
to: z.ZodString;
|
|
3945
|
+
}, z.core.$strict>]>;
|
|
3946
|
+
compare: z.ZodExactOptional<z.ZodEnum<{
|
|
3947
|
+
previous_period: "previous_period";
|
|
3948
|
+
previous_year: "previous_year";
|
|
3949
|
+
}>>;
|
|
3950
|
+
}, z.core.$strict>>;
|
|
3951
|
+
filters: z.ZodExactOptional<z.ZodType<WireFilter, unknown, z.core.$ZodTypeInternals<WireFilter, unknown>>>;
|
|
3952
|
+
calc: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3953
|
+
id: z.ZodTemplateLiteral<`c${number}`>;
|
|
3954
|
+
formula: z.ZodType<FormulaNode, unknown, z.core.$ZodTypeInternals<FormulaNode, unknown>>;
|
|
3955
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3956
|
+
number: "number";
|
|
3957
|
+
percent: "percent";
|
|
3958
|
+
currency: "currency";
|
|
3959
|
+
duration: "duration";
|
|
3960
|
+
}>>;
|
|
3961
|
+
label: z.ZodExactOptional<z.ZodString>;
|
|
3962
|
+
}, z.core.$strict>>>>;
|
|
3963
|
+
order: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3964
|
+
by: z.ZodUnion<readonly [z.ZodTemplateLiteral<`m${number}`>, z.ZodTemplateLiteral<`c${number}`>, z.ZodTemplateLiteral<`d${number}`>]>;
|
|
3965
|
+
dir: z.ZodEnum<{
|
|
3966
|
+
asc: "asc";
|
|
3967
|
+
desc: "desc";
|
|
3968
|
+
}>;
|
|
3969
|
+
}, z.core.$strict>>>>;
|
|
3970
|
+
limit: z.ZodExactOptional<z.ZodNumber>;
|
|
3971
|
+
other: z.ZodExactOptional<z.ZodBoolean>;
|
|
3972
|
+
total: z.ZodExactOptional<z.ZodBoolean>;
|
|
3973
|
+
fill: z.ZodExactOptional<z.ZodEnum<{
|
|
3974
|
+
none: "none";
|
|
3975
|
+
zero: "zero";
|
|
3976
|
+
}>>;
|
|
3977
|
+
}, z.core.$strict>;
|
|
3978
|
+
}, z.core.$strict>]>;
|
|
3979
|
+
entry: z.ZodExactOptional<z.ZodString>;
|
|
3980
|
+
execution: z.ZodString;
|
|
3981
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
3982
|
+
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
3983
|
+
by: z.ZodLiteral<"breakdown">;
|
|
3984
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3985
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
3986
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3987
|
+
by: z.ZodLiteral<"trend">;
|
|
3988
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3989
|
+
hour: "hour";
|
|
3990
|
+
day: "day";
|
|
3991
|
+
week: "week";
|
|
3992
|
+
month: "month";
|
|
3993
|
+
quarter: "quarter";
|
|
3994
|
+
year: "year";
|
|
3995
|
+
}>>;
|
|
3996
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3997
|
+
by: z.ZodLiteral<"items">;
|
|
3998
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3999
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4000
|
+
by: z.ZodLiteral<"explanation">;
|
|
4001
|
+
}, z.core.$strict>]>;
|
|
4002
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4003
|
+
by: z.ZodLiteral<"breakdown">;
|
|
4004
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
4005
|
+
search: z.ZodExactOptional<z.ZodString>;
|
|
4006
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4007
|
+
by: z.ZodLiteral<"trend">;
|
|
4008
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
4009
|
+
hour: "hour";
|
|
4010
|
+
day: "day";
|
|
4011
|
+
week: "week";
|
|
4012
|
+
month: "month";
|
|
4013
|
+
quarter: "quarter";
|
|
4014
|
+
year: "year";
|
|
4015
|
+
}>>;
|
|
4016
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4017
|
+
by: z.ZodLiteral<"items">;
|
|
4018
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4019
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4020
|
+
by: z.ZodLiteral<"explanation">;
|
|
4021
|
+
}, z.core.$strict>]>>>>;
|
|
4022
|
+
}, z.core.$strict>>;
|
|
4023
|
+
can: z.ZodUnion<readonly [z.ZodObject<{
|
|
4024
|
+
ok: z.ZodLiteral<true>;
|
|
4025
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4026
|
+
ok: z.ZodLiteral<false>;
|
|
4027
|
+
code: z.ZodEnum<{
|
|
4028
|
+
ROW_CAP: "ROW_CAP";
|
|
4029
|
+
NO_FIELD: "NO_FIELD";
|
|
4030
|
+
NO_TIME: "NO_TIME";
|
|
4031
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
4032
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
4033
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
4034
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
4035
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
4036
|
+
SNAPSHOT: "SNAPSHOT";
|
|
4037
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
4038
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
4039
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
4040
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
4041
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
4042
|
+
OTHER_CUT: "OTHER_CUT";
|
|
4043
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
4044
|
+
}>;
|
|
4045
|
+
reason: z.ZodString;
|
|
4046
|
+
}, z.core.$loose>]>;
|
|
4047
|
+
}, z.core.$loose>>;
|
|
4048
|
+
}, z.core.$loose>]>;
|
|
2069
4049
|
}, z.core.$loose>;
|
|
2070
4050
|
};
|
|
2071
4051
|
export type AnswerSchemas = typeof answerSchemas;
|