expo-backend-types 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,25 @@
|
|
1
|
-
export declare const updateEventFolderSchema: import("zod").ZodObject<{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
export declare const updateEventFolderSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
color: import("zod").ZodString;
|
5
|
+
created_at: import("zod").ZodDate;
|
6
|
+
updated_at: import("zod").ZodDate;
|
7
|
+
}, "name" | "color">, "strip", import("zod").ZodTypeAny, {
|
8
|
+
name: string;
|
9
|
+
color: string;
|
7
10
|
}, {
|
8
|
-
name
|
9
|
-
color
|
11
|
+
name: string;
|
12
|
+
color: string;
|
10
13
|
}>;
|
11
14
|
declare const UpdateEventFolderDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
12
|
-
name: import("zod").
|
13
|
-
color: import("zod").
|
15
|
+
name: import("zod").ZodString;
|
16
|
+
color: import("zod").ZodString;
|
14
17
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
15
|
-
name
|
16
|
-
color
|
18
|
+
name: string;
|
19
|
+
color: string;
|
17
20
|
}, {
|
18
|
-
name
|
19
|
-
color
|
21
|
+
name: string;
|
22
|
+
color: string;
|
20
23
|
}>>;
|
21
24
|
export declare class UpdateEventFolderDto extends UpdateEventFolderDto_base {
|
22
25
|
}
|
@@ -3,12 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateEventFolderResponseDto = exports.updateEventFolderResponseSchema = exports.UpdateEventFolderDto = exports.updateEventFolderSchema = void 0;
|
4
4
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const event_folder_dto_1 = require("./event-folder.dto");
|
6
|
-
exports.updateEventFolderSchema = event_folder_dto_1.eventFolderSchema
|
7
|
-
.pick({
|
6
|
+
exports.updateEventFolderSchema = event_folder_dto_1.eventFolderSchema.pick({
|
8
7
|
name: true,
|
9
8
|
color: true,
|
10
|
-
})
|
11
|
-
.partial();
|
9
|
+
});
|
12
10
|
class UpdateEventFolderDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventFolderSchema) {
|
13
11
|
}
|
14
12
|
exports.UpdateEventFolderDto = UpdateEventFolderDto;
|