expo-backend-types 0.3.0 → 0.4.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 +256 -0
- package/dist/src/account/dto/account.dto.js +53 -0
- package/dist/src/account/dto/create-account.dto.d.ts +381 -0
- package/dist/src/account/dto/create-account.dto.js +23 -0
- package/dist/src/account/dto/get-global-filter.dto.d.ts +154 -0
- package/dist/src/account/dto/get-global-filter.dto.js +30 -0
- package/dist/src/account/dto/get-me.dto.d.ts +251 -0
- package/dist/src/account/dto/get-me.dto.js +12 -0
- package/dist/src/account/dto/update-global-filter.dto.d.ts +208 -0
- package/dist/src/account/dto/update-global-filter.dto.js +29 -0
- package/dist/src/account/exports.d.ts +5 -0
- package/dist/src/account/exports.js +22 -0
- package/dist/src/auth/dto/login.dto.d.ts +416 -24
- package/dist/src/auth/dto/login.dto.js +3 -3
- package/dist/src/auth/exports.d.ts +0 -1
- package/dist/src/auth/exports.js +0 -1
- package/dist/src/comment/dto/comment.dto.d.ts +66 -0
- package/dist/src/comment/dto/comment.dto.js +26 -0
- package/dist/src/comment/exports.d.ts +1 -0
- package/dist/src/comment/exports.js +18 -0
- package/dist/src/event/dto/event.dto.d.ts +41 -0
- package/dist/src/event/dto/event.dto.js +33 -0
- package/dist/src/event/exports.d.ts +1 -0
- package/dist/src/{cuenta → event}/exports.js +1 -1
- package/dist/src/event-folder/dto/event-folder.dto.d.ts +14 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +22 -0
- package/dist/src/exports.d.ts +5 -1
- package/dist/src/exports.js +5 -1
- package/dist/src/i18n/es.json +125 -0
- package/dist/src/i18n/translate.d.ts +8 -0
- package/dist/src/i18n/translate.js +21 -0
- package/dist/src/i18n/translate.js.map +1 -0
- package/dist/src/tag/dto/create-tag.dto.d.ts +89 -0
- package/dist/src/tag/dto/create-tag.dto.js +20 -0
- package/dist/src/tag/dto/delete-tag.dto.d.ts +57 -0
- package/dist/src/tag/dto/delete-tag.dto.js +10 -0
- package/dist/src/tag/dto/find-all-grouped-tag.dto.d.ts +282 -0
- package/dist/src/tag/dto/find-all-grouped-tag.dto.js +33 -0
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +208 -0
- package/dist/src/tag/dto/find-all-tag.dto.js +19 -0
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +208 -0
- package/dist/src/tag/dto/find-by-group-tag.dto.js +19 -0
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +136 -0
- package/dist/src/tag/dto/find-one-tag.dto.js +17 -0
- package/dist/src/tag/dto/tag.dto.d.ts +58 -0
- package/dist/src/tag/dto/tag.dto.js +30 -0
- package/dist/src/tag/dto/update-tag.dto.d.ts +79 -0
- package/dist/src/tag/dto/update-tag.dto.js +19 -0
- package/dist/src/tag/exports.d.ts +8 -0
- package/dist/src/tag/exports.js +25 -0
- package/dist/src/tag-group/dto/tag-group.dto.d.ts +48 -0
- package/dist/src/tag-group/dto/tag-group.dto.js +28 -0
- package/dist/src/tag-group/exports.d.ts +1 -0
- package/dist/src/tag-group/exports.js +18 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/prisma-schema/edge.js +106 -64
- package/dist/types/prisma-schema/index-browser.js +103 -61
- package/dist/types/prisma-schema/index.d.ts +11442 -6088
- package/dist/types/prisma-schema/index.js +106 -64
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +175 -103
- package/dist/types/prisma-schema/wasm.js +103 -61
- package/dist/types/schema.d.ts +539 -26
- package/package.json +11 -7
- package/dist/src/auth/dto/register.dto.d.ts +0 -73
- package/dist/src/auth/dto/register.dto.js +0 -20
- package/dist/src/cuenta/dto/cuenta.dto.d.ts +0 -60
- package/dist/src/cuenta/dto/cuenta.dto.js +0 -31
- package/dist/src/cuenta/exports.d.ts +0 -1
@@ -0,0 +1,282 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const findAllGroupedTagResponseSchema: z.ZodObject<{
|
3
|
+
groups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
4
|
+
id: z.ZodString;
|
5
|
+
name: z.ZodString;
|
6
|
+
color: z.ZodString;
|
7
|
+
isExclusive: z.ZodBoolean;
|
8
|
+
created_at: z.ZodDate;
|
9
|
+
updated_at: z.ZodDate;
|
10
|
+
}, "id" | "name" | "color" | "isExclusive">, {
|
11
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
12
|
+
id: z.ZodString;
|
13
|
+
name: z.ZodString;
|
14
|
+
groupId: z.ZodString;
|
15
|
+
type: z.ZodNativeEnum<{
|
16
|
+
PROFILE: "PROFILE";
|
17
|
+
EVENT: "EVENT";
|
18
|
+
PARTICIPANT: "PARTICIPANT";
|
19
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
20
|
+
}>;
|
21
|
+
created_at: z.ZodDate;
|
22
|
+
updated_at: z.ZodDate;
|
23
|
+
}, {
|
24
|
+
_count: z.ZodObject<{
|
25
|
+
profiles: z.ZodNumber;
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
27
|
+
profiles: number;
|
28
|
+
}, {
|
29
|
+
profiles: number;
|
30
|
+
}>;
|
31
|
+
}>, "strip", z.ZodTypeAny, {
|
32
|
+
id: string;
|
33
|
+
name: string;
|
34
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
35
|
+
created_at: Date;
|
36
|
+
updated_at: Date;
|
37
|
+
groupId: string;
|
38
|
+
_count: {
|
39
|
+
profiles: number;
|
40
|
+
};
|
41
|
+
}, {
|
42
|
+
id: string;
|
43
|
+
name: string;
|
44
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
45
|
+
created_at: Date;
|
46
|
+
updated_at: Date;
|
47
|
+
groupId: string;
|
48
|
+
_count: {
|
49
|
+
profiles: number;
|
50
|
+
};
|
51
|
+
}>, "many">;
|
52
|
+
_count: z.ZodObject<{
|
53
|
+
tags: z.ZodNumber;
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
55
|
+
tags: number;
|
56
|
+
}, {
|
57
|
+
tags: number;
|
58
|
+
}>;
|
59
|
+
}>, "strip", z.ZodTypeAny, {
|
60
|
+
id: string;
|
61
|
+
name: string;
|
62
|
+
color: string;
|
63
|
+
isExclusive: boolean;
|
64
|
+
tags: {
|
65
|
+
id: string;
|
66
|
+
name: string;
|
67
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
68
|
+
created_at: Date;
|
69
|
+
updated_at: Date;
|
70
|
+
groupId: string;
|
71
|
+
_count: {
|
72
|
+
profiles: number;
|
73
|
+
};
|
74
|
+
}[];
|
75
|
+
_count: {
|
76
|
+
tags: number;
|
77
|
+
};
|
78
|
+
}, {
|
79
|
+
id: string;
|
80
|
+
name: string;
|
81
|
+
color: string;
|
82
|
+
isExclusive: boolean;
|
83
|
+
tags: {
|
84
|
+
id: string;
|
85
|
+
name: string;
|
86
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
87
|
+
created_at: Date;
|
88
|
+
updated_at: Date;
|
89
|
+
groupId: string;
|
90
|
+
_count: {
|
91
|
+
profiles: number;
|
92
|
+
};
|
93
|
+
}[];
|
94
|
+
_count: {
|
95
|
+
tags: number;
|
96
|
+
};
|
97
|
+
}>, "many">;
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
99
|
+
groups: {
|
100
|
+
id: string;
|
101
|
+
name: string;
|
102
|
+
color: string;
|
103
|
+
isExclusive: boolean;
|
104
|
+
tags: {
|
105
|
+
id: string;
|
106
|
+
name: string;
|
107
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
108
|
+
created_at: Date;
|
109
|
+
updated_at: Date;
|
110
|
+
groupId: string;
|
111
|
+
_count: {
|
112
|
+
profiles: number;
|
113
|
+
};
|
114
|
+
}[];
|
115
|
+
_count: {
|
116
|
+
tags: number;
|
117
|
+
};
|
118
|
+
}[];
|
119
|
+
}, {
|
120
|
+
groups: {
|
121
|
+
id: string;
|
122
|
+
name: string;
|
123
|
+
color: string;
|
124
|
+
isExclusive: boolean;
|
125
|
+
tags: {
|
126
|
+
id: string;
|
127
|
+
name: string;
|
128
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
129
|
+
created_at: Date;
|
130
|
+
updated_at: Date;
|
131
|
+
groupId: string;
|
132
|
+
_count: {
|
133
|
+
profiles: number;
|
134
|
+
};
|
135
|
+
}[];
|
136
|
+
_count: {
|
137
|
+
tags: number;
|
138
|
+
};
|
139
|
+
}[];
|
140
|
+
}>;
|
141
|
+
declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
142
|
+
groups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
143
|
+
id: z.ZodString;
|
144
|
+
name: z.ZodString;
|
145
|
+
color: z.ZodString;
|
146
|
+
isExclusive: z.ZodBoolean;
|
147
|
+
created_at: z.ZodDate;
|
148
|
+
updated_at: z.ZodDate;
|
149
|
+
}, "id" | "name" | "color" | "isExclusive">, {
|
150
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
151
|
+
id: z.ZodString;
|
152
|
+
name: z.ZodString;
|
153
|
+
groupId: z.ZodString;
|
154
|
+
type: z.ZodNativeEnum<{
|
155
|
+
PROFILE: "PROFILE";
|
156
|
+
EVENT: "EVENT";
|
157
|
+
PARTICIPANT: "PARTICIPANT";
|
158
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
159
|
+
}>;
|
160
|
+
created_at: z.ZodDate;
|
161
|
+
updated_at: z.ZodDate;
|
162
|
+
}, {
|
163
|
+
_count: z.ZodObject<{
|
164
|
+
profiles: z.ZodNumber;
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
166
|
+
profiles: number;
|
167
|
+
}, {
|
168
|
+
profiles: number;
|
169
|
+
}>;
|
170
|
+
}>, "strip", z.ZodTypeAny, {
|
171
|
+
id: string;
|
172
|
+
name: string;
|
173
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
174
|
+
created_at: Date;
|
175
|
+
updated_at: Date;
|
176
|
+
groupId: string;
|
177
|
+
_count: {
|
178
|
+
profiles: number;
|
179
|
+
};
|
180
|
+
}, {
|
181
|
+
id: string;
|
182
|
+
name: string;
|
183
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
184
|
+
created_at: Date;
|
185
|
+
updated_at: Date;
|
186
|
+
groupId: string;
|
187
|
+
_count: {
|
188
|
+
profiles: number;
|
189
|
+
};
|
190
|
+
}>, "many">;
|
191
|
+
_count: z.ZodObject<{
|
192
|
+
tags: z.ZodNumber;
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
194
|
+
tags: number;
|
195
|
+
}, {
|
196
|
+
tags: number;
|
197
|
+
}>;
|
198
|
+
}>, "strip", z.ZodTypeAny, {
|
199
|
+
id: string;
|
200
|
+
name: string;
|
201
|
+
color: string;
|
202
|
+
isExclusive: boolean;
|
203
|
+
tags: {
|
204
|
+
id: string;
|
205
|
+
name: string;
|
206
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
207
|
+
created_at: Date;
|
208
|
+
updated_at: Date;
|
209
|
+
groupId: string;
|
210
|
+
_count: {
|
211
|
+
profiles: number;
|
212
|
+
};
|
213
|
+
}[];
|
214
|
+
_count: {
|
215
|
+
tags: number;
|
216
|
+
};
|
217
|
+
}, {
|
218
|
+
id: string;
|
219
|
+
name: string;
|
220
|
+
color: string;
|
221
|
+
isExclusive: boolean;
|
222
|
+
tags: {
|
223
|
+
id: string;
|
224
|
+
name: string;
|
225
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
226
|
+
created_at: Date;
|
227
|
+
updated_at: Date;
|
228
|
+
groupId: string;
|
229
|
+
_count: {
|
230
|
+
profiles: number;
|
231
|
+
};
|
232
|
+
}[];
|
233
|
+
_count: {
|
234
|
+
tags: number;
|
235
|
+
};
|
236
|
+
}>, "many">;
|
237
|
+
}, "strip", z.ZodTypeAny, {
|
238
|
+
groups: {
|
239
|
+
id: string;
|
240
|
+
name: string;
|
241
|
+
color: string;
|
242
|
+
isExclusive: boolean;
|
243
|
+
tags: {
|
244
|
+
id: string;
|
245
|
+
name: string;
|
246
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
247
|
+
created_at: Date;
|
248
|
+
updated_at: Date;
|
249
|
+
groupId: string;
|
250
|
+
_count: {
|
251
|
+
profiles: number;
|
252
|
+
};
|
253
|
+
}[];
|
254
|
+
_count: {
|
255
|
+
tags: number;
|
256
|
+
};
|
257
|
+
}[];
|
258
|
+
}, {
|
259
|
+
groups: {
|
260
|
+
id: string;
|
261
|
+
name: string;
|
262
|
+
color: string;
|
263
|
+
isExclusive: boolean;
|
264
|
+
tags: {
|
265
|
+
id: string;
|
266
|
+
name: string;
|
267
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
268
|
+
created_at: Date;
|
269
|
+
updated_at: Date;
|
270
|
+
groupId: string;
|
271
|
+
_count: {
|
272
|
+
profiles: number;
|
273
|
+
};
|
274
|
+
}[];
|
275
|
+
_count: {
|
276
|
+
tags: number;
|
277
|
+
};
|
278
|
+
}[];
|
279
|
+
}>>;
|
280
|
+
export declare class FindAllGroupedTagResponseDto extends FindAllGroupedTagResponseDto_base {
|
281
|
+
}
|
282
|
+
export {};
|
@@ -0,0 +1,33 @@
|
|
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.FindAllGroupedTagResponseDto = exports.findAllGroupedTagResponseSchema = void 0;
|
7
|
+
const tag_dto_1 = require("./tag.dto");
|
8
|
+
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
9
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.findAllGroupedTagResponseSchema = zod_1.default.object({
|
12
|
+
groups: zod_1.default.array(tag_group_dto_1.tagGroupSchema
|
13
|
+
.pick({
|
14
|
+
id: true,
|
15
|
+
name: true,
|
16
|
+
isExclusive: true,
|
17
|
+
color: true,
|
18
|
+
})
|
19
|
+
.merge(zod_1.default.object({
|
20
|
+
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
21
|
+
_count: zod_1.default.object({
|
22
|
+
profiles: zod_1.default.number(),
|
23
|
+
}),
|
24
|
+
}))),
|
25
|
+
_count: zod_1.default.object({
|
26
|
+
tags: zod_1.default.number(),
|
27
|
+
}),
|
28
|
+
}))),
|
29
|
+
});
|
30
|
+
class FindAllGroupedTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.findAllGroupedTagResponseSchema) {
|
31
|
+
}
|
32
|
+
exports.FindAllGroupedTagResponseDto = FindAllGroupedTagResponseDto;
|
33
|
+
//# sourceMappingURL=find-all-grouped-tag.dto.js.map
|
@@ -0,0 +1,208 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const findAllTagResponseSchema: z.ZodObject<{
|
3
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
|
+
id: z.ZodString;
|
5
|
+
name: z.ZodString;
|
6
|
+
groupId: z.ZodString;
|
7
|
+
type: z.ZodNativeEnum<{
|
8
|
+
PROFILE: "PROFILE";
|
9
|
+
EVENT: "EVENT";
|
10
|
+
PARTICIPANT: "PARTICIPANT";
|
11
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
12
|
+
}>;
|
13
|
+
created_at: z.ZodDate;
|
14
|
+
updated_at: z.ZodDate;
|
15
|
+
}, {
|
16
|
+
group: z.ZodObject<{
|
17
|
+
id: z.ZodString;
|
18
|
+
name: z.ZodString;
|
19
|
+
color: z.ZodString;
|
20
|
+
isExclusive: z.ZodBoolean;
|
21
|
+
created_at: z.ZodDate;
|
22
|
+
updated_at: z.ZodDate;
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
24
|
+
id: string;
|
25
|
+
name: string;
|
26
|
+
color: string;
|
27
|
+
isExclusive: boolean;
|
28
|
+
created_at: Date;
|
29
|
+
updated_at: Date;
|
30
|
+
}, {
|
31
|
+
id: string;
|
32
|
+
name: string;
|
33
|
+
color: string;
|
34
|
+
isExclusive: boolean;
|
35
|
+
created_at: Date;
|
36
|
+
updated_at: Date;
|
37
|
+
}>;
|
38
|
+
}>, "strip", z.ZodTypeAny, {
|
39
|
+
id: string;
|
40
|
+
name: string;
|
41
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
42
|
+
created_at: Date;
|
43
|
+
updated_at: Date;
|
44
|
+
groupId: string;
|
45
|
+
group: {
|
46
|
+
id: string;
|
47
|
+
name: string;
|
48
|
+
color: string;
|
49
|
+
isExclusive: boolean;
|
50
|
+
created_at: Date;
|
51
|
+
updated_at: Date;
|
52
|
+
};
|
53
|
+
}, {
|
54
|
+
id: string;
|
55
|
+
name: string;
|
56
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
57
|
+
created_at: Date;
|
58
|
+
updated_at: Date;
|
59
|
+
groupId: string;
|
60
|
+
group: {
|
61
|
+
id: string;
|
62
|
+
name: string;
|
63
|
+
color: string;
|
64
|
+
isExclusive: boolean;
|
65
|
+
created_at: Date;
|
66
|
+
updated_at: Date;
|
67
|
+
};
|
68
|
+
}>, "many">;
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
70
|
+
tags: {
|
71
|
+
id: string;
|
72
|
+
name: string;
|
73
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
74
|
+
created_at: Date;
|
75
|
+
updated_at: Date;
|
76
|
+
groupId: string;
|
77
|
+
group: {
|
78
|
+
id: string;
|
79
|
+
name: string;
|
80
|
+
color: string;
|
81
|
+
isExclusive: boolean;
|
82
|
+
created_at: Date;
|
83
|
+
updated_at: Date;
|
84
|
+
};
|
85
|
+
}[];
|
86
|
+
}, {
|
87
|
+
tags: {
|
88
|
+
id: string;
|
89
|
+
name: string;
|
90
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
91
|
+
created_at: Date;
|
92
|
+
updated_at: Date;
|
93
|
+
groupId: string;
|
94
|
+
group: {
|
95
|
+
id: string;
|
96
|
+
name: string;
|
97
|
+
color: string;
|
98
|
+
isExclusive: boolean;
|
99
|
+
created_at: Date;
|
100
|
+
updated_at: Date;
|
101
|
+
};
|
102
|
+
}[];
|
103
|
+
}>;
|
104
|
+
declare const FindAllTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
105
|
+
tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
106
|
+
id: z.ZodString;
|
107
|
+
name: z.ZodString;
|
108
|
+
groupId: z.ZodString;
|
109
|
+
type: z.ZodNativeEnum<{
|
110
|
+
PROFILE: "PROFILE";
|
111
|
+
EVENT: "EVENT";
|
112
|
+
PARTICIPANT: "PARTICIPANT";
|
113
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
114
|
+
}>;
|
115
|
+
created_at: z.ZodDate;
|
116
|
+
updated_at: z.ZodDate;
|
117
|
+
}, {
|
118
|
+
group: z.ZodObject<{
|
119
|
+
id: z.ZodString;
|
120
|
+
name: z.ZodString;
|
121
|
+
color: z.ZodString;
|
122
|
+
isExclusive: z.ZodBoolean;
|
123
|
+
created_at: z.ZodDate;
|
124
|
+
updated_at: z.ZodDate;
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
126
|
+
id: string;
|
127
|
+
name: string;
|
128
|
+
color: string;
|
129
|
+
isExclusive: boolean;
|
130
|
+
created_at: Date;
|
131
|
+
updated_at: Date;
|
132
|
+
}, {
|
133
|
+
id: string;
|
134
|
+
name: string;
|
135
|
+
color: string;
|
136
|
+
isExclusive: boolean;
|
137
|
+
created_at: Date;
|
138
|
+
updated_at: Date;
|
139
|
+
}>;
|
140
|
+
}>, "strip", z.ZodTypeAny, {
|
141
|
+
id: string;
|
142
|
+
name: string;
|
143
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
144
|
+
created_at: Date;
|
145
|
+
updated_at: Date;
|
146
|
+
groupId: string;
|
147
|
+
group: {
|
148
|
+
id: string;
|
149
|
+
name: string;
|
150
|
+
color: string;
|
151
|
+
isExclusive: boolean;
|
152
|
+
created_at: Date;
|
153
|
+
updated_at: Date;
|
154
|
+
};
|
155
|
+
}, {
|
156
|
+
id: string;
|
157
|
+
name: string;
|
158
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
159
|
+
created_at: Date;
|
160
|
+
updated_at: Date;
|
161
|
+
groupId: string;
|
162
|
+
group: {
|
163
|
+
id: string;
|
164
|
+
name: string;
|
165
|
+
color: string;
|
166
|
+
isExclusive: boolean;
|
167
|
+
created_at: Date;
|
168
|
+
updated_at: Date;
|
169
|
+
};
|
170
|
+
}>, "many">;
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
172
|
+
tags: {
|
173
|
+
id: string;
|
174
|
+
name: string;
|
175
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
176
|
+
created_at: Date;
|
177
|
+
updated_at: Date;
|
178
|
+
groupId: string;
|
179
|
+
group: {
|
180
|
+
id: string;
|
181
|
+
name: string;
|
182
|
+
color: string;
|
183
|
+
isExclusive: boolean;
|
184
|
+
created_at: Date;
|
185
|
+
updated_at: Date;
|
186
|
+
};
|
187
|
+
}[];
|
188
|
+
}, {
|
189
|
+
tags: {
|
190
|
+
id: string;
|
191
|
+
name: string;
|
192
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
193
|
+
created_at: Date;
|
194
|
+
updated_at: Date;
|
195
|
+
groupId: string;
|
196
|
+
group: {
|
197
|
+
id: string;
|
198
|
+
name: string;
|
199
|
+
color: string;
|
200
|
+
isExclusive: boolean;
|
201
|
+
created_at: Date;
|
202
|
+
updated_at: Date;
|
203
|
+
};
|
204
|
+
}[];
|
205
|
+
}>>;
|
206
|
+
export declare class FindAllTagResponseDto extends FindAllTagResponseDto_base {
|
207
|
+
}
|
208
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
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.FindAllTagResponseDto = exports.findAllTagResponseSchema = void 0;
|
7
|
+
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
8
|
+
const tag_dto_1 = require("./tag.dto");
|
9
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.findAllTagResponseSchema = zod_1.default.object({
|
12
|
+
tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
|
13
|
+
group: tag_group_dto_1.tagGroupSchema,
|
14
|
+
}))),
|
15
|
+
});
|
16
|
+
class FindAllTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.findAllTagResponseSchema) {
|
17
|
+
}
|
18
|
+
exports.FindAllTagResponseDto = FindAllTagResponseDto;
|
19
|
+
//# sourceMappingURL=find-all-tag.dto.js.map
|