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

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.
@@ -9,18 +9,7 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
9
9
  created_at: import("zod").ZodDate;
10
10
  updated_at: import("zod").ZodDate;
11
11
  }, "text" | "created_at" | "updated_at">, {
12
- answers: import("zod").ZodArray<import("zod").ZodObject<Pick<{
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
- }, "tagId">, "strip", import("zod").ZodTypeAny, {
20
- tagId: string;
21
- }, {
22
- tagId: string;
23
- }>, "many">;
12
+ answers: import("zod").ZodArray<import("zod").ZodString, "many">;
24
13
  }>, "strip", import("zod").ZodTypeAny, {
25
14
  id: string;
26
15
  required: boolean;
@@ -28,16 +17,12 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
28
17
  disabled: boolean;
29
18
  multipleChoice: boolean;
30
19
  tagGroupId: string;
31
- answers: {
32
- tagId: string;
33
- }[];
20
+ answers: string[];
34
21
  }, {
35
22
  id: string;
36
23
  formId: string;
37
24
  tagGroupId: string;
38
- answers: {
39
- tagId: string;
40
- }[];
25
+ answers: string[];
41
26
  required?: boolean | undefined;
42
27
  disabled?: boolean | undefined;
43
28
  multipleChoice?: boolean | undefined;
@@ -49,13 +34,7 @@ declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoSt
49
34
  disabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
50
35
  multipleChoice: import("zod").ZodDefault<import("zod").ZodBoolean>;
51
36
  tagGroupId: import("zod").ZodString;
52
- answers: import("zod").ZodArray<import("zod").ZodObject<{
53
- tagId: import("zod").ZodString;
54
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
55
- tagId: string;
56
- }, {
57
- tagId: string;
58
- }>, "many">;
37
+ answers: import("zod").ZodArray<import("zod").ZodString, "many">;
59
38
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
60
39
  id: string;
61
40
  required: boolean;
@@ -63,16 +42,12 @@ declare const SubmitDynamicFormsDto_base: import("@anatine/zod-nestjs").ZodDtoSt
63
42
  disabled: boolean;
64
43
  multipleChoice: boolean;
65
44
  tagGroupId: string;
66
- answers: {
67
- tagId: string;
68
- }[];
45
+ answers: string[];
69
46
  }, {
70
47
  id: string;
71
48
  formId: string;
72
49
  tagGroupId: string;
73
- answers: {
74
- tagId: string;
75
- }[];
50
+ answers: string[];
76
51
  required?: boolean | undefined;
77
52
  disabled?: boolean | undefined;
78
53
  multipleChoice?: boolean | undefined;
@@ -11,11 +11,7 @@ exports.submitDynamicFormsSchema = dynamic_form_dto_1.dynamicQuestionSchema
11
11
  text: true,
12
12
  })
13
13
  .extend({
14
- answers: dynamic_form_dto_1.dynamicOptionSchema
15
- .pick({
16
- tagId: 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) {
@@ -1727,7 +1727,7 @@ export interface paths {
1727
1727
  patch?: never;
1728
1728
  trace?: never;
1729
1729
  };
1730
- "/dynamic-form/submit/{formId}": {
1730
+ "/dynamic-form/submit/{id}": {
1731
1731
  parameters: {
1732
1732
  query?: never;
1733
1733
  header?: never;
@@ -4356,9 +4356,7 @@ export interface components {
4356
4356
  required: boolean;
4357
4357
  multipleChoice: boolean;
4358
4358
  tagGroupId: string;
4359
- answers: {
4360
- tagId: string;
4361
- }[];
4359
+ answers: string[];
4362
4360
  }[];
4363
4361
  SubmitDynamicFormsResponseDto: {
4364
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.10",
3
+ "version": "0.57.0-EXPO-379-EB-Rutas-necesarias.12",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,