@adminforth/dashboard 1.9.0 → 1.10.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.
@@ -11853,1731 +11853,13 @@ export declare const ConfigurePivotTableWidgetRequestZodSchema: z.ZodObject<{
11853
11853
  }, z.core.$strict>]>;
11854
11854
  }, z.core.$strict>;
11855
11855
  }, z.core.$strict>;
11856
- export declare const DashboardMutationResponseZodSchema: z.ZodUnion<readonly [z.ZodObject<{
11857
- ok: z.ZodLiteral<true>;
11858
- slug: z.ZodString;
11859
- widgetId: z.ZodOptional<z.ZodString>;
11860
- groupId: z.ZodOptional<z.ZodString>;
11861
- target: z.ZodOptional<z.ZodString>;
11862
- revision: z.ZodOptional<z.ZodNumber>;
11863
- }, z.core.$strict>, z.ZodObject<{
11864
- error: z.ZodString;
11865
- validationErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
11866
- field: z.ZodString;
11867
- message: z.ZodString;
11868
- }, z.core.$strip>>>;
11869
- }, z.core.$strip>]>;
11870
- export declare const DashboardApiResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodUnion<readonly [z.ZodObject<{
11871
- id: z.ZodString;
11872
- slug: z.ZodString;
11873
- label: z.ZodString;
11874
- revision: z.ZodNumber;
11875
- config: z.ZodObject<{
11876
- version: z.ZodNumber;
11877
- groups: z.ZodArray<z.ZodObject<{
11878
- id: z.ZodString;
11879
- label: z.ZodString;
11880
- order: z.ZodNumber;
11881
- }, z.core.$strict>>;
11882
- widgets: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11883
- id: z.ZodString;
11884
- group_id: z.ZodString;
11885
- order: z.ZodNumber;
11886
- label: z.ZodOptional<z.ZodString>;
11887
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11888
- size: z.ZodOptional<z.ZodEnum<{
11889
- small: "small";
11890
- medium: "medium";
11891
- large: "large";
11892
- wide: "wide";
11893
- full: "full";
11894
- }>>;
11895
- width: z.ZodOptional<z.ZodNumber>;
11896
- height: z.ZodOptional<z.ZodNumber>;
11897
- min_width: z.ZodOptional<z.ZodNumber>;
11898
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11899
- target: z.ZodLiteral<"empty">;
11900
- }, z.core.$strict>, z.ZodObject<{
11901
- id: z.ZodString;
11902
- group_id: z.ZodString;
11903
- order: z.ZodNumber;
11904
- label: z.ZodOptional<z.ZodString>;
11905
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11906
- size: z.ZodOptional<z.ZodEnum<{
11907
- small: "small";
11908
- medium: "medium";
11909
- large: "large";
11910
- wide: "wide";
11911
- full: "full";
11912
- }>>;
11913
- width: z.ZodOptional<z.ZodNumber>;
11914
- height: z.ZodOptional<z.ZodNumber>;
11915
- min_width: z.ZodOptional<z.ZodNumber>;
11916
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11917
- target: z.ZodLiteral<"table">;
11918
- table: z.ZodOptional<z.ZodObject<{
11919
- columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
11920
- field: z.ZodString;
11921
- label: z.ZodOptional<z.ZodString>;
11922
- format: z.ZodOptional<z.ZodEnum<{
11923
- number: "number";
11924
- integer: "integer";
11925
- compact_number: "compact_number";
11926
- currency: "currency";
11927
- percent: "percent";
11928
- percent_delta: "percent_delta";
11929
- number_delta: "number_delta";
11930
- currency_delta: "currency_delta";
11931
- }>>;
11932
- }, z.core.$strict>>>;
11933
- pagination: z.ZodOptional<z.ZodBoolean>;
11934
- page_size: z.ZodOptional<z.ZodNumber>;
11935
- }, z.core.$strict>>;
11936
- query: z.ZodUnion<readonly [z.ZodObject<{
11937
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
11938
- resource: z.ZodString;
11939
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
11940
- field: z.ZodString;
11941
- as: z.ZodOptional<z.ZodString>;
11942
- grain: z.ZodOptional<z.ZodEnum<{
11943
- day: "day";
11944
- week: "week";
11945
- month: "month";
11946
- year: "year";
11947
- }>>;
11948
- }, z.core.$strict>, z.ZodObject<{
11949
- agg: z.ZodEnum<{
11950
- sum: "sum";
11951
- count: "count";
11952
- count_distinct: "count_distinct";
11953
- avg: "avg";
11954
- min: "min";
11955
- max: "max";
11956
- median: "median";
11957
- }>;
11958
- field: z.ZodOptional<z.ZodString>;
11959
- as: z.ZodString;
11960
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
11961
- }, z.core.$strict>, z.ZodObject<{
11962
- calc: z.ZodString;
11963
- as: z.ZodString;
11964
- }, z.core.$strict>]>>>;
11965
- sparkline: z.ZodOptional<z.ZodObject<{
11966
- field: z.ZodString;
11967
- grain: z.ZodEnum<{
11968
- day: "day";
11969
- week: "week";
11970
- month: "month";
11971
- year: "year";
11972
- }>;
11973
- as: z.ZodString;
11974
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11975
- }, z.core.$strict>>;
11976
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
11977
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
11978
- field: z.ZodString;
11979
- as: z.ZodOptional<z.ZodString>;
11980
- grain: z.ZodOptional<z.ZodEnum<{
11981
- day: "day";
11982
- week: "week";
11983
- month: "month";
11984
- year: "year";
11985
- }>>;
11986
- timezone: z.ZodOptional<z.ZodString>;
11987
- }, z.core.$strict>]>>>;
11988
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
11989
- field: z.ZodString;
11990
- direction: z.ZodOptional<z.ZodEnum<{
11991
- asc: "asc";
11992
- desc: "desc";
11993
- }>>;
11994
- }, z.core.$strict>>>;
11995
- limit: z.ZodOptional<z.ZodNumber>;
11996
- offset: z.ZodOptional<z.ZodNumber>;
11997
- bucket: z.ZodOptional<z.ZodObject<{
11998
- field: z.ZodString;
11999
- buckets: z.ZodArray<z.ZodObject<{
12000
- label: z.ZodString;
12001
- min: z.ZodOptional<z.ZodNumber>;
12002
- max: z.ZodOptional<z.ZodNumber>;
12003
- }, z.core.$strict>>;
12004
- }, z.core.$strict>>;
12005
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12006
- calc: z.ZodString;
12007
- as: z.ZodString;
12008
- }, z.core.$strict>>>;
12009
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12010
- }, z.core.$strict>, z.ZodObject<{
12011
- source: z.ZodLiteral<"steps">;
12012
- steps: z.ZodArray<z.ZodObject<{
12013
- name: z.ZodString;
12014
- resource: z.ZodString;
12015
- select: z.ZodArray<z.ZodObject<{
12016
- agg: z.ZodEnum<{
12017
- sum: "sum";
12018
- count: "count";
12019
- count_distinct: "count_distinct";
12020
- avg: "avg";
12021
- min: "min";
12022
- max: "max";
12023
- median: "median";
12024
- }>;
12025
- field: z.ZodOptional<z.ZodString>;
12026
- as: z.ZodString;
12027
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12028
- }, z.core.$strict>>;
12029
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12030
- }, z.core.$strict>>;
12031
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12032
- calc: z.ZodString;
12033
- as: z.ZodString;
12034
- }, z.core.$strict>>>;
12035
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12036
- field: z.ZodString;
12037
- direction: z.ZodOptional<z.ZodEnum<{
12038
- asc: "asc";
12039
- desc: "desc";
12040
- }>>;
12041
- }, z.core.$strict>>>;
12042
- limit: z.ZodOptional<z.ZodNumber>;
12043
- offset: z.ZodOptional<z.ZodNumber>;
12044
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12045
- }, z.core.$strict>]>;
12046
- }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
12047
- id: z.ZodString;
12048
- group_id: z.ZodString;
12049
- order: z.ZodNumber;
12050
- label: z.ZodOptional<z.ZodString>;
12051
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12052
- size: z.ZodOptional<z.ZodEnum<{
12053
- small: "small";
12054
- medium: "medium";
12055
- large: "large";
12056
- wide: "wide";
12057
- full: "full";
12058
- }>>;
12059
- width: z.ZodOptional<z.ZodNumber>;
12060
- height: z.ZodOptional<z.ZodNumber>;
12061
- min_width: z.ZodOptional<z.ZodNumber>;
12062
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12063
- target: z.ZodLiteral<"chart">;
12064
- chart: z.ZodObject<{
12065
- title: z.ZodOptional<z.ZodString>;
12066
- type: z.ZodLiteral<"line">;
12067
- x: z.ZodObject<{
12068
- field: z.ZodString;
12069
- label: z.ZodOptional<z.ZodString>;
12070
- format: z.ZodOptional<z.ZodEnum<{
12071
- number: "number";
12072
- integer: "integer";
12073
- compact_number: "compact_number";
12074
- currency: "currency";
12075
- percent: "percent";
12076
- percent_delta: "percent_delta";
12077
- number_delta: "number_delta";
12078
- currency_delta: "currency_delta";
12079
- }>>;
12080
- }, z.core.$strict>;
12081
- y: z.ZodArray<z.ZodObject<{
12082
- field: z.ZodString;
12083
- label: z.ZodOptional<z.ZodString>;
12084
- format: z.ZodOptional<z.ZodEnum<{
12085
- number: "number";
12086
- integer: "integer";
12087
- compact_number: "compact_number";
12088
- currency: "currency";
12089
- percent: "percent";
12090
- percent_delta: "percent_delta";
12091
- number_delta: "number_delta";
12092
- currency_delta: "currency_delta";
12093
- }>>;
12094
- }, z.core.$strict>>;
12095
- series: z.ZodOptional<z.ZodObject<{
12096
- field: z.ZodString;
12097
- label: z.ZodOptional<z.ZodString>;
12098
- }, z.core.$strict>>;
12099
- color: z.ZodOptional<z.ZodString>;
12100
- colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
12101
- }, z.core.$strict>;
12102
- query: z.ZodUnion<readonly [z.ZodObject<{
12103
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
12104
- resource: z.ZodString;
12105
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12106
- field: z.ZodString;
12107
- as: z.ZodOptional<z.ZodString>;
12108
- grain: z.ZodOptional<z.ZodEnum<{
12109
- day: "day";
12110
- week: "week";
12111
- month: "month";
12112
- year: "year";
12113
- }>>;
12114
- }, z.core.$strict>, z.ZodObject<{
12115
- agg: z.ZodEnum<{
12116
- sum: "sum";
12117
- count: "count";
12118
- count_distinct: "count_distinct";
12119
- avg: "avg";
12120
- min: "min";
12121
- max: "max";
12122
- median: "median";
12123
- }>;
12124
- field: z.ZodOptional<z.ZodString>;
12125
- as: z.ZodString;
12126
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12127
- }, z.core.$strict>, z.ZodObject<{
12128
- calc: z.ZodString;
12129
- as: z.ZodString;
12130
- }, z.core.$strict>]>>>;
12131
- sparkline: z.ZodOptional<z.ZodObject<{
12132
- field: z.ZodString;
12133
- grain: z.ZodEnum<{
12134
- day: "day";
12135
- week: "week";
12136
- month: "month";
12137
- year: "year";
12138
- }>;
12139
- as: z.ZodString;
12140
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12141
- }, z.core.$strict>>;
12142
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12143
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
12144
- field: z.ZodString;
12145
- as: z.ZodOptional<z.ZodString>;
12146
- grain: z.ZodOptional<z.ZodEnum<{
12147
- day: "day";
12148
- week: "week";
12149
- month: "month";
12150
- year: "year";
12151
- }>>;
12152
- timezone: z.ZodOptional<z.ZodString>;
12153
- }, z.core.$strict>]>>>;
12154
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12155
- field: z.ZodString;
12156
- direction: z.ZodOptional<z.ZodEnum<{
12157
- asc: "asc";
12158
- desc: "desc";
12159
- }>>;
12160
- }, z.core.$strict>>>;
12161
- limit: z.ZodOptional<z.ZodNumber>;
12162
- offset: z.ZodOptional<z.ZodNumber>;
12163
- bucket: z.ZodOptional<z.ZodObject<{
12164
- field: z.ZodString;
12165
- buckets: z.ZodArray<z.ZodObject<{
12166
- label: z.ZodString;
12167
- min: z.ZodOptional<z.ZodNumber>;
12168
- max: z.ZodOptional<z.ZodNumber>;
12169
- }, z.core.$strict>>;
12170
- }, z.core.$strict>>;
12171
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12172
- calc: z.ZodString;
12173
- as: z.ZodString;
12174
- }, z.core.$strict>>>;
12175
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12176
- }, z.core.$strict>, z.ZodObject<{
12177
- source: z.ZodLiteral<"steps">;
12178
- steps: z.ZodArray<z.ZodObject<{
12179
- name: z.ZodString;
12180
- resource: z.ZodString;
12181
- select: z.ZodArray<z.ZodObject<{
12182
- agg: z.ZodEnum<{
12183
- sum: "sum";
12184
- count: "count";
12185
- count_distinct: "count_distinct";
12186
- avg: "avg";
12187
- min: "min";
12188
- max: "max";
12189
- median: "median";
12190
- }>;
12191
- field: z.ZodOptional<z.ZodString>;
12192
- as: z.ZodString;
12193
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12194
- }, z.core.$strict>>;
12195
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12196
- }, z.core.$strict>>;
12197
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12198
- calc: z.ZodString;
12199
- as: z.ZodString;
12200
- }, z.core.$strict>>>;
12201
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12202
- field: z.ZodString;
12203
- direction: z.ZodOptional<z.ZodEnum<{
12204
- asc: "asc";
12205
- desc: "desc";
12206
- }>>;
12207
- }, z.core.$strict>>>;
12208
- limit: z.ZodOptional<z.ZodNumber>;
12209
- offset: z.ZodOptional<z.ZodNumber>;
12210
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12211
- }, z.core.$strict>]>;
12212
- }, z.core.$strict>, z.ZodObject<{
12213
- id: z.ZodString;
12214
- group_id: z.ZodString;
12215
- order: z.ZodNumber;
12216
- label: z.ZodOptional<z.ZodString>;
12217
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12218
- size: z.ZodOptional<z.ZodEnum<{
12219
- small: "small";
12220
- medium: "medium";
12221
- large: "large";
12222
- wide: "wide";
12223
- full: "full";
12224
- }>>;
12225
- width: z.ZodOptional<z.ZodNumber>;
12226
- height: z.ZodOptional<z.ZodNumber>;
12227
- min_width: z.ZodOptional<z.ZodNumber>;
12228
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12229
- target: z.ZodLiteral<"chart">;
12230
- chart: z.ZodObject<{
12231
- title: z.ZodOptional<z.ZodString>;
12232
- type: z.ZodLiteral<"bar">;
12233
- x: z.ZodObject<{
12234
- field: z.ZodString;
12235
- label: z.ZodOptional<z.ZodString>;
12236
- format: z.ZodOptional<z.ZodEnum<{
12237
- number: "number";
12238
- integer: "integer";
12239
- compact_number: "compact_number";
12240
- currency: "currency";
12241
- percent: "percent";
12242
- percent_delta: "percent_delta";
12243
- number_delta: "number_delta";
12244
- currency_delta: "currency_delta";
12245
- }>>;
12246
- }, z.core.$strict>;
12247
- y: z.ZodObject<{
12248
- field: z.ZodString;
12249
- label: z.ZodOptional<z.ZodString>;
12250
- format: z.ZodOptional<z.ZodEnum<{
12251
- number: "number";
12252
- integer: "integer";
12253
- compact_number: "compact_number";
12254
- currency: "currency";
12255
- percent: "percent";
12256
- percent_delta: "percent_delta";
12257
- number_delta: "number_delta";
12258
- currency_delta: "currency_delta";
12259
- }>>;
12260
- }, z.core.$strict>;
12261
- color: z.ZodOptional<z.ZodString>;
12262
- }, z.core.$strict>;
12263
- query: z.ZodUnion<readonly [z.ZodObject<{
12264
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
12265
- resource: z.ZodString;
12266
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12267
- field: z.ZodString;
12268
- as: z.ZodOptional<z.ZodString>;
12269
- grain: z.ZodOptional<z.ZodEnum<{
12270
- day: "day";
12271
- week: "week";
12272
- month: "month";
12273
- year: "year";
12274
- }>>;
12275
- }, z.core.$strict>, z.ZodObject<{
12276
- agg: z.ZodEnum<{
12277
- sum: "sum";
12278
- count: "count";
12279
- count_distinct: "count_distinct";
12280
- avg: "avg";
12281
- min: "min";
12282
- max: "max";
12283
- median: "median";
12284
- }>;
12285
- field: z.ZodOptional<z.ZodString>;
12286
- as: z.ZodString;
12287
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12288
- }, z.core.$strict>, z.ZodObject<{
12289
- calc: z.ZodString;
12290
- as: z.ZodString;
12291
- }, z.core.$strict>]>>>;
12292
- sparkline: z.ZodOptional<z.ZodObject<{
12293
- field: z.ZodString;
12294
- grain: z.ZodEnum<{
12295
- day: "day";
12296
- week: "week";
12297
- month: "month";
12298
- year: "year";
12299
- }>;
12300
- as: z.ZodString;
12301
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12302
- }, z.core.$strict>>;
12303
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12304
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
12305
- field: z.ZodString;
12306
- as: z.ZodOptional<z.ZodString>;
12307
- grain: z.ZodOptional<z.ZodEnum<{
12308
- day: "day";
12309
- week: "week";
12310
- month: "month";
12311
- year: "year";
12312
- }>>;
12313
- timezone: z.ZodOptional<z.ZodString>;
12314
- }, z.core.$strict>]>>>;
12315
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12316
- field: z.ZodString;
12317
- direction: z.ZodOptional<z.ZodEnum<{
12318
- asc: "asc";
12319
- desc: "desc";
12320
- }>>;
12321
- }, z.core.$strict>>>;
12322
- limit: z.ZodOptional<z.ZodNumber>;
12323
- offset: z.ZodOptional<z.ZodNumber>;
12324
- bucket: z.ZodOptional<z.ZodObject<{
12325
- field: z.ZodString;
12326
- buckets: z.ZodArray<z.ZodObject<{
12327
- label: z.ZodString;
12328
- min: z.ZodOptional<z.ZodNumber>;
12329
- max: z.ZodOptional<z.ZodNumber>;
12330
- }, z.core.$strict>>;
12331
- }, z.core.$strict>>;
12332
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12333
- calc: z.ZodString;
12334
- as: z.ZodString;
12335
- }, z.core.$strict>>>;
12336
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12337
- }, z.core.$strict>, z.ZodObject<{
12338
- source: z.ZodLiteral<"steps">;
12339
- steps: z.ZodArray<z.ZodObject<{
12340
- name: z.ZodString;
12341
- resource: z.ZodString;
12342
- select: z.ZodArray<z.ZodObject<{
12343
- agg: z.ZodEnum<{
12344
- sum: "sum";
12345
- count: "count";
12346
- count_distinct: "count_distinct";
12347
- avg: "avg";
12348
- min: "min";
12349
- max: "max";
12350
- median: "median";
12351
- }>;
12352
- field: z.ZodOptional<z.ZodString>;
12353
- as: z.ZodString;
12354
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12355
- }, z.core.$strict>>;
12356
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12357
- }, z.core.$strict>>;
12358
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12359
- calc: z.ZodString;
12360
- as: z.ZodString;
12361
- }, z.core.$strict>>>;
12362
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12363
- field: z.ZodString;
12364
- direction: z.ZodOptional<z.ZodEnum<{
12365
- asc: "asc";
12366
- desc: "desc";
12367
- }>>;
12368
- }, z.core.$strict>>>;
12369
- limit: z.ZodOptional<z.ZodNumber>;
12370
- offset: z.ZodOptional<z.ZodNumber>;
12371
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12372
- }, z.core.$strict>]>;
12373
- }, z.core.$strict>, z.ZodObject<{
12374
- id: z.ZodString;
12375
- group_id: z.ZodString;
12376
- order: z.ZodNumber;
12377
- label: z.ZodOptional<z.ZodString>;
12378
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12379
- size: z.ZodOptional<z.ZodEnum<{
12380
- small: "small";
12381
- medium: "medium";
12382
- large: "large";
12383
- wide: "wide";
12384
- full: "full";
12385
- }>>;
12386
- width: z.ZodOptional<z.ZodNumber>;
12387
- height: z.ZodOptional<z.ZodNumber>;
12388
- min_width: z.ZodOptional<z.ZodNumber>;
12389
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12390
- target: z.ZodLiteral<"chart">;
12391
- chart: z.ZodObject<{
12392
- title: z.ZodOptional<z.ZodString>;
12393
- type: z.ZodLiteral<"stacked_bar">;
12394
- x: z.ZodObject<{
12395
- field: z.ZodString;
12396
- label: z.ZodOptional<z.ZodString>;
12397
- format: z.ZodOptional<z.ZodEnum<{
12398
- number: "number";
12399
- integer: "integer";
12400
- compact_number: "compact_number";
12401
- currency: "currency";
12402
- percent: "percent";
12403
- percent_delta: "percent_delta";
12404
- number_delta: "number_delta";
12405
- currency_delta: "currency_delta";
12406
- }>>;
12407
- }, z.core.$strict>;
12408
- y: z.ZodUnion<readonly [z.ZodObject<{
12409
- field: z.ZodString;
12410
- label: z.ZodOptional<z.ZodString>;
12411
- format: z.ZodOptional<z.ZodEnum<{
12412
- number: "number";
12413
- integer: "integer";
12414
- compact_number: "compact_number";
12415
- currency: "currency";
12416
- percent: "percent";
12417
- percent_delta: "percent_delta";
12418
- number_delta: "number_delta";
12419
- currency_delta: "currency_delta";
12420
- }>>;
12421
- }, z.core.$strict>, z.ZodArray<z.ZodObject<{
12422
- field: z.ZodString;
12423
- label: z.ZodOptional<z.ZodString>;
12424
- format: z.ZodOptional<z.ZodEnum<{
12425
- number: "number";
12426
- integer: "integer";
12427
- compact_number: "compact_number";
12428
- currency: "currency";
12429
- percent: "percent";
12430
- percent_delta: "percent_delta";
12431
- number_delta: "number_delta";
12432
- currency_delta: "currency_delta";
12433
- }>>;
12434
- }, z.core.$strict>>]>;
12435
- series: z.ZodOptional<z.ZodObject<{
12436
- field: z.ZodString;
12437
- label: z.ZodOptional<z.ZodString>;
12438
- }, z.core.$strict>>;
12439
- colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
12440
- }, z.core.$strict>;
12441
- query: z.ZodUnion<readonly [z.ZodObject<{
12442
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
12443
- resource: z.ZodString;
12444
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12445
- field: z.ZodString;
12446
- as: z.ZodOptional<z.ZodString>;
12447
- grain: z.ZodOptional<z.ZodEnum<{
12448
- day: "day";
12449
- week: "week";
12450
- month: "month";
12451
- year: "year";
12452
- }>>;
12453
- }, z.core.$strict>, z.ZodObject<{
12454
- agg: z.ZodEnum<{
12455
- sum: "sum";
12456
- count: "count";
12457
- count_distinct: "count_distinct";
12458
- avg: "avg";
12459
- min: "min";
12460
- max: "max";
12461
- median: "median";
12462
- }>;
12463
- field: z.ZodOptional<z.ZodString>;
12464
- as: z.ZodString;
12465
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12466
- }, z.core.$strict>, z.ZodObject<{
12467
- calc: z.ZodString;
12468
- as: z.ZodString;
12469
- }, z.core.$strict>]>>>;
12470
- sparkline: z.ZodOptional<z.ZodObject<{
12471
- field: z.ZodString;
12472
- grain: z.ZodEnum<{
12473
- day: "day";
12474
- week: "week";
12475
- month: "month";
12476
- year: "year";
12477
- }>;
12478
- as: z.ZodString;
12479
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12480
- }, z.core.$strict>>;
12481
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12482
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
12483
- field: z.ZodString;
12484
- as: z.ZodOptional<z.ZodString>;
12485
- grain: z.ZodOptional<z.ZodEnum<{
12486
- day: "day";
12487
- week: "week";
12488
- month: "month";
12489
- year: "year";
12490
- }>>;
12491
- timezone: z.ZodOptional<z.ZodString>;
12492
- }, z.core.$strict>]>>>;
12493
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12494
- field: z.ZodString;
12495
- direction: z.ZodOptional<z.ZodEnum<{
12496
- asc: "asc";
12497
- desc: "desc";
12498
- }>>;
12499
- }, z.core.$strict>>>;
12500
- limit: z.ZodOptional<z.ZodNumber>;
12501
- offset: z.ZodOptional<z.ZodNumber>;
12502
- bucket: z.ZodOptional<z.ZodObject<{
12503
- field: z.ZodString;
12504
- buckets: z.ZodArray<z.ZodObject<{
12505
- label: z.ZodString;
12506
- min: z.ZodOptional<z.ZodNumber>;
12507
- max: z.ZodOptional<z.ZodNumber>;
12508
- }, z.core.$strict>>;
12509
- }, z.core.$strict>>;
12510
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12511
- calc: z.ZodString;
12512
- as: z.ZodString;
12513
- }, z.core.$strict>>>;
12514
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12515
- }, z.core.$strict>, z.ZodObject<{
12516
- source: z.ZodLiteral<"steps">;
12517
- steps: z.ZodArray<z.ZodObject<{
12518
- name: z.ZodString;
12519
- resource: z.ZodString;
12520
- select: z.ZodArray<z.ZodObject<{
12521
- agg: z.ZodEnum<{
12522
- sum: "sum";
12523
- count: "count";
12524
- count_distinct: "count_distinct";
12525
- avg: "avg";
12526
- min: "min";
12527
- max: "max";
12528
- median: "median";
12529
- }>;
12530
- field: z.ZodOptional<z.ZodString>;
12531
- as: z.ZodString;
12532
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12533
- }, z.core.$strict>>;
12534
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12535
- }, z.core.$strict>>;
12536
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12537
- calc: z.ZodString;
12538
- as: z.ZodString;
12539
- }, z.core.$strict>>>;
12540
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12541
- field: z.ZodString;
12542
- direction: z.ZodOptional<z.ZodEnum<{
12543
- asc: "asc";
12544
- desc: "desc";
12545
- }>>;
12546
- }, z.core.$strict>>>;
12547
- limit: z.ZodOptional<z.ZodNumber>;
12548
- offset: z.ZodOptional<z.ZodNumber>;
12549
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12550
- }, z.core.$strict>]>;
12551
- }, z.core.$strict>, z.ZodObject<{
12552
- id: z.ZodString;
12553
- group_id: z.ZodString;
12554
- order: z.ZodNumber;
12555
- label: z.ZodOptional<z.ZodString>;
12556
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12557
- size: z.ZodOptional<z.ZodEnum<{
12558
- small: "small";
12559
- medium: "medium";
12560
- large: "large";
12561
- wide: "wide";
12562
- full: "full";
12563
- }>>;
12564
- width: z.ZodOptional<z.ZodNumber>;
12565
- height: z.ZodOptional<z.ZodNumber>;
12566
- min_width: z.ZodOptional<z.ZodNumber>;
12567
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12568
- target: z.ZodLiteral<"chart">;
12569
- chart: z.ZodObject<{
12570
- title: z.ZodOptional<z.ZodString>;
12571
- type: z.ZodLiteral<"pie">;
12572
- label: z.ZodObject<{
12573
- field: z.ZodString;
12574
- label: z.ZodOptional<z.ZodString>;
12575
- format: z.ZodOptional<z.ZodEnum<{
12576
- number: "number";
12577
- integer: "integer";
12578
- compact_number: "compact_number";
12579
- currency: "currency";
12580
- percent: "percent";
12581
- percent_delta: "percent_delta";
12582
- number_delta: "number_delta";
12583
- currency_delta: "currency_delta";
12584
- }>>;
12585
- }, z.core.$strict>;
12586
- value: z.ZodObject<{
12587
- field: z.ZodString;
12588
- label: z.ZodOptional<z.ZodString>;
12589
- format: z.ZodOptional<z.ZodEnum<{
12590
- number: "number";
12591
- integer: "integer";
12592
- compact_number: "compact_number";
12593
- currency: "currency";
12594
- percent: "percent";
12595
- percent_delta: "percent_delta";
12596
- number_delta: "number_delta";
12597
- currency_delta: "currency_delta";
12598
- }>>;
12599
- }, z.core.$strict>;
12600
- colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
12601
- }, z.core.$strict>;
12602
- query: z.ZodUnion<readonly [z.ZodObject<{
12603
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
12604
- resource: z.ZodString;
12605
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12606
- field: z.ZodString;
12607
- as: z.ZodOptional<z.ZodString>;
12608
- grain: z.ZodOptional<z.ZodEnum<{
12609
- day: "day";
12610
- week: "week";
12611
- month: "month";
12612
- year: "year";
12613
- }>>;
12614
- }, z.core.$strict>, z.ZodObject<{
12615
- agg: z.ZodEnum<{
12616
- sum: "sum";
12617
- count: "count";
12618
- count_distinct: "count_distinct";
12619
- avg: "avg";
12620
- min: "min";
12621
- max: "max";
12622
- median: "median";
12623
- }>;
12624
- field: z.ZodOptional<z.ZodString>;
12625
- as: z.ZodString;
12626
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12627
- }, z.core.$strict>, z.ZodObject<{
12628
- calc: z.ZodString;
12629
- as: z.ZodString;
12630
- }, z.core.$strict>]>>>;
12631
- sparkline: z.ZodOptional<z.ZodObject<{
12632
- field: z.ZodString;
12633
- grain: z.ZodEnum<{
12634
- day: "day";
12635
- week: "week";
12636
- month: "month";
12637
- year: "year";
12638
- }>;
12639
- as: z.ZodString;
12640
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12641
- }, z.core.$strict>>;
12642
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12643
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
12644
- field: z.ZodString;
12645
- as: z.ZodOptional<z.ZodString>;
12646
- grain: z.ZodOptional<z.ZodEnum<{
12647
- day: "day";
12648
- week: "week";
12649
- month: "month";
12650
- year: "year";
12651
- }>>;
12652
- timezone: z.ZodOptional<z.ZodString>;
12653
- }, z.core.$strict>]>>>;
12654
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12655
- field: z.ZodString;
12656
- direction: z.ZodOptional<z.ZodEnum<{
12657
- asc: "asc";
12658
- desc: "desc";
12659
- }>>;
12660
- }, z.core.$strict>>>;
12661
- limit: z.ZodOptional<z.ZodNumber>;
12662
- offset: z.ZodOptional<z.ZodNumber>;
12663
- bucket: z.ZodOptional<z.ZodObject<{
12664
- field: z.ZodString;
12665
- buckets: z.ZodArray<z.ZodObject<{
12666
- label: z.ZodString;
12667
- min: z.ZodOptional<z.ZodNumber>;
12668
- max: z.ZodOptional<z.ZodNumber>;
12669
- }, z.core.$strict>>;
12670
- }, z.core.$strict>>;
12671
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12672
- calc: z.ZodString;
12673
- as: z.ZodString;
12674
- }, z.core.$strict>>>;
12675
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12676
- }, z.core.$strict>, z.ZodObject<{
12677
- source: z.ZodLiteral<"steps">;
12678
- steps: z.ZodArray<z.ZodObject<{
12679
- name: z.ZodString;
12680
- resource: z.ZodString;
12681
- select: z.ZodArray<z.ZodObject<{
12682
- agg: z.ZodEnum<{
12683
- sum: "sum";
12684
- count: "count";
12685
- count_distinct: "count_distinct";
12686
- avg: "avg";
12687
- min: "min";
12688
- max: "max";
12689
- median: "median";
12690
- }>;
12691
- field: z.ZodOptional<z.ZodString>;
12692
- as: z.ZodString;
12693
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12694
- }, z.core.$strict>>;
12695
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12696
- }, z.core.$strict>>;
12697
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12698
- calc: z.ZodString;
12699
- as: z.ZodString;
12700
- }, z.core.$strict>>>;
12701
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12702
- field: z.ZodString;
12703
- direction: z.ZodOptional<z.ZodEnum<{
12704
- asc: "asc";
12705
- desc: "desc";
12706
- }>>;
12707
- }, z.core.$strict>>>;
12708
- limit: z.ZodOptional<z.ZodNumber>;
12709
- offset: z.ZodOptional<z.ZodNumber>;
12710
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12711
- }, z.core.$strict>]>;
12712
- }, z.core.$strict>, z.ZodObject<{
12713
- id: z.ZodString;
12714
- group_id: z.ZodString;
12715
- order: z.ZodNumber;
12716
- label: z.ZodOptional<z.ZodString>;
12717
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12718
- size: z.ZodOptional<z.ZodEnum<{
12719
- small: "small";
12720
- medium: "medium";
12721
- large: "large";
12722
- wide: "wide";
12723
- full: "full";
12724
- }>>;
12725
- width: z.ZodOptional<z.ZodNumber>;
12726
- height: z.ZodOptional<z.ZodNumber>;
12727
- min_width: z.ZodOptional<z.ZodNumber>;
12728
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12729
- target: z.ZodLiteral<"chart">;
12730
- chart: z.ZodObject<{
12731
- title: z.ZodOptional<z.ZodString>;
12732
- type: z.ZodLiteral<"histogram">;
12733
- x: z.ZodObject<{
12734
- field: z.ZodString;
12735
- label: z.ZodOptional<z.ZodString>;
12736
- format: z.ZodOptional<z.ZodEnum<{
12737
- number: "number";
12738
- integer: "integer";
12739
- compact_number: "compact_number";
12740
- currency: "currency";
12741
- percent: "percent";
12742
- percent_delta: "percent_delta";
12743
- number_delta: "number_delta";
12744
- currency_delta: "currency_delta";
12745
- }>>;
12746
- }, z.core.$strict>;
12747
- y: z.ZodObject<{
12748
- field: z.ZodString;
12749
- label: z.ZodOptional<z.ZodString>;
12750
- format: z.ZodOptional<z.ZodEnum<{
12751
- number: "number";
12752
- integer: "integer";
12753
- compact_number: "compact_number";
12754
- currency: "currency";
12755
- percent: "percent";
12756
- percent_delta: "percent_delta";
12757
- number_delta: "number_delta";
12758
- currency_delta: "currency_delta";
12759
- }>>;
12760
- }, z.core.$strict>;
12761
- buckets: z.ZodOptional<z.ZodArray<z.ZodObject<{
12762
- label: z.ZodString;
12763
- min: z.ZodOptional<z.ZodNumber>;
12764
- max: z.ZodOptional<z.ZodNumber>;
12765
- }, z.core.$strict>>>;
12766
- color: z.ZodOptional<z.ZodString>;
12767
- }, z.core.$strict>;
12768
- query: z.ZodUnion<readonly [z.ZodObject<{
12769
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
12770
- resource: z.ZodString;
12771
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12772
- field: z.ZodString;
12773
- as: z.ZodOptional<z.ZodString>;
12774
- grain: z.ZodOptional<z.ZodEnum<{
12775
- day: "day";
12776
- week: "week";
12777
- month: "month";
12778
- year: "year";
12779
- }>>;
12780
- }, z.core.$strict>, z.ZodObject<{
12781
- agg: z.ZodEnum<{
12782
- sum: "sum";
12783
- count: "count";
12784
- count_distinct: "count_distinct";
12785
- avg: "avg";
12786
- min: "min";
12787
- max: "max";
12788
- median: "median";
12789
- }>;
12790
- field: z.ZodOptional<z.ZodString>;
12791
- as: z.ZodString;
12792
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12793
- }, z.core.$strict>, z.ZodObject<{
12794
- calc: z.ZodString;
12795
- as: z.ZodString;
12796
- }, z.core.$strict>]>>>;
12797
- sparkline: z.ZodOptional<z.ZodObject<{
12798
- field: z.ZodString;
12799
- grain: z.ZodEnum<{
12800
- day: "day";
12801
- week: "week";
12802
- month: "month";
12803
- year: "year";
12804
- }>;
12805
- as: z.ZodString;
12806
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12807
- }, z.core.$strict>>;
12808
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12809
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
12810
- field: z.ZodString;
12811
- as: z.ZodOptional<z.ZodString>;
12812
- grain: z.ZodOptional<z.ZodEnum<{
12813
- day: "day";
12814
- week: "week";
12815
- month: "month";
12816
- year: "year";
12817
- }>>;
12818
- timezone: z.ZodOptional<z.ZodString>;
12819
- }, z.core.$strict>]>>>;
12820
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12821
- field: z.ZodString;
12822
- direction: z.ZodOptional<z.ZodEnum<{
12823
- asc: "asc";
12824
- desc: "desc";
12825
- }>>;
12826
- }, z.core.$strict>>>;
12827
- limit: z.ZodOptional<z.ZodNumber>;
12828
- offset: z.ZodOptional<z.ZodNumber>;
12829
- bucket: z.ZodOptional<z.ZodObject<{
12830
- field: z.ZodString;
12831
- buckets: z.ZodArray<z.ZodObject<{
12832
- label: z.ZodString;
12833
- min: z.ZodOptional<z.ZodNumber>;
12834
- max: z.ZodOptional<z.ZodNumber>;
12835
- }, z.core.$strict>>;
12836
- }, z.core.$strict>>;
12837
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12838
- calc: z.ZodString;
12839
- as: z.ZodString;
12840
- }, z.core.$strict>>>;
12841
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12842
- }, z.core.$strict>, z.ZodObject<{
12843
- source: z.ZodLiteral<"steps">;
12844
- steps: z.ZodArray<z.ZodObject<{
12845
- name: z.ZodString;
12846
- resource: z.ZodString;
12847
- select: z.ZodArray<z.ZodObject<{
12848
- agg: z.ZodEnum<{
12849
- sum: "sum";
12850
- count: "count";
12851
- count_distinct: "count_distinct";
12852
- avg: "avg";
12853
- min: "min";
12854
- max: "max";
12855
- median: "median";
12856
- }>;
12857
- field: z.ZodOptional<z.ZodString>;
12858
- as: z.ZodString;
12859
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12860
- }, z.core.$strict>>;
12861
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12862
- }, z.core.$strict>>;
12863
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12864
- calc: z.ZodString;
12865
- as: z.ZodString;
12866
- }, z.core.$strict>>>;
12867
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12868
- field: z.ZodString;
12869
- direction: z.ZodOptional<z.ZodEnum<{
12870
- asc: "asc";
12871
- desc: "desc";
12872
- }>>;
12873
- }, z.core.$strict>>>;
12874
- limit: z.ZodOptional<z.ZodNumber>;
12875
- offset: z.ZodOptional<z.ZodNumber>;
12876
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12877
- }, z.core.$strict>]>;
12878
- }, z.core.$strict>, z.ZodObject<{
12879
- id: z.ZodString;
12880
- group_id: z.ZodString;
12881
- order: z.ZodNumber;
12882
- label: z.ZodOptional<z.ZodString>;
12883
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12884
- size: z.ZodOptional<z.ZodEnum<{
12885
- small: "small";
12886
- medium: "medium";
12887
- large: "large";
12888
- wide: "wide";
12889
- full: "full";
12890
- }>>;
12891
- width: z.ZodOptional<z.ZodNumber>;
12892
- height: z.ZodOptional<z.ZodNumber>;
12893
- min_width: z.ZodOptional<z.ZodNumber>;
12894
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12895
- target: z.ZodLiteral<"chart">;
12896
- chart: z.ZodObject<{
12897
- title: z.ZodOptional<z.ZodString>;
12898
- type: z.ZodLiteral<"funnel">;
12899
- label: z.ZodOptional<z.ZodObject<{
12900
- field: z.ZodString;
12901
- label: z.ZodOptional<z.ZodString>;
12902
- format: z.ZodOptional<z.ZodEnum<{
12903
- number: "number";
12904
- integer: "integer";
12905
- compact_number: "compact_number";
12906
- currency: "currency";
12907
- percent: "percent";
12908
- percent_delta: "percent_delta";
12909
- number_delta: "number_delta";
12910
- currency_delta: "currency_delta";
12911
- }>>;
12912
- }, z.core.$strict>>;
12913
- value: z.ZodOptional<z.ZodObject<{
12914
- field: z.ZodString;
12915
- label: z.ZodOptional<z.ZodString>;
12916
- format: z.ZodOptional<z.ZodEnum<{
12917
- number: "number";
12918
- integer: "integer";
12919
- compact_number: "compact_number";
12920
- currency: "currency";
12921
- percent: "percent";
12922
- percent_delta: "percent_delta";
12923
- number_delta: "number_delta";
12924
- currency_delta: "currency_delta";
12925
- }>>;
12926
- }, z.core.$strict>>;
12927
- colors: z.ZodOptional<z.ZodArray<z.ZodString>>;
12928
- }, z.core.$strict>;
12929
- query: z.ZodUnion<readonly [z.ZodObject<{
12930
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
12931
- resource: z.ZodString;
12932
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12933
- field: z.ZodString;
12934
- as: z.ZodOptional<z.ZodString>;
12935
- grain: z.ZodOptional<z.ZodEnum<{
12936
- day: "day";
12937
- week: "week";
12938
- month: "month";
12939
- year: "year";
12940
- }>>;
12941
- }, z.core.$strict>, z.ZodObject<{
12942
- agg: z.ZodEnum<{
12943
- sum: "sum";
12944
- count: "count";
12945
- count_distinct: "count_distinct";
12946
- avg: "avg";
12947
- min: "min";
12948
- max: "max";
12949
- median: "median";
12950
- }>;
12951
- field: z.ZodOptional<z.ZodString>;
12952
- as: z.ZodString;
12953
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12954
- }, z.core.$strict>, z.ZodObject<{
12955
- calc: z.ZodString;
12956
- as: z.ZodString;
12957
- }, z.core.$strict>]>>>;
12958
- sparkline: z.ZodOptional<z.ZodObject<{
12959
- field: z.ZodString;
12960
- grain: z.ZodEnum<{
12961
- day: "day";
12962
- week: "week";
12963
- month: "month";
12964
- year: "year";
12965
- }>;
12966
- as: z.ZodString;
12967
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12968
- }, z.core.$strict>>;
12969
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
12970
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
12971
- field: z.ZodString;
12972
- as: z.ZodOptional<z.ZodString>;
12973
- grain: z.ZodOptional<z.ZodEnum<{
12974
- day: "day";
12975
- week: "week";
12976
- month: "month";
12977
- year: "year";
12978
- }>>;
12979
- timezone: z.ZodOptional<z.ZodString>;
12980
- }, z.core.$strict>]>>>;
12981
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
12982
- field: z.ZodString;
12983
- direction: z.ZodOptional<z.ZodEnum<{
12984
- asc: "asc";
12985
- desc: "desc";
12986
- }>>;
12987
- }, z.core.$strict>>>;
12988
- limit: z.ZodOptional<z.ZodNumber>;
12989
- offset: z.ZodOptional<z.ZodNumber>;
12990
- bucket: z.ZodOptional<z.ZodObject<{
12991
- field: z.ZodString;
12992
- buckets: z.ZodArray<z.ZodObject<{
12993
- label: z.ZodString;
12994
- min: z.ZodOptional<z.ZodNumber>;
12995
- max: z.ZodOptional<z.ZodNumber>;
12996
- }, z.core.$strict>>;
12997
- }, z.core.$strict>>;
12998
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
12999
- calc: z.ZodString;
13000
- as: z.ZodString;
13001
- }, z.core.$strict>>>;
13002
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13003
- }, z.core.$strict>, z.ZodObject<{
13004
- source: z.ZodLiteral<"steps">;
13005
- steps: z.ZodArray<z.ZodObject<{
13006
- name: z.ZodString;
13007
- resource: z.ZodString;
13008
- select: z.ZodArray<z.ZodObject<{
13009
- agg: z.ZodEnum<{
13010
- sum: "sum";
13011
- count: "count";
13012
- count_distinct: "count_distinct";
13013
- avg: "avg";
13014
- min: "min";
13015
- max: "max";
13016
- median: "median";
13017
- }>;
13018
- field: z.ZodOptional<z.ZodString>;
13019
- as: z.ZodString;
13020
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13021
- }, z.core.$strict>>;
13022
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13023
- }, z.core.$strict>>;
13024
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
13025
- calc: z.ZodString;
13026
- as: z.ZodString;
13027
- }, z.core.$strict>>>;
13028
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
13029
- field: z.ZodString;
13030
- direction: z.ZodOptional<z.ZodEnum<{
13031
- asc: "asc";
13032
- desc: "desc";
13033
- }>>;
13034
- }, z.core.$strict>>>;
13035
- limit: z.ZodOptional<z.ZodNumber>;
13036
- offset: z.ZodOptional<z.ZodNumber>;
13037
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13038
- }, z.core.$strict>]>;
13039
- }, z.core.$strict>]>, z.ZodObject<{
13040
- id: z.ZodString;
13041
- group_id: z.ZodString;
13042
- order: z.ZodNumber;
13043
- label: z.ZodOptional<z.ZodString>;
13044
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13045
- size: z.ZodOptional<z.ZodEnum<{
13046
- small: "small";
13047
- medium: "medium";
13048
- large: "large";
13049
- wide: "wide";
13050
- full: "full";
13051
- }>>;
13052
- width: z.ZodOptional<z.ZodNumber>;
13053
- height: z.ZodOptional<z.ZodNumber>;
13054
- min_width: z.ZodOptional<z.ZodNumber>;
13055
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13056
- target: z.ZodLiteral<"kpi_card">;
13057
- card: z.ZodObject<{
13058
- title: z.ZodOptional<z.ZodString>;
13059
- value: z.ZodObject<{
13060
- field: z.ZodString;
13061
- format: z.ZodOptional<z.ZodEnum<{
13062
- number: "number";
13063
- integer: "integer";
13064
- compact_number: "compact_number";
13065
- currency: "currency";
13066
- percent: "percent";
13067
- percent_delta: "percent_delta";
13068
- number_delta: "number_delta";
13069
- currency_delta: "currency_delta";
13070
- }>>;
13071
- prefix: z.ZodOptional<z.ZodString>;
13072
- suffix: z.ZodOptional<z.ZodString>;
13073
- }, z.core.$strict>;
13074
- subtitle: z.ZodOptional<z.ZodObject<{
13075
- text: z.ZodOptional<z.ZodString>;
13076
- field: z.ZodOptional<z.ZodString>;
13077
- }, z.core.$strict>>;
13078
- comparison: z.ZodOptional<z.ZodObject<{
13079
- field: z.ZodString;
13080
- format: z.ZodOptional<z.ZodEnum<{
13081
- number: "number";
13082
- integer: "integer";
13083
- compact_number: "compact_number";
13084
- currency: "currency";
13085
- percent: "percent";
13086
- percent_delta: "percent_delta";
13087
- number_delta: "number_delta";
13088
- currency_delta: "currency_delta";
13089
- }>>;
13090
- positive_is_good: z.ZodOptional<z.ZodBoolean>;
13091
- compact: z.ZodOptional<z.ZodObject<{
13092
- show: z.ZodOptional<z.ZodBoolean>;
13093
- template: z.ZodOptional<z.ZodString>;
13094
- }, z.core.$strict>>;
13095
- tooltip: z.ZodOptional<z.ZodObject<{
13096
- label: z.ZodOptional<z.ZodString>;
13097
- template: z.ZodOptional<z.ZodString>;
13098
- }, z.core.$strict>>;
13099
- }, z.core.$strict>>;
13100
- sparkline: z.ZodOptional<z.ZodObject<{
13101
- type: z.ZodOptional<z.ZodEnum<{
13102
- line: "line";
13103
- }>>;
13104
- field: z.ZodString;
13105
- x: z.ZodString;
13106
- show_axes: z.ZodOptional<z.ZodBoolean>;
13107
- show_labels: z.ZodOptional<z.ZodBoolean>;
13108
- fill: z.ZodOptional<z.ZodObject<{
13109
- type: z.ZodOptional<z.ZodEnum<{
13110
- gradient: "gradient";
13111
- solid: "solid";
13112
- }>>;
13113
- }, z.core.$strict>>;
13114
- }, z.core.$strict>>;
13115
- }, z.core.$strict>;
13116
- query: z.ZodUnion<readonly [z.ZodObject<{
13117
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
13118
- resource: z.ZodString;
13119
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13120
- field: z.ZodString;
13121
- as: z.ZodOptional<z.ZodString>;
13122
- grain: z.ZodOptional<z.ZodEnum<{
13123
- day: "day";
13124
- week: "week";
13125
- month: "month";
13126
- year: "year";
13127
- }>>;
13128
- }, z.core.$strict>, z.ZodObject<{
13129
- agg: z.ZodEnum<{
13130
- sum: "sum";
13131
- count: "count";
13132
- count_distinct: "count_distinct";
13133
- avg: "avg";
13134
- min: "min";
13135
- max: "max";
13136
- median: "median";
13137
- }>;
13138
- field: z.ZodOptional<z.ZodString>;
13139
- as: z.ZodString;
13140
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13141
- }, z.core.$strict>, z.ZodObject<{
13142
- calc: z.ZodString;
13143
- as: z.ZodString;
13144
- }, z.core.$strict>]>>>;
13145
- sparkline: z.ZodOptional<z.ZodObject<{
13146
- field: z.ZodString;
13147
- grain: z.ZodEnum<{
13148
- day: "day";
13149
- week: "week";
13150
- month: "month";
13151
- year: "year";
13152
- }>;
13153
- as: z.ZodString;
13154
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13155
- }, z.core.$strict>>;
13156
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13157
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13158
- field: z.ZodString;
13159
- as: z.ZodOptional<z.ZodString>;
13160
- grain: z.ZodOptional<z.ZodEnum<{
13161
- day: "day";
13162
- week: "week";
13163
- month: "month";
13164
- year: "year";
13165
- }>>;
13166
- timezone: z.ZodOptional<z.ZodString>;
13167
- }, z.core.$strict>]>>>;
13168
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
13169
- field: z.ZodString;
13170
- direction: z.ZodOptional<z.ZodEnum<{
13171
- asc: "asc";
13172
- desc: "desc";
13173
- }>>;
13174
- }, z.core.$strict>>>;
13175
- limit: z.ZodOptional<z.ZodNumber>;
13176
- offset: z.ZodOptional<z.ZodNumber>;
13177
- bucket: z.ZodOptional<z.ZodObject<{
13178
- field: z.ZodString;
13179
- buckets: z.ZodArray<z.ZodObject<{
13180
- label: z.ZodString;
13181
- min: z.ZodOptional<z.ZodNumber>;
13182
- max: z.ZodOptional<z.ZodNumber>;
13183
- }, z.core.$strict>>;
13184
- }, z.core.$strict>>;
13185
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
13186
- calc: z.ZodString;
13187
- as: z.ZodString;
13188
- }, z.core.$strict>>>;
13189
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13190
- }, z.core.$strict>, z.ZodObject<{
13191
- source: z.ZodLiteral<"steps">;
13192
- steps: z.ZodArray<z.ZodObject<{
13193
- name: z.ZodString;
13194
- resource: z.ZodString;
13195
- select: z.ZodArray<z.ZodObject<{
13196
- agg: z.ZodEnum<{
13197
- sum: "sum";
13198
- count: "count";
13199
- count_distinct: "count_distinct";
13200
- avg: "avg";
13201
- min: "min";
13202
- max: "max";
13203
- median: "median";
13204
- }>;
13205
- field: z.ZodOptional<z.ZodString>;
13206
- as: z.ZodString;
13207
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13208
- }, z.core.$strict>>;
13209
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13210
- }, z.core.$strict>>;
13211
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
13212
- calc: z.ZodString;
13213
- as: z.ZodString;
13214
- }, z.core.$strict>>>;
13215
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
13216
- field: z.ZodString;
13217
- direction: z.ZodOptional<z.ZodEnum<{
13218
- asc: "asc";
13219
- desc: "desc";
13220
- }>>;
13221
- }, z.core.$strict>>>;
13222
- limit: z.ZodOptional<z.ZodNumber>;
13223
- offset: z.ZodOptional<z.ZodNumber>;
13224
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13225
- }, z.core.$strict>]>;
13226
- }, z.core.$strict>, z.ZodObject<{
13227
- id: z.ZodString;
13228
- group_id: z.ZodString;
13229
- order: z.ZodNumber;
13230
- label: z.ZodOptional<z.ZodString>;
13231
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13232
- size: z.ZodOptional<z.ZodEnum<{
13233
- small: "small";
13234
- medium: "medium";
13235
- large: "large";
13236
- wide: "wide";
13237
- full: "full";
13238
- }>>;
13239
- width: z.ZodOptional<z.ZodNumber>;
13240
- height: z.ZodOptional<z.ZodNumber>;
13241
- min_width: z.ZodOptional<z.ZodNumber>;
13242
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13243
- target: z.ZodLiteral<"gauge_card">;
13244
- card: z.ZodObject<{
13245
- title: z.ZodOptional<z.ZodString>;
13246
- value: z.ZodObject<{
13247
- field: z.ZodString;
13248
- format: z.ZodOptional<z.ZodEnum<{
13249
- number: "number";
13250
- integer: "integer";
13251
- compact_number: "compact_number";
13252
- currency: "currency";
13253
- percent: "percent";
13254
- percent_delta: "percent_delta";
13255
- number_delta: "number_delta";
13256
- currency_delta: "currency_delta";
13257
- }>>;
13258
- prefix: z.ZodOptional<z.ZodString>;
13259
- suffix: z.ZodOptional<z.ZodString>;
13260
- }, z.core.$strict>;
13261
- target: z.ZodOptional<z.ZodObject<{
13262
- value: z.ZodOptional<z.ZodNumber>;
13263
- field: z.ZodOptional<z.ZodString>;
13264
- label: z.ZodOptional<z.ZodString>;
13265
- }, z.core.$strict>>;
13266
- progress: z.ZodOptional<z.ZodObject<{
13267
- value_field: z.ZodString;
13268
- target_value: z.ZodOptional<z.ZodNumber>;
13269
- target_field: z.ZodOptional<z.ZodString>;
13270
- format: z.ZodOptional<z.ZodEnum<{
13271
- number: "number";
13272
- integer: "integer";
13273
- compact_number: "compact_number";
13274
- currency: "currency";
13275
- percent: "percent";
13276
- percent_delta: "percent_delta";
13277
- number_delta: "number_delta";
13278
- currency_delta: "currency_delta";
13279
- }>>;
13280
- }, z.core.$strict>>;
13281
- color: z.ZodOptional<z.ZodString>;
13282
- }, z.core.$strict>;
13283
- query: z.ZodUnion<readonly [z.ZodObject<{
13284
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
13285
- resource: z.ZodString;
13286
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13287
- field: z.ZodString;
13288
- as: z.ZodOptional<z.ZodString>;
13289
- grain: z.ZodOptional<z.ZodEnum<{
13290
- day: "day";
13291
- week: "week";
13292
- month: "month";
13293
- year: "year";
13294
- }>>;
13295
- }, z.core.$strict>, z.ZodObject<{
13296
- agg: z.ZodEnum<{
13297
- sum: "sum";
13298
- count: "count";
13299
- count_distinct: "count_distinct";
13300
- avg: "avg";
13301
- min: "min";
13302
- max: "max";
13303
- median: "median";
13304
- }>;
13305
- field: z.ZodOptional<z.ZodString>;
13306
- as: z.ZodString;
13307
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13308
- }, z.core.$strict>, z.ZodObject<{
13309
- calc: z.ZodString;
13310
- as: z.ZodString;
13311
- }, z.core.$strict>]>>>;
13312
- sparkline: z.ZodOptional<z.ZodObject<{
13313
- field: z.ZodString;
13314
- grain: z.ZodEnum<{
13315
- day: "day";
13316
- week: "week";
13317
- month: "month";
13318
- year: "year";
13319
- }>;
13320
- as: z.ZodString;
13321
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13322
- }, z.core.$strict>>;
13323
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13324
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13325
- field: z.ZodString;
13326
- as: z.ZodOptional<z.ZodString>;
13327
- grain: z.ZodOptional<z.ZodEnum<{
13328
- day: "day";
13329
- week: "week";
13330
- month: "month";
13331
- year: "year";
13332
- }>>;
13333
- timezone: z.ZodOptional<z.ZodString>;
13334
- }, z.core.$strict>]>>>;
13335
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
13336
- field: z.ZodString;
13337
- direction: z.ZodOptional<z.ZodEnum<{
13338
- asc: "asc";
13339
- desc: "desc";
13340
- }>>;
13341
- }, z.core.$strict>>>;
13342
- limit: z.ZodOptional<z.ZodNumber>;
13343
- offset: z.ZodOptional<z.ZodNumber>;
13344
- bucket: z.ZodOptional<z.ZodObject<{
13345
- field: z.ZodString;
13346
- buckets: z.ZodArray<z.ZodObject<{
13347
- label: z.ZodString;
13348
- min: z.ZodOptional<z.ZodNumber>;
13349
- max: z.ZodOptional<z.ZodNumber>;
13350
- }, z.core.$strict>>;
13351
- }, z.core.$strict>>;
13352
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
13353
- calc: z.ZodString;
13354
- as: z.ZodString;
13355
- }, z.core.$strict>>>;
13356
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13357
- }, z.core.$strict>, z.ZodObject<{
13358
- source: z.ZodLiteral<"steps">;
13359
- steps: z.ZodArray<z.ZodObject<{
13360
- name: z.ZodString;
13361
- resource: z.ZodString;
13362
- select: z.ZodArray<z.ZodObject<{
13363
- agg: z.ZodEnum<{
13364
- sum: "sum";
13365
- count: "count";
13366
- count_distinct: "count_distinct";
13367
- avg: "avg";
13368
- min: "min";
13369
- max: "max";
13370
- median: "median";
13371
- }>;
13372
- field: z.ZodOptional<z.ZodString>;
13373
- as: z.ZodString;
13374
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13375
- }, z.core.$strict>>;
13376
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13377
- }, z.core.$strict>>;
13378
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
13379
- calc: z.ZodString;
13380
- as: z.ZodString;
13381
- }, z.core.$strict>>>;
13382
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
13383
- field: z.ZodString;
13384
- direction: z.ZodOptional<z.ZodEnum<{
13385
- asc: "asc";
13386
- desc: "desc";
13387
- }>>;
13388
- }, z.core.$strict>>>;
13389
- limit: z.ZodOptional<z.ZodNumber>;
13390
- offset: z.ZodOptional<z.ZodNumber>;
13391
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13392
- }, z.core.$strict>]>;
13393
- }, z.core.$strict>, z.ZodObject<{
13394
- id: z.ZodString;
13395
- group_id: z.ZodString;
13396
- order: z.ZodNumber;
13397
- label: z.ZodOptional<z.ZodString>;
13398
- variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13399
- size: z.ZodOptional<z.ZodEnum<{
13400
- small: "small";
13401
- medium: "medium";
13402
- large: "large";
13403
- wide: "wide";
13404
- full: "full";
13405
- }>>;
13406
- width: z.ZodOptional<z.ZodNumber>;
13407
- height: z.ZodOptional<z.ZodNumber>;
13408
- min_width: z.ZodOptional<z.ZodNumber>;
13409
- max_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13410
- target: z.ZodLiteral<"pivot_table">;
13411
- pivot: z.ZodObject<{
13412
- rows: z.ZodArray<z.ZodObject<{
13413
- field: z.ZodString;
13414
- label: z.ZodOptional<z.ZodString>;
13415
- format: z.ZodOptional<z.ZodEnum<{
13416
- number: "number";
13417
- integer: "integer";
13418
- compact_number: "compact_number";
13419
- currency: "currency";
13420
- percent: "percent";
13421
- percent_delta: "percent_delta";
13422
- number_delta: "number_delta";
13423
- currency_delta: "currency_delta";
13424
- }>>;
13425
- }, z.core.$strict>>;
13426
- columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
13427
- field: z.ZodString;
13428
- label: z.ZodOptional<z.ZodString>;
13429
- format: z.ZodOptional<z.ZodEnum<{
13430
- number: "number";
13431
- integer: "integer";
13432
- compact_number: "compact_number";
13433
- currency: "currency";
13434
- percent: "percent";
13435
- percent_delta: "percent_delta";
13436
- number_delta: "number_delta";
13437
- currency_delta: "currency_delta";
13438
- }>>;
13439
- }, z.core.$strict>>>;
13440
- values: z.ZodArray<z.ZodObject<{
13441
- field: z.ZodString;
13442
- label: z.ZodOptional<z.ZodString>;
13443
- format: z.ZodOptional<z.ZodEnum<{
13444
- number: "number";
13445
- integer: "integer";
13446
- compact_number: "compact_number";
13447
- currency: "currency";
13448
- percent: "percent";
13449
- percent_delta: "percent_delta";
13450
- number_delta: "number_delta";
13451
- currency_delta: "currency_delta";
13452
- }>>;
13453
- aggregation: z.ZodOptional<z.ZodEnum<{
13454
- sum: "sum";
13455
- count: "count";
13456
- avg: "avg";
13457
- min: "min";
13458
- max: "max";
13459
- }>>;
13460
- }, z.core.$strict>>;
13461
- }, z.core.$strict>;
13462
- query: z.ZodUnion<readonly [z.ZodObject<{
13463
- source: z.ZodOptional<z.ZodLiteral<"resource">>;
13464
- resource: z.ZodString;
13465
- select: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13466
- field: z.ZodString;
13467
- as: z.ZodOptional<z.ZodString>;
13468
- grain: z.ZodOptional<z.ZodEnum<{
13469
- day: "day";
13470
- week: "week";
13471
- month: "month";
13472
- year: "year";
13473
- }>>;
13474
- }, z.core.$strict>, z.ZodObject<{
13475
- agg: z.ZodEnum<{
13476
- sum: "sum";
13477
- count: "count";
13478
- count_distinct: "count_distinct";
13479
- avg: "avg";
13480
- min: "min";
13481
- max: "max";
13482
- median: "median";
13483
- }>;
13484
- field: z.ZodOptional<z.ZodString>;
13485
- as: z.ZodString;
13486
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13487
- }, z.core.$strict>, z.ZodObject<{
13488
- calc: z.ZodString;
13489
- as: z.ZodString;
13490
- }, z.core.$strict>]>>>;
13491
- sparkline: z.ZodOptional<z.ZodObject<{
13492
- field: z.ZodString;
13493
- grain: z.ZodEnum<{
13494
- day: "day";
13495
- week: "week";
13496
- month: "month";
13497
- year: "year";
13498
- }>;
13499
- as: z.ZodString;
13500
- fill_missing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13501
- }, z.core.$strict>>;
13502
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13503
- group_by: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
13504
- field: z.ZodString;
13505
- as: z.ZodOptional<z.ZodString>;
13506
- grain: z.ZodOptional<z.ZodEnum<{
13507
- day: "day";
13508
- week: "week";
13509
- month: "month";
13510
- year: "year";
13511
- }>>;
13512
- timezone: z.ZodOptional<z.ZodString>;
13513
- }, z.core.$strict>]>>>;
13514
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
13515
- field: z.ZodString;
13516
- direction: z.ZodOptional<z.ZodEnum<{
13517
- asc: "asc";
13518
- desc: "desc";
13519
- }>>;
13520
- }, z.core.$strict>>>;
13521
- limit: z.ZodOptional<z.ZodNumber>;
13522
- offset: z.ZodOptional<z.ZodNumber>;
13523
- bucket: z.ZodOptional<z.ZodObject<{
13524
- field: z.ZodString;
13525
- buckets: z.ZodArray<z.ZodObject<{
13526
- label: z.ZodString;
13527
- min: z.ZodOptional<z.ZodNumber>;
13528
- max: z.ZodOptional<z.ZodNumber>;
13529
- }, z.core.$strict>>;
13530
- }, z.core.$strict>>;
13531
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
13532
- calc: z.ZodString;
13533
- as: z.ZodString;
13534
- }, z.core.$strict>>>;
13535
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13536
- }, z.core.$strict>, z.ZodObject<{
13537
- source: z.ZodLiteral<"steps">;
13538
- steps: z.ZodArray<z.ZodObject<{
13539
- name: z.ZodString;
13540
- resource: z.ZodString;
13541
- select: z.ZodArray<z.ZodObject<{
13542
- agg: z.ZodEnum<{
13543
- sum: "sum";
13544
- count: "count";
13545
- count_distinct: "count_distinct";
13546
- avg: "avg";
13547
- min: "min";
13548
- max: "max";
13549
- median: "median";
13550
- }>;
13551
- field: z.ZodOptional<z.ZodString>;
13552
- as: z.ZodString;
13553
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13554
- }, z.core.$strict>>;
13555
- filters: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
13556
- }, z.core.$strict>>;
13557
- calcs: z.ZodOptional<z.ZodArray<z.ZodObject<{
13558
- calc: z.ZodString;
13559
- as: z.ZodString;
13560
- }, z.core.$strict>>>;
13561
- order_by: z.ZodOptional<z.ZodArray<z.ZodObject<{
13562
- field: z.ZodString;
13563
- direction: z.ZodOptional<z.ZodEnum<{
13564
- asc: "asc";
13565
- desc: "desc";
13566
- }>>;
13567
- }, z.core.$strict>>>;
13568
- limit: z.ZodOptional<z.ZodNumber>;
13569
- offset: z.ZodOptional<z.ZodNumber>;
13570
- formatting: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13571
- }, z.core.$strict>]>;
13572
- }, z.core.$strict>]>>;
13573
- }, z.core.$strict>;
13574
- }, z.core.$strip>, z.ZodObject<{
13575
- error: z.ZodString;
13576
- validationErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
13577
- field: z.ZodString;
13578
- message: z.ZodString;
13579
- }, z.core.$strip>>>;
13580
- }, z.core.$strip>]>>;
11856
+ export declare const DashboardMutationResponseZodSchema: z.ZodObject<{
11857
+ ok: z.ZodBoolean;
11858
+ error: z.ZodOptional<z.ZodString>;
11859
+ groupId: z.ZodOptional<z.ZodString>;
11860
+ widgetId: z.ZodOptional<z.ZodString>;
11861
+ }, z.core.$strict>;
11862
+ export declare const DashboardApiResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodUnknown>;
13581
11863
  export declare const DashboardWidgetDataResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodUnion<readonly [z.ZodObject<{
13582
11864
  widget: z.ZodUnion<readonly [z.ZodObject<{
13583
11865
  id: z.ZodString;
@@ -15320,20 +13602,12 @@ export declare const MoveWidgetRequestSchema: z.core.ZodStandardJSONSchemaPayloa
15320
13602
  down: "down";
15321
13603
  }>;
15322
13604
  }, z.core.$strict>>;
15323
- export declare const DashboardMutationResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodUnion<readonly [z.ZodObject<{
15324
- ok: z.ZodLiteral<true>;
15325
- slug: z.ZodString;
15326
- widgetId: z.ZodOptional<z.ZodString>;
13605
+ export declare const DashboardMutationResponseSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
13606
+ ok: z.ZodBoolean;
13607
+ error: z.ZodOptional<z.ZodString>;
15327
13608
  groupId: z.ZodOptional<z.ZodString>;
15328
- target: z.ZodOptional<z.ZodString>;
15329
- revision: z.ZodOptional<z.ZodNumber>;
15330
- }, z.core.$strict>, z.ZodObject<{
15331
- error: z.ZodString;
15332
- validationErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
15333
- field: z.ZodString;
15334
- message: z.ZodString;
15335
- }, z.core.$strip>>>;
15336
- }, z.core.$strip>]>>;
13609
+ widgetId: z.ZodOptional<z.ZodString>;
13610
+ }, z.core.$strict>>;
15337
13611
  export declare const SetWidgetConfigRequestSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
15338
13612
  slug: z.ZodString;
15339
13613
  widgetId: z.ZodString;