@sortipei/api-contracts 0.1.27 → 0.1.29
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 +50 -0
- package/dist/V1/api/ad.d.ts.map +1 -0
- package/dist/V1/api/event.d.ts +20 -64
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/api/index.d.ts +1 -0
- package/dist/V1/api/index.d.ts.map +1 -1
- package/dist/V1/api/organizer.d.ts +6 -6
- package/dist/V1/external/partial-imported-event.d.ts +10 -36
- package/dist/V1/external/partial-imported-event.d.ts.map +1 -1
- package/dist/flavors.d.ts +3 -0
- package/dist/flavors.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const MainAdDTOSchema: z.ZodObject<{
|
|
3
|
+
createdAt: z.ZodString;
|
|
4
|
+
endTime: z.ZodString;
|
|
5
|
+
id: z.ZodBranded<z.ZodString, "MainAdId">;
|
|
6
|
+
imageUrl: z.ZodString;
|
|
7
|
+
isEnabled: z.ZodBoolean;
|
|
8
|
+
link: z.ZodNullable<z.ZodString>;
|
|
9
|
+
startTime: z.ZodString;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
createdAt: string;
|
|
12
|
+
endTime: string;
|
|
13
|
+
id: string & z.BRAND<"MainAdId">;
|
|
14
|
+
imageUrl: string;
|
|
15
|
+
isEnabled: boolean;
|
|
16
|
+
link: string | null;
|
|
17
|
+
startTime: string;
|
|
18
|
+
}, {
|
|
19
|
+
createdAt: string;
|
|
20
|
+
endTime: string;
|
|
21
|
+
id: string;
|
|
22
|
+
imageUrl: string;
|
|
23
|
+
isEnabled: boolean;
|
|
24
|
+
link: string | null;
|
|
25
|
+
startTime: string;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
28
|
+
createdAt: z.ZodString;
|
|
29
|
+
endTime: z.ZodString;
|
|
30
|
+
id: z.ZodBranded<z.ZodString, "MainAdId">;
|
|
31
|
+
imageUrl: z.ZodString;
|
|
32
|
+
isEnabled: z.ZodBoolean;
|
|
33
|
+
link: z.ZodNullable<z.ZodString>;
|
|
34
|
+
startTime: z.ZodString;
|
|
35
|
+
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
36
|
+
endTime: string;
|
|
37
|
+
imageUrl: string;
|
|
38
|
+
isEnabled: boolean;
|
|
39
|
+
link: string | null;
|
|
40
|
+
startTime: string;
|
|
41
|
+
}, {
|
|
42
|
+
endTime: string;
|
|
43
|
+
imageUrl: string;
|
|
44
|
+
isEnabled: boolean;
|
|
45
|
+
link: string | null;
|
|
46
|
+
startTime: string;
|
|
47
|
+
}>;
|
|
48
|
+
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
49
|
+
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
|
50
|
+
//# sourceMappingURL=ad.d.ts.map
|
|
@@ -0,0 +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"}
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -8,16 +8,6 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
8
8
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
9
9
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
10
10
|
id: z.ZodBranded<z.ZodString, "EventId">;
|
|
11
|
-
gpsCoordinates: z.ZodObject<{
|
|
12
|
-
latitude: z.ZodNumber;
|
|
13
|
-
longitude: z.ZodNumber;
|
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
latitude: number;
|
|
16
|
-
longitude: number;
|
|
17
|
-
}, {
|
|
18
|
-
latitude: number;
|
|
19
|
-
longitude: number;
|
|
20
|
-
}>;
|
|
21
11
|
imageBlurHashes: z.ZodArray<z.ZodString, "many">;
|
|
22
12
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
23
13
|
isDisplayed: z.ZodBoolean;
|
|
@@ -36,14 +26,15 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
36
26
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
37
27
|
}, "strip", z.ZodTypeAny, {
|
|
38
28
|
id: string & z.BRAND<"OrganizerId">;
|
|
39
|
-
name: string;
|
|
40
29
|
imageUrl: string | null;
|
|
30
|
+
name: string;
|
|
41
31
|
}, {
|
|
42
32
|
id: string;
|
|
43
|
-
name: string;
|
|
44
33
|
imageUrl: string | null;
|
|
34
|
+
name: string;
|
|
45
35
|
}>, "many">;
|
|
46
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
id: string & z.BRAND<"EventId">;
|
|
47
38
|
adress: string;
|
|
48
39
|
capacity: number | null;
|
|
49
40
|
category: import("../../shared").Category;
|
|
@@ -51,11 +42,6 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
51
42
|
description: string;
|
|
52
43
|
finishTime: string | null;
|
|
53
44
|
hasHandicapAccess: boolean | null;
|
|
54
|
-
id: string & z.BRAND<"EventId">;
|
|
55
|
-
gpsCoordinates: {
|
|
56
|
-
latitude: number;
|
|
57
|
-
longitude: number;
|
|
58
|
-
};
|
|
59
45
|
imageBlurHashes: string[];
|
|
60
46
|
imageUrls: string[];
|
|
61
47
|
isDisplayed: boolean;
|
|
@@ -70,10 +56,11 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
70
56
|
ticketsUrl: string | null;
|
|
71
57
|
organizers: {
|
|
72
58
|
id: string & z.BRAND<"OrganizerId">;
|
|
73
|
-
name: string;
|
|
74
59
|
imageUrl: string | null;
|
|
60
|
+
name: string;
|
|
75
61
|
}[];
|
|
76
62
|
}, {
|
|
63
|
+
id: string;
|
|
77
64
|
adress: string;
|
|
78
65
|
capacity: number | null;
|
|
79
66
|
category: import("../../shared").Category;
|
|
@@ -81,11 +68,6 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
81
68
|
description: string;
|
|
82
69
|
finishTime: string | null;
|
|
83
70
|
hasHandicapAccess: boolean | null;
|
|
84
|
-
id: string;
|
|
85
|
-
gpsCoordinates: {
|
|
86
|
-
latitude: number;
|
|
87
|
-
longitude: number;
|
|
88
|
-
};
|
|
89
71
|
imageBlurHashes: string[];
|
|
90
72
|
imageUrls: string[];
|
|
91
73
|
isDisplayed: boolean;
|
|
@@ -100,8 +82,8 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
100
82
|
ticketsUrl: string | null;
|
|
101
83
|
organizers: {
|
|
102
84
|
id: string;
|
|
103
|
-
name: string;
|
|
104
85
|
imageUrl: string | null;
|
|
86
|
+
name: string;
|
|
105
87
|
}[];
|
|
106
88
|
}>;
|
|
107
89
|
export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
@@ -125,13 +107,13 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
125
107
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
126
108
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
127
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
id: string & z.BRAND<"EventId">;
|
|
128
111
|
adress: string;
|
|
129
112
|
capacity: number | null;
|
|
130
113
|
category: import("../../shared").Category;
|
|
131
114
|
description: string;
|
|
132
115
|
finishTime: string | null;
|
|
133
116
|
hasHandicapAccess: boolean | null;
|
|
134
|
-
id: string & z.BRAND<"EventId">;
|
|
135
117
|
imageBlurHashes: string[];
|
|
136
118
|
imageUrls: string[];
|
|
137
119
|
isDisplayed: boolean;
|
|
@@ -145,13 +127,13 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
145
127
|
ticketsUrl: string | null;
|
|
146
128
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
147
129
|
}, {
|
|
130
|
+
id: string;
|
|
148
131
|
adress: string;
|
|
149
132
|
capacity: number | null;
|
|
150
133
|
category: import("../../shared").Category;
|
|
151
134
|
description: string;
|
|
152
135
|
finishTime: string | null;
|
|
153
136
|
hasHandicapAccess: boolean | null;
|
|
154
|
-
id: string;
|
|
155
137
|
imageBlurHashes: string[];
|
|
156
138
|
imageUrls: string[];
|
|
157
139
|
isDisplayed: boolean;
|
|
@@ -270,16 +252,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
270
252
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
271
253
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
272
254
|
id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
|
|
273
|
-
gpsCoordinates: z.ZodOptional<z.ZodObject<{
|
|
274
|
-
latitude: z.ZodNumber;
|
|
275
|
-
longitude: z.ZodNumber;
|
|
276
|
-
}, "strip", z.ZodTypeAny, {
|
|
277
|
-
latitude: number;
|
|
278
|
-
longitude: number;
|
|
279
|
-
}, {
|
|
280
|
-
latitude: number;
|
|
281
|
-
longitude: number;
|
|
282
|
-
}>>;
|
|
283
255
|
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
284
256
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
285
257
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -298,14 +270,15 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
298
270
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
299
271
|
}, "strip", z.ZodTypeAny, {
|
|
300
272
|
id: string & z.BRAND<"OrganizerId">;
|
|
301
|
-
name: string;
|
|
302
273
|
imageUrl: string | null;
|
|
274
|
+
name: string;
|
|
303
275
|
}, {
|
|
304
276
|
id: string;
|
|
305
|
-
name: string;
|
|
306
277
|
imageUrl: string | null;
|
|
278
|
+
name: string;
|
|
307
279
|
}>, "many">>;
|
|
308
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
309
282
|
adress?: string | undefined;
|
|
310
283
|
capacity?: number | null | undefined;
|
|
311
284
|
category?: import("../../shared").Category | undefined;
|
|
@@ -313,11 +286,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
313
286
|
description?: string | undefined;
|
|
314
287
|
finishTime?: string | null | undefined;
|
|
315
288
|
hasHandicapAccess?: boolean | null | undefined;
|
|
316
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
317
|
-
gpsCoordinates?: {
|
|
318
|
-
latitude: number;
|
|
319
|
-
longitude: number;
|
|
320
|
-
} | undefined;
|
|
321
289
|
imageBlurHashes?: string[] | undefined;
|
|
322
290
|
imageUrls?: string[] | undefined;
|
|
323
291
|
isDisplayed?: boolean | undefined;
|
|
@@ -332,10 +300,11 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
332
300
|
ticketsUrl?: string | null | undefined;
|
|
333
301
|
organizers?: {
|
|
334
302
|
id: string & z.BRAND<"OrganizerId">;
|
|
335
|
-
name: string;
|
|
336
303
|
imageUrl: string | null;
|
|
304
|
+
name: string;
|
|
337
305
|
}[] | undefined;
|
|
338
306
|
}, {
|
|
307
|
+
id?: string | undefined;
|
|
339
308
|
adress?: string | undefined;
|
|
340
309
|
capacity?: number | null | undefined;
|
|
341
310
|
category?: import("../../shared").Category | undefined;
|
|
@@ -343,11 +312,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
343
312
|
description?: string | undefined;
|
|
344
313
|
finishTime?: string | null | undefined;
|
|
345
314
|
hasHandicapAccess?: boolean | null | undefined;
|
|
346
|
-
id?: string | undefined;
|
|
347
|
-
gpsCoordinates?: {
|
|
348
|
-
latitude: number;
|
|
349
|
-
longitude: number;
|
|
350
|
-
} | undefined;
|
|
351
315
|
imageBlurHashes?: string[] | undefined;
|
|
352
316
|
imageUrls?: string[] | undefined;
|
|
353
317
|
isDisplayed?: boolean | undefined;
|
|
@@ -362,17 +326,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
362
326
|
ticketsUrl?: string | null | undefined;
|
|
363
327
|
organizers?: {
|
|
364
328
|
id: string;
|
|
365
|
-
name: string;
|
|
366
329
|
imageUrl: string | null;
|
|
330
|
+
name: string;
|
|
367
331
|
}[] | undefined;
|
|
368
332
|
}>;
|
|
369
333
|
source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
|
|
370
334
|
userId: z.ZodString;
|
|
371
335
|
}, "strip", z.ZodTypeAny, {
|
|
372
|
-
createdAt: string;
|
|
373
336
|
id: string;
|
|
337
|
+
createdAt: string;
|
|
374
338
|
organizersNames: string[];
|
|
375
339
|
partialEventState: {
|
|
340
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
376
341
|
adress?: string | undefined;
|
|
377
342
|
capacity?: number | null | undefined;
|
|
378
343
|
category?: import("../../shared").Category | undefined;
|
|
@@ -380,11 +345,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
380
345
|
description?: string | undefined;
|
|
381
346
|
finishTime?: string | null | undefined;
|
|
382
347
|
hasHandicapAccess?: boolean | null | undefined;
|
|
383
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
384
|
-
gpsCoordinates?: {
|
|
385
|
-
latitude: number;
|
|
386
|
-
longitude: number;
|
|
387
|
-
} | undefined;
|
|
388
348
|
imageBlurHashes?: string[] | undefined;
|
|
389
349
|
imageUrls?: string[] | undefined;
|
|
390
350
|
isDisplayed?: boolean | undefined;
|
|
@@ -399,17 +359,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
399
359
|
ticketsUrl?: string | null | undefined;
|
|
400
360
|
organizers?: {
|
|
401
361
|
id: string & z.BRAND<"OrganizerId">;
|
|
402
|
-
name: string;
|
|
403
362
|
imageUrl: string | null;
|
|
363
|
+
name: string;
|
|
404
364
|
}[] | undefined;
|
|
405
365
|
};
|
|
406
366
|
source: "facebook" | "website";
|
|
407
367
|
userId: string;
|
|
408
368
|
}, {
|
|
409
|
-
createdAt: string;
|
|
410
369
|
id: string;
|
|
370
|
+
createdAt: string;
|
|
411
371
|
organizersNames: string[];
|
|
412
372
|
partialEventState: {
|
|
373
|
+
id?: string | undefined;
|
|
413
374
|
adress?: string | undefined;
|
|
414
375
|
capacity?: number | null | undefined;
|
|
415
376
|
category?: import("../../shared").Category | undefined;
|
|
@@ -417,11 +378,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
417
378
|
description?: string | undefined;
|
|
418
379
|
finishTime?: string | null | undefined;
|
|
419
380
|
hasHandicapAccess?: boolean | null | undefined;
|
|
420
|
-
id?: string | undefined;
|
|
421
|
-
gpsCoordinates?: {
|
|
422
|
-
latitude: number;
|
|
423
|
-
longitude: number;
|
|
424
|
-
} | undefined;
|
|
425
381
|
imageBlurHashes?: string[] | undefined;
|
|
426
382
|
imageUrls?: string[] | undefined;
|
|
427
383
|
isDisplayed?: boolean | undefined;
|
|
@@ -436,8 +392,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
436
392
|
ticketsUrl?: string | null | undefined;
|
|
437
393
|
organizers?: {
|
|
438
394
|
id: string;
|
|
439
|
-
name: string;
|
|
440
395
|
imageUrl: string | null;
|
|
396
|
+
name: string;
|
|
441
397
|
}[] | undefined;
|
|
442
398
|
};
|
|
443
399
|
source: "facebook" | "website";
|
|
@@ -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;AAGxB,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;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB/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;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
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,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,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,cAAc,CAAC;AAK7B,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">)[];
|
|
8
9
|
id: string & z.BRAND<"OrganizerId">;
|
|
9
|
-
name: string;
|
|
10
10
|
imageUrl: string | null;
|
|
11
|
-
|
|
11
|
+
name: string;
|
|
12
12
|
}, {
|
|
13
|
+
eventsIds: string[];
|
|
13
14
|
id: string;
|
|
14
|
-
name: string;
|
|
15
15
|
imageUrl: string | null;
|
|
16
|
-
|
|
16
|
+
name: 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
|
-
name: string;
|
|
25
24
|
imageUrl: string | null;
|
|
25
|
+
name: string;
|
|
26
26
|
}, {
|
|
27
27
|
id: string;
|
|
28
|
-
name: string;
|
|
29
28
|
imageUrl: string | null;
|
|
29
|
+
name: string;
|
|
30
30
|
}>;
|
|
31
31
|
export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
32
32
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
@@ -9,16 +9,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
9
9
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
11
|
id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
|
|
12
|
-
gpsCoordinates: z.ZodOptional<z.ZodObject<{
|
|
13
|
-
latitude: z.ZodNumber;
|
|
14
|
-
longitude: z.ZodNumber;
|
|
15
|
-
}, "strip", z.ZodTypeAny, {
|
|
16
|
-
latitude: number;
|
|
17
|
-
longitude: number;
|
|
18
|
-
}, {
|
|
19
|
-
latitude: number;
|
|
20
|
-
longitude: number;
|
|
21
|
-
}>>;
|
|
22
12
|
imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23
13
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24
14
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -37,14 +27,15 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
37
27
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
38
28
|
}, "strip", z.ZodTypeAny, {
|
|
39
29
|
id: string & z.BRAND<"OrganizerId">;
|
|
40
|
-
name: string;
|
|
41
30
|
imageUrl: string | null;
|
|
31
|
+
name: string;
|
|
42
32
|
}, {
|
|
43
33
|
id: string;
|
|
44
|
-
name: string;
|
|
45
34
|
imageUrl: string | null;
|
|
35
|
+
name: string;
|
|
46
36
|
}>, "many">>;
|
|
47
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
48
39
|
adress?: string | undefined;
|
|
49
40
|
capacity?: number | null | undefined;
|
|
50
41
|
category?: import("../../shared").Category | undefined;
|
|
@@ -52,11 +43,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
52
43
|
description?: string | undefined;
|
|
53
44
|
finishTime?: string | null | undefined;
|
|
54
45
|
hasHandicapAccess?: boolean | null | undefined;
|
|
55
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
56
|
-
gpsCoordinates?: {
|
|
57
|
-
latitude: number;
|
|
58
|
-
longitude: number;
|
|
59
|
-
} | undefined;
|
|
60
46
|
imageBlurHashes?: string[] | undefined;
|
|
61
47
|
imageUrls?: string[] | undefined;
|
|
62
48
|
isDisplayed?: boolean | undefined;
|
|
@@ -71,10 +57,11 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
71
57
|
ticketsUrl?: string | null | undefined;
|
|
72
58
|
organizers?: {
|
|
73
59
|
id: string & z.BRAND<"OrganizerId">;
|
|
74
|
-
name: string;
|
|
75
60
|
imageUrl: string | null;
|
|
61
|
+
name: string;
|
|
76
62
|
}[] | undefined;
|
|
77
63
|
}, {
|
|
64
|
+
id?: string | undefined;
|
|
78
65
|
adress?: string | undefined;
|
|
79
66
|
capacity?: number | null | undefined;
|
|
80
67
|
category?: import("../../shared").Category | undefined;
|
|
@@ -82,11 +69,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
82
69
|
description?: string | undefined;
|
|
83
70
|
finishTime?: string | null | undefined;
|
|
84
71
|
hasHandicapAccess?: boolean | null | undefined;
|
|
85
|
-
id?: string | undefined;
|
|
86
|
-
gpsCoordinates?: {
|
|
87
|
-
latitude: number;
|
|
88
|
-
longitude: number;
|
|
89
|
-
} | undefined;
|
|
90
72
|
imageBlurHashes?: string[] | undefined;
|
|
91
73
|
imageUrls?: string[] | undefined;
|
|
92
74
|
isDisplayed?: boolean | undefined;
|
|
@@ -101,8 +83,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
101
83
|
ticketsUrl?: string | null | undefined;
|
|
102
84
|
organizers?: {
|
|
103
85
|
id: string;
|
|
104
|
-
name: string;
|
|
105
86
|
imageUrl: string | null;
|
|
87
|
+
name: string;
|
|
106
88
|
}[] | undefined;
|
|
107
89
|
}>;
|
|
108
90
|
token: z.ZodString;
|
|
@@ -112,6 +94,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
112
94
|
}, "strip", z.ZodTypeAny, {
|
|
113
95
|
organizersNames: string[];
|
|
114
96
|
partialEventState: {
|
|
97
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
115
98
|
adress?: string | undefined;
|
|
116
99
|
capacity?: number | null | undefined;
|
|
117
100
|
category?: import("../../shared").Category | undefined;
|
|
@@ -119,11 +102,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
119
102
|
description?: string | undefined;
|
|
120
103
|
finishTime?: string | null | undefined;
|
|
121
104
|
hasHandicapAccess?: boolean | null | undefined;
|
|
122
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
123
|
-
gpsCoordinates?: {
|
|
124
|
-
latitude: number;
|
|
125
|
-
longitude: number;
|
|
126
|
-
} | undefined;
|
|
127
105
|
imageBlurHashes?: string[] | undefined;
|
|
128
106
|
imageUrls?: string[] | undefined;
|
|
129
107
|
isDisplayed?: boolean | undefined;
|
|
@@ -138,8 +116,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
138
116
|
ticketsUrl?: string | null | undefined;
|
|
139
117
|
organizers?: {
|
|
140
118
|
id: string & z.BRAND<"OrganizerId">;
|
|
141
|
-
name: string;
|
|
142
119
|
imageUrl: string | null;
|
|
120
|
+
name: string;
|
|
143
121
|
}[] | undefined;
|
|
144
122
|
};
|
|
145
123
|
source: "facebook" | "website";
|
|
@@ -148,6 +126,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
148
126
|
}, {
|
|
149
127
|
organizersNames: string[];
|
|
150
128
|
partialEventState: {
|
|
129
|
+
id?: string | undefined;
|
|
151
130
|
adress?: string | undefined;
|
|
152
131
|
capacity?: number | null | undefined;
|
|
153
132
|
category?: import("../../shared").Category | undefined;
|
|
@@ -155,11 +134,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
155
134
|
description?: string | undefined;
|
|
156
135
|
finishTime?: string | null | undefined;
|
|
157
136
|
hasHandicapAccess?: boolean | null | undefined;
|
|
158
|
-
id?: string | undefined;
|
|
159
|
-
gpsCoordinates?: {
|
|
160
|
-
latitude: number;
|
|
161
|
-
longitude: number;
|
|
162
|
-
} | undefined;
|
|
163
137
|
imageBlurHashes?: string[] | undefined;
|
|
164
138
|
imageUrls?: string[] | undefined;
|
|
165
139
|
isDisplayed?: boolean | undefined;
|
|
@@ -174,8 +148,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
174
148
|
ticketsUrl?: string | null | undefined;
|
|
175
149
|
organizers?: {
|
|
176
150
|
id: string;
|
|
177
|
-
name: string;
|
|
178
151
|
imageUrl: string | null;
|
|
152
|
+
name: string;
|
|
179
153
|
}[] | undefined;
|
|
180
154
|
};
|
|
181
155
|
source: "facebook" | "website";
|
|
@@ -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/flavors.d.ts
CHANGED
|
@@ -8,4 +8,7 @@ export declare const createOrganizerId: (id?: string) => OrganizerId;
|
|
|
8
8
|
export declare const UserIdSchema: z.ZodBranded<z.ZodString, "UserId">;
|
|
9
9
|
export type UserId = z.infer<typeof UserIdSchema>;
|
|
10
10
|
export declare const createUserId: (id?: string) => UserId;
|
|
11
|
+
export declare const MainAdIdSchema: z.ZodBranded<z.ZodString, "MainAdId">;
|
|
12
|
+
export type MainAdId = z.infer<typeof MainAdIdSchema>;
|
|
13
|
+
export declare const createMainAdId: (id?: string) => MainAdId;
|
|
11
14
|
//# sourceMappingURL=flavors.d.ts.map
|
package/dist/flavors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC;AAEjG,eAAO,MAAM,cAAc,uCAA+B,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,QAAQ,MAAM,KAAyB,QAAoC,CAAC"}
|