@sortipei/api-contracts 0.1.33 → 0.1.34
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/V1/api/ad.d.ts +6 -6
- package/dist/V1/api/event.d.ts +28 -28
- package/dist/V1/api/statistics.d.ts +14 -14
- package/dist/V1/external/partial-imported-event.d.ts +10 -10
- package/dist/shared/stats.d.ts +20 -20
- package/package.json +1 -1
package/dist/V1/api/ad.d.ts
CHANGED
|
@@ -52,9 +52,10 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
52
52
|
imageUrl: z.ZodString;
|
|
53
53
|
isEnabled: z.ZodBoolean;
|
|
54
54
|
link: z.ZodNullable<z.ZodString>;
|
|
55
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
55
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
56
56
|
startTime: z.ZodString;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
regions: import("../../shared").Region[];
|
|
58
59
|
startTime: string;
|
|
59
60
|
endTime: string;
|
|
60
61
|
createdAt: string;
|
|
@@ -62,8 +63,8 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
62
63
|
imageUrl: string;
|
|
63
64
|
isEnabled: boolean;
|
|
64
65
|
link: string | null;
|
|
65
|
-
regions: import('../../shared').Region[];
|
|
66
66
|
}, {
|
|
67
|
+
regions: import("../../shared").Region[];
|
|
67
68
|
startTime: string;
|
|
68
69
|
endTime: string;
|
|
69
70
|
createdAt: string;
|
|
@@ -71,7 +72,6 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
71
72
|
imageUrl: string;
|
|
72
73
|
isEnabled: boolean;
|
|
73
74
|
link: string | null;
|
|
74
|
-
regions: import('../../shared').Region[];
|
|
75
75
|
}>;
|
|
76
76
|
export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
77
77
|
createdAt: z.ZodString;
|
|
@@ -80,22 +80,22 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
80
80
|
imageUrl: z.ZodString;
|
|
81
81
|
isEnabled: z.ZodBoolean;
|
|
82
82
|
link: z.ZodNullable<z.ZodString>;
|
|
83
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
83
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
84
84
|
startTime: z.ZodString;
|
|
85
85
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
86
|
+
regions: import("../../shared").Region[];
|
|
86
87
|
startTime: string;
|
|
87
88
|
endTime: string;
|
|
88
89
|
imageUrl: string;
|
|
89
90
|
isEnabled: boolean;
|
|
90
91
|
link: string | null;
|
|
91
|
-
regions: import('../../shared').Region[];
|
|
92
92
|
}, {
|
|
93
|
+
regions: import("../../shared").Region[];
|
|
93
94
|
startTime: string;
|
|
94
95
|
endTime: string;
|
|
95
96
|
imageUrl: string;
|
|
96
97
|
isEnabled: boolean;
|
|
97
98
|
link: string | null;
|
|
98
|
-
regions: import('../../shared').Region[];
|
|
99
99
|
}>;
|
|
100
100
|
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
101
101
|
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const EventDTOSchema: z.ZodObject<{
|
|
3
3
|
adress: z.ZodString;
|
|
4
4
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
5
|
-
category: z.ZodNativeEnum<typeof import(
|
|
5
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
6
6
|
createdAt: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
8
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
@@ -15,7 +15,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
15
15
|
isPriceRange: z.ZodBoolean;
|
|
16
16
|
link: z.ZodNullable<z.ZodString>;
|
|
17
17
|
price: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
18
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
19
19
|
startTime: z.ZodString;
|
|
20
20
|
title: z.ZodString;
|
|
21
21
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -34,12 +34,12 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
34
34
|
name: string;
|
|
35
35
|
}>, "many">;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
|
|
37
|
+
regions: import("../../shared").Region[];
|
|
38
|
+
category: import("../../shared").Category;
|
|
38
39
|
startTime: string;
|
|
39
40
|
createdAt: string;
|
|
40
41
|
id: string & z.BRAND<"EventId">;
|
|
41
42
|
link: string | null;
|
|
42
|
-
regions: import('../../shared').Region[];
|
|
43
43
|
adress: string;
|
|
44
44
|
capacity: number | null;
|
|
45
45
|
description: string;
|
|
@@ -60,12 +60,12 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
60
60
|
name: string;
|
|
61
61
|
}[];
|
|
62
62
|
}, {
|
|
63
|
-
|
|
63
|
+
regions: import("../../shared").Region[];
|
|
64
|
+
category: import("../../shared").Category;
|
|
64
65
|
startTime: string;
|
|
65
66
|
createdAt: string;
|
|
66
67
|
id: string;
|
|
67
68
|
link: string | null;
|
|
68
|
-
regions: import('../../shared').Region[];
|
|
69
69
|
adress: string;
|
|
70
70
|
capacity: number | null;
|
|
71
71
|
description: string;
|
|
@@ -89,7 +89,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
89
89
|
export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
90
90
|
adress: z.ZodString;
|
|
91
91
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
92
|
-
category: z.ZodNativeEnum<typeof import(
|
|
92
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
93
93
|
description: z.ZodString;
|
|
94
94
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
95
95
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -101,17 +101,17 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
101
101
|
link: z.ZodNullable<z.ZodString>;
|
|
102
102
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
103
103
|
price: z.ZodNullable<z.ZodNumber>;
|
|
104
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
104
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
105
105
|
startTime: z.ZodString;
|
|
106
106
|
title: z.ZodString;
|
|
107
107
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
108
108
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
|
|
110
|
+
regions: import("../../shared").Region[];
|
|
111
|
+
category: import("../../shared").Category;
|
|
111
112
|
startTime: string;
|
|
112
113
|
id: string & z.BRAND<"EventId">;
|
|
113
114
|
link: string | null;
|
|
114
|
-
regions: import('../../shared').Region[];
|
|
115
115
|
adress: string;
|
|
116
116
|
capacity: number | null;
|
|
117
117
|
description: string;
|
|
@@ -127,11 +127,11 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
127
127
|
ticketsUrl: string | null;
|
|
128
128
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
129
129
|
}, {
|
|
130
|
-
|
|
130
|
+
regions: import("../../shared").Region[];
|
|
131
|
+
category: import("../../shared").Category;
|
|
131
132
|
startTime: string;
|
|
132
133
|
id: string;
|
|
133
134
|
link: string | null;
|
|
134
|
-
regions: import('../../shared').Region[];
|
|
135
135
|
adress: string;
|
|
136
136
|
capacity: number | null;
|
|
137
137
|
description: string;
|
|
@@ -150,7 +150,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
150
150
|
export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
151
151
|
adress: z.ZodString;
|
|
152
152
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
153
|
-
category: z.ZodNativeEnum<typeof import(
|
|
153
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
154
154
|
description: z.ZodString;
|
|
155
155
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
156
156
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -162,16 +162,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
162
162
|
link: z.ZodNullable<z.ZodString>;
|
|
163
163
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
164
164
|
price: z.ZodNullable<z.ZodNumber>;
|
|
165
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
165
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
166
166
|
startTime: z.ZodString;
|
|
167
167
|
title: z.ZodString;
|
|
168
168
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
169
169
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
170
170
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
171
|
-
|
|
171
|
+
regions: import("../../shared").Region[];
|
|
172
|
+
category: import("../../shared").Category;
|
|
172
173
|
startTime: string;
|
|
173
174
|
link: string | null;
|
|
174
|
-
regions: import('../../shared').Region[];
|
|
175
175
|
adress: string;
|
|
176
176
|
capacity: number | null;
|
|
177
177
|
description: string;
|
|
@@ -187,10 +187,10 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
187
187
|
ticketsUrl: string | null;
|
|
188
188
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
189
189
|
}, {
|
|
190
|
-
|
|
190
|
+
regions: import("../../shared").Region[];
|
|
191
|
+
category: import("../../shared").Category;
|
|
191
192
|
startTime: string;
|
|
192
193
|
link: string | null;
|
|
193
|
-
regions: import('../../shared').Region[];
|
|
194
194
|
adress: string;
|
|
195
195
|
capacity: number | null;
|
|
196
196
|
description: string;
|
|
@@ -246,7 +246,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
246
246
|
partialEventState: z.ZodObject<{
|
|
247
247
|
adress: z.ZodOptional<z.ZodString>;
|
|
248
248
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
249
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
249
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
|
|
250
250
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
251
251
|
description: z.ZodOptional<z.ZodString>;
|
|
252
252
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -259,7 +259,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
259
259
|
isPriceRange: z.ZodOptional<z.ZodBoolean>;
|
|
260
260
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
261
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
262
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
262
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
|
|
263
263
|
startTime: z.ZodOptional<z.ZodString>;
|
|
264
264
|
title: z.ZodOptional<z.ZodString>;
|
|
265
265
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -278,12 +278,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
278
278
|
name: string;
|
|
279
279
|
}>, "many">>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
|
|
281
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
282
|
+
category?: import("../../shared").Category | undefined;
|
|
282
283
|
startTime?: string | undefined;
|
|
283
284
|
createdAt?: string | undefined;
|
|
284
285
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
285
286
|
link?: string | null | undefined;
|
|
286
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
287
287
|
adress?: string | undefined;
|
|
288
288
|
capacity?: number | null | undefined;
|
|
289
289
|
description?: string | undefined;
|
|
@@ -304,12 +304,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
304
304
|
name: string;
|
|
305
305
|
}[] | undefined;
|
|
306
306
|
}, {
|
|
307
|
-
|
|
307
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
308
|
+
category?: import("../../shared").Category | undefined;
|
|
308
309
|
startTime?: string | undefined;
|
|
309
310
|
createdAt?: string | undefined;
|
|
310
311
|
id?: string | undefined;
|
|
311
312
|
link?: string | null | undefined;
|
|
312
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
313
313
|
adress?: string | undefined;
|
|
314
314
|
capacity?: number | null | undefined;
|
|
315
315
|
description?: string | undefined;
|
|
@@ -338,12 +338,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
338
338
|
id: string;
|
|
339
339
|
organizersNames: string[];
|
|
340
340
|
partialEventState: {
|
|
341
|
-
|
|
341
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
342
|
+
category?: import("../../shared").Category | undefined;
|
|
342
343
|
startTime?: string | undefined;
|
|
343
344
|
createdAt?: string | undefined;
|
|
344
345
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
345
346
|
link?: string | null | undefined;
|
|
346
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
347
347
|
adress?: string | undefined;
|
|
348
348
|
capacity?: number | null | undefined;
|
|
349
349
|
description?: string | undefined;
|
|
@@ -371,12 +371,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
371
371
|
id: string;
|
|
372
372
|
organizersNames: string[];
|
|
373
373
|
partialEventState: {
|
|
374
|
-
|
|
374
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
375
|
+
category?: import("../../shared").Category | undefined;
|
|
375
376
|
startTime?: string | undefined;
|
|
376
377
|
createdAt?: string | undefined;
|
|
377
378
|
id?: string | undefined;
|
|
378
379
|
link?: string | null | undefined;
|
|
379
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
380
380
|
adress?: string | undefined;
|
|
381
381
|
capacity?: number | null | undefined;
|
|
382
382
|
description?: string | undefined;
|
|
@@ -39,14 +39,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
39
39
|
time: string;
|
|
40
40
|
}>, z.ZodObject<{
|
|
41
41
|
data: z.ZodObject<{
|
|
42
|
-
category: z.ZodNativeEnum<typeof import(
|
|
42
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
43
43
|
userId: z.ZodString;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
userId: string;
|
|
46
|
-
category: import(
|
|
46
|
+
category: import("../../shared").Category;
|
|
47
47
|
}, {
|
|
48
48
|
userId: string;
|
|
49
|
-
category: import(
|
|
49
|
+
category: import("../../shared").Category;
|
|
50
50
|
}>;
|
|
51
51
|
time: z.ZodString;
|
|
52
52
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -54,14 +54,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
54
54
|
type: "category-filter-applied";
|
|
55
55
|
data: {
|
|
56
56
|
userId: string;
|
|
57
|
-
category: import(
|
|
57
|
+
category: import("../../shared").Category;
|
|
58
58
|
};
|
|
59
59
|
time: string;
|
|
60
60
|
}, {
|
|
61
61
|
type: "category-filter-applied";
|
|
62
62
|
data: {
|
|
63
63
|
userId: string;
|
|
64
|
-
category: import(
|
|
64
|
+
category: import("../../shared").Category;
|
|
65
65
|
};
|
|
66
66
|
time: string;
|
|
67
67
|
}>, z.ZodObject<{
|
|
@@ -309,14 +309,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
309
309
|
time: string;
|
|
310
310
|
}>, z.ZodObject<{
|
|
311
311
|
data: z.ZodObject<{
|
|
312
|
-
|
|
312
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
313
313
|
userId: z.ZodString;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
315
|
userId: string;
|
|
316
|
-
|
|
316
|
+
regions: import("../../shared").Region[];
|
|
317
317
|
}, {
|
|
318
318
|
userId: string;
|
|
319
|
-
|
|
319
|
+
regions: import("../../shared").Region[];
|
|
320
320
|
}>;
|
|
321
321
|
time: z.ZodString;
|
|
322
322
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -324,14 +324,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
324
324
|
type: "region-filter-applied";
|
|
325
325
|
data: {
|
|
326
326
|
userId: string;
|
|
327
|
-
|
|
327
|
+
regions: import("../../shared").Region[];
|
|
328
328
|
};
|
|
329
329
|
time: string;
|
|
330
330
|
}, {
|
|
331
331
|
type: "region-filter-applied";
|
|
332
332
|
data: {
|
|
333
333
|
userId: string;
|
|
334
|
-
|
|
334
|
+
regions: import("../../shared").Region[];
|
|
335
335
|
};
|
|
336
336
|
time: string;
|
|
337
337
|
}>]>;
|
|
@@ -395,7 +395,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
395
395
|
type: "region-filter-applied";
|
|
396
396
|
data: {
|
|
397
397
|
userId: string;
|
|
398
|
-
|
|
398
|
+
regions: import("../../shared").Region[];
|
|
399
399
|
};
|
|
400
400
|
time: string;
|
|
401
401
|
} | {
|
|
@@ -408,7 +408,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
408
408
|
type: "category-filter-applied";
|
|
409
409
|
data: {
|
|
410
410
|
userId: string;
|
|
411
|
-
category: import(
|
|
411
|
+
category: import("../../shared").Category;
|
|
412
412
|
};
|
|
413
413
|
time: string;
|
|
414
414
|
} | {
|
|
@@ -480,7 +480,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
480
480
|
type: "region-filter-applied";
|
|
481
481
|
data: {
|
|
482
482
|
userId: string;
|
|
483
|
-
|
|
483
|
+
regions: import("../../shared").Region[];
|
|
484
484
|
};
|
|
485
485
|
time: string;
|
|
486
486
|
} | {
|
|
@@ -493,7 +493,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
493
493
|
type: "category-filter-applied";
|
|
494
494
|
data: {
|
|
495
495
|
userId: string;
|
|
496
|
-
category: import(
|
|
496
|
+
category: import("../../shared").Category;
|
|
497
497
|
};
|
|
498
498
|
time: string;
|
|
499
499
|
} | {
|
|
@@ -3,7 +3,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
3
3
|
partialEventState: z.ZodObject<{
|
|
4
4
|
adress: z.ZodOptional<z.ZodString>;
|
|
5
5
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
6
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
|
|
7
7
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
8
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
9
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16,7 +16,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
16
16
|
isPriceRange: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
19
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
|
|
20
20
|
startTime: z.ZodOptional<z.ZodString>;
|
|
21
21
|
title: z.ZodOptional<z.ZodString>;
|
|
22
22
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -35,12 +35,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
35
35
|
name: string;
|
|
36
36
|
}>, "many">>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
|
|
38
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
39
|
+
category?: import("../../shared").Category | undefined;
|
|
39
40
|
startTime?: string | undefined;
|
|
40
41
|
createdAt?: string | undefined;
|
|
41
42
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
42
43
|
link?: string | null | undefined;
|
|
43
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
44
44
|
adress?: string | undefined;
|
|
45
45
|
capacity?: number | null | undefined;
|
|
46
46
|
description?: string | undefined;
|
|
@@ -61,12 +61,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
61
61
|
name: string;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
|
|
64
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
65
|
+
category?: import("../../shared").Category | undefined;
|
|
65
66
|
startTime?: string | undefined;
|
|
66
67
|
createdAt?: string | undefined;
|
|
67
68
|
id?: string | undefined;
|
|
68
69
|
link?: string | null | undefined;
|
|
69
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
70
70
|
adress?: string | undefined;
|
|
71
71
|
capacity?: number | null | undefined;
|
|
72
72
|
description?: string | undefined;
|
|
@@ -95,12 +95,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
95
95
|
userId: string;
|
|
96
96
|
organizersNames: string[];
|
|
97
97
|
partialEventState: {
|
|
98
|
-
|
|
98
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
99
|
+
category?: import("../../shared").Category | undefined;
|
|
99
100
|
startTime?: string | undefined;
|
|
100
101
|
createdAt?: string | undefined;
|
|
101
102
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
102
103
|
link?: string | null | undefined;
|
|
103
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
104
104
|
adress?: string | undefined;
|
|
105
105
|
capacity?: number | null | undefined;
|
|
106
106
|
description?: string | undefined;
|
|
@@ -127,12 +127,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
127
127
|
userId: string;
|
|
128
128
|
organizersNames: string[];
|
|
129
129
|
partialEventState: {
|
|
130
|
-
|
|
130
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
131
|
+
category?: import("../../shared").Category | undefined;
|
|
131
132
|
startTime?: string | undefined;
|
|
132
133
|
createdAt?: string | undefined;
|
|
133
134
|
id?: string | undefined;
|
|
134
135
|
link?: string | null | undefined;
|
|
135
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
136
136
|
adress?: string | undefined;
|
|
137
137
|
capacity?: number | null | undefined;
|
|
138
138
|
description?: string | undefined;
|
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
|
-
|
|
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
|
-
|
|
227
|
+
regions: import("./event").Region[];
|
|
228
228
|
}, {
|
|
229
229
|
userId: string;
|
|
230
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
}>;
|
|
@@ -354,14 +354,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
354
354
|
time: string;
|
|
355
355
|
}>, z.ZodObject<{
|
|
356
356
|
data: z.ZodObject<{
|
|
357
|
-
category: z.ZodNativeEnum<typeof import(
|
|
357
|
+
category: z.ZodNativeEnum<typeof import("./event").Category>;
|
|
358
358
|
userId: z.ZodString;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
360
|
userId: string;
|
|
361
|
-
category: import(
|
|
361
|
+
category: import("./event").Category;
|
|
362
362
|
}, {
|
|
363
363
|
userId: string;
|
|
364
|
-
category: import(
|
|
364
|
+
category: import("./event").Category;
|
|
365
365
|
}>;
|
|
366
366
|
time: z.ZodString;
|
|
367
367
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -369,14 +369,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
369
369
|
type: "category-filter-applied";
|
|
370
370
|
data: {
|
|
371
371
|
userId: string;
|
|
372
|
-
category: import(
|
|
372
|
+
category: import("./event").Category;
|
|
373
373
|
};
|
|
374
374
|
time: string;
|
|
375
375
|
}, {
|
|
376
376
|
type: "category-filter-applied";
|
|
377
377
|
data: {
|
|
378
378
|
userId: string;
|
|
379
|
-
category: import(
|
|
379
|
+
category: import("./event").Category;
|
|
380
380
|
};
|
|
381
381
|
time: string;
|
|
382
382
|
}>, z.ZodObject<{
|
|
@@ -624,14 +624,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
624
624
|
time: string;
|
|
625
625
|
}>, z.ZodObject<{
|
|
626
626
|
data: z.ZodObject<{
|
|
627
|
-
|
|
627
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("./event").Region>, "many">;
|
|
628
628
|
userId: z.ZodString;
|
|
629
629
|
}, "strip", z.ZodTypeAny, {
|
|
630
630
|
userId: string;
|
|
631
|
-
|
|
631
|
+
regions: import("./event").Region[];
|
|
632
632
|
}, {
|
|
633
633
|
userId: string;
|
|
634
|
-
|
|
634
|
+
regions: import("./event").Region[];
|
|
635
635
|
}>;
|
|
636
636
|
time: z.ZodString;
|
|
637
637
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -639,14 +639,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
639
639
|
type: "region-filter-applied";
|
|
640
640
|
data: {
|
|
641
641
|
userId: string;
|
|
642
|
-
|
|
642
|
+
regions: import("./event").Region[];
|
|
643
643
|
};
|
|
644
644
|
time: string;
|
|
645
645
|
}, {
|
|
646
646
|
type: "region-filter-applied";
|
|
647
647
|
data: {
|
|
648
648
|
userId: string;
|
|
649
|
-
|
|
649
|
+
regions: import("./event").Region[];
|
|
650
650
|
};
|
|
651
651
|
time: string;
|
|
652
652
|
}>]>;
|