expo-backend-types 0.51.0 → 0.52.0-EXPO-343-Quique-Wolff.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/create-event.dto.d.ts +72 -23
- package/dist/src/event/dto/create-event.dto.js +7 -1
- package/dist/src/event/dto/delete-banner-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-banner-event.dto.js +12 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-main-picture-event.dto.js +12 -0
- package/dist/src/event/dto/event-tickets.dto.d.ts +2 -33
- package/dist/src/event/dto/event-tickets.dto.js +8 -18
- package/dist/src/event/dto/event.dto.d.ts +9 -0
- package/dist/src/event/dto/event.dto.js +13 -0
- package/dist/src/event/dto/get-active-events.dto.d.ts +33 -23
- package/dist/src/event/dto/get-all-event.dto.d.ts +504 -284
- package/dist/src/event/dto/get-all-event.dto.js +3 -3
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +225 -159
- package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +9 -0
- package/dist/src/event/dto/update-banner-event.dto.d.ts +33 -0
- package/dist/src/event/dto/update-banner-event.dto.js +18 -0
- package/dist/src/event/dto/update-event.dto.d.ts +230 -220
- package/dist/src/event/dto/update-event.dto.js +13 -3
- package/dist/src/event/dto/update-main-picture-event.dto.d.ts +33 -0
- package/dist/src/event/dto/update-main-picture-event.dto.js +18 -0
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +8 -65
- package/dist/src/i18n/es.js +8 -67
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +3 -0
- package/dist/src/profile/dto/delete-image-profile.dto.d.ts +18 -0
- package/dist/src/profile/dto/delete-image-profile.dto.js +12 -0
- 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/profile/dto/update-image-profile.dto.d.ts +33 -0
- package/dist/src/profile/dto/update-image-profile.dto.js +18 -0
- 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/src/ticket/dto/create-many-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +42 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +42 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
- package/dist/types/prisma-schema/edge.js +8 -32
- package/dist/types/prisma-schema/index-browser.js +5 -29
- package/dist/types/prisma-schema/index.d.ts +7078 -11454
- package/dist/types/prisma-schema/index.js +8 -32
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +13 -60
- package/dist/types/prisma-schema/wasm.js +5 -29
- package/dist/types/schema.d.ts +463 -849
- package/package.json +1 -2
- package/dist/src/event/dto/get-all-statistics.dto.d.ts +0 -364
- package/dist/src/event/dto/get-all-statistics.dto.js +0 -40
- package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +0 -294
- package/dist/src/event/dto/get-statistics-by-id-event.dto.js +0 -40
- package/dist/src/production/dto/create-production.dto.d.ts +0 -41
- package/dist/src/production/dto/create-production.dto.js +0 -18
- 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/get-all-production.dto.d.ts +0 -451
- package/dist/src/production/dto/get-all-production.dto.js +0 -21
- 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 -6
- package/dist/src/production/exports.js +0 -23
- 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
|
-
productionsAdministrated 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
|
}
|
@@ -184,12 +179,15 @@ model TagGroup {
|
|
184
179
|
}
|
185
180
|
|
186
181
|
model Event {
|
187
|
-
id
|
188
|
-
name
|
189
|
-
date
|
190
|
-
startingDate
|
191
|
-
endingDate
|
192
|
-
location
|
182
|
+
id String @id @default(uuid())
|
183
|
+
name String
|
184
|
+
date DateTime
|
185
|
+
startingDate DateTime @default(now()) @map("starting_date")
|
186
|
+
endingDate DateTime @default(now()) @map("ending_date")
|
187
|
+
location String
|
188
|
+
mainPictureUrl String? @map("main_picture_url")
|
189
|
+
bannerUrl String? @map("banner_url")
|
190
|
+
description String? @map("description")
|
193
191
|
|
194
192
|
folderId String? @map("folder_id")
|
195
193
|
folder EventFolder? @relation("EVENT_FOLDER_X_EVENT", fields: [folderId], references: [id], onDelete: Cascade)
|
@@ -206,14 +204,11 @@ model Event {
|
|
206
204
|
tickets Ticket[] @relation("EVENT_X_TICKET")
|
207
205
|
ticketGroups TicketGroup[] @relation("EVENT_X_TICKET_GROUP")
|
208
206
|
subEvents Event[] @relation("SubEvents")
|
209
|
-
|
207
|
+
tags Tag[] @relation("EVENT_X_TAGS")
|
210
208
|
eventTickets EventTicket[] @relation("EVENT_X_EVENTTICKET")
|
211
209
|
|
212
210
|
active Boolean @default(false)
|
213
211
|
|
214
|
-
productions Production[] @relation("EVENT_X_PRODUCTION")
|
215
|
-
participantRoles Tag[] @relation("EVENT_X_ROLES")
|
216
|
-
|
217
212
|
created_at DateTime @default(now())
|
218
213
|
updated_at DateTime @updatedAt
|
219
214
|
|
@@ -279,7 +274,7 @@ model Ticket {
|
|
279
274
|
profile Profile? @relation("PROFILE_X_TICKET", fields: [profileId], references: [id])
|
280
275
|
|
281
276
|
ticketGroupId String? @map("ticket_group_id")
|
282
|
-
ticketGroup TicketGroup? @relation("TICKET_X_TICKET_GROUP", fields: [ticketGroupId], references: [id]
|
277
|
+
ticketGroup TicketGroup? @relation("TICKET_X_TICKET_GROUP", fields: [ticketGroupId], references: [id])
|
283
278
|
|
284
279
|
created_at DateTime @default(now())
|
285
280
|
updated_at DateTime @updatedAt
|
@@ -324,47 +319,6 @@ model EventTicket {
|
|
324
319
|
@@map("EVENT_TICKET")
|
325
320
|
}
|
326
321
|
|
327
|
-
model Production {
|
328
|
-
id String @id @default(uuid())
|
329
|
-
|
330
|
-
name String @unique
|
331
|
-
|
332
|
-
administratorId String? @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
322
|
enum TemplateStatus {
|
369
323
|
APPROVED
|
370
324
|
PENDING
|
@@ -382,7 +336,6 @@ enum TagType {
|
|
382
336
|
EVENT
|
383
337
|
PARTICIPANT
|
384
338
|
NOT_IN_SYSTEM
|
385
|
-
PRODUCTION_ROLE
|
386
339
|
}
|
387
340
|
|
388
341
|
enum MessageState {
|
@@ -213,6 +213,9 @@ exports.Prisma.EventScalarFieldEnum = {
|
|
213
213
|
startingDate: 'startingDate',
|
214
214
|
endingDate: 'endingDate',
|
215
215
|
location: 'location',
|
216
|
+
mainPictureUrl: 'mainPictureUrl',
|
217
|
+
bannerUrl: 'bannerUrl',
|
218
|
+
description: 'description',
|
216
219
|
folderId: 'folderId',
|
217
220
|
tagAssistedId: 'tagAssistedId',
|
218
221
|
tagConfirmedId: 'tagConfirmedId',
|
@@ -289,24 +292,6 @@ exports.Prisma.EventTicketScalarFieldEnum = {
|
|
289
292
|
updated_at: 'updated_at'
|
290
293
|
};
|
291
294
|
|
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
295
|
exports.Prisma.SortOrder = {
|
311
296
|
asc: 'asc',
|
312
297
|
desc: 'desc'
|
@@ -343,8 +328,7 @@ exports.TagType = exports.$Enums.TagType = {
|
|
343
328
|
PROFILE: 'PROFILE',
|
344
329
|
EVENT: 'EVENT',
|
345
330
|
PARTICIPANT: 'PARTICIPANT',
|
346
|
-
NOT_IN_SYSTEM: 'NOT_IN_SYSTEM'
|
347
|
-
PRODUCTION_ROLE: 'PRODUCTION_ROLE'
|
331
|
+
NOT_IN_SYSTEM: 'NOT_IN_SYSTEM'
|
348
332
|
};
|
349
333
|
|
350
334
|
exports.MessageState = exports.$Enums.MessageState = {
|
@@ -377,12 +361,6 @@ exports.TemplateCategory = exports.$Enums.TemplateCategory = {
|
|
377
361
|
AUTHENTICATION: 'AUTHENTICATION'
|
378
362
|
};
|
379
363
|
|
380
|
-
exports.AffiliationStatus = exports.$Enums.AffiliationStatus = {
|
381
|
-
APPROVED: 'APPROVED',
|
382
|
-
PENDING: 'PENDING',
|
383
|
-
REJECTED: 'REJECTED'
|
384
|
-
};
|
385
|
-
|
386
364
|
exports.Prisma.ModelName = {
|
387
365
|
Account: 'Account',
|
388
366
|
Profile: 'Profile',
|
@@ -398,9 +376,7 @@ exports.Prisma.ModelName = {
|
|
398
376
|
Ticket: 'Ticket',
|
399
377
|
TicketGroup: 'TicketGroup',
|
400
378
|
Enums: 'Enums',
|
401
|
-
EventTicket: 'EventTicket'
|
402
|
-
Production: 'Production',
|
403
|
-
ProductionAffiliationRequest: 'ProductionAffiliationRequest'
|
379
|
+
EventTicket: 'EventTicket'
|
404
380
|
};
|
405
381
|
|
406
382
|
/**
|