@sortipei/api-contracts 0.1.15 → 0.1.17
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/event.d.ts +56 -28
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/external/partial-imported-event.d.ts +20 -10
- package/dist/V1/external/partial-imported-event.d.ts.map +1 -1
- package/dist/api-contracts.js +2 -0
- package/dist/api-contracts.mjs +2 -0
- package/package.json +1 -1
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -2,19 +2,21 @@ 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
|
description: z.ZodString;
|
|
7
7
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
8
8
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
9
9
|
id: z.ZodBranded<z.ZodString, "EventId">;
|
|
10
|
+
imageBlurHashes: z.ZodArray<z.ZodString, "many">;
|
|
10
11
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
11
12
|
isDisplayed: z.ZodBoolean;
|
|
12
13
|
isPromoted: z.ZodBoolean;
|
|
13
14
|
link: z.ZodNullable<z.ZodString>;
|
|
14
15
|
price: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
region: z.ZodNativeEnum<typeof import(
|
|
16
|
+
region: z.ZodNativeEnum<typeof import("../../shared").Region>;
|
|
16
17
|
startTime: z.ZodString;
|
|
17
18
|
title: z.ZodString;
|
|
19
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
18
20
|
organizers: z.ZodArray<z.ZodObject<{
|
|
19
21
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
20
22
|
name: z.ZodString;
|
|
@@ -31,19 +33,21 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
31
33
|
}, "strip", z.ZodTypeAny, {
|
|
32
34
|
adress: string;
|
|
33
35
|
capacity: number | null;
|
|
34
|
-
category: import(
|
|
36
|
+
category: import("../../shared").Category;
|
|
35
37
|
description: string;
|
|
36
38
|
finishTime: string | null;
|
|
37
39
|
hasHandicapAccess: boolean | null;
|
|
38
40
|
id: string & z.BRAND<"EventId">;
|
|
41
|
+
imageBlurHashes: string[];
|
|
39
42
|
imageUrls: string[];
|
|
40
43
|
isDisplayed: boolean;
|
|
41
44
|
isPromoted: boolean;
|
|
42
45
|
link: string | null;
|
|
43
46
|
price: number | null;
|
|
44
|
-
region: import(
|
|
47
|
+
region: import("../../shared").Region;
|
|
45
48
|
startTime: string;
|
|
46
49
|
title: string;
|
|
50
|
+
thumbnailUrl: string | null;
|
|
47
51
|
organizers: {
|
|
48
52
|
id: string & z.BRAND<"OrganizerId">;
|
|
49
53
|
name: string;
|
|
@@ -52,19 +56,21 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
52
56
|
}, {
|
|
53
57
|
adress: string;
|
|
54
58
|
capacity: number | null;
|
|
55
|
-
category: import(
|
|
59
|
+
category: import("../../shared").Category;
|
|
56
60
|
description: string;
|
|
57
61
|
finishTime: string | null;
|
|
58
62
|
hasHandicapAccess: boolean | null;
|
|
59
63
|
id: string;
|
|
64
|
+
imageBlurHashes: string[];
|
|
60
65
|
imageUrls: string[];
|
|
61
66
|
isDisplayed: boolean;
|
|
62
67
|
isPromoted: boolean;
|
|
63
68
|
link: string | null;
|
|
64
69
|
price: number | null;
|
|
65
|
-
region: import(
|
|
70
|
+
region: import("../../shared").Region;
|
|
66
71
|
startTime: string;
|
|
67
72
|
title: string;
|
|
73
|
+
thumbnailUrl: string | null;
|
|
68
74
|
organizers: {
|
|
69
75
|
id: string;
|
|
70
76
|
name: string;
|
|
@@ -74,97 +80,109 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
74
80
|
export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
75
81
|
adress: z.ZodString;
|
|
76
82
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
77
|
-
category: z.ZodNativeEnum<typeof import(
|
|
83
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
78
84
|
description: z.ZodString;
|
|
79
85
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
80
86
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
81
87
|
id: z.ZodBranded<z.ZodString, "EventId">;
|
|
88
|
+
imageBlurHashes: z.ZodArray<z.ZodString, "many">;
|
|
82
89
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
83
90
|
isDisplayed: z.ZodBoolean;
|
|
84
91
|
link: z.ZodNullable<z.ZodString>;
|
|
85
92
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
86
93
|
price: z.ZodNullable<z.ZodNumber>;
|
|
87
|
-
region: z.ZodNativeEnum<typeof import(
|
|
94
|
+
region: z.ZodNativeEnum<typeof import("../../shared").Region>;
|
|
88
95
|
startTime: z.ZodString;
|
|
89
96
|
title: z.ZodString;
|
|
97
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
90
98
|
}, "strip", z.ZodTypeAny, {
|
|
91
99
|
adress: string;
|
|
92
100
|
capacity: number | null;
|
|
93
|
-
category: import(
|
|
101
|
+
category: import("../../shared").Category;
|
|
94
102
|
description: string;
|
|
95
103
|
finishTime: string | null;
|
|
96
104
|
hasHandicapAccess: boolean | null;
|
|
97
105
|
id: string & z.BRAND<"EventId">;
|
|
106
|
+
imageBlurHashes: string[];
|
|
98
107
|
imageUrls: string[];
|
|
99
108
|
isDisplayed: boolean;
|
|
100
109
|
link: string | null;
|
|
101
110
|
price: number | null;
|
|
102
|
-
region: import(
|
|
111
|
+
region: import("../../shared").Region;
|
|
103
112
|
startTime: string;
|
|
104
113
|
title: string;
|
|
114
|
+
thumbnailUrl: string | null;
|
|
105
115
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
106
116
|
}, {
|
|
107
117
|
adress: string;
|
|
108
118
|
capacity: number | null;
|
|
109
|
-
category: import(
|
|
119
|
+
category: import("../../shared").Category;
|
|
110
120
|
description: string;
|
|
111
121
|
finishTime: string | null;
|
|
112
122
|
hasHandicapAccess: boolean | null;
|
|
113
123
|
id: string;
|
|
124
|
+
imageBlurHashes: string[];
|
|
114
125
|
imageUrls: string[];
|
|
115
126
|
isDisplayed: boolean;
|
|
116
127
|
link: string | null;
|
|
117
128
|
price: number | null;
|
|
118
|
-
region: import(
|
|
129
|
+
region: import("../../shared").Region;
|
|
119
130
|
startTime: string;
|
|
120
131
|
title: string;
|
|
132
|
+
thumbnailUrl: string | null;
|
|
121
133
|
organizersIds: string[];
|
|
122
134
|
}>;
|
|
123
135
|
export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
124
136
|
adress: z.ZodString;
|
|
125
137
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
126
|
-
category: z.ZodNativeEnum<typeof import(
|
|
138
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
127
139
|
description: z.ZodString;
|
|
128
140
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
129
141
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
130
142
|
id: z.ZodBranded<z.ZodString, "EventId">;
|
|
143
|
+
imageBlurHashes: z.ZodArray<z.ZodString, "many">;
|
|
131
144
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
132
145
|
isDisplayed: z.ZodBoolean;
|
|
133
146
|
link: z.ZodNullable<z.ZodString>;
|
|
134
147
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
135
148
|
price: z.ZodNullable<z.ZodNumber>;
|
|
136
|
-
region: z.ZodNativeEnum<typeof import(
|
|
149
|
+
region: z.ZodNativeEnum<typeof import("../../shared").Region>;
|
|
137
150
|
startTime: z.ZodString;
|
|
138
151
|
title: z.ZodString;
|
|
152
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
139
153
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
140
154
|
adress: string;
|
|
141
155
|
capacity: number | null;
|
|
142
|
-
category: import(
|
|
156
|
+
category: import("../../shared").Category;
|
|
143
157
|
description: string;
|
|
144
158
|
finishTime: string | null;
|
|
145
159
|
hasHandicapAccess: boolean | null;
|
|
160
|
+
imageBlurHashes: string[];
|
|
146
161
|
imageUrls: string[];
|
|
147
162
|
isDisplayed: boolean;
|
|
148
163
|
link: string | null;
|
|
149
164
|
price: number | null;
|
|
150
|
-
region: import(
|
|
165
|
+
region: import("../../shared").Region;
|
|
151
166
|
startTime: string;
|
|
152
167
|
title: string;
|
|
168
|
+
thumbnailUrl: string | null;
|
|
153
169
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
154
170
|
}, {
|
|
155
171
|
adress: string;
|
|
156
172
|
capacity: number | null;
|
|
157
|
-
category: import(
|
|
173
|
+
category: import("../../shared").Category;
|
|
158
174
|
description: string;
|
|
159
175
|
finishTime: string | null;
|
|
160
176
|
hasHandicapAccess: boolean | null;
|
|
177
|
+
imageBlurHashes: string[];
|
|
161
178
|
imageUrls: string[];
|
|
162
179
|
isDisplayed: boolean;
|
|
163
180
|
link: string | null;
|
|
164
181
|
price: number | null;
|
|
165
|
-
region: import(
|
|
182
|
+
region: import("../../shared").Region;
|
|
166
183
|
startTime: string;
|
|
167
184
|
title: string;
|
|
185
|
+
thumbnailUrl: string | null;
|
|
168
186
|
organizersIds: string[];
|
|
169
187
|
}>;
|
|
170
188
|
export declare const DisplayEventDTOSchema: z.ZodObject<{
|
|
@@ -207,19 +225,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
207
225
|
partialEventState: z.ZodObject<{
|
|
208
226
|
adress: z.ZodOptional<z.ZodString>;
|
|
209
227
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
210
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
228
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
|
|
211
229
|
description: z.ZodOptional<z.ZodString>;
|
|
212
230
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
231
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
214
232
|
id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
|
|
233
|
+
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
215
234
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
216
235
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
217
236
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
218
237
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
238
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
220
|
-
region: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
239
|
+
region: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Region>>;
|
|
221
240
|
startTime: z.ZodOptional<z.ZodString>;
|
|
222
241
|
title: z.ZodOptional<z.ZodString>;
|
|
242
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
223
243
|
organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
244
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
225
245
|
name: z.ZodString;
|
|
@@ -236,19 +256,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
236
256
|
}, "strip", z.ZodTypeAny, {
|
|
237
257
|
adress?: string | undefined;
|
|
238
258
|
capacity?: number | null | undefined;
|
|
239
|
-
category?: import(
|
|
259
|
+
category?: import("../../shared").Category | undefined;
|
|
240
260
|
description?: string | undefined;
|
|
241
261
|
finishTime?: string | null | undefined;
|
|
242
262
|
hasHandicapAccess?: boolean | null | undefined;
|
|
243
263
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
264
|
+
imageBlurHashes?: string[] | undefined;
|
|
244
265
|
imageUrls?: string[] | undefined;
|
|
245
266
|
isDisplayed?: boolean | undefined;
|
|
246
267
|
isPromoted?: boolean | undefined;
|
|
247
268
|
link?: string | null | undefined;
|
|
248
269
|
price?: number | null | undefined;
|
|
249
|
-
region?: import(
|
|
270
|
+
region?: import("../../shared").Region | undefined;
|
|
250
271
|
startTime?: string | undefined;
|
|
251
272
|
title?: string | undefined;
|
|
273
|
+
thumbnailUrl?: string | null | undefined;
|
|
252
274
|
organizers?: {
|
|
253
275
|
id: string & z.BRAND<"OrganizerId">;
|
|
254
276
|
name: string;
|
|
@@ -257,19 +279,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
257
279
|
}, {
|
|
258
280
|
adress?: string | undefined;
|
|
259
281
|
capacity?: number | null | undefined;
|
|
260
|
-
category?: import(
|
|
282
|
+
category?: import("../../shared").Category | undefined;
|
|
261
283
|
description?: string | undefined;
|
|
262
284
|
finishTime?: string | null | undefined;
|
|
263
285
|
hasHandicapAccess?: boolean | null | undefined;
|
|
264
286
|
id?: string | undefined;
|
|
287
|
+
imageBlurHashes?: string[] | undefined;
|
|
265
288
|
imageUrls?: string[] | undefined;
|
|
266
289
|
isDisplayed?: boolean | undefined;
|
|
267
290
|
isPromoted?: boolean | undefined;
|
|
268
291
|
link?: string | null | undefined;
|
|
269
292
|
price?: number | null | undefined;
|
|
270
|
-
region?: import(
|
|
293
|
+
region?: import("../../shared").Region | undefined;
|
|
271
294
|
startTime?: string | undefined;
|
|
272
295
|
title?: string | undefined;
|
|
296
|
+
thumbnailUrl?: string | null | undefined;
|
|
273
297
|
organizers?: {
|
|
274
298
|
id: string;
|
|
275
299
|
name: string;
|
|
@@ -285,19 +309,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
285
309
|
partialEventState: {
|
|
286
310
|
adress?: string | undefined;
|
|
287
311
|
capacity?: number | null | undefined;
|
|
288
|
-
category?: import(
|
|
312
|
+
category?: import("../../shared").Category | undefined;
|
|
289
313
|
description?: string | undefined;
|
|
290
314
|
finishTime?: string | null | undefined;
|
|
291
315
|
hasHandicapAccess?: boolean | null | undefined;
|
|
292
316
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
317
|
+
imageBlurHashes?: string[] | undefined;
|
|
293
318
|
imageUrls?: string[] | undefined;
|
|
294
319
|
isDisplayed?: boolean | undefined;
|
|
295
320
|
isPromoted?: boolean | undefined;
|
|
296
321
|
link?: string | null | undefined;
|
|
297
322
|
price?: number | null | undefined;
|
|
298
|
-
region?: import(
|
|
323
|
+
region?: import("../../shared").Region | undefined;
|
|
299
324
|
startTime?: string | undefined;
|
|
300
325
|
title?: string | undefined;
|
|
326
|
+
thumbnailUrl?: string | null | undefined;
|
|
301
327
|
organizers?: {
|
|
302
328
|
id: string & z.BRAND<"OrganizerId">;
|
|
303
329
|
name: string;
|
|
@@ -313,19 +339,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
313
339
|
partialEventState: {
|
|
314
340
|
adress?: string | undefined;
|
|
315
341
|
capacity?: number | null | undefined;
|
|
316
|
-
category?: import(
|
|
342
|
+
category?: import("../../shared").Category | undefined;
|
|
317
343
|
description?: string | undefined;
|
|
318
344
|
finishTime?: string | null | undefined;
|
|
319
345
|
hasHandicapAccess?: boolean | null | undefined;
|
|
320
346
|
id?: string | undefined;
|
|
347
|
+
imageBlurHashes?: string[] | undefined;
|
|
321
348
|
imageUrls?: string[] | undefined;
|
|
322
349
|
isDisplayed?: boolean | undefined;
|
|
323
350
|
isPromoted?: boolean | undefined;
|
|
324
351
|
link?: string | null | undefined;
|
|
325
352
|
price?: number | null | undefined;
|
|
326
|
-
region?: import(
|
|
353
|
+
region?: import("../../shared").Region | undefined;
|
|
327
354
|
startTime?: string | undefined;
|
|
328
355
|
title?: string | undefined;
|
|
356
|
+
thumbnailUrl?: string | null | undefined;
|
|
329
357
|
organizers?: {
|
|
330
358
|
id: string;
|
|
331
359
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -3,19 +3,21 @@ 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
|
description: z.ZodOptional<z.ZodString>;
|
|
8
8
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
10
|
id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
|
|
11
|
+
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11
12
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12
13
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
13
14
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
16
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
region: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
17
|
+
region: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Region>>;
|
|
17
18
|
startTime: z.ZodOptional<z.ZodString>;
|
|
18
19
|
title: z.ZodOptional<z.ZodString>;
|
|
20
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20
22
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
21
23
|
name: z.ZodString;
|
|
@@ -32,19 +34,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
32
34
|
}, "strip", z.ZodTypeAny, {
|
|
33
35
|
adress?: string | undefined;
|
|
34
36
|
capacity?: number | null | undefined;
|
|
35
|
-
category?: import(
|
|
37
|
+
category?: import("../../shared").Category | undefined;
|
|
36
38
|
description?: string | undefined;
|
|
37
39
|
finishTime?: string | null | undefined;
|
|
38
40
|
hasHandicapAccess?: boolean | null | undefined;
|
|
39
41
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
42
|
+
imageBlurHashes?: string[] | undefined;
|
|
40
43
|
imageUrls?: string[] | undefined;
|
|
41
44
|
isDisplayed?: boolean | undefined;
|
|
42
45
|
isPromoted?: boolean | undefined;
|
|
43
46
|
link?: string | null | undefined;
|
|
44
47
|
price?: number | null | undefined;
|
|
45
|
-
region?: import(
|
|
48
|
+
region?: import("../../shared").Region | undefined;
|
|
46
49
|
startTime?: string | undefined;
|
|
47
50
|
title?: string | undefined;
|
|
51
|
+
thumbnailUrl?: string | null | undefined;
|
|
48
52
|
organizers?: {
|
|
49
53
|
id: string & z.BRAND<"OrganizerId">;
|
|
50
54
|
name: string;
|
|
@@ -53,19 +57,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
53
57
|
}, {
|
|
54
58
|
adress?: string | undefined;
|
|
55
59
|
capacity?: number | null | undefined;
|
|
56
|
-
category?: import(
|
|
60
|
+
category?: import("../../shared").Category | undefined;
|
|
57
61
|
description?: string | undefined;
|
|
58
62
|
finishTime?: string | null | undefined;
|
|
59
63
|
hasHandicapAccess?: boolean | null | undefined;
|
|
60
64
|
id?: string | undefined;
|
|
65
|
+
imageBlurHashes?: string[] | undefined;
|
|
61
66
|
imageUrls?: string[] | undefined;
|
|
62
67
|
isDisplayed?: boolean | undefined;
|
|
63
68
|
isPromoted?: boolean | undefined;
|
|
64
69
|
link?: string | null | undefined;
|
|
65
70
|
price?: number | null | undefined;
|
|
66
|
-
region?: import(
|
|
71
|
+
region?: import("../../shared").Region | undefined;
|
|
67
72
|
startTime?: string | undefined;
|
|
68
73
|
title?: string | undefined;
|
|
74
|
+
thumbnailUrl?: string | null | undefined;
|
|
69
75
|
organizers?: {
|
|
70
76
|
id: string;
|
|
71
77
|
name: string;
|
|
@@ -81,19 +87,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
81
87
|
partialEventState: {
|
|
82
88
|
adress?: string | undefined;
|
|
83
89
|
capacity?: number | null | undefined;
|
|
84
|
-
category?: import(
|
|
90
|
+
category?: import("../../shared").Category | undefined;
|
|
85
91
|
description?: string | undefined;
|
|
86
92
|
finishTime?: string | null | undefined;
|
|
87
93
|
hasHandicapAccess?: boolean | null | undefined;
|
|
88
94
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
95
|
+
imageBlurHashes?: string[] | undefined;
|
|
89
96
|
imageUrls?: string[] | undefined;
|
|
90
97
|
isDisplayed?: boolean | undefined;
|
|
91
98
|
isPromoted?: boolean | undefined;
|
|
92
99
|
link?: string | null | undefined;
|
|
93
100
|
price?: number | null | undefined;
|
|
94
|
-
region?: import(
|
|
101
|
+
region?: import("../../shared").Region | undefined;
|
|
95
102
|
startTime?: string | undefined;
|
|
96
103
|
title?: string | undefined;
|
|
104
|
+
thumbnailUrl?: string | null | undefined;
|
|
97
105
|
organizers?: {
|
|
98
106
|
id: string & z.BRAND<"OrganizerId">;
|
|
99
107
|
name: string;
|
|
@@ -108,19 +116,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
108
116
|
partialEventState: {
|
|
109
117
|
adress?: string | undefined;
|
|
110
118
|
capacity?: number | null | undefined;
|
|
111
|
-
category?: import(
|
|
119
|
+
category?: import("../../shared").Category | undefined;
|
|
112
120
|
description?: string | undefined;
|
|
113
121
|
finishTime?: string | null | undefined;
|
|
114
122
|
hasHandicapAccess?: boolean | null | undefined;
|
|
115
123
|
id?: string | undefined;
|
|
124
|
+
imageBlurHashes?: string[] | undefined;
|
|
116
125
|
imageUrls?: string[] | undefined;
|
|
117
126
|
isDisplayed?: boolean | undefined;
|
|
118
127
|
isPromoted?: boolean | undefined;
|
|
119
128
|
link?: string | null | undefined;
|
|
120
129
|
price?: number | null | undefined;
|
|
121
|
-
region?: import(
|
|
130
|
+
region?: import("../../shared").Region | undefined;
|
|
122
131
|
startTime?: string | undefined;
|
|
123
132
|
title?: string | undefined;
|
|
133
|
+
thumbnailUrl?: string | null | undefined;
|
|
124
134
|
organizers?: {
|
|
125
135
|
id: string;
|
|
126
136
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4089,6 +4089,7 @@ const EventDTOSchema = z.object({
|
|
|
4089
4089
|
finishTime: z.string().datetime().nullable(),
|
|
4090
4090
|
hasHandicapAccess: z.boolean().nullable(),
|
|
4091
4091
|
id: EventIdSchema,
|
|
4092
|
+
imageBlurHashes: StringSchema.array(),
|
|
4092
4093
|
imageUrls: URLSchema.array(),
|
|
4093
4094
|
isDisplayed: z.boolean(),
|
|
4094
4095
|
isPromoted: z.boolean(),
|
|
@@ -4111,6 +4112,7 @@ const CreateEventDTOSchema = z.object({
|
|
|
4111
4112
|
finishTime: z.string().datetime().nullable(),
|
|
4112
4113
|
hasHandicapAccess: z.boolean().nullable(),
|
|
4113
4114
|
id: EventIdSchema,
|
|
4115
|
+
imageBlurHashes: StringSchema.array(),
|
|
4114
4116
|
imageUrls: URLSchema.array(),
|
|
4115
4117
|
isDisplayed: z.boolean(),
|
|
4116
4118
|
link: URLSchema.nullable(),
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4087,6 +4087,7 @@ const EventDTOSchema = z.object({
|
|
|
4087
4087
|
finishTime: z.string().datetime().nullable(),
|
|
4088
4088
|
hasHandicapAccess: z.boolean().nullable(),
|
|
4089
4089
|
id: EventIdSchema,
|
|
4090
|
+
imageBlurHashes: StringSchema.array(),
|
|
4090
4091
|
imageUrls: URLSchema.array(),
|
|
4091
4092
|
isDisplayed: z.boolean(),
|
|
4092
4093
|
isPromoted: z.boolean(),
|
|
@@ -4109,6 +4110,7 @@ const CreateEventDTOSchema = z.object({
|
|
|
4109
4110
|
finishTime: z.string().datetime().nullable(),
|
|
4110
4111
|
hasHandicapAccess: z.boolean().nullable(),
|
|
4111
4112
|
id: EventIdSchema,
|
|
4113
|
+
imageBlurHashes: StringSchema.array(),
|
|
4112
4114
|
imageUrls: URLSchema.array(),
|
|
4113
4115
|
isDisplayed: z.boolean(),
|
|
4114
4116
|
link: URLSchema.nullable(),
|