expo-backend-types 0.32.0 → 0.33.0-EXPO-308-auth.1
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/src/event/dto/create-event.dto.d.ts +2 -115
- package/dist/src/event/dto/create-event.dto.js +0 -8
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -18
- package/dist/src/event/dto/event.dto.d.ts +0 -9
- package/dist/src/event/dto/event.dto.js +0 -9
- package/dist/src/event/dto/get-all-event.dto.d.ts +160 -424
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -208
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -2
- package/dist/src/event/dto/update-event.dto.d.ts +22 -193
- package/dist/src/event/dto/update-event.dto.js +0 -9
- package/dist/src/event/exports.d.ts +0 -3
- package/dist/src/event/exports.js +0 -3
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -42
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -30
- package/dist/src/exports.d.ts +3 -1
- package/dist/src/exports.js +3 -1
- package/dist/src/i18n/es.d.ts +20 -24
- package/dist/src/i18n/es.js +20 -24
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/image/constants.d.ts +5 -0
- package/dist/src/image/constants.js +9 -0
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +4 -0
- package/dist/src/mi-expo/exports.js +21 -0
- package/dist/src/otp/constants.d.ts +2 -0
- package/dist/src/otp/constants.js +6 -0
- package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
- package/dist/src/otp/dto/send-otp.dto.js +35 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/prisma/constants.d.ts +1 -0
- package/dist/src/prisma/constants.js +5 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +37 -43
- package/dist/types/prisma-schema/index-browser.js +19 -30
- package/dist/types/prisma-schema/index.d.ts +6249 -5155
- package/dist/types/prisma-schema/index.js +37 -43
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +27 -33
- package/dist/types/prisma-schema/wasm.js +19 -30
- package/dist/types/schema.d.ts +510 -198
- package/package.json +32 -38
- package/dist/src/event/dto/event-tickets.dto.d.ts +0 -21
- package/dist/src/event/dto/event-tickets.dto.js +0 -21
- package/dist/src/event/dto/get-active-events.dto.d.ts +0 -247
- package/dist/src/event/dto/get-active-events.dto.js +0 -19
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +0 -43
- package/dist/src/event/dto/toggle-active-event.dto.js +0 -6
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -3,187 +3,92 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
3
3
|
id: z.ZodString;
|
4
4
|
name: z.ZodString;
|
5
5
|
date: z.ZodDate;
|
6
|
-
startingDate: z.ZodDate;
|
7
|
-
endingDate: z.ZodDate;
|
8
6
|
location: z.ZodString;
|
9
7
|
folderId: z.ZodNullable<z.ZodString>;
|
10
8
|
tagAssistedId: z.ZodString;
|
11
9
|
tagConfirmedId: z.ZodString;
|
12
|
-
active: z.ZodBoolean;
|
13
10
|
supraEventId: z.ZodNullable<z.ZodString>;
|
14
11
|
created_at: z.ZodDate;
|
15
12
|
updated_at: z.ZodDate;
|
16
|
-
}, "location" | "name" | "date" | "
|
13
|
+
}, "location" | "name" | "date" | "folderId">, {
|
17
14
|
subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
|
18
15
|
id: z.ZodString;
|
19
16
|
name: z.ZodString;
|
20
17
|
date: z.ZodDate;
|
21
|
-
startingDate: z.ZodDate;
|
22
|
-
endingDate: z.ZodDate;
|
23
18
|
location: z.ZodString;
|
24
19
|
folderId: z.ZodNullable<z.ZodString>;
|
25
20
|
tagAssistedId: z.ZodString;
|
26
21
|
tagConfirmedId: z.ZodString;
|
27
|
-
active: z.ZodBoolean;
|
28
22
|
supraEventId: z.ZodNullable<z.ZodString>;
|
29
23
|
created_at: z.ZodDate;
|
30
24
|
updated_at: z.ZodDate;
|
31
|
-
}, "location" | "name" | "date"
|
25
|
+
}, "location" | "name" | "date">, "strip", z.ZodTypeAny, {
|
32
26
|
location: string;
|
33
27
|
name: string;
|
34
28
|
date: Date;
|
35
|
-
startingDate: Date;
|
36
|
-
endingDate: Date;
|
37
29
|
}, {
|
38
30
|
location: string;
|
39
31
|
name: string;
|
40
32
|
date: Date;
|
41
|
-
startingDate: Date;
|
42
|
-
endingDate: Date;
|
43
33
|
}>, "many">>;
|
44
|
-
tagsId: z.ZodArray<z.ZodString, "many">;
|
45
|
-
eventTickets: z.ZodArray<z.ZodObject<Omit<{
|
46
|
-
id: z.ZodString;
|
47
|
-
amount: z.ZodNumber;
|
48
|
-
type: z.ZodNativeEnum<{
|
49
|
-
PARTICIPANT: "PARTICIPANT";
|
50
|
-
STAFF: "STAFF";
|
51
|
-
SPECTATOR: "SPECTATOR";
|
52
|
-
}>;
|
53
|
-
price: z.ZodNullable<z.ZodNumber>;
|
54
|
-
}, "id">, "strip", z.ZodTypeAny, {
|
55
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
56
|
-
amount: number;
|
57
|
-
price: number | null;
|
58
|
-
}, {
|
59
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
60
|
-
amount: number;
|
61
|
-
price: number | null;
|
62
|
-
}>, "many">;
|
63
34
|
}>, "strip", z.ZodTypeAny, {
|
64
35
|
location: string;
|
65
36
|
name: string;
|
66
37
|
date: Date;
|
67
|
-
startingDate: Date;
|
68
|
-
endingDate: Date;
|
69
38
|
folderId: string | null;
|
70
|
-
tagsId: string[];
|
71
|
-
eventTickets: {
|
72
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
73
|
-
amount: number;
|
74
|
-
price: number | null;
|
75
|
-
}[];
|
76
39
|
subEvents?: {
|
77
40
|
location: string;
|
78
41
|
name: string;
|
79
42
|
date: Date;
|
80
|
-
startingDate: Date;
|
81
|
-
endingDate: Date;
|
82
43
|
}[] | undefined;
|
83
44
|
}, {
|
84
45
|
location: string;
|
85
46
|
name: string;
|
86
47
|
date: Date;
|
87
|
-
startingDate: Date;
|
88
|
-
endingDate: Date;
|
89
48
|
folderId: string | null;
|
90
|
-
tagsId: string[];
|
91
|
-
eventTickets: {
|
92
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
93
|
-
amount: number;
|
94
|
-
price: number | null;
|
95
|
-
}[];
|
96
49
|
subEvents?: {
|
97
50
|
location: string;
|
98
51
|
name: string;
|
99
52
|
date: Date;
|
100
|
-
startingDate: Date;
|
101
|
-
endingDate: Date;
|
102
53
|
}[] | undefined;
|
103
54
|
}>;
|
104
55
|
declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
105
56
|
location: z.ZodString;
|
106
57
|
name: z.ZodString;
|
107
58
|
date: z.ZodString;
|
108
|
-
startingDate: z.ZodString;
|
109
|
-
endingDate: z.ZodString;
|
110
59
|
folderId: z.ZodNullable<z.ZodString>;
|
111
60
|
subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
112
61
|
location: z.ZodString;
|
113
62
|
name: z.ZodString;
|
114
63
|
date: z.ZodString;
|
115
|
-
startingDate: z.ZodString;
|
116
|
-
endingDate: z.ZodString;
|
117
64
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
118
65
|
location: string;
|
119
66
|
name: string;
|
120
67
|
date: string;
|
121
|
-
startingDate: string;
|
122
|
-
endingDate: string;
|
123
68
|
}, {
|
124
69
|
location: string;
|
125
70
|
name: string;
|
126
71
|
date: string;
|
127
|
-
startingDate: string;
|
128
|
-
endingDate: string;
|
129
72
|
}>, "many">>;
|
130
|
-
tagsId: z.ZodArray<z.ZodString, "many">;
|
131
|
-
eventTickets: z.ZodArray<z.ZodObject<{
|
132
|
-
type: z.ZodNativeEnum<{
|
133
|
-
PARTICIPANT: "PARTICIPANT";
|
134
|
-
STAFF: "STAFF";
|
135
|
-
SPECTATOR: "SPECTATOR";
|
136
|
-
}>;
|
137
|
-
amount: z.ZodNumber;
|
138
|
-
price: z.ZodNullable<z.ZodNumber>;
|
139
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
140
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
141
|
-
amount: number;
|
142
|
-
price: number | null;
|
143
|
-
}, {
|
144
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
145
|
-
amount: number;
|
146
|
-
price: number | null;
|
147
|
-
}>, "many">;
|
148
73
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
149
74
|
location: string;
|
150
75
|
name: string;
|
151
76
|
date: string;
|
152
|
-
startingDate: string;
|
153
|
-
endingDate: string;
|
154
77
|
folderId: string | null;
|
155
|
-
tagsId: string[];
|
156
|
-
eventTickets: {
|
157
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
158
|
-
amount: number;
|
159
|
-
price: number | null;
|
160
|
-
}[];
|
161
78
|
subEvents?: {
|
162
79
|
location: string;
|
163
80
|
name: string;
|
164
81
|
date: string;
|
165
|
-
startingDate: string;
|
166
|
-
endingDate: string;
|
167
82
|
}[] | undefined;
|
168
83
|
}, {
|
169
84
|
location: string;
|
170
85
|
name: string;
|
171
86
|
date: string;
|
172
|
-
startingDate: string;
|
173
|
-
endingDate: string;
|
174
87
|
folderId: string | null;
|
175
|
-
tagsId: string[];
|
176
|
-
eventTickets: {
|
177
|
-
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
178
|
-
amount: number;
|
179
|
-
price: number | null;
|
180
|
-
}[];
|
181
88
|
subEvents?: {
|
182
89
|
location: string;
|
183
90
|
name: string;
|
184
91
|
date: string;
|
185
|
-
startingDate: string;
|
186
|
-
endingDate: string;
|
187
92
|
}[] | undefined;
|
188
93
|
}>>;
|
189
94
|
export declare class CreateEventDto extends CreateEventDto_base {
|
@@ -192,13 +97,10 @@ export declare const createEventResponseSchema: z.ZodObject<{
|
|
192
97
|
id: z.ZodString;
|
193
98
|
name: z.ZodString;
|
194
99
|
date: z.ZodDate;
|
195
|
-
startingDate: z.ZodDate;
|
196
|
-
endingDate: z.ZodDate;
|
197
100
|
location: z.ZodString;
|
198
101
|
folderId: z.ZodNullable<z.ZodString>;
|
199
102
|
tagAssistedId: z.ZodString;
|
200
103
|
tagConfirmedId: z.ZodString;
|
201
|
-
active: z.ZodBoolean;
|
202
104
|
supraEventId: z.ZodNullable<z.ZodString>;
|
203
105
|
created_at: z.ZodDate;
|
204
106
|
updated_at: z.ZodDate;
|
@@ -207,11 +109,8 @@ export declare const createEventResponseSchema: z.ZodObject<{
|
|
207
109
|
id: string;
|
208
110
|
name: string;
|
209
111
|
date: Date;
|
210
|
-
startingDate: Date;
|
211
|
-
endingDate: Date;
|
212
112
|
created_at: Date;
|
213
113
|
updated_at: Date;
|
214
|
-
active: boolean;
|
215
114
|
folderId: string | null;
|
216
115
|
tagAssistedId: string;
|
217
116
|
tagConfirmedId: string;
|
@@ -221,11 +120,8 @@ export declare const createEventResponseSchema: z.ZodObject<{
|
|
221
120
|
id: string;
|
222
121
|
name: string;
|
223
122
|
date: Date;
|
224
|
-
startingDate: Date;
|
225
|
-
endingDate: Date;
|
226
123
|
created_at: Date;
|
227
124
|
updated_at: Date;
|
228
|
-
active: boolean;
|
229
125
|
folderId: string | null;
|
230
126
|
tagAssistedId: string;
|
231
127
|
tagConfirmedId: string;
|
@@ -235,13 +131,10 @@ declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
235
131
|
id: z.ZodString;
|
236
132
|
name: z.ZodString;
|
237
133
|
date: z.ZodString;
|
238
|
-
startingDate: z.ZodString;
|
239
|
-
endingDate: z.ZodString;
|
240
134
|
location: z.ZodString;
|
241
135
|
folderId: z.ZodNullable<z.ZodString>;
|
242
136
|
tagAssistedId: z.ZodString;
|
243
137
|
tagConfirmedId: z.ZodString;
|
244
|
-
active: z.ZodBoolean;
|
245
138
|
supraEventId: z.ZodNullable<z.ZodString>;
|
246
139
|
created_at: z.ZodString;
|
247
140
|
updated_at: z.ZodString;
|
@@ -250,11 +143,8 @@ declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
250
143
|
id: string;
|
251
144
|
name: string;
|
252
145
|
date: string;
|
253
|
-
startingDate: string;
|
254
|
-
endingDate: string;
|
255
146
|
created_at: string;
|
256
147
|
updated_at: string;
|
257
|
-
active: boolean;
|
258
148
|
folderId: string | null;
|
259
149
|
tagAssistedId: string;
|
260
150
|
tagConfirmedId: string;
|
@@ -264,11 +154,8 @@ declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
264
154
|
id: string;
|
265
155
|
name: string;
|
266
156
|
date: string;
|
267
|
-
startingDate: string;
|
268
|
-
endingDate: string;
|
269
157
|
created_at: string;
|
270
158
|
updated_at: string;
|
271
|
-
active: boolean;
|
272
159
|
folderId: string | null;
|
273
160
|
tagAssistedId: string;
|
274
161
|
tagConfirmedId: string;
|
@@ -4,17 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.CreateEventResponseDto = exports.createEventResponseSchema = exports.CreateEventDto = exports.createEventSchema = void 0;
|
7
|
-
const event_tickets_dto_1 = require("./event-tickets.dto");
|
8
7
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
-
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
8
|
const zod_1 = __importDefault(require("zod"));
|
11
9
|
const event_dto_1 = require("./event.dto");
|
12
10
|
exports.createEventSchema = event_dto_1.eventSchema
|
13
11
|
.pick({
|
14
12
|
name: true,
|
15
13
|
date: true,
|
16
|
-
startingDate: true,
|
17
|
-
endingDate: true,
|
18
14
|
location: true,
|
19
15
|
folderId: true,
|
20
16
|
})
|
@@ -23,13 +19,9 @@ exports.createEventSchema = event_dto_1.eventSchema
|
|
23
19
|
.array(event_dto_1.eventSchema.pick({
|
24
20
|
name: true,
|
25
21
|
date: true,
|
26
|
-
startingDate: true,
|
27
|
-
endingDate: true,
|
28
22
|
location: true,
|
29
23
|
}))
|
30
24
|
.optional(),
|
31
|
-
tagsId: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
32
|
-
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema.omit({ id: true })),
|
33
25
|
}));
|
34
26
|
class CreateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventSchema) {
|
35
27
|
}
|
@@ -2,13 +2,10 @@ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
|
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
name: import("zod").ZodString;
|
4
4
|
date: import("zod").ZodDate;
|
5
|
-
startingDate: import("zod").ZodDate;
|
6
|
-
endingDate: import("zod").ZodDate;
|
7
5
|
location: import("zod").ZodString;
|
8
6
|
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
9
7
|
tagAssistedId: import("zod").ZodString;
|
10
8
|
tagConfirmedId: import("zod").ZodString;
|
11
|
-
active: import("zod").ZodBoolean;
|
12
9
|
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
13
10
|
created_at: import("zod").ZodDate;
|
14
11
|
updated_at: import("zod").ZodDate;
|
@@ -17,11 +14,8 @@ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
|
|
17
14
|
id: string;
|
18
15
|
name: string;
|
19
16
|
date: Date;
|
20
|
-
startingDate: Date;
|
21
|
-
endingDate: Date;
|
22
17
|
created_at: Date;
|
23
18
|
updated_at: Date;
|
24
|
-
active: boolean;
|
25
19
|
folderId: string | null;
|
26
20
|
tagAssistedId: string;
|
27
21
|
tagConfirmedId: string;
|
@@ -31,11 +25,8 @@ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
|
|
31
25
|
id: string;
|
32
26
|
name: string;
|
33
27
|
date: Date;
|
34
|
-
startingDate: Date;
|
35
|
-
endingDate: Date;
|
36
28
|
created_at: Date;
|
37
29
|
updated_at: Date;
|
38
|
-
active: boolean;
|
39
30
|
folderId: string | null;
|
40
31
|
tagAssistedId: string;
|
41
32
|
tagConfirmedId: string;
|
@@ -45,13 +36,10 @@ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
45
36
|
id: import("zod").ZodString;
|
46
37
|
name: import("zod").ZodString;
|
47
38
|
date: import("zod").ZodString;
|
48
|
-
startingDate: import("zod").ZodString;
|
49
|
-
endingDate: import("zod").ZodString;
|
50
39
|
location: import("zod").ZodString;
|
51
40
|
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
52
41
|
tagAssistedId: import("zod").ZodString;
|
53
42
|
tagConfirmedId: import("zod").ZodString;
|
54
|
-
active: import("zod").ZodBoolean;
|
55
43
|
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
56
44
|
created_at: import("zod").ZodString;
|
57
45
|
updated_at: import("zod").ZodString;
|
@@ -60,11 +48,8 @@ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
60
48
|
id: string;
|
61
49
|
name: string;
|
62
50
|
date: string;
|
63
|
-
startingDate: string;
|
64
|
-
endingDate: string;
|
65
51
|
created_at: string;
|
66
52
|
updated_at: string;
|
67
|
-
active: boolean;
|
68
53
|
folderId: string | null;
|
69
54
|
tagAssistedId: string;
|
70
55
|
tagConfirmedId: string;
|
@@ -74,11 +59,8 @@ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
74
59
|
id: string;
|
75
60
|
name: string;
|
76
61
|
date: string;
|
77
|
-
startingDate: string;
|
78
|
-
endingDate: string;
|
79
62
|
created_at: string;
|
80
63
|
updated_at: string;
|
81
|
-
active: boolean;
|
82
64
|
folderId: string | null;
|
83
65
|
tagAssistedId: string;
|
84
66
|
tagConfirmedId: string;
|
@@ -3,13 +3,10 @@ export declare const eventSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
4
4
|
name: z.ZodString;
|
5
5
|
date: z.ZodDate;
|
6
|
-
startingDate: z.ZodDate;
|
7
|
-
endingDate: z.ZodDate;
|
8
6
|
location: z.ZodString;
|
9
7
|
folderId: z.ZodNullable<z.ZodString>;
|
10
8
|
tagAssistedId: z.ZodString;
|
11
9
|
tagConfirmedId: z.ZodString;
|
12
|
-
active: z.ZodBoolean;
|
13
10
|
supraEventId: z.ZodNullable<z.ZodString>;
|
14
11
|
created_at: z.ZodDate;
|
15
12
|
updated_at: z.ZodDate;
|
@@ -18,11 +15,8 @@ export declare const eventSchema: z.ZodObject<{
|
|
18
15
|
id: string;
|
19
16
|
name: string;
|
20
17
|
date: Date;
|
21
|
-
startingDate: Date;
|
22
|
-
endingDate: Date;
|
23
18
|
created_at: Date;
|
24
19
|
updated_at: Date;
|
25
|
-
active: boolean;
|
26
20
|
folderId: string | null;
|
27
21
|
tagAssistedId: string;
|
28
22
|
tagConfirmedId: string;
|
@@ -32,11 +26,8 @@ export declare const eventSchema: z.ZodObject<{
|
|
32
26
|
id: string;
|
33
27
|
name: string;
|
34
28
|
date: Date;
|
35
|
-
startingDate: Date;
|
36
|
-
endingDate: Date;
|
37
29
|
created_at: Date;
|
38
30
|
updated_at: Date;
|
39
|
-
active: boolean;
|
40
31
|
folderId: string | null;
|
41
32
|
tagAssistedId: string;
|
42
33
|
tagConfirmedId: string;
|
@@ -12,19 +12,10 @@ exports.eventSchema = zod_1.z.object({
|
|
12
12
|
required_error: (0, translate_1.translate)('model.event.date.required'),
|
13
13
|
invalid_type_error: (0, translate_1.translate)('model.event.date.invalid'),
|
14
14
|
}),
|
15
|
-
startingDate: zod_1.z.coerce.date({
|
16
|
-
required_error: (0, translate_1.translate)('model.event.startingDate.required'),
|
17
|
-
invalid_type_error: (0, translate_1.translate)('model.event.startingDate.invalid'),
|
18
|
-
}),
|
19
|
-
endingDate: zod_1.z.coerce.date({
|
20
|
-
required_error: (0, translate_1.translate)('model.event.endingDate.required'),
|
21
|
-
invalid_type_error: (0, translate_1.translate)('model.event.endingDate.invalid'),
|
22
|
-
}),
|
23
15
|
location: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.location.required')),
|
24
16
|
folderId: event_folder_dto_1.eventFolderSchema.shape.id.nullable(),
|
25
17
|
tagAssistedId: tag_dto_1.tagSchema.shape.id,
|
26
18
|
tagConfirmedId: tag_dto_1.tagSchema.shape.id,
|
27
|
-
active: zod_1.z.boolean(),
|
28
19
|
supraEventId: zod_1.z
|
29
20
|
.string()
|
30
21
|
.uuid({
|