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
- tags: z.ZodArray<z.ZodString, "many">;
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
- tags: z.ZodArray<z.ZodString, "many">;
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
- tags: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
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),
@@ -1497,7 +1497,7 @@ export interface components {
1497
1497
  endingDate: string;
1498
1498
  location: string;
1499
1499
  }[];
1500
- tags: string[];
1500
+ tagsId: string[];
1501
1501
  eventTickets: {
1502
1502
  amount: number;
1503
1503
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.31.0-EXPO-311-EB-Modificar-DB-schema.2",
3
+ "version": "0.31.0-EXPO-311-EB-Modificar-DB-schema.3",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,