expo-backend-types 0.57.0-EXPO-377-Etapa-4-Paquete-02.6 → 0.57.0-EXPO-377-Etapa-4-Paquete-02.7
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.
@@ -100,6 +100,19 @@ declare const DynamicFormDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
100
100
|
}>>;
|
101
101
|
export declare class DynamicFormDto extends DynamicFormDto_base {
|
102
102
|
}
|
103
|
+
declare const DynamicFormTypeDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
104
|
+
type: z.ZodNativeEnum<{
|
105
|
+
PERSONAL_INFO: "PERSONAL_INFO";
|
106
|
+
PRODUCTION: "PRODUCTION";
|
107
|
+
PARTICIPANT: "PARTICIPANT";
|
108
|
+
}>;
|
109
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
110
|
+
type: "PARTICIPANT" | "PERSONAL_INFO" | "PRODUCTION";
|
111
|
+
}, {
|
112
|
+
type: "PARTICIPANT" | "PERSONAL_INFO" | "PRODUCTION";
|
113
|
+
}>>;
|
114
|
+
export declare class DynamicFormTypeDto extends DynamicFormTypeDto_base {
|
115
|
+
}
|
103
116
|
declare const DynamicQuestionDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
104
117
|
id: z.ZodString;
|
105
118
|
formId: z.ZodString;
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.DynamicOptionDto = exports.DynamicQuestionDto = exports.DynamicFormDto = exports.dynamicOptionSchema = exports.dynamicQuestionSchema = exports.dynamicFormSchema = void 0;
|
6
|
+
exports.DynamicOptionDto = exports.DynamicQuestionDto = exports.DynamicFormTypeDto = exports.DynamicFormDto = exports.dynamicOptionSchema = exports.dynamicQuestionSchema = exports.dynamicFormSchema = void 0;
|
7
7
|
const translate_1 = require("../../i18n/translate");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
@@ -63,6 +63,11 @@ exports.dynamicOptionSchema = zod_1.default.object({
|
|
63
63
|
class DynamicFormDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.dynamicFormSchema) {
|
64
64
|
}
|
65
65
|
exports.DynamicFormDto = DynamicFormDto;
|
66
|
+
class DynamicFormTypeDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(zod_1.default.object({
|
67
|
+
type: exports.dynamicFormSchema.shape.type,
|
68
|
+
})) {
|
69
|
+
}
|
70
|
+
exports.DynamicFormTypeDto = DynamicFormTypeDto;
|
66
71
|
class DynamicQuestionDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.dynamicQuestionSchema) {
|
67
72
|
}
|
68
73
|
exports.DynamicQuestionDto = DynamicQuestionDto;
|
package/dist/types/schema.d.ts
CHANGED
@@ -8118,7 +8118,9 @@ export interface operations {
|
|
8118
8118
|
parameters: {
|
8119
8119
|
query?: never;
|
8120
8120
|
header?: never;
|
8121
|
-
path
|
8121
|
+
path: {
|
8122
|
+
type: "PERSONAL_INFO" | "PRODUCTION" | "PARTICIPANT";
|
8123
|
+
};
|
8122
8124
|
cookie?: never;
|
8123
8125
|
};
|
8124
8126
|
requestBody?: never;
|