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

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<Omit<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,7 +8,7 @@ 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
- }, {
11
+ }, "created_at" | "updated_at">, {
12
12
  answers: import("zod").ZodArray<import("zod").ZodObject<Omit<{
13
13
  id: import("zod").ZodString;
14
14
  text: import("zod").ZodString;
@@ -27,7 +27,7 @@ export declare const submitDynamicFormsSchema: import("zod").ZodArray<import("zo
27
27
  tagId: string;
28
28
  questionId: string;
29
29
  }>, "many">;
30
- }>, "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
30
+ }>, "strip", import("zod").ZodTypeAny, {
31
31
  id: string;
32
32
  required: boolean;
33
33
  text: string;
@@ -5,6 +5,10 @@ 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
13
  answers: dynamic_form_dto_1.dynamicOptionSchema
10
14
  .omit({
@@ -12,10 +16,6 @@ exports.submitDynamicFormsSchema = dynamic_form_dto_1.dynamicQuestionSchema
12
16
  updated_at: true,
13
17
  })
14
18
  .array(),
15
- })
16
- .omit({
17
- created_at: true,
18
- updated_at: true,
19
19
  })
20
20
  .array();
21
21
  class SubmitDynamicFormsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.submitDynamicFormsSchema) {
@@ -4393,7 +4393,6 @@ export interface components {
4393
4393
  referralCode: string;
4394
4394
  }[];
4395
4395
  };
4396
- TypeError: Record<string, never>;
4397
4396
  UpdateDynamicFormDto: {
4398
4397
  name: string;
4399
4398
  questions: {
@@ -8052,7 +8051,7 @@ export interface operations {
8052
8051
  [name: string]: unknown;
8053
8052
  };
8054
8053
  content: {
8055
- "application/json": components["schemas"]["TypeError"];
8054
+ "application/json": components["schemas"]["ErrorDto"];
8056
8055
  };
8057
8056
  };
8058
8057
  409: {
@@ -8060,7 +8059,7 @@ export interface operations {
8060
8059
  [name: string]: unknown;
8061
8060
  };
8062
8061
  content: {
8063
- "application/json": components["schemas"]["TypeError"];
8062
+ "application/json": components["schemas"]["ErrorDto"];
8064
8063
  };
8065
8064
  };
8066
8065
  };
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.7",
3
+ "version": "0.57.0-EXPO-379-EB-Rutas-necesarias.9",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,