analytica.click 0.0.537 → 0.0.538
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +111 -24
- package/dist/ui/src/server/schema/index.d.ts +111 -24
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -182,6 +182,11 @@ declare module 'analytica.click/dist/types' {
|
|
182
182
|
}
|
183
183
|
declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
184
184
|
import { z } from 'zod';
|
185
|
+
export const category: z.ZodEnum<{
|
186
|
+
SERVER: "SERVER";
|
187
|
+
CLIENT: "CLIENT";
|
188
|
+
}>;
|
189
|
+
export type Category = z.infer<typeof category>;
|
185
190
|
export const createSiteSchema: z.ZodObject<{
|
186
191
|
site: z.ZodString;
|
187
192
|
}, z.core.$strip>;
|
@@ -219,7 +224,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
219
224
|
email: z.ZodString;
|
220
225
|
site: z.ZodString;
|
221
226
|
datetime: z.ZodNumber;
|
222
|
-
category: z.
|
227
|
+
category: z.ZodEnum<{
|
228
|
+
SERVER: "SERVER";
|
229
|
+
CLIENT: "CLIENT";
|
230
|
+
}>;
|
223
231
|
totals: z.ZodObject<{
|
224
232
|
clicks: z.ZodNumber;
|
225
233
|
impressions: z.ZodNumber;
|
@@ -261,7 +269,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
261
269
|
search: z.ZodOptional<z.ZodString>;
|
262
270
|
hash: z.ZodOptional<z.ZodString>;
|
263
271
|
count: z.ZodNumber;
|
264
|
-
category: z.
|
272
|
+
category: z.ZodEnum<{
|
273
|
+
SERVER: "SERVER";
|
274
|
+
CLIENT: "CLIENT";
|
275
|
+
}>;
|
265
276
|
}, z.core.$strip>;
|
266
277
|
export const BrowserSchema: z.ZodObject<{
|
267
278
|
account: z.ZodOptional<z.ZodString>;
|
@@ -269,7 +280,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
269
280
|
site: z.ZodString;
|
270
281
|
browser: z.ZodString;
|
271
282
|
count: z.ZodNumber;
|
272
|
-
category: z.
|
283
|
+
category: z.ZodEnum<{
|
284
|
+
SERVER: "SERVER";
|
285
|
+
CLIENT: "CLIENT";
|
286
|
+
}>;
|
273
287
|
}, z.core.$strip>;
|
274
288
|
export const ResolutionSchema: z.ZodObject<{
|
275
289
|
account: z.ZodOptional<z.ZodString>;
|
@@ -277,7 +291,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
277
291
|
site: z.ZodString;
|
278
292
|
resolution: z.ZodString;
|
279
293
|
count: z.ZodNumber;
|
280
|
-
category: z.
|
294
|
+
category: z.ZodEnum<{
|
295
|
+
SERVER: "SERVER";
|
296
|
+
CLIENT: "CLIENT";
|
297
|
+
}>;
|
281
298
|
}, z.core.$strip>;
|
282
299
|
export const ReferrerSchema: z.ZodObject<{
|
283
300
|
account: z.ZodOptional<z.ZodString>;
|
@@ -285,14 +302,20 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
285
302
|
site: z.ZodString;
|
286
303
|
referrer: z.ZodString;
|
287
304
|
count: z.ZodNumber;
|
288
|
-
category: z.
|
305
|
+
category: z.ZodEnum<{
|
306
|
+
SERVER: "SERVER";
|
307
|
+
CLIENT: "CLIENT";
|
308
|
+
}>;
|
289
309
|
}, z.core.$strip>;
|
290
310
|
export const LocationSchema: z.ZodObject<{
|
291
311
|
account: z.ZodOptional<z.ZodString>;
|
292
312
|
datetime: z.ZodNumber;
|
293
313
|
site: z.ZodString;
|
294
314
|
countryRegion: z.ZodString;
|
295
|
-
category: z.
|
315
|
+
category: z.ZodEnum<{
|
316
|
+
SERVER: "SERVER";
|
317
|
+
CLIENT: "CLIENT";
|
318
|
+
}>;
|
296
319
|
count: z.ZodNumber;
|
297
320
|
}, z.core.$strip>;
|
298
321
|
export const LanguageSchema: z.ZodObject<{
|
@@ -301,7 +324,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
301
324
|
site: z.ZodString;
|
302
325
|
language: z.ZodString;
|
303
326
|
count: z.ZodNumber;
|
304
|
-
category: z.
|
327
|
+
category: z.ZodEnum<{
|
328
|
+
SERVER: "SERVER";
|
329
|
+
CLIENT: "CLIENT";
|
330
|
+
}>;
|
305
331
|
}, z.core.$strip>;
|
306
332
|
export const FingerprintSchema: z.ZodObject<{
|
307
333
|
account: z.ZodOptional<z.ZodString>;
|
@@ -309,7 +335,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
309
335
|
site: z.ZodString;
|
310
336
|
fingerprint: z.ZodString;
|
311
337
|
count: z.ZodNumber;
|
312
|
-
category: z.
|
338
|
+
category: z.ZodEnum<{
|
339
|
+
SERVER: "SERVER";
|
340
|
+
CLIENT: "CLIENT";
|
341
|
+
}>;
|
313
342
|
}, z.core.$strip>;
|
314
343
|
export const EventSchema: z.ZodObject<{
|
315
344
|
account: z.ZodOptional<z.ZodString>;
|
@@ -317,7 +346,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
317
346
|
eventName: z.ZodString;
|
318
347
|
datetime: z.ZodNumber;
|
319
348
|
count: z.ZodNumber;
|
320
|
-
category: z.
|
349
|
+
category: z.ZodEnum<{
|
350
|
+
SERVER: "SERVER";
|
351
|
+
CLIENT: "CLIENT";
|
352
|
+
}>;
|
321
353
|
}, z.core.$strip>;
|
322
354
|
export const HealthMetricSchema: z.ZodObject<{
|
323
355
|
type: z.ZodLiteral<"health">;
|
@@ -342,6 +374,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
342
374
|
account: z.ZodOptional<z.ZodString>;
|
343
375
|
site: z.ZodString;
|
344
376
|
datetime: z.ZodNumber;
|
377
|
+
category: z.ZodEnum<{
|
378
|
+
SERVER: "SERVER";
|
379
|
+
CLIENT: "CLIENT";
|
380
|
+
}>;
|
345
381
|
metric: z.ZodUnion<readonly [z.ZodObject<{
|
346
382
|
type: z.ZodLiteral<"health">;
|
347
383
|
responseTimeMs: z.ZodNumber;
|
@@ -356,6 +392,8 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
356
392
|
}
|
357
393
|
export interface IHealthMetric extends z.infer<typeof HealthMetricSchema> {
|
358
394
|
}
|
395
|
+
export interface IUserMetric extends z.infer<typeof UserMetricSchema> {
|
396
|
+
}
|
359
397
|
export const ModelErrorSchema: z.ZodObject<{
|
360
398
|
PK: z.ZodString;
|
361
399
|
messageHash: z.ZodOptional<z.ZodString>;
|
@@ -369,7 +407,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
369
407
|
datetime: z.ZodNumber;
|
370
408
|
archived: z.ZodOptional<z.ZodBoolean>;
|
371
409
|
count: z.ZodNumber;
|
372
|
-
category: z.
|
410
|
+
category: z.ZodEnum<{
|
411
|
+
SERVER: "SERVER";
|
412
|
+
CLIENT: "CLIENT";
|
413
|
+
}>;
|
373
414
|
}, z.core.$strip>;
|
374
415
|
export const RollupTopReferrersSchema: z.ZodObject<{
|
375
416
|
referrer: z.ZodString;
|
@@ -416,7 +457,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
416
457
|
account: z.ZodString;
|
417
458
|
site: z.ZodString;
|
418
459
|
datetime: z.ZodNumber;
|
419
|
-
category: z.
|
460
|
+
category: z.ZodEnum<{
|
461
|
+
SERVER: "SERVER";
|
462
|
+
CLIENT: "CLIENT";
|
463
|
+
}>;
|
420
464
|
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
421
465
|
referrer: z.ZodString;
|
422
466
|
count: z.ZodNumber;
|
@@ -570,7 +614,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
570
614
|
site: z.ZodString;
|
571
615
|
browser: z.ZodString;
|
572
616
|
count: z.ZodNumber;
|
573
|
-
category: z.
|
617
|
+
category: z.ZodEnum<{
|
618
|
+
SERVER: "SERVER";
|
619
|
+
CLIENT: "CLIENT";
|
620
|
+
}>;
|
574
621
|
}, z.core.$strip>>>;
|
575
622
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
576
623
|
account: z.ZodOptional<z.ZodString>;
|
@@ -578,14 +625,20 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
578
625
|
eventName: z.ZodString;
|
579
626
|
datetime: z.ZodNumber;
|
580
627
|
count: z.ZodNumber;
|
581
|
-
category: z.
|
628
|
+
category: z.ZodEnum<{
|
629
|
+
SERVER: "SERVER";
|
630
|
+
CLIENT: "CLIENT";
|
631
|
+
}>;
|
582
632
|
}, z.core.$strip>>>;
|
583
633
|
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
584
634
|
account: z.ZodOptional<z.ZodString>;
|
585
635
|
datetime: z.ZodNumber;
|
586
636
|
site: z.ZodString;
|
587
637
|
countryRegion: z.ZodString;
|
588
|
-
category: z.
|
638
|
+
category: z.ZodEnum<{
|
639
|
+
SERVER: "SERVER";
|
640
|
+
CLIENT: "CLIENT";
|
641
|
+
}>;
|
589
642
|
count: z.ZodNumber;
|
590
643
|
}, z.core.$strip>>>;
|
591
644
|
queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -596,7 +649,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
596
649
|
search: z.ZodOptional<z.ZodString>;
|
597
650
|
hash: z.ZodOptional<z.ZodString>;
|
598
651
|
count: z.ZodNumber;
|
599
|
-
category: z.
|
652
|
+
category: z.ZodEnum<{
|
653
|
+
SERVER: "SERVER";
|
654
|
+
CLIENT: "CLIENT";
|
655
|
+
}>;
|
600
656
|
}, z.core.$strip>>>;
|
601
657
|
referrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
602
658
|
account: z.ZodOptional<z.ZodString>;
|
@@ -604,7 +660,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
604
660
|
site: z.ZodString;
|
605
661
|
referrer: z.ZodString;
|
606
662
|
count: z.ZodNumber;
|
607
|
-
category: z.
|
663
|
+
category: z.ZodEnum<{
|
664
|
+
SERVER: "SERVER";
|
665
|
+
CLIENT: "CLIENT";
|
666
|
+
}>;
|
608
667
|
}, z.core.$strip>>>;
|
609
668
|
resolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
610
669
|
account: z.ZodOptional<z.ZodString>;
|
@@ -612,7 +671,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
612
671
|
site: z.ZodString;
|
613
672
|
resolution: z.ZodString;
|
614
673
|
count: z.ZodNumber;
|
615
|
-
category: z.
|
674
|
+
category: z.ZodEnum<{
|
675
|
+
SERVER: "SERVER";
|
676
|
+
CLIENT: "CLIENT";
|
677
|
+
}>;
|
616
678
|
}, z.core.$strip>>>;
|
617
679
|
fingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
618
680
|
account: z.ZodOptional<z.ZodString>;
|
@@ -620,12 +682,19 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
620
682
|
site: z.ZodString;
|
621
683
|
fingerprint: z.ZodString;
|
622
684
|
count: z.ZodNumber;
|
623
|
-
category: z.
|
685
|
+
category: z.ZodEnum<{
|
686
|
+
SERVER: "SERVER";
|
687
|
+
CLIENT: "CLIENT";
|
688
|
+
}>;
|
624
689
|
}, z.core.$strip>>>;
|
625
690
|
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
626
691
|
account: z.ZodOptional<z.ZodString>;
|
627
692
|
site: z.ZodString;
|
628
693
|
datetime: z.ZodNumber;
|
694
|
+
category: z.ZodEnum<{
|
695
|
+
SERVER: "SERVER";
|
696
|
+
CLIENT: "CLIENT";
|
697
|
+
}>;
|
629
698
|
metric: z.ZodUnion<readonly [z.ZodObject<{
|
630
699
|
type: z.ZodLiteral<"health">;
|
631
700
|
responseTimeMs: z.ZodNumber;
|
@@ -642,13 +711,19 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
642
711
|
site: z.ZodString;
|
643
712
|
language: z.ZodString;
|
644
713
|
count: z.ZodNumber;
|
645
|
-
category: z.
|
714
|
+
category: z.ZodEnum<{
|
715
|
+
SERVER: "SERVER";
|
716
|
+
CLIENT: "CLIENT";
|
717
|
+
}>;
|
646
718
|
}, z.core.$strip>>>;
|
647
719
|
rollups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
648
720
|
account: z.ZodString;
|
649
721
|
site: z.ZodString;
|
650
722
|
datetime: z.ZodNumber;
|
651
|
-
category: z.
|
723
|
+
category: z.ZodEnum<{
|
724
|
+
SERVER: "SERVER";
|
725
|
+
CLIENT: "CLIENT";
|
726
|
+
}>;
|
652
727
|
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
653
728
|
referrer: z.ZodString;
|
654
729
|
count: z.ZodNumber;
|
@@ -704,14 +779,20 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
704
779
|
datetime: z.ZodNumber;
|
705
780
|
archived: z.ZodOptional<z.ZodBoolean>;
|
706
781
|
count: z.ZodNumber;
|
707
|
-
category: z.
|
782
|
+
category: z.ZodEnum<{
|
783
|
+
SERVER: "SERVER";
|
784
|
+
CLIENT: "CLIENT";
|
785
|
+
}>;
|
708
786
|
}, z.core.$strip>>>;
|
709
787
|
google: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
710
788
|
account: z.ZodString;
|
711
789
|
email: z.ZodString;
|
712
790
|
site: z.ZodString;
|
713
791
|
datetime: z.ZodNumber;
|
714
|
-
category: z.
|
792
|
+
category: z.ZodEnum<{
|
793
|
+
SERVER: "SERVER";
|
794
|
+
CLIENT: "CLIENT";
|
795
|
+
}>;
|
715
796
|
totals: z.ZodObject<{
|
716
797
|
clicks: z.ZodNumber;
|
717
798
|
impressions: z.ZodNumber;
|
@@ -730,7 +811,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
730
811
|
email: z.ZodString;
|
731
812
|
site: z.ZodString;
|
732
813
|
datetime: z.ZodNumber;
|
733
|
-
category: z.
|
814
|
+
category: z.ZodEnum<{
|
815
|
+
SERVER: "SERVER";
|
816
|
+
CLIENT: "CLIENT";
|
817
|
+
}>;
|
734
818
|
totals: z.ZodObject<{
|
735
819
|
clicks: z.ZodNumber;
|
736
820
|
impressions: z.ZodNumber;
|
@@ -749,7 +833,10 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
749
833
|
email: z.ZodString;
|
750
834
|
site: z.ZodString;
|
751
835
|
datetime: z.ZodNumber;
|
752
|
-
category: z.
|
836
|
+
category: z.ZodEnum<{
|
837
|
+
SERVER: "SERVER";
|
838
|
+
CLIENT: "CLIENT";
|
839
|
+
}>;
|
753
840
|
totals: z.ZodObject<{
|
754
841
|
clicks: z.ZodNumber;
|
755
842
|
impressions: z.ZodNumber;
|
@@ -1,4 +1,9 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
+
export declare const category: z.ZodEnum<{
|
3
|
+
SERVER: "SERVER";
|
4
|
+
CLIENT: "CLIENT";
|
5
|
+
}>;
|
6
|
+
export type Category = z.infer<typeof category>;
|
2
7
|
export declare const createSiteSchema: z.ZodObject<{
|
3
8
|
site: z.ZodString;
|
4
9
|
}, z.core.$strip>;
|
@@ -36,7 +41,10 @@ export declare const SeoResultSchema: z.ZodObject<{
|
|
36
41
|
email: z.ZodString;
|
37
42
|
site: z.ZodString;
|
38
43
|
datetime: z.ZodNumber;
|
39
|
-
category: z.
|
44
|
+
category: z.ZodEnum<{
|
45
|
+
SERVER: "SERVER";
|
46
|
+
CLIENT: "CLIENT";
|
47
|
+
}>;
|
40
48
|
totals: z.ZodObject<{
|
41
49
|
clicks: z.ZodNumber;
|
42
50
|
impressions: z.ZodNumber;
|
@@ -78,7 +86,10 @@ export declare const QuerySchema: z.ZodObject<{
|
|
78
86
|
search: z.ZodOptional<z.ZodString>;
|
79
87
|
hash: z.ZodOptional<z.ZodString>;
|
80
88
|
count: z.ZodNumber;
|
81
|
-
category: z.
|
89
|
+
category: z.ZodEnum<{
|
90
|
+
SERVER: "SERVER";
|
91
|
+
CLIENT: "CLIENT";
|
92
|
+
}>;
|
82
93
|
}, z.core.$strip>;
|
83
94
|
export declare const BrowserSchema: z.ZodObject<{
|
84
95
|
account: z.ZodOptional<z.ZodString>;
|
@@ -86,7 +97,10 @@ export declare const BrowserSchema: z.ZodObject<{
|
|
86
97
|
site: z.ZodString;
|
87
98
|
browser: z.ZodString;
|
88
99
|
count: z.ZodNumber;
|
89
|
-
category: z.
|
100
|
+
category: z.ZodEnum<{
|
101
|
+
SERVER: "SERVER";
|
102
|
+
CLIENT: "CLIENT";
|
103
|
+
}>;
|
90
104
|
}, z.core.$strip>;
|
91
105
|
export declare const ResolutionSchema: z.ZodObject<{
|
92
106
|
account: z.ZodOptional<z.ZodString>;
|
@@ -94,7 +108,10 @@ export declare const ResolutionSchema: z.ZodObject<{
|
|
94
108
|
site: z.ZodString;
|
95
109
|
resolution: z.ZodString;
|
96
110
|
count: z.ZodNumber;
|
97
|
-
category: z.
|
111
|
+
category: z.ZodEnum<{
|
112
|
+
SERVER: "SERVER";
|
113
|
+
CLIENT: "CLIENT";
|
114
|
+
}>;
|
98
115
|
}, z.core.$strip>;
|
99
116
|
export declare const ReferrerSchema: z.ZodObject<{
|
100
117
|
account: z.ZodOptional<z.ZodString>;
|
@@ -102,14 +119,20 @@ export declare const ReferrerSchema: z.ZodObject<{
|
|
102
119
|
site: z.ZodString;
|
103
120
|
referrer: z.ZodString;
|
104
121
|
count: z.ZodNumber;
|
105
|
-
category: z.
|
122
|
+
category: z.ZodEnum<{
|
123
|
+
SERVER: "SERVER";
|
124
|
+
CLIENT: "CLIENT";
|
125
|
+
}>;
|
106
126
|
}, z.core.$strip>;
|
107
127
|
export declare const LocationSchema: z.ZodObject<{
|
108
128
|
account: z.ZodOptional<z.ZodString>;
|
109
129
|
datetime: z.ZodNumber;
|
110
130
|
site: z.ZodString;
|
111
131
|
countryRegion: z.ZodString;
|
112
|
-
category: z.
|
132
|
+
category: z.ZodEnum<{
|
133
|
+
SERVER: "SERVER";
|
134
|
+
CLIENT: "CLIENT";
|
135
|
+
}>;
|
113
136
|
count: z.ZodNumber;
|
114
137
|
}, z.core.$strip>;
|
115
138
|
export declare const LanguageSchema: z.ZodObject<{
|
@@ -118,7 +141,10 @@ export declare const LanguageSchema: z.ZodObject<{
|
|
118
141
|
site: z.ZodString;
|
119
142
|
language: z.ZodString;
|
120
143
|
count: z.ZodNumber;
|
121
|
-
category: z.
|
144
|
+
category: z.ZodEnum<{
|
145
|
+
SERVER: "SERVER";
|
146
|
+
CLIENT: "CLIENT";
|
147
|
+
}>;
|
122
148
|
}, z.core.$strip>;
|
123
149
|
export declare const FingerprintSchema: z.ZodObject<{
|
124
150
|
account: z.ZodOptional<z.ZodString>;
|
@@ -126,7 +152,10 @@ export declare const FingerprintSchema: z.ZodObject<{
|
|
126
152
|
site: z.ZodString;
|
127
153
|
fingerprint: z.ZodString;
|
128
154
|
count: z.ZodNumber;
|
129
|
-
category: z.
|
155
|
+
category: z.ZodEnum<{
|
156
|
+
SERVER: "SERVER";
|
157
|
+
CLIENT: "CLIENT";
|
158
|
+
}>;
|
130
159
|
}, z.core.$strip>;
|
131
160
|
export declare const EventSchema: z.ZodObject<{
|
132
161
|
account: z.ZodOptional<z.ZodString>;
|
@@ -134,7 +163,10 @@ export declare const EventSchema: z.ZodObject<{
|
|
134
163
|
eventName: z.ZodString;
|
135
164
|
datetime: z.ZodNumber;
|
136
165
|
count: z.ZodNumber;
|
137
|
-
category: z.
|
166
|
+
category: z.ZodEnum<{
|
167
|
+
SERVER: "SERVER";
|
168
|
+
CLIENT: "CLIENT";
|
169
|
+
}>;
|
138
170
|
}, z.core.$strip>;
|
139
171
|
export declare const HealthMetricSchema: z.ZodObject<{
|
140
172
|
type: z.ZodLiteral<"health">;
|
@@ -159,6 +191,10 @@ export declare const MetricSchema: z.ZodObject<{
|
|
159
191
|
account: z.ZodOptional<z.ZodString>;
|
160
192
|
site: z.ZodString;
|
161
193
|
datetime: z.ZodNumber;
|
194
|
+
category: z.ZodEnum<{
|
195
|
+
SERVER: "SERVER";
|
196
|
+
CLIENT: "CLIENT";
|
197
|
+
}>;
|
162
198
|
metric: z.ZodUnion<readonly [z.ZodObject<{
|
163
199
|
type: z.ZodLiteral<"health">;
|
164
200
|
responseTimeMs: z.ZodNumber;
|
@@ -173,6 +209,8 @@ export interface IMetric extends z.infer<typeof MetricSchema> {
|
|
173
209
|
}
|
174
210
|
export interface IHealthMetric extends z.infer<typeof HealthMetricSchema> {
|
175
211
|
}
|
212
|
+
export interface IUserMetric extends z.infer<typeof UserMetricSchema> {
|
213
|
+
}
|
176
214
|
export declare const ModelErrorSchema: z.ZodObject<{
|
177
215
|
PK: z.ZodString;
|
178
216
|
messageHash: z.ZodOptional<z.ZodString>;
|
@@ -186,7 +224,10 @@ export declare const ModelErrorSchema: z.ZodObject<{
|
|
186
224
|
datetime: z.ZodNumber;
|
187
225
|
archived: z.ZodOptional<z.ZodBoolean>;
|
188
226
|
count: z.ZodNumber;
|
189
|
-
category: z.
|
227
|
+
category: z.ZodEnum<{
|
228
|
+
SERVER: "SERVER";
|
229
|
+
CLIENT: "CLIENT";
|
230
|
+
}>;
|
190
231
|
}, z.core.$strip>;
|
191
232
|
export declare const RollupTopReferrersSchema: z.ZodObject<{
|
192
233
|
referrer: z.ZodString;
|
@@ -233,7 +274,10 @@ export declare const RollupSchema: z.ZodObject<{
|
|
233
274
|
account: z.ZodString;
|
234
275
|
site: z.ZodString;
|
235
276
|
datetime: z.ZodNumber;
|
236
|
-
category: z.
|
277
|
+
category: z.ZodEnum<{
|
278
|
+
SERVER: "SERVER";
|
279
|
+
CLIENT: "CLIENT";
|
280
|
+
}>;
|
237
281
|
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
238
282
|
referrer: z.ZodString;
|
239
283
|
count: z.ZodNumber;
|
@@ -387,7 +431,10 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
387
431
|
site: z.ZodString;
|
388
432
|
browser: z.ZodString;
|
389
433
|
count: z.ZodNumber;
|
390
|
-
category: z.
|
434
|
+
category: z.ZodEnum<{
|
435
|
+
SERVER: "SERVER";
|
436
|
+
CLIENT: "CLIENT";
|
437
|
+
}>;
|
391
438
|
}, z.core.$strip>>>;
|
392
439
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
393
440
|
account: z.ZodOptional<z.ZodString>;
|
@@ -395,14 +442,20 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
395
442
|
eventName: z.ZodString;
|
396
443
|
datetime: z.ZodNumber;
|
397
444
|
count: z.ZodNumber;
|
398
|
-
category: z.
|
445
|
+
category: z.ZodEnum<{
|
446
|
+
SERVER: "SERVER";
|
447
|
+
CLIENT: "CLIENT";
|
448
|
+
}>;
|
399
449
|
}, z.core.$strip>>>;
|
400
450
|
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
401
451
|
account: z.ZodOptional<z.ZodString>;
|
402
452
|
datetime: z.ZodNumber;
|
403
453
|
site: z.ZodString;
|
404
454
|
countryRegion: z.ZodString;
|
405
|
-
category: z.
|
455
|
+
category: z.ZodEnum<{
|
456
|
+
SERVER: "SERVER";
|
457
|
+
CLIENT: "CLIENT";
|
458
|
+
}>;
|
406
459
|
count: z.ZodNumber;
|
407
460
|
}, z.core.$strip>>>;
|
408
461
|
queries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
@@ -413,7 +466,10 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
413
466
|
search: z.ZodOptional<z.ZodString>;
|
414
467
|
hash: z.ZodOptional<z.ZodString>;
|
415
468
|
count: z.ZodNumber;
|
416
|
-
category: z.
|
469
|
+
category: z.ZodEnum<{
|
470
|
+
SERVER: "SERVER";
|
471
|
+
CLIENT: "CLIENT";
|
472
|
+
}>;
|
417
473
|
}, z.core.$strip>>>;
|
418
474
|
referrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
419
475
|
account: z.ZodOptional<z.ZodString>;
|
@@ -421,7 +477,10 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
421
477
|
site: z.ZodString;
|
422
478
|
referrer: z.ZodString;
|
423
479
|
count: z.ZodNumber;
|
424
|
-
category: z.
|
480
|
+
category: z.ZodEnum<{
|
481
|
+
SERVER: "SERVER";
|
482
|
+
CLIENT: "CLIENT";
|
483
|
+
}>;
|
425
484
|
}, z.core.$strip>>>;
|
426
485
|
resolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
427
486
|
account: z.ZodOptional<z.ZodString>;
|
@@ -429,7 +488,10 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
429
488
|
site: z.ZodString;
|
430
489
|
resolution: z.ZodString;
|
431
490
|
count: z.ZodNumber;
|
432
|
-
category: z.
|
491
|
+
category: z.ZodEnum<{
|
492
|
+
SERVER: "SERVER";
|
493
|
+
CLIENT: "CLIENT";
|
494
|
+
}>;
|
433
495
|
}, z.core.$strip>>>;
|
434
496
|
fingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
435
497
|
account: z.ZodOptional<z.ZodString>;
|
@@ -437,12 +499,19 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
437
499
|
site: z.ZodString;
|
438
500
|
fingerprint: z.ZodString;
|
439
501
|
count: z.ZodNumber;
|
440
|
-
category: z.
|
502
|
+
category: z.ZodEnum<{
|
503
|
+
SERVER: "SERVER";
|
504
|
+
CLIENT: "CLIENT";
|
505
|
+
}>;
|
441
506
|
}, z.core.$strip>>>;
|
442
507
|
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
443
508
|
account: z.ZodOptional<z.ZodString>;
|
444
509
|
site: z.ZodString;
|
445
510
|
datetime: z.ZodNumber;
|
511
|
+
category: z.ZodEnum<{
|
512
|
+
SERVER: "SERVER";
|
513
|
+
CLIENT: "CLIENT";
|
514
|
+
}>;
|
446
515
|
metric: z.ZodUnion<readonly [z.ZodObject<{
|
447
516
|
type: z.ZodLiteral<"health">;
|
448
517
|
responseTimeMs: z.ZodNumber;
|
@@ -459,13 +528,19 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
459
528
|
site: z.ZodString;
|
460
529
|
language: z.ZodString;
|
461
530
|
count: z.ZodNumber;
|
462
|
-
category: z.
|
531
|
+
category: z.ZodEnum<{
|
532
|
+
SERVER: "SERVER";
|
533
|
+
CLIENT: "CLIENT";
|
534
|
+
}>;
|
463
535
|
}, z.core.$strip>>>;
|
464
536
|
rollups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
465
537
|
account: z.ZodString;
|
466
538
|
site: z.ZodString;
|
467
539
|
datetime: z.ZodNumber;
|
468
|
-
category: z.
|
540
|
+
category: z.ZodEnum<{
|
541
|
+
SERVER: "SERVER";
|
542
|
+
CLIENT: "CLIENT";
|
543
|
+
}>;
|
469
544
|
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
470
545
|
referrer: z.ZodString;
|
471
546
|
count: z.ZodNumber;
|
@@ -521,14 +596,20 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
521
596
|
datetime: z.ZodNumber;
|
522
597
|
archived: z.ZodOptional<z.ZodBoolean>;
|
523
598
|
count: z.ZodNumber;
|
524
|
-
category: z.
|
599
|
+
category: z.ZodEnum<{
|
600
|
+
SERVER: "SERVER";
|
601
|
+
CLIENT: "CLIENT";
|
602
|
+
}>;
|
525
603
|
}, z.core.$strip>>>;
|
526
604
|
google: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
527
605
|
account: z.ZodString;
|
528
606
|
email: z.ZodString;
|
529
607
|
site: z.ZodString;
|
530
608
|
datetime: z.ZodNumber;
|
531
|
-
category: z.
|
609
|
+
category: z.ZodEnum<{
|
610
|
+
SERVER: "SERVER";
|
611
|
+
CLIENT: "CLIENT";
|
612
|
+
}>;
|
532
613
|
totals: z.ZodObject<{
|
533
614
|
clicks: z.ZodNumber;
|
534
615
|
impressions: z.ZodNumber;
|
@@ -547,7 +628,10 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
547
628
|
email: z.ZodString;
|
548
629
|
site: z.ZodString;
|
549
630
|
datetime: z.ZodNumber;
|
550
|
-
category: z.
|
631
|
+
category: z.ZodEnum<{
|
632
|
+
SERVER: "SERVER";
|
633
|
+
CLIENT: "CLIENT";
|
634
|
+
}>;
|
551
635
|
totals: z.ZodObject<{
|
552
636
|
clicks: z.ZodNumber;
|
553
637
|
impressions: z.ZodNumber;
|
@@ -566,7 +650,10 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
566
650
|
email: z.ZodString;
|
567
651
|
site: z.ZodString;
|
568
652
|
datetime: z.ZodNumber;
|
569
|
-
category: z.
|
653
|
+
category: z.ZodEnum<{
|
654
|
+
SERVER: "SERVER";
|
655
|
+
CLIENT: "CLIENT";
|
656
|
+
}>;
|
570
657
|
totals: z.ZodObject<{
|
571
658
|
clicks: z.ZodNumber;
|
572
659
|
impressions: z.ZodNumber;
|