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
- name: import("zod").ZodOptional<import("zod").ZodString>;
3
- color: import("zod").ZodOptional<import("zod").ZodString>;
4
- }, "strip", import("zod").ZodTypeAny, {
5
- name?: string | undefined;
6
- color?: string | undefined;
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?: string | undefined;
9
- color?: string | undefined;
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").ZodOptional<import("zod").ZodString>;
13
- color: import("zod").ZodOptional<import("zod").ZodString>;
15
+ name: import("zod").ZodString;
16
+ color: import("zod").ZodString;
14
17
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
15
- name?: string | undefined;
16
- color?: string | undefined;
18
+ name: string;
19
+ color: string;
17
20
  }, {
18
- name?: string | undefined;
19
- color?: string | undefined;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,