expo-backend-types 0.51.0 → 0.52.0-EXPO-343-Quique-Wolff.2

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.
Files changed (100) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +8 -10
  2. package/dist/src/account/dto/get-me.dto.d.ts +16 -20
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -10
  4. package/dist/src/event/dto/create-event.dto.d.ts +72 -23
  5. package/dist/src/event/dto/create-event.dto.js +7 -1
  6. package/dist/src/event/dto/delete-banner-event.dto.d.ts +18 -0
  7. package/dist/src/event/dto/delete-banner-event.dto.js +12 -0
  8. package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
  9. package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +18 -0
  10. package/dist/src/event/dto/delete-main-picture-event.dto.js +12 -0
  11. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -33
  12. package/dist/src/event/dto/event-tickets.dto.js +8 -18
  13. package/dist/src/event/dto/event.dto.d.ts +9 -0
  14. package/dist/src/event/dto/event.dto.js +13 -0
  15. package/dist/src/event/dto/get-active-events.dto.d.ts +33 -23
  16. package/dist/src/event/dto/get-all-event.dto.d.ts +504 -284
  17. package/dist/src/event/dto/get-all-event.dto.js +3 -3
  18. package/dist/src/event/dto/get-by-id-event.dto.d.ts +225 -159
  19. package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
  20. package/dist/src/event/dto/toggle-active-event.dto.d.ts +9 -0
  21. package/dist/src/event/dto/update-banner-event.dto.d.ts +33 -0
  22. package/dist/src/event/dto/update-banner-event.dto.js +18 -0
  23. package/dist/src/event/dto/update-event.dto.d.ts +230 -220
  24. package/dist/src/event/dto/update-event.dto.js +13 -3
  25. package/dist/src/event/dto/update-main-picture-event.dto.d.ts +33 -0
  26. package/dist/src/event/dto/update-main-picture-event.dto.js +18 -0
  27. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
  28. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
  29. package/dist/src/exports.d.ts +0 -1
  30. package/dist/src/exports.js +0 -1
  31. package/dist/src/i18n/es.d.ts +8 -65
  32. package/dist/src/i18n/es.js +8 -67
  33. package/dist/src/i18n/es.js.map +1 -1
  34. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +3 -0
  35. package/dist/src/profile/dto/delete-image-profile.dto.d.ts +18 -0
  36. package/dist/src/profile/dto/delete-image-profile.dto.js +12 -0
  37. package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -14
  38. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -24
  39. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -10
  40. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -14
  41. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -14
  42. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -14
  43. package/dist/src/profile/dto/update-image-profile.dto.d.ts +33 -0
  44. package/dist/src/profile/dto/update-image-profile.dto.js +18 -0
  45. package/dist/src/tag/dto/create-tag.dto.d.ts +9 -41
  46. package/dist/src/tag/dto/create-tag.dto.js +5 -6
  47. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -6
  48. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -10
  49. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -10
  50. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -6
  51. package/dist/src/tag/dto/tag.dto.d.ts +4 -6
  52. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -7
  53. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -14
  54. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -14
  55. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -10
  56. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +30 -0
  57. package/dist/src/ticket/dto/create-ticket.dto.d.ts +30 -0
  58. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +3 -0
  59. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +3 -0
  60. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +42 -0
  61. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +3 -0
  62. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +42 -0
  63. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
  64. package/dist/types/prisma-schema/edge.js +8 -32
  65. package/dist/types/prisma-schema/index-browser.js +5 -29
  66. package/dist/types/prisma-schema/index.d.ts +7078 -11454
  67. package/dist/types/prisma-schema/index.js +8 -32
  68. package/dist/types/prisma-schema/package.json +1 -1
  69. package/dist/types/prisma-schema/schema.prisma +13 -60
  70. package/dist/types/prisma-schema/wasm.js +5 -29
  71. package/dist/types/schema.d.ts +463 -849
  72. package/package.json +1 -2
  73. package/dist/src/event/dto/get-all-statistics.dto.d.ts +0 -364
  74. package/dist/src/event/dto/get-all-statistics.dto.js +0 -40
  75. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +0 -294
  76. package/dist/src/event/dto/get-statistics-by-id-event.dto.js +0 -40
  77. package/dist/src/production/dto/create-production.dto.d.ts +0 -41
  78. package/dist/src/production/dto/create-production.dto.js +0 -18
  79. package/dist/src/production/dto/create-role.dto.d.ts +0 -86
  80. package/dist/src/production/dto/create-role.dto.js +0 -16
  81. package/dist/src/production/dto/delete-production.dto.d.ts +0 -41
  82. package/dist/src/production/dto/delete-production.dto.js +0 -10
  83. package/dist/src/production/dto/get-all-production.dto.d.ts +0 -451
  84. package/dist/src/production/dto/get-all-production.dto.js +0 -21
  85. package/dist/src/production/dto/production.dto.d.ts +0 -20
  86. package/dist/src/production/dto/production.dto.js +0 -21
  87. package/dist/src/production/dto/update-production.dto.d.ts +0 -63
  88. package/dist/src/production/dto/update-production.dto.js +0 -19
  89. package/dist/src/production/exports.d.ts +0 -6
  90. package/dist/src/production/exports.js +0 -23
  91. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +0 -80
  92. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +0 -16
  93. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -563
  94. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +0 -21
  95. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +0 -27
  96. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +0 -22
  97. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -390
  98. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +0 -15
  99. package/dist/src/production-affiliation-request/exports.d.ts +0 -4
  100. package/dist/src/production-affiliation-request/exports.js +0 -21
@@ -1,294 +0,0 @@
1
- import z from 'zod';
2
- export declare const getStatisticsByIdSchema: z.ZodObject<z.objectUtil.extendShape<{
3
- id: z.ZodString;
4
- name: z.ZodString;
5
- date: z.ZodDate;
6
- startingDate: z.ZodDate;
7
- endingDate: z.ZodDate;
8
- location: z.ZodString;
9
- folderId: z.ZodNullable<z.ZodString>;
10
- tagAssistedId: z.ZodString;
11
- tagConfirmedId: z.ZodString;
12
- active: z.ZodBoolean;
13
- supraEventId: z.ZodNullable<z.ZodString>;
14
- created_at: z.ZodDate;
15
- updated_at: z.ZodDate;
16
- }, {
17
- tickets: z.ZodArray<z.ZodObject<{
18
- id: z.ZodString;
19
- eventId: z.ZodString;
20
- type: z.ZodNativeEnum<{
21
- PARTICIPANT: "PARTICIPANT";
22
- STAFF: "STAFF";
23
- SPECTATOR: "SPECTATOR";
24
- }>;
25
- fullName: z.ZodString;
26
- mail: z.ZodString;
27
- dni: z.ZodString;
28
- seat: z.ZodNullable<z.ZodNumber>;
29
- scanned: z.ZodBoolean;
30
- scannedAt: z.ZodNullable<z.ZodDate>;
31
- ticketGroupId: z.ZodNullable<z.ZodString>;
32
- created_at: z.ZodDate;
33
- updated_at: z.ZodDate;
34
- }, "strip", z.ZodTypeAny, {
35
- id: string;
36
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
37
- fullName: string;
38
- mail: string;
39
- eventId: string;
40
- dni: string;
41
- seat: number | null;
42
- created_at: Date;
43
- updated_at: Date;
44
- scanned: boolean;
45
- scannedAt: Date | null;
46
- ticketGroupId: string | null;
47
- }, {
48
- id: string;
49
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
50
- fullName: string;
51
- mail: string;
52
- eventId: string;
53
- dni: string;
54
- seat: number | null;
55
- created_at: Date;
56
- updated_at: Date;
57
- scanned: boolean;
58
- scannedAt: Date | null;
59
- ticketGroupId: string | null;
60
- }>, "many">;
61
- eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<{
62
- id: z.ZodString;
63
- amount: z.ZodNullable<z.ZodNumber>;
64
- type: z.ZodNativeEnum<{
65
- PARTICIPANT: "PARTICIPANT";
66
- STAFF: "STAFF";
67
- SPECTATOR: "SPECTATOR";
68
- }>;
69
- price: z.ZodNullable<z.ZodNumber>;
70
- }, "strip", z.ZodTypeAny, {
71
- id: string;
72
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
73
- amount: number | null;
74
- price: number | null;
75
- }, {
76
- id: string;
77
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
78
- amount: number | null;
79
- price: number | null;
80
- }>, {
81
- id: string;
82
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
83
- amount: number | null;
84
- price: number | null;
85
- }, {
86
- id: string;
87
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
88
- amount: number | null;
89
- price: number | null;
90
- }>, "many">;
91
- }>, "strip", z.ZodTypeAny, {
92
- location: string;
93
- id: string;
94
- name: string;
95
- date: Date;
96
- startingDate: Date;
97
- endingDate: Date;
98
- created_at: Date;
99
- updated_at: Date;
100
- active: boolean;
101
- tickets: {
102
- id: string;
103
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
104
- fullName: string;
105
- mail: string;
106
- eventId: string;
107
- dni: string;
108
- seat: number | null;
109
- created_at: Date;
110
- updated_at: Date;
111
- scanned: boolean;
112
- scannedAt: Date | null;
113
- ticketGroupId: string | null;
114
- }[];
115
- folderId: string | null;
116
- tagAssistedId: string;
117
- tagConfirmedId: string;
118
- supraEventId: string | null;
119
- eventTickets: {
120
- id: string;
121
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
122
- amount: number | null;
123
- price: number | null;
124
- }[];
125
- }, {
126
- location: string;
127
- id: string;
128
- name: string;
129
- date: Date;
130
- startingDate: Date;
131
- endingDate: Date;
132
- created_at: Date;
133
- updated_at: Date;
134
- active: boolean;
135
- tickets: {
136
- id: string;
137
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
138
- fullName: string;
139
- mail: string;
140
- eventId: string;
141
- dni: string;
142
- seat: number | null;
143
- created_at: Date;
144
- updated_at: Date;
145
- scanned: boolean;
146
- scannedAt: Date | null;
147
- ticketGroupId: string | null;
148
- }[];
149
- folderId: string | null;
150
- tagAssistedId: string;
151
- tagConfirmedId: string;
152
- supraEventId: string | null;
153
- eventTickets: {
154
- id: string;
155
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
156
- amount: number | null;
157
- price: number | null;
158
- }[];
159
- }>;
160
- export declare const getStatisticsByIdResponseSchema: z.ZodObject<{
161
- maxTickets: z.ZodNumber;
162
- emmitedTickets: z.ZodNumber;
163
- emittedTicketsPercent: z.ZodNumber;
164
- emmitedticketPerType: z.ZodRecord<z.ZodNativeEnum<{
165
- PARTICIPANT: "PARTICIPANT";
166
- STAFF: "STAFF";
167
- SPECTATOR: "SPECTATOR";
168
- }>, z.ZodNumber>;
169
- totalIncome: z.ZodNumber;
170
- maxTotalIncome: z.ZodNumber;
171
- maxTicketPerType: z.ZodRecord<z.ZodNativeEnum<{
172
- PARTICIPANT: "PARTICIPANT";
173
- STAFF: "STAFF";
174
- SPECTATOR: "SPECTATOR";
175
- }>, z.ZodNumber>;
176
- totalTicketsScanned: z.ZodNumber;
177
- notScanned: z.ZodNumber;
178
- attendancePercent: z.ZodNumber;
179
- attendancePerHour: z.ZodArray<z.ZodNullable<z.ZodDate>, "many">;
180
- avgAmountPerTicketGroup: z.ZodNullable<z.ZodNumber>;
181
- heatMapDates: z.ZodArray<z.ZodObject<{
182
- date: z.ZodString;
183
- count: z.ZodNumber;
184
- }, "strip", z.ZodTypeAny, {
185
- date: string;
186
- count: number;
187
- }, {
188
- date: string;
189
- count: number;
190
- }>, "many">;
191
- }, "strip", z.ZodTypeAny, {
192
- totalIncome: number;
193
- attendancePercent: number;
194
- maxTickets: number;
195
- emmitedTickets: number;
196
- emittedTicketsPercent: number;
197
- emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
198
- maxTotalIncome: number;
199
- maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
200
- totalTicketsScanned: number;
201
- notScanned: number;
202
- attendancePerHour: (Date | null)[];
203
- avgAmountPerTicketGroup: number | null;
204
- heatMapDates: {
205
- date: string;
206
- count: number;
207
- }[];
208
- }, {
209
- totalIncome: number;
210
- attendancePercent: number;
211
- maxTickets: number;
212
- emmitedTickets: number;
213
- emittedTicketsPercent: number;
214
- emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
215
- maxTotalIncome: number;
216
- maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
217
- totalTicketsScanned: number;
218
- notScanned: number;
219
- attendancePerHour: (Date | null)[];
220
- avgAmountPerTicketGroup: number | null;
221
- heatMapDates: {
222
- date: string;
223
- count: number;
224
- }[];
225
- }>;
226
- declare const GetStatisticsByIdResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
227
- maxTickets: z.ZodNumber;
228
- emmitedTickets: z.ZodNumber;
229
- emittedTicketsPercent: z.ZodNumber;
230
- emmitedticketPerType: z.ZodRecord<z.ZodNativeEnum<{
231
- PARTICIPANT: "PARTICIPANT";
232
- STAFF: "STAFF";
233
- SPECTATOR: "SPECTATOR";
234
- }>, z.ZodNumber>;
235
- totalIncome: z.ZodNumber;
236
- maxTotalIncome: z.ZodNumber;
237
- maxTicketPerType: z.ZodRecord<z.ZodNativeEnum<{
238
- PARTICIPANT: "PARTICIPANT";
239
- STAFF: "STAFF";
240
- SPECTATOR: "SPECTATOR";
241
- }>, z.ZodNumber>;
242
- totalTicketsScanned: z.ZodNumber;
243
- notScanned: z.ZodNumber;
244
- attendancePercent: z.ZodNumber;
245
- attendancePerHour: z.ZodArray<z.ZodNullable<z.ZodString>, "many">;
246
- avgAmountPerTicketGroup: z.ZodNullable<z.ZodNumber>;
247
- heatMapDates: z.ZodArray<z.ZodObject<{
248
- date: z.ZodString;
249
- count: z.ZodNumber;
250
- }, z.UnknownKeysParam, z.ZodTypeAny, {
251
- date: string;
252
- count: number;
253
- }, {
254
- date: string;
255
- count: number;
256
- }>, "many">;
257
- }, z.UnknownKeysParam, z.ZodTypeAny, {
258
- totalIncome: number;
259
- attendancePercent: number;
260
- maxTickets: number;
261
- emmitedTickets: number;
262
- emittedTicketsPercent: number;
263
- emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
264
- maxTotalIncome: number;
265
- maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
266
- totalTicketsScanned: number;
267
- notScanned: number;
268
- attendancePerHour: (string | null)[];
269
- avgAmountPerTicketGroup: number | null;
270
- heatMapDates: {
271
- date: string;
272
- count: number;
273
- }[];
274
- }, {
275
- totalIncome: number;
276
- attendancePercent: number;
277
- maxTickets: number;
278
- emmitedTickets: number;
279
- emittedTicketsPercent: number;
280
- emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
281
- maxTotalIncome: number;
282
- maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
283
- totalTicketsScanned: number;
284
- notScanned: number;
285
- attendancePerHour: (string | null)[];
286
- avgAmountPerTicketGroup: number | null;
287
- heatMapDates: {
288
- date: string;
289
- count: number;
290
- }[];
291
- }>>;
292
- export declare class GetStatisticsByIdResponseDto extends GetStatisticsByIdResponseDto_base {
293
- }
294
- export {};
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.GetStatisticsByIdResponseDto = exports.getStatisticsByIdResponseSchema = exports.getStatisticsByIdSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
9
- const zod_1 = __importDefault(require("zod"));
10
- const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
11
- const event_tickets_dto_1 = require("./event-tickets.dto");
12
- const event_dto_1 = require("./event.dto");
13
- exports.getStatisticsByIdSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
14
- tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
15
- eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
16
- }));
17
- exports.getStatisticsByIdResponseSchema = zod_1.default.object({
18
- maxTickets: zod_1.default.number(),
19
- emmitedTickets: zod_1.default.number(),
20
- emittedTicketsPercent: zod_1.default.number(),
21
- emmitedticketPerType: zod_1.default.record(zod_1.default.nativeEnum(prisma_schema_1.TicketType), zod_1.default.number()),
22
- totalIncome: zod_1.default.number(),
23
- maxTotalIncome: zod_1.default.number(),
24
- maxTicketPerType: zod_1.default.record(zod_1.default.nativeEnum(prisma_schema_1.TicketType), zod_1.default.number()),
25
- totalTicketsScanned: zod_1.default.number(),
26
- notScanned: zod_1.default.number(),
27
- attendancePercent: zod_1.default.number(),
28
- attendancePerHour: ticket_dto_1.ticketSchema.shape.scannedAt.array(),
29
- avgAmountPerTicketGroup: zod_1.default.number().nullable(),
30
- heatMapDates: zod_1.default
31
- .object({
32
- date: zod_1.default.string().date(),
33
- count: zod_1.default.number(),
34
- })
35
- .array(),
36
- });
37
- class GetStatisticsByIdResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getStatisticsByIdResponseSchema) {
38
- }
39
- exports.GetStatisticsByIdResponseDto = GetStatisticsByIdResponseDto;
40
- //# sourceMappingURL=get-statistics-by-id-event.dto.js.map
@@ -1,41 +0,0 @@
1
- export declare const createProductionSchema: import("zod").ZodObject<Pick<{
2
- id: import("zod").ZodString;
3
- name: import("zod").ZodString;
4
- administratorId: import("zod").ZodNullable<import("zod").ZodString>;
5
- created_at: import("zod").ZodDate;
6
- updated_at: import("zod").ZodDate;
7
- }, "name" | "administratorId">, "strip", import("zod").ZodTypeAny, {
8
- name: string;
9
- administratorId: string | null;
10
- }, {
11
- name: string;
12
- administratorId: string | null;
13
- }>;
14
- declare const CreateProductionDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
15
- name: import("zod").ZodString;
16
- administratorId: import("zod").ZodNullable<import("zod").ZodString>;
17
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
18
- name: string;
19
- administratorId: string | null;
20
- }, {
21
- name: string;
22
- administratorId: string | null;
23
- }>>;
24
- export declare class CreateProductionDto extends CreateProductionDto_base {
25
- }
26
- export declare const createProductionResponseSchema: import("zod").ZodObject<Pick<{
27
- id: import("zod").ZodString;
28
- name: import("zod").ZodString;
29
- administratorId: import("zod").ZodNullable<import("zod").ZodString>;
30
- created_at: import("zod").ZodDate;
31
- updated_at: import("zod").ZodDate;
32
- }, "id" | "name" | "created_at">, "strip", import("zod").ZodTypeAny, {
33
- id: string;
34
- name: string;
35
- created_at: Date;
36
- }, {
37
- id: string;
38
- name: string;
39
- created_at: Date;
40
- }>;
41
- export {};
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createProductionResponseSchema = exports.CreateProductionDto = exports.createProductionSchema = void 0;
4
- const production_dto_1 = require("./production.dto");
5
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.createProductionSchema = production_dto_1.productionSchema.pick({
7
- name: true,
8
- administratorId: true,
9
- });
10
- class CreateProductionDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProductionSchema) {
11
- }
12
- exports.CreateProductionDto = CreateProductionDto;
13
- exports.createProductionResponseSchema = production_dto_1.productionSchema.pick({
14
- id: true,
15
- name: true,
16
- created_at: true,
17
- });
18
- //# sourceMappingURL=create-production.dto.js.map
@@ -1,86 +0,0 @@
1
- export declare const createProductionRoleSchema: import("zod").ZodObject<Pick<{
2
- id: import("zod").ZodString;
3
- name: import("zod").ZodString;
4
- groupId: import("zod").ZodString;
5
- type: import("zod").ZodNativeEnum<{
6
- PROFILE: "PROFILE";
7
- EVENT: "EVENT";
8
- PARTICIPANT: "PARTICIPANT";
9
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
10
- PRODUCTION_ROLE: "PRODUCTION_ROLE";
11
- }>;
12
- created_at: import("zod").ZodDate;
13
- updated_at: import("zod").ZodDate;
14
- }, "name">, "strip", import("zod").ZodTypeAny, {
15
- name: string;
16
- }, {
17
- name: string;
18
- }>;
19
- declare const CreateProductionRoleDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
20
- name: import("zod").ZodString;
21
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
22
- name: string;
23
- }, {
24
- name: string;
25
- }>>;
26
- export declare class CreateProductionRoleDto extends CreateProductionRoleDto_base {
27
- }
28
- export declare const createProductionRoleResponseSchema: import("zod").ZodObject<{
29
- id: import("zod").ZodString;
30
- name: import("zod").ZodString;
31
- groupId: import("zod").ZodString;
32
- type: import("zod").ZodNativeEnum<{
33
- PROFILE: "PROFILE";
34
- EVENT: "EVENT";
35
- PARTICIPANT: "PARTICIPANT";
36
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
37
- PRODUCTION_ROLE: "PRODUCTION_ROLE";
38
- }>;
39
- created_at: import("zod").ZodDate;
40
- updated_at: import("zod").ZodDate;
41
- }, "strip", import("zod").ZodTypeAny, {
42
- id: string;
43
- name: string;
44
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
45
- created_at: Date;
46
- updated_at: Date;
47
- groupId: string;
48
- }, {
49
- id: string;
50
- name: string;
51
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
52
- created_at: Date;
53
- updated_at: Date;
54
- groupId: string;
55
- }>;
56
- declare const CreateProductionRoleResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
57
- id: import("zod").ZodString;
58
- name: import("zod").ZodString;
59
- groupId: import("zod").ZodString;
60
- type: import("zod").ZodNativeEnum<{
61
- PROFILE: "PROFILE";
62
- EVENT: "EVENT";
63
- PARTICIPANT: "PARTICIPANT";
64
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
65
- PRODUCTION_ROLE: "PRODUCTION_ROLE";
66
- }>;
67
- created_at: import("zod").ZodString;
68
- updated_at: import("zod").ZodString;
69
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
70
- id: string;
71
- name: string;
72
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
73
- created_at: string;
74
- updated_at: string;
75
- groupId: string;
76
- }, {
77
- id: string;
78
- name: string;
79
- type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
80
- created_at: string;
81
- updated_at: string;
82
- groupId: string;
83
- }>>;
84
- export declare class CreateProductionRoleResponseDto extends CreateProductionRoleResponseDto_base {
85
- }
86
- export {};
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateProductionRoleResponseDto = exports.createProductionRoleResponseSchema = exports.CreateProductionRoleDto = exports.createProductionRoleSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const tag_dto_1 = require("../../tag/dto/tag.dto");
6
- exports.createProductionRoleSchema = tag_dto_1.tagSchema.pick({
7
- name: true,
8
- });
9
- class CreateProductionRoleDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProductionRoleSchema) {
10
- }
11
- exports.CreateProductionRoleDto = CreateProductionRoleDto;
12
- exports.createProductionRoleResponseSchema = tag_dto_1.tagSchema;
13
- class CreateProductionRoleResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createProductionRoleResponseSchema) {
14
- }
15
- exports.CreateProductionRoleResponseDto = CreateProductionRoleResponseDto;
16
- //# sourceMappingURL=create-role.dto.js.map
@@ -1,41 +0,0 @@
1
- export declare const deleteProductionResponseSchema: import("zod").ZodObject<{
2
- id: import("zod").ZodString;
3
- name: import("zod").ZodString;
4
- administratorId: import("zod").ZodNullable<import("zod").ZodString>;
5
- created_at: import("zod").ZodDate;
6
- updated_at: import("zod").ZodDate;
7
- }, "strip", import("zod").ZodTypeAny, {
8
- id: string;
9
- name: string;
10
- created_at: Date;
11
- updated_at: Date;
12
- administratorId: string | null;
13
- }, {
14
- id: string;
15
- name: string;
16
- created_at: Date;
17
- updated_at: Date;
18
- administratorId: string | null;
19
- }>;
20
- declare const DeleteProductionResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
21
- id: import("zod").ZodString;
22
- name: import("zod").ZodString;
23
- administratorId: import("zod").ZodNullable<import("zod").ZodString>;
24
- created_at: import("zod").ZodString;
25
- updated_at: import("zod").ZodString;
26
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
27
- id: string;
28
- name: string;
29
- created_at: string;
30
- updated_at: string;
31
- administratorId: string | null;
32
- }, {
33
- id: string;
34
- name: string;
35
- created_at: string;
36
- updated_at: string;
37
- administratorId: string | null;
38
- }>>;
39
- export declare class DeleteProductionResponseDto extends DeleteProductionResponseDto_base {
40
- }
41
- export {};
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteProductionResponseDto = exports.deleteProductionResponseSchema = void 0;
4
- const production_dto_1 = require("./production.dto");
5
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.deleteProductionResponseSchema = production_dto_1.productionSchema;
7
- class DeleteProductionResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteProductionResponseSchema) {
8
- }
9
- exports.DeleteProductionResponseDto = DeleteProductionResponseDto;
10
- //# sourceMappingURL=delete-production.dto.js.map