expo-backend-types 0.57.0-EXPO-379-EB-Rutas-necesarias.9 → 0.57.0-EXPO-379-EB-Rutas-necesarias.11

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.
@@ -8,50 +8,21 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
8
8
  tagGroupId: import("zod").ZodString;
9
9
  created_at: import("zod").ZodDate;
10
10
  updated_at: import("zod").ZodDate;
11
- }, "created_at" | "updated_at">, {
12
- answers: import("zod").ZodArray<import("zod").ZodObject<Omit<{
13
- id: import("zod").ZodString;
14
- text: import("zod").ZodString;
15
- tagId: import("zod").ZodString;
16
- questionId: import("zod").ZodString;
17
- created_at: import("zod").ZodDate;
18
- updated_at: import("zod").ZodDate;
19
- }, "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
20
- id: string;
21
- text: string;
22
- tagId: string;
23
- questionId: string;
24
- }, {
25
- id: string;
26
- text: string;
27
- tagId: string;
28
- questionId: string;
29
- }>, "many">;
11
+ }, "text" | "created_at" | "updated_at">, {
12
+ answers: import("zod").ZodArray<import("zod").ZodString, "many">;
30
13
  }>, "strip", import("zod").ZodTypeAny, {
31
14
  id: string;
32
15
  required: boolean;
33
- text: string;
34
16
  formId: string;
35
17
  disabled: boolean;
36
18
  multipleChoice: boolean;
37
19
  tagGroupId: string;
38
- answers: {
39
- id: string;
40
- text: string;
41
- tagId: string;
42
- questionId: string;
43
- }[];
20
+ answers: string[];
44
21
  }, {
45
22
  id: string;
46
- text: string;
47
23
  formId: string;
48
24
  tagGroupId: string;
49
- answers: {
50
- id: string;
51
- text: string;
52
- tagId: string;
53
- questionId: string;
54
- }[];
25
+ answers: string[];
55
26
  required?: boolean | undefined;
56
27
  disabled?: boolean | undefined;
57
28
  multipleChoice?: boolean | undefined;
@@ -59,52 +30,24 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
59
30
  declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodArray<import("zod").ZodObject<{
60
31
  id: import("zod").ZodString;
61
32
  required: import("zod").ZodDefault<import("zod").ZodBoolean>;
62
- text: import("zod").ZodString;
63
33
  formId: import("zod").ZodString;
64
34
  disabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
65
35
  multipleChoice: import("zod").ZodDefault<import("zod").ZodBoolean>;
66
36
  tagGroupId: import("zod").ZodString;
67
- answers: import("zod").ZodArray<import("zod").ZodObject<{
68
- id: import("zod").ZodString;
69
- text: import("zod").ZodString;
70
- tagId: import("zod").ZodString;
71
- questionId: import("zod").ZodString;
72
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
73
- id: string;
74
- text: string;
75
- tagId: string;
76
- questionId: string;
77
- }, {
78
- id: string;
79
- text: string;
80
- tagId: string;
81
- questionId: string;
82
- }>, "many">;
37
+ answers: import("zod").ZodArray<import("zod").ZodString, "many">;
83
38
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
84
39
  id: string;
85
40
  required: boolean;
86
- text: string;
87
41
  formId: string;
88
42
  disabled: boolean;
89
43
  multipleChoice: boolean;
90
44
  tagGroupId: string;
91
- answers: {
92
- id: string;
93
- text: string;
94
- tagId: string;
95
- questionId: string;
96
- }[];
45
+ answers: string[];
97
46
  }, {
98
47
  id: string;
99
- text: string;
100
48
  formId: string;
101
49
  tagGroupId: string;
102
- answers: {
103
- id: string;
104
- text: string;
105
- tagId: string;
106
- questionId: string;
107
- }[];
50
+ answers: string[];
108
51
  required?: boolean | undefined;
109
52
  disabled?: boolean | undefined;
110
53
  multipleChoice?: boolean | undefined;
@@ -8,14 +8,10 @@ exports.submitDynamicFormsSchema = dynamic_form_dto_1.dynamicQuestionSchema
8
8
  .omit({
9
9
  created_at: true,
10
10
  updated_at: true,
11
+ text: true,
11
12
  })
12
13
  .extend({
13
- answers: dynamic_form_dto_1.dynamicOptionSchema
14
- .omit({
15
- created_at: true,
16
- updated_at: true,
17
- })
18
- .array(),
14
+ answers: dynamic_form_dto_1.dynamicOptionSchema.shape.id.array(),
19
15
  })
20
16
  .array();
21
17
  class SubmitDynamicFormsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.submitDynamicFormsSchema) {
@@ -4352,17 +4352,11 @@ export interface components {
4352
4352
  SubmitDynamicFormsDto: {
4353
4353
  id: string;
4354
4354
  formId: string;
4355
- text: string;
4356
4355
  disabled: boolean;
4357
4356
  required: boolean;
4358
4357
  multipleChoice: boolean;
4359
4358
  tagGroupId: string;
4360
- answers: {
4361
- id: string;
4362
- text: string;
4363
- tagId: string;
4364
- questionId: string;
4365
- }[];
4359
+ answers: string[];
4366
4360
  }[];
4367
4361
  SubmitDynamicFormsResponseDto: {
4368
4362
  profiles: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.57.0-EXPO-379-EB-Rutas-necesarias.9",
3
+ "version": "0.57.0-EXPO-379-EB-Rutas-necesarias.11",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,