expo-backend-types 0.31.0-EXPO-311-EB-Modificar-DB-schema.2 → 0.31.0-EXPO-311-EB-Modificar-DB-schema.3
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.
@@ -39,7 +39,7 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
39
39
|
startingDate: Date;
|
40
40
|
endingDate: Date;
|
41
41
|
}>, "many">>;
|
42
|
-
|
42
|
+
tagsId: z.ZodArray<z.ZodString, "many">;
|
43
43
|
eventTickets: z.ZodArray<z.ZodObject<{
|
44
44
|
amount: z.ZodNumber;
|
45
45
|
type: z.ZodNativeEnum<{
|
@@ -63,13 +63,13 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
63
63
|
date: Date;
|
64
64
|
startingDate: Date;
|
65
65
|
endingDate: Date;
|
66
|
-
tags: string[];
|
67
66
|
eventTickets: {
|
68
67
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
69
68
|
amount: number;
|
70
69
|
price: number | null;
|
71
70
|
}[];
|
72
71
|
folderId: string | null;
|
72
|
+
tagsId: string[];
|
73
73
|
subEvents?: {
|
74
74
|
location: string;
|
75
75
|
name: string;
|
@@ -83,13 +83,13 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
83
83
|
date: Date;
|
84
84
|
startingDate: Date;
|
85
85
|
endingDate: Date;
|
86
|
-
tags: string[];
|
87
86
|
eventTickets: {
|
88
87
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
89
88
|
amount: number;
|
90
89
|
price: number | null;
|
91
90
|
}[];
|
92
91
|
folderId: string | null;
|
92
|
+
tagsId: string[];
|
93
93
|
subEvents?: {
|
94
94
|
location: string;
|
95
95
|
name: string;
|
@@ -124,7 +124,7 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
124
124
|
startingDate: string;
|
125
125
|
endingDate: string;
|
126
126
|
}>, "many">>;
|
127
|
-
|
127
|
+
tagsId: z.ZodArray<z.ZodString, "many">;
|
128
128
|
eventTickets: z.ZodArray<z.ZodObject<{
|
129
129
|
amount: z.ZodNumber;
|
130
130
|
type: z.ZodNativeEnum<{
|
@@ -148,13 +148,13 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
148
148
|
date: string;
|
149
149
|
startingDate: string;
|
150
150
|
endingDate: string;
|
151
|
-
tags: string[];
|
152
151
|
eventTickets: {
|
153
152
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
154
153
|
amount: number;
|
155
154
|
price: number | null;
|
156
155
|
}[];
|
157
156
|
folderId: string | null;
|
157
|
+
tagsId: string[];
|
158
158
|
subEvents?: {
|
159
159
|
location: string;
|
160
160
|
name: string;
|
@@ -168,13 +168,13 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
168
168
|
date: string;
|
169
169
|
startingDate: string;
|
170
170
|
endingDate: string;
|
171
|
-
tags: string[];
|
172
171
|
eventTickets: {
|
173
172
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
174
173
|
amount: number;
|
175
174
|
price: number | null;
|
176
175
|
}[];
|
177
176
|
folderId: string | null;
|
177
|
+
tagsId: string[];
|
178
178
|
subEvents?: {
|
179
179
|
location: string;
|
180
180
|
name: string;
|
@@ -28,7 +28,7 @@ exports.createEventSchema = event_dto_1.eventSchema
|
|
28
28
|
location: true,
|
29
29
|
}))
|
30
30
|
.optional(),
|
31
|
-
|
31
|
+
tagsId: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
32
32
|
eventTickets: zod_1.default.array(zod_1.default.object({
|
33
33
|
amount: zod_1.default.number().min(1),
|
34
34
|
type: zod_1.default.nativeEnum(prisma_schema_1.TicketType),
|
package/dist/types/schema.d.ts
CHANGED