expo-backend-types 0.10.0-EXPO-247-EB-Evento.4 → 0.10.0-EXPO-247-EB-Evento.6
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 +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/event/dto/create-event.dto.d.ts +12 -12
- package/dist/src/event/dto/create-event.dto.js +4 -2
- package/dist/src/event-folder/dto/event-folder.dto.js +3 -1
- package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +17 -14
- package/dist/src/event-folder/dto/update-event-folder.dto.js +2 -4
- package/dist/src/i18n/es.d.ts +50 -0
- package/dist/src/i18n/es.js +50 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/create-profile.dto.d.ts +694 -0
- package/dist/src/profile/dto/create-profile.dto.js +84 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +125 -0
- package/dist/src/profile/dto/delete-profile.dto.js +10 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +410 -0
- package/dist/src/profile/dto/find-all-profile.dto.js +25 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +655 -0
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +34 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +475 -0
- package/dist/src/profile/dto/find-by-id-profile.dto.js +27 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +125 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.js +10 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +337 -0
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +19 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +393 -0
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +24 -0
- package/dist/src/profile/dto/find-trash.dto.d.ts +110 -0
- package/dist/src/profile/dto/find-trash.dto.js +24 -0
- package/dist/src/profile/dto/profile.dto.d.ts +5 -5
- package/dist/src/profile/dto/profile.dto.js +7 -3
- package/dist/src/profile/dto/update-profile.dto.d.ts +360 -0
- package/dist/src/profile/dto/update-profile.dto.js +55 -0
- package/dist/src/profile/exports.d.ts +10 -0
- package/dist/src/profile/exports.js +10 -0
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +16 -16
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +16 -16
- package/dist/types/prisma-schema/edge.js +5 -4
- package/dist/types/prisma-schema/index-browser.js +2 -1
- package/dist/types/prisma-schema/index.d.ts +9 -2
- package/dist/types/prisma-schema/index.js +5 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +2 -0
- package/dist/types/prisma-schema/wasm.js +2 -1
- package/dist/types/schema.d.ts +851 -160
- package/package.json +4 -1
@@ -6,6 +6,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
6
6
|
role: z.ZodNativeEnum<{
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
|
+
FORM: "FORM";
|
9
10
|
}>;
|
10
11
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
11
12
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -15,7 +16,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
15
16
|
id: string;
|
16
17
|
username: string;
|
17
18
|
password: string;
|
18
|
-
role: "USER" | "ADMIN";
|
19
|
+
role: "USER" | "ADMIN" | "FORM";
|
19
20
|
isGlobalFilterActive: boolean;
|
20
21
|
fcmToken: string[];
|
21
22
|
created_at: Date;
|
@@ -24,7 +25,7 @@ export declare const accountSchema: z.ZodObject<{
|
|
24
25
|
id: string;
|
25
26
|
username: string;
|
26
27
|
password: string;
|
27
|
-
role: "USER" | "ADMIN";
|
28
|
+
role: "USER" | "ADMIN" | "FORM";
|
28
29
|
created_at: Date;
|
29
30
|
updated_at: Date;
|
30
31
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -37,6 +38,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
37
38
|
role: z.ZodNativeEnum<{
|
38
39
|
USER: "USER";
|
39
40
|
ADMIN: "ADMIN";
|
41
|
+
FORM: "FORM";
|
40
42
|
}>;
|
41
43
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
42
44
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -46,7 +48,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
46
48
|
id: string;
|
47
49
|
username: string;
|
48
50
|
password: string;
|
49
|
-
role: "USER" | "ADMIN";
|
51
|
+
role: "USER" | "ADMIN" | "FORM";
|
50
52
|
isGlobalFilterActive: boolean;
|
51
53
|
fcmToken: string[];
|
52
54
|
created_at: string;
|
@@ -55,7 +57,7 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
55
57
|
id: string;
|
56
58
|
username: string;
|
57
59
|
password: string;
|
58
|
-
role: "USER" | "ADMIN";
|
60
|
+
role: "USER" | "ADMIN" | "FORM";
|
59
61
|
created_at: string;
|
60
62
|
updated_at: string;
|
61
63
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -5,6 +5,7 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
5
5
|
role: import("zod").ZodNativeEnum<{
|
6
6
|
USER: "USER";
|
7
7
|
ADMIN: "ADMIN";
|
8
|
+
FORM: "FORM";
|
8
9
|
}>;
|
9
10
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
10
11
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
@@ -13,11 +14,11 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
13
14
|
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
14
15
|
username: string;
|
15
16
|
password: string;
|
16
|
-
role: "USER" | "ADMIN";
|
17
|
+
role: "USER" | "ADMIN" | "FORM";
|
17
18
|
}, {
|
18
19
|
username: string;
|
19
20
|
password: string;
|
20
|
-
role: "USER" | "ADMIN";
|
21
|
+
role: "USER" | "ADMIN" | "FORM";
|
21
22
|
}>;
|
22
23
|
declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
23
24
|
username: import("zod").ZodString;
|
@@ -25,15 +26,16 @@ declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
25
26
|
role: import("zod").ZodNativeEnum<{
|
26
27
|
USER: "USER";
|
27
28
|
ADMIN: "ADMIN";
|
29
|
+
FORM: "FORM";
|
28
30
|
}>;
|
29
31
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
30
32
|
username: string;
|
31
33
|
password: string;
|
32
|
-
role: "USER" | "ADMIN";
|
34
|
+
role: "USER" | "ADMIN" | "FORM";
|
33
35
|
}, {
|
34
36
|
username: string;
|
35
37
|
password: string;
|
36
|
-
role: "USER" | "ADMIN";
|
38
|
+
role: "USER" | "ADMIN" | "FORM";
|
37
39
|
}>>;
|
38
40
|
export declare class CreateAccountDto extends CreateAccountDto_base {
|
39
41
|
}
|
@@ -44,6 +46,7 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
44
46
|
role: import("zod").ZodNativeEnum<{
|
45
47
|
USER: "USER";
|
46
48
|
ADMIN: "ADMIN";
|
49
|
+
FORM: "FORM";
|
47
50
|
}>;
|
48
51
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
49
52
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
@@ -52,13 +55,13 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
52
55
|
}, "password" | "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
|
53
56
|
id: string;
|
54
57
|
username: string;
|
55
|
-
role: "USER" | "ADMIN";
|
58
|
+
role: "USER" | "ADMIN" | "FORM";
|
56
59
|
isGlobalFilterActive: boolean;
|
57
60
|
fcmToken: string[];
|
58
61
|
}, {
|
59
62
|
id: string;
|
60
63
|
username: string;
|
61
|
-
role: "USER" | "ADMIN";
|
64
|
+
role: "USER" | "ADMIN" | "FORM";
|
62
65
|
isGlobalFilterActive?: boolean | undefined;
|
63
66
|
fcmToken?: string[] | undefined;
|
64
67
|
}>;
|
@@ -68,19 +71,20 @@ declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
68
71
|
role: import("zod").ZodNativeEnum<{
|
69
72
|
USER: "USER";
|
70
73
|
ADMIN: "ADMIN";
|
74
|
+
FORM: "FORM";
|
71
75
|
}>;
|
72
76
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
73
77
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
74
78
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
75
79
|
id: string;
|
76
80
|
username: string;
|
77
|
-
role: "USER" | "ADMIN";
|
81
|
+
role: "USER" | "ADMIN" | "FORM";
|
78
82
|
isGlobalFilterActive: boolean;
|
79
83
|
fcmToken: string[];
|
80
84
|
}, {
|
81
85
|
id: string;
|
82
86
|
username: string;
|
83
|
-
role: "USER" | "ADMIN";
|
87
|
+
role: "USER" | "ADMIN" | "FORM";
|
84
88
|
isGlobalFilterActive?: boolean | undefined;
|
85
89
|
fcmToken?: string[] | undefined;
|
86
90
|
}>>;
|
@@ -6,6 +6,7 @@ export declare const getGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.ext
|
|
6
6
|
role: z.ZodNativeEnum<{
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
|
+
FORM: "FORM";
|
9
10
|
}>;
|
10
11
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
11
12
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -6,6 +6,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
6
6
|
role: z.ZodNativeEnum<{
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
|
+
FORM: "FORM";
|
9
10
|
}>;
|
10
11
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
11
12
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -90,7 +91,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
90
91
|
}>, "strip", z.ZodTypeAny, {
|
91
92
|
id: string;
|
92
93
|
username: string;
|
93
|
-
role: "USER" | "ADMIN";
|
94
|
+
role: "USER" | "ADMIN" | "FORM";
|
94
95
|
isGlobalFilterActive: boolean;
|
95
96
|
fcmToken: string[];
|
96
97
|
created_at: Date;
|
@@ -116,7 +117,7 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
|
|
116
117
|
}, {
|
117
118
|
id: string;
|
118
119
|
username: string;
|
119
|
-
role: "USER" | "ADMIN";
|
120
|
+
role: "USER" | "ADMIN" | "FORM";
|
120
121
|
created_at: Date;
|
121
122
|
updated_at: Date;
|
122
123
|
globalFilter: {
|
@@ -146,6 +147,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
146
147
|
role: z.ZodNativeEnum<{
|
147
148
|
USER: "USER";
|
148
149
|
ADMIN: "ADMIN";
|
150
|
+
FORM: "FORM";
|
149
151
|
}>;
|
150
152
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
151
153
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -222,7 +224,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
222
224
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
223
225
|
id: string;
|
224
226
|
username: string;
|
225
|
-
role: "USER" | "ADMIN";
|
227
|
+
role: "USER" | "ADMIN" | "FORM";
|
226
228
|
isGlobalFilterActive: boolean;
|
227
229
|
fcmToken: string[];
|
228
230
|
created_at: string;
|
@@ -248,7 +250,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
248
250
|
}, {
|
249
251
|
id: string;
|
250
252
|
username: string;
|
251
|
-
role: "USER" | "ADMIN";
|
253
|
+
role: "USER" | "ADMIN" | "FORM";
|
252
254
|
created_at: string;
|
253
255
|
updated_at: string;
|
254
256
|
globalFilter: {
|
@@ -28,6 +28,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
28
28
|
role: z.ZodNativeEnum<{
|
29
29
|
USER: "USER";
|
30
30
|
ADMIN: "ADMIN";
|
31
|
+
FORM: "FORM";
|
31
32
|
}>;
|
32
33
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
33
34
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -65,7 +66,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
65
66
|
id: string;
|
66
67
|
username: string;
|
67
68
|
password: string;
|
68
|
-
role: "USER" | "ADMIN";
|
69
|
+
role: "USER" | "ADMIN" | "FORM";
|
69
70
|
isGlobalFilterActive: boolean;
|
70
71
|
fcmToken: string[];
|
71
72
|
created_at: Date;
|
@@ -82,7 +83,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
|
|
82
83
|
id: string;
|
83
84
|
username: string;
|
84
85
|
password: string;
|
85
|
-
role: "USER" | "ADMIN";
|
86
|
+
role: "USER" | "ADMIN" | "FORM";
|
86
87
|
created_at: Date;
|
87
88
|
updated_at: Date;
|
88
89
|
globalFilter: {
|
@@ -103,6 +104,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
103
104
|
role: z.ZodNativeEnum<{
|
104
105
|
USER: "USER";
|
105
106
|
ADMIN: "ADMIN";
|
107
|
+
FORM: "FORM";
|
106
108
|
}>;
|
107
109
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
108
110
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -139,7 +141,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
139
141
|
id: string;
|
140
142
|
username: string;
|
141
143
|
password: string;
|
142
|
-
role: "USER" | "ADMIN";
|
144
|
+
role: "USER" | "ADMIN" | "FORM";
|
143
145
|
isGlobalFilterActive: boolean;
|
144
146
|
fcmToken: string[];
|
145
147
|
created_at: string;
|
@@ -156,7 +158,7 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
|
|
156
158
|
id: string;
|
157
159
|
username: string;
|
158
160
|
password: string;
|
159
|
-
role: "USER" | "ADMIN";
|
161
|
+
role: "USER" | "ADMIN" | "FORM";
|
160
162
|
created_at: string;
|
161
163
|
updated_at: string;
|
162
164
|
globalFilter: {
|
@@ -6,6 +6,7 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
6
6
|
role: z.ZodNativeEnum<{
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
|
+
FORM: "FORM";
|
9
10
|
}>;
|
10
11
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
11
12
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -38,6 +39,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
38
39
|
role: z.ZodNativeEnum<{
|
39
40
|
USER: "USER";
|
40
41
|
ADMIN: "ADMIN";
|
42
|
+
FORM: "FORM";
|
41
43
|
}>;
|
42
44
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
43
45
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -46,7 +48,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
46
48
|
}, "password">, "strip", z.ZodTypeAny, {
|
47
49
|
id: string;
|
48
50
|
username: string;
|
49
|
-
role: "USER" | "ADMIN";
|
51
|
+
role: "USER" | "ADMIN" | "FORM";
|
50
52
|
isGlobalFilterActive: boolean;
|
51
53
|
fcmToken: string[];
|
52
54
|
created_at: Date;
|
@@ -54,7 +56,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
54
56
|
}, {
|
55
57
|
id: string;
|
56
58
|
username: string;
|
57
|
-
role: "USER" | "ADMIN";
|
59
|
+
role: "USER" | "ADMIN" | "FORM";
|
58
60
|
created_at: Date;
|
59
61
|
updated_at: Date;
|
60
62
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -77,7 +79,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
77
79
|
user: {
|
78
80
|
id: string;
|
79
81
|
username: string;
|
80
|
-
role: "USER" | "ADMIN";
|
82
|
+
role: "USER" | "ADMIN" | "FORM";
|
81
83
|
isGlobalFilterActive: boolean;
|
82
84
|
fcmToken: string[];
|
83
85
|
created_at: Date;
|
@@ -92,7 +94,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
92
94
|
user: {
|
93
95
|
id: string;
|
94
96
|
username: string;
|
95
|
-
role: "USER" | "ADMIN";
|
97
|
+
role: "USER" | "ADMIN" | "FORM";
|
96
98
|
created_at: Date;
|
97
99
|
updated_at: Date;
|
98
100
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -111,6 +113,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
111
113
|
role: z.ZodNativeEnum<{
|
112
114
|
USER: "USER";
|
113
115
|
ADMIN: "ADMIN";
|
116
|
+
FORM: "FORM";
|
114
117
|
}>;
|
115
118
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
116
119
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -119,7 +122,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
119
122
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
120
123
|
id: string;
|
121
124
|
username: string;
|
122
|
-
role: "USER" | "ADMIN";
|
125
|
+
role: "USER" | "ADMIN" | "FORM";
|
123
126
|
isGlobalFilterActive: boolean;
|
124
127
|
fcmToken: string[];
|
125
128
|
created_at: string;
|
@@ -127,7 +130,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
127
130
|
}, {
|
128
131
|
id: string;
|
129
132
|
username: string;
|
130
|
-
role: "USER" | "ADMIN";
|
133
|
+
role: "USER" | "ADMIN" | "FORM";
|
131
134
|
created_at: string;
|
132
135
|
updated_at: string;
|
133
136
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -150,7 +153,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
150
153
|
user: {
|
151
154
|
id: string;
|
152
155
|
username: string;
|
153
|
-
role: "USER" | "ADMIN";
|
156
|
+
role: "USER" | "ADMIN" | "FORM";
|
154
157
|
isGlobalFilterActive: boolean;
|
155
158
|
fcmToken: string[];
|
156
159
|
created_at: string;
|
@@ -165,7 +168,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
165
168
|
user: {
|
166
169
|
id: string;
|
167
170
|
username: string;
|
168
|
-
role: "USER" | "ADMIN";
|
171
|
+
role: "USER" | "ADMIN" | "FORM";
|
169
172
|
created_at: string;
|
170
173
|
updated_at: string;
|
171
174
|
isGlobalFilterActive?: boolean | undefined;
|
@@ -19,6 +19,7 @@ export declare const getByProfileCommentResponseSchema: z.ZodObject<{
|
|
19
19
|
role: z.ZodNativeEnum<{
|
20
20
|
USER: "USER";
|
21
21
|
ADMIN: "ADMIN";
|
22
|
+
FORM: "FORM";
|
22
23
|
}>;
|
23
24
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
24
25
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
@@ -11,7 +11,7 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
11
11
|
created_at: z.ZodDate;
|
12
12
|
updated_at: z.ZodDate;
|
13
13
|
}, "location" | "name" | "date" | "folderId">, {
|
14
|
-
subEvents: z.ZodArray<z.ZodObject<Pick<{
|
14
|
+
subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
|
15
15
|
id: z.ZodString;
|
16
16
|
name: z.ZodString;
|
17
17
|
date: z.ZodDate;
|
@@ -30,34 +30,34 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
30
30
|
location: string;
|
31
31
|
name: string;
|
32
32
|
date: Date;
|
33
|
-
}>, "many"
|
33
|
+
}>, "many">>;
|
34
34
|
}>, "strip", z.ZodTypeAny, {
|
35
35
|
location: string;
|
36
36
|
name: string;
|
37
37
|
date: Date;
|
38
38
|
folderId: string | null;
|
39
|
-
subEvents
|
39
|
+
subEvents?: {
|
40
40
|
location: string;
|
41
41
|
name: string;
|
42
42
|
date: Date;
|
43
|
-
}[];
|
43
|
+
}[] | undefined;
|
44
44
|
}, {
|
45
45
|
location: string;
|
46
46
|
name: string;
|
47
47
|
date: Date;
|
48
48
|
folderId: string | null;
|
49
|
-
subEvents
|
49
|
+
subEvents?: {
|
50
50
|
location: string;
|
51
51
|
name: string;
|
52
52
|
date: Date;
|
53
|
-
}[];
|
53
|
+
}[] | undefined;
|
54
54
|
}>;
|
55
55
|
declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
56
56
|
location: z.ZodString;
|
57
57
|
name: z.ZodString;
|
58
58
|
date: z.ZodString;
|
59
59
|
folderId: z.ZodNullable<z.ZodString>;
|
60
|
-
subEvents: z.ZodArray<z.ZodObject<{
|
60
|
+
subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
61
61
|
location: z.ZodString;
|
62
62
|
name: z.ZodString;
|
63
63
|
date: z.ZodString;
|
@@ -69,27 +69,27 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
69
69
|
location: string;
|
70
70
|
name: string;
|
71
71
|
date: string;
|
72
|
-
}>, "many"
|
72
|
+
}>, "many">>;
|
73
73
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
74
74
|
location: string;
|
75
75
|
name: string;
|
76
76
|
date: string;
|
77
77
|
folderId: string | null;
|
78
|
-
subEvents
|
78
|
+
subEvents?: {
|
79
79
|
location: string;
|
80
80
|
name: string;
|
81
81
|
date: string;
|
82
|
-
}[];
|
82
|
+
}[] | undefined;
|
83
83
|
}, {
|
84
84
|
location: string;
|
85
85
|
name: string;
|
86
86
|
date: string;
|
87
87
|
folderId: string | null;
|
88
|
-
subEvents
|
88
|
+
subEvents?: {
|
89
89
|
location: string;
|
90
90
|
name: string;
|
91
91
|
date: string;
|
92
|
-
}[];
|
92
|
+
}[] | undefined;
|
93
93
|
}>>;
|
94
94
|
export declare class CreateEventDto extends CreateEventDto_base {
|
95
95
|
}
|
@@ -15,11 +15,13 @@ exports.createEventSchema = event_dto_1.eventSchema
|
|
15
15
|
folderId: true,
|
16
16
|
})
|
17
17
|
.merge(zod_1.default.object({
|
18
|
-
subEvents: zod_1.default
|
18
|
+
subEvents: zod_1.default
|
19
|
+
.array(event_dto_1.eventSchema.pick({
|
19
20
|
name: true,
|
20
21
|
date: true,
|
21
22
|
location: true,
|
22
|
-
}))
|
23
|
+
}))
|
24
|
+
.optional(),
|
23
25
|
}));
|
24
26
|
class CreateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventSchema) {
|
25
27
|
}
|
@@ -10,7 +10,9 @@ exports.eventFolderSchema = zod_1.default.object({
|
|
10
10
|
id: zod_1.default.string().uuid({
|
11
11
|
message: (0, translate_1.translate)('model.event-folder.id.uuid'),
|
12
12
|
}),
|
13
|
-
name: zod_1.default.string().min(1
|
13
|
+
name: zod_1.default.string().min(1, {
|
14
|
+
message: (0, translate_1.translate)('model.event-folder.name.min'),
|
15
|
+
}),
|
14
16
|
color: zod_1.default
|
15
17
|
.string()
|
16
18
|
.length(7)
|
@@ -1,22 +1,25 @@
|
|
1
|
-
export declare const updateEventFolderSchema: import("zod").ZodObject<{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
export declare const updateEventFolderSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
color: import("zod").ZodString;
|
5
|
+
created_at: import("zod").ZodDate;
|
6
|
+
updated_at: import("zod").ZodDate;
|
7
|
+
}, "name" | "color">, "strip", import("zod").ZodTypeAny, {
|
8
|
+
name: string;
|
9
|
+
color: string;
|
7
10
|
}, {
|
8
|
-
name
|
9
|
-
color
|
11
|
+
name: string;
|
12
|
+
color: string;
|
10
13
|
}>;
|
11
14
|
declare const UpdateEventFolderDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
12
|
-
name: import("zod").
|
13
|
-
color: import("zod").
|
15
|
+
name: import("zod").ZodString;
|
16
|
+
color: import("zod").ZodString;
|
14
17
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
15
|
-
name
|
16
|
-
color
|
18
|
+
name: string;
|
19
|
+
color: string;
|
17
20
|
}, {
|
18
|
-
name
|
19
|
-
color
|
21
|
+
name: string;
|
22
|
+
color: string;
|
20
23
|
}>>;
|
21
24
|
export declare class UpdateEventFolderDto extends UpdateEventFolderDto_base {
|
22
25
|
}
|
@@ -3,12 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateEventFolderResponseDto = exports.updateEventFolderResponseSchema = exports.UpdateEventFolderDto = exports.updateEventFolderSchema = void 0;
|
4
4
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const event_folder_dto_1 = require("./event-folder.dto");
|
6
|
-
exports.updateEventFolderSchema = event_folder_dto_1.eventFolderSchema
|
7
|
-
.pick({
|
6
|
+
exports.updateEventFolderSchema = event_folder_dto_1.eventFolderSchema.pick({
|
8
7
|
name: true,
|
9
8
|
color: true,
|
10
|
-
})
|
11
|
-
.partial();
|
9
|
+
});
|
12
10
|
class UpdateEventFolderDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventFolderSchema) {
|
13
11
|
}
|
14
12
|
exports.UpdateEventFolderDto = UpdateEventFolderDto;
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -94,6 +94,9 @@ declare const _default: {
|
|
94
94
|
readonly id: {
|
95
95
|
readonly uuid: "El ID debe ser un UUID";
|
96
96
|
};
|
97
|
+
readonly name: {
|
98
|
+
readonly min: "El nombre debe tener al menos 1 caracter";
|
99
|
+
};
|
97
100
|
readonly color: {
|
98
101
|
readonly invalid: "El color debe tener el formato hexadecimal (#ABCDEF)";
|
99
102
|
};
|
@@ -317,6 +320,53 @@ declare const _default: {
|
|
317
320
|
readonly 'not-found': "Evento no encontrado";
|
318
321
|
};
|
319
322
|
};
|
323
|
+
readonly profile: {
|
324
|
+
readonly 'find-all': {
|
325
|
+
readonly success: "Perfiles obtenidos";
|
326
|
+
};
|
327
|
+
readonly 'find-by-id': {
|
328
|
+
readonly 'not-found': "Perfil no encontrado";
|
329
|
+
readonly success: "Perfil obtenido";
|
330
|
+
};
|
331
|
+
readonly 'find-by-tag': {
|
332
|
+
readonly 'not-found': "Perfil no encontrado";
|
333
|
+
readonly 'tags-not-found': "Alguna de las etiquetas no existe";
|
334
|
+
readonly success: "Perfiles obtenidos";
|
335
|
+
};
|
336
|
+
readonly 'find-by-tag-groups': {
|
337
|
+
readonly 'not-found': "Perfil no encontrado";
|
338
|
+
readonly 'tag-groups-not-found': "Alguno de los grupos de etiquetas no existe";
|
339
|
+
readonly success: "Perfiles obtenidos";
|
340
|
+
};
|
341
|
+
readonly create: {
|
342
|
+
readonly 'participant-tag-not-found': "No se encontró la etiqueta de participante";
|
343
|
+
readonly success: "Perfil creado con éxito";
|
344
|
+
readonly 'dni-already-exists': "Ya existe un perfil con ese DNI";
|
345
|
+
readonly 'phone-number-already-exists': "Ya existe un perfil con ese teléfono";
|
346
|
+
readonly 'secondary-phone-number-already-exists': "Ya existe un perfil con ese teléfono secundario";
|
347
|
+
readonly conflict: "Error en la creación del perfil";
|
348
|
+
};
|
349
|
+
readonly delete: {
|
350
|
+
readonly success: "Perfil eliminado con éxito";
|
351
|
+
readonly 'not-found': "Perfil no encontrado";
|
352
|
+
};
|
353
|
+
readonly update: {
|
354
|
+
readonly success: "Perfil actualizado con éxito";
|
355
|
+
readonly 'not-found': "Perfil no encontrado";
|
356
|
+
readonly conflict: "Error en la actualización del perfil";
|
357
|
+
};
|
358
|
+
readonly 'find-by-date-range': {
|
359
|
+
readonly success: "Perfiles obtenidos";
|
360
|
+
readonly 'invalid-date': "Fecha inválida";
|
361
|
+
};
|
362
|
+
readonly 'find-by-phone-number': {
|
363
|
+
readonly success: "Perfil obtenido";
|
364
|
+
readonly 'not-found': "Perfil no encontrado";
|
365
|
+
};
|
366
|
+
readonly 'find-trash': {
|
367
|
+
readonly success: "Perfiles obtenidos";
|
368
|
+
};
|
369
|
+
};
|
320
370
|
};
|
321
371
|
};
|
322
372
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -96,6 +96,9 @@ exports.default = {
|
|
96
96
|
id: {
|
97
97
|
uuid: 'El ID debe ser un UUID',
|
98
98
|
},
|
99
|
+
name: {
|
100
|
+
min: 'El nombre debe tener al menos 1 caracter',
|
101
|
+
},
|
99
102
|
color: {
|
100
103
|
invalid: 'El color debe tener el formato hexadecimal (#ABCDEF)',
|
101
104
|
},
|
@@ -319,6 +322,53 @@ exports.default = {
|
|
319
322
|
'not-found': 'Evento no encontrado',
|
320
323
|
},
|
321
324
|
},
|
325
|
+
profile: {
|
326
|
+
'find-all': {
|
327
|
+
success: 'Perfiles obtenidos',
|
328
|
+
},
|
329
|
+
'find-by-id': {
|
330
|
+
'not-found': 'Perfil no encontrado',
|
331
|
+
success: 'Perfil obtenido',
|
332
|
+
},
|
333
|
+
'find-by-tag': {
|
334
|
+
'not-found': 'Perfil no encontrado',
|
335
|
+
'tags-not-found': 'Alguna de las etiquetas no existe',
|
336
|
+
success: 'Perfiles obtenidos',
|
337
|
+
},
|
338
|
+
'find-by-tag-groups': {
|
339
|
+
'not-found': 'Perfil no encontrado',
|
340
|
+
'tag-groups-not-found': 'Alguno de los grupos de etiquetas no existe',
|
341
|
+
success: 'Perfiles obtenidos',
|
342
|
+
},
|
343
|
+
create: {
|
344
|
+
'participant-tag-not-found': 'No se encontró la etiqueta de participante',
|
345
|
+
success: 'Perfil creado con éxito',
|
346
|
+
'dni-already-exists': 'Ya existe un perfil con ese DNI',
|
347
|
+
'phone-number-already-exists': 'Ya existe un perfil con ese teléfono',
|
348
|
+
'secondary-phone-number-already-exists': 'Ya existe un perfil con ese teléfono secundario',
|
349
|
+
conflict: 'Error en la creación del perfil',
|
350
|
+
},
|
351
|
+
delete: {
|
352
|
+
success: 'Perfil eliminado con éxito',
|
353
|
+
'not-found': 'Perfil no encontrado',
|
354
|
+
},
|
355
|
+
update: {
|
356
|
+
success: 'Perfil actualizado con éxito',
|
357
|
+
'not-found': 'Perfil no encontrado',
|
358
|
+
conflict: 'Error en la actualización del perfil',
|
359
|
+
},
|
360
|
+
'find-by-date-range': {
|
361
|
+
success: 'Perfiles obtenidos',
|
362
|
+
'invalid-date': 'Fecha inválida',
|
363
|
+
},
|
364
|
+
'find-by-phone-number': {
|
365
|
+
success: 'Perfil obtenido',
|
366
|
+
'not-found': 'Perfil no encontrado',
|
367
|
+
},
|
368
|
+
'find-trash': {
|
369
|
+
success: 'Perfiles obtenidos',
|
370
|
+
},
|
371
|
+
},
|
322
372
|
},
|
323
373
|
};
|
324
374
|
//# sourceMappingURL=es.js.map
|