expo-backend-types 0.60.0-feat-desfile-12-octubre.1 → 0.60.0-feat-desfile-12-octubre.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-d3be7bbe7f9a81fa080bd352982dff4644a67e6895fd352eab754baa7cba47d1",
2
+ "name": "prisma-client-1c64648f189e4b732fe2cf1dbf369ee6444e20a0ea92670d07080932f3343f79",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -225,6 +225,10 @@ model Event {
225
225
  productions Production[] @relation("EVENT_X_PRODUCTION")
226
226
  participantRoles Tag[] @relation("EVENT_X_ROLES")
227
227
 
228
+ // [N]
229
+ eventProducerLogin EventProducerLogin[] @relation("EVENT_X_EVENT_PRODUCER_LOGIN")
230
+ // [/N]
231
+
228
232
  created_at DateTime @default(now())
229
233
  updated_at DateTime @updatedAt
230
234
 
@@ -432,6 +436,25 @@ model DynamicOption {
432
436
  @@map("DYNAMIC_OPTION")
433
437
  }
434
438
 
439
+ // [N]
440
+ model EventProducerLogin {
441
+ id String @id @default(uuid())
442
+
443
+ eventId String @map("event_id")
444
+ event Event @relation(name: "EVENT_X_EVENT_PRODUCER_LOGIN", fields: [eventId], references: [id], onDelete: Cascade)
445
+
446
+ mail String @unique
447
+ password String
448
+ isActive Boolean @default(true) @map("is_active")
449
+
450
+ created_at DateTime @default(now())
451
+ updated_at DateTime @updatedAt
452
+
453
+ @@map("EVENT_PRODUCER_LOGIN")
454
+ }
455
+
456
+ // [/N]
457
+
435
458
  enum AffiliationStatus {
436
459
  APPROVED
437
460
  PENDING
@@ -345,6 +345,16 @@ exports.Prisma.DynamicOptionScalarFieldEnum = {
345
345
  updated_at: 'updated_at'
346
346
  };
347
347
 
348
+ exports.Prisma.EventProducerLoginScalarFieldEnum = {
349
+ id: 'id',
350
+ eventId: 'eventId',
351
+ mail: 'mail',
352
+ password: 'password',
353
+ isActive: 'isActive',
354
+ created_at: 'created_at',
355
+ updated_at: 'updated_at'
356
+ };
357
+
348
358
  exports.Prisma.SortOrder = {
349
359
  asc: 'asc',
350
360
  desc: 'desc'
@@ -449,7 +459,8 @@ exports.Prisma.ModelName = {
449
459
  ProductionAffiliationRequest: 'ProductionAffiliationRequest',
450
460
  DynamicForm: 'DynamicForm',
451
461
  DynamicQuestion: 'DynamicQuestion',
452
- DynamicOption: 'DynamicOption'
462
+ DynamicOption: 'DynamicOption',
463
+ EventProducerLogin: 'EventProducerLogin'
453
464
  };
454
465
 
455
466
  /**
@@ -2492,6 +2492,11 @@ export interface components {
2492
2492
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2493
2493
  price: number | null;
2494
2494
  }[];
2495
+ eventProducerLogin: {
2496
+ mail: string;
2497
+ password: string;
2498
+ isActive: boolean;
2499
+ }[];
2495
2500
  };
2496
2501
  CreateEventResponseDto: {
2497
2502
  id: string;
@@ -2896,6 +2901,11 @@ export interface components {
2896
2901
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2897
2902
  price: number | null;
2898
2903
  }[];
2904
+ eventProducerLogin?: {
2905
+ mail: string;
2906
+ password: string;
2907
+ isActive: boolean;
2908
+ }[];
2899
2909
  };
2900
2910
  UpdateEventResponseDto: {
2901
2911
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.60.0-feat-desfile-12-octubre.1",
3
+ "version": "0.60.0-feat-desfile-12-octubre.2",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,