derive-dashboards 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/charts/kinds/area-marks.mjs +2 -1
- package/dist/charts/kinds/funnel-words.mjs +1 -1
- package/dist/charts/kinds/grid-marks.mjs +9 -4
- package/dist/charts/theme.d.mts +13 -13
- package/dist/charts/theme.mjs +17 -14
- package/dist/charts-react/Overlay.mjs +1 -0
- package/dist/charts-react/chart-unlayered.css +1 -107
- package/dist/charts-react/chart.css +1 -121
- package/dist/charts-react/tip-place.mjs +30 -15
- package/dist/core/document/display-comparisons.mjs +49 -0
- package/dist/core/document/display-validation.d.mts +12 -0
- package/dist/core/document/display-validation.mjs +56 -0
- package/dist/core/document/display.d.mts +6 -12
- package/dist/core/document/display.mjs +23 -48
- package/dist/core/engine/dialect.d.mts +2 -0
- package/dist/core/engine/index.mjs +1 -1
- package/dist/core/engine/levels.mjs +33 -1
- package/dist/core/engine/postgres.mjs +1 -0
- package/dist/core/engine/rank.mjs +1 -1
- package/dist/core/engine/reader.d.mts +4 -0
- package/dist/core/engine/sql-partition.mjs +45 -0
- package/dist/core/engine/sql-reads.mjs +4 -1
- package/dist/core/engine/statement.mjs +4 -4
- package/dist/core/engine/version.d.mts +1 -1
- package/dist/core/engine/version.mjs +1 -1
- package/dist/core/error/codes.d.mts +1 -1
- package/dist/core/error/codes.mjs +1 -1
- package/dist/core/index.d.mts +6 -5
- package/dist/core/index.mjs +8 -7
- package/dist/core/model/validate/fields.mjs +1 -1
- package/dist/core/query/drill/compose.d.mts +2 -0
- package/dist/core/query/drill/compose.mjs +1 -1
- package/dist/core/query/drill/synthetic.mjs +1 -1
- package/dist/core/query/drill/types.d.mts +7 -0
- package/dist/core/query/drill/types.mjs +3 -1
- package/dist/core/schema/answers.d.mts +1176 -362
- package/dist/core/schema/drill-answers.mjs +19 -1
- package/dist/core/schema/drill.d.mts +21 -6
- package/dist/core/schema/drill.mjs +7 -1
- package/dist/core/schema/tools.mjs +13 -0
- package/dist/core/time/index.d.mts +2 -2
- package/dist/core/time/text-time.d.mts +9 -2
- package/dist/core/time/text-time.mjs +18 -3
- package/dist/core/types/api.d.mts +1 -1
- package/dist/core/types/api.mjs +1 -1
- package/dist/core/types/drill-api.d.mts +22 -2
- package/dist/dashboard-documents.d.mts +8 -0
- package/dist/dashboard-documents.mjs +52 -0
- package/dist/drill-access.mjs +40 -3
- package/dist/drill-comparison.mjs +71 -0
- package/dist/drill-crumbs.mjs +21 -2
- package/dist/drill-group-seal.mjs +13 -0
- package/dist/drill-open.mjs +7 -1
- package/dist/drill-seal.mjs +4 -6
- package/dist/drill-views.mjs +5 -13
- package/dist/drill.mjs +28 -58
- package/dist/editing.mjs +1 -1
- package/dist/endpoints/drill.mjs +2 -3
- package/dist/endpoints/index.d.mts +20 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +6 -27
- package/dist/llms.txt +1 -1
- package/dist/react/Cell.mjs +2 -2
- package/dist/react/DashboardList.mjs +3 -3
- package/dist/react/Editing.mjs +3 -3
- package/dist/react/Header.mjs +2 -2
- package/dist/react/History.mjs +3 -3
- package/dist/react/Parts.mjs +2 -2
- package/dist/react/RowBody.d.mts +2 -4
- package/dist/react/RowBody.mjs +14 -39
- package/dist/react/Tile.mjs +4 -5
- package/dist/react/builder/FilterEditor.mjs +2 -2
- package/dist/react/builder/Picker.mjs +3 -3
- package/dist/react/builder/RangeEditor.mjs +3 -3
- package/dist/react/builder/Time.mjs +3 -3
- package/dist/react/builder/Values.mjs +2 -2
- package/dist/react/builder/WidgetBuilder.mjs +2 -2
- package/dist/react/drill/Bars.mjs +34 -38
- package/dist/react/drill/Comparison.mjs +204 -0
- package/dist/react/drill/Controls.mjs +8 -12
- package/dist/react/drill/DrillDrawer.mjs +42 -0
- package/dist/react/drill/DrillPanel.mjs +61 -41
- package/dist/react/drill/Header.mjs +65 -35
- package/dist/react/drill/ItemLink.mjs +40 -0
- package/dist/react/drill/Items.d.mts +2 -1
- package/dist/react/drill/Items.mjs +126 -99
- package/dist/react/drill/ItemsBody.mjs +38 -0
- package/dist/react/drill/ItemsFoot.mjs +24 -19
- package/dist/react/drill/Notes.mjs +23 -13
- package/dist/react/drill/PanelBody.mjs +7 -25
- package/dist/react/drill/RecordRow.mjs +47 -0
- package/dist/react/drill/Trend.mjs +186 -0
- package/dist/react/drill/board.mjs +21 -11
- package/dist/react/drill/drawer-context.mjs +5 -0
- package/dist/react/drill/item-parts.mjs +53 -35
- package/dist/react/drill/item-type.d.mts +2 -2
- package/dist/react/drill/lazy.d.mts +1 -4
- package/dist/react/drill/lazy.mjs +29 -11
- package/dist/react/drill/panel-focus.mjs +18 -7
- package/dist/react/drill/props.d.mts +7 -1
- package/dist/react/drill/props.mjs +39 -8
- package/dist/react/drill/record-page.mjs +61 -0
- package/dist/react/drill/state.mjs +17 -2
- package/dist/react/drill/trend-touch.mjs +33 -0
- package/dist/react/drill/useDrill.d.mts +3 -3
- package/dist/react/drill/useDrill.mjs +35 -15
- package/dist/react/drill/words.d.mts +14 -0
- package/dist/react/drill/words.mjs +19 -7
- package/dist/react/english.d.mts +1 -0
- package/dist/react/english.mjs +1 -0
- package/dist/react/filters/chip.mjs +2 -2
- package/dist/react/filters/menu-search.mjs +5 -5
- package/dist/react/filters/menu.mjs +2 -2
- package/dist/react/filters/number.mjs +2 -2
- package/dist/react/filters/operator.mjs +2 -2
- package/dist/react/filters/phone.mjs +2 -2
- package/dist/react/filters/values.mjs +4 -4
- package/dist/react/format-time.d.mts +1 -0
- package/dist/react/format-time.mjs +39 -33
- package/dist/react/format.mjs +10 -1
- package/dist/react/renderers/list.mjs +8 -10
- package/dist/react/renderers/table-cells.mjs +38 -9
- package/dist/react/renderers/table-measure.mjs +2 -0
- package/dist/react/renderers/table-row.mjs +64 -7
- package/dist/react/renderers/table-sort.mjs +2 -8
- package/dist/react/renderers/table.mjs +16 -15
- package/dist/react/theme-unlayered.css +1 -3148
- package/dist/react/theme.css +1 -3150
- package/dist/recharts/parts.mjs +1 -1
- package/dist/skills/derive-dashboards/SKILL.md +4 -2
- package/dist/store/apply.mjs +2 -2
- package/dist/store/editor.mjs +2 -2
- package/dist/store/writer.mjs +2 -2
- package/package.json +1 -1
|
@@ -2503,10 +2503,14 @@ export declare const answerSchemas: {
|
|
|
2503
2503
|
entry: z.ZodExactOptional<z.ZodString>;
|
|
2504
2504
|
execution: z.ZodString;
|
|
2505
2505
|
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
2506
|
-
view: z.
|
|
2506
|
+
view: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2507
2507
|
by: z.ZodLiteral<"breakdown">;
|
|
2508
2508
|
member: z.ZodExactOptional<z.ZodString>;
|
|
2509
2509
|
search: z.ZodExactOptional<z.ZodString>;
|
|
2510
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2511
|
+
by: z.ZodLiteral<"comparison">;
|
|
2512
|
+
member: z.ZodString;
|
|
2513
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
2510
2514
|
}, z.core.$strict>, z.ZodObject<{
|
|
2511
2515
|
by: z.ZodLiteral<"trend">;
|
|
2512
2516
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -2519,14 +2523,19 @@ export declare const answerSchemas: {
|
|
|
2519
2523
|
}>>;
|
|
2520
2524
|
}, z.core.$strict>, z.ZodObject<{
|
|
2521
2525
|
by: z.ZodLiteral<"items">;
|
|
2526
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2522
2527
|
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2523
2528
|
}, z.core.$strict>, z.ZodObject<{
|
|
2524
2529
|
by: z.ZodLiteral<"explanation">;
|
|
2525
|
-
}, z.core.$strict>]>;
|
|
2526
|
-
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.
|
|
2530
|
+
}, z.core.$strict>], "by">;
|
|
2531
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2527
2532
|
by: z.ZodLiteral<"breakdown">;
|
|
2528
2533
|
member: z.ZodExactOptional<z.ZodString>;
|
|
2529
2534
|
search: z.ZodExactOptional<z.ZodString>;
|
|
2535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2536
|
+
by: z.ZodLiteral<"comparison">;
|
|
2537
|
+
member: z.ZodString;
|
|
2538
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
2530
2539
|
}, z.core.$strict>, z.ZodObject<{
|
|
2531
2540
|
by: z.ZodLiteral<"trend">;
|
|
2532
2541
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -2539,10 +2548,11 @@ export declare const answerSchemas: {
|
|
|
2539
2548
|
}>>;
|
|
2540
2549
|
}, z.core.$strict>, z.ZodObject<{
|
|
2541
2550
|
by: z.ZodLiteral<"items">;
|
|
2551
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2542
2552
|
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2543
2553
|
}, z.core.$strict>, z.ZodObject<{
|
|
2544
2554
|
by: z.ZodLiteral<"explanation">;
|
|
2545
|
-
}, z.core.$strict>]>>>>;
|
|
2555
|
+
}, z.core.$strict>], "by">>>>;
|
|
2546
2556
|
}, z.core.$strict>;
|
|
2547
2557
|
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
2548
2558
|
by: z.ZodEnum<{
|
|
@@ -2759,6 +2769,7 @@ export declare const answerSchemas: {
|
|
|
2759
2769
|
quarter: "quarter";
|
|
2760
2770
|
year: "year";
|
|
2761
2771
|
}>>>;
|
|
2772
|
+
throughNow: z.ZodExactOptional<z.ZodBoolean>;
|
|
2762
2773
|
rankedBy: z.ZodExactOptional<z.ZodString>;
|
|
2763
2774
|
change: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
2764
2775
|
searchable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
@@ -2985,10 +2996,14 @@ export declare const answerSchemas: {
|
|
|
2985
2996
|
entry: z.ZodExactOptional<z.ZodString>;
|
|
2986
2997
|
execution: z.ZodString;
|
|
2987
2998
|
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
2988
|
-
view: z.
|
|
2999
|
+
view: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2989
3000
|
by: z.ZodLiteral<"breakdown">;
|
|
2990
3001
|
member: z.ZodExactOptional<z.ZodString>;
|
|
2991
3002
|
search: z.ZodExactOptional<z.ZodString>;
|
|
3003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3004
|
+
by: z.ZodLiteral<"comparison">;
|
|
3005
|
+
member: z.ZodString;
|
|
3006
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
2992
3007
|
}, z.core.$strict>, z.ZodObject<{
|
|
2993
3008
|
by: z.ZodLiteral<"trend">;
|
|
2994
3009
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -3001,14 +3016,19 @@ export declare const answerSchemas: {
|
|
|
3001
3016
|
}>>;
|
|
3002
3017
|
}, z.core.$strict>, z.ZodObject<{
|
|
3003
3018
|
by: z.ZodLiteral<"items">;
|
|
3019
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3004
3020
|
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3005
3021
|
}, z.core.$strict>, z.ZodObject<{
|
|
3006
3022
|
by: z.ZodLiteral<"explanation">;
|
|
3007
|
-
}, z.core.$strict>]>;
|
|
3008
|
-
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.
|
|
3023
|
+
}, z.core.$strict>], "by">;
|
|
3024
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3009
3025
|
by: z.ZodLiteral<"breakdown">;
|
|
3010
3026
|
member: z.ZodExactOptional<z.ZodString>;
|
|
3011
3027
|
search: z.ZodExactOptional<z.ZodString>;
|
|
3028
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3029
|
+
by: z.ZodLiteral<"comparison">;
|
|
3030
|
+
member: z.ZodString;
|
|
3031
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
3012
3032
|
}, z.core.$strict>, z.ZodObject<{
|
|
3013
3033
|
by: z.ZodLiteral<"trend">;
|
|
3014
3034
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -3021,10 +3041,11 @@ export declare const answerSchemas: {
|
|
|
3021
3041
|
}>>;
|
|
3022
3042
|
}, z.core.$strict>, z.ZodObject<{
|
|
3023
3043
|
by: z.ZodLiteral<"items">;
|
|
3044
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3024
3045
|
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3025
3046
|
}, z.core.$strict>, z.ZodObject<{
|
|
3026
3047
|
by: z.ZodLiteral<"explanation">;
|
|
3027
|
-
}, z.core.$strict>]>>>>;
|
|
3048
|
+
}, z.core.$strict>], "by">>>>;
|
|
3028
3049
|
}, z.core.$strict>>;
|
|
3029
3050
|
can: z.ZodUnion<readonly [z.ZodObject<{
|
|
3030
3051
|
ok: z.ZodLiteral<true>;
|
|
@@ -3051,193 +3072,9 @@ export declare const answerSchemas: {
|
|
|
3051
3072
|
reason: z.ZodString;
|
|
3052
3073
|
}, z.core.$loose>]>;
|
|
3053
3074
|
}, z.core.$loose>>;
|
|
3054
|
-
}, z.core.$loose
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
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<{
|
|
3058
|
-
t: z.ZodEnum<{
|
|
3059
|
-
decimal: "decimal";
|
|
3060
|
-
int: "int";
|
|
3061
|
-
}>;
|
|
3062
|
-
v: z.ZodString;
|
|
3063
|
-
}, z.core.$loose>]>, z.ZodObject<{
|
|
3064
|
-
mark: z.ZodEnum<{
|
|
3065
|
-
all: "all";
|
|
3066
|
-
other: "other";
|
|
3067
|
-
}>;
|
|
3068
|
-
}, z.core.$loose>]>>>>>;
|
|
3069
|
-
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3070
|
-
id: z.ZodString;
|
|
3071
|
-
role: z.ZodEnum<{
|
|
3072
|
-
time: "time";
|
|
3073
|
-
dimension: "dimension";
|
|
3074
|
-
measure: "measure";
|
|
3075
|
-
calc: "calc";
|
|
3076
|
-
}>;
|
|
3077
|
-
label: z.ZodString;
|
|
3078
|
-
type: z.ZodEnum<{
|
|
3079
|
-
string: "string";
|
|
3080
|
-
number: "number";
|
|
3081
|
-
boolean: "boolean";
|
|
3082
|
-
time: "time";
|
|
3083
|
-
float: "float";
|
|
3084
|
-
decimal: "decimal";
|
|
3085
|
-
int: "int";
|
|
3086
|
-
}>;
|
|
3087
|
-
unit: z.ZodExactOptional<z.ZodString>;
|
|
3088
|
-
member: z.ZodExactOptional<z.ZodString>;
|
|
3089
|
-
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3090
|
-
hour: "hour";
|
|
3091
|
-
day: "day";
|
|
3092
|
-
week: "week";
|
|
3093
|
-
month: "month";
|
|
3094
|
-
quarter: "quarter";
|
|
3095
|
-
year: "year";
|
|
3096
|
-
}>>;
|
|
3097
|
-
values: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
3098
|
-
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3099
|
-
number: "number";
|
|
3100
|
-
percent: "percent";
|
|
3101
|
-
currency: "currency";
|
|
3102
|
-
duration: "duration";
|
|
3103
|
-
}>>;
|
|
3104
|
-
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3105
|
-
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3106
|
-
additive: z.ZodExactOptional<z.ZodBoolean>;
|
|
3107
|
-
}, z.core.$loose>>>;
|
|
3108
|
-
time: z.ZodExactOptional<z.ZodObject<{
|
|
3109
|
-
grain: z.ZodEnum<{
|
|
3110
|
-
hour: "hour";
|
|
3111
|
-
day: "day";
|
|
3112
|
-
week: "week";
|
|
3113
|
-
month: "month";
|
|
3114
|
-
quarter: "quarter";
|
|
3115
|
-
year: "year";
|
|
3116
|
-
}>;
|
|
3117
|
-
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3118
|
-
label: z.ZodString;
|
|
3119
|
-
from: z.ZodString;
|
|
3120
|
-
to: z.ZodString;
|
|
3121
|
-
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3122
|
-
start: "start";
|
|
3123
|
-
end: "end";
|
|
3124
|
-
both: "both";
|
|
3125
|
-
}>>;
|
|
3126
|
-
}, z.core.$loose>>>;
|
|
3127
|
-
}, z.core.$loose>>;
|
|
3128
|
-
compare: z.ZodExactOptional<z.ZodObject<{
|
|
3129
|
-
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<{
|
|
3130
|
-
t: z.ZodEnum<{
|
|
3131
|
-
decimal: "decimal";
|
|
3132
|
-
int: "int";
|
|
3133
|
-
}>;
|
|
3134
|
-
v: z.ZodString;
|
|
3135
|
-
}, z.core.$loose>]>, z.ZodObject<{
|
|
3136
|
-
mark: z.ZodEnum<{
|
|
3137
|
-
all: "all";
|
|
3138
|
-
other: "other";
|
|
3139
|
-
}>;
|
|
3140
|
-
}, z.core.$loose>]>>>>>;
|
|
3141
|
-
range: z.ZodObject<{
|
|
3142
|
-
from: z.ZodString;
|
|
3143
|
-
to: z.ZodString;
|
|
3144
|
-
}, z.core.$loose>;
|
|
3145
|
-
time: z.ZodExactOptional<z.ZodObject<{
|
|
3146
|
-
grain: z.ZodEnum<{
|
|
3147
|
-
hour: "hour";
|
|
3148
|
-
day: "day";
|
|
3149
|
-
week: "week";
|
|
3150
|
-
month: "month";
|
|
3151
|
-
quarter: "quarter";
|
|
3152
|
-
year: "year";
|
|
3153
|
-
}>;
|
|
3154
|
-
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3155
|
-
label: z.ZodString;
|
|
3156
|
-
from: z.ZodString;
|
|
3157
|
-
to: z.ZodString;
|
|
3158
|
-
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3159
|
-
start: "start";
|
|
3160
|
-
end: "end";
|
|
3161
|
-
both: "both";
|
|
3162
|
-
}>>;
|
|
3163
|
-
}, z.core.$loose>>>;
|
|
3164
|
-
}, z.core.$loose>>;
|
|
3165
|
-
}, z.core.$loose>>;
|
|
3166
|
-
status: z.ZodEnum<{
|
|
3167
|
-
complete: "complete";
|
|
3168
|
-
truncated: "truncated";
|
|
3169
|
-
}>;
|
|
3170
|
-
receipt: z.ZodObject<{
|
|
3171
|
-
queryHash: z.ZodString;
|
|
3172
|
-
provider: z.ZodString;
|
|
3173
|
-
trust: z.ZodEnum<{
|
|
3174
|
-
external: "external";
|
|
3175
|
-
builtin: "builtin";
|
|
3176
|
-
}>;
|
|
3177
|
-
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3178
|
-
answeredBy: z.ZodString;
|
|
3179
|
-
cache: z.ZodEnum<{
|
|
3180
|
-
hit: "hit";
|
|
3181
|
-
stale: "stale";
|
|
3182
|
-
miss: "miss";
|
|
3183
|
-
off: "off";
|
|
3184
|
-
}>;
|
|
3185
|
-
range: z.ZodExactOptional<z.ZodObject<{
|
|
3186
|
-
from: z.ZodString;
|
|
3187
|
-
to: z.ZodString;
|
|
3188
|
-
}, z.core.$loose>>;
|
|
3189
|
-
calendar: z.ZodObject<{
|
|
3190
|
-
timezone: z.ZodString;
|
|
3191
|
-
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
3192
|
-
fiscalYearStartMonth: z.ZodNumber;
|
|
3193
|
-
}, z.core.$loose>;
|
|
3194
|
-
dataThrough: z.ZodString;
|
|
3195
|
-
computedAt: z.ZodString;
|
|
3196
|
-
consistency: z.ZodEnum<{
|
|
3197
|
-
snapshot: "snapshot";
|
|
3198
|
-
statement: "statement";
|
|
3199
|
-
mixed: "mixed";
|
|
3200
|
-
}>;
|
|
3201
|
-
durationMs: z.ZodNumber;
|
|
3202
|
-
rowsReturned: z.ZodNumber;
|
|
3203
|
-
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
3204
|
-
coverage: z.ZodObject<{
|
|
3205
|
-
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3206
|
-
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3207
|
-
}, z.core.$loose>;
|
|
3208
|
-
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3209
|
-
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
3210
|
-
message: z.ZodString;
|
|
3211
|
-
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3212
|
-
}, z.core.$loose>>>;
|
|
3213
|
-
}, z.core.$loose>;
|
|
3214
|
-
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3215
|
-
drill: z.ZodExactOptional<z.ZodObject<{
|
|
3216
|
-
answer: z.ZodString;
|
|
3217
|
-
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3218
|
-
row: z.ZodInt;
|
|
3219
|
-
code: z.ZodEnum<{
|
|
3220
|
-
ROW_CAP: "ROW_CAP";
|
|
3221
|
-
NO_FIELD: "NO_FIELD";
|
|
3222
|
-
NO_TIME: "NO_TIME";
|
|
3223
|
-
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3224
|
-
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3225
|
-
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3226
|
-
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3227
|
-
NOT_FORMULA: "NOT_FORMULA";
|
|
3228
|
-
SNAPSHOT: "SNAPSHOT";
|
|
3229
|
-
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3230
|
-
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3231
|
-
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3232
|
-
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3233
|
-
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3234
|
-
OTHER_CUT: "OTHER_CUT";
|
|
3235
|
-
SOURCE_OFF: "SOURCE_OFF";
|
|
3236
|
-
}>;
|
|
3237
|
-
reason: z.ZodString;
|
|
3238
|
-
}, z.core.$loose>>>;
|
|
3239
|
-
execution: z.ZodString;
|
|
3240
|
-
previous: z.ZodExactOptional<z.ZodObject<{
|
|
3075
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3076
|
+
by: z.ZodLiteral<"comparison">;
|
|
3077
|
+
drill: z.ZodObject<{
|
|
3241
3078
|
answer: z.ZodString;
|
|
3242
3079
|
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3243
3080
|
row: z.ZodInt;
|
|
@@ -3261,151 +3098,179 @@ export declare const answerSchemas: {
|
|
|
3261
3098
|
}>;
|
|
3262
3099
|
reason: z.ZodString;
|
|
3263
3100
|
}, z.core.$loose>>>;
|
|
3101
|
+
}, z.core.$loose>;
|
|
3102
|
+
thenBy: z.ZodExactOptional<z.ZodObject<{
|
|
3103
|
+
id: z.ZodString;
|
|
3104
|
+
label: z.ZodString;
|
|
3264
3105
|
}, z.core.$loose>>;
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3106
|
+
omitted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3107
|
+
foreign: z.ZodExactOptional<z.ZodNever>;
|
|
3108
|
+
answer: z.ZodObject<{
|
|
3109
|
+
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<{
|
|
3110
|
+
t: z.ZodEnum<{
|
|
3111
|
+
decimal: "decimal";
|
|
3112
|
+
int: "int";
|
|
3113
|
+
}>;
|
|
3114
|
+
v: z.ZodString;
|
|
3115
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3116
|
+
mark: z.ZodEnum<{
|
|
3117
|
+
all: "all";
|
|
3118
|
+
other: "other";
|
|
3119
|
+
}>;
|
|
3120
|
+
}, z.core.$loose>]>>>>>;
|
|
3121
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3122
|
+
id: z.ZodString;
|
|
3123
|
+
role: z.ZodEnum<{
|
|
3124
|
+
time: "time";
|
|
3125
|
+
dimension: "dimension";
|
|
3126
|
+
measure: "measure";
|
|
3127
|
+
calc: "calc";
|
|
3128
|
+
}>;
|
|
3129
|
+
label: z.ZodString;
|
|
3130
|
+
type: z.ZodEnum<{
|
|
3131
|
+
string: "string";
|
|
3132
|
+
number: "number";
|
|
3133
|
+
boolean: "boolean";
|
|
3134
|
+
time: "time";
|
|
3135
|
+
float: "float";
|
|
3136
|
+
decimal: "decimal";
|
|
3137
|
+
int: "int";
|
|
3138
|
+
}>;
|
|
3139
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
3140
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3141
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3142
|
+
hour: "hour";
|
|
3143
|
+
day: "day";
|
|
3144
|
+
week: "week";
|
|
3145
|
+
month: "month";
|
|
3146
|
+
quarter: "quarter";
|
|
3147
|
+
year: "year";
|
|
3148
|
+
}>>;
|
|
3149
|
+
values: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
3150
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3151
|
+
number: "number";
|
|
3152
|
+
percent: "percent";
|
|
3153
|
+
currency: "currency";
|
|
3154
|
+
duration: "duration";
|
|
3155
|
+
}>>;
|
|
3156
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3157
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3158
|
+
additive: z.ZodExactOptional<z.ZodBoolean>;
|
|
3159
|
+
}, z.core.$loose>>>;
|
|
3160
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3161
|
+
grain: z.ZodEnum<{
|
|
3162
|
+
hour: "hour";
|
|
3163
|
+
day: "day";
|
|
3164
|
+
week: "week";
|
|
3165
|
+
month: "month";
|
|
3166
|
+
quarter: "quarter";
|
|
3167
|
+
year: "year";
|
|
3168
|
+
}>;
|
|
3169
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3170
|
+
label: z.ZodString;
|
|
3171
|
+
from: z.ZodString;
|
|
3172
|
+
to: z.ZodString;
|
|
3173
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3174
|
+
start: "start";
|
|
3175
|
+
end: "end";
|
|
3176
|
+
both: "both";
|
|
3177
|
+
}>>;
|
|
3178
|
+
}, z.core.$loose>>>;
|
|
3179
|
+
}, z.core.$loose>>;
|
|
3180
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
3181
|
+
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<{
|
|
3182
|
+
t: z.ZodEnum<{
|
|
3183
|
+
decimal: "decimal";
|
|
3184
|
+
int: "int";
|
|
3185
|
+
}>;
|
|
3186
|
+
v: z.ZodString;
|
|
3187
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3188
|
+
mark: z.ZodEnum<{
|
|
3189
|
+
all: "all";
|
|
3190
|
+
other: "other";
|
|
3191
|
+
}>;
|
|
3192
|
+
}, z.core.$loose>]>>>>>;
|
|
3193
|
+
range: z.ZodObject<{
|
|
3194
|
+
from: z.ZodString;
|
|
3195
|
+
to: z.ZodString;
|
|
3196
|
+
}, z.core.$loose>;
|
|
3197
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3198
|
+
grain: z.ZodEnum<{
|
|
3199
|
+
hour: "hour";
|
|
3200
|
+
day: "day";
|
|
3201
|
+
week: "week";
|
|
3202
|
+
month: "month";
|
|
3203
|
+
quarter: "quarter";
|
|
3204
|
+
year: "year";
|
|
3205
|
+
}>;
|
|
3206
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3207
|
+
label: z.ZodString;
|
|
3208
|
+
from: z.ZodString;
|
|
3209
|
+
to: z.ZodString;
|
|
3210
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3211
|
+
start: "start";
|
|
3212
|
+
end: "end";
|
|
3213
|
+
both: "both";
|
|
3214
|
+
}>>;
|
|
3215
|
+
}, z.core.$loose>>>;
|
|
3216
|
+
}, z.core.$loose>>;
|
|
3217
|
+
}, z.core.$loose>>;
|
|
3218
|
+
status: z.ZodEnum<{
|
|
3219
|
+
complete: "complete";
|
|
3220
|
+
truncated: "truncated";
|
|
3328
3221
|
}>;
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
3336
|
-
ok: z.ZodLiteral<false>;
|
|
3337
|
-
code: z.ZodEnum<{
|
|
3338
|
-
ROW_CAP: "ROW_CAP";
|
|
3339
|
-
NO_FIELD: "NO_FIELD";
|
|
3340
|
-
NO_TIME: "NO_TIME";
|
|
3341
|
-
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3342
|
-
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3343
|
-
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3344
|
-
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3345
|
-
NOT_FORMULA: "NOT_FORMULA";
|
|
3346
|
-
SNAPSHOT: "SNAPSHOT";
|
|
3347
|
-
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3348
|
-
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3349
|
-
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3350
|
-
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3351
|
-
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3352
|
-
OTHER_CUT: "OTHER_CUT";
|
|
3353
|
-
SOURCE_OFF: "SOURCE_OFF";
|
|
3222
|
+
receipt: z.ZodObject<{
|
|
3223
|
+
queryHash: z.ZodString;
|
|
3224
|
+
provider: z.ZodString;
|
|
3225
|
+
trust: z.ZodEnum<{
|
|
3226
|
+
external: "external";
|
|
3227
|
+
builtin: "builtin";
|
|
3354
3228
|
}>;
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
ROW_CAP: "ROW_CAP";
|
|
3363
|
-
NO_FIELD: "NO_FIELD";
|
|
3364
|
-
NO_TIME: "NO_TIME";
|
|
3365
|
-
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3366
|
-
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3367
|
-
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3368
|
-
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3369
|
-
NOT_FORMULA: "NOT_FORMULA";
|
|
3370
|
-
SNAPSHOT: "SNAPSHOT";
|
|
3371
|
-
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3372
|
-
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3373
|
-
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3374
|
-
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3375
|
-
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3376
|
-
OTHER_CUT: "OTHER_CUT";
|
|
3377
|
-
SOURCE_OFF: "SOURCE_OFF";
|
|
3229
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3230
|
+
answeredBy: z.ZodString;
|
|
3231
|
+
cache: z.ZodEnum<{
|
|
3232
|
+
hit: "hit";
|
|
3233
|
+
stale: "stale";
|
|
3234
|
+
miss: "miss";
|
|
3235
|
+
off: "off";
|
|
3378
3236
|
}>;
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
SNAPSHOT: "SNAPSHOT";
|
|
3395
|
-
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3396
|
-
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3397
|
-
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3398
|
-
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3399
|
-
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3400
|
-
OTHER_CUT: "OTHER_CUT";
|
|
3401
|
-
SOURCE_OFF: "SOURCE_OFF";
|
|
3237
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3238
|
+
from: z.ZodString;
|
|
3239
|
+
to: z.ZodString;
|
|
3240
|
+
}, z.core.$loose>>;
|
|
3241
|
+
calendar: z.ZodObject<{
|
|
3242
|
+
timezone: z.ZodString;
|
|
3243
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
3244
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
3245
|
+
}, z.core.$loose>;
|
|
3246
|
+
dataThrough: z.ZodString;
|
|
3247
|
+
computedAt: z.ZodString;
|
|
3248
|
+
consistency: z.ZodEnum<{
|
|
3249
|
+
snapshot: "snapshot";
|
|
3250
|
+
statement: "statement";
|
|
3251
|
+
mixed: "mixed";
|
|
3402
3252
|
}>;
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3253
|
+
durationMs: z.ZodNumber;
|
|
3254
|
+
rowsReturned: z.ZodNumber;
|
|
3255
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
3256
|
+
coverage: z.ZodObject<{
|
|
3257
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3258
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3259
|
+
}, z.core.$loose>;
|
|
3260
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3261
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
3262
|
+
message: z.ZodString;
|
|
3263
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3264
|
+
}, z.core.$loose>>>;
|
|
3265
|
+
}, z.core.$loose>;
|
|
3266
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3267
|
+
}, z.core.$loose>;
|
|
3268
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3269
|
+
by: z.ZodLiteral<"comparison">;
|
|
3270
|
+
drill: z.ZodObject<{
|
|
3271
|
+
answer: z.ZodString;
|
|
3272
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3273
|
+
row: z.ZodInt;
|
|
3409
3274
|
code: z.ZodEnum<{
|
|
3410
3275
|
ROW_CAP: "ROW_CAP";
|
|
3411
3276
|
NO_FIELD: "NO_FIELD";
|
|
@@ -3425,17 +3290,559 @@ export declare const answerSchemas: {
|
|
|
3425
3290
|
SOURCE_OFF: "SOURCE_OFF";
|
|
3426
3291
|
}>;
|
|
3427
3292
|
reason: z.ZodString;
|
|
3428
|
-
}, z.core.$loose
|
|
3293
|
+
}, z.core.$loose>>>;
|
|
3429
3294
|
}, z.core.$loose>;
|
|
3430
|
-
|
|
3295
|
+
thenBy: z.ZodExactOptional<z.ZodObject<{
|
|
3431
3296
|
id: z.ZodString;
|
|
3432
3297
|
label: z.ZodString;
|
|
3433
3298
|
}, z.core.$loose>>;
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3299
|
+
omitted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3300
|
+
foreign: z.ZodLiteral<true>;
|
|
3301
|
+
answer: z.ZodObject<{
|
|
3302
|
+
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<{
|
|
3303
|
+
t: z.ZodEnum<{
|
|
3304
|
+
decimal: "decimal";
|
|
3305
|
+
int: "int";
|
|
3306
|
+
}>;
|
|
3307
|
+
v: z.ZodString;
|
|
3308
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3309
|
+
mark: z.ZodEnum<{
|
|
3310
|
+
all: "all";
|
|
3311
|
+
other: "other";
|
|
3312
|
+
}>;
|
|
3313
|
+
}, z.core.$loose>]>>>>>;
|
|
3314
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3315
|
+
id: z.ZodString;
|
|
3316
|
+
role: z.ZodEnum<{
|
|
3317
|
+
time: "time";
|
|
3318
|
+
dimension: "dimension";
|
|
3319
|
+
measure: "measure";
|
|
3320
|
+
calc: "calc";
|
|
3321
|
+
}>;
|
|
3322
|
+
label: z.ZodString;
|
|
3323
|
+
type: z.ZodEnum<{
|
|
3324
|
+
string: "string";
|
|
3325
|
+
number: "number";
|
|
3326
|
+
boolean: "boolean";
|
|
3327
|
+
time: "time";
|
|
3328
|
+
float: "float";
|
|
3329
|
+
decimal: "decimal";
|
|
3330
|
+
int: "int";
|
|
3331
|
+
}>;
|
|
3332
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
3333
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3334
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3335
|
+
hour: "hour";
|
|
3336
|
+
day: "day";
|
|
3337
|
+
week: "week";
|
|
3338
|
+
month: "month";
|
|
3339
|
+
quarter: "quarter";
|
|
3340
|
+
year: "year";
|
|
3341
|
+
}>>;
|
|
3342
|
+
values: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
3343
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3344
|
+
number: "number";
|
|
3345
|
+
percent: "percent";
|
|
3346
|
+
currency: "currency";
|
|
3347
|
+
duration: "duration";
|
|
3348
|
+
}>>;
|
|
3349
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3350
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3351
|
+
additive: z.ZodExactOptional<z.ZodBoolean>;
|
|
3352
|
+
}, z.core.$loose>>>;
|
|
3353
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3354
|
+
grain: z.ZodEnum<{
|
|
3355
|
+
hour: "hour";
|
|
3356
|
+
day: "day";
|
|
3357
|
+
week: "week";
|
|
3358
|
+
month: "month";
|
|
3359
|
+
quarter: "quarter";
|
|
3360
|
+
year: "year";
|
|
3361
|
+
}>;
|
|
3362
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3363
|
+
label: z.ZodString;
|
|
3364
|
+
from: z.ZodString;
|
|
3365
|
+
to: z.ZodString;
|
|
3366
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3367
|
+
start: "start";
|
|
3368
|
+
end: "end";
|
|
3369
|
+
both: "both";
|
|
3370
|
+
}>>;
|
|
3371
|
+
}, z.core.$loose>>>;
|
|
3372
|
+
}, z.core.$loose>>;
|
|
3373
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
3374
|
+
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<{
|
|
3375
|
+
t: z.ZodEnum<{
|
|
3376
|
+
decimal: "decimal";
|
|
3377
|
+
int: "int";
|
|
3378
|
+
}>;
|
|
3379
|
+
v: z.ZodString;
|
|
3380
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3381
|
+
mark: z.ZodEnum<{
|
|
3382
|
+
all: "all";
|
|
3383
|
+
other: "other";
|
|
3384
|
+
}>;
|
|
3385
|
+
}, z.core.$loose>]>>>>>;
|
|
3386
|
+
range: z.ZodObject<{
|
|
3387
|
+
from: z.ZodString;
|
|
3388
|
+
to: z.ZodString;
|
|
3389
|
+
}, z.core.$loose>;
|
|
3390
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3391
|
+
grain: z.ZodEnum<{
|
|
3392
|
+
hour: "hour";
|
|
3393
|
+
day: "day";
|
|
3394
|
+
week: "week";
|
|
3395
|
+
month: "month";
|
|
3396
|
+
quarter: "quarter";
|
|
3397
|
+
year: "year";
|
|
3398
|
+
}>;
|
|
3399
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3400
|
+
label: z.ZodString;
|
|
3401
|
+
from: z.ZodString;
|
|
3402
|
+
to: z.ZodString;
|
|
3403
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3404
|
+
start: "start";
|
|
3405
|
+
end: "end";
|
|
3406
|
+
both: "both";
|
|
3407
|
+
}>>;
|
|
3408
|
+
}, z.core.$loose>>>;
|
|
3409
|
+
}, z.core.$loose>>;
|
|
3410
|
+
}, z.core.$loose>>;
|
|
3411
|
+
status: z.ZodEnum<{
|
|
3412
|
+
complete: "complete";
|
|
3413
|
+
truncated: "truncated";
|
|
3414
|
+
}>;
|
|
3415
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3416
|
+
receipt: z.ZodObject<{
|
|
3417
|
+
provider: z.ZodString;
|
|
3418
|
+
trust: z.ZodEnum<{
|
|
3419
|
+
external: "external";
|
|
3420
|
+
builtin: "builtin";
|
|
3421
|
+
}>;
|
|
3422
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3423
|
+
answeredBy: z.ZodString;
|
|
3424
|
+
cache: z.ZodEnum<{
|
|
3425
|
+
hit: "hit";
|
|
3426
|
+
stale: "stale";
|
|
3427
|
+
miss: "miss";
|
|
3428
|
+
off: "off";
|
|
3429
|
+
}>;
|
|
3430
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3431
|
+
from: z.ZodString;
|
|
3432
|
+
to: z.ZodString;
|
|
3433
|
+
}, z.core.$loose>>;
|
|
3434
|
+
calendar: z.ZodObject<{
|
|
3435
|
+
timezone: z.ZodString;
|
|
3436
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
3437
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
3438
|
+
}, z.core.$loose>;
|
|
3439
|
+
dataThrough: z.ZodString;
|
|
3440
|
+
computedAt: z.ZodString;
|
|
3441
|
+
consistency: z.ZodEnum<{
|
|
3442
|
+
snapshot: "snapshot";
|
|
3443
|
+
statement: "statement";
|
|
3444
|
+
mixed: "mixed";
|
|
3445
|
+
}>;
|
|
3446
|
+
durationMs: z.ZodNumber;
|
|
3447
|
+
rowsReturned: z.ZodNumber;
|
|
3448
|
+
coverage: z.ZodObject<{
|
|
3449
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3450
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3451
|
+
}, z.core.$loose>;
|
|
3452
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3453
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
3454
|
+
message: z.ZodString;
|
|
3455
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3456
|
+
}, z.core.$loose>>>;
|
|
3457
|
+
queryHash: z.ZodExactOptional<z.ZodNever>;
|
|
3458
|
+
filter: z.ZodExactOptional<z.ZodNever>;
|
|
3459
|
+
}, z.core.$loose>;
|
|
3460
|
+
}, z.core.$loose>;
|
|
3461
|
+
}, z.core.$loose>]>;
|
|
3462
|
+
}, z.core.$loose>;
|
|
3463
|
+
"/query/run": z.ZodObject<{
|
|
3464
|
+
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<{
|
|
3465
|
+
t: z.ZodEnum<{
|
|
3466
|
+
decimal: "decimal";
|
|
3467
|
+
int: "int";
|
|
3468
|
+
}>;
|
|
3469
|
+
v: z.ZodString;
|
|
3470
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3471
|
+
mark: z.ZodEnum<{
|
|
3472
|
+
all: "all";
|
|
3473
|
+
other: "other";
|
|
3474
|
+
}>;
|
|
3475
|
+
}, z.core.$loose>]>>>>>;
|
|
3476
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3477
|
+
id: z.ZodString;
|
|
3478
|
+
role: z.ZodEnum<{
|
|
3479
|
+
time: "time";
|
|
3480
|
+
dimension: "dimension";
|
|
3481
|
+
measure: "measure";
|
|
3482
|
+
calc: "calc";
|
|
3483
|
+
}>;
|
|
3484
|
+
label: z.ZodString;
|
|
3485
|
+
type: z.ZodEnum<{
|
|
3486
|
+
string: "string";
|
|
3487
|
+
number: "number";
|
|
3488
|
+
boolean: "boolean";
|
|
3489
|
+
time: "time";
|
|
3490
|
+
float: "float";
|
|
3491
|
+
decimal: "decimal";
|
|
3492
|
+
int: "int";
|
|
3493
|
+
}>;
|
|
3494
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
3495
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
3496
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
3497
|
+
hour: "hour";
|
|
3498
|
+
day: "day";
|
|
3499
|
+
week: "week";
|
|
3500
|
+
month: "month";
|
|
3501
|
+
quarter: "quarter";
|
|
3502
|
+
year: "year";
|
|
3503
|
+
}>>;
|
|
3504
|
+
values: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
3505
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
3506
|
+
number: "number";
|
|
3507
|
+
percent: "percent";
|
|
3508
|
+
currency: "currency";
|
|
3509
|
+
duration: "duration";
|
|
3510
|
+
}>>;
|
|
3511
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3512
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3513
|
+
additive: z.ZodExactOptional<z.ZodBoolean>;
|
|
3514
|
+
}, z.core.$loose>>>;
|
|
3515
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3516
|
+
grain: z.ZodEnum<{
|
|
3517
|
+
hour: "hour";
|
|
3518
|
+
day: "day";
|
|
3519
|
+
week: "week";
|
|
3520
|
+
month: "month";
|
|
3521
|
+
quarter: "quarter";
|
|
3522
|
+
year: "year";
|
|
3523
|
+
}>;
|
|
3524
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3525
|
+
label: z.ZodString;
|
|
3526
|
+
from: z.ZodString;
|
|
3527
|
+
to: z.ZodString;
|
|
3528
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3529
|
+
start: "start";
|
|
3530
|
+
end: "end";
|
|
3531
|
+
both: "both";
|
|
3532
|
+
}>>;
|
|
3533
|
+
}, z.core.$loose>>>;
|
|
3534
|
+
}, z.core.$loose>>;
|
|
3535
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
3536
|
+
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<{
|
|
3537
|
+
t: z.ZodEnum<{
|
|
3538
|
+
decimal: "decimal";
|
|
3539
|
+
int: "int";
|
|
3540
|
+
}>;
|
|
3541
|
+
v: z.ZodString;
|
|
3542
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
3543
|
+
mark: z.ZodEnum<{
|
|
3544
|
+
all: "all";
|
|
3545
|
+
other: "other";
|
|
3546
|
+
}>;
|
|
3547
|
+
}, z.core.$loose>]>>>>>;
|
|
3548
|
+
range: z.ZodObject<{
|
|
3549
|
+
from: z.ZodString;
|
|
3550
|
+
to: z.ZodString;
|
|
3551
|
+
}, z.core.$loose>;
|
|
3552
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
3553
|
+
grain: z.ZodEnum<{
|
|
3554
|
+
hour: "hour";
|
|
3555
|
+
day: "day";
|
|
3556
|
+
week: "week";
|
|
3557
|
+
month: "month";
|
|
3558
|
+
quarter: "quarter";
|
|
3559
|
+
year: "year";
|
|
3560
|
+
}>;
|
|
3561
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3562
|
+
label: z.ZodString;
|
|
3563
|
+
from: z.ZodString;
|
|
3564
|
+
to: z.ZodString;
|
|
3565
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
3566
|
+
start: "start";
|
|
3567
|
+
end: "end";
|
|
3568
|
+
both: "both";
|
|
3569
|
+
}>>;
|
|
3570
|
+
}, z.core.$loose>>>;
|
|
3571
|
+
}, z.core.$loose>>;
|
|
3572
|
+
}, z.core.$loose>>;
|
|
3573
|
+
status: z.ZodEnum<{
|
|
3574
|
+
complete: "complete";
|
|
3575
|
+
truncated: "truncated";
|
|
3576
|
+
}>;
|
|
3577
|
+
receipt: z.ZodObject<{
|
|
3578
|
+
queryHash: z.ZodString;
|
|
3579
|
+
provider: z.ZodString;
|
|
3580
|
+
trust: z.ZodEnum<{
|
|
3581
|
+
external: "external";
|
|
3582
|
+
builtin: "builtin";
|
|
3583
|
+
}>;
|
|
3584
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3585
|
+
answeredBy: z.ZodString;
|
|
3586
|
+
cache: z.ZodEnum<{
|
|
3587
|
+
hit: "hit";
|
|
3588
|
+
stale: "stale";
|
|
3589
|
+
miss: "miss";
|
|
3590
|
+
off: "off";
|
|
3591
|
+
}>;
|
|
3592
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
3593
|
+
from: z.ZodString;
|
|
3594
|
+
to: z.ZodString;
|
|
3595
|
+
}, z.core.$loose>>;
|
|
3596
|
+
calendar: z.ZodObject<{
|
|
3597
|
+
timezone: z.ZodString;
|
|
3598
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
3599
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
3600
|
+
}, z.core.$loose>;
|
|
3601
|
+
dataThrough: z.ZodString;
|
|
3602
|
+
computedAt: z.ZodString;
|
|
3603
|
+
consistency: z.ZodEnum<{
|
|
3604
|
+
snapshot: "snapshot";
|
|
3605
|
+
statement: "statement";
|
|
3606
|
+
mixed: "mixed";
|
|
3607
|
+
}>;
|
|
3608
|
+
durationMs: z.ZodNumber;
|
|
3609
|
+
rowsReturned: z.ZodNumber;
|
|
3610
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
3611
|
+
coverage: z.ZodObject<{
|
|
3612
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3613
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
3614
|
+
}, z.core.$loose>;
|
|
3615
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3616
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
3617
|
+
message: z.ZodString;
|
|
3618
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
3619
|
+
}, z.core.$loose>>>;
|
|
3620
|
+
}, z.core.$loose>;
|
|
3621
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3622
|
+
drill: z.ZodExactOptional<z.ZodObject<{
|
|
3623
|
+
answer: z.ZodString;
|
|
3624
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3625
|
+
row: z.ZodInt;
|
|
3626
|
+
code: z.ZodEnum<{
|
|
3627
|
+
ROW_CAP: "ROW_CAP";
|
|
3628
|
+
NO_FIELD: "NO_FIELD";
|
|
3629
|
+
NO_TIME: "NO_TIME";
|
|
3630
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3631
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3632
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3633
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3634
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3635
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3636
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3637
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3638
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3639
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3640
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3641
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3642
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3643
|
+
}>;
|
|
3644
|
+
reason: z.ZodString;
|
|
3645
|
+
}, z.core.$loose>>>;
|
|
3646
|
+
execution: z.ZodString;
|
|
3647
|
+
previous: z.ZodExactOptional<z.ZodObject<{
|
|
3648
|
+
answer: z.ZodString;
|
|
3649
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
3650
|
+
row: z.ZodInt;
|
|
3651
|
+
code: z.ZodEnum<{
|
|
3652
|
+
ROW_CAP: "ROW_CAP";
|
|
3653
|
+
NO_FIELD: "NO_FIELD";
|
|
3654
|
+
NO_TIME: "NO_TIME";
|
|
3655
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3656
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3657
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3658
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3659
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3660
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3661
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3662
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3663
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3664
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3665
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3666
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3667
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3668
|
+
}>;
|
|
3669
|
+
reason: z.ZodString;
|
|
3670
|
+
}, z.core.$loose>>>;
|
|
3671
|
+
}, z.core.$loose>>;
|
|
3672
|
+
code: z.ZodExactOptional<z.ZodEnum<{
|
|
3673
|
+
ROW_CAP: "ROW_CAP";
|
|
3674
|
+
NO_FIELD: "NO_FIELD";
|
|
3675
|
+
NO_TIME: "NO_TIME";
|
|
3676
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3677
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3678
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3679
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3680
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3681
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3682
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3683
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3684
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3685
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3686
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3687
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3688
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3689
|
+
}>>;
|
|
3690
|
+
reason: z.ZodExactOptional<z.ZodString>;
|
|
3691
|
+
}, z.core.$loose>>;
|
|
3692
|
+
}, z.core.$loose>;
|
|
3693
|
+
"/query/drill": z.ZodObject<{
|
|
3694
|
+
summary: z.ZodExactOptional<z.ZodObject<{
|
|
3695
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3696
|
+
t: z.ZodEnum<{
|
|
3697
|
+
decimal: "decimal";
|
|
3698
|
+
int: "int";
|
|
3699
|
+
}>;
|
|
3700
|
+
v: z.ZodString;
|
|
3701
|
+
}, z.core.$loose>]>;
|
|
3702
|
+
clicked: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3703
|
+
t: z.ZodEnum<{
|
|
3704
|
+
decimal: "decimal";
|
|
3705
|
+
int: "int";
|
|
3706
|
+
}>;
|
|
3707
|
+
v: z.ZodString;
|
|
3708
|
+
}, z.core.$loose>]>>;
|
|
3709
|
+
itemCount: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3710
|
+
t: z.ZodEnum<{
|
|
3711
|
+
decimal: "decimal";
|
|
3712
|
+
int: "int";
|
|
3713
|
+
}>;
|
|
3714
|
+
v: z.ZodString;
|
|
3715
|
+
}, z.core.$loose>]>>;
|
|
3716
|
+
semantics: z.ZodEnum<{
|
|
3717
|
+
ratio: "ratio";
|
|
3718
|
+
distinct: "distinct";
|
|
3719
|
+
rows: "rows";
|
|
3720
|
+
"non-null": "non-null";
|
|
3721
|
+
expression: "expression";
|
|
3722
|
+
}>;
|
|
3723
|
+
counted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3724
|
+
share: z.ZodExactOptional<z.ZodObject<{
|
|
3725
|
+
value: z.ZodNumber;
|
|
3726
|
+
of: z.ZodEnum<{
|
|
3727
|
+
parent: "parent";
|
|
3728
|
+
tile: "tile";
|
|
3729
|
+
}>;
|
|
3730
|
+
}, z.core.$loose>>;
|
|
3731
|
+
rows: z.ZodExactOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
|
|
3732
|
+
t: z.ZodEnum<{
|
|
3733
|
+
decimal: "decimal";
|
|
3734
|
+
int: "int";
|
|
3735
|
+
}>;
|
|
3736
|
+
v: z.ZodString;
|
|
3737
|
+
}, z.core.$loose>]>>;
|
|
3738
|
+
operand: z.ZodExactOptional<z.ZodString>;
|
|
3739
|
+
can: z.ZodObject<{
|
|
3740
|
+
breakdown: z.ZodUnion<readonly [z.ZodObject<{
|
|
3741
|
+
ok: z.ZodLiteral<true>;
|
|
3742
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3743
|
+
ok: z.ZodLiteral<false>;
|
|
3744
|
+
code: z.ZodEnum<{
|
|
3745
|
+
ROW_CAP: "ROW_CAP";
|
|
3746
|
+
NO_FIELD: "NO_FIELD";
|
|
3747
|
+
NO_TIME: "NO_TIME";
|
|
3748
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3749
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3750
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3751
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3752
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3753
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3754
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3755
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3756
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3757
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3758
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3759
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3760
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3761
|
+
}>;
|
|
3762
|
+
reason: z.ZodString;
|
|
3763
|
+
}, z.core.$loose>]>;
|
|
3764
|
+
trend: z.ZodUnion<readonly [z.ZodObject<{
|
|
3765
|
+
ok: z.ZodLiteral<true>;
|
|
3766
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3767
|
+
ok: z.ZodLiteral<false>;
|
|
3768
|
+
code: z.ZodEnum<{
|
|
3769
|
+
ROW_CAP: "ROW_CAP";
|
|
3770
|
+
NO_FIELD: "NO_FIELD";
|
|
3771
|
+
NO_TIME: "NO_TIME";
|
|
3772
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3773
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3774
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3775
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3776
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3777
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3778
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3779
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3780
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3781
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3782
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3783
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3784
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3785
|
+
}>;
|
|
3786
|
+
reason: z.ZodString;
|
|
3787
|
+
}, z.core.$loose>]>;
|
|
3788
|
+
items: z.ZodUnion<readonly [z.ZodObject<{
|
|
3789
|
+
ok: z.ZodLiteral<true>;
|
|
3790
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3791
|
+
ok: z.ZodLiteral<false>;
|
|
3792
|
+
code: z.ZodEnum<{
|
|
3793
|
+
ROW_CAP: "ROW_CAP";
|
|
3794
|
+
NO_FIELD: "NO_FIELD";
|
|
3795
|
+
NO_TIME: "NO_TIME";
|
|
3796
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3797
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3798
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3799
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3800
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3801
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3802
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3803
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3804
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3805
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3806
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3807
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3808
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3809
|
+
}>;
|
|
3810
|
+
reason: z.ZodString;
|
|
3811
|
+
}, z.core.$loose>]>;
|
|
3812
|
+
explanation: z.ZodUnion<readonly [z.ZodObject<{
|
|
3813
|
+
ok: z.ZodLiteral<true>;
|
|
3814
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3815
|
+
ok: z.ZodLiteral<false>;
|
|
3816
|
+
code: z.ZodEnum<{
|
|
3817
|
+
ROW_CAP: "ROW_CAP";
|
|
3818
|
+
NO_FIELD: "NO_FIELD";
|
|
3819
|
+
NO_TIME: "NO_TIME";
|
|
3820
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
3821
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
3822
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
3823
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
3824
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
3825
|
+
SNAPSHOT: "SNAPSHOT";
|
|
3826
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
3827
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
3828
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
3829
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
3830
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
3831
|
+
OTHER_CUT: "OTHER_CUT";
|
|
3832
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
3833
|
+
}>;
|
|
3834
|
+
reason: z.ZodString;
|
|
3835
|
+
}, z.core.$loose>]>;
|
|
3836
|
+
}, z.core.$loose>;
|
|
3837
|
+
offered: z.ZodArray<z.ZodObject<{
|
|
3838
|
+
id: z.ZodString;
|
|
3839
|
+
label: z.ZodString;
|
|
3840
|
+
}, z.core.$loose>>;
|
|
3841
|
+
receipt: z.ZodObject<{
|
|
3842
|
+
queryHash: z.ZodString;
|
|
3843
|
+
provider: z.ZodString;
|
|
3844
|
+
trust: z.ZodEnum<{
|
|
3845
|
+
external: "external";
|
|
3439
3846
|
builtin: "builtin";
|
|
3440
3847
|
}>;
|
|
3441
3848
|
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
@@ -3707,10 +4114,14 @@ export declare const answerSchemas: {
|
|
|
3707
4114
|
entry: z.ZodExactOptional<z.ZodString>;
|
|
3708
4115
|
execution: z.ZodString;
|
|
3709
4116
|
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
3710
|
-
view: z.
|
|
4117
|
+
view: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3711
4118
|
by: z.ZodLiteral<"breakdown">;
|
|
3712
4119
|
member: z.ZodExactOptional<z.ZodString>;
|
|
3713
4120
|
search: z.ZodExactOptional<z.ZodString>;
|
|
4121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4122
|
+
by: z.ZodLiteral<"comparison">;
|
|
4123
|
+
member: z.ZodString;
|
|
4124
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
3714
4125
|
}, z.core.$strict>, z.ZodObject<{
|
|
3715
4126
|
by: z.ZodLiteral<"trend">;
|
|
3716
4127
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -3723,14 +4134,19 @@ export declare const answerSchemas: {
|
|
|
3723
4134
|
}>>;
|
|
3724
4135
|
}, z.core.$strict>, z.ZodObject<{
|
|
3725
4136
|
by: z.ZodLiteral<"items">;
|
|
4137
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3726
4138
|
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3727
4139
|
}, z.core.$strict>, z.ZodObject<{
|
|
3728
4140
|
by: z.ZodLiteral<"explanation">;
|
|
3729
|
-
}, z.core.$strict>]>;
|
|
3730
|
-
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.
|
|
4141
|
+
}, z.core.$strict>], "by">;
|
|
4142
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3731
4143
|
by: z.ZodLiteral<"breakdown">;
|
|
3732
4144
|
member: z.ZodExactOptional<z.ZodString>;
|
|
3733
4145
|
search: z.ZodExactOptional<z.ZodString>;
|
|
4146
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4147
|
+
by: z.ZodLiteral<"comparison">;
|
|
4148
|
+
member: z.ZodString;
|
|
4149
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
3734
4150
|
}, z.core.$strict>, z.ZodObject<{
|
|
3735
4151
|
by: z.ZodLiteral<"trend">;
|
|
3736
4152
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -3743,10 +4159,11 @@ export declare const answerSchemas: {
|
|
|
3743
4159
|
}>>;
|
|
3744
4160
|
}, z.core.$strict>, z.ZodObject<{
|
|
3745
4161
|
by: z.ZodLiteral<"items">;
|
|
4162
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3746
4163
|
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3747
4164
|
}, z.core.$strict>, z.ZodObject<{
|
|
3748
4165
|
by: z.ZodLiteral<"explanation">;
|
|
3749
|
-
}, z.core.$strict>]>>>>;
|
|
4166
|
+
}, z.core.$strict>], "by">>>>;
|
|
3750
4167
|
}, z.core.$strict>;
|
|
3751
4168
|
view: z.ZodUnion<readonly [z.ZodObject<{
|
|
3752
4169
|
by: z.ZodEnum<{
|
|
@@ -3963,6 +4380,7 @@ export declare const answerSchemas: {
|
|
|
3963
4380
|
quarter: "quarter";
|
|
3964
4381
|
year: "year";
|
|
3965
4382
|
}>>>;
|
|
4383
|
+
throughNow: z.ZodExactOptional<z.ZodBoolean>;
|
|
3966
4384
|
rankedBy: z.ZodExactOptional<z.ZodString>;
|
|
3967
4385
|
change: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
3968
4386
|
searchable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
@@ -4189,10 +4607,14 @@ export declare const answerSchemas: {
|
|
|
4189
4607
|
entry: z.ZodExactOptional<z.ZodString>;
|
|
4190
4608
|
execution: z.ZodString;
|
|
4191
4609
|
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
4192
|
-
view: z.
|
|
4610
|
+
view: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4193
4611
|
by: z.ZodLiteral<"breakdown">;
|
|
4194
4612
|
member: z.ZodExactOptional<z.ZodString>;
|
|
4195
4613
|
search: z.ZodExactOptional<z.ZodString>;
|
|
4614
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4615
|
+
by: z.ZodLiteral<"comparison">;
|
|
4616
|
+
member: z.ZodString;
|
|
4617
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
4196
4618
|
}, z.core.$strict>, z.ZodObject<{
|
|
4197
4619
|
by: z.ZodLiteral<"trend">;
|
|
4198
4620
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -4205,14 +4627,19 @@ export declare const answerSchemas: {
|
|
|
4205
4627
|
}>>;
|
|
4206
4628
|
}, z.core.$strict>, z.ZodObject<{
|
|
4207
4629
|
by: z.ZodLiteral<"items">;
|
|
4630
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4208
4631
|
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4209
4632
|
}, z.core.$strict>, z.ZodObject<{
|
|
4210
4633
|
by: z.ZodLiteral<"explanation">;
|
|
4211
|
-
}, z.core.$strict>]>;
|
|
4212
|
-
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.
|
|
4634
|
+
}, z.core.$strict>], "by">;
|
|
4635
|
+
views: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4213
4636
|
by: z.ZodLiteral<"breakdown">;
|
|
4214
4637
|
member: z.ZodExactOptional<z.ZodString>;
|
|
4215
4638
|
search: z.ZodExactOptional<z.ZodString>;
|
|
4639
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4640
|
+
by: z.ZodLiteral<"comparison">;
|
|
4641
|
+
member: z.ZodString;
|
|
4642
|
+
thenBy: z.ZodExactOptional<z.ZodString>;
|
|
4216
4643
|
}, z.core.$strict>, z.ZodObject<{
|
|
4217
4644
|
by: z.ZodLiteral<"trend">;
|
|
4218
4645
|
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
@@ -4222,18 +4649,239 @@ export declare const answerSchemas: {
|
|
|
4222
4649
|
month: "month";
|
|
4223
4650
|
quarter: "quarter";
|
|
4224
4651
|
year: "year";
|
|
4225
|
-
}>>;
|
|
4226
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4227
|
-
by: z.ZodLiteral<"items">;
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4652
|
+
}>>;
|
|
4653
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4654
|
+
by: z.ZodLiteral<"items">;
|
|
4655
|
+
fields: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4656
|
+
numerator: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4657
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4658
|
+
by: z.ZodLiteral<"explanation">;
|
|
4659
|
+
}, z.core.$strict>], "by">>>>;
|
|
4660
|
+
}, z.core.$strict>>;
|
|
4661
|
+
can: z.ZodUnion<readonly [z.ZodObject<{
|
|
4662
|
+
ok: z.ZodLiteral<true>;
|
|
4663
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4664
|
+
ok: z.ZodLiteral<false>;
|
|
4665
|
+
code: z.ZodEnum<{
|
|
4666
|
+
ROW_CAP: "ROW_CAP";
|
|
4667
|
+
NO_FIELD: "NO_FIELD";
|
|
4668
|
+
NO_TIME: "NO_TIME";
|
|
4669
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
4670
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
4671
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
4672
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
4673
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
4674
|
+
SNAPSHOT: "SNAPSHOT";
|
|
4675
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
4676
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
4677
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
4678
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
4679
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
4680
|
+
OTHER_CUT: "OTHER_CUT";
|
|
4681
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
4682
|
+
}>;
|
|
4683
|
+
reason: z.ZodString;
|
|
4684
|
+
}, z.core.$loose>]>;
|
|
4685
|
+
}, z.core.$loose>>;
|
|
4686
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4687
|
+
by: z.ZodLiteral<"comparison">;
|
|
4688
|
+
drill: z.ZodObject<{
|
|
4689
|
+
answer: z.ZodString;
|
|
4690
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
4691
|
+
row: z.ZodInt;
|
|
4692
|
+
code: z.ZodEnum<{
|
|
4693
|
+
ROW_CAP: "ROW_CAP";
|
|
4694
|
+
NO_FIELD: "NO_FIELD";
|
|
4695
|
+
NO_TIME: "NO_TIME";
|
|
4696
|
+
FORMULA_ITEMS: "FORMULA_ITEMS";
|
|
4697
|
+
RATIO_NOT_ROWS: "RATIO_NOT_ROWS";
|
|
4698
|
+
RATIO_UNMARKED: "RATIO_UNMARKED";
|
|
4699
|
+
FORMULA_SCOPED: "FORMULA_SCOPED";
|
|
4700
|
+
NOT_FORMULA: "NOT_FORMULA";
|
|
4701
|
+
SNAPSHOT: "SNAPSHOT";
|
|
4702
|
+
RECORDS_DENIED: "RECORDS_DENIED";
|
|
4703
|
+
RECORDS_UNAVAILABLE: "RECORDS_UNAVAILABLE";
|
|
4704
|
+
OPERAND_HIDDEN: "OPERAND_HIDDEN";
|
|
4705
|
+
DISTINCT_HIDDEN: "DISTINCT_HIDDEN";
|
|
4706
|
+
OTHER_TOO_LARGE: "OTHER_TOO_LARGE";
|
|
4707
|
+
OTHER_CUT: "OTHER_CUT";
|
|
4708
|
+
SOURCE_OFF: "SOURCE_OFF";
|
|
4709
|
+
}>;
|
|
4710
|
+
reason: z.ZodString;
|
|
4711
|
+
}, z.core.$loose>>>;
|
|
4712
|
+
}, z.core.$loose>;
|
|
4713
|
+
thenBy: z.ZodExactOptional<z.ZodObject<{
|
|
4714
|
+
id: z.ZodString;
|
|
4715
|
+
label: z.ZodString;
|
|
4716
|
+
}, z.core.$loose>>;
|
|
4717
|
+
omitted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4718
|
+
foreign: z.ZodExactOptional<z.ZodNever>;
|
|
4719
|
+
answer: z.ZodObject<{
|
|
4720
|
+
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<{
|
|
4721
|
+
t: z.ZodEnum<{
|
|
4722
|
+
decimal: "decimal";
|
|
4723
|
+
int: "int";
|
|
4724
|
+
}>;
|
|
4725
|
+
v: z.ZodString;
|
|
4726
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
4727
|
+
mark: z.ZodEnum<{
|
|
4728
|
+
all: "all";
|
|
4729
|
+
other: "other";
|
|
4730
|
+
}>;
|
|
4731
|
+
}, z.core.$loose>]>>>>>;
|
|
4732
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4733
|
+
id: z.ZodString;
|
|
4734
|
+
role: z.ZodEnum<{
|
|
4735
|
+
time: "time";
|
|
4736
|
+
dimension: "dimension";
|
|
4737
|
+
measure: "measure";
|
|
4738
|
+
calc: "calc";
|
|
4739
|
+
}>;
|
|
4740
|
+
label: z.ZodString;
|
|
4741
|
+
type: z.ZodEnum<{
|
|
4742
|
+
string: "string";
|
|
4743
|
+
number: "number";
|
|
4744
|
+
boolean: "boolean";
|
|
4745
|
+
time: "time";
|
|
4746
|
+
float: "float";
|
|
4747
|
+
decimal: "decimal";
|
|
4748
|
+
int: "int";
|
|
4749
|
+
}>;
|
|
4750
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
4751
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
4752
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
4753
|
+
hour: "hour";
|
|
4754
|
+
day: "day";
|
|
4755
|
+
week: "week";
|
|
4756
|
+
month: "month";
|
|
4757
|
+
quarter: "quarter";
|
|
4758
|
+
year: "year";
|
|
4759
|
+
}>>;
|
|
4760
|
+
values: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4761
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
4762
|
+
number: "number";
|
|
4763
|
+
percent: "percent";
|
|
4764
|
+
currency: "currency";
|
|
4765
|
+
duration: "duration";
|
|
4766
|
+
}>>;
|
|
4767
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4768
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4769
|
+
additive: z.ZodExactOptional<z.ZodBoolean>;
|
|
4770
|
+
}, z.core.$loose>>>;
|
|
4771
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
4772
|
+
grain: z.ZodEnum<{
|
|
4773
|
+
hour: "hour";
|
|
4774
|
+
day: "day";
|
|
4775
|
+
week: "week";
|
|
4776
|
+
month: "month";
|
|
4777
|
+
quarter: "quarter";
|
|
4778
|
+
year: "year";
|
|
4779
|
+
}>;
|
|
4780
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4781
|
+
label: z.ZodString;
|
|
4782
|
+
from: z.ZodString;
|
|
4783
|
+
to: z.ZodString;
|
|
4784
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
4785
|
+
start: "start";
|
|
4786
|
+
end: "end";
|
|
4787
|
+
both: "both";
|
|
4788
|
+
}>>;
|
|
4789
|
+
}, z.core.$loose>>>;
|
|
4790
|
+
}, z.core.$loose>>;
|
|
4791
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
4792
|
+
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<{
|
|
4793
|
+
t: z.ZodEnum<{
|
|
4794
|
+
decimal: "decimal";
|
|
4795
|
+
int: "int";
|
|
4796
|
+
}>;
|
|
4797
|
+
v: z.ZodString;
|
|
4798
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
4799
|
+
mark: z.ZodEnum<{
|
|
4800
|
+
all: "all";
|
|
4801
|
+
other: "other";
|
|
4802
|
+
}>;
|
|
4803
|
+
}, z.core.$loose>]>>>>>;
|
|
4804
|
+
range: z.ZodObject<{
|
|
4805
|
+
from: z.ZodString;
|
|
4806
|
+
to: z.ZodString;
|
|
4807
|
+
}, z.core.$loose>;
|
|
4808
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
4809
|
+
grain: z.ZodEnum<{
|
|
4810
|
+
hour: "hour";
|
|
4811
|
+
day: "day";
|
|
4812
|
+
week: "week";
|
|
4813
|
+
month: "month";
|
|
4814
|
+
quarter: "quarter";
|
|
4815
|
+
year: "year";
|
|
4816
|
+
}>;
|
|
4817
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4818
|
+
label: z.ZodString;
|
|
4819
|
+
from: z.ZodString;
|
|
4820
|
+
to: z.ZodString;
|
|
4821
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
4822
|
+
start: "start";
|
|
4823
|
+
end: "end";
|
|
4824
|
+
both: "both";
|
|
4825
|
+
}>>;
|
|
4826
|
+
}, z.core.$loose>>>;
|
|
4827
|
+
}, z.core.$loose>>;
|
|
4828
|
+
}, z.core.$loose>>;
|
|
4829
|
+
status: z.ZodEnum<{
|
|
4830
|
+
complete: "complete";
|
|
4831
|
+
truncated: "truncated";
|
|
4832
|
+
}>;
|
|
4833
|
+
receipt: z.ZodObject<{
|
|
4834
|
+
queryHash: z.ZodString;
|
|
4835
|
+
provider: z.ZodString;
|
|
4836
|
+
trust: z.ZodEnum<{
|
|
4837
|
+
external: "external";
|
|
4838
|
+
builtin: "builtin";
|
|
4839
|
+
}>;
|
|
4840
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
4841
|
+
answeredBy: z.ZodString;
|
|
4842
|
+
cache: z.ZodEnum<{
|
|
4843
|
+
hit: "hit";
|
|
4844
|
+
stale: "stale";
|
|
4845
|
+
miss: "miss";
|
|
4846
|
+
off: "off";
|
|
4847
|
+
}>;
|
|
4848
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
4849
|
+
from: z.ZodString;
|
|
4850
|
+
to: z.ZodString;
|
|
4851
|
+
}, z.core.$loose>>;
|
|
4852
|
+
calendar: z.ZodObject<{
|
|
4853
|
+
timezone: z.ZodString;
|
|
4854
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
4855
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
4856
|
+
}, z.core.$loose>;
|
|
4857
|
+
dataThrough: z.ZodString;
|
|
4858
|
+
computedAt: z.ZodString;
|
|
4859
|
+
consistency: z.ZodEnum<{
|
|
4860
|
+
snapshot: "snapshot";
|
|
4861
|
+
statement: "statement";
|
|
4862
|
+
mixed: "mixed";
|
|
4863
|
+
}>;
|
|
4864
|
+
durationMs: z.ZodNumber;
|
|
4865
|
+
rowsReturned: z.ZodNumber;
|
|
4866
|
+
filter: z.ZodType<BoundFilter, unknown, z.core.$ZodTypeInternals<BoundFilter, unknown>>;
|
|
4867
|
+
coverage: z.ZodObject<{
|
|
4868
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
4869
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
4870
|
+
}, z.core.$loose>;
|
|
4871
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4872
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
4873
|
+
message: z.ZodString;
|
|
4874
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
4875
|
+
}, z.core.$loose>>>;
|
|
4876
|
+
}, z.core.$loose>;
|
|
4877
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4878
|
+
}, z.core.$loose>;
|
|
4879
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4880
|
+
by: z.ZodLiteral<"comparison">;
|
|
4881
|
+
drill: z.ZodObject<{
|
|
4882
|
+
answer: z.ZodString;
|
|
4883
|
+
closed: z.ZodExactOptional<z.ZodArray<z.ZodObject<{
|
|
4884
|
+
row: z.ZodInt;
|
|
4237
4885
|
code: z.ZodEnum<{
|
|
4238
4886
|
ROW_CAP: "ROW_CAP";
|
|
4239
4887
|
NO_FIELD: "NO_FIELD";
|
|
@@ -4253,8 +4901,174 @@ export declare const answerSchemas: {
|
|
|
4253
4901
|
SOURCE_OFF: "SOURCE_OFF";
|
|
4254
4902
|
}>;
|
|
4255
4903
|
reason: z.ZodString;
|
|
4256
|
-
}, z.core.$loose
|
|
4904
|
+
}, z.core.$loose>>>;
|
|
4905
|
+
}, z.core.$loose>;
|
|
4906
|
+
thenBy: z.ZodExactOptional<z.ZodObject<{
|
|
4907
|
+
id: z.ZodString;
|
|
4908
|
+
label: z.ZodString;
|
|
4257
4909
|
}, z.core.$loose>>;
|
|
4910
|
+
omitted: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4911
|
+
foreign: z.ZodLiteral<true>;
|
|
4912
|
+
answer: z.ZodObject<{
|
|
4913
|
+
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<{
|
|
4914
|
+
t: z.ZodEnum<{
|
|
4915
|
+
decimal: "decimal";
|
|
4916
|
+
int: "int";
|
|
4917
|
+
}>;
|
|
4918
|
+
v: z.ZodString;
|
|
4919
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
4920
|
+
mark: z.ZodEnum<{
|
|
4921
|
+
all: "all";
|
|
4922
|
+
other: "other";
|
|
4923
|
+
}>;
|
|
4924
|
+
}, z.core.$loose>]>>>>>;
|
|
4925
|
+
columns: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4926
|
+
id: z.ZodString;
|
|
4927
|
+
role: z.ZodEnum<{
|
|
4928
|
+
time: "time";
|
|
4929
|
+
dimension: "dimension";
|
|
4930
|
+
measure: "measure";
|
|
4931
|
+
calc: "calc";
|
|
4932
|
+
}>;
|
|
4933
|
+
label: z.ZodString;
|
|
4934
|
+
type: z.ZodEnum<{
|
|
4935
|
+
string: "string";
|
|
4936
|
+
number: "number";
|
|
4937
|
+
boolean: "boolean";
|
|
4938
|
+
time: "time";
|
|
4939
|
+
float: "float";
|
|
4940
|
+
decimal: "decimal";
|
|
4941
|
+
int: "int";
|
|
4942
|
+
}>;
|
|
4943
|
+
unit: z.ZodExactOptional<z.ZodString>;
|
|
4944
|
+
member: z.ZodExactOptional<z.ZodString>;
|
|
4945
|
+
grain: z.ZodExactOptional<z.ZodEnum<{
|
|
4946
|
+
hour: "hour";
|
|
4947
|
+
day: "day";
|
|
4948
|
+
week: "week";
|
|
4949
|
+
month: "month";
|
|
4950
|
+
quarter: "quarter";
|
|
4951
|
+
year: "year";
|
|
4952
|
+
}>>;
|
|
4953
|
+
values: z.ZodExactOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4954
|
+
format: z.ZodExactOptional<z.ZodEnum<{
|
|
4955
|
+
number: "number";
|
|
4956
|
+
percent: "percent";
|
|
4957
|
+
currency: "currency";
|
|
4958
|
+
duration: "duration";
|
|
4959
|
+
}>>;
|
|
4960
|
+
signed: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4961
|
+
fraction: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
4962
|
+
additive: z.ZodExactOptional<z.ZodBoolean>;
|
|
4963
|
+
}, z.core.$loose>>>;
|
|
4964
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
4965
|
+
grain: z.ZodEnum<{
|
|
4966
|
+
hour: "hour";
|
|
4967
|
+
day: "day";
|
|
4968
|
+
week: "week";
|
|
4969
|
+
month: "month";
|
|
4970
|
+
quarter: "quarter";
|
|
4971
|
+
year: "year";
|
|
4972
|
+
}>;
|
|
4973
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4974
|
+
label: z.ZodString;
|
|
4975
|
+
from: z.ZodString;
|
|
4976
|
+
to: z.ZodString;
|
|
4977
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
4978
|
+
start: "start";
|
|
4979
|
+
end: "end";
|
|
4980
|
+
both: "both";
|
|
4981
|
+
}>>;
|
|
4982
|
+
}, z.core.$loose>>>;
|
|
4983
|
+
}, z.core.$loose>>;
|
|
4984
|
+
compare: z.ZodExactOptional<z.ZodObject<{
|
|
4985
|
+
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<{
|
|
4986
|
+
t: z.ZodEnum<{
|
|
4987
|
+
decimal: "decimal";
|
|
4988
|
+
int: "int";
|
|
4989
|
+
}>;
|
|
4990
|
+
v: z.ZodString;
|
|
4991
|
+
}, z.core.$loose>]>, z.ZodObject<{
|
|
4992
|
+
mark: z.ZodEnum<{
|
|
4993
|
+
all: "all";
|
|
4994
|
+
other: "other";
|
|
4995
|
+
}>;
|
|
4996
|
+
}, z.core.$loose>]>>>>>;
|
|
4997
|
+
range: z.ZodObject<{
|
|
4998
|
+
from: z.ZodString;
|
|
4999
|
+
to: z.ZodString;
|
|
5000
|
+
}, z.core.$loose>;
|
|
5001
|
+
time: z.ZodExactOptional<z.ZodObject<{
|
|
5002
|
+
grain: z.ZodEnum<{
|
|
5003
|
+
hour: "hour";
|
|
5004
|
+
day: "day";
|
|
5005
|
+
week: "week";
|
|
5006
|
+
month: "month";
|
|
5007
|
+
quarter: "quarter";
|
|
5008
|
+
year: "year";
|
|
5009
|
+
}>;
|
|
5010
|
+
buckets: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5011
|
+
label: z.ZodString;
|
|
5012
|
+
from: z.ZodString;
|
|
5013
|
+
to: z.ZodString;
|
|
5014
|
+
partial: z.ZodExactOptional<z.ZodEnum<{
|
|
5015
|
+
start: "start";
|
|
5016
|
+
end: "end";
|
|
5017
|
+
both: "both";
|
|
5018
|
+
}>>;
|
|
5019
|
+
}, z.core.$loose>>>;
|
|
5020
|
+
}, z.core.$loose>>;
|
|
5021
|
+
}, z.core.$loose>>;
|
|
5022
|
+
status: z.ZodEnum<{
|
|
5023
|
+
complete: "complete";
|
|
5024
|
+
truncated: "truncated";
|
|
5025
|
+
}>;
|
|
5026
|
+
unreadable: z.ZodExactOptional<z.ZodLiteral<true>>;
|
|
5027
|
+
receipt: z.ZodObject<{
|
|
5028
|
+
provider: z.ZodString;
|
|
5029
|
+
trust: z.ZodEnum<{
|
|
5030
|
+
external: "external";
|
|
5031
|
+
builtin: "builtin";
|
|
5032
|
+
}>;
|
|
5033
|
+
sources: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
5034
|
+
answeredBy: z.ZodString;
|
|
5035
|
+
cache: z.ZodEnum<{
|
|
5036
|
+
hit: "hit";
|
|
5037
|
+
stale: "stale";
|
|
5038
|
+
miss: "miss";
|
|
5039
|
+
off: "off";
|
|
5040
|
+
}>;
|
|
5041
|
+
range: z.ZodExactOptional<z.ZodObject<{
|
|
5042
|
+
from: z.ZodString;
|
|
5043
|
+
to: z.ZodString;
|
|
5044
|
+
}, z.core.$loose>>;
|
|
5045
|
+
calendar: z.ZodObject<{
|
|
5046
|
+
timezone: z.ZodString;
|
|
5047
|
+
weekStart: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<6>]>;
|
|
5048
|
+
fiscalYearStartMonth: z.ZodNumber;
|
|
5049
|
+
}, z.core.$loose>;
|
|
5050
|
+
dataThrough: z.ZodString;
|
|
5051
|
+
computedAt: z.ZodString;
|
|
5052
|
+
consistency: z.ZodEnum<{
|
|
5053
|
+
snapshot: "snapshot";
|
|
5054
|
+
statement: "statement";
|
|
5055
|
+
mixed: "mixed";
|
|
5056
|
+
}>;
|
|
5057
|
+
durationMs: z.ZodNumber;
|
|
5058
|
+
rowsReturned: z.ZodNumber;
|
|
5059
|
+
coverage: z.ZodObject<{
|
|
5060
|
+
applied: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
5061
|
+
dropped: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
5062
|
+
}, z.core.$loose>;
|
|
5063
|
+
warnings: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5064
|
+
code: z.ZodCustom<IssueCode, IssueCode>;
|
|
5065
|
+
message: z.ZodString;
|
|
5066
|
+
path: z.ZodReadonly<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
5067
|
+
}, z.core.$loose>>>;
|
|
5068
|
+
queryHash: z.ZodExactOptional<z.ZodNever>;
|
|
5069
|
+
filter: z.ZodExactOptional<z.ZodNever>;
|
|
5070
|
+
}, z.core.$loose>;
|
|
5071
|
+
}, z.core.$loose>;
|
|
4258
5072
|
}, z.core.$loose>]>;
|
|
4259
5073
|
}, z.core.$loose>;
|
|
4260
5074
|
};
|