expo-backend-types 0.4.0-EXPO-212.6 → 0.4.0-EXPO-212.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,31 @@
1
- export declare const updateTagSchema: import("zod").ZodObject<{
2
- name: import("zod").ZodOptional<import("zod").ZodString>;
3
- groupId: import("zod").ZodOptional<import("zod").ZodString>;
4
- }, "strip", import("zod").ZodTypeAny, {
5
- name?: string | undefined;
6
- groupId?: string | undefined;
1
+ export declare const updateTagSchema: import("zod").ZodObject<Pick<{
2
+ id: import("zod").ZodString;
3
+ name: import("zod").ZodString;
4
+ groupId: import("zod").ZodString;
5
+ type: import("zod").ZodNativeEnum<{
6
+ PROFILE: "PROFILE";
7
+ EVENT: "EVENT";
8
+ PARTICIPANT: "PARTICIPANT";
9
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
10
+ }>;
11
+ created_at: import("zod").ZodDate;
12
+ updated_at: import("zod").ZodDate;
13
+ }, "name" | "groupId">, "strip", import("zod").ZodTypeAny, {
14
+ name: string;
15
+ groupId: string;
7
16
  }, {
8
- name?: string | undefined;
9
- groupId?: string | undefined;
17
+ name: string;
18
+ groupId: string;
10
19
  }>;
11
20
  declare const UpdateTagDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
12
- name: import("zod").ZodOptional<import("zod").ZodString>;
13
- groupId: import("zod").ZodOptional<import("zod").ZodString>;
21
+ name: import("zod").ZodString;
22
+ groupId: import("zod").ZodString;
14
23
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
15
- name?: string | undefined;
16
- groupId?: string | undefined;
24
+ name: string;
25
+ groupId: string;
17
26
  }, {
18
- name?: string | undefined;
19
- groupId?: string | undefined;
27
+ name: string;
28
+ groupId: string;
20
29
  }>>;
21
30
  export declare class UpdateTagDto extends UpdateTagDto_base {
22
31
  }
@@ -3,12 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateTagResponseDto = exports.updateTagResponseSchema = exports.UpdateTagDto = exports.updateTagSchema = void 0;
4
4
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
5
  const tag_dto_1 = require("./tag.dto");
6
- exports.updateTagSchema = tag_dto_1.tagSchema
7
- .pick({
6
+ exports.updateTagSchema = tag_dto_1.tagSchema.pick({
8
7
  name: true,
9
8
  groupId: true,
10
- })
11
- .partial();
9
+ });
12
10
  class UpdateTagDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTagSchema) {
13
11
  }
14
12
  exports.UpdateTagDto = UpdateTagDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.4.0-EXPO-212.6",
3
+ "version": "0.4.0-EXPO-212.7",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,