expo-backend-types 0.9.0-EXPO-249-EB-Modelo.7 → 0.9.0-EXPO-247-EB-Evento.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 +4 -6
- package/dist/src/account/dto/create-account.dto.d.ts +8 -12
- package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
- package/dist/src/account/dto/get-me.dto.d.ts +4 -6
- package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
- package/dist/src/auth/dto/login.dto.d.ts +8 -11
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -1
- package/dist/src/event/dto/create-event.dto.d.ts +126 -0
- package/dist/src/event/dto/create-event.dto.js +22 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +71 -0
- package/dist/src/event/dto/delete-event.dto.js +10 -0
- package/dist/src/event/dto/get-all-event.dto.d.ts +223 -0
- package/dist/src/event/dto/get-all-event.dto.js +19 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +139 -0
- package/dist/src/event/dto/get-by-id-event.dto.js +17 -0
- package/dist/src/event/dto/update-event.dto.d.ts +126 -0
- package/dist/src/event/dto/update-event.dto.js +22 -0
- package/dist/src/event/exports.d.ts +5 -0
- package/dist/src/event/exports.js +5 -0
- package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +14 -17
- package/dist/src/event-folder/dto/update-event-folder.dto.js +4 -2
- package/dist/src/i18n/es.d.ts +15 -33
- package/dist/src/i18n/es.js +15 -33
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/profile/dto/profile.dto.d.ts +5 -5
- package/dist/src/profile/dto/profile.dto.js +3 -7
- package/dist/src/profile/exports.d.ts +0 -8
- package/dist/src/profile/exports.js +0 -8
- 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 +4 -5
- package/dist/types/prisma-schema/index-browser.js +1 -2
- package/dist/types/prisma-schema/index.d.ts +2 -9
- package/dist/types/prisma-schema/index.js +4 -5
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +0 -2
- package/dist/types/prisma-schema/wasm.js +1 -2
- package/dist/types/schema.d.ts +158 -479
- package/package.json +1 -4
- package/dist/src/profile/dto/create-profile.dto.d.ts +0 -694
- package/dist/src/profile/dto/create-profile.dto.js +0 -84
- package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -125
- package/dist/src/profile/dto/delete-profile.dto.js +0 -10
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -410
- package/dist/src/profile/dto/find-all-profile.dto.js +0 -25
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -655
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +0 -34
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -475
- package/dist/src/profile/dto/find-by-id-profile.dto.js +0 -27
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -337
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +0 -19
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +0 -393
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -24
- package/dist/src/profile/dto/update-profile.dto.d.ts +0 -360
- package/dist/src/profile/dto/update-profile.dto.js +0 -55
@@ -0,0 +1,223 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getAllEventsResponseSchema: z.ZodObject<{
|
3
|
+
events: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
|
+
id: z.ZodString;
|
5
|
+
name: z.ZodString;
|
6
|
+
date: z.ZodDate;
|
7
|
+
location: z.ZodString;
|
8
|
+
folderId: z.ZodNullable<z.ZodString>;
|
9
|
+
tagAssistedId: z.ZodString;
|
10
|
+
tagConfirmedId: z.ZodString;
|
11
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
12
|
+
created_at: z.ZodDate;
|
13
|
+
updated_at: z.ZodDate;
|
14
|
+
}, {
|
15
|
+
folder: z.ZodNullable<z.ZodObject<{
|
16
|
+
id: z.ZodString;
|
17
|
+
name: z.ZodString;
|
18
|
+
color: z.ZodString;
|
19
|
+
created_at: z.ZodDate;
|
20
|
+
updated_at: z.ZodDate;
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
22
|
+
id: string;
|
23
|
+
name: string;
|
24
|
+
color: string;
|
25
|
+
created_at: Date;
|
26
|
+
updated_at: Date;
|
27
|
+
}, {
|
28
|
+
id: string;
|
29
|
+
name: string;
|
30
|
+
color: string;
|
31
|
+
created_at: Date;
|
32
|
+
updated_at: Date;
|
33
|
+
}>>;
|
34
|
+
}>, "strip", z.ZodTypeAny, {
|
35
|
+
location: string;
|
36
|
+
id: string;
|
37
|
+
name: string;
|
38
|
+
date: Date;
|
39
|
+
created_at: Date;
|
40
|
+
updated_at: Date;
|
41
|
+
folderId: string | null;
|
42
|
+
tagAssistedId: string;
|
43
|
+
tagConfirmedId: string;
|
44
|
+
supraEventId: string | null;
|
45
|
+
folder: {
|
46
|
+
id: string;
|
47
|
+
name: string;
|
48
|
+
color: string;
|
49
|
+
created_at: Date;
|
50
|
+
updated_at: Date;
|
51
|
+
} | null;
|
52
|
+
}, {
|
53
|
+
location: string;
|
54
|
+
id: string;
|
55
|
+
name: string;
|
56
|
+
date: Date;
|
57
|
+
created_at: Date;
|
58
|
+
updated_at: Date;
|
59
|
+
folderId: string | null;
|
60
|
+
tagAssistedId: string;
|
61
|
+
tagConfirmedId: string;
|
62
|
+
supraEventId: string | null;
|
63
|
+
folder: {
|
64
|
+
id: string;
|
65
|
+
name: string;
|
66
|
+
color: string;
|
67
|
+
created_at: Date;
|
68
|
+
updated_at: Date;
|
69
|
+
} | null;
|
70
|
+
}>, "many">;
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
72
|
+
events: {
|
73
|
+
location: string;
|
74
|
+
id: string;
|
75
|
+
name: string;
|
76
|
+
date: Date;
|
77
|
+
created_at: Date;
|
78
|
+
updated_at: Date;
|
79
|
+
folderId: string | null;
|
80
|
+
tagAssistedId: string;
|
81
|
+
tagConfirmedId: string;
|
82
|
+
supraEventId: string | null;
|
83
|
+
folder: {
|
84
|
+
id: string;
|
85
|
+
name: string;
|
86
|
+
color: string;
|
87
|
+
created_at: Date;
|
88
|
+
updated_at: Date;
|
89
|
+
} | null;
|
90
|
+
}[];
|
91
|
+
}, {
|
92
|
+
events: {
|
93
|
+
location: string;
|
94
|
+
id: string;
|
95
|
+
name: string;
|
96
|
+
date: Date;
|
97
|
+
created_at: Date;
|
98
|
+
updated_at: Date;
|
99
|
+
folderId: string | null;
|
100
|
+
tagAssistedId: string;
|
101
|
+
tagConfirmedId: string;
|
102
|
+
supraEventId: string | null;
|
103
|
+
folder: {
|
104
|
+
id: string;
|
105
|
+
name: string;
|
106
|
+
color: string;
|
107
|
+
created_at: Date;
|
108
|
+
updated_at: Date;
|
109
|
+
} | null;
|
110
|
+
}[];
|
111
|
+
}>;
|
112
|
+
declare const GetAllEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
113
|
+
events: z.ZodArray<z.ZodObject<{
|
114
|
+
id: z.ZodString;
|
115
|
+
name: z.ZodString;
|
116
|
+
date: z.ZodString;
|
117
|
+
location: z.ZodString;
|
118
|
+
folderId: z.ZodNullable<z.ZodString>;
|
119
|
+
tagAssistedId: z.ZodString;
|
120
|
+
tagConfirmedId: z.ZodString;
|
121
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
122
|
+
created_at: z.ZodString;
|
123
|
+
updated_at: z.ZodString;
|
124
|
+
folder: z.ZodNullable<z.ZodObject<{
|
125
|
+
id: z.ZodString;
|
126
|
+
name: z.ZodString;
|
127
|
+
color: z.ZodString;
|
128
|
+
created_at: z.ZodString;
|
129
|
+
updated_at: z.ZodString;
|
130
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
131
|
+
id: string;
|
132
|
+
name: string;
|
133
|
+
color: string;
|
134
|
+
created_at: string;
|
135
|
+
updated_at: string;
|
136
|
+
}, {
|
137
|
+
id: string;
|
138
|
+
name: string;
|
139
|
+
color: string;
|
140
|
+
created_at: string;
|
141
|
+
updated_at: string;
|
142
|
+
}>>;
|
143
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
144
|
+
location: string;
|
145
|
+
id: string;
|
146
|
+
name: string;
|
147
|
+
date: string;
|
148
|
+
created_at: string;
|
149
|
+
updated_at: string;
|
150
|
+
folderId: string | null;
|
151
|
+
tagAssistedId: string;
|
152
|
+
tagConfirmedId: string;
|
153
|
+
supraEventId: string | null;
|
154
|
+
folder: {
|
155
|
+
id: string;
|
156
|
+
name: string;
|
157
|
+
color: string;
|
158
|
+
created_at: string;
|
159
|
+
updated_at: string;
|
160
|
+
} | null;
|
161
|
+
}, {
|
162
|
+
location: string;
|
163
|
+
id: string;
|
164
|
+
name: string;
|
165
|
+
date: string;
|
166
|
+
created_at: string;
|
167
|
+
updated_at: string;
|
168
|
+
folderId: string | null;
|
169
|
+
tagAssistedId: string;
|
170
|
+
tagConfirmedId: string;
|
171
|
+
supraEventId: string | null;
|
172
|
+
folder: {
|
173
|
+
id: string;
|
174
|
+
name: string;
|
175
|
+
color: string;
|
176
|
+
created_at: string;
|
177
|
+
updated_at: string;
|
178
|
+
} | null;
|
179
|
+
}>, "many">;
|
180
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
181
|
+
events: {
|
182
|
+
location: string;
|
183
|
+
id: string;
|
184
|
+
name: string;
|
185
|
+
date: string;
|
186
|
+
created_at: string;
|
187
|
+
updated_at: string;
|
188
|
+
folderId: string | null;
|
189
|
+
tagAssistedId: string;
|
190
|
+
tagConfirmedId: string;
|
191
|
+
supraEventId: string | null;
|
192
|
+
folder: {
|
193
|
+
id: string;
|
194
|
+
name: string;
|
195
|
+
color: string;
|
196
|
+
created_at: string;
|
197
|
+
updated_at: string;
|
198
|
+
} | null;
|
199
|
+
}[];
|
200
|
+
}, {
|
201
|
+
events: {
|
202
|
+
location: string;
|
203
|
+
id: string;
|
204
|
+
name: string;
|
205
|
+
date: string;
|
206
|
+
created_at: string;
|
207
|
+
updated_at: string;
|
208
|
+
folderId: string | null;
|
209
|
+
tagAssistedId: string;
|
210
|
+
tagConfirmedId: string;
|
211
|
+
supraEventId: string | null;
|
212
|
+
folder: {
|
213
|
+
id: string;
|
214
|
+
name: string;
|
215
|
+
color: string;
|
216
|
+
created_at: string;
|
217
|
+
updated_at: string;
|
218
|
+
} | null;
|
219
|
+
}[];
|
220
|
+
}>>;
|
221
|
+
export declare class GetAllEventsResponseDto extends GetAllEventsResponseDto_base {
|
222
|
+
}
|
223
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.GetAllEventsResponseDto = exports.getAllEventsResponseSchema = void 0;
|
7
|
+
const event_folder_dto_1 = require("../../event-folder/dto/event-folder.dto");
|
8
|
+
const event_dto_1 = require("./event.dto");
|
9
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.getAllEventsResponseSchema = zod_1.default.object({
|
12
|
+
events: zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
|
13
|
+
folder: event_folder_dto_1.eventFolderSchema.nullable(),
|
14
|
+
}))),
|
15
|
+
});
|
16
|
+
class GetAllEventsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllEventsResponseSchema) {
|
17
|
+
}
|
18
|
+
exports.GetAllEventsResponseDto = GetAllEventsResponseDto;
|
19
|
+
//# sourceMappingURL=get-all-event.dto.js.map
|
@@ -0,0 +1,139 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
+
id: z.ZodString;
|
4
|
+
name: z.ZodString;
|
5
|
+
date: z.ZodDate;
|
6
|
+
location: z.ZodString;
|
7
|
+
folderId: z.ZodNullable<z.ZodString>;
|
8
|
+
tagAssistedId: z.ZodString;
|
9
|
+
tagConfirmedId: z.ZodString;
|
10
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
11
|
+
created_at: z.ZodDate;
|
12
|
+
updated_at: z.ZodDate;
|
13
|
+
}, {
|
14
|
+
folder: z.ZodNullable<z.ZodObject<{
|
15
|
+
id: z.ZodString;
|
16
|
+
name: z.ZodString;
|
17
|
+
color: z.ZodString;
|
18
|
+
created_at: z.ZodDate;
|
19
|
+
updated_at: z.ZodDate;
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
21
|
+
id: string;
|
22
|
+
name: string;
|
23
|
+
color: string;
|
24
|
+
created_at: Date;
|
25
|
+
updated_at: Date;
|
26
|
+
}, {
|
27
|
+
id: string;
|
28
|
+
name: string;
|
29
|
+
color: string;
|
30
|
+
created_at: Date;
|
31
|
+
updated_at: Date;
|
32
|
+
}>>;
|
33
|
+
}>, "strip", z.ZodTypeAny, {
|
34
|
+
location: string;
|
35
|
+
id: string;
|
36
|
+
name: string;
|
37
|
+
date: Date;
|
38
|
+
created_at: Date;
|
39
|
+
updated_at: Date;
|
40
|
+
folderId: string | null;
|
41
|
+
tagAssistedId: string;
|
42
|
+
tagConfirmedId: string;
|
43
|
+
supraEventId: string | null;
|
44
|
+
folder: {
|
45
|
+
id: string;
|
46
|
+
name: string;
|
47
|
+
color: string;
|
48
|
+
created_at: Date;
|
49
|
+
updated_at: Date;
|
50
|
+
} | null;
|
51
|
+
}, {
|
52
|
+
location: string;
|
53
|
+
id: string;
|
54
|
+
name: string;
|
55
|
+
date: Date;
|
56
|
+
created_at: Date;
|
57
|
+
updated_at: Date;
|
58
|
+
folderId: string | null;
|
59
|
+
tagAssistedId: string;
|
60
|
+
tagConfirmedId: string;
|
61
|
+
supraEventId: string | null;
|
62
|
+
folder: {
|
63
|
+
id: string;
|
64
|
+
name: string;
|
65
|
+
color: string;
|
66
|
+
created_at: Date;
|
67
|
+
updated_at: Date;
|
68
|
+
} | null;
|
69
|
+
}>;
|
70
|
+
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
71
|
+
id: z.ZodString;
|
72
|
+
name: z.ZodString;
|
73
|
+
date: z.ZodString;
|
74
|
+
location: z.ZodString;
|
75
|
+
folderId: z.ZodNullable<z.ZodString>;
|
76
|
+
tagAssistedId: z.ZodString;
|
77
|
+
tagConfirmedId: z.ZodString;
|
78
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
79
|
+
created_at: z.ZodString;
|
80
|
+
updated_at: z.ZodString;
|
81
|
+
folder: z.ZodNullable<z.ZodObject<{
|
82
|
+
id: z.ZodString;
|
83
|
+
name: z.ZodString;
|
84
|
+
color: z.ZodString;
|
85
|
+
created_at: z.ZodString;
|
86
|
+
updated_at: z.ZodString;
|
87
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
88
|
+
id: string;
|
89
|
+
name: string;
|
90
|
+
color: string;
|
91
|
+
created_at: string;
|
92
|
+
updated_at: string;
|
93
|
+
}, {
|
94
|
+
id: string;
|
95
|
+
name: string;
|
96
|
+
color: string;
|
97
|
+
created_at: string;
|
98
|
+
updated_at: string;
|
99
|
+
}>>;
|
100
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
101
|
+
location: string;
|
102
|
+
id: string;
|
103
|
+
name: string;
|
104
|
+
date: string;
|
105
|
+
created_at: string;
|
106
|
+
updated_at: string;
|
107
|
+
folderId: string | null;
|
108
|
+
tagAssistedId: string;
|
109
|
+
tagConfirmedId: string;
|
110
|
+
supraEventId: string | null;
|
111
|
+
folder: {
|
112
|
+
id: string;
|
113
|
+
name: string;
|
114
|
+
color: string;
|
115
|
+
created_at: string;
|
116
|
+
updated_at: string;
|
117
|
+
} | null;
|
118
|
+
}, {
|
119
|
+
location: string;
|
120
|
+
id: string;
|
121
|
+
name: string;
|
122
|
+
date: string;
|
123
|
+
created_at: string;
|
124
|
+
updated_at: string;
|
125
|
+
folderId: string | null;
|
126
|
+
tagAssistedId: string;
|
127
|
+
tagConfirmedId: string;
|
128
|
+
supraEventId: string | null;
|
129
|
+
folder: {
|
130
|
+
id: string;
|
131
|
+
name: string;
|
132
|
+
color: string;
|
133
|
+
created_at: string;
|
134
|
+
updated_at: string;
|
135
|
+
} | null;
|
136
|
+
}>>;
|
137
|
+
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
138
|
+
}
|
139
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
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.GetByIdEventResponseDto = exports.getByIdEventResponseSchema = void 0;
|
7
|
+
const event_folder_dto_1 = require("../../event-folder/dto/event-folder.dto");
|
8
|
+
const event_dto_1 = require("./event.dto");
|
9
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
12
|
+
folder: event_folder_dto_1.eventFolderSchema.nullable(),
|
13
|
+
}));
|
14
|
+
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.GetByIdEventResponseDto = GetByIdEventResponseDto;
|
17
|
+
//# sourceMappingURL=get-by-id-event.dto.js.map
|
@@ -0,0 +1,126 @@
|
|
1
|
+
export declare const updateEventSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
date: import("zod").ZodDate;
|
5
|
+
location: import("zod").ZodString;
|
6
|
+
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
7
|
+
tagAssistedId: import("zod").ZodString;
|
8
|
+
tagConfirmedId: import("zod").ZodString;
|
9
|
+
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
10
|
+
created_at: import("zod").ZodDate;
|
11
|
+
updated_at: import("zod").ZodDate;
|
12
|
+
}, "location" | "name" | "date" | "folderId" | "tagAssistedId" | "tagConfirmedId" | "supraEventId">, "strip", import("zod").ZodTypeAny, {
|
13
|
+
location: string;
|
14
|
+
name: string;
|
15
|
+
date: Date;
|
16
|
+
folderId: string | null;
|
17
|
+
tagAssistedId: string;
|
18
|
+
tagConfirmedId: string;
|
19
|
+
supraEventId: string | null;
|
20
|
+
}, {
|
21
|
+
location: string;
|
22
|
+
name: string;
|
23
|
+
date: Date;
|
24
|
+
folderId: string | null;
|
25
|
+
tagAssistedId: string;
|
26
|
+
tagConfirmedId: string;
|
27
|
+
supraEventId: string | null;
|
28
|
+
}>;
|
29
|
+
declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
30
|
+
location: import("zod").ZodString;
|
31
|
+
name: import("zod").ZodString;
|
32
|
+
date: import("zod").ZodString;
|
33
|
+
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
34
|
+
tagAssistedId: import("zod").ZodString;
|
35
|
+
tagConfirmedId: import("zod").ZodString;
|
36
|
+
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
37
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
38
|
+
location: string;
|
39
|
+
name: string;
|
40
|
+
date: string;
|
41
|
+
folderId: string | null;
|
42
|
+
tagAssistedId: string;
|
43
|
+
tagConfirmedId: string;
|
44
|
+
supraEventId: string | null;
|
45
|
+
}, {
|
46
|
+
location: string;
|
47
|
+
name: string;
|
48
|
+
date: string;
|
49
|
+
folderId: string | null;
|
50
|
+
tagAssistedId: string;
|
51
|
+
tagConfirmedId: string;
|
52
|
+
supraEventId: string | null;
|
53
|
+
}>>;
|
54
|
+
export declare class UpdateEventDto extends UpdateEventDto_base {
|
55
|
+
}
|
56
|
+
export declare const updateEventResponseSchema: import("zod").ZodObject<{
|
57
|
+
id: import("zod").ZodString;
|
58
|
+
name: import("zod").ZodString;
|
59
|
+
date: import("zod").ZodDate;
|
60
|
+
location: import("zod").ZodString;
|
61
|
+
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
62
|
+
tagAssistedId: import("zod").ZodString;
|
63
|
+
tagConfirmedId: import("zod").ZodString;
|
64
|
+
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
65
|
+
created_at: import("zod").ZodDate;
|
66
|
+
updated_at: import("zod").ZodDate;
|
67
|
+
}, "strip", import("zod").ZodTypeAny, {
|
68
|
+
location: string;
|
69
|
+
id: string;
|
70
|
+
name: string;
|
71
|
+
date: Date;
|
72
|
+
created_at: Date;
|
73
|
+
updated_at: Date;
|
74
|
+
folderId: string | null;
|
75
|
+
tagAssistedId: string;
|
76
|
+
tagConfirmedId: string;
|
77
|
+
supraEventId: string | null;
|
78
|
+
}, {
|
79
|
+
location: string;
|
80
|
+
id: string;
|
81
|
+
name: string;
|
82
|
+
date: Date;
|
83
|
+
created_at: Date;
|
84
|
+
updated_at: Date;
|
85
|
+
folderId: string | null;
|
86
|
+
tagAssistedId: string;
|
87
|
+
tagConfirmedId: string;
|
88
|
+
supraEventId: string | null;
|
89
|
+
}>;
|
90
|
+
declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
91
|
+
id: import("zod").ZodString;
|
92
|
+
name: import("zod").ZodString;
|
93
|
+
date: import("zod").ZodString;
|
94
|
+
location: import("zod").ZodString;
|
95
|
+
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
96
|
+
tagAssistedId: import("zod").ZodString;
|
97
|
+
tagConfirmedId: import("zod").ZodString;
|
98
|
+
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
99
|
+
created_at: import("zod").ZodString;
|
100
|
+
updated_at: import("zod").ZodString;
|
101
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
102
|
+
location: string;
|
103
|
+
id: string;
|
104
|
+
name: string;
|
105
|
+
date: string;
|
106
|
+
created_at: string;
|
107
|
+
updated_at: string;
|
108
|
+
folderId: string | null;
|
109
|
+
tagAssistedId: string;
|
110
|
+
tagConfirmedId: string;
|
111
|
+
supraEventId: string | null;
|
112
|
+
}, {
|
113
|
+
location: string;
|
114
|
+
id: string;
|
115
|
+
name: string;
|
116
|
+
date: string;
|
117
|
+
created_at: string;
|
118
|
+
updated_at: string;
|
119
|
+
folderId: string | null;
|
120
|
+
tagAssistedId: string;
|
121
|
+
tagConfirmedId: string;
|
122
|
+
supraEventId: string | null;
|
123
|
+
}>>;
|
124
|
+
export declare class UpdateEventResponseDto extends UpdateEventResponseDto_base {
|
125
|
+
}
|
126
|
+
export {};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateEventResponseDto = exports.updateEventResponseSchema = exports.UpdateEventDto = exports.updateEventSchema = void 0;
|
4
|
+
const event_dto_1 = require("./event.dto");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
exports.updateEventSchema = event_dto_1.eventSchema.pick({
|
7
|
+
name: true,
|
8
|
+
folderId: true,
|
9
|
+
date: true,
|
10
|
+
location: true,
|
11
|
+
supraEventId: true,
|
12
|
+
tagAssistedId: true,
|
13
|
+
tagConfirmedId: true,
|
14
|
+
});
|
15
|
+
class UpdateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventSchema) {
|
16
|
+
}
|
17
|
+
exports.UpdateEventDto = UpdateEventDto;
|
18
|
+
exports.updateEventResponseSchema = event_dto_1.eventSchema;
|
19
|
+
class UpdateEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventResponseSchema) {
|
20
|
+
}
|
21
|
+
exports.UpdateEventResponseDto = UpdateEventResponseDto;
|
22
|
+
//# sourceMappingURL=update-event.dto.js.map
|
@@ -14,5 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/create-event.dto"), exports);
|
18
|
+
__exportStar(require("./dto/delete-event.dto"), exports);
|
17
19
|
__exportStar(require("./dto/event.dto"), exports);
|
20
|
+
__exportStar(require("./dto/get-all-event.dto"), exports);
|
21
|
+
__exportStar(require("./dto/get-by-id-event.dto"), exports);
|
22
|
+
__exportStar(require("./dto/update-event.dto"), exports);
|
18
23
|
//# sourceMappingURL=exports.js.map
|
@@ -1,25 +1,22 @@
|
|
1
|
-
export declare const updateEventFolderSchema: import("zod").ZodObject<
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
}, "name" | "color">, "strip", import("zod").ZodTypeAny, {
|
8
|
-
name: string;
|
9
|
-
color: string;
|
1
|
+
export declare const updateEventFolderSchema: import("zod").ZodObject<{
|
2
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
3
|
+
color: import("zod").ZodOptional<import("zod").ZodString>;
|
4
|
+
}, "strip", import("zod").ZodTypeAny, {
|
5
|
+
name?: string | undefined;
|
6
|
+
color?: string | undefined;
|
10
7
|
}, {
|
11
|
-
name
|
12
|
-
color
|
8
|
+
name?: string | undefined;
|
9
|
+
color?: string | undefined;
|
13
10
|
}>;
|
14
11
|
declare const UpdateEventFolderDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
15
|
-
name: import("zod").ZodString
|
16
|
-
color: import("zod").ZodString
|
12
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
13
|
+
color: import("zod").ZodOptional<import("zod").ZodString>;
|
17
14
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
18
|
-
name
|
19
|
-
color
|
15
|
+
name?: string | undefined;
|
16
|
+
color?: string | undefined;
|
20
17
|
}, {
|
21
|
-
name
|
22
|
-
color
|
18
|
+
name?: string | undefined;
|
19
|
+
color?: string | undefined;
|
23
20
|
}>>;
|
24
21
|
export declare class UpdateEventFolderDto extends UpdateEventFolderDto_base {
|
25
22
|
}
|
@@ -3,10 +3,12 @@ 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
|
6
|
+
exports.updateEventFolderSchema = event_folder_dto_1.eventFolderSchema
|
7
|
+
.pick({
|
7
8
|
name: true,
|
8
9
|
color: true,
|
9
|
-
})
|
10
|
+
})
|
11
|
+
.partial();
|
10
12
|
class UpdateEventFolderDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventFolderSchema) {
|
11
13
|
}
|
12
14
|
exports.UpdateEventFolderDto = UpdateEventFolderDto;
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -289,44 +289,26 @@ declare const _default: {
|
|
289
289
|
readonly 'not-found': "Carpeta de evento no encontrada";
|
290
290
|
};
|
291
291
|
};
|
292
|
-
readonly
|
293
|
-
readonly 'find-all': {
|
294
|
-
readonly success: "Perfiles obtenidos";
|
295
|
-
};
|
296
|
-
readonly 'find-by-id': {
|
297
|
-
readonly 'not-found': "Perfil no encontrado";
|
298
|
-
readonly success: "Perfil obtenido";
|
299
|
-
};
|
300
|
-
readonly 'find-by-tag': {
|
301
|
-
readonly 'not-found': "Perfil no encontrado";
|
302
|
-
readonly 'tags-not-found': "Alguna de las etiquetas no existe";
|
303
|
-
readonly success: "Perfiles obtenidos";
|
304
|
-
};
|
305
|
-
readonly 'find-by-tag-groups': {
|
306
|
-
readonly 'not-found': "Perfil no encontrado";
|
307
|
-
readonly 'tag-groups-not-found': "Alguno de los grupos de etiquetas no existe";
|
308
|
-
readonly success: "Perfiles obtenidos";
|
309
|
-
};
|
292
|
+
readonly event: {
|
310
293
|
readonly create: {
|
311
|
-
readonly
|
312
|
-
readonly
|
313
|
-
readonly 'dni-already-exists': "Ya existe un perfil con ese DNI";
|
314
|
-
readonly 'phone-number-already-exists': "Ya existe un perfil con ese teléfono";
|
315
|
-
readonly 'secondary-phone-number-already-exists': "Ya existe un perfil con ese teléfono secundario";
|
316
|
-
readonly conflict: "Error en la creación del perfil";
|
294
|
+
readonly success: "Evento creado con éxito";
|
295
|
+
readonly conflict: "Error en la creación del evento";
|
317
296
|
};
|
318
|
-
readonly
|
319
|
-
readonly success: "
|
320
|
-
readonly 'not-found': "
|
297
|
+
readonly 'get-all': {
|
298
|
+
readonly success: "Eventos obtenidos con éxito";
|
299
|
+
readonly 'not-found': "No se encontraron eventos";
|
300
|
+
};
|
301
|
+
readonly 'get-by-id': {
|
302
|
+
readonly success: "Evento obtenido con éxito";
|
303
|
+
readonly 'not-found': "Evento no encontrado";
|
321
304
|
};
|
322
305
|
readonly update: {
|
323
|
-
readonly success: "
|
324
|
-
readonly 'not-found': "
|
325
|
-
readonly conflict: "Error en la actualización del perfil";
|
306
|
+
readonly success: "Evento actualizado con éxito";
|
307
|
+
readonly 'not-found': "Evento no encontrado";
|
326
308
|
};
|
327
|
-
readonly
|
328
|
-
readonly success: "
|
329
|
-
readonly '
|
309
|
+
readonly delete: {
|
310
|
+
readonly success: "Evento eliminado con éxito";
|
311
|
+
readonly 'not-found': "Evento no encontrado";
|
330
312
|
};
|
331
313
|
};
|
332
314
|
};
|