@sortipei/api-contracts 0.1.42 → 0.1.43
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.
|
@@ -13,7 +13,33 @@ export declare const TopEventDTOSchema: z.ZodObject<{
|
|
|
13
13
|
count: number;
|
|
14
14
|
eventTitle: string;
|
|
15
15
|
}>;
|
|
16
|
+
export declare const AdStatDTOSchema: z.ZodObject<{
|
|
17
|
+
adId: z.ZodUnion<[z.ZodBranded<z.ZodString, "MainAdId">, z.ZodBranded<z.ZodString, "RegionalAdId">]>;
|
|
18
|
+
adTitle: z.ZodString;
|
|
19
|
+
pressedCount: z.ZodNumber;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
adId: (string & z.BRAND<"MainAdId">) | (string & z.BRAND<"RegionalAdId">);
|
|
22
|
+
adTitle: string;
|
|
23
|
+
pressedCount: number;
|
|
24
|
+
}, {
|
|
25
|
+
adId: string;
|
|
26
|
+
adTitle: string;
|
|
27
|
+
pressedCount: number;
|
|
28
|
+
}>;
|
|
16
29
|
export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
30
|
+
allAdsStats: z.ZodArray<z.ZodObject<{
|
|
31
|
+
adId: z.ZodUnion<[z.ZodBranded<z.ZodString, "MainAdId">, z.ZodBranded<z.ZodString, "RegionalAdId">]>;
|
|
32
|
+
adTitle: z.ZodString;
|
|
33
|
+
pressedCount: z.ZodNumber;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
adId: (string & z.BRAND<"MainAdId">) | (string & z.BRAND<"RegionalAdId">);
|
|
36
|
+
adTitle: string;
|
|
37
|
+
pressedCount: number;
|
|
38
|
+
}, {
|
|
39
|
+
adId: string;
|
|
40
|
+
adTitle: string;
|
|
41
|
+
pressedCount: number;
|
|
42
|
+
}>, "many">;
|
|
17
43
|
currentFavoritesCount: z.ZodNumber;
|
|
18
44
|
eventsCount: z.ZodNumber;
|
|
19
45
|
openedEventsCount: z.ZodNumber;
|
|
@@ -75,6 +101,11 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
|
75
101
|
usersCount: z.ZodNumber;
|
|
76
102
|
usersWithMultipleDayAppOpened: z.ZodNumber;
|
|
77
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
allAdsStats: {
|
|
105
|
+
adId: (string & z.BRAND<"MainAdId">) | (string & z.BRAND<"RegionalAdId">);
|
|
106
|
+
adTitle: string;
|
|
107
|
+
pressedCount: number;
|
|
108
|
+
}[];
|
|
78
109
|
currentFavoritesCount: number;
|
|
79
110
|
eventsCount: number;
|
|
80
111
|
openedEventsCount: number;
|
|
@@ -104,6 +135,11 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
|
104
135
|
usersCount: number;
|
|
105
136
|
usersWithMultipleDayAppOpened: number;
|
|
106
137
|
}, {
|
|
138
|
+
allAdsStats: {
|
|
139
|
+
adId: string;
|
|
140
|
+
adTitle: string;
|
|
141
|
+
pressedCount: number;
|
|
142
|
+
}[];
|
|
107
143
|
currentFavoritesCount: number;
|
|
108
144
|
eventsCount: number;
|
|
109
145
|
openedEventsCount: number;
|
|
@@ -133,19 +169,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
|
133
169
|
usersCount: number;
|
|
134
170
|
usersWithMultipleDayAppOpened: number;
|
|
135
171
|
}>;
|
|
172
|
+
export type AdStatDTO = z.infer<typeof AdStatDTOSchema>;
|
|
136
173
|
export type TopEventDTO = z.infer<typeof TopEventDTOSchema>;
|
|
137
174
|
export type GlobalStatsDTO = z.infer<typeof GlobalStatsDTOSchema>;
|
|
138
175
|
export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
139
176
|
statistic: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
140
177
|
data: z.ZodObject<{
|
|
141
178
|
adId: z.ZodString;
|
|
179
|
+
adTitle: z.ZodString;
|
|
142
180
|
userId: z.ZodString;
|
|
143
181
|
}, "strip", z.ZodTypeAny, {
|
|
144
182
|
userId: string;
|
|
145
183
|
adId: string;
|
|
184
|
+
adTitle: string;
|
|
146
185
|
}, {
|
|
147
186
|
userId: string;
|
|
148
187
|
adId: string;
|
|
188
|
+
adTitle: string;
|
|
149
189
|
}>;
|
|
150
190
|
time: z.ZodString;
|
|
151
191
|
type: z.ZodLiteral<"ad-pressed">;
|
|
@@ -154,6 +194,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
154
194
|
data: {
|
|
155
195
|
userId: string;
|
|
156
196
|
adId: string;
|
|
197
|
+
adTitle: string;
|
|
157
198
|
};
|
|
158
199
|
time: string;
|
|
159
200
|
}, {
|
|
@@ -161,6 +202,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
161
202
|
data: {
|
|
162
203
|
userId: string;
|
|
163
204
|
adId: string;
|
|
205
|
+
adTitle: string;
|
|
164
206
|
};
|
|
165
207
|
time: string;
|
|
166
208
|
}>, z.ZodObject<{
|
|
@@ -187,14 +229,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
187
229
|
time: string;
|
|
188
230
|
}>, z.ZodObject<{
|
|
189
231
|
data: z.ZodObject<{
|
|
190
|
-
category: z.ZodNativeEnum<typeof import(
|
|
232
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
191
233
|
userId: z.ZodString;
|
|
192
234
|
}, "strip", z.ZodTypeAny, {
|
|
193
235
|
userId: string;
|
|
194
|
-
category: import(
|
|
236
|
+
category: import("../../shared").Category;
|
|
195
237
|
}, {
|
|
196
238
|
userId: string;
|
|
197
|
-
category: import(
|
|
239
|
+
category: import("../../shared").Category;
|
|
198
240
|
}>;
|
|
199
241
|
time: z.ZodString;
|
|
200
242
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -202,14 +244,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
202
244
|
type: "category-filter-applied";
|
|
203
245
|
data: {
|
|
204
246
|
userId: string;
|
|
205
|
-
category: import(
|
|
247
|
+
category: import("../../shared").Category;
|
|
206
248
|
};
|
|
207
249
|
time: string;
|
|
208
250
|
}, {
|
|
209
251
|
type: "category-filter-applied";
|
|
210
252
|
data: {
|
|
211
253
|
userId: string;
|
|
212
|
-
category: import(
|
|
254
|
+
category: import("../../shared").Category;
|
|
213
255
|
};
|
|
214
256
|
time: string;
|
|
215
257
|
}>, z.ZodObject<{
|
|
@@ -479,14 +521,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
479
521
|
time: string;
|
|
480
522
|
}>, z.ZodObject<{
|
|
481
523
|
data: z.ZodObject<{
|
|
482
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
524
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
483
525
|
userId: z.ZodString;
|
|
484
526
|
}, "strip", z.ZodTypeAny, {
|
|
485
527
|
userId: string;
|
|
486
|
-
regions: import(
|
|
528
|
+
regions: import("../../shared").Region[];
|
|
487
529
|
}, {
|
|
488
530
|
userId: string;
|
|
489
|
-
regions: import(
|
|
531
|
+
regions: import("../../shared").Region[];
|
|
490
532
|
}>;
|
|
491
533
|
time: z.ZodString;
|
|
492
534
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -494,14 +536,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
494
536
|
type: "region-filter-applied";
|
|
495
537
|
data: {
|
|
496
538
|
userId: string;
|
|
497
|
-
regions: import(
|
|
539
|
+
regions: import("../../shared").Region[];
|
|
498
540
|
};
|
|
499
541
|
time: string;
|
|
500
542
|
}, {
|
|
501
543
|
type: "region-filter-applied";
|
|
502
544
|
data: {
|
|
503
545
|
userId: string;
|
|
504
|
-
regions: import(
|
|
546
|
+
regions: import("../../shared").Region[];
|
|
505
547
|
};
|
|
506
548
|
time: string;
|
|
507
549
|
}>]>;
|
|
@@ -565,7 +607,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
565
607
|
type: "region-filter-applied";
|
|
566
608
|
data: {
|
|
567
609
|
userId: string;
|
|
568
|
-
regions: import(
|
|
610
|
+
regions: import("../../shared").Region[];
|
|
569
611
|
};
|
|
570
612
|
time: string;
|
|
571
613
|
} | {
|
|
@@ -578,7 +620,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
578
620
|
type: "category-filter-applied";
|
|
579
621
|
data: {
|
|
580
622
|
userId: string;
|
|
581
|
-
category: import(
|
|
623
|
+
category: import("../../shared").Category;
|
|
582
624
|
};
|
|
583
625
|
time: string;
|
|
584
626
|
} | {
|
|
@@ -600,6 +642,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
600
642
|
data: {
|
|
601
643
|
userId: string;
|
|
602
644
|
adId: string;
|
|
645
|
+
adTitle: string;
|
|
603
646
|
};
|
|
604
647
|
time: string;
|
|
605
648
|
};
|
|
@@ -663,7 +706,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
663
706
|
type: "region-filter-applied";
|
|
664
707
|
data: {
|
|
665
708
|
userId: string;
|
|
666
|
-
regions: import(
|
|
709
|
+
regions: import("../../shared").Region[];
|
|
667
710
|
};
|
|
668
711
|
time: string;
|
|
669
712
|
} | {
|
|
@@ -676,7 +719,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
676
719
|
type: "category-filter-applied";
|
|
677
720
|
data: {
|
|
678
721
|
userId: string;
|
|
679
|
-
category: import(
|
|
722
|
+
category: import("../../shared").Category;
|
|
680
723
|
};
|
|
681
724
|
time: string;
|
|
682
725
|
} | {
|
|
@@ -698,6 +741,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
698
741
|
data: {
|
|
699
742
|
userId: string;
|
|
700
743
|
adId: string;
|
|
744
|
+
adTitle: string;
|
|
701
745
|
};
|
|
702
746
|
time: string;
|
|
703
747
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc/B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
package/dist/shared/stats.d.ts
CHANGED
|
@@ -220,14 +220,14 @@ export declare const EventSeeMoreClickedStatisticsSchema: z.ZodObject<{
|
|
|
220
220
|
}>;
|
|
221
221
|
export declare const RegionFilterAppliedStatisticSchema: z.ZodObject<{
|
|
222
222
|
data: z.ZodObject<{
|
|
223
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
223
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("./event").Region>, "many">;
|
|
224
224
|
userId: z.ZodString;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
226
|
userId: string;
|
|
227
|
-
regions: import(
|
|
227
|
+
regions: import("./event").Region[];
|
|
228
228
|
}, {
|
|
229
229
|
userId: string;
|
|
230
|
-
regions: import(
|
|
230
|
+
regions: import("./event").Region[];
|
|
231
231
|
}>;
|
|
232
232
|
time: z.ZodString;
|
|
233
233
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -235,14 +235,14 @@ export declare const RegionFilterAppliedStatisticSchema: z.ZodObject<{
|
|
|
235
235
|
type: "region-filter-applied";
|
|
236
236
|
data: {
|
|
237
237
|
userId: string;
|
|
238
|
-
regions: import(
|
|
238
|
+
regions: import("./event").Region[];
|
|
239
239
|
};
|
|
240
240
|
time: string;
|
|
241
241
|
}, {
|
|
242
242
|
type: "region-filter-applied";
|
|
243
243
|
data: {
|
|
244
244
|
userId: string;
|
|
245
|
-
regions: import(
|
|
245
|
+
regions: import("./event").Region[];
|
|
246
246
|
};
|
|
247
247
|
time: string;
|
|
248
248
|
}>;
|
|
@@ -271,14 +271,14 @@ export declare const FreeFilterAppliedStatisticSchema: z.ZodObject<{
|
|
|
271
271
|
}>;
|
|
272
272
|
export declare const CategoryFilterAppliedStatisticSchema: z.ZodObject<{
|
|
273
273
|
data: z.ZodObject<{
|
|
274
|
-
category: z.ZodNativeEnum<typeof import(
|
|
274
|
+
category: z.ZodNativeEnum<typeof import("./event").Category>;
|
|
275
275
|
userId: z.ZodString;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
userId: string;
|
|
278
|
-
category: import(
|
|
278
|
+
category: import("./event").Category;
|
|
279
279
|
}, {
|
|
280
280
|
userId: string;
|
|
281
|
-
category: import(
|
|
281
|
+
category: import("./event").Category;
|
|
282
282
|
}>;
|
|
283
283
|
time: z.ZodString;
|
|
284
284
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -286,14 +286,14 @@ export declare const CategoryFilterAppliedStatisticSchema: z.ZodObject<{
|
|
|
286
286
|
type: "category-filter-applied";
|
|
287
287
|
data: {
|
|
288
288
|
userId: string;
|
|
289
|
-
category: import(
|
|
289
|
+
category: import("./event").Category;
|
|
290
290
|
};
|
|
291
291
|
time: string;
|
|
292
292
|
}, {
|
|
293
293
|
type: "category-filter-applied";
|
|
294
294
|
data: {
|
|
295
295
|
userId: string;
|
|
296
|
-
category: import(
|
|
296
|
+
category: import("./event").Category;
|
|
297
297
|
};
|
|
298
298
|
time: string;
|
|
299
299
|
}>;
|
|
@@ -356,13 +356,16 @@ export declare const OldTimesFilterAppliedStatisticSchema: z.ZodObject<{
|
|
|
356
356
|
export declare const AdPressedStatisticSchema: z.ZodObject<{
|
|
357
357
|
data: z.ZodObject<{
|
|
358
358
|
adId: z.ZodString;
|
|
359
|
+
adTitle: z.ZodString;
|
|
359
360
|
userId: z.ZodString;
|
|
360
361
|
}, "strip", z.ZodTypeAny, {
|
|
361
362
|
userId: string;
|
|
362
363
|
adId: string;
|
|
364
|
+
adTitle: string;
|
|
363
365
|
}, {
|
|
364
366
|
userId: string;
|
|
365
367
|
adId: string;
|
|
368
|
+
adTitle: string;
|
|
366
369
|
}>;
|
|
367
370
|
time: z.ZodString;
|
|
368
371
|
type: z.ZodLiteral<"ad-pressed">;
|
|
@@ -371,6 +374,7 @@ export declare const AdPressedStatisticSchema: z.ZodObject<{
|
|
|
371
374
|
data: {
|
|
372
375
|
userId: string;
|
|
373
376
|
adId: string;
|
|
377
|
+
adTitle: string;
|
|
374
378
|
};
|
|
375
379
|
time: string;
|
|
376
380
|
}, {
|
|
@@ -378,19 +382,23 @@ export declare const AdPressedStatisticSchema: z.ZodObject<{
|
|
|
378
382
|
data: {
|
|
379
383
|
userId: string;
|
|
380
384
|
adId: string;
|
|
385
|
+
adTitle: string;
|
|
381
386
|
};
|
|
382
387
|
time: string;
|
|
383
388
|
}>;
|
|
384
389
|
export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
385
390
|
data: z.ZodObject<{
|
|
386
391
|
adId: z.ZodString;
|
|
392
|
+
adTitle: z.ZodString;
|
|
387
393
|
userId: z.ZodString;
|
|
388
394
|
}, "strip", z.ZodTypeAny, {
|
|
389
395
|
userId: string;
|
|
390
396
|
adId: string;
|
|
397
|
+
adTitle: string;
|
|
391
398
|
}, {
|
|
392
399
|
userId: string;
|
|
393
400
|
adId: string;
|
|
401
|
+
adTitle: string;
|
|
394
402
|
}>;
|
|
395
403
|
time: z.ZodString;
|
|
396
404
|
type: z.ZodLiteral<"ad-pressed">;
|
|
@@ -399,6 +407,7 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
399
407
|
data: {
|
|
400
408
|
userId: string;
|
|
401
409
|
adId: string;
|
|
410
|
+
adTitle: string;
|
|
402
411
|
};
|
|
403
412
|
time: string;
|
|
404
413
|
}, {
|
|
@@ -406,6 +415,7 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
406
415
|
data: {
|
|
407
416
|
userId: string;
|
|
408
417
|
adId: string;
|
|
418
|
+
adTitle: string;
|
|
409
419
|
};
|
|
410
420
|
time: string;
|
|
411
421
|
}>, z.ZodObject<{
|
|
@@ -432,14 +442,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
432
442
|
time: string;
|
|
433
443
|
}>, z.ZodObject<{
|
|
434
444
|
data: z.ZodObject<{
|
|
435
|
-
category: z.ZodNativeEnum<typeof import(
|
|
445
|
+
category: z.ZodNativeEnum<typeof import("./event").Category>;
|
|
436
446
|
userId: z.ZodString;
|
|
437
447
|
}, "strip", z.ZodTypeAny, {
|
|
438
448
|
userId: string;
|
|
439
|
-
category: import(
|
|
449
|
+
category: import("./event").Category;
|
|
440
450
|
}, {
|
|
441
451
|
userId: string;
|
|
442
|
-
category: import(
|
|
452
|
+
category: import("./event").Category;
|
|
443
453
|
}>;
|
|
444
454
|
time: z.ZodString;
|
|
445
455
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -447,14 +457,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
447
457
|
type: "category-filter-applied";
|
|
448
458
|
data: {
|
|
449
459
|
userId: string;
|
|
450
|
-
category: import(
|
|
460
|
+
category: import("./event").Category;
|
|
451
461
|
};
|
|
452
462
|
time: string;
|
|
453
463
|
}, {
|
|
454
464
|
type: "category-filter-applied";
|
|
455
465
|
data: {
|
|
456
466
|
userId: string;
|
|
457
|
-
category: import(
|
|
467
|
+
category: import("./event").Category;
|
|
458
468
|
};
|
|
459
469
|
time: string;
|
|
460
470
|
}>, z.ZodObject<{
|
|
@@ -724,14 +734,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
724
734
|
time: string;
|
|
725
735
|
}>, z.ZodObject<{
|
|
726
736
|
data: z.ZodObject<{
|
|
727
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
737
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("./event").Region>, "many">;
|
|
728
738
|
userId: z.ZodString;
|
|
729
739
|
}, "strip", z.ZodTypeAny, {
|
|
730
740
|
userId: string;
|
|
731
|
-
regions: import(
|
|
741
|
+
regions: import("./event").Region[];
|
|
732
742
|
}, {
|
|
733
743
|
userId: string;
|
|
734
|
-
regions: import(
|
|
744
|
+
regions: import("./event").Region[];
|
|
735
745
|
}>;
|
|
736
746
|
time: z.ZodString;
|
|
737
747
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -739,14 +749,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
739
749
|
type: "region-filter-applied";
|
|
740
750
|
data: {
|
|
741
751
|
userId: string;
|
|
742
|
-
regions: import(
|
|
752
|
+
regions: import("./event").Region[];
|
|
743
753
|
};
|
|
744
754
|
time: string;
|
|
745
755
|
}, {
|
|
746
756
|
type: "region-filter-applied";
|
|
747
757
|
data: {
|
|
748
758
|
userId: string;
|
|
749
|
-
regions: import(
|
|
759
|
+
regions: import("./event").Region[];
|
|
750
760
|
};
|
|
751
761
|
time: string;
|
|
752
762
|
}>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/shared/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAA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