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
@@ -12,7 +12,7 @@ export declare const updateGlobalFilterSchema: z.ZodObject<{
|
|
12
12
|
declare const UpdateGlobalFilterDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
13
|
active: z.ZodDefault<z.ZodBoolean>;
|
14
14
|
tagsIds: z.ZodArray<z.ZodString, "many">;
|
15
|
-
},
|
15
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
16
|
active: boolean;
|
17
17
|
tagsIds: string[];
|
18
18
|
}, {
|
@@ -21,187 +21,154 @@ declare const UpdateGlobalFilterDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
21
21
|
}>>;
|
22
22
|
export declare class UpdateGlobalFilterDto extends UpdateGlobalFilterDto_base {
|
23
23
|
}
|
24
|
-
export declare const updateGlobalFilterResponseSchema: z.ZodObject<{
|
24
|
+
export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
25
25
|
id: z.ZodString;
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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">;
|
26
|
+
username: z.ZodString;
|
27
|
+
password: z.ZodString;
|
28
|
+
role: z.ZodNativeEnum<{
|
29
|
+
USER: "USER";
|
30
|
+
ADMIN: "ADMIN";
|
31
|
+
}>;
|
32
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
33
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
34
|
+
created_at: z.ZodDate;
|
35
|
+
updated_at: z.ZodDate;
|
36
|
+
}, {
|
37
|
+
globalFilter: z.ZodArray<z.ZodObject<{
|
38
|
+
id: z.ZodString;
|
39
|
+
name: z.ZodString;
|
40
|
+
groupId: z.ZodString;
|
41
|
+
type: z.ZodNativeEnum<{
|
42
|
+
PROFILE: "PROFILE";
|
43
|
+
EVENT: "EVENT";
|
44
|
+
PARTICIPANT: "PARTICIPANT";
|
45
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
46
|
+
}>;
|
47
|
+
created_at: z.ZodDate;
|
48
|
+
updated_at: z.ZodDate;
|
59
49
|
}, "strip", z.ZodTypeAny, {
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
updated_at: Date;
|
67
|
-
groupId: string;
|
68
|
-
}[];
|
50
|
+
id: string;
|
51
|
+
name: string;
|
52
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
53
|
+
created_at: Date;
|
54
|
+
updated_at: Date;
|
55
|
+
groupId: string;
|
69
56
|
}, {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
}[];
|
79
|
-
}>;
|
80
|
-
}, "strip", z.ZodTypeAny, {
|
57
|
+
id: string;
|
58
|
+
name: string;
|
59
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
60
|
+
created_at: Date;
|
61
|
+
updated_at: Date;
|
62
|
+
groupId: string;
|
63
|
+
}>, "many">;
|
64
|
+
}>, "strip", z.ZodTypeAny, {
|
81
65
|
id: string;
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
};
|
66
|
+
username: string;
|
67
|
+
password: string;
|
68
|
+
role: "USER" | "ADMIN";
|
69
|
+
isGlobalFilterActive: boolean;
|
70
|
+
fcmToken: string[];
|
71
|
+
created_at: Date;
|
72
|
+
updated_at: Date;
|
73
|
+
globalFilter: {
|
74
|
+
id: string;
|
75
|
+
name: string;
|
76
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
77
|
+
created_at: Date;
|
78
|
+
updated_at: Date;
|
79
|
+
groupId: string;
|
80
|
+
}[];
|
97
81
|
}, {
|
98
82
|
id: string;
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
83
|
+
username: string;
|
84
|
+
password: string;
|
85
|
+
role: "USER" | "ADMIN";
|
86
|
+
created_at: Date;
|
87
|
+
updated_at: Date;
|
88
|
+
globalFilter: {
|
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
|
+
isGlobalFilterActive?: boolean | undefined;
|
97
|
+
fcmToken?: string[] | undefined;
|
114
98
|
}>;
|
115
99
|
declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
116
100
|
id: z.ZodString;
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
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
|
-
}[];
|
101
|
+
username: z.ZodString;
|
102
|
+
password: z.ZodString;
|
103
|
+
role: z.ZodNativeEnum<{
|
104
|
+
USER: "USER";
|
105
|
+
ADMIN: "ADMIN";
|
170
106
|
}>;
|
171
|
-
|
107
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
108
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
109
|
+
created_at: z.ZodString;
|
110
|
+
updated_at: z.ZodString;
|
111
|
+
globalFilter: z.ZodArray<z.ZodObject<{
|
112
|
+
id: z.ZodString;
|
113
|
+
name: z.ZodString;
|
114
|
+
groupId: z.ZodString;
|
115
|
+
type: z.ZodNativeEnum<{
|
116
|
+
PROFILE: "PROFILE";
|
117
|
+
EVENT: "EVENT";
|
118
|
+
PARTICIPANT: "PARTICIPANT";
|
119
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
120
|
+
}>;
|
121
|
+
created_at: z.ZodString;
|
122
|
+
updated_at: z.ZodString;
|
123
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
124
|
+
id: string;
|
125
|
+
name: string;
|
126
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
127
|
+
created_at: string;
|
128
|
+
updated_at: string;
|
129
|
+
groupId: string;
|
130
|
+
}, {
|
131
|
+
id: string;
|
132
|
+
name: string;
|
133
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
134
|
+
created_at: string;
|
135
|
+
updated_at: string;
|
136
|
+
groupId: string;
|
137
|
+
}>, "many">;
|
138
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
172
139
|
id: string;
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
};
|
140
|
+
username: string;
|
141
|
+
password: string;
|
142
|
+
role: "USER" | "ADMIN";
|
143
|
+
isGlobalFilterActive: boolean;
|
144
|
+
fcmToken: string[];
|
145
|
+
created_at: string;
|
146
|
+
updated_at: string;
|
147
|
+
globalFilter: {
|
148
|
+
id: string;
|
149
|
+
name: string;
|
150
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
151
|
+
created_at: string;
|
152
|
+
updated_at: string;
|
153
|
+
groupId: string;
|
154
|
+
}[];
|
188
155
|
}, {
|
189
156
|
id: string;
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
157
|
+
username: string;
|
158
|
+
password: string;
|
159
|
+
role: "USER" | "ADMIN";
|
160
|
+
created_at: string;
|
161
|
+
updated_at: string;
|
162
|
+
globalFilter: {
|
163
|
+
id: string;
|
164
|
+
name: string;
|
165
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
166
|
+
created_at: string;
|
167
|
+
updated_at: string;
|
168
|
+
groupId: string;
|
169
|
+
}[];
|
170
|
+
isGlobalFilterActive?: boolean | undefined;
|
171
|
+
fcmToken?: string[] | undefined;
|
205
172
|
}>>;
|
206
173
|
export declare class UpdateGlobalFilterResponseDto extends UpdateGlobalFilterResponseDto_base {
|
207
174
|
}
|
@@ -1,29 +1,21 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateGlobalFilterResponseDto = exports.updateGlobalFilterResponseSchema = exports.UpdateGlobalFilterDto = exports.updateGlobalFilterSchema = void 0;
|
4
|
-
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
5
4
|
const account_dto_1 = require("./account.dto");
|
6
|
-
const
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
7
7
|
const zod_1 = require("zod");
|
8
8
|
exports.updateGlobalFilterSchema = zod_1.z.object({
|
9
9
|
active: account_dto_1.accountSchema.shape.isGlobalFilterActive,
|
10
10
|
tagsIds: zod_1.z.array(tag_dto_1.tagSchema.shape.id),
|
11
11
|
});
|
12
|
-
class UpdateGlobalFilterDto extends (0,
|
12
|
+
class UpdateGlobalFilterDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateGlobalFilterSchema) {
|
13
13
|
}
|
14
14
|
exports.UpdateGlobalFilterDto = UpdateGlobalFilterDto;
|
15
|
-
exports.updateGlobalFilterResponseSchema = zod_1.z.object({
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
fcmToken: zod_1.z.string().nullable(),
|
20
|
-
filtroBaseActivo: zod_1.z.boolean(),
|
21
|
-
filtroBase: zod_1.z.object({
|
22
|
-
active: zod_1.z.boolean(),
|
23
|
-
etiquetas: zod_1.z.array(tag_dto_1.tagSchema),
|
24
|
-
}),
|
25
|
-
});
|
26
|
-
class UpdateGlobalFilterResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.updateGlobalFilterResponseSchema) {
|
15
|
+
exports.updateGlobalFilterResponseSchema = account_dto_1.accountSchema.merge(zod_1.z.object({
|
16
|
+
globalFilter: zod_1.z.array(tag_dto_1.tagSchema),
|
17
|
+
}));
|
18
|
+
class UpdateGlobalFilterResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateGlobalFilterResponseSchema) {
|
27
19
|
}
|
28
20
|
exports.UpdateGlobalFilterResponseDto = UpdateGlobalFilterResponseDto;
|
29
21
|
//# sourceMappingURL=update-global-filter.dto.js.map
|