analytica.click 0.0.539 → 0.0.540
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 +105 -125
- package/dist/ui/src/server/schema/index.d.ts +9 -125
- package/dist/ui/src/server/schema/rollup.d.ts +93 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -181,38 +181,14 @@ declare module 'analytica.click/dist/types' {
|
|
181
181
|
}
|
182
182
|
declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
183
183
|
import { z } from 'zod';
|
184
|
+
import { RollupSchema } from 'analytica.click/dist/ui/src/server/schema/rollup';
|
185
|
+
export * from 'analytica.click/dist/ui/src/server/schema/rollup';
|
184
186
|
export const category: z.ZodEnum<{
|
185
187
|
SERVER: "SERVER";
|
186
188
|
CLIENT: "CLIENT";
|
187
189
|
}>;
|
188
190
|
export type Category = z.infer<typeof category>;
|
189
|
-
export const
|
190
|
-
site: z.ZodString;
|
191
|
-
}, z.core.$strip>;
|
192
|
-
export const deleteSiteSchema: z.ZodObject<{
|
193
|
-
site: z.ZodString;
|
194
|
-
}, z.core.$strip>;
|
195
|
-
export const updateSiteDetailsSchema: z.ZodObject<{
|
196
|
-
site: z.ZodString;
|
197
|
-
healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
198
|
-
}, z.core.$strip>;
|
199
|
-
export const createGoogleIntegrationSchema: z.ZodObject<{
|
200
|
-
email: z.ZodString;
|
201
|
-
key: z.ZodString;
|
202
|
-
}, z.core.$strip>;
|
203
|
-
export const createBingIntegrationSchema: z.ZodObject<{
|
204
|
-
key: z.ZodString;
|
205
|
-
}, z.core.$strip>;
|
206
|
-
export const createCloudflareIntegrationSchema: z.ZodObject<{
|
207
|
-
key: z.ZodString;
|
208
|
-
}, z.core.$strip>;
|
209
|
-
export const successResponseSchema: z.ZodObject<{
|
210
|
-
success: z.ZodBoolean;
|
211
|
-
}, z.core.$strip>;
|
212
|
-
export const errorResponseSchema: z.ZodObject<{
|
213
|
-
error: z.ZodString;
|
214
|
-
}, z.core.$strip>;
|
215
|
-
export const SeoResultValuesSchema: z.ZodObject<{
|
191
|
+
export const SeoResultValues: z.ZodObject<{
|
216
192
|
clicks: z.ZodNumber;
|
217
193
|
impressions: z.ZodNumber;
|
218
194
|
position: z.ZodNumber;
|
@@ -240,7 +216,7 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
240
216
|
query: z.ZodString;
|
241
217
|
}, z.core.$strip>>;
|
242
218
|
}, z.core.$strip>;
|
243
|
-
export const
|
219
|
+
export const GoogleIntegration: z.ZodObject<{
|
244
220
|
email: z.ZodString;
|
245
221
|
key: z.ZodString;
|
246
222
|
account: z.ZodString;
|
@@ -366,7 +342,7 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
366
342
|
}, z.core.$strip>, z.ZodObject<{
|
367
343
|
type: z.ZodString;
|
368
344
|
value: z.ZodNumber;
|
369
|
-
}, z.core.$strip>]
|
345
|
+
}, z.core.$strip>]>;
|
370
346
|
export const MetricSchema: z.ZodObject<{
|
371
347
|
account: z.ZodOptional<z.ZodString>;
|
372
348
|
site: z.ZodString;
|
@@ -382,7 +358,7 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
382
358
|
}, z.core.$strip>, z.ZodObject<{
|
383
359
|
type: z.ZodString;
|
384
360
|
value: z.ZodNumber;
|
385
|
-
}, z.core.$strip>]
|
361
|
+
}, z.core.$strip>]>;
|
386
362
|
}, z.core.$strip>;
|
387
363
|
export interface IMetric extends z.infer<typeof MetricSchema> {
|
388
364
|
}
|
@@ -408,97 +384,6 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
408
384
|
CLIENT: "CLIENT";
|
409
385
|
}>;
|
410
386
|
}, z.core.$strip>;
|
411
|
-
export const RollupTopReferrersSchema: z.ZodObject<{
|
412
|
-
referrer: z.ZodString;
|
413
|
-
count: z.ZodNumber;
|
414
|
-
}, z.core.$strip>;
|
415
|
-
export const RollupTopResolutionsSchema: z.ZodObject<{
|
416
|
-
resolution: z.ZodString;
|
417
|
-
count: z.ZodNumber;
|
418
|
-
}, z.core.$strip>;
|
419
|
-
export const RollupTopFingerprintsSchema: z.ZodObject<{
|
420
|
-
fingerprint: z.ZodString;
|
421
|
-
count: z.ZodNumber;
|
422
|
-
}, z.core.$strip>;
|
423
|
-
export const RollupTopQueriesSchema: z.ZodObject<{
|
424
|
-
pathName: z.ZodString;
|
425
|
-
count: z.ZodNumber;
|
426
|
-
}, z.core.$strip>;
|
427
|
-
export const RollupTopLocationsSchema: z.ZodObject<{
|
428
|
-
countryRegion: z.ZodString;
|
429
|
-
count: z.ZodNumber;
|
430
|
-
}, z.core.$strip>;
|
431
|
-
export const RollupTopBrowsersSchema: z.ZodObject<{
|
432
|
-
browser: z.ZodString;
|
433
|
-
count: z.ZodNumber;
|
434
|
-
}, z.core.$strip>;
|
435
|
-
export const RollupTopEventsSchema: z.ZodObject<{
|
436
|
-
eventName: z.ZodString;
|
437
|
-
count: z.ZodNumber;
|
438
|
-
}, z.core.$strip>;
|
439
|
-
export const RollupTopLanguagesSchema: z.ZodObject<{
|
440
|
-
language: z.ZodString;
|
441
|
-
count: z.ZodNumber;
|
442
|
-
}, z.core.$strip>;
|
443
|
-
export const RollupTopErrorsSchema: z.ZodObject<{
|
444
|
-
href: z.ZodString;
|
445
|
-
count: z.ZodNumber;
|
446
|
-
}, z.core.$strip>;
|
447
|
-
export const RollupMetricSummarySchema: z.ZodObject<{
|
448
|
-
count: z.ZodNumber;
|
449
|
-
sum: z.ZodNumber;
|
450
|
-
average: z.ZodNumber;
|
451
|
-
}, z.core.$strip>;
|
452
|
-
export const RollupSchema: z.ZodObject<{
|
453
|
-
account: z.ZodString;
|
454
|
-
site: z.ZodString;
|
455
|
-
datetime: z.ZodNumber;
|
456
|
-
category: z.ZodEnum<{
|
457
|
-
SERVER: "SERVER";
|
458
|
-
CLIENT: "CLIENT";
|
459
|
-
}>;
|
460
|
-
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
461
|
-
referrer: z.ZodString;
|
462
|
-
count: z.ZodNumber;
|
463
|
-
}, z.core.$strip>>>;
|
464
|
-
topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
465
|
-
resolution: z.ZodString;
|
466
|
-
count: z.ZodNumber;
|
467
|
-
}, z.core.$strip>>>;
|
468
|
-
topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
469
|
-
fingerprint: z.ZodString;
|
470
|
-
count: z.ZodNumber;
|
471
|
-
}, z.core.$strip>>>;
|
472
|
-
topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
473
|
-
pathName: z.ZodString;
|
474
|
-
count: z.ZodNumber;
|
475
|
-
}, z.core.$strip>>>;
|
476
|
-
topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
477
|
-
countryRegion: z.ZodString;
|
478
|
-
count: z.ZodNumber;
|
479
|
-
}, z.core.$strip>>>;
|
480
|
-
topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
481
|
-
browser: z.ZodString;
|
482
|
-
count: z.ZodNumber;
|
483
|
-
}, z.core.$strip>>>;
|
484
|
-
topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
485
|
-
eventName: z.ZodString;
|
486
|
-
count: z.ZodNumber;
|
487
|
-
}, z.core.$strip>>>;
|
488
|
-
topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
489
|
-
language: z.ZodString;
|
490
|
-
count: z.ZodNumber;
|
491
|
-
}, z.core.$strip>>>;
|
492
|
-
topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
493
|
-
href: z.ZodString;
|
494
|
-
count: z.ZodNumber;
|
495
|
-
}, z.core.$strip>>>;
|
496
|
-
metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
497
|
-
count: z.ZodNumber;
|
498
|
-
sum: z.ZodNumber;
|
499
|
-
average: z.ZodNumber;
|
500
|
-
}, z.core.$strip>>>;
|
501
|
-
}, z.core.$strip>;
|
502
387
|
export const PostEventDataSchema: z.ZodObject<{
|
503
388
|
eventName: z.ZodString;
|
504
389
|
pageReferrer: z.ZodOptional<z.ZodString>;
|
@@ -696,7 +581,7 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
696
581
|
}, z.core.$strip>, z.ZodObject<{
|
697
582
|
type: z.ZodString;
|
698
583
|
value: z.ZodNumber;
|
699
|
-
}, z.core.$strip>]
|
584
|
+
}, z.core.$strip>]>;
|
700
585
|
}, z.core.$strip>>>;
|
701
586
|
languages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
702
587
|
account: z.ZodOptional<z.ZodString>;
|
@@ -875,11 +760,11 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
875
760
|
cloudflareKey: z.ZodOptional<z.ZodString>;
|
876
761
|
cloudflareAccount: z.ZodOptional<z.ZodString>;
|
877
762
|
}, z.core.$strip>;
|
878
|
-
export type
|
763
|
+
export type ISeoResultValues = z.infer<typeof SeoResultValues>;
|
879
764
|
export type SeoResult = z.infer<typeof SeoResultSchema>;
|
880
765
|
export type GetAccount = z.infer<typeof GetAccountSchema>;
|
881
766
|
export type GetAccounts = z.infer<typeof GetAccountsSchema>;
|
882
|
-
export type
|
767
|
+
export type IGoogleIntegration = z.infer<typeof GoogleIntegration>;
|
883
768
|
export type BingIntegration = z.infer<typeof BingIntegrationSchema>;
|
884
769
|
export type CloudflareIntegration = z.infer<typeof CloudflareIntegrationSchema>;
|
885
770
|
export type ApiKey = z.infer<typeof ApiKeySchema>;
|
@@ -894,7 +779,6 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
894
779
|
export type MetricItem = z.infer<typeof MetricItemSchema>;
|
895
780
|
export type Metric = z.infer<typeof MetricSchema>;
|
896
781
|
export type ModelError = z.infer<typeof ModelErrorSchema>;
|
897
|
-
export type RollupMetricSummary = z.infer<typeof RollupMetricSummarySchema>;
|
898
782
|
export type Rollup = z.infer<typeof RollupSchema>;
|
899
783
|
export type SiteData = z.infer<typeof SiteDataSchema>;
|
900
784
|
export type SiteDetails = z.infer<typeof SiteDetailsSchema>;
|
@@ -910,6 +794,102 @@ declare module 'analytica.click/dist/ui/src/server/schema/index' {
|
|
910
794
|
export type DeleteAccount = z.infer<typeof DeleteAccountSchema>;
|
911
795
|
export type ArchiveErrors = z.infer<typeof ArchiveErrorsSchema>;
|
912
796
|
|
797
|
+
}
|
798
|
+
declare module 'analytica.click/dist/ui/src/server/schema/rollup' {
|
799
|
+
import z from 'zod';
|
800
|
+
export const RollupTopReferrersSchema: z.ZodObject<{
|
801
|
+
referrer: z.ZodString;
|
802
|
+
count: z.ZodNumber;
|
803
|
+
}, z.core.$strip>;
|
804
|
+
export const RollupTopResolutionsSchema: z.ZodObject<{
|
805
|
+
resolution: z.ZodString;
|
806
|
+
count: z.ZodNumber;
|
807
|
+
}, z.core.$strip>;
|
808
|
+
export const RollupTopFingerprintsSchema: z.ZodObject<{
|
809
|
+
fingerprint: z.ZodString;
|
810
|
+
count: z.ZodNumber;
|
811
|
+
}, z.core.$strip>;
|
812
|
+
export const RollupTopQueriesSchema: z.ZodObject<{
|
813
|
+
pathName: z.ZodString;
|
814
|
+
count: z.ZodNumber;
|
815
|
+
}, z.core.$strip>;
|
816
|
+
export const RollupTopLocationsSchema: z.ZodObject<{
|
817
|
+
countryRegion: z.ZodString;
|
818
|
+
count: z.ZodNumber;
|
819
|
+
}, z.core.$strip>;
|
820
|
+
export const RollupTopBrowsersSchema: z.ZodObject<{
|
821
|
+
browser: z.ZodString;
|
822
|
+
count: z.ZodNumber;
|
823
|
+
}, z.core.$strip>;
|
824
|
+
export const RollupTopEventsSchema: z.ZodObject<{
|
825
|
+
eventName: z.ZodString;
|
826
|
+
count: z.ZodNumber;
|
827
|
+
}, z.core.$strip>;
|
828
|
+
export const RollupTopLanguagesSchema: z.ZodObject<{
|
829
|
+
language: z.ZodString;
|
830
|
+
count: z.ZodNumber;
|
831
|
+
}, z.core.$strip>;
|
832
|
+
export const RollupTopErrorsSchema: z.ZodObject<{
|
833
|
+
href: z.ZodString;
|
834
|
+
count: z.ZodNumber;
|
835
|
+
}, z.core.$strip>;
|
836
|
+
export const RollupMetricSummary: z.ZodObject<{
|
837
|
+
count: z.ZodNumber;
|
838
|
+
sum: z.ZodNumber;
|
839
|
+
average: z.ZodNumber;
|
840
|
+
}, z.core.$strip>;
|
841
|
+
export const RollupSchema: z.ZodObject<{
|
842
|
+
account: z.ZodString;
|
843
|
+
site: z.ZodString;
|
844
|
+
datetime: z.ZodNumber;
|
845
|
+
category: z.ZodEnum<{
|
846
|
+
SERVER: "SERVER";
|
847
|
+
CLIENT: "CLIENT";
|
848
|
+
}>;
|
849
|
+
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
850
|
+
referrer: z.ZodString;
|
851
|
+
count: z.ZodNumber;
|
852
|
+
}, z.core.$strip>>>;
|
853
|
+
topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
854
|
+
resolution: z.ZodString;
|
855
|
+
count: z.ZodNumber;
|
856
|
+
}, z.core.$strip>>>;
|
857
|
+
topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
858
|
+
fingerprint: z.ZodString;
|
859
|
+
count: z.ZodNumber;
|
860
|
+
}, z.core.$strip>>>;
|
861
|
+
topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
862
|
+
pathName: z.ZodString;
|
863
|
+
count: z.ZodNumber;
|
864
|
+
}, z.core.$strip>>>;
|
865
|
+
topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
866
|
+
countryRegion: z.ZodString;
|
867
|
+
count: z.ZodNumber;
|
868
|
+
}, z.core.$strip>>>;
|
869
|
+
topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
870
|
+
browser: z.ZodString;
|
871
|
+
count: z.ZodNumber;
|
872
|
+
}, z.core.$strip>>>;
|
873
|
+
topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
874
|
+
eventName: z.ZodString;
|
875
|
+
count: z.ZodNumber;
|
876
|
+
}, z.core.$strip>>>;
|
877
|
+
topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
878
|
+
language: z.ZodString;
|
879
|
+
count: z.ZodNumber;
|
880
|
+
}, z.core.$strip>>>;
|
881
|
+
topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
882
|
+
href: z.ZodString;
|
883
|
+
count: z.ZodNumber;
|
884
|
+
}, z.core.$strip>>>;
|
885
|
+
metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
886
|
+
count: z.ZodNumber;
|
887
|
+
sum: z.ZodNumber;
|
888
|
+
average: z.ZodNumber;
|
889
|
+
}, z.core.$strip>>>;
|
890
|
+
}, z.core.$strip>;
|
891
|
+
export type IRollupMetricSummary = z.infer<typeof RollupMetricSummary>;
|
892
|
+
|
913
893
|
}
|
914
894
|
declare module 'analytica.click' {
|
915
895
|
import main = require('analytica.click/dist/index');
|
@@ -1,36 +1,12 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
+
import { RollupSchema } from './rollup';
|
3
|
+
export * from './rollup';
|
2
4
|
export declare const category: z.ZodEnum<{
|
3
5
|
SERVER: "SERVER";
|
4
6
|
CLIENT: "CLIENT";
|
5
7
|
}>;
|
6
8
|
export type Category = z.infer<typeof category>;
|
7
|
-
export declare const
|
8
|
-
site: z.ZodString;
|
9
|
-
}, z.core.$strip>;
|
10
|
-
export declare const deleteSiteSchema: z.ZodObject<{
|
11
|
-
site: z.ZodString;
|
12
|
-
}, z.core.$strip>;
|
13
|
-
export declare const updateSiteDetailsSchema: z.ZodObject<{
|
14
|
-
site: z.ZodString;
|
15
|
-
healthCheckPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
16
|
-
}, z.core.$strip>;
|
17
|
-
export declare const createGoogleIntegrationSchema: z.ZodObject<{
|
18
|
-
email: z.ZodString;
|
19
|
-
key: z.ZodString;
|
20
|
-
}, z.core.$strip>;
|
21
|
-
export declare const createBingIntegrationSchema: z.ZodObject<{
|
22
|
-
key: z.ZodString;
|
23
|
-
}, z.core.$strip>;
|
24
|
-
export declare const createCloudflareIntegrationSchema: z.ZodObject<{
|
25
|
-
key: z.ZodString;
|
26
|
-
}, z.core.$strip>;
|
27
|
-
export declare const successResponseSchema: z.ZodObject<{
|
28
|
-
success: z.ZodBoolean;
|
29
|
-
}, z.core.$strip>;
|
30
|
-
export declare const errorResponseSchema: z.ZodObject<{
|
31
|
-
error: z.ZodString;
|
32
|
-
}, z.core.$strip>;
|
33
|
-
export declare const SeoResultValuesSchema: z.ZodObject<{
|
9
|
+
export declare const SeoResultValues: z.ZodObject<{
|
34
10
|
clicks: z.ZodNumber;
|
35
11
|
impressions: z.ZodNumber;
|
36
12
|
position: z.ZodNumber;
|
@@ -58,7 +34,7 @@ export declare const SeoResultSchema: z.ZodObject<{
|
|
58
34
|
query: z.ZodString;
|
59
35
|
}, z.core.$strip>>;
|
60
36
|
}, z.core.$strip>;
|
61
|
-
export declare const
|
37
|
+
export declare const GoogleIntegration: z.ZodObject<{
|
62
38
|
email: z.ZodString;
|
63
39
|
key: z.ZodString;
|
64
40
|
account: z.ZodString;
|
@@ -184,7 +160,7 @@ export declare const MetricItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
184
160
|
}, z.core.$strip>, z.ZodObject<{
|
185
161
|
type: z.ZodString;
|
186
162
|
value: z.ZodNumber;
|
187
|
-
}, z.core.$strip>]
|
163
|
+
}, z.core.$strip>]>;
|
188
164
|
export declare const MetricSchema: z.ZodObject<{
|
189
165
|
account: z.ZodOptional<z.ZodString>;
|
190
166
|
site: z.ZodString;
|
@@ -200,7 +176,7 @@ export declare const MetricSchema: z.ZodObject<{
|
|
200
176
|
}, z.core.$strip>, z.ZodObject<{
|
201
177
|
type: z.ZodString;
|
202
178
|
value: z.ZodNumber;
|
203
|
-
}, z.core.$strip>]
|
179
|
+
}, z.core.$strip>]>;
|
204
180
|
}, z.core.$strip>;
|
205
181
|
export interface IMetric extends z.infer<typeof MetricSchema> {
|
206
182
|
}
|
@@ -226,97 +202,6 @@ export declare const ModelErrorSchema: z.ZodObject<{
|
|
226
202
|
CLIENT: "CLIENT";
|
227
203
|
}>;
|
228
204
|
}, z.core.$strip>;
|
229
|
-
export declare const RollupTopReferrersSchema: z.ZodObject<{
|
230
|
-
referrer: z.ZodString;
|
231
|
-
count: z.ZodNumber;
|
232
|
-
}, z.core.$strip>;
|
233
|
-
export declare const RollupTopResolutionsSchema: z.ZodObject<{
|
234
|
-
resolution: z.ZodString;
|
235
|
-
count: z.ZodNumber;
|
236
|
-
}, z.core.$strip>;
|
237
|
-
export declare const RollupTopFingerprintsSchema: z.ZodObject<{
|
238
|
-
fingerprint: z.ZodString;
|
239
|
-
count: z.ZodNumber;
|
240
|
-
}, z.core.$strip>;
|
241
|
-
export declare const RollupTopQueriesSchema: z.ZodObject<{
|
242
|
-
pathName: z.ZodString;
|
243
|
-
count: z.ZodNumber;
|
244
|
-
}, z.core.$strip>;
|
245
|
-
export declare const RollupTopLocationsSchema: z.ZodObject<{
|
246
|
-
countryRegion: z.ZodString;
|
247
|
-
count: z.ZodNumber;
|
248
|
-
}, z.core.$strip>;
|
249
|
-
export declare const RollupTopBrowsersSchema: z.ZodObject<{
|
250
|
-
browser: z.ZodString;
|
251
|
-
count: z.ZodNumber;
|
252
|
-
}, z.core.$strip>;
|
253
|
-
export declare const RollupTopEventsSchema: z.ZodObject<{
|
254
|
-
eventName: z.ZodString;
|
255
|
-
count: z.ZodNumber;
|
256
|
-
}, z.core.$strip>;
|
257
|
-
export declare const RollupTopLanguagesSchema: z.ZodObject<{
|
258
|
-
language: z.ZodString;
|
259
|
-
count: z.ZodNumber;
|
260
|
-
}, z.core.$strip>;
|
261
|
-
export declare const RollupTopErrorsSchema: z.ZodObject<{
|
262
|
-
href: z.ZodString;
|
263
|
-
count: z.ZodNumber;
|
264
|
-
}, z.core.$strip>;
|
265
|
-
export declare const RollupMetricSummarySchema: z.ZodObject<{
|
266
|
-
count: z.ZodNumber;
|
267
|
-
sum: z.ZodNumber;
|
268
|
-
average: z.ZodNumber;
|
269
|
-
}, z.core.$strip>;
|
270
|
-
export declare const RollupSchema: z.ZodObject<{
|
271
|
-
account: z.ZodString;
|
272
|
-
site: z.ZodString;
|
273
|
-
datetime: z.ZodNumber;
|
274
|
-
category: z.ZodEnum<{
|
275
|
-
SERVER: "SERVER";
|
276
|
-
CLIENT: "CLIENT";
|
277
|
-
}>;
|
278
|
-
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
279
|
-
referrer: z.ZodString;
|
280
|
-
count: z.ZodNumber;
|
281
|
-
}, z.core.$strip>>>;
|
282
|
-
topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
283
|
-
resolution: z.ZodString;
|
284
|
-
count: z.ZodNumber;
|
285
|
-
}, z.core.$strip>>>;
|
286
|
-
topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
287
|
-
fingerprint: z.ZodString;
|
288
|
-
count: z.ZodNumber;
|
289
|
-
}, z.core.$strip>>>;
|
290
|
-
topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
291
|
-
pathName: z.ZodString;
|
292
|
-
count: z.ZodNumber;
|
293
|
-
}, z.core.$strip>>>;
|
294
|
-
topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
295
|
-
countryRegion: z.ZodString;
|
296
|
-
count: z.ZodNumber;
|
297
|
-
}, z.core.$strip>>>;
|
298
|
-
topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
299
|
-
browser: z.ZodString;
|
300
|
-
count: z.ZodNumber;
|
301
|
-
}, z.core.$strip>>>;
|
302
|
-
topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
303
|
-
eventName: z.ZodString;
|
304
|
-
count: z.ZodNumber;
|
305
|
-
}, z.core.$strip>>>;
|
306
|
-
topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
307
|
-
language: z.ZodString;
|
308
|
-
count: z.ZodNumber;
|
309
|
-
}, z.core.$strip>>>;
|
310
|
-
topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
311
|
-
href: z.ZodString;
|
312
|
-
count: z.ZodNumber;
|
313
|
-
}, z.core.$strip>>>;
|
314
|
-
metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
315
|
-
count: z.ZodNumber;
|
316
|
-
sum: z.ZodNumber;
|
317
|
-
average: z.ZodNumber;
|
318
|
-
}, z.core.$strip>>>;
|
319
|
-
}, z.core.$strip>;
|
320
205
|
export declare const PostEventDataSchema: z.ZodObject<{
|
321
206
|
eventName: z.ZodString;
|
322
207
|
pageReferrer: z.ZodOptional<z.ZodString>;
|
@@ -514,7 +399,7 @@ export declare const SiteDataSchema: z.ZodObject<{
|
|
514
399
|
}, z.core.$strip>, z.ZodObject<{
|
515
400
|
type: z.ZodString;
|
516
401
|
value: z.ZodNumber;
|
517
|
-
}, z.core.$strip>]
|
402
|
+
}, z.core.$strip>]>;
|
518
403
|
}, z.core.$strip>>>;
|
519
404
|
languages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
520
405
|
account: z.ZodOptional<z.ZodString>;
|
@@ -693,11 +578,11 @@ export declare const GetAccountsSchema: z.ZodObject<{
|
|
693
578
|
cloudflareKey: z.ZodOptional<z.ZodString>;
|
694
579
|
cloudflareAccount: z.ZodOptional<z.ZodString>;
|
695
580
|
}, z.core.$strip>;
|
696
|
-
export type
|
581
|
+
export type ISeoResultValues = z.infer<typeof SeoResultValues>;
|
697
582
|
export type SeoResult = z.infer<typeof SeoResultSchema>;
|
698
583
|
export type GetAccount = z.infer<typeof GetAccountSchema>;
|
699
584
|
export type GetAccounts = z.infer<typeof GetAccountsSchema>;
|
700
|
-
export type
|
585
|
+
export type IGoogleIntegration = z.infer<typeof GoogleIntegration>;
|
701
586
|
export type BingIntegration = z.infer<typeof BingIntegrationSchema>;
|
702
587
|
export type CloudflareIntegration = z.infer<typeof CloudflareIntegrationSchema>;
|
703
588
|
export type ApiKey = z.infer<typeof ApiKeySchema>;
|
@@ -712,7 +597,6 @@ export type Event = z.infer<typeof EventSchema>;
|
|
712
597
|
export type MetricItem = z.infer<typeof MetricItemSchema>;
|
713
598
|
export type Metric = z.infer<typeof MetricSchema>;
|
714
599
|
export type ModelError = z.infer<typeof ModelErrorSchema>;
|
715
|
-
export type RollupMetricSummary = z.infer<typeof RollupMetricSummarySchema>;
|
716
600
|
export type Rollup = z.infer<typeof RollupSchema>;
|
717
601
|
export type SiteData = z.infer<typeof SiteDataSchema>;
|
718
602
|
export type SiteDetails = z.infer<typeof SiteDetailsSchema>;
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const RollupTopReferrersSchema: z.ZodObject<{
|
3
|
+
referrer: z.ZodString;
|
4
|
+
count: z.ZodNumber;
|
5
|
+
}, z.core.$strip>;
|
6
|
+
export declare const RollupTopResolutionsSchema: z.ZodObject<{
|
7
|
+
resolution: z.ZodString;
|
8
|
+
count: z.ZodNumber;
|
9
|
+
}, z.core.$strip>;
|
10
|
+
export declare const RollupTopFingerprintsSchema: z.ZodObject<{
|
11
|
+
fingerprint: z.ZodString;
|
12
|
+
count: z.ZodNumber;
|
13
|
+
}, z.core.$strip>;
|
14
|
+
export declare const RollupTopQueriesSchema: z.ZodObject<{
|
15
|
+
pathName: z.ZodString;
|
16
|
+
count: z.ZodNumber;
|
17
|
+
}, z.core.$strip>;
|
18
|
+
export declare const RollupTopLocationsSchema: z.ZodObject<{
|
19
|
+
countryRegion: z.ZodString;
|
20
|
+
count: z.ZodNumber;
|
21
|
+
}, z.core.$strip>;
|
22
|
+
export declare const RollupTopBrowsersSchema: z.ZodObject<{
|
23
|
+
browser: z.ZodString;
|
24
|
+
count: z.ZodNumber;
|
25
|
+
}, z.core.$strip>;
|
26
|
+
export declare const RollupTopEventsSchema: z.ZodObject<{
|
27
|
+
eventName: z.ZodString;
|
28
|
+
count: z.ZodNumber;
|
29
|
+
}, z.core.$strip>;
|
30
|
+
export declare const RollupTopLanguagesSchema: z.ZodObject<{
|
31
|
+
language: z.ZodString;
|
32
|
+
count: z.ZodNumber;
|
33
|
+
}, z.core.$strip>;
|
34
|
+
export declare const RollupTopErrorsSchema: z.ZodObject<{
|
35
|
+
href: z.ZodString;
|
36
|
+
count: z.ZodNumber;
|
37
|
+
}, z.core.$strip>;
|
38
|
+
export declare const RollupMetricSummary: z.ZodObject<{
|
39
|
+
count: z.ZodNumber;
|
40
|
+
sum: z.ZodNumber;
|
41
|
+
average: z.ZodNumber;
|
42
|
+
}, z.core.$strip>;
|
43
|
+
export declare const RollupSchema: z.ZodObject<{
|
44
|
+
account: z.ZodString;
|
45
|
+
site: z.ZodString;
|
46
|
+
datetime: z.ZodNumber;
|
47
|
+
category: z.ZodEnum<{
|
48
|
+
SERVER: "SERVER";
|
49
|
+
CLIENT: "CLIENT";
|
50
|
+
}>;
|
51
|
+
topReferrers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
52
|
+
referrer: z.ZodString;
|
53
|
+
count: z.ZodNumber;
|
54
|
+
}, z.core.$strip>>>;
|
55
|
+
topResolutions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
56
|
+
resolution: z.ZodString;
|
57
|
+
count: z.ZodNumber;
|
58
|
+
}, z.core.$strip>>>;
|
59
|
+
topFingerprints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
60
|
+
fingerprint: z.ZodString;
|
61
|
+
count: z.ZodNumber;
|
62
|
+
}, z.core.$strip>>>;
|
63
|
+
topQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
64
|
+
pathName: z.ZodString;
|
65
|
+
count: z.ZodNumber;
|
66
|
+
}, z.core.$strip>>>;
|
67
|
+
topLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
68
|
+
countryRegion: z.ZodString;
|
69
|
+
count: z.ZodNumber;
|
70
|
+
}, z.core.$strip>>>;
|
71
|
+
topBrowsers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
72
|
+
browser: z.ZodString;
|
73
|
+
count: z.ZodNumber;
|
74
|
+
}, z.core.$strip>>>;
|
75
|
+
topEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
76
|
+
eventName: z.ZodString;
|
77
|
+
count: z.ZodNumber;
|
78
|
+
}, z.core.$strip>>>;
|
79
|
+
topLanguages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
80
|
+
language: z.ZodString;
|
81
|
+
count: z.ZodNumber;
|
82
|
+
}, z.core.$strip>>>;
|
83
|
+
topErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
84
|
+
href: z.ZodString;
|
85
|
+
count: z.ZodNumber;
|
86
|
+
}, z.core.$strip>>>;
|
87
|
+
metrics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
88
|
+
count: z.ZodNumber;
|
89
|
+
sum: z.ZodNumber;
|
90
|
+
average: z.ZodNumber;
|
91
|
+
}, z.core.$strip>>>;
|
92
|
+
}, z.core.$strip>;
|
93
|
+
export type IRollupMetricSummary = z.infer<typeof RollupMetricSummary>;
|