expo-backend-types 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.6 → 0.49.0-EXPO-349-Ricardo-Fort.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/account/dto/get-global-filter.dto.d.ts +8 -10
- package/dist/src/account/dto/get-me.dto.d.ts +16 -20
- package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -10
- package/dist/src/event/dto/get-all-event.dto.d.ts +232 -236
- package/dist/src/event/dto/get-all-event.dto.js +1 -1
- package/dist/src/event/dto/get-all-statistics.dto.d.ts +364 -0
- package/dist/src/event/dto/get-all-statistics.dto.js +40 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +126 -136
- package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
- package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +402 -0
- package/dist/src/event/dto/get-statistics-by-id-event.dto.js +35 -0
- package/dist/src/event/dto/update-event.dto.d.ts +8 -10
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +7 -53
- package/dist/src/i18n/es.js +7 -53
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -14
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -24
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -10
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -14
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -14
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -14
- package/dist/src/tag/dto/create-tag.dto.d.ts +9 -41
- package/dist/src/tag/dto/create-tag.dto.js +5 -6
- package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -6
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -10
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -10
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -6
- package/dist/src/tag/dto/tag.dto.d.ts +4 -6
- package/dist/src/tag/dto/update-tag.dto.d.ts +4 -7
- package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -14
- package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -14
- package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -10
- package/dist/types/prisma-schema/edge.js +5 -32
- package/dist/types/prisma-schema/index-browser.js +2 -29
- package/dist/types/prisma-schema/index.d.ts +6849 -11395
- package/dist/types/prisma-schema/index.js +5 -32
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +4 -54
- package/dist/types/prisma-schema/wasm.js +2 -29
- package/dist/types/schema.d.ts +228 -599
- package/package.json +1 -1
- package/dist/src/production/dto/create-production.dto.d.ts +0 -36
- package/dist/src/production/dto/create-production.dto.js +0 -17
- package/dist/src/production/dto/create-role.dto.d.ts +0 -86
- package/dist/src/production/dto/create-role.dto.js +0 -16
- package/dist/src/production/dto/delete-production.dto.d.ts +0 -41
- package/dist/src/production/dto/delete-production.dto.js +0 -10
- package/dist/src/production/dto/production.dto.d.ts +0 -20
- package/dist/src/production/dto/production.dto.js +0 -21
- package/dist/src/production/dto/update-production.dto.d.ts +0 -63
- package/dist/src/production/dto/update-production.dto.js +0 -19
- package/dist/src/production/exports.d.ts +0 -5
- package/dist/src/production/exports.js +0 -22
- package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +0 -80
- package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +0 -16
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -563
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +0 -21
- package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +0 -27
- package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +0 -22
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -390
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +0 -15
- package/dist/src/production-affiliation-request/exports.d.ts +0 -4
- package/dist/src/production-affiliation-request/exports.js +0 -21
@@ -81,10 +81,7 @@ model Profile {
|
|
81
81
|
isInTrash Boolean @default(false) @map("is_in_trash")
|
82
82
|
movedToTrashDate DateTime? @map("moved_to_trash_date")
|
83
83
|
|
84
|
-
|
85
|
-
|
86
|
-
productionAdministrated Production? @relation("PRODUCTION_X_ADMINISTRATOR")
|
87
|
-
productionRequestsSent ProductionAffiliationRequest[] @relation("PRODUCTION_AFILIATION_X_PROFILE")
|
84
|
+
Ticket Ticket[] @relation("PROFILE_X_TICKET")
|
88
85
|
|
89
86
|
created_at DateTime @default(now())
|
90
87
|
updated_at DateTime @updatedAt
|
@@ -161,11 +158,9 @@ model Tag {
|
|
161
158
|
profiles Profile[] @relation("PROFILE_X_TAG")
|
162
159
|
accountsGlobalFilter Account[] @relation("GLOBAL_FILTER_X_ACCOUNT")
|
163
160
|
|
164
|
-
profileEvents Event[] @relation("EVENT_X_PROFILE_TAGS")
|
165
|
-
roleEvents Event[] @relation("EVENT_X_ROLES")
|
166
|
-
|
167
161
|
created_at DateTime @default(now())
|
168
162
|
updated_at DateTime @updatedAt
|
163
|
+
Event Event[] @relation("EVENT_X_TAGS")
|
169
164
|
|
170
165
|
@@map("TAG")
|
171
166
|
}
|
@@ -206,14 +201,11 @@ model Event {
|
|
206
201
|
tickets Ticket[] @relation("EVENT_X_TICKET")
|
207
202
|
ticketGroups TicketGroup[] @relation("EVENT_X_TICKET_GROUP")
|
208
203
|
subEvents Event[] @relation("SubEvents")
|
209
|
-
|
204
|
+
tags Tag[] @relation("EVENT_X_TAGS")
|
210
205
|
eventTickets EventTicket[] @relation("EVENT_X_EVENTTICKET")
|
211
206
|
|
212
207
|
active Boolean @default(false)
|
213
208
|
|
214
|
-
productions Production[] @relation("EVENT_X_PRODUCTION")
|
215
|
-
participantRoles Tag[] @relation("EVENT_X_ROLES")
|
216
|
-
|
217
209
|
created_at DateTime @default(now())
|
218
210
|
updated_at DateTime @updatedAt
|
219
211
|
|
@@ -279,7 +271,7 @@ model Ticket {
|
|
279
271
|
profile Profile? @relation("PROFILE_X_TICKET", fields: [profileId], references: [id])
|
280
272
|
|
281
273
|
ticketGroupId String? @map("ticket_group_id")
|
282
|
-
ticketGroup TicketGroup? @relation("TICKET_X_TICKET_GROUP", fields: [ticketGroupId], references: [id]
|
274
|
+
ticketGroup TicketGroup? @relation("TICKET_X_TICKET_GROUP", fields: [ticketGroupId], references: [id])
|
283
275
|
|
284
276
|
created_at DateTime @default(now())
|
285
277
|
updated_at DateTime @updatedAt
|
@@ -324,47 +316,6 @@ model EventTicket {
|
|
324
316
|
@@map("EVENT_TICKET")
|
325
317
|
}
|
326
318
|
|
327
|
-
model Production {
|
328
|
-
id String @id @default(uuid())
|
329
|
-
|
330
|
-
name String @unique
|
331
|
-
|
332
|
-
administratorId String? @unique @map("adminstrator_id")
|
333
|
-
administrator Profile? @relation("PRODUCTION_X_ADMINISTRATOR", fields: [administratorId], references: [id])
|
334
|
-
|
335
|
-
events Event[] @relation("EVENT_X_PRODUCTION")
|
336
|
-
affiliationRequests ProductionAffiliationRequest[] @relation("PRODUCTION_AFFILIATION_REQUEST")
|
337
|
-
|
338
|
-
created_at DateTime @default(now())
|
339
|
-
updated_at DateTime @updatedAt
|
340
|
-
|
341
|
-
@@map("PRODUCTION")
|
342
|
-
}
|
343
|
-
|
344
|
-
model ProductionAffiliationRequest {
|
345
|
-
id String @id @default(uuid())
|
346
|
-
|
347
|
-
productionId String @map("production_id")
|
348
|
-
production Production @relation(name: "PRODUCTION_AFFILIATION_REQUEST", fields: [productionId], references: [id], onDelete: Cascade)
|
349
|
-
|
350
|
-
profileId String
|
351
|
-
profile Profile @relation(name: "PRODUCTION_AFILIATION_X_PROFILE", fields: [profileId], references: [id])
|
352
|
-
|
353
|
-
status AffiliationStatus @default(PENDING)
|
354
|
-
reviewedAt DateTime? @map("reviewed_at")
|
355
|
-
|
356
|
-
created_at DateTime @default(now())
|
357
|
-
updated_at DateTime @updatedAt
|
358
|
-
|
359
|
-
@@map("PRODUCTION_AFFILIATION_REQUEST")
|
360
|
-
}
|
361
|
-
|
362
|
-
enum AffiliationStatus {
|
363
|
-
APPROVED
|
364
|
-
PENDING
|
365
|
-
REJECTED
|
366
|
-
}
|
367
|
-
|
368
319
|
enum TemplateStatus {
|
369
320
|
APPROVED
|
370
321
|
PENDING
|
@@ -382,7 +333,6 @@ enum TagType {
|
|
382
333
|
EVENT
|
383
334
|
PARTICIPANT
|
384
335
|
NOT_IN_SYSTEM
|
385
|
-
PRODUCTION_ROLE
|
386
336
|
}
|
387
337
|
|
388
338
|
enum MessageState {
|
@@ -289,24 +289,6 @@ exports.Prisma.EventTicketScalarFieldEnum = {
|
|
289
289
|
updated_at: 'updated_at'
|
290
290
|
};
|
291
291
|
|
292
|
-
exports.Prisma.ProductionScalarFieldEnum = {
|
293
|
-
id: 'id',
|
294
|
-
name: 'name',
|
295
|
-
administratorId: 'administratorId',
|
296
|
-
created_at: 'created_at',
|
297
|
-
updated_at: 'updated_at'
|
298
|
-
};
|
299
|
-
|
300
|
-
exports.Prisma.ProductionAffiliationRequestScalarFieldEnum = {
|
301
|
-
id: 'id',
|
302
|
-
productionId: 'productionId',
|
303
|
-
profileId: 'profileId',
|
304
|
-
status: 'status',
|
305
|
-
reviewedAt: 'reviewedAt',
|
306
|
-
created_at: 'created_at',
|
307
|
-
updated_at: 'updated_at'
|
308
|
-
};
|
309
|
-
|
310
292
|
exports.Prisma.SortOrder = {
|
311
293
|
asc: 'asc',
|
312
294
|
desc: 'desc'
|
@@ -343,8 +325,7 @@ exports.TagType = exports.$Enums.TagType = {
|
|
343
325
|
PROFILE: 'PROFILE',
|
344
326
|
EVENT: 'EVENT',
|
345
327
|
PARTICIPANT: 'PARTICIPANT',
|
346
|
-
NOT_IN_SYSTEM: 'NOT_IN_SYSTEM'
|
347
|
-
PRODUCTION_ROLE: 'PRODUCTION_ROLE'
|
328
|
+
NOT_IN_SYSTEM: 'NOT_IN_SYSTEM'
|
348
329
|
};
|
349
330
|
|
350
331
|
exports.MessageState = exports.$Enums.MessageState = {
|
@@ -377,12 +358,6 @@ exports.TemplateCategory = exports.$Enums.TemplateCategory = {
|
|
377
358
|
AUTHENTICATION: 'AUTHENTICATION'
|
378
359
|
};
|
379
360
|
|
380
|
-
exports.AffiliationStatus = exports.$Enums.AffiliationStatus = {
|
381
|
-
APPROVED: 'APPROVED',
|
382
|
-
PENDING: 'PENDING',
|
383
|
-
REJECTED: 'REJECTED'
|
384
|
-
};
|
385
|
-
|
386
361
|
exports.Prisma.ModelName = {
|
387
362
|
Account: 'Account',
|
388
363
|
Profile: 'Profile',
|
@@ -398,9 +373,7 @@ exports.Prisma.ModelName = {
|
|
398
373
|
Ticket: 'Ticket',
|
399
374
|
TicketGroup: 'TicketGroup',
|
400
375
|
Enums: 'Enums',
|
401
|
-
EventTicket: 'EventTicket'
|
402
|
-
Production: 'Production',
|
403
|
-
ProductionAffiliationRequest: 'ProductionAffiliationRequest'
|
376
|
+
EventTicket: 'EventTicket'
|
404
377
|
};
|
405
378
|
|
406
379
|
/**
|