@flipstream/sdk 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.
Files changed (51) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +212 -34
  3. package/dist/auth/discovery.d.ts +5 -4
  4. package/dist/auth/discovery.js +10 -8
  5. package/dist/auth/discovery.js.map +1 -1
  6. package/dist/auth/signIn.js +10 -5
  7. package/dist/auth/signIn.js.map +1 -1
  8. package/dist/auth/transport.d.ts +20 -2
  9. package/dist/auth/transport.js +25 -5
  10. package/dist/auth/transport.js.map +1 -1
  11. package/dist/core/fetch.d.ts +5 -0
  12. package/dist/core/fetch.js +8 -1
  13. package/dist/core/fetch.js.map +1 -1
  14. package/dist/flipstream.d.ts +8 -0
  15. package/dist/flipstream.js +4 -3
  16. package/dist/flipstream.js.map +1 -1
  17. package/dist/index.d.ts +2 -1
  18. package/dist/index.js +2 -0
  19. package/dist/index.js.map +1 -1
  20. package/dist/node/fileLock.d.ts +21 -0
  21. package/dist/node/fileLock.js +23 -54
  22. package/dist/node/fileLock.js.map +1 -1
  23. package/dist/node/fileStore.d.ts +23 -1
  24. package/dist/node/fileStore.js +20 -18
  25. package/dist/node/fileStore.js.map +1 -1
  26. package/dist/node/keychainChild.js +84 -48
  27. package/dist/node/keychainChild.js.map +1 -1
  28. package/dist/node/keychainStore.d.ts +7 -3
  29. package/dist/node/keychainStore.js +169 -51
  30. package/dist/node/keychainStore.js.map +1 -1
  31. package/dist/node/loopback.js +1 -1
  32. package/dist/node/loopback.js.map +1 -1
  33. package/dist/node/session.d.ts +31 -2
  34. package/dist/node/session.js +88 -17
  35. package/dist/node/session.js.map +1 -1
  36. package/dist/node/store.d.ts +5 -1
  37. package/dist/node/store.js +12 -4
  38. package/dist/node/store.js.map +1 -1
  39. package/dist/query/catalog.d.ts +271 -2
  40. package/dist/query/catalog.js +93 -5
  41. package/dist/query/catalog.js.map +1 -1
  42. package/dist/query/query.d.ts +14 -5
  43. package/dist/query/query.js +21 -6
  44. package/dist/query/query.js.map +1 -1
  45. package/dist/spec/query-planner/index.d.ts +1 -1
  46. package/dist/spec/query-planner/types.gen.d.ts +35 -4
  47. package/dist/spec/query-planner/zod.gen.d.ts +257 -64
  48. package/dist/spec/query-planner/zod.gen.js +31 -5
  49. package/dist/spec/query-planner/zod.gen.js.map +1 -1
  50. package/dist/version.gen.js +1 -1
  51. package/package.json +1 -1
@@ -51,33 +51,96 @@ export declare const zHttpValidationError: z.ZodObject<{
51
51
  ctx: z.ZodExactOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
52
52
  }, z.core.$loose>>>;
53
53
  }, z.core.$loose>;
54
- export declare const zFormat: z.ZodObject<{
55
- type: z.ZodString;
56
- decimals: z.ZodExactOptional<z.ZodInt>;
54
+ export declare const zNumberFormat: z.ZodObject<{
55
+ type: z.ZodLiteral<"number">;
56
+ decimals: z.ZodInt;
57
57
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
58
- format: z.ZodExactOptional<z.ZodString>;
59
58
  }, z.core.$loose>;
59
+ export declare const zCurrencyFormat: z.ZodObject<{
60
+ type: z.ZodLiteral<"currency">;
61
+ decimals: z.ZodInt;
62
+ }, z.core.$loose>;
63
+ export declare const zPercentageFormat: z.ZodObject<{
64
+ type: z.ZodLiteral<"percentage">;
65
+ decimals: z.ZodInt;
66
+ }, z.core.$loose>;
67
+ export declare const zDateFormat: z.ZodObject<{
68
+ type: z.ZodLiteral<"date">;
69
+ format: z.ZodLiteral<"YYYY-MM-DD">;
70
+ }, z.core.$loose>;
71
+ export declare const zStringFormat: z.ZodObject<{
72
+ type: z.ZodLiteral<"string">;
73
+ }, z.core.$loose>;
74
+ export declare const zUnknownFormat: z.ZodObject<{
75
+ type: z.ZodLiteral<"unknown">;
76
+ declared: z.ZodString;
77
+ }, z.core.$loose>;
78
+ export declare const zFormat: z.ZodDiscriminatedUnion<[z.ZodObject<{
79
+ type: z.ZodLiteral<"number">;
80
+ decimals: z.ZodInt;
81
+ thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
82
+ }, z.core.$loose>, z.ZodObject<{
83
+ type: z.ZodLiteral<"currency">;
84
+ decimals: z.ZodInt;
85
+ }, z.core.$loose>, z.ZodObject<{
86
+ type: z.ZodLiteral<"percentage">;
87
+ decimals: z.ZodInt;
88
+ }, z.core.$loose>, z.ZodObject<{
89
+ type: z.ZodLiteral<"date">;
90
+ format: z.ZodLiteral<"YYYY-MM-DD">;
91
+ }, z.core.$loose>, z.ZodObject<{
92
+ type: z.ZodLiteral<"string">;
93
+ }, z.core.$loose>, z.ZodObject<{
94
+ type: z.ZodLiteral<"unknown">;
95
+ declared: z.ZodString;
96
+ }, z.core.$loose>], "type">;
60
97
  export declare const zDimension: z.ZodObject<{
61
98
  name: z.ZodString;
62
99
  label: z.ZodString;
63
100
  description: z.ZodString;
64
- format: z.ZodObject<{
65
- type: z.ZodString;
66
- decimals: z.ZodExactOptional<z.ZodInt>;
101
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
102
+ type: z.ZodLiteral<"number">;
103
+ decimals: z.ZodInt;
67
104
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
68
- format: z.ZodExactOptional<z.ZodString>;
69
- }, z.core.$loose>;
105
+ }, z.core.$loose>, z.ZodObject<{
106
+ type: z.ZodLiteral<"currency">;
107
+ decimals: z.ZodInt;
108
+ }, z.core.$loose>, z.ZodObject<{
109
+ type: z.ZodLiteral<"percentage">;
110
+ decimals: z.ZodInt;
111
+ }, z.core.$loose>, z.ZodObject<{
112
+ type: z.ZodLiteral<"date">;
113
+ format: z.ZodLiteral<"YYYY-MM-DD">;
114
+ }, z.core.$loose>, z.ZodObject<{
115
+ type: z.ZodLiteral<"string">;
116
+ }, z.core.$loose>, z.ZodObject<{
117
+ type: z.ZodLiteral<"unknown">;
118
+ declared: z.ZodString;
119
+ }, z.core.$loose>], "type">;
70
120
  }, z.core.$loose>;
71
121
  export declare const zMetric: z.ZodObject<{
72
122
  name: z.ZodString;
73
123
  label: z.ZodString;
74
124
  description: z.ZodString;
75
- format: z.ZodObject<{
76
- type: z.ZodString;
77
- decimals: z.ZodExactOptional<z.ZodInt>;
125
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
126
+ type: z.ZodLiteral<"number">;
127
+ decimals: z.ZodInt;
78
128
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
79
- format: z.ZodExactOptional<z.ZodString>;
80
- }, z.core.$loose>;
129
+ }, z.core.$loose>, z.ZodObject<{
130
+ type: z.ZodLiteral<"currency">;
131
+ decimals: z.ZodInt;
132
+ }, z.core.$loose>, z.ZodObject<{
133
+ type: z.ZodLiteral<"percentage">;
134
+ decimals: z.ZodInt;
135
+ }, z.core.$loose>, z.ZodObject<{
136
+ type: z.ZodLiteral<"date">;
137
+ format: z.ZodLiteral<"YYYY-MM-DD">;
138
+ }, z.core.$loose>, z.ZodObject<{
139
+ type: z.ZodLiteral<"string">;
140
+ }, z.core.$loose>, z.ZodObject<{
141
+ type: z.ZodLiteral<"unknown">;
142
+ declared: z.ZodString;
143
+ }, z.core.$loose>], "type">;
81
144
  lowerIsBetter: z.ZodExactOptional<z.ZodBoolean>;
82
145
  }, z.core.$loose>;
83
146
  export declare const zCustomDimensions: z.ZodObject<{
@@ -93,23 +156,49 @@ export declare const zSource: z.ZodObject<{
93
156
  name: z.ZodString;
94
157
  label: z.ZodString;
95
158
  description: z.ZodString;
96
- format: z.ZodObject<{
97
- type: z.ZodString;
98
- decimals: z.ZodExactOptional<z.ZodInt>;
159
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
160
+ type: z.ZodLiteral<"number">;
161
+ decimals: z.ZodInt;
99
162
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
100
- format: z.ZodExactOptional<z.ZodString>;
101
- }, z.core.$loose>;
163
+ }, z.core.$loose>, z.ZodObject<{
164
+ type: z.ZodLiteral<"currency">;
165
+ decimals: z.ZodInt;
166
+ }, z.core.$loose>, z.ZodObject<{
167
+ type: z.ZodLiteral<"percentage">;
168
+ decimals: z.ZodInt;
169
+ }, z.core.$loose>, z.ZodObject<{
170
+ type: z.ZodLiteral<"date">;
171
+ format: z.ZodLiteral<"YYYY-MM-DD">;
172
+ }, z.core.$loose>, z.ZodObject<{
173
+ type: z.ZodLiteral<"string">;
174
+ }, z.core.$loose>, z.ZodObject<{
175
+ type: z.ZodLiteral<"unknown">;
176
+ declared: z.ZodString;
177
+ }, z.core.$loose>], "type">;
102
178
  }, z.core.$loose>>;
103
179
  metrics: z.ZodArray<z.ZodObject<{
104
180
  name: z.ZodString;
105
181
  label: z.ZodString;
106
182
  description: z.ZodString;
107
- format: z.ZodObject<{
108
- type: z.ZodString;
109
- decimals: z.ZodExactOptional<z.ZodInt>;
183
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
184
+ type: z.ZodLiteral<"number">;
185
+ decimals: z.ZodInt;
110
186
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
111
- format: z.ZodExactOptional<z.ZodString>;
112
- }, z.core.$loose>;
187
+ }, z.core.$loose>, z.ZodObject<{
188
+ type: z.ZodLiteral<"currency">;
189
+ decimals: z.ZodInt;
190
+ }, z.core.$loose>, z.ZodObject<{
191
+ type: z.ZodLiteral<"percentage">;
192
+ decimals: z.ZodInt;
193
+ }, z.core.$loose>, z.ZodObject<{
194
+ type: z.ZodLiteral<"date">;
195
+ format: z.ZodLiteral<"YYYY-MM-DD">;
196
+ }, z.core.$loose>, z.ZodObject<{
197
+ type: z.ZodLiteral<"string">;
198
+ }, z.core.$loose>, z.ZodObject<{
199
+ type: z.ZodLiteral<"unknown">;
200
+ declared: z.ZodString;
201
+ }, z.core.$loose>], "type">;
113
202
  lowerIsBetter: z.ZodExactOptional<z.ZodBoolean>;
114
203
  }, z.core.$loose>>;
115
204
  customDimensions: z.ZodExactOptional<z.ZodObject<{
@@ -133,23 +222,49 @@ export declare const zCatalog: z.ZodObject<{
133
222
  name: z.ZodString;
134
223
  label: z.ZodString;
135
224
  description: z.ZodString;
136
- format: z.ZodObject<{
137
- type: z.ZodString;
138
- decimals: z.ZodExactOptional<z.ZodInt>;
225
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
226
+ type: z.ZodLiteral<"number">;
227
+ decimals: z.ZodInt;
139
228
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
140
- format: z.ZodExactOptional<z.ZodString>;
141
- }, z.core.$loose>;
229
+ }, z.core.$loose>, z.ZodObject<{
230
+ type: z.ZodLiteral<"currency">;
231
+ decimals: z.ZodInt;
232
+ }, z.core.$loose>, z.ZodObject<{
233
+ type: z.ZodLiteral<"percentage">;
234
+ decimals: z.ZodInt;
235
+ }, z.core.$loose>, z.ZodObject<{
236
+ type: z.ZodLiteral<"date">;
237
+ format: z.ZodLiteral<"YYYY-MM-DD">;
238
+ }, z.core.$loose>, z.ZodObject<{
239
+ type: z.ZodLiteral<"string">;
240
+ }, z.core.$loose>, z.ZodObject<{
241
+ type: z.ZodLiteral<"unknown">;
242
+ declared: z.ZodString;
243
+ }, z.core.$loose>], "type">;
142
244
  }, z.core.$loose>>;
143
245
  metrics: z.ZodArray<z.ZodObject<{
144
246
  name: z.ZodString;
145
247
  label: z.ZodString;
146
248
  description: z.ZodString;
147
- format: z.ZodObject<{
148
- type: z.ZodString;
149
- decimals: z.ZodExactOptional<z.ZodInt>;
249
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
250
+ type: z.ZodLiteral<"number">;
251
+ decimals: z.ZodInt;
150
252
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
151
- format: z.ZodExactOptional<z.ZodString>;
152
- }, z.core.$loose>;
253
+ }, z.core.$loose>, z.ZodObject<{
254
+ type: z.ZodLiteral<"currency">;
255
+ decimals: z.ZodInt;
256
+ }, z.core.$loose>, z.ZodObject<{
257
+ type: z.ZodLiteral<"percentage">;
258
+ decimals: z.ZodInt;
259
+ }, z.core.$loose>, z.ZodObject<{
260
+ type: z.ZodLiteral<"date">;
261
+ format: z.ZodLiteral<"YYYY-MM-DD">;
262
+ }, z.core.$loose>, z.ZodObject<{
263
+ type: z.ZodLiteral<"string">;
264
+ }, z.core.$loose>, z.ZodObject<{
265
+ type: z.ZodLiteral<"unknown">;
266
+ declared: z.ZodString;
267
+ }, z.core.$loose>], "type">;
153
268
  lowerIsBetter: z.ZodExactOptional<z.ZodBoolean>;
154
269
  }, z.core.$loose>>;
155
270
  customDimensions: z.ZodExactOptional<z.ZodObject<{
@@ -167,23 +282,49 @@ export declare const zCatalogSource: z.ZodIntersection<z.ZodObject<{
167
282
  name: z.ZodString;
168
283
  label: z.ZodString;
169
284
  description: z.ZodString;
170
- format: z.ZodObject<{
171
- type: z.ZodString;
172
- decimals: z.ZodExactOptional<z.ZodInt>;
285
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
286
+ type: z.ZodLiteral<"number">;
287
+ decimals: z.ZodInt;
173
288
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
174
- format: z.ZodExactOptional<z.ZodString>;
175
- }, z.core.$loose>;
289
+ }, z.core.$loose>, z.ZodObject<{
290
+ type: z.ZodLiteral<"currency">;
291
+ decimals: z.ZodInt;
292
+ }, z.core.$loose>, z.ZodObject<{
293
+ type: z.ZodLiteral<"percentage">;
294
+ decimals: z.ZodInt;
295
+ }, z.core.$loose>, z.ZodObject<{
296
+ type: z.ZodLiteral<"date">;
297
+ format: z.ZodLiteral<"YYYY-MM-DD">;
298
+ }, z.core.$loose>, z.ZodObject<{
299
+ type: z.ZodLiteral<"string">;
300
+ }, z.core.$loose>, z.ZodObject<{
301
+ type: z.ZodLiteral<"unknown">;
302
+ declared: z.ZodString;
303
+ }, z.core.$loose>], "type">;
176
304
  }, z.core.$loose>>;
177
305
  metrics: z.ZodArray<z.ZodObject<{
178
306
  name: z.ZodString;
179
307
  label: z.ZodString;
180
308
  description: z.ZodString;
181
- format: z.ZodObject<{
182
- type: z.ZodString;
183
- decimals: z.ZodExactOptional<z.ZodInt>;
309
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
310
+ type: z.ZodLiteral<"number">;
311
+ decimals: z.ZodInt;
184
312
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
185
- format: z.ZodExactOptional<z.ZodString>;
186
- }, z.core.$loose>;
313
+ }, z.core.$loose>, z.ZodObject<{
314
+ type: z.ZodLiteral<"currency">;
315
+ decimals: z.ZodInt;
316
+ }, z.core.$loose>, z.ZodObject<{
317
+ type: z.ZodLiteral<"percentage">;
318
+ decimals: z.ZodInt;
319
+ }, z.core.$loose>, z.ZodObject<{
320
+ type: z.ZodLiteral<"date">;
321
+ format: z.ZodLiteral<"YYYY-MM-DD">;
322
+ }, z.core.$loose>, z.ZodObject<{
323
+ type: z.ZodLiteral<"string">;
324
+ }, z.core.$loose>, z.ZodObject<{
325
+ type: z.ZodLiteral<"unknown">;
326
+ declared: z.ZodString;
327
+ }, z.core.$loose>], "type">;
187
328
  lowerIsBetter: z.ZodExactOptional<z.ZodBoolean>;
188
329
  }, z.core.$loose>>;
189
330
  customDimensions: z.ZodExactOptional<z.ZodObject<{
@@ -249,23 +390,49 @@ export declare const zCatalogCatalogGetResponse: z.ZodObject<{
249
390
  name: z.ZodString;
250
391
  label: z.ZodString;
251
392
  description: z.ZodString;
252
- format: z.ZodObject<{
253
- type: z.ZodString;
254
- decimals: z.ZodExactOptional<z.ZodInt>;
393
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
394
+ type: z.ZodLiteral<"number">;
395
+ decimals: z.ZodInt;
255
396
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
256
- format: z.ZodExactOptional<z.ZodString>;
257
- }, z.core.$loose>;
397
+ }, z.core.$loose>, z.ZodObject<{
398
+ type: z.ZodLiteral<"currency">;
399
+ decimals: z.ZodInt;
400
+ }, z.core.$loose>, z.ZodObject<{
401
+ type: z.ZodLiteral<"percentage">;
402
+ decimals: z.ZodInt;
403
+ }, z.core.$loose>, z.ZodObject<{
404
+ type: z.ZodLiteral<"date">;
405
+ format: z.ZodLiteral<"YYYY-MM-DD">;
406
+ }, z.core.$loose>, z.ZodObject<{
407
+ type: z.ZodLiteral<"string">;
408
+ }, z.core.$loose>, z.ZodObject<{
409
+ type: z.ZodLiteral<"unknown">;
410
+ declared: z.ZodString;
411
+ }, z.core.$loose>], "type">;
258
412
  }, z.core.$loose>>;
259
413
  metrics: z.ZodArray<z.ZodObject<{
260
414
  name: z.ZodString;
261
415
  label: z.ZodString;
262
416
  description: z.ZodString;
263
- format: z.ZodObject<{
264
- type: z.ZodString;
265
- decimals: z.ZodExactOptional<z.ZodInt>;
417
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
418
+ type: z.ZodLiteral<"number">;
419
+ decimals: z.ZodInt;
266
420
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
267
- format: z.ZodExactOptional<z.ZodString>;
268
- }, z.core.$loose>;
421
+ }, z.core.$loose>, z.ZodObject<{
422
+ type: z.ZodLiteral<"currency">;
423
+ decimals: z.ZodInt;
424
+ }, z.core.$loose>, z.ZodObject<{
425
+ type: z.ZodLiteral<"percentage">;
426
+ decimals: z.ZodInt;
427
+ }, z.core.$loose>, z.ZodObject<{
428
+ type: z.ZodLiteral<"date">;
429
+ format: z.ZodLiteral<"YYYY-MM-DD">;
430
+ }, z.core.$loose>, z.ZodObject<{
431
+ type: z.ZodLiteral<"string">;
432
+ }, z.core.$loose>, z.ZodObject<{
433
+ type: z.ZodLiteral<"unknown">;
434
+ declared: z.ZodString;
435
+ }, z.core.$loose>], "type">;
269
436
  lowerIsBetter: z.ZodExactOptional<z.ZodBoolean>;
270
437
  }, z.core.$loose>>;
271
438
  customDimensions: z.ZodExactOptional<z.ZodObject<{
@@ -286,23 +453,49 @@ export declare const zCatalogSourceCatalogSourceGetResponse: z.ZodIntersection<z
286
453
  name: z.ZodString;
287
454
  label: z.ZodString;
288
455
  description: z.ZodString;
289
- format: z.ZodObject<{
290
- type: z.ZodString;
291
- decimals: z.ZodExactOptional<z.ZodInt>;
456
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
457
+ type: z.ZodLiteral<"number">;
458
+ decimals: z.ZodInt;
292
459
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
293
- format: z.ZodExactOptional<z.ZodString>;
294
- }, z.core.$loose>;
460
+ }, z.core.$loose>, z.ZodObject<{
461
+ type: z.ZodLiteral<"currency">;
462
+ decimals: z.ZodInt;
463
+ }, z.core.$loose>, z.ZodObject<{
464
+ type: z.ZodLiteral<"percentage">;
465
+ decimals: z.ZodInt;
466
+ }, z.core.$loose>, z.ZodObject<{
467
+ type: z.ZodLiteral<"date">;
468
+ format: z.ZodLiteral<"YYYY-MM-DD">;
469
+ }, z.core.$loose>, z.ZodObject<{
470
+ type: z.ZodLiteral<"string">;
471
+ }, z.core.$loose>, z.ZodObject<{
472
+ type: z.ZodLiteral<"unknown">;
473
+ declared: z.ZodString;
474
+ }, z.core.$loose>], "type">;
295
475
  }, z.core.$loose>>;
296
476
  metrics: z.ZodArray<z.ZodObject<{
297
477
  name: z.ZodString;
298
478
  label: z.ZodString;
299
479
  description: z.ZodString;
300
- format: z.ZodObject<{
301
- type: z.ZodString;
302
- decimals: z.ZodExactOptional<z.ZodInt>;
480
+ format: z.ZodDiscriminatedUnion<[z.ZodObject<{
481
+ type: z.ZodLiteral<"number">;
482
+ decimals: z.ZodInt;
303
483
  thousandSeparator: z.ZodExactOptional<z.ZodBoolean>;
304
- format: z.ZodExactOptional<z.ZodString>;
305
- }, z.core.$loose>;
484
+ }, z.core.$loose>, z.ZodObject<{
485
+ type: z.ZodLiteral<"currency">;
486
+ decimals: z.ZodInt;
487
+ }, z.core.$loose>, z.ZodObject<{
488
+ type: z.ZodLiteral<"percentage">;
489
+ decimals: z.ZodInt;
490
+ }, z.core.$loose>, z.ZodObject<{
491
+ type: z.ZodLiteral<"date">;
492
+ format: z.ZodLiteral<"YYYY-MM-DD">;
493
+ }, z.core.$loose>, z.ZodObject<{
494
+ type: z.ZodLiteral<"string">;
495
+ }, z.core.$loose>, z.ZodObject<{
496
+ type: z.ZodLiteral<"unknown">;
497
+ declared: z.ZodString;
498
+ }, z.core.$loose>], "type">;
306
499
  lowerIsBetter: z.ZodExactOptional<z.ZodBoolean>;
307
500
  }, z.core.$loose>>;
308
501
  customDimensions: z.ZodExactOptional<z.ZodObject<{
@@ -37,12 +37,38 @@ export const zValidationError = z.looseObject({
37
37
  export const zHttpValidationError = z.looseObject({
38
38
  detail: z.array(zValidationError).exactOptional()
39
39
  });
40
- export const zFormat = z.looseObject({
41
- type: z.string(),
42
- decimals: z.int().exactOptional(),
43
- thousandSeparator: z.boolean().exactOptional(),
44
- format: z.string().exactOptional()
40
+ export const zNumberFormat = z.looseObject({
41
+ type: z.literal('number'),
42
+ decimals: z.int(),
43
+ thousandSeparator: z.boolean().exactOptional()
44
+ });
45
+ export const zCurrencyFormat = z.looseObject({
46
+ type: z.literal('currency'),
47
+ decimals: z.int()
48
+ });
49
+ export const zPercentageFormat = z.looseObject({
50
+ type: z.literal('percentage'),
51
+ decimals: z.int()
52
+ });
53
+ export const zDateFormat = z.looseObject({
54
+ type: z.literal('date'),
55
+ format: z.literal('YYYY-MM-DD')
45
56
  });
57
+ export const zStringFormat = z.looseObject({
58
+ type: z.literal('string')
59
+ });
60
+ export const zUnknownFormat = z.looseObject({
61
+ type: z.literal('unknown'),
62
+ declared: z.string()
63
+ });
64
+ export const zFormat = z.discriminatedUnion('type', [
65
+ zNumberFormat,
66
+ zCurrencyFormat,
67
+ zPercentageFormat,
68
+ zDateFormat,
69
+ zStringFormat,
70
+ zUnknownFormat
71
+ ]);
46
72
  export const zDimension = z.looseObject({
47
73
  name: z.string(),
48
74
  label: z.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"zod.gen.js","sourceRoot":"","sources":["../../../src/spec/query-planner/zod.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,KAAK,CAAC,MAAM,KAA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AAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC;IACpC,oBAAoB;IACpB,eAAe;IACf,eAAe;IACf,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,gBAAgB;IAChB,mBAAmB;IACnB,gBAAgB;IAChB,gBAAgB;IAChB,oBAAoB;IACpB,eAAe;IACf,eAAe;IACf,oBAAoB;IACpB,eAAe;IACf,gBAAgB;CACnB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;AAEzE;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,QAAQ,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAG,cAAc,CAAC;AAErE;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
1
  // Written by tools/write-version.mjs from package.json on every build. Never edit it; it isn't in git.
2
2
  /** The version of the SDK that is running, as its package.json gives it. */
3
- export const version = "0.6.0";
3
+ export const version = "0.7.0";
4
4
  //# sourceMappingURL=version.gen.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipstream/sdk",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "TypeScript SDK for the Flipstream APIs: typed requests and checked answers, in Node and in browsers.",
5
5
  "keywords": [
6
6
  "flipstream",