expo-backend-types 0.56.0-EXPO-372-EB-Schema-formulario-dinamico.1 → 0.56.0-EXPO-372-EB-Schema-formulario-dinamico.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.
- package/dist/src/i18n/es.d.ts +3 -0
- package/dist/src/i18n/es.js +3 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/types/prisma-schema/edge.js +35 -4
- package/dist/types/prisma-schema/index-browser.js +32 -1
- package/dist/types/prisma-schema/index.d.ts +5230 -142
- package/dist/types/prisma-schema/index.js +35 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +53 -2
- package/dist/types/prisma-schema/wasm.js +32 -1
- package/package.json +1 -1
@@ -169,8 +169,9 @@ model Tag {
|
|
169
169
|
profileEvents Event[] @relation("EVENT_X_PROFILE_TAGS")
|
170
170
|
roleEvents Event[] @relation("EVENT_X_ROLES")
|
171
171
|
|
172
|
-
created_at
|
173
|
-
updated_at
|
172
|
+
created_at DateTime @default(now())
|
173
|
+
updated_at DateTime @updatedAt
|
174
|
+
DynamicOption DynamicOption[]
|
174
175
|
|
175
176
|
@@map("TAG")
|
176
177
|
}
|
@@ -182,6 +183,8 @@ model TagGroup {
|
|
182
183
|
isExclusive Boolean @map("is_exclusive")
|
183
184
|
tags Tag[]
|
184
185
|
|
186
|
+
question DynamicQuestion? @relation("TAG_GROUP_X_QUESTION")
|
187
|
+
|
185
188
|
created_at DateTime @default(now())
|
186
189
|
updated_at DateTime @updatedAt
|
187
190
|
|
@@ -372,6 +375,54 @@ model ProductionAffiliationRequest {
|
|
372
375
|
@@map("PRODUCTION_AFFILIATION_REQUEST")
|
373
376
|
}
|
374
377
|
|
378
|
+
model DynamicForm {
|
379
|
+
id String @id @default(uuid())
|
380
|
+
name String @unique
|
381
|
+
|
382
|
+
questions DynamicQuestion[] @relation("DYNAMIC_FORM_X_QUESTION")
|
383
|
+
|
384
|
+
created_at DateTime @default(now())
|
385
|
+
updated_at DateTime @updatedAt
|
386
|
+
|
387
|
+
@@map("DYNAMIC_FORM")
|
388
|
+
}
|
389
|
+
|
390
|
+
model DynamicQuestion {
|
391
|
+
id String @id @default(uuid())
|
392
|
+
formId String @map("form_id")
|
393
|
+
form DynamicForm @relation("DYNAMIC_FORM_X_QUESTION", fields: [formId], references: [id], onDelete: Cascade)
|
394
|
+
|
395
|
+
text String
|
396
|
+
tagGroupId String @unique @map("tag_group_id")
|
397
|
+
tagGroup TagGroup @relation("TAG_GROUP_X_QUESTION", fields: [tagGroupId], references: [id], onDelete: Cascade)
|
398
|
+
|
399
|
+
disabled Boolean @default(false)
|
400
|
+
required Boolean @default(true)
|
401
|
+
multipleChoice Boolean @default(false) @map("multiple_choice")
|
402
|
+
|
403
|
+
options DynamicOption[]
|
404
|
+
|
405
|
+
created_at DateTime @default(now())
|
406
|
+
updated_at DateTime @updatedAt
|
407
|
+
|
408
|
+
@@map("DYNAMIC_QUESTION")
|
409
|
+
}
|
410
|
+
|
411
|
+
model DynamicOption {
|
412
|
+
id String @id @default(uuid())
|
413
|
+
|
414
|
+
text String
|
415
|
+
tagId String @map("tag_id")
|
416
|
+
tag Tag @relation(fields: [tagId], references: [id], onDelete: Cascade)
|
417
|
+
|
418
|
+
created_at DateTime @default(now())
|
419
|
+
updated_at DateTime @updatedAt
|
420
|
+
DynamicQuestion DynamicQuestion? @relation(fields: [dynamicQuestionId], references: [id])
|
421
|
+
dynamicQuestionId String?
|
422
|
+
|
423
|
+
@@map("DYNAMIC_OPTION")
|
424
|
+
}
|
425
|
+
|
375
426
|
enum AffiliationStatus {
|
376
427
|
APPROVED
|
377
428
|
PENDING
|
@@ -312,6 +312,34 @@ exports.Prisma.ProductionAffiliationRequestScalarFieldEnum = {
|
|
312
312
|
updated_at: 'updated_at'
|
313
313
|
};
|
314
314
|
|
315
|
+
exports.Prisma.DynamicFormScalarFieldEnum = {
|
316
|
+
id: 'id',
|
317
|
+
name: 'name',
|
318
|
+
created_at: 'created_at',
|
319
|
+
updated_at: 'updated_at'
|
320
|
+
};
|
321
|
+
|
322
|
+
exports.Prisma.DynamicQuestionScalarFieldEnum = {
|
323
|
+
id: 'id',
|
324
|
+
formId: 'formId',
|
325
|
+
text: 'text',
|
326
|
+
tagGroupId: 'tagGroupId',
|
327
|
+
disabled: 'disabled',
|
328
|
+
required: 'required',
|
329
|
+
multipleChoice: 'multipleChoice',
|
330
|
+
created_at: 'created_at',
|
331
|
+
updated_at: 'updated_at'
|
332
|
+
};
|
333
|
+
|
334
|
+
exports.Prisma.DynamicOptionScalarFieldEnum = {
|
335
|
+
id: 'id',
|
336
|
+
text: 'text',
|
337
|
+
tagId: 'tagId',
|
338
|
+
created_at: 'created_at',
|
339
|
+
updated_at: 'updated_at',
|
340
|
+
dynamicQuestionId: 'dynamicQuestionId'
|
341
|
+
};
|
342
|
+
|
315
343
|
exports.Prisma.SortOrder = {
|
316
344
|
asc: 'asc',
|
317
345
|
desc: 'desc'
|
@@ -405,7 +433,10 @@ exports.Prisma.ModelName = {
|
|
405
433
|
Enums: 'Enums',
|
406
434
|
EventTicket: 'EventTicket',
|
407
435
|
Production: 'Production',
|
408
|
-
ProductionAffiliationRequest: 'ProductionAffiliationRequest'
|
436
|
+
ProductionAffiliationRequest: 'ProductionAffiliationRequest',
|
437
|
+
DynamicForm: 'DynamicForm',
|
438
|
+
DynamicQuestion: 'DynamicQuestion',
|
439
|
+
DynamicOption: 'DynamicOption'
|
409
440
|
};
|
410
441
|
|
411
442
|
/**
|