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
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
9
|
-
groupId
|
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").
|
13
|
-
groupId: import("zod").
|
21
|
+
name: import("zod").ZodString;
|
22
|
+
groupId: import("zod").ZodString;
|
14
23
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
15
|
-
name
|
16
|
-
groupId
|
24
|
+
name: string;
|
25
|
+
groupId: string;
|
17
26
|
}, {
|
18
|
-
name
|
19
|
-
groupId
|
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;
|