expo-backend-types 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/account/dto/account.dto.d.ts +11 -201
- package/dist/src/account/dto/account.dto.js +4 -21
- package/dist/src/account/dto/create-account.dto.d.ts +9 -301
- package/dist/src/account/dto/create-account.dto.js +3 -4
- package/dist/src/account/dto/get-global-filter.dto.d.ts +24 -20
- package/dist/src/account/dto/get-global-filter.dto.js +10 -6
- package/dist/src/account/dto/get-me.dto.d.ts +214 -188
- package/dist/src/account/dto/get-me.dto.js +27 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +136 -169
- package/dist/src/account/dto/update-global-filter.dto.js +7 -15
- package/dist/src/auth/dto/login.dto.d.ts +34 -414
- package/dist/src/auth/dto/login.dto.js +5 -4
- package/dist/src/auth/dto/refresh.dto.d.ts +30 -0
- package/dist/src/auth/dto/refresh.dto.js +17 -0
- package/dist/src/comment/dto/comment.dto.d.ts +21 -15
- package/dist/src/comment/dto/comment.dto.js +11 -6
- package/dist/src/comment/dto/create-comment.dto.d.ts +106 -0
- package/dist/src/comment/dto/create-comment.dto.js +18 -0
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +177 -0
- package/dist/src/comment/dto/get-by-profile-comment.dto.js +21 -0
- package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +71 -0
- package/dist/src/comment/dto/toggle-solve-comment.dto.js +10 -0
- package/dist/src/comment/exports.d.ts +3 -0
- package/dist/src/comment/exports.js +3 -0
- package/dist/src/event/dto/event.dto.d.ts +10 -16
- package/dist/src/event/dto/event.dto.js +6 -10
- package/dist/src/event-folder/dto/event-folder.dto.d.ts +6 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +2 -0
- package/dist/src/event-folder/exports.d.ts +1 -0
- package/dist/src/event-folder/exports.js +18 -0
- package/dist/src/exports.d.ts +5 -3
- package/dist/src/exports.js +5 -3
- package/dist/src/i18n/es.d.ts +210 -0
- package/dist/src/i18n/es.js +212 -0
- package/dist/src/i18n/es.js.map +1 -0
- package/dist/src/i18n/translate.d.ts +9 -2
- package/dist/src/i18n/translate.js +3 -3
- package/dist/src/i18n/translate.js.map +1 -1
- package/dist/src/profile/dto/profile.dto.d.ts +68 -0
- package/dist/src/profile/dto/profile.dto.js +59 -0
- package/dist/src/profile/exports.d.ts +1 -0
- package/dist/src/profile/exports.js +18 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.d.ts +4 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +10 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -0
- package/dist/src/shared/dto-modification/without-dates.d.ts +4 -0
- package/dist/src/shared/dto-modification/without-dates.js +6 -0
- package/dist/src/shared/dto-modification/without-dates.js.map +1 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js +28 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -0
- package/dist/src/tag/dto/create-tag.dto.d.ts +5 -16
- package/dist/src/tag/dto/create-tag.dto.js +3 -3
- package/dist/src/tag/dto/delete-tag.dto.d.ts +7 -7
- package/dist/src/tag/dto/delete-tag.dto.js +2 -2
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +34 -35
- package/dist/src/tag/dto/find-all-tag.dto.js +2 -2
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +35 -36
- package/dist/src/tag/dto/find-by-group-tag.dto.js +5 -5
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +23 -24
- package/dist/src/tag/dto/find-one-tag.dto.js +2 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +260 -0
- package/dist/src/tag/dto/massive-allocation.dto.js +24 -0
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +260 -0
- package/dist/src/tag/dto/massive-deallocation.dto.js +24 -0
- package/dist/src/tag/dto/tag.dto.d.ts +7 -7
- package/dist/src/tag/dto/tag.dto.js +3 -3
- package/dist/src/tag/dto/update-tag.dto.d.ts +31 -22
- package/dist/src/tag/dto/update-tag.dto.js +5 -7
- package/dist/src/tag/exports.d.ts +2 -1
- package/dist/src/tag/exports.js +2 -1
- package/dist/src/tag-group/dto/create-tag-group.dto.d.ts +78 -0
- package/dist/src/tag-group/dto/create-tag-group.dto.js +18 -0
- package/dist/src/tag-group/dto/delete-tag-group.dto.d.ts +47 -0
- package/dist/src/tag-group/dto/delete-tag-group.dto.js +10 -0
- package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +207 -0
- package/dist/src/tag-group/dto/find-all-tag-group.dto.js +19 -0
- package/dist/src/{tag/dto/find-all-grouped-tag.dto.d.ts → tag-group/dto/find-all-with-tags.dto.d.ts} +24 -28
- package/dist/src/{tag/dto/find-all-grouped-tag.dto.js → tag-group/dto/find-all-with-tags.dto.js} +8 -8
- package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +135 -0
- package/dist/src/tag-group/dto/find-one-tag-group.dto.js +17 -0
- package/dist/src/tag-group/dto/tag-group.dto.d.ts +9 -9
- package/dist/src/tag-group/dto/tag-group.dto.js +5 -3
- package/dist/src/tag-group/dto/update-tag-group.dto.d.ts +78 -0
- package/dist/src/tag-group/dto/update-tag-group.dto.js +18 -0
- package/dist/src/tag-group/exports.d.ts +6 -0
- package/dist/src/tag-group/exports.js +6 -0
- package/dist/types/prisma-schema/edge.js +4 -4
- package/dist/types/prisma-schema/index-browser.js +1 -1
- package/dist/types/prisma-schema/index.d.ts +53 -53
- package/dist/types/prisma-schema/index.js +4 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -1
- package/dist/types/prisma-schema/wasm.js +1 -1
- package/dist/types/schema.d.ts +787 -184
- package/package.json +10 -6
- package/dist/src/i18n/es.json +0 -125
package/dist/src/{tag/dto/find-all-grouped-tag.dto.d.ts → tag-group/dto/find-all-with-tags.dto.d.ts}
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
export declare const
|
2
|
+
export declare const findAllWithTagsResponseSchema: z.ZodObject<{
|
3
3
|
groups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
4
4
|
id: z.ZodString;
|
5
5
|
name: z.ZodString;
|
@@ -138,16 +138,13 @@ export declare const findAllGroupedTagResponseSchema: z.ZodObject<{
|
|
138
138
|
};
|
139
139
|
}[];
|
140
140
|
}>;
|
141
|
-
declare const
|
142
|
-
groups: z.ZodArray<z.ZodObject<
|
141
|
+
declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
142
|
+
groups: z.ZodArray<z.ZodObject<{
|
143
143
|
id: z.ZodString;
|
144
144
|
name: z.ZodString;
|
145
145
|
color: z.ZodString;
|
146
146
|
isExclusive: z.ZodBoolean;
|
147
|
-
|
148
|
-
updated_at: z.ZodDate;
|
149
|
-
}, "id" | "name" | "color" | "isExclusive">, {
|
150
|
-
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
147
|
+
tags: z.ZodArray<z.ZodObject<{
|
151
148
|
id: z.ZodString;
|
152
149
|
name: z.ZodString;
|
153
150
|
groupId: z.ZodString;
|
@@ -157,22 +154,21 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
157
154
|
PARTICIPANT: "PARTICIPANT";
|
158
155
|
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
159
156
|
}>;
|
160
|
-
created_at: z.
|
161
|
-
updated_at: z.
|
162
|
-
}, {
|
157
|
+
created_at: z.ZodString;
|
158
|
+
updated_at: z.ZodString;
|
163
159
|
_count: z.ZodObject<{
|
164
160
|
profiles: z.ZodNumber;
|
165
|
-
},
|
161
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
166
162
|
profiles: number;
|
167
163
|
}, {
|
168
164
|
profiles: number;
|
169
165
|
}>;
|
170
|
-
}
|
166
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
171
167
|
id: string;
|
172
168
|
name: string;
|
173
169
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
174
|
-
created_at:
|
175
|
-
updated_at:
|
170
|
+
created_at: string;
|
171
|
+
updated_at: string;
|
176
172
|
groupId: string;
|
177
173
|
_count: {
|
178
174
|
profiles: number;
|
@@ -181,8 +177,8 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
181
177
|
id: string;
|
182
178
|
name: string;
|
183
179
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
184
|
-
created_at:
|
185
|
-
updated_at:
|
180
|
+
created_at: string;
|
181
|
+
updated_at: string;
|
186
182
|
groupId: string;
|
187
183
|
_count: {
|
188
184
|
profiles: number;
|
@@ -190,12 +186,12 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
190
186
|
}>, "many">;
|
191
187
|
_count: z.ZodObject<{
|
192
188
|
tags: z.ZodNumber;
|
193
|
-
},
|
189
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
194
190
|
tags: number;
|
195
191
|
}, {
|
196
192
|
tags: number;
|
197
193
|
}>;
|
198
|
-
}
|
194
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
199
195
|
id: string;
|
200
196
|
name: string;
|
201
197
|
color: string;
|
@@ -204,8 +200,8 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
204
200
|
id: string;
|
205
201
|
name: string;
|
206
202
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
207
|
-
created_at:
|
208
|
-
updated_at:
|
203
|
+
created_at: string;
|
204
|
+
updated_at: string;
|
209
205
|
groupId: string;
|
210
206
|
_count: {
|
211
207
|
profiles: number;
|
@@ -223,8 +219,8 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
223
219
|
id: string;
|
224
220
|
name: string;
|
225
221
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
226
|
-
created_at:
|
227
|
-
updated_at:
|
222
|
+
created_at: string;
|
223
|
+
updated_at: string;
|
228
224
|
groupId: string;
|
229
225
|
_count: {
|
230
226
|
profiles: number;
|
@@ -234,7 +230,7 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
234
230
|
tags: number;
|
235
231
|
};
|
236
232
|
}>, "many">;
|
237
|
-
},
|
233
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
238
234
|
groups: {
|
239
235
|
id: string;
|
240
236
|
name: string;
|
@@ -244,8 +240,8 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
244
240
|
id: string;
|
245
241
|
name: string;
|
246
242
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
247
|
-
created_at:
|
248
|
-
updated_at:
|
243
|
+
created_at: string;
|
244
|
+
updated_at: string;
|
249
245
|
groupId: string;
|
250
246
|
_count: {
|
251
247
|
profiles: number;
|
@@ -265,8 +261,8 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
265
261
|
id: string;
|
266
262
|
name: string;
|
267
263
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
268
|
-
created_at:
|
269
|
-
updated_at:
|
264
|
+
created_at: string;
|
265
|
+
updated_at: string;
|
270
266
|
groupId: string;
|
271
267
|
_count: {
|
272
268
|
profiles: number;
|
@@ -277,6 +273,6 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
277
273
|
};
|
278
274
|
}[];
|
279
275
|
}>>;
|
280
|
-
export declare class
|
276
|
+
export declare class FindAllWithTagsResponseDto extends FindAllWithTagsResponseDto_base {
|
281
277
|
}
|
282
278
|
export {};
|
package/dist/src/{tag/dto/find-all-grouped-tag.dto.js → tag-group/dto/find-all-with-tags.dto.js}
RENAMED
@@ -3,12 +3,12 @@ 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.
|
7
|
-
const
|
8
|
-
const tag_group_dto_1 = require("
|
9
|
-
const
|
6
|
+
exports.FindAllWithTagsResponseDto = exports.findAllWithTagsResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const tag_group_dto_1 = require("./tag-group.dto");
|
9
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
|
-
exports.
|
11
|
+
exports.findAllWithTagsResponseSchema = zod_1.default.object({
|
12
12
|
groups: zod_1.default.array(tag_group_dto_1.tagGroupSchema
|
13
13
|
.pick({
|
14
14
|
id: true,
|
@@ -27,7 +27,7 @@ exports.findAllGroupedTagResponseSchema = zod_1.default.object({
|
|
27
27
|
}),
|
28
28
|
}))),
|
29
29
|
});
|
30
|
-
class
|
30
|
+
class FindAllWithTagsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllWithTagsResponseSchema) {
|
31
31
|
}
|
32
|
-
exports.
|
33
|
-
//# sourceMappingURL=find-all-
|
32
|
+
exports.FindAllWithTagsResponseDto = FindAllWithTagsResponseDto;
|
33
|
+
//# sourceMappingURL=find-all-with-tags.dto.js.map
|
@@ -0,0 +1,135 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const findOneTagGroupResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
+
id: z.ZodString;
|
4
|
+
name: z.ZodString;
|
5
|
+
color: z.ZodString;
|
6
|
+
isExclusive: z.ZodBoolean;
|
7
|
+
created_at: z.ZodDate;
|
8
|
+
updated_at: z.ZodDate;
|
9
|
+
}, {
|
10
|
+
tags: z.ZodArray<z.ZodObject<{
|
11
|
+
id: z.ZodString;
|
12
|
+
name: z.ZodString;
|
13
|
+
groupId: z.ZodString;
|
14
|
+
type: z.ZodNativeEnum<{
|
15
|
+
PROFILE: "PROFILE";
|
16
|
+
EVENT: "EVENT";
|
17
|
+
PARTICIPANT: "PARTICIPANT";
|
18
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
19
|
+
}>;
|
20
|
+
created_at: z.ZodDate;
|
21
|
+
updated_at: z.ZodDate;
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
23
|
+
id: string;
|
24
|
+
name: string;
|
25
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
26
|
+
created_at: Date;
|
27
|
+
updated_at: Date;
|
28
|
+
groupId: string;
|
29
|
+
}, {
|
30
|
+
id: string;
|
31
|
+
name: string;
|
32
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
33
|
+
created_at: Date;
|
34
|
+
updated_at: Date;
|
35
|
+
groupId: string;
|
36
|
+
}>, "many">;
|
37
|
+
}>, "strip", z.ZodTypeAny, {
|
38
|
+
id: string;
|
39
|
+
name: string;
|
40
|
+
color: string;
|
41
|
+
created_at: Date;
|
42
|
+
updated_at: Date;
|
43
|
+
isExclusive: boolean;
|
44
|
+
tags: {
|
45
|
+
id: string;
|
46
|
+
name: string;
|
47
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
48
|
+
created_at: Date;
|
49
|
+
updated_at: Date;
|
50
|
+
groupId: string;
|
51
|
+
}[];
|
52
|
+
}, {
|
53
|
+
id: string;
|
54
|
+
name: string;
|
55
|
+
color: string;
|
56
|
+
created_at: Date;
|
57
|
+
updated_at: Date;
|
58
|
+
isExclusive: boolean;
|
59
|
+
tags: {
|
60
|
+
id: string;
|
61
|
+
name: string;
|
62
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
63
|
+
created_at: Date;
|
64
|
+
updated_at: Date;
|
65
|
+
groupId: string;
|
66
|
+
}[];
|
67
|
+
}>;
|
68
|
+
declare const FindOneTagGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
69
|
+
id: z.ZodString;
|
70
|
+
name: z.ZodString;
|
71
|
+
color: z.ZodString;
|
72
|
+
isExclusive: z.ZodBoolean;
|
73
|
+
created_at: z.ZodString;
|
74
|
+
updated_at: z.ZodString;
|
75
|
+
tags: z.ZodArray<z.ZodObject<{
|
76
|
+
id: z.ZodString;
|
77
|
+
name: z.ZodString;
|
78
|
+
groupId: z.ZodString;
|
79
|
+
type: z.ZodNativeEnum<{
|
80
|
+
PROFILE: "PROFILE";
|
81
|
+
EVENT: "EVENT";
|
82
|
+
PARTICIPANT: "PARTICIPANT";
|
83
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
84
|
+
}>;
|
85
|
+
created_at: z.ZodString;
|
86
|
+
updated_at: z.ZodString;
|
87
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
88
|
+
id: string;
|
89
|
+
name: string;
|
90
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
91
|
+
created_at: string;
|
92
|
+
updated_at: string;
|
93
|
+
groupId: string;
|
94
|
+
}, {
|
95
|
+
id: string;
|
96
|
+
name: string;
|
97
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
98
|
+
created_at: string;
|
99
|
+
updated_at: string;
|
100
|
+
groupId: string;
|
101
|
+
}>, "many">;
|
102
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
103
|
+
id: string;
|
104
|
+
name: string;
|
105
|
+
color: string;
|
106
|
+
created_at: string;
|
107
|
+
updated_at: string;
|
108
|
+
isExclusive: boolean;
|
109
|
+
tags: {
|
110
|
+
id: string;
|
111
|
+
name: string;
|
112
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
113
|
+
created_at: string;
|
114
|
+
updated_at: string;
|
115
|
+
groupId: string;
|
116
|
+
}[];
|
117
|
+
}, {
|
118
|
+
id: string;
|
119
|
+
name: string;
|
120
|
+
color: string;
|
121
|
+
created_at: string;
|
122
|
+
updated_at: string;
|
123
|
+
isExclusive: boolean;
|
124
|
+
tags: {
|
125
|
+
id: string;
|
126
|
+
name: string;
|
127
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
128
|
+
created_at: string;
|
129
|
+
updated_at: string;
|
130
|
+
groupId: string;
|
131
|
+
}[];
|
132
|
+
}>>;
|
133
|
+
export declare class FindOneTagGroupResponseDto extends FindOneTagGroupResponseDto_base {
|
134
|
+
}
|
135
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.FindOneTagGroupResponseDto = exports.findOneTagGroupResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const tag_group_dto_1 = require("./tag-group.dto");
|
9
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.findOneTagGroupResponseSchema = tag_group_dto_1.tagGroupSchema.merge(zod_1.default.object({
|
12
|
+
tags: zod_1.default.array(tag_dto_1.tagSchema),
|
13
|
+
}));
|
14
|
+
class FindOneTagGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findOneTagGroupResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.FindOneTagGroupResponseDto = FindOneTagGroupResponseDto;
|
17
|
+
//# sourceMappingURL=find-one-tag-group.dto.js.map
|
@@ -10,38 +10,38 @@ export declare const tagGroupSchema: z.ZodObject<{
|
|
10
10
|
id: string;
|
11
11
|
name: string;
|
12
12
|
color: string;
|
13
|
-
isExclusive: boolean;
|
14
13
|
created_at: Date;
|
15
14
|
updated_at: Date;
|
15
|
+
isExclusive: boolean;
|
16
16
|
}, {
|
17
17
|
id: string;
|
18
18
|
name: string;
|
19
19
|
color: string;
|
20
|
-
isExclusive: boolean;
|
21
20
|
created_at: Date;
|
22
21
|
updated_at: Date;
|
22
|
+
isExclusive: boolean;
|
23
23
|
}>;
|
24
24
|
declare const TagGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
25
25
|
id: z.ZodString;
|
26
26
|
name: z.ZodString;
|
27
27
|
color: z.ZodString;
|
28
28
|
isExclusive: z.ZodBoolean;
|
29
|
-
created_at: z.
|
30
|
-
updated_at: z.
|
31
|
-
},
|
29
|
+
created_at: z.ZodString;
|
30
|
+
updated_at: z.ZodString;
|
31
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
32
32
|
id: string;
|
33
33
|
name: string;
|
34
34
|
color: string;
|
35
|
+
created_at: string;
|
36
|
+
updated_at: string;
|
35
37
|
isExclusive: boolean;
|
36
|
-
created_at: Date;
|
37
|
-
updated_at: Date;
|
38
38
|
}, {
|
39
39
|
id: string;
|
40
40
|
name: string;
|
41
41
|
color: string;
|
42
|
+
created_at: string;
|
43
|
+
updated_at: string;
|
42
44
|
isExclusive: boolean;
|
43
|
-
created_at: Date;
|
44
|
-
updated_at: Date;
|
45
45
|
}>>;
|
46
46
|
export declare class TagGroupDto extends TagGroupDto_base {
|
47
47
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.TagGroupDto = exports.tagGroupSchema = void 0;
|
4
4
|
const translate_1 = require("../../i18n/translate");
|
5
|
-
const
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
6
|
const zod_1 = require("zod");
|
7
7
|
exports.tagGroupSchema = zod_1.z.object({
|
8
8
|
id: zod_1.z.string().uuid({
|
@@ -13,7 +13,9 @@ exports.tagGroupSchema = zod_1.z.object({
|
|
13
13
|
}),
|
14
14
|
color: zod_1.z
|
15
15
|
.string()
|
16
|
-
.length(7
|
16
|
+
.length(7, {
|
17
|
+
message: (0, translate_1.translate)('model.tagGroup.color.invalid'),
|
18
|
+
})
|
17
19
|
.startsWith('#', {
|
18
20
|
message: (0, translate_1.translate)('model.tagGroup.color.invalid'),
|
19
21
|
})
|
@@ -22,7 +24,7 @@ exports.tagGroupSchema = zod_1.z.object({
|
|
22
24
|
created_at: zod_1.z.date(),
|
23
25
|
updated_at: zod_1.z.date(),
|
24
26
|
});
|
25
|
-
class TagGroupDto extends (0,
|
27
|
+
class TagGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.tagGroupSchema) {
|
26
28
|
}
|
27
29
|
exports.TagGroupDto = TagGroupDto;
|
28
30
|
//# sourceMappingURL=tag-group.dto.js.map
|
@@ -0,0 +1,78 @@
|
|
1
|
+
export declare const updateTagGroupSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
color: import("zod").ZodString;
|
5
|
+
isExclusive: import("zod").ZodBoolean;
|
6
|
+
created_at: import("zod").ZodDate;
|
7
|
+
updated_at: import("zod").ZodDate;
|
8
|
+
}, "name" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
9
|
+
name: string;
|
10
|
+
color: string;
|
11
|
+
isExclusive: boolean;
|
12
|
+
}, {
|
13
|
+
name: string;
|
14
|
+
color: string;
|
15
|
+
isExclusive: boolean;
|
16
|
+
}>;
|
17
|
+
declare const UpdateTagGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
18
|
+
name: import("zod").ZodString;
|
19
|
+
color: import("zod").ZodString;
|
20
|
+
isExclusive: import("zod").ZodBoolean;
|
21
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
22
|
+
name: string;
|
23
|
+
color: string;
|
24
|
+
isExclusive: boolean;
|
25
|
+
}, {
|
26
|
+
name: string;
|
27
|
+
color: string;
|
28
|
+
isExclusive: boolean;
|
29
|
+
}>>;
|
30
|
+
export declare class UpdateTagGroupDto extends UpdateTagGroupDto_base {
|
31
|
+
}
|
32
|
+
export declare const updateTagGroupResponseSchema: import("zod").ZodObject<{
|
33
|
+
id: import("zod").ZodString;
|
34
|
+
name: import("zod").ZodString;
|
35
|
+
color: import("zod").ZodString;
|
36
|
+
isExclusive: import("zod").ZodBoolean;
|
37
|
+
created_at: import("zod").ZodDate;
|
38
|
+
updated_at: import("zod").ZodDate;
|
39
|
+
}, "strip", import("zod").ZodTypeAny, {
|
40
|
+
id: string;
|
41
|
+
name: string;
|
42
|
+
color: string;
|
43
|
+
created_at: Date;
|
44
|
+
updated_at: Date;
|
45
|
+
isExclusive: boolean;
|
46
|
+
}, {
|
47
|
+
id: string;
|
48
|
+
name: string;
|
49
|
+
color: string;
|
50
|
+
created_at: Date;
|
51
|
+
updated_at: Date;
|
52
|
+
isExclusive: boolean;
|
53
|
+
}>;
|
54
|
+
declare const UpdateTagGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
55
|
+
id: import("zod").ZodString;
|
56
|
+
name: import("zod").ZodString;
|
57
|
+
color: import("zod").ZodString;
|
58
|
+
isExclusive: import("zod").ZodBoolean;
|
59
|
+
created_at: import("zod").ZodString;
|
60
|
+
updated_at: import("zod").ZodString;
|
61
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
62
|
+
id: string;
|
63
|
+
name: string;
|
64
|
+
color: string;
|
65
|
+
created_at: string;
|
66
|
+
updated_at: string;
|
67
|
+
isExclusive: boolean;
|
68
|
+
}, {
|
69
|
+
id: string;
|
70
|
+
name: string;
|
71
|
+
color: string;
|
72
|
+
created_at: string;
|
73
|
+
updated_at: string;
|
74
|
+
isExclusive: boolean;
|
75
|
+
}>>;
|
76
|
+
export declare class UpdateTagGroupResponseDto extends UpdateTagGroupResponseDto_base {
|
77
|
+
}
|
78
|
+
export {};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateTagGroupResponseDto = exports.updateTagGroupResponseSchema = exports.UpdateTagGroupDto = exports.updateTagGroupSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const tag_group_dto_1 = require("./tag-group.dto");
|
6
|
+
exports.updateTagGroupSchema = tag_group_dto_1.tagGroupSchema.pick({
|
7
|
+
name: true,
|
8
|
+
color: true,
|
9
|
+
isExclusive: true,
|
10
|
+
});
|
11
|
+
class UpdateTagGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTagGroupSchema) {
|
12
|
+
}
|
13
|
+
exports.UpdateTagGroupDto = UpdateTagGroupDto;
|
14
|
+
exports.updateTagGroupResponseSchema = tag_group_dto_1.tagGroupSchema;
|
15
|
+
class UpdateTagGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTagGroupResponseSchema) {
|
16
|
+
}
|
17
|
+
exports.UpdateTagGroupResponseDto = UpdateTagGroupResponseDto;
|
18
|
+
//# sourceMappingURL=update-tag-group.dto.js.map
|
@@ -1 +1,7 @@
|
|
1
|
+
export * from './dto/create-tag-group.dto';
|
2
|
+
export * from './dto/delete-tag-group.dto';
|
3
|
+
export * from './dto/find-all-tag-group.dto';
|
4
|
+
export * from './dto/find-all-with-tags.dto';
|
5
|
+
export * from './dto/find-one-tag-group.dto';
|
1
6
|
export * from './dto/tag-group.dto';
|
7
|
+
export * from './dto/update-tag-group.dto';
|
@@ -14,5 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/create-tag-group.dto"), exports);
|
18
|
+
__exportStar(require("./dto/delete-tag-group.dto"), exports);
|
19
|
+
__exportStar(require("./dto/find-all-tag-group.dto"), exports);
|
20
|
+
__exportStar(require("./dto/find-all-with-tags.dto"), exports);
|
21
|
+
__exportStar(require("./dto/find-one-tag-group.dto"), exports);
|
17
22
|
__exportStar(require("./dto/tag-group.dto"), exports);
|
23
|
+
__exportStar(require("./dto/update-tag-group.dto"), exports);
|
18
24
|
//# sourceMappingURL=exports.js.map
|