@sortipei/api-contracts 0.1.29 → 0.1.31
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 +60 -6
- package/dist/V1/api/ad.d.ts.map +1 -1
- package/dist/V1/api/event.d.ts +44 -44
- package/dist/V1/api/index.d.ts +1 -1
- package/dist/V1/api/index.d.ts.map +1 -1
- package/dist/V1/api/organizer.d.ts +6 -6
- package/dist/V1/api/stats.d.ts +4 -0
- package/dist/V1/api/stats.d.ts.map +1 -0
- package/dist/V1/external/partial-imported-event.d.ts +24 -24
- package/dist/api-contracts.js +39 -0
- package/dist/api-contracts.mjs +39 -0
- package/dist/flavors.d.ts +3 -0
- package/dist/flavors.d.ts.map +1 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/stats.d.ts +957 -0
- package/dist/shared/stats.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/V1/api/ad.d.ts
CHANGED
|
@@ -8,21 +8,21 @@ export declare const MainAdDTOSchema: z.ZodObject<{
|
|
|
8
8
|
link: z.ZodNullable<z.ZodString>;
|
|
9
9
|
startTime: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
|
|
11
|
+
startTime: string;
|
|
12
12
|
endTime: string;
|
|
13
|
+
createdAt: string;
|
|
13
14
|
id: string & z.BRAND<"MainAdId">;
|
|
15
|
+
link: string | null;
|
|
14
16
|
imageUrl: string;
|
|
15
17
|
isEnabled: boolean;
|
|
16
|
-
link: string | null;
|
|
17
|
-
startTime: string;
|
|
18
18
|
}, {
|
|
19
|
-
|
|
19
|
+
startTime: string;
|
|
20
20
|
endTime: string;
|
|
21
|
+
createdAt: string;
|
|
21
22
|
id: string;
|
|
23
|
+
link: string | null;
|
|
22
24
|
imageUrl: string;
|
|
23
25
|
isEnabled: boolean;
|
|
24
|
-
link: string | null;
|
|
25
|
-
startTime: string;
|
|
26
26
|
}>;
|
|
27
27
|
export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
28
28
|
createdAt: z.ZodString;
|
|
@@ -33,18 +33,72 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
|
33
33
|
link: z.ZodNullable<z.ZodString>;
|
|
34
34
|
startTime: z.ZodString;
|
|
35
35
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
36
|
+
startTime: string;
|
|
36
37
|
endTime: string;
|
|
38
|
+
link: string | null;
|
|
37
39
|
imageUrl: string;
|
|
38
40
|
isEnabled: boolean;
|
|
41
|
+
}, {
|
|
42
|
+
startTime: string;
|
|
43
|
+
endTime: string;
|
|
39
44
|
link: string | null;
|
|
45
|
+
imageUrl: string;
|
|
46
|
+
isEnabled: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
49
|
+
createdAt: z.ZodString;
|
|
50
|
+
endTime: z.ZodString;
|
|
51
|
+
id: z.ZodBranded<z.ZodString, "RegionalAdId">;
|
|
52
|
+
imageUrl: z.ZodString;
|
|
53
|
+
isEnabled: z.ZodBoolean;
|
|
54
|
+
link: z.ZodNullable<z.ZodString>;
|
|
55
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
56
|
+
startTime: z.ZodString;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
58
|
startTime: string;
|
|
59
|
+
endTime: string;
|
|
60
|
+
createdAt: string;
|
|
61
|
+
id: string & z.BRAND<"RegionalAdId">;
|
|
62
|
+
link: string | null;
|
|
63
|
+
regions: import("../../shared").Region[];
|
|
64
|
+
imageUrl: string;
|
|
65
|
+
isEnabled: boolean;
|
|
41
66
|
}, {
|
|
67
|
+
startTime: string;
|
|
42
68
|
endTime: string;
|
|
69
|
+
createdAt: string;
|
|
70
|
+
id: string;
|
|
71
|
+
link: string | null;
|
|
72
|
+
regions: import("../../shared").Region[];
|
|
43
73
|
imageUrl: string;
|
|
44
74
|
isEnabled: boolean;
|
|
75
|
+
}>;
|
|
76
|
+
export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
77
|
+
createdAt: z.ZodString;
|
|
78
|
+
endTime: z.ZodString;
|
|
79
|
+
id: z.ZodBranded<z.ZodString, "RegionalAdId">;
|
|
80
|
+
imageUrl: z.ZodString;
|
|
81
|
+
isEnabled: z.ZodBoolean;
|
|
82
|
+
link: z.ZodNullable<z.ZodString>;
|
|
83
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
84
|
+
startTime: z.ZodString;
|
|
85
|
+
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
86
|
+
startTime: string;
|
|
87
|
+
endTime: string;
|
|
45
88
|
link: string | null;
|
|
89
|
+
regions: import("../../shared").Region[];
|
|
90
|
+
imageUrl: string;
|
|
91
|
+
isEnabled: boolean;
|
|
92
|
+
}, {
|
|
46
93
|
startTime: string;
|
|
94
|
+
endTime: string;
|
|
95
|
+
link: string | null;
|
|
96
|
+
regions: import("../../shared").Region[];
|
|
97
|
+
imageUrl: string;
|
|
98
|
+
isEnabled: boolean;
|
|
47
99
|
}>;
|
|
48
100
|
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
49
101
|
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
|
102
|
+
export type RegionalAdDTO = z.infer<typeof RegionalAdDTOSchema>;
|
|
103
|
+
export type UpdateRegionalAdDTO = z.infer<typeof UpdateRegionalAdDTOSchema>;
|
|
50
104
|
//# sourceMappingURL=ad.d.ts.map
|
package/dist/V1/api/ad.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ad.d.ts","sourceRoot":"","sources":["../../../src/V1/api/ad.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAQ1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ad.d.ts","sourceRoot":"","sources":["../../../src/V1/api/ad.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;EAQ1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -26,22 +26,23 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
26
26
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
id: string & z.BRAND<"OrganizerId">;
|
|
29
|
-
imageUrl: string | null;
|
|
30
29
|
name: string;
|
|
30
|
+
imageUrl: string | null;
|
|
31
31
|
}, {
|
|
32
32
|
id: string;
|
|
33
|
-
imageUrl: string | null;
|
|
34
33
|
name: string;
|
|
34
|
+
imageUrl: string | null;
|
|
35
35
|
}>, "many">;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
|
|
37
|
+
category: import("../../shared").Category;
|
|
38
|
+
startTime: string;
|
|
38
39
|
adress: string;
|
|
39
40
|
capacity: number | null;
|
|
40
|
-
category: import("../../shared").Category;
|
|
41
41
|
createdAt: string;
|
|
42
42
|
description: string;
|
|
43
43
|
finishTime: string | null;
|
|
44
44
|
hasHandicapAccess: boolean | null;
|
|
45
|
+
id: string & z.BRAND<"EventId">;
|
|
45
46
|
imageBlurHashes: string[];
|
|
46
47
|
imageUrls: string[];
|
|
47
48
|
isDisplayed: boolean;
|
|
@@ -50,24 +51,24 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
50
51
|
link: string | null;
|
|
51
52
|
price: number | null;
|
|
52
53
|
regions: import("../../shared").Region[];
|
|
53
|
-
startTime: string;
|
|
54
54
|
title: string;
|
|
55
55
|
thumbnailUrl: string | null;
|
|
56
56
|
ticketsUrl: string | null;
|
|
57
57
|
organizers: {
|
|
58
58
|
id: string & z.BRAND<"OrganizerId">;
|
|
59
|
-
imageUrl: string | null;
|
|
60
59
|
name: string;
|
|
60
|
+
imageUrl: string | null;
|
|
61
61
|
}[];
|
|
62
62
|
}, {
|
|
63
|
-
|
|
63
|
+
category: import("../../shared").Category;
|
|
64
|
+
startTime: string;
|
|
64
65
|
adress: string;
|
|
65
66
|
capacity: number | null;
|
|
66
|
-
category: import("../../shared").Category;
|
|
67
67
|
createdAt: string;
|
|
68
68
|
description: string;
|
|
69
69
|
finishTime: string | null;
|
|
70
70
|
hasHandicapAccess: boolean | null;
|
|
71
|
+
id: string;
|
|
71
72
|
imageBlurHashes: string[];
|
|
72
73
|
imageUrls: string[];
|
|
73
74
|
isDisplayed: boolean;
|
|
@@ -76,14 +77,13 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
76
77
|
link: string | null;
|
|
77
78
|
price: number | null;
|
|
78
79
|
regions: import("../../shared").Region[];
|
|
79
|
-
startTime: string;
|
|
80
80
|
title: string;
|
|
81
81
|
thumbnailUrl: string | null;
|
|
82
82
|
ticketsUrl: string | null;
|
|
83
83
|
organizers: {
|
|
84
84
|
id: string;
|
|
85
|
-
imageUrl: string | null;
|
|
86
85
|
name: string;
|
|
86
|
+
imageUrl: string | null;
|
|
87
87
|
}[];
|
|
88
88
|
}>;
|
|
89
89
|
export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
@@ -107,13 +107,14 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
107
107
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
108
108
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
|
|
110
|
+
category: import("../../shared").Category;
|
|
111
|
+
startTime: string;
|
|
111
112
|
adress: string;
|
|
112
113
|
capacity: number | null;
|
|
113
|
-
category: import("../../shared").Category;
|
|
114
114
|
description: string;
|
|
115
115
|
finishTime: string | null;
|
|
116
116
|
hasHandicapAccess: boolean | null;
|
|
117
|
+
id: string & z.BRAND<"EventId">;
|
|
117
118
|
imageBlurHashes: string[];
|
|
118
119
|
imageUrls: string[];
|
|
119
120
|
isDisplayed: boolean;
|
|
@@ -121,19 +122,19 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
121
122
|
link: string | null;
|
|
122
123
|
price: number | null;
|
|
123
124
|
regions: import("../../shared").Region[];
|
|
124
|
-
startTime: string;
|
|
125
125
|
title: string;
|
|
126
126
|
thumbnailUrl: string | null;
|
|
127
127
|
ticketsUrl: string | null;
|
|
128
128
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
129
129
|
}, {
|
|
130
|
-
|
|
130
|
+
category: import("../../shared").Category;
|
|
131
|
+
startTime: string;
|
|
131
132
|
adress: string;
|
|
132
133
|
capacity: number | null;
|
|
133
|
-
category: import("../../shared").Category;
|
|
134
134
|
description: string;
|
|
135
135
|
finishTime: string | null;
|
|
136
136
|
hasHandicapAccess: boolean | null;
|
|
137
|
+
id: string;
|
|
137
138
|
imageBlurHashes: string[];
|
|
138
139
|
imageUrls: string[];
|
|
139
140
|
isDisplayed: boolean;
|
|
@@ -141,7 +142,6 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
141
142
|
link: string | null;
|
|
142
143
|
price: number | null;
|
|
143
144
|
regions: import("../../shared").Region[];
|
|
144
|
-
startTime: string;
|
|
145
145
|
title: string;
|
|
146
146
|
thumbnailUrl: string | null;
|
|
147
147
|
ticketsUrl: string | null;
|
|
@@ -168,9 +168,10 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
168
168
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
169
169
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
170
170
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
171
|
+
category: import("../../shared").Category;
|
|
172
|
+
startTime: string;
|
|
171
173
|
adress: string;
|
|
172
174
|
capacity: number | null;
|
|
173
|
-
category: import("../../shared").Category;
|
|
174
175
|
description: string;
|
|
175
176
|
finishTime: string | null;
|
|
176
177
|
hasHandicapAccess: boolean | null;
|
|
@@ -181,15 +182,15 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
181
182
|
link: string | null;
|
|
182
183
|
price: number | null;
|
|
183
184
|
regions: import("../../shared").Region[];
|
|
184
|
-
startTime: string;
|
|
185
185
|
title: string;
|
|
186
186
|
thumbnailUrl: string | null;
|
|
187
187
|
ticketsUrl: string | null;
|
|
188
188
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
189
189
|
}, {
|
|
190
|
+
category: import("../../shared").Category;
|
|
191
|
+
startTime: string;
|
|
190
192
|
adress: string;
|
|
191
193
|
capacity: number | null;
|
|
192
|
-
category: import("../../shared").Category;
|
|
193
194
|
description: string;
|
|
194
195
|
finishTime: string | null;
|
|
195
196
|
hasHandicapAccess: boolean | null;
|
|
@@ -200,7 +201,6 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
200
201
|
link: string | null;
|
|
201
202
|
price: number | null;
|
|
202
203
|
regions: import("../../shared").Region[];
|
|
203
|
-
startTime: string;
|
|
204
204
|
title: string;
|
|
205
205
|
thumbnailUrl: string | null;
|
|
206
206
|
ticketsUrl: string | null;
|
|
@@ -270,22 +270,23 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
270
270
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
id: string & z.BRAND<"OrganizerId">;
|
|
273
|
-
imageUrl: string | null;
|
|
274
273
|
name: string;
|
|
274
|
+
imageUrl: string | null;
|
|
275
275
|
}, {
|
|
276
276
|
id: string;
|
|
277
|
-
imageUrl: string | null;
|
|
278
277
|
name: string;
|
|
278
|
+
imageUrl: string | null;
|
|
279
279
|
}>, "many">>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
|
|
281
|
+
category?: import("../../shared").Category | undefined;
|
|
282
|
+
startTime?: string | undefined;
|
|
282
283
|
adress?: string | undefined;
|
|
283
284
|
capacity?: number | null | undefined;
|
|
284
|
-
category?: import("../../shared").Category | undefined;
|
|
285
285
|
createdAt?: string | undefined;
|
|
286
286
|
description?: string | undefined;
|
|
287
287
|
finishTime?: string | null | undefined;
|
|
288
288
|
hasHandicapAccess?: boolean | null | undefined;
|
|
289
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
289
290
|
imageBlurHashes?: string[] | undefined;
|
|
290
291
|
imageUrls?: string[] | undefined;
|
|
291
292
|
isDisplayed?: boolean | undefined;
|
|
@@ -294,24 +295,24 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
294
295
|
link?: string | null | undefined;
|
|
295
296
|
price?: number | null | undefined;
|
|
296
297
|
regions?: import("../../shared").Region[] | undefined;
|
|
297
|
-
startTime?: string | undefined;
|
|
298
298
|
title?: string | undefined;
|
|
299
299
|
thumbnailUrl?: string | null | undefined;
|
|
300
300
|
ticketsUrl?: string | null | undefined;
|
|
301
301
|
organizers?: {
|
|
302
302
|
id: string & z.BRAND<"OrganizerId">;
|
|
303
|
-
imageUrl: string | null;
|
|
304
303
|
name: string;
|
|
304
|
+
imageUrl: string | null;
|
|
305
305
|
}[] | undefined;
|
|
306
306
|
}, {
|
|
307
|
-
|
|
307
|
+
category?: import("../../shared").Category | undefined;
|
|
308
|
+
startTime?: string | undefined;
|
|
308
309
|
adress?: string | undefined;
|
|
309
310
|
capacity?: number | null | undefined;
|
|
310
|
-
category?: import("../../shared").Category | undefined;
|
|
311
311
|
createdAt?: string | undefined;
|
|
312
312
|
description?: string | undefined;
|
|
313
313
|
finishTime?: string | null | undefined;
|
|
314
314
|
hasHandicapAccess?: boolean | null | undefined;
|
|
315
|
+
id?: string | undefined;
|
|
315
316
|
imageBlurHashes?: string[] | undefined;
|
|
316
317
|
imageUrls?: string[] | undefined;
|
|
317
318
|
isDisplayed?: boolean | undefined;
|
|
@@ -320,31 +321,31 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
320
321
|
link?: string | null | undefined;
|
|
321
322
|
price?: number | null | undefined;
|
|
322
323
|
regions?: import("../../shared").Region[] | undefined;
|
|
323
|
-
startTime?: string | undefined;
|
|
324
324
|
title?: string | undefined;
|
|
325
325
|
thumbnailUrl?: string | null | undefined;
|
|
326
326
|
ticketsUrl?: string | null | undefined;
|
|
327
327
|
organizers?: {
|
|
328
328
|
id: string;
|
|
329
|
-
imageUrl: string | null;
|
|
330
329
|
name: string;
|
|
330
|
+
imageUrl: string | null;
|
|
331
331
|
}[] | undefined;
|
|
332
332
|
}>;
|
|
333
333
|
source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
|
|
334
334
|
userId: z.ZodString;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
|
-
|
|
336
|
+
userId: string;
|
|
337
337
|
createdAt: string;
|
|
338
|
-
|
|
338
|
+
id: string;
|
|
339
339
|
partialEventState: {
|
|
340
|
-
|
|
340
|
+
category?: import("../../shared").Category | undefined;
|
|
341
|
+
startTime?: string | undefined;
|
|
341
342
|
adress?: string | undefined;
|
|
342
343
|
capacity?: number | null | undefined;
|
|
343
|
-
category?: import("../../shared").Category | undefined;
|
|
344
344
|
createdAt?: string | undefined;
|
|
345
345
|
description?: string | undefined;
|
|
346
346
|
finishTime?: string | null | undefined;
|
|
347
347
|
hasHandicapAccess?: boolean | null | undefined;
|
|
348
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
348
349
|
imageBlurHashes?: string[] | undefined;
|
|
349
350
|
imageUrls?: string[] | undefined;
|
|
350
351
|
isDisplayed?: boolean | undefined;
|
|
@@ -353,31 +354,31 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
353
354
|
link?: string | null | undefined;
|
|
354
355
|
price?: number | null | undefined;
|
|
355
356
|
regions?: import("../../shared").Region[] | undefined;
|
|
356
|
-
startTime?: string | undefined;
|
|
357
357
|
title?: string | undefined;
|
|
358
358
|
thumbnailUrl?: string | null | undefined;
|
|
359
359
|
ticketsUrl?: string | null | undefined;
|
|
360
360
|
organizers?: {
|
|
361
361
|
id: string & z.BRAND<"OrganizerId">;
|
|
362
|
-
imageUrl: string | null;
|
|
363
362
|
name: string;
|
|
363
|
+
imageUrl: string | null;
|
|
364
364
|
}[] | undefined;
|
|
365
365
|
};
|
|
366
|
+
organizersNames: string[];
|
|
366
367
|
source: "facebook" | "website";
|
|
367
|
-
userId: string;
|
|
368
368
|
}, {
|
|
369
|
-
|
|
369
|
+
userId: string;
|
|
370
370
|
createdAt: string;
|
|
371
|
-
|
|
371
|
+
id: string;
|
|
372
372
|
partialEventState: {
|
|
373
|
-
|
|
373
|
+
category?: import("../../shared").Category | undefined;
|
|
374
|
+
startTime?: string | undefined;
|
|
374
375
|
adress?: string | undefined;
|
|
375
376
|
capacity?: number | null | undefined;
|
|
376
|
-
category?: import("../../shared").Category | undefined;
|
|
377
377
|
createdAt?: string | undefined;
|
|
378
378
|
description?: string | undefined;
|
|
379
379
|
finishTime?: string | null | undefined;
|
|
380
380
|
hasHandicapAccess?: boolean | null | undefined;
|
|
381
|
+
id?: string | undefined;
|
|
381
382
|
imageBlurHashes?: string[] | undefined;
|
|
382
383
|
imageUrls?: string[] | undefined;
|
|
383
384
|
isDisplayed?: boolean | undefined;
|
|
@@ -386,18 +387,17 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
386
387
|
link?: string | null | undefined;
|
|
387
388
|
price?: number | null | undefined;
|
|
388
389
|
regions?: import("../../shared").Region[] | undefined;
|
|
389
|
-
startTime?: string | undefined;
|
|
390
390
|
title?: string | undefined;
|
|
391
391
|
thumbnailUrl?: string | null | undefined;
|
|
392
392
|
ticketsUrl?: string | null | undefined;
|
|
393
393
|
organizers?: {
|
|
394
394
|
id: string;
|
|
395
|
-
imageUrl: string | null;
|
|
396
395
|
name: string;
|
|
396
|
+
imageUrl: string | null;
|
|
397
397
|
}[] | undefined;
|
|
398
398
|
};
|
|
399
|
+
organizersNames: string[];
|
|
399
400
|
source: "facebook" | "website";
|
|
400
|
-
userId: string;
|
|
401
401
|
}>;
|
|
402
402
|
export type ImportDTO = z.infer<typeof ImportDTOSchema>;
|
|
403
403
|
export declare const EventFileUploadDTOSchema: z.ZodObject<{
|
package/dist/V1/api/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
|
|
@@ -5,15 +5,15 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
|
5
5
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
9
8
|
id: string & z.BRAND<"OrganizerId">;
|
|
10
|
-
imageUrl: string | null;
|
|
11
9
|
name: string;
|
|
10
|
+
imageUrl: string | null;
|
|
11
|
+
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
12
12
|
}, {
|
|
13
|
-
eventsIds: string[];
|
|
14
13
|
id: string;
|
|
15
|
-
imageUrl: string | null;
|
|
16
14
|
name: string;
|
|
15
|
+
imageUrl: string | null;
|
|
16
|
+
eventsIds: string[];
|
|
17
17
|
}>;
|
|
18
18
|
export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
@@ -21,12 +21,12 @@ export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
|
21
21
|
name: z.ZodString;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
23
|
id: string & z.BRAND<"OrganizerId">;
|
|
24
|
-
imageUrl: string | null;
|
|
25
24
|
name: string;
|
|
25
|
+
imageUrl: string | null;
|
|
26
26
|
}, {
|
|
27
27
|
id: string;
|
|
28
|
-
imageUrl: string | null;
|
|
29
28
|
name: string;
|
|
29
|
+
imageUrl: string | null;
|
|
30
30
|
}>;
|
|
31
31
|
export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
32
32
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../../src/V1/api/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -27,22 +27,23 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
27
27
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
id: string & z.BRAND<"OrganizerId">;
|
|
30
|
-
imageUrl: string | null;
|
|
31
30
|
name: string;
|
|
31
|
+
imageUrl: string | null;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
imageUrl: string | null;
|
|
35
34
|
name: string;
|
|
35
|
+
imageUrl: string | null;
|
|
36
36
|
}>, "many">>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
|
|
38
|
+
category?: import("../../shared").Category | undefined;
|
|
39
|
+
startTime?: string | undefined;
|
|
39
40
|
adress?: string | undefined;
|
|
40
41
|
capacity?: number | null | undefined;
|
|
41
|
-
category?: import("../../shared").Category | undefined;
|
|
42
42
|
createdAt?: string | undefined;
|
|
43
43
|
description?: string | undefined;
|
|
44
44
|
finishTime?: string | null | undefined;
|
|
45
45
|
hasHandicapAccess?: boolean | null | undefined;
|
|
46
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
46
47
|
imageBlurHashes?: string[] | undefined;
|
|
47
48
|
imageUrls?: string[] | undefined;
|
|
48
49
|
isDisplayed?: boolean | undefined;
|
|
@@ -51,24 +52,24 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
51
52
|
link?: string | null | undefined;
|
|
52
53
|
price?: number | null | undefined;
|
|
53
54
|
regions?: import("../../shared").Region[] | undefined;
|
|
54
|
-
startTime?: string | undefined;
|
|
55
55
|
title?: string | undefined;
|
|
56
56
|
thumbnailUrl?: string | null | undefined;
|
|
57
57
|
ticketsUrl?: string | null | undefined;
|
|
58
58
|
organizers?: {
|
|
59
59
|
id: string & z.BRAND<"OrganizerId">;
|
|
60
|
-
imageUrl: string | null;
|
|
61
60
|
name: string;
|
|
61
|
+
imageUrl: string | null;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
|
|
64
|
+
category?: import("../../shared").Category | undefined;
|
|
65
|
+
startTime?: string | undefined;
|
|
65
66
|
adress?: string | undefined;
|
|
66
67
|
capacity?: number | null | undefined;
|
|
67
|
-
category?: import("../../shared").Category | undefined;
|
|
68
68
|
createdAt?: string | undefined;
|
|
69
69
|
description?: string | undefined;
|
|
70
70
|
finishTime?: string | null | undefined;
|
|
71
71
|
hasHandicapAccess?: boolean | null | undefined;
|
|
72
|
+
id?: string | undefined;
|
|
72
73
|
imageBlurHashes?: string[] | undefined;
|
|
73
74
|
imageUrls?: string[] | undefined;
|
|
74
75
|
isDisplayed?: boolean | undefined;
|
|
@@ -77,14 +78,13 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
77
78
|
link?: string | null | undefined;
|
|
78
79
|
price?: number | null | undefined;
|
|
79
80
|
regions?: import("../../shared").Region[] | undefined;
|
|
80
|
-
startTime?: string | undefined;
|
|
81
81
|
title?: string | undefined;
|
|
82
82
|
thumbnailUrl?: string | null | undefined;
|
|
83
83
|
ticketsUrl?: string | null | undefined;
|
|
84
84
|
organizers?: {
|
|
85
85
|
id: string;
|
|
86
|
-
imageUrl: string | null;
|
|
87
86
|
name: string;
|
|
87
|
+
imageUrl: string | null;
|
|
88
88
|
}[] | undefined;
|
|
89
89
|
}>;
|
|
90
90
|
token: z.ZodString;
|
|
@@ -92,16 +92,17 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
92
92
|
organizersNames: z.ZodArray<z.ZodString, "many">;
|
|
93
93
|
source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
|
|
95
|
+
userId: string;
|
|
96
96
|
partialEventState: {
|
|
97
|
-
|
|
97
|
+
category?: import("../../shared").Category | undefined;
|
|
98
|
+
startTime?: string | undefined;
|
|
98
99
|
adress?: string | undefined;
|
|
99
100
|
capacity?: number | null | undefined;
|
|
100
|
-
category?: import("../../shared").Category | undefined;
|
|
101
101
|
createdAt?: string | undefined;
|
|
102
102
|
description?: string | undefined;
|
|
103
103
|
finishTime?: string | null | undefined;
|
|
104
104
|
hasHandicapAccess?: boolean | null | undefined;
|
|
105
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
105
106
|
imageBlurHashes?: string[] | undefined;
|
|
106
107
|
imageUrls?: string[] | undefined;
|
|
107
108
|
isDisplayed?: boolean | undefined;
|
|
@@ -110,30 +111,30 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
110
111
|
link?: string | null | undefined;
|
|
111
112
|
price?: number | null | undefined;
|
|
112
113
|
regions?: import("../../shared").Region[] | undefined;
|
|
113
|
-
startTime?: string | undefined;
|
|
114
114
|
title?: string | undefined;
|
|
115
115
|
thumbnailUrl?: string | null | undefined;
|
|
116
116
|
ticketsUrl?: string | null | undefined;
|
|
117
117
|
organizers?: {
|
|
118
118
|
id: string & z.BRAND<"OrganizerId">;
|
|
119
|
-
imageUrl: string | null;
|
|
120
119
|
name: string;
|
|
120
|
+
imageUrl: string | null;
|
|
121
121
|
}[] | undefined;
|
|
122
122
|
};
|
|
123
|
-
source: "facebook" | "website";
|
|
124
|
-
userId: string;
|
|
125
123
|
token: string;
|
|
126
|
-
}, {
|
|
127
124
|
organizersNames: string[];
|
|
125
|
+
source: "facebook" | "website";
|
|
126
|
+
}, {
|
|
127
|
+
userId: string;
|
|
128
128
|
partialEventState: {
|
|
129
|
-
|
|
129
|
+
category?: import("../../shared").Category | undefined;
|
|
130
|
+
startTime?: string | undefined;
|
|
130
131
|
adress?: string | undefined;
|
|
131
132
|
capacity?: number | null | undefined;
|
|
132
|
-
category?: import("../../shared").Category | undefined;
|
|
133
133
|
createdAt?: string | undefined;
|
|
134
134
|
description?: string | undefined;
|
|
135
135
|
finishTime?: string | null | undefined;
|
|
136
136
|
hasHandicapAccess?: boolean | null | undefined;
|
|
137
|
+
id?: string | undefined;
|
|
137
138
|
imageBlurHashes?: string[] | undefined;
|
|
138
139
|
imageUrls?: string[] | undefined;
|
|
139
140
|
isDisplayed?: boolean | undefined;
|
|
@@ -142,19 +143,18 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
142
143
|
link?: string | null | undefined;
|
|
143
144
|
price?: number | null | undefined;
|
|
144
145
|
regions?: import("../../shared").Region[] | undefined;
|
|
145
|
-
startTime?: string | undefined;
|
|
146
146
|
title?: string | undefined;
|
|
147
147
|
thumbnailUrl?: string | null | undefined;
|
|
148
148
|
ticketsUrl?: string | null | undefined;
|
|
149
149
|
organizers?: {
|
|
150
150
|
id: string;
|
|
151
|
-
imageUrl: string | null;
|
|
152
151
|
name: string;
|
|
152
|
+
imageUrl: string | null;
|
|
153
153
|
}[] | undefined;
|
|
154
154
|
};
|
|
155
|
-
source: "facebook" | "website";
|
|
156
|
-
userId: string;
|
|
157
155
|
token: string;
|
|
156
|
+
organizersNames: string[];
|
|
157
|
+
source: "facebook" | "website";
|
|
158
158
|
}>;
|
|
159
159
|
export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
|
|
160
160
|
//# sourceMappingURL=partial-imported-event.d.ts.map
|