@sortipei/api-contracts 0.1.28 → 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 -20
- 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 -10
- 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
|
@@ -26,14 +26,15 @@ 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
|
-
name: string;
|
|
30
29
|
imageUrl: string | null;
|
|
30
|
+
name: string;
|
|
31
31
|
}, {
|
|
32
32
|
id: string;
|
|
33
|
-
name: string;
|
|
34
33
|
imageUrl: string | null;
|
|
34
|
+
name: string;
|
|
35
35
|
}>, "many">;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
id: string & z.BRAND<"EventId">;
|
|
37
38
|
adress: string;
|
|
38
39
|
capacity: number | null;
|
|
39
40
|
category: import("../../shared").Category;
|
|
@@ -41,7 +42,6 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
41
42
|
description: string;
|
|
42
43
|
finishTime: string | null;
|
|
43
44
|
hasHandicapAccess: boolean | null;
|
|
44
|
-
id: string & z.BRAND<"EventId">;
|
|
45
45
|
imageBlurHashes: string[];
|
|
46
46
|
imageUrls: string[];
|
|
47
47
|
isDisplayed: boolean;
|
|
@@ -56,10 +56,11 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
56
56
|
ticketsUrl: string | null;
|
|
57
57
|
organizers: {
|
|
58
58
|
id: string & z.BRAND<"OrganizerId">;
|
|
59
|
-
name: string;
|
|
60
59
|
imageUrl: string | null;
|
|
60
|
+
name: string;
|
|
61
61
|
}[];
|
|
62
62
|
}, {
|
|
63
|
+
id: string;
|
|
63
64
|
adress: string;
|
|
64
65
|
capacity: number | null;
|
|
65
66
|
category: import("../../shared").Category;
|
|
@@ -67,7 +68,6 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
67
68
|
description: string;
|
|
68
69
|
finishTime: string | null;
|
|
69
70
|
hasHandicapAccess: boolean | null;
|
|
70
|
-
id: string;
|
|
71
71
|
imageBlurHashes: string[];
|
|
72
72
|
imageUrls: string[];
|
|
73
73
|
isDisplayed: boolean;
|
|
@@ -82,8 +82,8 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
82
82
|
ticketsUrl: string | null;
|
|
83
83
|
organizers: {
|
|
84
84
|
id: string;
|
|
85
|
-
name: string;
|
|
86
85
|
imageUrl: string | null;
|
|
86
|
+
name: string;
|
|
87
87
|
}[];
|
|
88
88
|
}>;
|
|
89
89
|
export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
@@ -107,13 +107,13 @@ 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
|
+
id: string & z.BRAND<"EventId">;
|
|
110
111
|
adress: string;
|
|
111
112
|
capacity: number | null;
|
|
112
113
|
category: import("../../shared").Category;
|
|
113
114
|
description: string;
|
|
114
115
|
finishTime: string | null;
|
|
115
116
|
hasHandicapAccess: boolean | null;
|
|
116
|
-
id: string & z.BRAND<"EventId">;
|
|
117
117
|
imageBlurHashes: string[];
|
|
118
118
|
imageUrls: string[];
|
|
119
119
|
isDisplayed: boolean;
|
|
@@ -127,13 +127,13 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
127
127
|
ticketsUrl: string | null;
|
|
128
128
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
129
129
|
}, {
|
|
130
|
+
id: string;
|
|
130
131
|
adress: string;
|
|
131
132
|
capacity: number | null;
|
|
132
133
|
category: import("../../shared").Category;
|
|
133
134
|
description: string;
|
|
134
135
|
finishTime: string | null;
|
|
135
136
|
hasHandicapAccess: boolean | null;
|
|
136
|
-
id: string;
|
|
137
137
|
imageBlurHashes: string[];
|
|
138
138
|
imageUrls: string[];
|
|
139
139
|
isDisplayed: boolean;
|
|
@@ -270,14 +270,15 @@ 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
|
-
name: string;
|
|
274
273
|
imageUrl: string | null;
|
|
274
|
+
name: string;
|
|
275
275
|
}, {
|
|
276
276
|
id: string;
|
|
277
|
-
name: string;
|
|
278
277
|
imageUrl: string | null;
|
|
278
|
+
name: string;
|
|
279
279
|
}>, "many">>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
281
282
|
adress?: string | undefined;
|
|
282
283
|
capacity?: number | null | undefined;
|
|
283
284
|
category?: import("../../shared").Category | undefined;
|
|
@@ -285,7 +286,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
285
286
|
description?: string | undefined;
|
|
286
287
|
finishTime?: string | null | undefined;
|
|
287
288
|
hasHandicapAccess?: boolean | null | undefined;
|
|
288
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
289
289
|
imageBlurHashes?: string[] | undefined;
|
|
290
290
|
imageUrls?: string[] | undefined;
|
|
291
291
|
isDisplayed?: boolean | undefined;
|
|
@@ -300,10 +300,11 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
300
300
|
ticketsUrl?: string | null | undefined;
|
|
301
301
|
organizers?: {
|
|
302
302
|
id: string & z.BRAND<"OrganizerId">;
|
|
303
|
-
name: string;
|
|
304
303
|
imageUrl: string | null;
|
|
304
|
+
name: string;
|
|
305
305
|
}[] | undefined;
|
|
306
306
|
}, {
|
|
307
|
+
id?: string | undefined;
|
|
307
308
|
adress?: string | undefined;
|
|
308
309
|
capacity?: number | null | undefined;
|
|
309
310
|
category?: import("../../shared").Category | undefined;
|
|
@@ -311,7 +312,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
311
312
|
description?: string | undefined;
|
|
312
313
|
finishTime?: string | null | undefined;
|
|
313
314
|
hasHandicapAccess?: boolean | null | undefined;
|
|
314
|
-
id?: string | undefined;
|
|
315
315
|
imageBlurHashes?: string[] | undefined;
|
|
316
316
|
imageUrls?: string[] | undefined;
|
|
317
317
|
isDisplayed?: boolean | undefined;
|
|
@@ -326,17 +326,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
326
326
|
ticketsUrl?: string | null | undefined;
|
|
327
327
|
organizers?: {
|
|
328
328
|
id: string;
|
|
329
|
-
name: string;
|
|
330
329
|
imageUrl: string | null;
|
|
330
|
+
name: string;
|
|
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
|
-
createdAt: string;
|
|
337
336
|
id: string;
|
|
337
|
+
createdAt: string;
|
|
338
338
|
organizersNames: string[];
|
|
339
339
|
partialEventState: {
|
|
340
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
340
341
|
adress?: string | undefined;
|
|
341
342
|
capacity?: number | null | undefined;
|
|
342
343
|
category?: import("../../shared").Category | undefined;
|
|
@@ -344,7 +345,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
344
345
|
description?: string | undefined;
|
|
345
346
|
finishTime?: string | null | undefined;
|
|
346
347
|
hasHandicapAccess?: boolean | null | undefined;
|
|
347
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
348
348
|
imageBlurHashes?: string[] | undefined;
|
|
349
349
|
imageUrls?: string[] | undefined;
|
|
350
350
|
isDisplayed?: boolean | undefined;
|
|
@@ -359,17 +359,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
359
359
|
ticketsUrl?: string | null | undefined;
|
|
360
360
|
organizers?: {
|
|
361
361
|
id: string & z.BRAND<"OrganizerId">;
|
|
362
|
-
name: string;
|
|
363
362
|
imageUrl: string | null;
|
|
363
|
+
name: string;
|
|
364
364
|
}[] | undefined;
|
|
365
365
|
};
|
|
366
366
|
source: "facebook" | "website";
|
|
367
367
|
userId: string;
|
|
368
368
|
}, {
|
|
369
|
-
createdAt: string;
|
|
370
369
|
id: string;
|
|
370
|
+
createdAt: string;
|
|
371
371
|
organizersNames: string[];
|
|
372
372
|
partialEventState: {
|
|
373
|
+
id?: string | undefined;
|
|
373
374
|
adress?: string | undefined;
|
|
374
375
|
capacity?: number | null | undefined;
|
|
375
376
|
category?: import("../../shared").Category | undefined;
|
|
@@ -377,7 +378,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
377
378
|
description?: string | undefined;
|
|
378
379
|
finishTime?: string | null | undefined;
|
|
379
380
|
hasHandicapAccess?: boolean | null | undefined;
|
|
380
|
-
id?: string | undefined;
|
|
381
381
|
imageBlurHashes?: string[] | undefined;
|
|
382
382
|
imageUrls?: string[] | undefined;
|
|
383
383
|
isDisplayed?: boolean | undefined;
|
|
@@ -392,8 +392,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
392
392
|
ticketsUrl?: string | null | undefined;
|
|
393
393
|
organizers?: {
|
|
394
394
|
id: string;
|
|
395
|
-
name: string;
|
|
396
395
|
imageUrl: string | null;
|
|
396
|
+
name: string;
|
|
397
397
|
}[] | undefined;
|
|
398
398
|
};
|
|
399
399
|
source: "facebook" | "website";
|
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">;
|
|
@@ -27,14 +27,15 @@ 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
|
-
name: string;
|
|
31
30
|
imageUrl: string | null;
|
|
31
|
+
name: string;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
name: string;
|
|
35
34
|
imageUrl: string | null;
|
|
35
|
+
name: string;
|
|
36
36
|
}>, "many">>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
38
39
|
adress?: string | undefined;
|
|
39
40
|
capacity?: number | null | undefined;
|
|
40
41
|
category?: import("../../shared").Category | undefined;
|
|
@@ -42,7 +43,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
42
43
|
description?: string | undefined;
|
|
43
44
|
finishTime?: string | null | undefined;
|
|
44
45
|
hasHandicapAccess?: boolean | null | undefined;
|
|
45
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
46
46
|
imageBlurHashes?: string[] | undefined;
|
|
47
47
|
imageUrls?: string[] | undefined;
|
|
48
48
|
isDisplayed?: boolean | undefined;
|
|
@@ -57,10 +57,11 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
57
57
|
ticketsUrl?: string | null | undefined;
|
|
58
58
|
organizers?: {
|
|
59
59
|
id: string & z.BRAND<"OrganizerId">;
|
|
60
|
-
name: string;
|
|
61
60
|
imageUrl: string | null;
|
|
61
|
+
name: string;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
}, {
|
|
64
|
+
id?: string | undefined;
|
|
64
65
|
adress?: string | undefined;
|
|
65
66
|
capacity?: number | null | undefined;
|
|
66
67
|
category?: import("../../shared").Category | undefined;
|
|
@@ -68,7 +69,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
68
69
|
description?: string | undefined;
|
|
69
70
|
finishTime?: string | null | undefined;
|
|
70
71
|
hasHandicapAccess?: boolean | null | undefined;
|
|
71
|
-
id?: string | undefined;
|
|
72
72
|
imageBlurHashes?: string[] | undefined;
|
|
73
73
|
imageUrls?: string[] | undefined;
|
|
74
74
|
isDisplayed?: boolean | undefined;
|
|
@@ -83,8 +83,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
83
83
|
ticketsUrl?: string | null | undefined;
|
|
84
84
|
organizers?: {
|
|
85
85
|
id: string;
|
|
86
|
-
name: string;
|
|
87
86
|
imageUrl: string | null;
|
|
87
|
+
name: string;
|
|
88
88
|
}[] | undefined;
|
|
89
89
|
}>;
|
|
90
90
|
token: z.ZodString;
|
|
@@ -94,6 +94,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
organizersNames: string[];
|
|
96
96
|
partialEventState: {
|
|
97
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
97
98
|
adress?: string | undefined;
|
|
98
99
|
capacity?: number | null | undefined;
|
|
99
100
|
category?: import("../../shared").Category | undefined;
|
|
@@ -101,7 +102,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
101
102
|
description?: string | undefined;
|
|
102
103
|
finishTime?: string | null | undefined;
|
|
103
104
|
hasHandicapAccess?: boolean | null | undefined;
|
|
104
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
105
105
|
imageBlurHashes?: string[] | undefined;
|
|
106
106
|
imageUrls?: string[] | undefined;
|
|
107
107
|
isDisplayed?: boolean | undefined;
|
|
@@ -116,8 +116,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
116
116
|
ticketsUrl?: string | null | undefined;
|
|
117
117
|
organizers?: {
|
|
118
118
|
id: string & z.BRAND<"OrganizerId">;
|
|
119
|
-
name: string;
|
|
120
119
|
imageUrl: string | null;
|
|
120
|
+
name: string;
|
|
121
121
|
}[] | undefined;
|
|
122
122
|
};
|
|
123
123
|
source: "facebook" | "website";
|
|
@@ -126,6 +126,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
126
126
|
}, {
|
|
127
127
|
organizersNames: string[];
|
|
128
128
|
partialEventState: {
|
|
129
|
+
id?: string | undefined;
|
|
129
130
|
adress?: string | undefined;
|
|
130
131
|
capacity?: number | null | undefined;
|
|
131
132
|
category?: import("../../shared").Category | undefined;
|
|
@@ -133,7 +134,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
133
134
|
description?: string | undefined;
|
|
134
135
|
finishTime?: string | null | undefined;
|
|
135
136
|
hasHandicapAccess?: boolean | null | undefined;
|
|
136
|
-
id?: string | undefined;
|
|
137
137
|
imageBlurHashes?: string[] | undefined;
|
|
138
138
|
imageUrls?: string[] | undefined;
|
|
139
139
|
isDisplayed?: boolean | undefined;
|
|
@@ -148,8 +148,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
148
148
|
ticketsUrl?: string | null | undefined;
|
|
149
149
|
organizers?: {
|
|
150
150
|
id: string;
|
|
151
|
-
name: string;
|
|
152
151
|
imageUrl: string | null;
|
|
152
|
+
name: string;
|
|
153
153
|
}[] | undefined;
|
|
154
154
|
};
|
|
155
155
|
source: "facebook" | "website";
|
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"}
|