expo-backend-types 0.57.0-EXPO-379-EB-Rutas-necesarias.8 → 0.57.0-EXPO-379-EB-Rutas-necesarias.10

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,49 +8,35 @@ 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<{
11
+ }, "text" | "created_at" | "updated_at">, {
12
+ answers: import("zod").ZodArray<import("zod").ZodObject<Pick<{
13
13
  id: import("zod").ZodString;
14
14
  text: import("zod").ZodString;
15
15
  tagId: import("zod").ZodString;
16
16
  questionId: import("zod").ZodString;
17
17
  created_at: import("zod").ZodDate;
18
18
  updated_at: import("zod").ZodDate;
19
- }, "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
20
- id: string;
21
- text: string;
19
+ }, "tagId">, "strip", import("zod").ZodTypeAny, {
22
20
  tagId: string;
23
- questionId: string;
24
21
  }, {
25
- id: string;
26
- text: string;
27
22
  tagId: string;
28
- questionId: string;
29
23
  }>, "many">;
30
24
  }>, "strip", import("zod").ZodTypeAny, {
31
25
  id: string;
32
26
  required: boolean;
33
- text: string;
34
27
  formId: string;
35
28
  disabled: boolean;
36
29
  multipleChoice: boolean;
37
30
  tagGroupId: string;
38
31
  answers: {
39
- id: string;
40
- text: string;
41
32
  tagId: string;
42
- questionId: string;
43
33
  }[];
44
34
  }, {
45
35
  id: string;
46
- text: string;
47
36
  formId: string;
48
37
  tagGroupId: string;
49
38
  answers: {
50
- id: string;
51
- text: string;
52
39
  tagId: string;
53
- questionId: string;
54
40
  }[];
55
41
  required?: boolean | undefined;
56
42
  disabled?: boolean | undefined;
@@ -59,51 +45,33 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
59
45
  declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodArray<import("zod").ZodObject<{
60
46
  id: import("zod").ZodString;
61
47
  required: import("zod").ZodDefault<import("zod").ZodBoolean>;
62
- text: import("zod").ZodString;
63
48
  formId: import("zod").ZodString;
64
49
  disabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
65
50
  multipleChoice: import("zod").ZodDefault<import("zod").ZodBoolean>;
66
51
  tagGroupId: import("zod").ZodString;
67
52
  answers: import("zod").ZodArray<import("zod").ZodObject<{
68
- id: import("zod").ZodString;
69
- text: import("zod").ZodString;
70
53
  tagId: import("zod").ZodString;
71
- questionId: import("zod").ZodString;
72
54
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
73
- id: string;
74
- text: string;
75
55
  tagId: string;
76
- questionId: string;
77
56
  }, {
78
- id: string;
79
- text: string;
80
57
  tagId: string;
81
- questionId: string;
82
58
  }>, "many">;
83
59
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
84
60
  id: string;
85
61
  required: boolean;
86
- text: string;
87
62
  formId: string;
88
63
  disabled: boolean;
89
64
  multipleChoice: boolean;
90
65
  tagGroupId: string;
91
66
  answers: {
92
- id: string;
93
- text: string;
94
67
  tagId: string;
95
- questionId: string;
96
68
  }[];
97
69
  }, {
98
70
  id: string;
99
- text: string;
100
71
  formId: string;
101
72
  tagGroupId: string;
102
73
  answers: {
103
- id: string;
104
- text: string;
105
74
  tagId: string;
106
- questionId: string;
107
75
  }[];
108
76
  required?: boolean | undefined;
109
77
  disabled?: boolean | undefined;
@@ -8,12 +8,12 @@ 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
14
  answers: dynamic_form_dto_1.dynamicOptionSchema
14
- .omit({
15
- created_at: true,
16
- updated_at: true,
15
+ .pick({
16
+ tagId: true,
17
17
  })
18
18
  .array(),
19
19
  })
@@ -4352,16 +4352,12 @@ 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
4359
  answers: {
4361
- id: string;
4362
- text: string;
4363
4360
  tagId: string;
4364
- questionId: string;
4365
4361
  }[];
4366
4362
  }[];
4367
4363
  SubmitDynamicFormsResponseDto: {
@@ -4393,7 +4389,6 @@ export interface components {
4393
4389
  referralCode: string;
4394
4390
  }[];
4395
4391
  };
4396
- TypeError: Record<string, never>;
4397
4392
  UpdateDynamicFormDto: {
4398
4393
  name: string;
4399
4394
  questions: {
@@ -8052,7 +8047,7 @@ export interface operations {
8052
8047
  [name: string]: unknown;
8053
8048
  };
8054
8049
  content: {
8055
- "application/json": components["schemas"]["TypeError"];
8050
+ "application/json": components["schemas"]["ErrorDto"];
8056
8051
  };
8057
8052
  };
8058
8053
  409: {
@@ -8060,7 +8055,7 @@ export interface operations {
8060
8055
  [name: string]: unknown;
8061
8056
  };
8062
8057
  content: {
8063
- "application/json": components["schemas"]["TypeError"];
8058
+ "application/json": components["schemas"]["ErrorDto"];
8064
8059
  };
8065
8060
  };
8066
8061
  };
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.8",
3
+ "version": "0.57.0-EXPO-379-EB-Rutas-necesarias.10",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,