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,256 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const accountSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
username: z.ZodString;
|
5
|
+
password: z.ZodString;
|
6
|
+
role: z.ZodNativeEnum<{
|
7
|
+
USER: "USER";
|
8
|
+
ADMIN: "ADMIN";
|
9
|
+
}>;
|
10
|
+
created_at: z.ZodString;
|
11
|
+
updated_at: z.ZodString;
|
12
|
+
globalFilter: z.ZodObject<{
|
13
|
+
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
14
|
+
id: z.ZodString;
|
15
|
+
name: z.ZodString;
|
16
|
+
groupId: z.ZodString;
|
17
|
+
type: z.ZodNativeEnum<{
|
18
|
+
PROFILE: "PROFILE";
|
19
|
+
EVENT: "EVENT";
|
20
|
+
PARTICIPANT: "PARTICIPANT";
|
21
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
22
|
+
}>;
|
23
|
+
created_at: z.ZodDate;
|
24
|
+
updated_at: z.ZodDate;
|
25
|
+
}, "id" | "name">, {
|
26
|
+
group: z.ZodObject<Pick<{
|
27
|
+
id: z.ZodString;
|
28
|
+
name: z.ZodString;
|
29
|
+
color: z.ZodString;
|
30
|
+
isExclusive: z.ZodBoolean;
|
31
|
+
created_at: z.ZodDate;
|
32
|
+
updated_at: z.ZodDate;
|
33
|
+
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
34
|
+
id: string;
|
35
|
+
color: string;
|
36
|
+
isExclusive: boolean;
|
37
|
+
}, {
|
38
|
+
id: string;
|
39
|
+
color: string;
|
40
|
+
isExclusive: boolean;
|
41
|
+
}>;
|
42
|
+
}>, "strip", z.ZodTypeAny, {
|
43
|
+
id: string;
|
44
|
+
name: string;
|
45
|
+
group: {
|
46
|
+
id: string;
|
47
|
+
color: string;
|
48
|
+
isExclusive: boolean;
|
49
|
+
};
|
50
|
+
}, {
|
51
|
+
id: string;
|
52
|
+
name: string;
|
53
|
+
group: {
|
54
|
+
id: string;
|
55
|
+
color: string;
|
56
|
+
isExclusive: boolean;
|
57
|
+
};
|
58
|
+
}>;
|
59
|
+
active: z.ZodBoolean;
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
61
|
+
tags: {
|
62
|
+
id: string;
|
63
|
+
name: string;
|
64
|
+
group: {
|
65
|
+
id: string;
|
66
|
+
color: string;
|
67
|
+
isExclusive: boolean;
|
68
|
+
};
|
69
|
+
};
|
70
|
+
active: boolean;
|
71
|
+
}, {
|
72
|
+
tags: {
|
73
|
+
id: string;
|
74
|
+
name: string;
|
75
|
+
group: {
|
76
|
+
id: string;
|
77
|
+
color: string;
|
78
|
+
isExclusive: boolean;
|
79
|
+
};
|
80
|
+
};
|
81
|
+
active: boolean;
|
82
|
+
}>;
|
83
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
84
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
86
|
+
id: string;
|
87
|
+
username: string;
|
88
|
+
password: string;
|
89
|
+
role: "USER" | "ADMIN";
|
90
|
+
created_at: string;
|
91
|
+
updated_at: string;
|
92
|
+
globalFilter: {
|
93
|
+
tags: {
|
94
|
+
id: string;
|
95
|
+
name: string;
|
96
|
+
group: {
|
97
|
+
id: string;
|
98
|
+
color: string;
|
99
|
+
isExclusive: boolean;
|
100
|
+
};
|
101
|
+
};
|
102
|
+
active: boolean;
|
103
|
+
};
|
104
|
+
isGlobalFilterActive: boolean;
|
105
|
+
fcmToken: string[];
|
106
|
+
}, {
|
107
|
+
id: string;
|
108
|
+
username: string;
|
109
|
+
password: string;
|
110
|
+
role: "USER" | "ADMIN";
|
111
|
+
created_at: string;
|
112
|
+
updated_at: string;
|
113
|
+
globalFilter: {
|
114
|
+
tags: {
|
115
|
+
id: string;
|
116
|
+
name: string;
|
117
|
+
group: {
|
118
|
+
id: string;
|
119
|
+
color: string;
|
120
|
+
isExclusive: boolean;
|
121
|
+
};
|
122
|
+
};
|
123
|
+
active: boolean;
|
124
|
+
};
|
125
|
+
isGlobalFilterActive?: boolean | undefined;
|
126
|
+
fcmToken?: string[] | undefined;
|
127
|
+
}>;
|
128
|
+
declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
129
|
+
id: z.ZodString;
|
130
|
+
username: z.ZodString;
|
131
|
+
password: z.ZodString;
|
132
|
+
role: z.ZodNativeEnum<{
|
133
|
+
USER: "USER";
|
134
|
+
ADMIN: "ADMIN";
|
135
|
+
}>;
|
136
|
+
created_at: z.ZodString;
|
137
|
+
updated_at: z.ZodString;
|
138
|
+
globalFilter: z.ZodObject<{
|
139
|
+
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
140
|
+
id: z.ZodString;
|
141
|
+
name: z.ZodString;
|
142
|
+
groupId: z.ZodString;
|
143
|
+
type: z.ZodNativeEnum<{
|
144
|
+
PROFILE: "PROFILE";
|
145
|
+
EVENT: "EVENT";
|
146
|
+
PARTICIPANT: "PARTICIPANT";
|
147
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
148
|
+
}>;
|
149
|
+
created_at: z.ZodDate;
|
150
|
+
updated_at: z.ZodDate;
|
151
|
+
}, "id" | "name">, {
|
152
|
+
group: z.ZodObject<Pick<{
|
153
|
+
id: z.ZodString;
|
154
|
+
name: z.ZodString;
|
155
|
+
color: z.ZodString;
|
156
|
+
isExclusive: z.ZodBoolean;
|
157
|
+
created_at: z.ZodDate;
|
158
|
+
updated_at: z.ZodDate;
|
159
|
+
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
160
|
+
id: string;
|
161
|
+
color: string;
|
162
|
+
isExclusive: boolean;
|
163
|
+
}, {
|
164
|
+
id: string;
|
165
|
+
color: string;
|
166
|
+
isExclusive: boolean;
|
167
|
+
}>;
|
168
|
+
}>, "strip", z.ZodTypeAny, {
|
169
|
+
id: string;
|
170
|
+
name: string;
|
171
|
+
group: {
|
172
|
+
id: string;
|
173
|
+
color: string;
|
174
|
+
isExclusive: boolean;
|
175
|
+
};
|
176
|
+
}, {
|
177
|
+
id: string;
|
178
|
+
name: string;
|
179
|
+
group: {
|
180
|
+
id: string;
|
181
|
+
color: string;
|
182
|
+
isExclusive: boolean;
|
183
|
+
};
|
184
|
+
}>;
|
185
|
+
active: z.ZodBoolean;
|
186
|
+
}, "strip", z.ZodTypeAny, {
|
187
|
+
tags: {
|
188
|
+
id: string;
|
189
|
+
name: string;
|
190
|
+
group: {
|
191
|
+
id: string;
|
192
|
+
color: string;
|
193
|
+
isExclusive: boolean;
|
194
|
+
};
|
195
|
+
};
|
196
|
+
active: boolean;
|
197
|
+
}, {
|
198
|
+
tags: {
|
199
|
+
id: string;
|
200
|
+
name: string;
|
201
|
+
group: {
|
202
|
+
id: string;
|
203
|
+
color: string;
|
204
|
+
isExclusive: boolean;
|
205
|
+
};
|
206
|
+
};
|
207
|
+
active: boolean;
|
208
|
+
}>;
|
209
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
210
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
212
|
+
id: string;
|
213
|
+
username: string;
|
214
|
+
password: string;
|
215
|
+
role: "USER" | "ADMIN";
|
216
|
+
created_at: string;
|
217
|
+
updated_at: string;
|
218
|
+
globalFilter: {
|
219
|
+
tags: {
|
220
|
+
id: string;
|
221
|
+
name: string;
|
222
|
+
group: {
|
223
|
+
id: string;
|
224
|
+
color: string;
|
225
|
+
isExclusive: boolean;
|
226
|
+
};
|
227
|
+
};
|
228
|
+
active: boolean;
|
229
|
+
};
|
230
|
+
isGlobalFilterActive: boolean;
|
231
|
+
fcmToken: string[];
|
232
|
+
}, {
|
233
|
+
id: string;
|
234
|
+
username: string;
|
235
|
+
password: string;
|
236
|
+
role: "USER" | "ADMIN";
|
237
|
+
created_at: string;
|
238
|
+
updated_at: string;
|
239
|
+
globalFilter: {
|
240
|
+
tags: {
|
241
|
+
id: string;
|
242
|
+
name: string;
|
243
|
+
group: {
|
244
|
+
id: string;
|
245
|
+
color: string;
|
246
|
+
isExclusive: boolean;
|
247
|
+
};
|
248
|
+
};
|
249
|
+
active: boolean;
|
250
|
+
};
|
251
|
+
isGlobalFilterActive?: boolean | undefined;
|
252
|
+
fcmToken?: string[] | undefined;
|
253
|
+
}>>;
|
254
|
+
export declare class CuentaDto extends CuentaDto_base {
|
255
|
+
}
|
256
|
+
export {};
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CuentaDto = exports.accountSchema = void 0;
|
4
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
5
|
+
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
6
|
+
const translate_1 = require("../../i18n/translate");
|
7
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
8
|
+
const zod_1 = require("zod");
|
9
|
+
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
10
|
+
exports.accountSchema = zod_1.z.object({
|
11
|
+
id: zod_1.z
|
12
|
+
.string({
|
13
|
+
required_error: (0, translate_1.translate)('model.account.id.required'),
|
14
|
+
})
|
15
|
+
.uuid({
|
16
|
+
message: (0, translate_1.translate)('model.account.id.uuid'),
|
17
|
+
}),
|
18
|
+
username: zod_1.z.string({
|
19
|
+
required_error: (0, translate_1.translate)('model.account.username.required'),
|
20
|
+
}),
|
21
|
+
password: zod_1.z
|
22
|
+
.string({
|
23
|
+
required_error: (0, translate_1.translate)('model.account.password.required'),
|
24
|
+
})
|
25
|
+
.min(6, (0, translate_1.translate)('model.account.password.min')),
|
26
|
+
role: zod_1.z.nativeEnum(prisma_schema_1.Role, {
|
27
|
+
required_error: (0, translate_1.translate)('model.account.role.required'),
|
28
|
+
message: (0, translate_1.translate)('model.account.role.invalid'),
|
29
|
+
}),
|
30
|
+
created_at: zod_1.z.string().datetime(),
|
31
|
+
updated_at: zod_1.z.string().datetime(),
|
32
|
+
globalFilter: zod_1.z.object({
|
33
|
+
tags: tag_dto_1.tagSchema
|
34
|
+
.pick({
|
35
|
+
id: true,
|
36
|
+
name: true,
|
37
|
+
})
|
38
|
+
.merge(zod_1.z.object({
|
39
|
+
group: tag_group_dto_1.tagGroupSchema.pick({
|
40
|
+
id: true,
|
41
|
+
color: true,
|
42
|
+
isExclusive: true,
|
43
|
+
}),
|
44
|
+
})),
|
45
|
+
active: zod_1.z.boolean(),
|
46
|
+
}),
|
47
|
+
isGlobalFilterActive: zod_1.z.boolean().default(false),
|
48
|
+
fcmToken: zod_1.z.array(zod_1.z.string()).default([]),
|
49
|
+
});
|
50
|
+
class CuentaDto extends (0, zod_nestjs_1.createZodDto)(exports.accountSchema) {
|
51
|
+
}
|
52
|
+
exports.CuentaDto = CuentaDto;
|
53
|
+
//# sourceMappingURL=account.dto.js.map
|
@@ -0,0 +1,381 @@
|
|
1
|
+
export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
username: import("zod").ZodString;
|
4
|
+
password: import("zod").ZodString;
|
5
|
+
role: import("zod").ZodNativeEnum<{
|
6
|
+
USER: "USER";
|
7
|
+
ADMIN: "ADMIN";
|
8
|
+
}>;
|
9
|
+
created_at: import("zod").ZodString;
|
10
|
+
updated_at: import("zod").ZodString;
|
11
|
+
globalFilter: import("zod").ZodObject<{
|
12
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
13
|
+
id: import("zod").ZodString;
|
14
|
+
name: import("zod").ZodString;
|
15
|
+
groupId: import("zod").ZodString;
|
16
|
+
type: import("zod").ZodNativeEnum<{
|
17
|
+
PROFILE: "PROFILE";
|
18
|
+
EVENT: "EVENT";
|
19
|
+
PARTICIPANT: "PARTICIPANT";
|
20
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
21
|
+
}>;
|
22
|
+
created_at: import("zod").ZodDate;
|
23
|
+
updated_at: import("zod").ZodDate;
|
24
|
+
}, "id" | "name">, {
|
25
|
+
group: import("zod").ZodObject<Pick<{
|
26
|
+
id: import("zod").ZodString;
|
27
|
+
name: import("zod").ZodString;
|
28
|
+
color: import("zod").ZodString;
|
29
|
+
isExclusive: import("zod").ZodBoolean;
|
30
|
+
created_at: import("zod").ZodDate;
|
31
|
+
updated_at: import("zod").ZodDate;
|
32
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
33
|
+
id: string;
|
34
|
+
color: string;
|
35
|
+
isExclusive: boolean;
|
36
|
+
}, {
|
37
|
+
id: string;
|
38
|
+
color: string;
|
39
|
+
isExclusive: boolean;
|
40
|
+
}>;
|
41
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
42
|
+
id: string;
|
43
|
+
name: string;
|
44
|
+
group: {
|
45
|
+
id: string;
|
46
|
+
color: string;
|
47
|
+
isExclusive: boolean;
|
48
|
+
};
|
49
|
+
}, {
|
50
|
+
id: string;
|
51
|
+
name: string;
|
52
|
+
group: {
|
53
|
+
id: string;
|
54
|
+
color: string;
|
55
|
+
isExclusive: boolean;
|
56
|
+
};
|
57
|
+
}>;
|
58
|
+
active: import("zod").ZodBoolean;
|
59
|
+
}, "strip", import("zod").ZodTypeAny, {
|
60
|
+
tags: {
|
61
|
+
id: string;
|
62
|
+
name: string;
|
63
|
+
group: {
|
64
|
+
id: string;
|
65
|
+
color: string;
|
66
|
+
isExclusive: boolean;
|
67
|
+
};
|
68
|
+
};
|
69
|
+
active: boolean;
|
70
|
+
}, {
|
71
|
+
tags: {
|
72
|
+
id: string;
|
73
|
+
name: string;
|
74
|
+
group: {
|
75
|
+
id: string;
|
76
|
+
color: string;
|
77
|
+
isExclusive: boolean;
|
78
|
+
};
|
79
|
+
};
|
80
|
+
active: boolean;
|
81
|
+
}>;
|
82
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
83
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
84
|
+
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
85
|
+
username: string;
|
86
|
+
password: string;
|
87
|
+
role: "USER" | "ADMIN";
|
88
|
+
}, {
|
89
|
+
username: string;
|
90
|
+
password: string;
|
91
|
+
role: "USER" | "ADMIN";
|
92
|
+
}>;
|
93
|
+
declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Pick<{
|
94
|
+
id: import("zod").ZodString;
|
95
|
+
username: import("zod").ZodString;
|
96
|
+
password: import("zod").ZodString;
|
97
|
+
role: import("zod").ZodNativeEnum<{
|
98
|
+
USER: "USER";
|
99
|
+
ADMIN: "ADMIN";
|
100
|
+
}>;
|
101
|
+
created_at: import("zod").ZodString;
|
102
|
+
updated_at: import("zod").ZodString;
|
103
|
+
globalFilter: import("zod").ZodObject<{
|
104
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
105
|
+
id: import("zod").ZodString;
|
106
|
+
name: import("zod").ZodString;
|
107
|
+
groupId: import("zod").ZodString;
|
108
|
+
type: import("zod").ZodNativeEnum<{
|
109
|
+
PROFILE: "PROFILE";
|
110
|
+
EVENT: "EVENT";
|
111
|
+
PARTICIPANT: "PARTICIPANT";
|
112
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
113
|
+
}>;
|
114
|
+
created_at: import("zod").ZodDate;
|
115
|
+
updated_at: import("zod").ZodDate;
|
116
|
+
}, "id" | "name">, {
|
117
|
+
group: import("zod").ZodObject<Pick<{
|
118
|
+
id: import("zod").ZodString;
|
119
|
+
name: import("zod").ZodString;
|
120
|
+
color: import("zod").ZodString;
|
121
|
+
isExclusive: import("zod").ZodBoolean;
|
122
|
+
created_at: import("zod").ZodDate;
|
123
|
+
updated_at: import("zod").ZodDate;
|
124
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
125
|
+
id: string;
|
126
|
+
color: string;
|
127
|
+
isExclusive: boolean;
|
128
|
+
}, {
|
129
|
+
id: string;
|
130
|
+
color: string;
|
131
|
+
isExclusive: boolean;
|
132
|
+
}>;
|
133
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
134
|
+
id: string;
|
135
|
+
name: string;
|
136
|
+
group: {
|
137
|
+
id: string;
|
138
|
+
color: string;
|
139
|
+
isExclusive: boolean;
|
140
|
+
};
|
141
|
+
}, {
|
142
|
+
id: string;
|
143
|
+
name: string;
|
144
|
+
group: {
|
145
|
+
id: string;
|
146
|
+
color: string;
|
147
|
+
isExclusive: boolean;
|
148
|
+
};
|
149
|
+
}>;
|
150
|
+
active: import("zod").ZodBoolean;
|
151
|
+
}, "strip", import("zod").ZodTypeAny, {
|
152
|
+
tags: {
|
153
|
+
id: string;
|
154
|
+
name: string;
|
155
|
+
group: {
|
156
|
+
id: string;
|
157
|
+
color: string;
|
158
|
+
isExclusive: boolean;
|
159
|
+
};
|
160
|
+
};
|
161
|
+
active: boolean;
|
162
|
+
}, {
|
163
|
+
tags: {
|
164
|
+
id: string;
|
165
|
+
name: string;
|
166
|
+
group: {
|
167
|
+
id: string;
|
168
|
+
color: string;
|
169
|
+
isExclusive: boolean;
|
170
|
+
};
|
171
|
+
};
|
172
|
+
active: boolean;
|
173
|
+
}>;
|
174
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
175
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
176
|
+
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
177
|
+
username: string;
|
178
|
+
password: string;
|
179
|
+
role: "USER" | "ADMIN";
|
180
|
+
}, {
|
181
|
+
username: string;
|
182
|
+
password: string;
|
183
|
+
role: "USER" | "ADMIN";
|
184
|
+
}>>;
|
185
|
+
export declare class CreateAccountDto extends CreateAccountDto_base {
|
186
|
+
}
|
187
|
+
export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
188
|
+
id: import("zod").ZodString;
|
189
|
+
username: import("zod").ZodString;
|
190
|
+
password: import("zod").ZodString;
|
191
|
+
role: import("zod").ZodNativeEnum<{
|
192
|
+
USER: "USER";
|
193
|
+
ADMIN: "ADMIN";
|
194
|
+
}>;
|
195
|
+
created_at: import("zod").ZodString;
|
196
|
+
updated_at: import("zod").ZodString;
|
197
|
+
globalFilter: import("zod").ZodObject<{
|
198
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
199
|
+
id: import("zod").ZodString;
|
200
|
+
name: import("zod").ZodString;
|
201
|
+
groupId: import("zod").ZodString;
|
202
|
+
type: import("zod").ZodNativeEnum<{
|
203
|
+
PROFILE: "PROFILE";
|
204
|
+
EVENT: "EVENT";
|
205
|
+
PARTICIPANT: "PARTICIPANT";
|
206
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
207
|
+
}>;
|
208
|
+
created_at: import("zod").ZodDate;
|
209
|
+
updated_at: import("zod").ZodDate;
|
210
|
+
}, "id" | "name">, {
|
211
|
+
group: import("zod").ZodObject<Pick<{
|
212
|
+
id: import("zod").ZodString;
|
213
|
+
name: import("zod").ZodString;
|
214
|
+
color: import("zod").ZodString;
|
215
|
+
isExclusive: import("zod").ZodBoolean;
|
216
|
+
created_at: import("zod").ZodDate;
|
217
|
+
updated_at: import("zod").ZodDate;
|
218
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
219
|
+
id: string;
|
220
|
+
color: string;
|
221
|
+
isExclusive: boolean;
|
222
|
+
}, {
|
223
|
+
id: string;
|
224
|
+
color: string;
|
225
|
+
isExclusive: boolean;
|
226
|
+
}>;
|
227
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
228
|
+
id: string;
|
229
|
+
name: string;
|
230
|
+
group: {
|
231
|
+
id: string;
|
232
|
+
color: string;
|
233
|
+
isExclusive: boolean;
|
234
|
+
};
|
235
|
+
}, {
|
236
|
+
id: string;
|
237
|
+
name: string;
|
238
|
+
group: {
|
239
|
+
id: string;
|
240
|
+
color: string;
|
241
|
+
isExclusive: boolean;
|
242
|
+
};
|
243
|
+
}>;
|
244
|
+
active: import("zod").ZodBoolean;
|
245
|
+
}, "strip", import("zod").ZodTypeAny, {
|
246
|
+
tags: {
|
247
|
+
id: string;
|
248
|
+
name: string;
|
249
|
+
group: {
|
250
|
+
id: string;
|
251
|
+
color: string;
|
252
|
+
isExclusive: boolean;
|
253
|
+
};
|
254
|
+
};
|
255
|
+
active: boolean;
|
256
|
+
}, {
|
257
|
+
tags: {
|
258
|
+
id: string;
|
259
|
+
name: string;
|
260
|
+
group: {
|
261
|
+
id: string;
|
262
|
+
color: string;
|
263
|
+
isExclusive: boolean;
|
264
|
+
};
|
265
|
+
};
|
266
|
+
active: boolean;
|
267
|
+
}>;
|
268
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
269
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
270
|
+
}, "password" | "created_at" | "updated_at" | "globalFilter">, "strip", import("zod").ZodTypeAny, {
|
271
|
+
id: string;
|
272
|
+
username: string;
|
273
|
+
role: "USER" | "ADMIN";
|
274
|
+
isGlobalFilterActive: boolean;
|
275
|
+
fcmToken: string[];
|
276
|
+
}, {
|
277
|
+
id: string;
|
278
|
+
username: string;
|
279
|
+
role: "USER" | "ADMIN";
|
280
|
+
isGlobalFilterActive?: boolean | undefined;
|
281
|
+
fcmToken?: string[] | undefined;
|
282
|
+
}>;
|
283
|
+
declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
|
284
|
+
id: import("zod").ZodString;
|
285
|
+
username: import("zod").ZodString;
|
286
|
+
password: import("zod").ZodString;
|
287
|
+
role: import("zod").ZodNativeEnum<{
|
288
|
+
USER: "USER";
|
289
|
+
ADMIN: "ADMIN";
|
290
|
+
}>;
|
291
|
+
created_at: import("zod").ZodString;
|
292
|
+
updated_at: import("zod").ZodString;
|
293
|
+
globalFilter: import("zod").ZodObject<{
|
294
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
295
|
+
id: import("zod").ZodString;
|
296
|
+
name: import("zod").ZodString;
|
297
|
+
groupId: import("zod").ZodString;
|
298
|
+
type: import("zod").ZodNativeEnum<{
|
299
|
+
PROFILE: "PROFILE";
|
300
|
+
EVENT: "EVENT";
|
301
|
+
PARTICIPANT: "PARTICIPANT";
|
302
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
303
|
+
}>;
|
304
|
+
created_at: import("zod").ZodDate;
|
305
|
+
updated_at: import("zod").ZodDate;
|
306
|
+
}, "id" | "name">, {
|
307
|
+
group: import("zod").ZodObject<Pick<{
|
308
|
+
id: import("zod").ZodString;
|
309
|
+
name: import("zod").ZodString;
|
310
|
+
color: import("zod").ZodString;
|
311
|
+
isExclusive: import("zod").ZodBoolean;
|
312
|
+
created_at: import("zod").ZodDate;
|
313
|
+
updated_at: import("zod").ZodDate;
|
314
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
315
|
+
id: string;
|
316
|
+
color: string;
|
317
|
+
isExclusive: boolean;
|
318
|
+
}, {
|
319
|
+
id: string;
|
320
|
+
color: string;
|
321
|
+
isExclusive: boolean;
|
322
|
+
}>;
|
323
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
324
|
+
id: string;
|
325
|
+
name: string;
|
326
|
+
group: {
|
327
|
+
id: string;
|
328
|
+
color: string;
|
329
|
+
isExclusive: boolean;
|
330
|
+
};
|
331
|
+
}, {
|
332
|
+
id: string;
|
333
|
+
name: string;
|
334
|
+
group: {
|
335
|
+
id: string;
|
336
|
+
color: string;
|
337
|
+
isExclusive: boolean;
|
338
|
+
};
|
339
|
+
}>;
|
340
|
+
active: import("zod").ZodBoolean;
|
341
|
+
}, "strip", import("zod").ZodTypeAny, {
|
342
|
+
tags: {
|
343
|
+
id: string;
|
344
|
+
name: string;
|
345
|
+
group: {
|
346
|
+
id: string;
|
347
|
+
color: string;
|
348
|
+
isExclusive: boolean;
|
349
|
+
};
|
350
|
+
};
|
351
|
+
active: boolean;
|
352
|
+
}, {
|
353
|
+
tags: {
|
354
|
+
id: string;
|
355
|
+
name: string;
|
356
|
+
group: {
|
357
|
+
id: string;
|
358
|
+
color: string;
|
359
|
+
isExclusive: boolean;
|
360
|
+
};
|
361
|
+
};
|
362
|
+
active: boolean;
|
363
|
+
}>;
|
364
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
365
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
366
|
+
}, "password" | "created_at" | "updated_at" | "globalFilter">, "strip", import("zod").ZodTypeAny, {
|
367
|
+
id: string;
|
368
|
+
username: string;
|
369
|
+
role: "USER" | "ADMIN";
|
370
|
+
isGlobalFilterActive: boolean;
|
371
|
+
fcmToken: string[];
|
372
|
+
}, {
|
373
|
+
id: string;
|
374
|
+
username: string;
|
375
|
+
role: "USER" | "ADMIN";
|
376
|
+
isGlobalFilterActive?: boolean | undefined;
|
377
|
+
fcmToken?: string[] | undefined;
|
378
|
+
}>>;
|
379
|
+
export declare class CreateAccountResponseDto extends CreateAccountResponseDto_base {
|
380
|
+
}
|
381
|
+
export {};
|