expo-backend-types 0.3.0 → 0.4.0-EXPO-212.1
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,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateAccountResponseDto = exports.createAccountResponseSchema = exports.CreateAccountDto = exports.createAccountSchema = void 0;
|
4
|
+
const account_dto_1 = require("./account.dto");
|
5
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
6
|
+
exports.createAccountSchema = account_dto_1.accountSchema.pick({
|
7
|
+
username: true,
|
8
|
+
password: true,
|
9
|
+
role: true,
|
10
|
+
});
|
11
|
+
class CreateAccountDto extends (0, zod_nestjs_1.createZodDto)(exports.createAccountSchema) {
|
12
|
+
}
|
13
|
+
exports.CreateAccountDto = CreateAccountDto;
|
14
|
+
exports.createAccountResponseSchema = account_dto_1.accountSchema.omit({
|
15
|
+
password: true,
|
16
|
+
globalFilter: true,
|
17
|
+
created_at: true,
|
18
|
+
updated_at: true,
|
19
|
+
});
|
20
|
+
class CreateAccountResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.createAccountResponseSchema) {
|
21
|
+
}
|
22
|
+
exports.CreateAccountResponseDto = CreateAccountResponseDto;
|
23
|
+
//# sourceMappingURL=create-account.dto.js.map
|
@@ -0,0 +1,154 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getGlobalFilterResponse: z.ZodObject<{
|
3
|
+
active: z.ZodBoolean;
|
4
|
+
globalFilter: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
5
|
+
id: z.ZodString;
|
6
|
+
name: z.ZodString;
|
7
|
+
groupId: z.ZodString;
|
8
|
+
type: z.ZodNativeEnum<{
|
9
|
+
PROFILE: "PROFILE";
|
10
|
+
EVENT: "EVENT";
|
11
|
+
PARTICIPANT: "PARTICIPANT";
|
12
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
13
|
+
}>;
|
14
|
+
created_at: z.ZodDate;
|
15
|
+
updated_at: z.ZodDate;
|
16
|
+
}, "id" | "name" | "type">, {
|
17
|
+
group: z.ZodObject<Pick<{
|
18
|
+
id: z.ZodString;
|
19
|
+
name: z.ZodString;
|
20
|
+
color: z.ZodString;
|
21
|
+
isExclusive: z.ZodBoolean;
|
22
|
+
created_at: z.ZodDate;
|
23
|
+
updated_at: z.ZodDate;
|
24
|
+
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
25
|
+
id: string;
|
26
|
+
color: string;
|
27
|
+
isExclusive: boolean;
|
28
|
+
}, {
|
29
|
+
id: string;
|
30
|
+
color: string;
|
31
|
+
isExclusive: boolean;
|
32
|
+
}>;
|
33
|
+
}>, "strip", z.ZodTypeAny, {
|
34
|
+
id: string;
|
35
|
+
name: string;
|
36
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
37
|
+
group: {
|
38
|
+
id: string;
|
39
|
+
color: string;
|
40
|
+
isExclusive: boolean;
|
41
|
+
};
|
42
|
+
}, {
|
43
|
+
id: string;
|
44
|
+
name: string;
|
45
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
46
|
+
group: {
|
47
|
+
id: string;
|
48
|
+
color: string;
|
49
|
+
isExclusive: boolean;
|
50
|
+
};
|
51
|
+
}>, "many">;
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
53
|
+
globalFilter: {
|
54
|
+
id: string;
|
55
|
+
name: string;
|
56
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
57
|
+
group: {
|
58
|
+
id: string;
|
59
|
+
color: string;
|
60
|
+
isExclusive: boolean;
|
61
|
+
};
|
62
|
+
}[];
|
63
|
+
active: boolean;
|
64
|
+
}, {
|
65
|
+
globalFilter: {
|
66
|
+
id: string;
|
67
|
+
name: string;
|
68
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
69
|
+
group: {
|
70
|
+
id: string;
|
71
|
+
color: string;
|
72
|
+
isExclusive: boolean;
|
73
|
+
};
|
74
|
+
}[];
|
75
|
+
active: boolean;
|
76
|
+
}>;
|
77
|
+
declare const GetGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
78
|
+
active: z.ZodBoolean;
|
79
|
+
globalFilter: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
80
|
+
id: z.ZodString;
|
81
|
+
name: z.ZodString;
|
82
|
+
groupId: z.ZodString;
|
83
|
+
type: z.ZodNativeEnum<{
|
84
|
+
PROFILE: "PROFILE";
|
85
|
+
EVENT: "EVENT";
|
86
|
+
PARTICIPANT: "PARTICIPANT";
|
87
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
88
|
+
}>;
|
89
|
+
created_at: z.ZodDate;
|
90
|
+
updated_at: z.ZodDate;
|
91
|
+
}, "id" | "name" | "type">, {
|
92
|
+
group: z.ZodObject<Pick<{
|
93
|
+
id: z.ZodString;
|
94
|
+
name: z.ZodString;
|
95
|
+
color: z.ZodString;
|
96
|
+
isExclusive: z.ZodBoolean;
|
97
|
+
created_at: z.ZodDate;
|
98
|
+
updated_at: z.ZodDate;
|
99
|
+
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
100
|
+
id: string;
|
101
|
+
color: string;
|
102
|
+
isExclusive: boolean;
|
103
|
+
}, {
|
104
|
+
id: string;
|
105
|
+
color: string;
|
106
|
+
isExclusive: boolean;
|
107
|
+
}>;
|
108
|
+
}>, "strip", z.ZodTypeAny, {
|
109
|
+
id: string;
|
110
|
+
name: string;
|
111
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
112
|
+
group: {
|
113
|
+
id: string;
|
114
|
+
color: string;
|
115
|
+
isExclusive: boolean;
|
116
|
+
};
|
117
|
+
}, {
|
118
|
+
id: string;
|
119
|
+
name: string;
|
120
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
121
|
+
group: {
|
122
|
+
id: string;
|
123
|
+
color: string;
|
124
|
+
isExclusive: boolean;
|
125
|
+
};
|
126
|
+
}>, "many">;
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
128
|
+
globalFilter: {
|
129
|
+
id: string;
|
130
|
+
name: string;
|
131
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
132
|
+
group: {
|
133
|
+
id: string;
|
134
|
+
color: string;
|
135
|
+
isExclusive: boolean;
|
136
|
+
};
|
137
|
+
}[];
|
138
|
+
active: boolean;
|
139
|
+
}, {
|
140
|
+
globalFilter: {
|
141
|
+
id: string;
|
142
|
+
name: string;
|
143
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
144
|
+
group: {
|
145
|
+
id: string;
|
146
|
+
color: string;
|
147
|
+
isExclusive: boolean;
|
148
|
+
};
|
149
|
+
}[];
|
150
|
+
active: boolean;
|
151
|
+
}>>;
|
152
|
+
export declare class GetGlobalFilterResponseDto extends GetGlobalFilterResponseDto_base {
|
153
|
+
}
|
154
|
+
export {};
|
@@ -0,0 +1,30 @@
|
|
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.GetGlobalFilterResponseDto = exports.getGlobalFilterResponse = void 0;
|
7
|
+
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
8
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
9
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.getGlobalFilterResponse = zod_1.default.object({
|
12
|
+
active: zod_1.default.boolean(),
|
13
|
+
globalFilter: zod_1.default.array(tag_dto_1.tagSchema
|
14
|
+
.pick({
|
15
|
+
id: true,
|
16
|
+
name: true,
|
17
|
+
type: true,
|
18
|
+
})
|
19
|
+
.merge(zod_1.default.object({
|
20
|
+
group: tag_group_dto_1.tagGroupSchema.pick({
|
21
|
+
id: true,
|
22
|
+
color: true,
|
23
|
+
isExclusive: true,
|
24
|
+
}),
|
25
|
+
}))),
|
26
|
+
});
|
27
|
+
class GetGlobalFilterResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getGlobalFilterResponse) {
|
28
|
+
}
|
29
|
+
exports.GetGlobalFilterResponseDto = GetGlobalFilterResponseDto;
|
30
|
+
//# sourceMappingURL=get-global-filter.dto.js.map
|
@@ -0,0 +1,251 @@
|
|
1
|
+
export declare const getMeResponseSchema: import("zod").ZodObject<Omit<{
|
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
|
+
}, "password">, "strip", import("zod").ZodTypeAny, {
|
85
|
+
id: string;
|
86
|
+
username: string;
|
87
|
+
role: "USER" | "ADMIN";
|
88
|
+
created_at: string;
|
89
|
+
updated_at: string;
|
90
|
+
globalFilter: {
|
91
|
+
tags: {
|
92
|
+
id: string;
|
93
|
+
name: string;
|
94
|
+
group: {
|
95
|
+
id: string;
|
96
|
+
color: string;
|
97
|
+
isExclusive: boolean;
|
98
|
+
};
|
99
|
+
};
|
100
|
+
active: boolean;
|
101
|
+
};
|
102
|
+
isGlobalFilterActive: boolean;
|
103
|
+
fcmToken: string[];
|
104
|
+
}, {
|
105
|
+
id: string;
|
106
|
+
username: string;
|
107
|
+
role: "USER" | "ADMIN";
|
108
|
+
created_at: string;
|
109
|
+
updated_at: string;
|
110
|
+
globalFilter: {
|
111
|
+
tags: {
|
112
|
+
id: string;
|
113
|
+
name: string;
|
114
|
+
group: {
|
115
|
+
id: string;
|
116
|
+
color: string;
|
117
|
+
isExclusive: boolean;
|
118
|
+
};
|
119
|
+
};
|
120
|
+
active: boolean;
|
121
|
+
};
|
122
|
+
isGlobalFilterActive?: boolean | undefined;
|
123
|
+
fcmToken?: string[] | undefined;
|
124
|
+
}>;
|
125
|
+
declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
|
126
|
+
id: import("zod").ZodString;
|
127
|
+
username: import("zod").ZodString;
|
128
|
+
password: import("zod").ZodString;
|
129
|
+
role: import("zod").ZodNativeEnum<{
|
130
|
+
USER: "USER";
|
131
|
+
ADMIN: "ADMIN";
|
132
|
+
}>;
|
133
|
+
created_at: import("zod").ZodString;
|
134
|
+
updated_at: import("zod").ZodString;
|
135
|
+
globalFilter: import("zod").ZodObject<{
|
136
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
137
|
+
id: import("zod").ZodString;
|
138
|
+
name: import("zod").ZodString;
|
139
|
+
groupId: import("zod").ZodString;
|
140
|
+
type: import("zod").ZodNativeEnum<{
|
141
|
+
PROFILE: "PROFILE";
|
142
|
+
EVENT: "EVENT";
|
143
|
+
PARTICIPANT: "PARTICIPANT";
|
144
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
145
|
+
}>;
|
146
|
+
created_at: import("zod").ZodDate;
|
147
|
+
updated_at: import("zod").ZodDate;
|
148
|
+
}, "id" | "name">, {
|
149
|
+
group: import("zod").ZodObject<Pick<{
|
150
|
+
id: import("zod").ZodString;
|
151
|
+
name: import("zod").ZodString;
|
152
|
+
color: import("zod").ZodString;
|
153
|
+
isExclusive: import("zod").ZodBoolean;
|
154
|
+
created_at: import("zod").ZodDate;
|
155
|
+
updated_at: import("zod").ZodDate;
|
156
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
157
|
+
id: string;
|
158
|
+
color: string;
|
159
|
+
isExclusive: boolean;
|
160
|
+
}, {
|
161
|
+
id: string;
|
162
|
+
color: string;
|
163
|
+
isExclusive: boolean;
|
164
|
+
}>;
|
165
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
166
|
+
id: string;
|
167
|
+
name: string;
|
168
|
+
group: {
|
169
|
+
id: string;
|
170
|
+
color: string;
|
171
|
+
isExclusive: boolean;
|
172
|
+
};
|
173
|
+
}, {
|
174
|
+
id: string;
|
175
|
+
name: string;
|
176
|
+
group: {
|
177
|
+
id: string;
|
178
|
+
color: string;
|
179
|
+
isExclusive: boolean;
|
180
|
+
};
|
181
|
+
}>;
|
182
|
+
active: import("zod").ZodBoolean;
|
183
|
+
}, "strip", import("zod").ZodTypeAny, {
|
184
|
+
tags: {
|
185
|
+
id: string;
|
186
|
+
name: string;
|
187
|
+
group: {
|
188
|
+
id: string;
|
189
|
+
color: string;
|
190
|
+
isExclusive: boolean;
|
191
|
+
};
|
192
|
+
};
|
193
|
+
active: boolean;
|
194
|
+
}, {
|
195
|
+
tags: {
|
196
|
+
id: string;
|
197
|
+
name: string;
|
198
|
+
group: {
|
199
|
+
id: string;
|
200
|
+
color: string;
|
201
|
+
isExclusive: boolean;
|
202
|
+
};
|
203
|
+
};
|
204
|
+
active: boolean;
|
205
|
+
}>;
|
206
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
207
|
+
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
208
|
+
}, "password">, "strip", import("zod").ZodTypeAny, {
|
209
|
+
id: string;
|
210
|
+
username: string;
|
211
|
+
role: "USER" | "ADMIN";
|
212
|
+
created_at: string;
|
213
|
+
updated_at: string;
|
214
|
+
globalFilter: {
|
215
|
+
tags: {
|
216
|
+
id: string;
|
217
|
+
name: string;
|
218
|
+
group: {
|
219
|
+
id: string;
|
220
|
+
color: string;
|
221
|
+
isExclusive: boolean;
|
222
|
+
};
|
223
|
+
};
|
224
|
+
active: boolean;
|
225
|
+
};
|
226
|
+
isGlobalFilterActive: boolean;
|
227
|
+
fcmToken: string[];
|
228
|
+
}, {
|
229
|
+
id: string;
|
230
|
+
username: string;
|
231
|
+
role: "USER" | "ADMIN";
|
232
|
+
created_at: string;
|
233
|
+
updated_at: string;
|
234
|
+
globalFilter: {
|
235
|
+
tags: {
|
236
|
+
id: string;
|
237
|
+
name: string;
|
238
|
+
group: {
|
239
|
+
id: string;
|
240
|
+
color: string;
|
241
|
+
isExclusive: boolean;
|
242
|
+
};
|
243
|
+
};
|
244
|
+
active: boolean;
|
245
|
+
};
|
246
|
+
isGlobalFilterActive?: boolean | undefined;
|
247
|
+
fcmToken?: string[] | undefined;
|
248
|
+
}>>;
|
249
|
+
export declare class GetMeResponseDto extends GetMeResponseDto_base {
|
250
|
+
}
|
251
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GetMeResponseDto = exports.getMeResponseSchema = void 0;
|
4
|
+
const account_dto_1 = require("./account.dto");
|
5
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
6
|
+
exports.getMeResponseSchema = account_dto_1.accountSchema.omit({
|
7
|
+
password: true,
|
8
|
+
});
|
9
|
+
class GetMeResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getMeResponseSchema) {
|
10
|
+
}
|
11
|
+
exports.GetMeResponseDto = GetMeResponseDto;
|
12
|
+
//# sourceMappingURL=get-me.dto.js.map
|
@@ -0,0 +1,208 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const updateGlobalFilterSchema: z.ZodObject<{
|
3
|
+
active: z.ZodDefault<z.ZodBoolean>;
|
4
|
+
tagsIds: z.ZodArray<z.ZodString, "many">;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
active: boolean;
|
7
|
+
tagsIds: string[];
|
8
|
+
}, {
|
9
|
+
tagsIds: string[];
|
10
|
+
active?: boolean | undefined;
|
11
|
+
}>;
|
12
|
+
declare const UpdateGlobalFilterDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
+
active: z.ZodDefault<z.ZodBoolean>;
|
14
|
+
tagsIds: z.ZodArray<z.ZodString, "many">;
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
16
|
+
active: boolean;
|
17
|
+
tagsIds: string[];
|
18
|
+
}, {
|
19
|
+
tagsIds: string[];
|
20
|
+
active?: boolean | undefined;
|
21
|
+
}>>;
|
22
|
+
export declare class UpdateGlobalFilterDto extends UpdateGlobalFilterDto_base {
|
23
|
+
}
|
24
|
+
export declare const updateGlobalFilterResponseSchema: z.ZodObject<{
|
25
|
+
id: z.ZodString;
|
26
|
+
nombreUsuario: z.ZodString;
|
27
|
+
esAdmin: z.ZodBoolean;
|
28
|
+
fcmToken: z.ZodNullable<z.ZodString>;
|
29
|
+
filtroBaseActivo: z.ZodBoolean;
|
30
|
+
filtroBase: z.ZodObject<{
|
31
|
+
active: z.ZodBoolean;
|
32
|
+
etiquetas: z.ZodArray<z.ZodObject<{
|
33
|
+
id: z.ZodString;
|
34
|
+
name: z.ZodString;
|
35
|
+
groupId: z.ZodString;
|
36
|
+
type: z.ZodNativeEnum<{
|
37
|
+
PROFILE: "PROFILE";
|
38
|
+
EVENT: "EVENT";
|
39
|
+
PARTICIPANT: "PARTICIPANT";
|
40
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
41
|
+
}>;
|
42
|
+
created_at: z.ZodDate;
|
43
|
+
updated_at: z.ZodDate;
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
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
|
+
id: string;
|
53
|
+
name: string;
|
54
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
55
|
+
created_at: Date;
|
56
|
+
updated_at: Date;
|
57
|
+
groupId: string;
|
58
|
+
}>, "many">;
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
60
|
+
active: boolean;
|
61
|
+
etiquetas: {
|
62
|
+
id: string;
|
63
|
+
name: string;
|
64
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
65
|
+
created_at: Date;
|
66
|
+
updated_at: Date;
|
67
|
+
groupId: string;
|
68
|
+
}[];
|
69
|
+
}, {
|
70
|
+
active: boolean;
|
71
|
+
etiquetas: {
|
72
|
+
id: string;
|
73
|
+
name: string;
|
74
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
75
|
+
created_at: Date;
|
76
|
+
updated_at: Date;
|
77
|
+
groupId: string;
|
78
|
+
}[];
|
79
|
+
}>;
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
81
|
+
id: string;
|
82
|
+
fcmToken: string | null;
|
83
|
+
nombreUsuario: string;
|
84
|
+
esAdmin: boolean;
|
85
|
+
filtroBaseActivo: boolean;
|
86
|
+
filtroBase: {
|
87
|
+
active: boolean;
|
88
|
+
etiquetas: {
|
89
|
+
id: string;
|
90
|
+
name: string;
|
91
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
92
|
+
created_at: Date;
|
93
|
+
updated_at: Date;
|
94
|
+
groupId: string;
|
95
|
+
}[];
|
96
|
+
};
|
97
|
+
}, {
|
98
|
+
id: string;
|
99
|
+
fcmToken: string | null;
|
100
|
+
nombreUsuario: string;
|
101
|
+
esAdmin: boolean;
|
102
|
+
filtroBaseActivo: boolean;
|
103
|
+
filtroBase: {
|
104
|
+
active: boolean;
|
105
|
+
etiquetas: {
|
106
|
+
id: string;
|
107
|
+
name: string;
|
108
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
109
|
+
created_at: Date;
|
110
|
+
updated_at: Date;
|
111
|
+
groupId: string;
|
112
|
+
}[];
|
113
|
+
};
|
114
|
+
}>;
|
115
|
+
declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
116
|
+
id: z.ZodString;
|
117
|
+
nombreUsuario: z.ZodString;
|
118
|
+
esAdmin: z.ZodBoolean;
|
119
|
+
fcmToken: z.ZodNullable<z.ZodString>;
|
120
|
+
filtroBaseActivo: z.ZodBoolean;
|
121
|
+
filtroBase: z.ZodObject<{
|
122
|
+
active: z.ZodBoolean;
|
123
|
+
etiquetas: z.ZodArray<z.ZodObject<{
|
124
|
+
id: z.ZodString;
|
125
|
+
name: z.ZodString;
|
126
|
+
groupId: z.ZodString;
|
127
|
+
type: z.ZodNativeEnum<{
|
128
|
+
PROFILE: "PROFILE";
|
129
|
+
EVENT: "EVENT";
|
130
|
+
PARTICIPANT: "PARTICIPANT";
|
131
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
132
|
+
}>;
|
133
|
+
created_at: z.ZodDate;
|
134
|
+
updated_at: z.ZodDate;
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
136
|
+
id: string;
|
137
|
+
name: string;
|
138
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
139
|
+
created_at: Date;
|
140
|
+
updated_at: Date;
|
141
|
+
groupId: string;
|
142
|
+
}, {
|
143
|
+
id: string;
|
144
|
+
name: string;
|
145
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
146
|
+
created_at: Date;
|
147
|
+
updated_at: Date;
|
148
|
+
groupId: string;
|
149
|
+
}>, "many">;
|
150
|
+
}, "strip", z.ZodTypeAny, {
|
151
|
+
active: boolean;
|
152
|
+
etiquetas: {
|
153
|
+
id: string;
|
154
|
+
name: string;
|
155
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
156
|
+
created_at: Date;
|
157
|
+
updated_at: Date;
|
158
|
+
groupId: string;
|
159
|
+
}[];
|
160
|
+
}, {
|
161
|
+
active: boolean;
|
162
|
+
etiquetas: {
|
163
|
+
id: string;
|
164
|
+
name: string;
|
165
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
166
|
+
created_at: Date;
|
167
|
+
updated_at: Date;
|
168
|
+
groupId: string;
|
169
|
+
}[];
|
170
|
+
}>;
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
172
|
+
id: string;
|
173
|
+
fcmToken: string | null;
|
174
|
+
nombreUsuario: string;
|
175
|
+
esAdmin: boolean;
|
176
|
+
filtroBaseActivo: boolean;
|
177
|
+
filtroBase: {
|
178
|
+
active: boolean;
|
179
|
+
etiquetas: {
|
180
|
+
id: string;
|
181
|
+
name: string;
|
182
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
183
|
+
created_at: Date;
|
184
|
+
updated_at: Date;
|
185
|
+
groupId: string;
|
186
|
+
}[];
|
187
|
+
};
|
188
|
+
}, {
|
189
|
+
id: string;
|
190
|
+
fcmToken: string | null;
|
191
|
+
nombreUsuario: string;
|
192
|
+
esAdmin: boolean;
|
193
|
+
filtroBaseActivo: boolean;
|
194
|
+
filtroBase: {
|
195
|
+
active: boolean;
|
196
|
+
etiquetas: {
|
197
|
+
id: string;
|
198
|
+
name: string;
|
199
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
200
|
+
created_at: Date;
|
201
|
+
updated_at: Date;
|
202
|
+
groupId: string;
|
203
|
+
}[];
|
204
|
+
};
|
205
|
+
}>>;
|
206
|
+
export declare class UpdateGlobalFilterResponseDto extends UpdateGlobalFilterResponseDto_base {
|
207
|
+
}
|
208
|
+
export {};
|