@sortipei/api-contracts 0.1.30 → 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 +26 -26
- package/dist/V1/api/event.d.ts +66 -66
- 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 +4 -4
- 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 +34 -34
- 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,17 +33,17 @@ 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;
|
|
39
|
-
link: string | null;
|
|
40
|
-
startTime: string;
|
|
41
41
|
}, {
|
|
42
|
+
startTime: string;
|
|
42
43
|
endTime: string;
|
|
44
|
+
link: string | null;
|
|
43
45
|
imageUrl: string;
|
|
44
46
|
isEnabled: boolean;
|
|
45
|
-
link: string | null;
|
|
46
|
-
startTime: string;
|
|
47
47
|
}>;
|
|
48
48
|
export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
49
49
|
createdAt: z.ZodString;
|
|
@@ -52,26 +52,26 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
52
52
|
imageUrl: z.ZodString;
|
|
53
53
|
isEnabled: z.ZodBoolean;
|
|
54
54
|
link: z.ZodNullable<z.ZodString>;
|
|
55
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
55
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
56
56
|
startTime: z.ZodString;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
|
|
58
|
+
startTime: string;
|
|
59
59
|
endTime: string;
|
|
60
|
+
createdAt: string;
|
|
60
61
|
id: string & z.BRAND<"RegionalAdId">;
|
|
62
|
+
link: string | null;
|
|
63
|
+
regions: import("../../shared").Region[];
|
|
61
64
|
imageUrl: string;
|
|
62
65
|
isEnabled: boolean;
|
|
63
|
-
link: string | null;
|
|
64
|
-
startTime: string;
|
|
65
|
-
regions: import('../../shared').Region[];
|
|
66
66
|
}, {
|
|
67
|
-
|
|
67
|
+
startTime: string;
|
|
68
68
|
endTime: string;
|
|
69
|
+
createdAt: string;
|
|
69
70
|
id: string;
|
|
71
|
+
link: string | null;
|
|
72
|
+
regions: import("../../shared").Region[];
|
|
70
73
|
imageUrl: string;
|
|
71
74
|
isEnabled: boolean;
|
|
72
|
-
link: string | null;
|
|
73
|
-
startTime: string;
|
|
74
|
-
regions: import('../../shared').Region[];
|
|
75
75
|
}>;
|
|
76
76
|
export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
77
77
|
createdAt: z.ZodString;
|
|
@@ -80,22 +80,22 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
80
80
|
imageUrl: z.ZodString;
|
|
81
81
|
isEnabled: z.ZodBoolean;
|
|
82
82
|
link: z.ZodNullable<z.ZodString>;
|
|
83
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
83
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
84
84
|
startTime: z.ZodString;
|
|
85
85
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
86
|
+
startTime: string;
|
|
86
87
|
endTime: string;
|
|
88
|
+
link: string | null;
|
|
89
|
+
regions: import("../../shared").Region[];
|
|
87
90
|
imageUrl: string;
|
|
88
91
|
isEnabled: boolean;
|
|
89
|
-
link: string | null;
|
|
90
|
-
startTime: string;
|
|
91
|
-
regions: import('../../shared').Region[];
|
|
92
92
|
}, {
|
|
93
|
+
startTime: string;
|
|
93
94
|
endTime: string;
|
|
95
|
+
link: string | null;
|
|
96
|
+
regions: import("../../shared").Region[];
|
|
94
97
|
imageUrl: string;
|
|
95
98
|
isEnabled: boolean;
|
|
96
|
-
link: string | null;
|
|
97
|
-
startTime: string;
|
|
98
|
-
regions: import('../../shared').Region[];
|
|
99
99
|
}>;
|
|
100
100
|
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
101
101
|
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const EventDTOSchema: z.ZodObject<{
|
|
3
3
|
adress: z.ZodString;
|
|
4
4
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
5
|
-
category: z.ZodNativeEnum<typeof import(
|
|
5
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
6
6
|
createdAt: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
8
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
@@ -15,7 +15,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
15
15
|
isPriceRange: z.ZodBoolean;
|
|
16
16
|
link: z.ZodNullable<z.ZodString>;
|
|
17
17
|
price: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
18
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
19
19
|
startTime: z.ZodString;
|
|
20
20
|
title: z.ZodString;
|
|
21
21
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -26,70 +26,70 @@ 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
|
-
|
|
38
|
-
id: string & z.BRAND<"EventId">;
|
|
39
|
-
link: string | null;
|
|
37
|
+
category: import("../../shared").Category;
|
|
40
38
|
startTime: string;
|
|
41
|
-
regions: import('../../shared').Region[];
|
|
42
39
|
adress: string;
|
|
43
40
|
capacity: number | null;
|
|
44
|
-
|
|
41
|
+
createdAt: string;
|
|
45
42
|
description: string;
|
|
46
43
|
finishTime: string | null;
|
|
47
44
|
hasHandicapAccess: boolean | null;
|
|
45
|
+
id: string & z.BRAND<"EventId">;
|
|
48
46
|
imageBlurHashes: string[];
|
|
49
47
|
imageUrls: string[];
|
|
50
48
|
isDisplayed: boolean;
|
|
51
49
|
isPromoted: boolean;
|
|
52
50
|
isPriceRange: boolean;
|
|
51
|
+
link: string | null;
|
|
53
52
|
price: number | null;
|
|
53
|
+
regions: import("../../shared").Region[];
|
|
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
|
-
|
|
64
|
-
id: string;
|
|
65
|
-
link: string | null;
|
|
63
|
+
category: import("../../shared").Category;
|
|
66
64
|
startTime: string;
|
|
67
|
-
regions: import('../../shared').Region[];
|
|
68
65
|
adress: string;
|
|
69
66
|
capacity: number | null;
|
|
70
|
-
|
|
67
|
+
createdAt: string;
|
|
71
68
|
description: string;
|
|
72
69
|
finishTime: string | null;
|
|
73
70
|
hasHandicapAccess: boolean | null;
|
|
71
|
+
id: string;
|
|
74
72
|
imageBlurHashes: string[];
|
|
75
73
|
imageUrls: string[];
|
|
76
74
|
isDisplayed: boolean;
|
|
77
75
|
isPromoted: boolean;
|
|
78
76
|
isPriceRange: boolean;
|
|
77
|
+
link: string | null;
|
|
79
78
|
price: number | null;
|
|
79
|
+
regions: import("../../shared").Region[];
|
|
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<{
|
|
90
90
|
adress: z.ZodString;
|
|
91
91
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
92
|
-
category: z.ZodNativeEnum<typeof import(
|
|
92
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
93
93
|
description: z.ZodString;
|
|
94
94
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
95
95
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -101,47 +101,47 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
101
101
|
link: z.ZodNullable<z.ZodString>;
|
|
102
102
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
103
103
|
price: z.ZodNullable<z.ZodNumber>;
|
|
104
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
104
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
105
105
|
startTime: z.ZodString;
|
|
106
106
|
title: z.ZodString;
|
|
107
107
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
108
108
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
|
|
111
|
-
link: string | null;
|
|
110
|
+
category: import("../../shared").Category;
|
|
112
111
|
startTime: string;
|
|
113
|
-
regions: import('../../shared').Region[];
|
|
114
112
|
adress: string;
|
|
115
113
|
capacity: number | null;
|
|
116
|
-
category: import('../../shared').Category;
|
|
117
114
|
description: string;
|
|
118
115
|
finishTime: string | null;
|
|
119
116
|
hasHandicapAccess: boolean | null;
|
|
117
|
+
id: string & z.BRAND<"EventId">;
|
|
120
118
|
imageBlurHashes: string[];
|
|
121
119
|
imageUrls: string[];
|
|
122
120
|
isDisplayed: boolean;
|
|
123
121
|
isPriceRange: boolean;
|
|
122
|
+
link: string | null;
|
|
124
123
|
price: number | null;
|
|
124
|
+
regions: import("../../shared").Region[];
|
|
125
125
|
title: string;
|
|
126
126
|
thumbnailUrl: string | null;
|
|
127
127
|
ticketsUrl: string | null;
|
|
128
128
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
129
129
|
}, {
|
|
130
|
-
|
|
131
|
-
link: string | null;
|
|
130
|
+
category: import("../../shared").Category;
|
|
132
131
|
startTime: string;
|
|
133
|
-
regions: import('../../shared').Region[];
|
|
134
132
|
adress: string;
|
|
135
133
|
capacity: number | null;
|
|
136
|
-
category: import('../../shared').Category;
|
|
137
134
|
description: string;
|
|
138
135
|
finishTime: string | null;
|
|
139
136
|
hasHandicapAccess: boolean | null;
|
|
137
|
+
id: string;
|
|
140
138
|
imageBlurHashes: string[];
|
|
141
139
|
imageUrls: string[];
|
|
142
140
|
isDisplayed: boolean;
|
|
143
141
|
isPriceRange: boolean;
|
|
142
|
+
link: string | null;
|
|
144
143
|
price: number | null;
|
|
144
|
+
regions: import("../../shared").Region[];
|
|
145
145
|
title: string;
|
|
146
146
|
thumbnailUrl: string | null;
|
|
147
147
|
ticketsUrl: string | null;
|
|
@@ -150,7 +150,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
150
150
|
export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
151
151
|
adress: z.ZodString;
|
|
152
152
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
153
|
-
category: z.ZodNativeEnum<typeof import(
|
|
153
|
+
category: z.ZodNativeEnum<typeof import("../../shared").Category>;
|
|
154
154
|
description: z.ZodString;
|
|
155
155
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
156
156
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -162,18 +162,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
162
162
|
link: z.ZodNullable<z.ZodString>;
|
|
163
163
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
164
164
|
price: z.ZodNullable<z.ZodNumber>;
|
|
165
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
165
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
166
166
|
startTime: z.ZodString;
|
|
167
167
|
title: z.ZodString;
|
|
168
168
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
169
169
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
170
170
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
171
|
-
|
|
171
|
+
category: import("../../shared").Category;
|
|
172
172
|
startTime: string;
|
|
173
|
-
regions: import('../../shared').Region[];
|
|
174
173
|
adress: string;
|
|
175
174
|
capacity: number | null;
|
|
176
|
-
category: import('../../shared').Category;
|
|
177
175
|
description: string;
|
|
178
176
|
finishTime: string | null;
|
|
179
177
|
hasHandicapAccess: boolean | null;
|
|
@@ -181,18 +179,18 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
181
179
|
imageUrls: string[];
|
|
182
180
|
isDisplayed: boolean;
|
|
183
181
|
isPriceRange: boolean;
|
|
182
|
+
link: string | null;
|
|
184
183
|
price: number | null;
|
|
184
|
+
regions: import("../../shared").Region[];
|
|
185
185
|
title: string;
|
|
186
186
|
thumbnailUrl: string | null;
|
|
187
187
|
ticketsUrl: string | null;
|
|
188
188
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
189
189
|
}, {
|
|
190
|
-
|
|
190
|
+
category: import("../../shared").Category;
|
|
191
191
|
startTime: string;
|
|
192
|
-
regions: import('../../shared').Region[];
|
|
193
192
|
adress: string;
|
|
194
193
|
capacity: number | null;
|
|
195
|
-
category: import('../../shared').Category;
|
|
196
194
|
description: string;
|
|
197
195
|
finishTime: string | null;
|
|
198
196
|
hasHandicapAccess: boolean | null;
|
|
@@ -200,7 +198,9 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
200
198
|
imageUrls: string[];
|
|
201
199
|
isDisplayed: boolean;
|
|
202
200
|
isPriceRange: boolean;
|
|
201
|
+
link: string | null;
|
|
203
202
|
price: number | null;
|
|
203
|
+
regions: import("../../shared").Region[];
|
|
204
204
|
title: string;
|
|
205
205
|
thumbnailUrl: string | null;
|
|
206
206
|
ticketsUrl: string | null;
|
|
@@ -246,7 +246,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
246
246
|
partialEventState: z.ZodObject<{
|
|
247
247
|
adress: z.ZodOptional<z.ZodString>;
|
|
248
248
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
249
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
249
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
|
|
250
250
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
251
251
|
description: z.ZodOptional<z.ZodString>;
|
|
252
252
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -259,7 +259,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
259
259
|
isPriceRange: z.ZodOptional<z.ZodBoolean>;
|
|
260
260
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
261
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
262
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
262
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
|
|
263
263
|
startTime: z.ZodOptional<z.ZodString>;
|
|
264
264
|
title: z.ZodOptional<z.ZodString>;
|
|
265
265
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -270,134 +270,134 @@ 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
|
-
|
|
282
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
283
|
-
link?: string | null | undefined;
|
|
281
|
+
category?: import("../../shared").Category | undefined;
|
|
284
282
|
startTime?: string | undefined;
|
|
285
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
286
283
|
adress?: string | undefined;
|
|
287
284
|
capacity?: number | null | undefined;
|
|
288
|
-
|
|
285
|
+
createdAt?: string | undefined;
|
|
289
286
|
description?: string | undefined;
|
|
290
287
|
finishTime?: string | null | undefined;
|
|
291
288
|
hasHandicapAccess?: boolean | null | undefined;
|
|
289
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
292
290
|
imageBlurHashes?: string[] | undefined;
|
|
293
291
|
imageUrls?: string[] | undefined;
|
|
294
292
|
isDisplayed?: boolean | undefined;
|
|
295
293
|
isPromoted?: boolean | undefined;
|
|
296
294
|
isPriceRange?: boolean | undefined;
|
|
295
|
+
link?: string | null | undefined;
|
|
297
296
|
price?: number | null | undefined;
|
|
297
|
+
regions?: import("../../shared").Region[] | 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
|
-
|
|
308
|
-
id?: string | undefined;
|
|
309
|
-
link?: string | null | undefined;
|
|
307
|
+
category?: import("../../shared").Category | undefined;
|
|
310
308
|
startTime?: string | undefined;
|
|
311
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
312
309
|
adress?: string | undefined;
|
|
313
310
|
capacity?: number | null | undefined;
|
|
314
|
-
|
|
311
|
+
createdAt?: string | undefined;
|
|
315
312
|
description?: string | undefined;
|
|
316
313
|
finishTime?: string | null | undefined;
|
|
317
314
|
hasHandicapAccess?: boolean | null | undefined;
|
|
315
|
+
id?: string | undefined;
|
|
318
316
|
imageBlurHashes?: string[] | undefined;
|
|
319
317
|
imageUrls?: string[] | undefined;
|
|
320
318
|
isDisplayed?: boolean | undefined;
|
|
321
319
|
isPromoted?: boolean | undefined;
|
|
322
320
|
isPriceRange?: boolean | undefined;
|
|
321
|
+
link?: string | null | undefined;
|
|
323
322
|
price?: number | null | undefined;
|
|
323
|
+
regions?: import("../../shared").Region[] | 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
|
+
userId: string;
|
|
336
337
|
createdAt: string;
|
|
337
338
|
id: string;
|
|
338
|
-
organizersNames: string[];
|
|
339
339
|
partialEventState: {
|
|
340
|
-
|
|
341
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
342
|
-
link?: string | null | undefined;
|
|
340
|
+
category?: import("../../shared").Category | undefined;
|
|
343
341
|
startTime?: string | undefined;
|
|
344
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
345
342
|
adress?: string | undefined;
|
|
346
343
|
capacity?: number | null | undefined;
|
|
347
|
-
|
|
344
|
+
createdAt?: string | undefined;
|
|
348
345
|
description?: string | undefined;
|
|
349
346
|
finishTime?: string | null | undefined;
|
|
350
347
|
hasHandicapAccess?: boolean | null | undefined;
|
|
348
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
351
349
|
imageBlurHashes?: string[] | undefined;
|
|
352
350
|
imageUrls?: string[] | undefined;
|
|
353
351
|
isDisplayed?: boolean | undefined;
|
|
354
352
|
isPromoted?: boolean | undefined;
|
|
355
353
|
isPriceRange?: boolean | undefined;
|
|
354
|
+
link?: string | null | undefined;
|
|
356
355
|
price?: number | null | undefined;
|
|
356
|
+
regions?: import("../../shared").Region[] | 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
|
+
userId: string;
|
|
369
370
|
createdAt: string;
|
|
370
371
|
id: string;
|
|
371
|
-
organizersNames: string[];
|
|
372
372
|
partialEventState: {
|
|
373
|
-
|
|
374
|
-
id?: string | undefined;
|
|
375
|
-
link?: string | null | undefined;
|
|
373
|
+
category?: import("../../shared").Category | undefined;
|
|
376
374
|
startTime?: string | undefined;
|
|
377
|
-
regions?: import('../../shared').Region[] | undefined;
|
|
378
375
|
adress?: string | undefined;
|
|
379
376
|
capacity?: number | null | undefined;
|
|
380
|
-
|
|
377
|
+
createdAt?: string | undefined;
|
|
381
378
|
description?: string | undefined;
|
|
382
379
|
finishTime?: string | null | undefined;
|
|
383
380
|
hasHandicapAccess?: boolean | null | undefined;
|
|
381
|
+
id?: string | undefined;
|
|
384
382
|
imageBlurHashes?: string[] | undefined;
|
|
385
383
|
imageUrls?: string[] | undefined;
|
|
386
384
|
isDisplayed?: boolean | undefined;
|
|
387
385
|
isPromoted?: boolean | undefined;
|
|
388
386
|
isPriceRange?: boolean | undefined;
|
|
387
|
+
link?: string | null | undefined;
|
|
389
388
|
price?: number | null | undefined;
|
|
389
|
+
regions?: import("../../shared").Region[] | 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"}
|
|
@@ -6,13 +6,13 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
id: string & z.BRAND<"OrganizerId">;
|
|
9
|
-
imageUrl: string | null;
|
|
10
9
|
name: string;
|
|
10
|
+
imageUrl: string | null;
|
|
11
11
|
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
12
12
|
}, {
|
|
13
13
|
id: string;
|
|
14
|
-
imageUrl: string | null;
|
|
15
14
|
name: string;
|
|
15
|
+
imageUrl: string | null;
|
|
16
16
|
eventsIds: string[];
|
|
17
17
|
}>;
|
|
18
18
|
export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
@@ -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"}
|