expo-backend-types 0.57.0-EXPO-379-EB-Rutas-necesarias.7 → 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<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) {
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.8",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,