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

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,4 +1,4 @@
1
- export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
1
+ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
2
2
  id: import("zod").ZodString;
3
3
  formId: import("zod").ZodString;
4
4
  text: import("zod").ZodString;
@@ -8,26 +8,22 @@ 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
- }, {
12
- answers: import("zod").ZodArray<import("zod").ZodObject<{
11
+ }, "created_at" | "updated_at">, {
12
+ answers: import("zod").ZodArray<import("zod").ZodObject<Omit<{
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
- }, "strip", import("zod").ZodTypeAny, {
19
+ }, "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
20
20
  id: string;
21
21
  text: string;
22
- created_at: Date;
23
- updated_at: Date;
24
22
  tagId: string;
25
23
  questionId: string;
26
24
  }, {
27
25
  id: string;
28
26
  text: string;
29
- created_at: Date;
30
- updated_at: Date;
31
27
  tagId: string;
32
28
  questionId: string;
33
29
  }>, "many">;
@@ -35,8 +31,6 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
35
31
  id: string;
36
32
  required: boolean;
37
33
  text: string;
38
- created_at: Date;
39
- updated_at: Date;
40
34
  formId: string;
41
35
  disabled: boolean;
42
36
  multipleChoice: boolean;
@@ -44,23 +38,17 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
44
38
  answers: {
45
39
  id: string;
46
40
  text: string;
47
- created_at: Date;
48
- updated_at: Date;
49
41
  tagId: string;
50
42
  questionId: string;
51
43
  }[];
52
44
  }, {
53
45
  id: string;
54
46
  text: string;
55
- created_at: Date;
56
- updated_at: Date;
57
47
  formId: string;
58
48
  tagGroupId: string;
59
49
  answers: {
60
50
  id: string;
61
51
  text: string;
62
- created_at: Date;
63
- updated_at: Date;
64
52
  tagId: string;
65
53
  questionId: string;
66
54
  }[];
@@ -70,33 +58,25 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
70
58
  }>, "many">;
71
59
  declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodArray<import("zod").ZodObject<{
72
60
  id: import("zod").ZodString;
73
- formId: import("zod").ZodString;
61
+ required: import("zod").ZodDefault<import("zod").ZodBoolean>;
74
62
  text: import("zod").ZodString;
63
+ formId: import("zod").ZodString;
75
64
  disabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
76
- required: import("zod").ZodDefault<import("zod").ZodBoolean>;
77
65
  multipleChoice: import("zod").ZodDefault<import("zod").ZodBoolean>;
78
66
  tagGroupId: import("zod").ZodString;
79
- created_at: import("zod").ZodString;
80
- updated_at: import("zod").ZodString;
81
67
  answers: import("zod").ZodArray<import("zod").ZodObject<{
82
68
  id: import("zod").ZodString;
83
69
  text: import("zod").ZodString;
84
70
  tagId: import("zod").ZodString;
85
71
  questionId: import("zod").ZodString;
86
- created_at: import("zod").ZodString;
87
- updated_at: import("zod").ZodString;
88
72
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
89
73
  id: string;
90
74
  text: string;
91
- created_at: string;
92
- updated_at: string;
93
75
  tagId: string;
94
76
  questionId: string;
95
77
  }, {
96
78
  id: string;
97
79
  text: string;
98
- created_at: string;
99
- updated_at: string;
100
80
  tagId: string;
101
81
  questionId: string;
102
82
  }>, "many">;
@@ -104,8 +84,6 @@ declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoSt
104
84
  id: string;
105
85
  required: boolean;
106
86
  text: string;
107
- created_at: string;
108
- updated_at: string;
109
87
  formId: string;
110
88
  disabled: boolean;
111
89
  multipleChoice: boolean;
@@ -113,23 +91,17 @@ declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoSt
113
91
  answers: {
114
92
  id: string;
115
93
  text: string;
116
- created_at: string;
117
- updated_at: string;
118
94
  tagId: string;
119
95
  questionId: string;
120
96
  }[];
121
97
  }, {
122
98
  id: string;
123
99
  text: string;
124
- created_at: string;
125
- updated_at: string;
126
100
  formId: string;
127
101
  tagGroupId: string;
128
102
  answers: {
129
103
  id: string;
130
104
  text: string;
131
- created_at: string;
132
- updated_at: string;
133
105
  tagId: string;
134
106
  questionId: string;
135
107
  }[];
@@ -5,8 +5,17 @@ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/cre
5
5
  const massive_allocation_dto_1 = require("../../tag/dto/massive-allocation.dto");
6
6
  const dynamic_form_dto_1 = require("./dynamic-form.dto");
7
7
  exports.submitDynamicFormsSchema = dynamic_form_dto_1.dynamicQuestionSchema
8
+ .omit({
9
+ created_at: true,
10
+ updated_at: true,
11
+ })
8
12
  .extend({
9
- answers: dynamic_form_dto_1.dynamicOptionSchema.array(),
13
+ answers: dynamic_form_dto_1.dynamicOptionSchema
14
+ .omit({
15
+ created_at: true,
16
+ updated_at: true,
17
+ })
18
+ .array(),
10
19
  })
11
20
  .array();
12
21
  class SubmitDynamicFormsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.submitDynamicFormsSchema) {
@@ -4357,15 +4357,11 @@ export interface components {
4357
4357
  required: boolean;
4358
4358
  multipleChoice: boolean;
4359
4359
  tagGroupId: string;
4360
- created_at: string;
4361
- updated_at: string;
4362
4360
  answers: {
4363
4361
  id: string;
4364
4362
  text: string;
4365
4363
  tagId: string;
4366
4364
  questionId: string;
4367
- created_at: string;
4368
- updated_at: string;
4369
4365
  }[];
4370
4366
  }[];
4371
4367
  SubmitDynamicFormsResponseDto: {
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.6",
3
+ "version": "0.57.0-EXPO-379-EB-Rutas-necesarias.8",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,