expo-backend-types 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/dto/event.dto.d.ts +9 -9
- package/dist/src/event/dto/event.dto.js +5 -6
- package/dist/src/event-folder/dto/create-event-folder.dto.d.ts +66 -0
- package/dist/src/event-folder/dto/create-event-folder.dto.js +17 -0
- package/dist/src/event-folder/dto/delete-event-folder.dto.d.ts +41 -0
- package/dist/src/event-folder/dto/delete-event-folder.dto.js +10 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +2 -2
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +243 -0
- package/dist/src/event-folder/dto/get-all-event-folder.dto.js +19 -0
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +159 -0
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.js +17 -0
- package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +63 -0
- package/dist/src/event-folder/dto/update-event-folder.dto.js +19 -0
- package/dist/src/event-folder/exports.d.ts +5 -0
- package/dist/src/event-folder/exports.js +5 -0
- package/dist/src/i18n/es.d.ts +23 -1
- package/dist/src/i18n/es.js +23 -1
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/types/schema.d.ts +290 -0
- package/package.json +1 -1
@@ -2,34 +2,34 @@ import { z } from 'zod';
|
|
2
2
|
export declare const eventSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
4
|
name: z.ZodString;
|
5
|
-
date: z.
|
5
|
+
date: z.ZodDate;
|
6
6
|
location: z.ZodString;
|
7
|
-
folderId: z.ZodString
|
7
|
+
folderId: z.ZodNullable<z.ZodString>;
|
8
8
|
tagAssistedId: z.ZodString;
|
9
9
|
tagConfirmedId: z.ZodString;
|
10
|
-
supraEventId: z.
|
10
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
11
11
|
created_at: z.ZodDate;
|
12
12
|
updated_at: z.ZodDate;
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
14
14
|
location: string;
|
15
15
|
id: string;
|
16
16
|
name: string;
|
17
|
-
date:
|
17
|
+
date: Date;
|
18
18
|
created_at: Date;
|
19
19
|
updated_at: Date;
|
20
|
-
folderId: string;
|
20
|
+
folderId: string | null;
|
21
21
|
tagAssistedId: string;
|
22
22
|
tagConfirmedId: string;
|
23
|
-
supraEventId
|
23
|
+
supraEventId: string | null;
|
24
24
|
}, {
|
25
25
|
location: string;
|
26
26
|
id: string;
|
27
27
|
name: string;
|
28
|
-
date:
|
28
|
+
date: Date;
|
29
29
|
created_at: Date;
|
30
30
|
updated_at: Date;
|
31
|
-
folderId: string;
|
31
|
+
folderId: string | null;
|
32
32
|
tagAssistedId: string;
|
33
33
|
tagConfirmedId: string;
|
34
|
-
supraEventId
|
34
|
+
supraEventId: string | null;
|
35
35
|
}>;
|
@@ -8,13 +8,12 @@ const zod_1 = require("zod");
|
|
8
8
|
exports.eventSchema = zod_1.z.object({
|
9
9
|
id: zod_1.z.string().uuid({ message: (0, translate_1.translate)('model.event.id.uuid') }),
|
10
10
|
name: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.name.required')),
|
11
|
-
date: zod_1.z
|
12
|
-
.string({
|
11
|
+
date: zod_1.z.date({
|
13
12
|
required_error: (0, translate_1.translate)('model.event.date.required'),
|
14
|
-
|
15
|
-
|
13
|
+
invalid_type_error: (0, translate_1.translate)('model.event.date.invalid'),
|
14
|
+
}),
|
16
15
|
location: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.location.required')),
|
17
|
-
folderId: event_folder_dto_1.eventFolderSchema.shape.id,
|
16
|
+
folderId: event_folder_dto_1.eventFolderSchema.shape.id.nullable(),
|
18
17
|
tagAssistedId: tag_dto_1.tagSchema.shape.id,
|
19
18
|
tagConfirmedId: tag_dto_1.tagSchema.shape.id,
|
20
19
|
supraEventId: zod_1.z
|
@@ -22,7 +21,7 @@ exports.eventSchema = zod_1.z.object({
|
|
22
21
|
.uuid({
|
23
22
|
message: (0, translate_1.translate)('model.event.id.uuid'),
|
24
23
|
})
|
25
|
-
.
|
24
|
+
.nullable(),
|
26
25
|
created_at: zod_1.z.date(),
|
27
26
|
updated_at: zod_1.z.date(),
|
28
27
|
});
|
@@ -0,0 +1,66 @@
|
|
1
|
+
export declare const createEventFolderSchema: 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;
|
10
|
+
}, {
|
11
|
+
name: string;
|
12
|
+
color: string;
|
13
|
+
}>;
|
14
|
+
declare const CreateEventFolderDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
15
|
+
name: import("zod").ZodString;
|
16
|
+
color: import("zod").ZodString;
|
17
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
18
|
+
name: string;
|
19
|
+
color: string;
|
20
|
+
}, {
|
21
|
+
name: string;
|
22
|
+
color: string;
|
23
|
+
}>>;
|
24
|
+
export declare class CreateEventFolderDto extends CreateEventFolderDto_base {
|
25
|
+
}
|
26
|
+
export declare const createEventFolderResponseSchema: import("zod").ZodObject<{
|
27
|
+
id: import("zod").ZodString;
|
28
|
+
name: import("zod").ZodString;
|
29
|
+
color: import("zod").ZodString;
|
30
|
+
created_at: import("zod").ZodDate;
|
31
|
+
updated_at: import("zod").ZodDate;
|
32
|
+
}, "strip", import("zod").ZodTypeAny, {
|
33
|
+
id: string;
|
34
|
+
name: string;
|
35
|
+
color: string;
|
36
|
+
created_at: Date;
|
37
|
+
updated_at: Date;
|
38
|
+
}, {
|
39
|
+
id: string;
|
40
|
+
name: string;
|
41
|
+
color: string;
|
42
|
+
created_at: Date;
|
43
|
+
updated_at: Date;
|
44
|
+
}>;
|
45
|
+
declare const CreateEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
46
|
+
id: import("zod").ZodString;
|
47
|
+
name: import("zod").ZodString;
|
48
|
+
color: import("zod").ZodString;
|
49
|
+
created_at: import("zod").ZodString;
|
50
|
+
updated_at: import("zod").ZodString;
|
51
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
52
|
+
id: string;
|
53
|
+
name: string;
|
54
|
+
color: string;
|
55
|
+
created_at: string;
|
56
|
+
updated_at: string;
|
57
|
+
}, {
|
58
|
+
id: string;
|
59
|
+
name: string;
|
60
|
+
color: string;
|
61
|
+
created_at: string;
|
62
|
+
updated_at: string;
|
63
|
+
}>>;
|
64
|
+
export declare class CreateEventFolderResponseDto extends CreateEventFolderResponseDto_base {
|
65
|
+
}
|
66
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateEventFolderResponseDto = exports.createEventFolderResponseSchema = exports.CreateEventFolderDto = exports.createEventFolderSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const event_folder_dto_1 = require("./event-folder.dto");
|
6
|
+
exports.createEventFolderSchema = event_folder_dto_1.eventFolderSchema.pick({
|
7
|
+
name: true,
|
8
|
+
color: true,
|
9
|
+
});
|
10
|
+
class CreateEventFolderDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventFolderSchema) {
|
11
|
+
}
|
12
|
+
exports.CreateEventFolderDto = CreateEventFolderDto;
|
13
|
+
exports.createEventFolderResponseSchema = event_folder_dto_1.eventFolderSchema;
|
14
|
+
class CreateEventFolderResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventFolderResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.CreateEventFolderResponseDto = CreateEventFolderResponseDto;
|
17
|
+
//# sourceMappingURL=create-event-folder.dto.js.map
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export declare const deleteEventFolderResponseSchema: import("zod").ZodObject<{
|
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
|
+
}, "strip", import("zod").ZodTypeAny, {
|
8
|
+
id: string;
|
9
|
+
name: string;
|
10
|
+
color: string;
|
11
|
+
created_at: Date;
|
12
|
+
updated_at: Date;
|
13
|
+
}, {
|
14
|
+
id: string;
|
15
|
+
name: string;
|
16
|
+
color: string;
|
17
|
+
created_at: Date;
|
18
|
+
updated_at: Date;
|
19
|
+
}>;
|
20
|
+
declare const DeleteEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
21
|
+
id: import("zod").ZodString;
|
22
|
+
name: import("zod").ZodString;
|
23
|
+
color: import("zod").ZodString;
|
24
|
+
created_at: import("zod").ZodString;
|
25
|
+
updated_at: import("zod").ZodString;
|
26
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
27
|
+
id: string;
|
28
|
+
name: string;
|
29
|
+
color: string;
|
30
|
+
created_at: string;
|
31
|
+
updated_at: string;
|
32
|
+
}, {
|
33
|
+
id: string;
|
34
|
+
name: string;
|
35
|
+
color: string;
|
36
|
+
created_at: string;
|
37
|
+
updated_at: string;
|
38
|
+
}>>;
|
39
|
+
export declare class DeleteEventFolderResponseDto extends DeleteEventFolderResponseDto_base {
|
40
|
+
}
|
41
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeleteEventFolderResponseDto = exports.deleteEventFolderResponseSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const event_folder_dto_1 = require("./event-folder.dto");
|
6
|
+
exports.deleteEventFolderResponseSchema = event_folder_dto_1.eventFolderSchema;
|
7
|
+
class DeleteEventFolderResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteEventFolderResponseSchema) {
|
8
|
+
}
|
9
|
+
exports.DeleteEventFolderResponseDto = DeleteEventFolderResponseDto;
|
10
|
+
//# sourceMappingURL=delete-event-folder.dto.js.map
|
@@ -8,14 +8,14 @@ const translate_1 = require("../../i18n/translate");
|
|
8
8
|
const zod_1 = __importDefault(require("zod"));
|
9
9
|
exports.eventFolderSchema = zod_1.default.object({
|
10
10
|
id: zod_1.default.string().uuid({
|
11
|
-
message: (0, translate_1.translate)('model.
|
11
|
+
message: (0, translate_1.translate)('model.event-folder.id.uuid'),
|
12
12
|
}),
|
13
13
|
name: zod_1.default.string().min(1),
|
14
14
|
color: zod_1.default
|
15
15
|
.string()
|
16
16
|
.length(7)
|
17
17
|
.startsWith('#', {
|
18
|
-
message: (0, translate_1.translate)('model.
|
18
|
+
message: (0, translate_1.translate)('model.event-folder.color.invalid'),
|
19
19
|
})
|
20
20
|
.toLowerCase(),
|
21
21
|
created_at: zod_1.default.date(),
|
@@ -0,0 +1,243 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
3
|
+
eventFolders: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
|
+
id: z.ZodString;
|
5
|
+
name: z.ZodString;
|
6
|
+
color: z.ZodString;
|
7
|
+
created_at: z.ZodDate;
|
8
|
+
updated_at: z.ZodDate;
|
9
|
+
}, {
|
10
|
+
events: z.ZodArray<z.ZodObject<{
|
11
|
+
id: z.ZodString;
|
12
|
+
name: z.ZodString;
|
13
|
+
date: z.ZodDate;
|
14
|
+
location: z.ZodString;
|
15
|
+
folderId: z.ZodNullable<z.ZodString>;
|
16
|
+
tagAssistedId: z.ZodString;
|
17
|
+
tagConfirmedId: z.ZodString;
|
18
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
19
|
+
created_at: z.ZodDate;
|
20
|
+
updated_at: z.ZodDate;
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
22
|
+
location: string;
|
23
|
+
id: string;
|
24
|
+
name: string;
|
25
|
+
date: Date;
|
26
|
+
created_at: Date;
|
27
|
+
updated_at: Date;
|
28
|
+
folderId: string | null;
|
29
|
+
tagAssistedId: string;
|
30
|
+
tagConfirmedId: string;
|
31
|
+
supraEventId: string | null;
|
32
|
+
}, {
|
33
|
+
location: string;
|
34
|
+
id: string;
|
35
|
+
name: string;
|
36
|
+
date: Date;
|
37
|
+
created_at: Date;
|
38
|
+
updated_at: Date;
|
39
|
+
folderId: string | null;
|
40
|
+
tagAssistedId: string;
|
41
|
+
tagConfirmedId: string;
|
42
|
+
supraEventId: string | null;
|
43
|
+
}>, "many">;
|
44
|
+
}>, "strip", z.ZodTypeAny, {
|
45
|
+
id: string;
|
46
|
+
name: string;
|
47
|
+
color: string;
|
48
|
+
created_at: Date;
|
49
|
+
updated_at: Date;
|
50
|
+
events: {
|
51
|
+
location: string;
|
52
|
+
id: string;
|
53
|
+
name: string;
|
54
|
+
date: Date;
|
55
|
+
created_at: Date;
|
56
|
+
updated_at: Date;
|
57
|
+
folderId: string | null;
|
58
|
+
tagAssistedId: string;
|
59
|
+
tagConfirmedId: string;
|
60
|
+
supraEventId: string | null;
|
61
|
+
}[];
|
62
|
+
}, {
|
63
|
+
id: string;
|
64
|
+
name: string;
|
65
|
+
color: string;
|
66
|
+
created_at: Date;
|
67
|
+
updated_at: Date;
|
68
|
+
events: {
|
69
|
+
location: string;
|
70
|
+
id: string;
|
71
|
+
name: string;
|
72
|
+
date: Date;
|
73
|
+
created_at: Date;
|
74
|
+
updated_at: Date;
|
75
|
+
folderId: string | null;
|
76
|
+
tagAssistedId: string;
|
77
|
+
tagConfirmedId: string;
|
78
|
+
supraEventId: string | null;
|
79
|
+
}[];
|
80
|
+
}>, "many">;
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
82
|
+
eventFolders: {
|
83
|
+
id: string;
|
84
|
+
name: string;
|
85
|
+
color: string;
|
86
|
+
created_at: Date;
|
87
|
+
updated_at: Date;
|
88
|
+
events: {
|
89
|
+
location: string;
|
90
|
+
id: string;
|
91
|
+
name: string;
|
92
|
+
date: Date;
|
93
|
+
created_at: Date;
|
94
|
+
updated_at: Date;
|
95
|
+
folderId: string | null;
|
96
|
+
tagAssistedId: string;
|
97
|
+
tagConfirmedId: string;
|
98
|
+
supraEventId: string | null;
|
99
|
+
}[];
|
100
|
+
}[];
|
101
|
+
}, {
|
102
|
+
eventFolders: {
|
103
|
+
id: string;
|
104
|
+
name: string;
|
105
|
+
color: string;
|
106
|
+
created_at: Date;
|
107
|
+
updated_at: Date;
|
108
|
+
events: {
|
109
|
+
location: string;
|
110
|
+
id: string;
|
111
|
+
name: string;
|
112
|
+
date: Date;
|
113
|
+
created_at: Date;
|
114
|
+
updated_at: Date;
|
115
|
+
folderId: string | null;
|
116
|
+
tagAssistedId: string;
|
117
|
+
tagConfirmedId: string;
|
118
|
+
supraEventId: string | null;
|
119
|
+
}[];
|
120
|
+
}[];
|
121
|
+
}>;
|
122
|
+
declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
123
|
+
eventFolders: z.ZodArray<z.ZodObject<{
|
124
|
+
id: z.ZodString;
|
125
|
+
name: z.ZodString;
|
126
|
+
color: z.ZodString;
|
127
|
+
created_at: z.ZodString;
|
128
|
+
updated_at: z.ZodString;
|
129
|
+
events: z.ZodArray<z.ZodObject<{
|
130
|
+
id: z.ZodString;
|
131
|
+
name: z.ZodString;
|
132
|
+
date: z.ZodString;
|
133
|
+
location: z.ZodString;
|
134
|
+
folderId: z.ZodNullable<z.ZodString>;
|
135
|
+
tagAssistedId: z.ZodString;
|
136
|
+
tagConfirmedId: z.ZodString;
|
137
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
138
|
+
created_at: z.ZodString;
|
139
|
+
updated_at: z.ZodString;
|
140
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
141
|
+
location: string;
|
142
|
+
id: string;
|
143
|
+
name: string;
|
144
|
+
date: string;
|
145
|
+
created_at: string;
|
146
|
+
updated_at: string;
|
147
|
+
folderId: string | null;
|
148
|
+
tagAssistedId: string;
|
149
|
+
tagConfirmedId: string;
|
150
|
+
supraEventId: string | null;
|
151
|
+
}, {
|
152
|
+
location: string;
|
153
|
+
id: string;
|
154
|
+
name: string;
|
155
|
+
date: string;
|
156
|
+
created_at: string;
|
157
|
+
updated_at: string;
|
158
|
+
folderId: string | null;
|
159
|
+
tagAssistedId: string;
|
160
|
+
tagConfirmedId: string;
|
161
|
+
supraEventId: string | null;
|
162
|
+
}>, "many">;
|
163
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
164
|
+
id: string;
|
165
|
+
name: string;
|
166
|
+
color: string;
|
167
|
+
created_at: string;
|
168
|
+
updated_at: string;
|
169
|
+
events: {
|
170
|
+
location: string;
|
171
|
+
id: string;
|
172
|
+
name: string;
|
173
|
+
date: string;
|
174
|
+
created_at: string;
|
175
|
+
updated_at: string;
|
176
|
+
folderId: string | null;
|
177
|
+
tagAssistedId: string;
|
178
|
+
tagConfirmedId: string;
|
179
|
+
supraEventId: string | null;
|
180
|
+
}[];
|
181
|
+
}, {
|
182
|
+
id: string;
|
183
|
+
name: string;
|
184
|
+
color: string;
|
185
|
+
created_at: string;
|
186
|
+
updated_at: string;
|
187
|
+
events: {
|
188
|
+
location: string;
|
189
|
+
id: string;
|
190
|
+
name: string;
|
191
|
+
date: string;
|
192
|
+
created_at: string;
|
193
|
+
updated_at: string;
|
194
|
+
folderId: string | null;
|
195
|
+
tagAssistedId: string;
|
196
|
+
tagConfirmedId: string;
|
197
|
+
supraEventId: string | null;
|
198
|
+
}[];
|
199
|
+
}>, "many">;
|
200
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
201
|
+
eventFolders: {
|
202
|
+
id: string;
|
203
|
+
name: string;
|
204
|
+
color: string;
|
205
|
+
created_at: string;
|
206
|
+
updated_at: string;
|
207
|
+
events: {
|
208
|
+
location: string;
|
209
|
+
id: string;
|
210
|
+
name: string;
|
211
|
+
date: string;
|
212
|
+
created_at: string;
|
213
|
+
updated_at: string;
|
214
|
+
folderId: string | null;
|
215
|
+
tagAssistedId: string;
|
216
|
+
tagConfirmedId: string;
|
217
|
+
supraEventId: string | null;
|
218
|
+
}[];
|
219
|
+
}[];
|
220
|
+
}, {
|
221
|
+
eventFolders: {
|
222
|
+
id: string;
|
223
|
+
name: string;
|
224
|
+
color: string;
|
225
|
+
created_at: string;
|
226
|
+
updated_at: string;
|
227
|
+
events: {
|
228
|
+
location: string;
|
229
|
+
id: string;
|
230
|
+
name: string;
|
231
|
+
date: string;
|
232
|
+
created_at: string;
|
233
|
+
updated_at: string;
|
234
|
+
folderId: string | null;
|
235
|
+
tagAssistedId: string;
|
236
|
+
tagConfirmedId: string;
|
237
|
+
supraEventId: string | null;
|
238
|
+
}[];
|
239
|
+
}[];
|
240
|
+
}>>;
|
241
|
+
export declare class GetAllEventFolderResponseDto extends GetAllEventFolderResponseDto_base {
|
242
|
+
}
|
243
|
+
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.GetAllEventFolderResponseDto = exports.getAllEventFolderResponseSchema = void 0;
|
7
|
+
const event_dto_1 = require("../../event/dto/event.dto");
|
8
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
const event_folder_dto_1 = require("./event-folder.dto");
|
11
|
+
exports.getAllEventFolderResponseSchema = zod_1.default.object({
|
12
|
+
eventFolders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
|
13
|
+
events: zod_1.default.array(event_dto_1.eventSchema),
|
14
|
+
}))),
|
15
|
+
});
|
16
|
+
class GetAllEventFolderResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllEventFolderResponseSchema) {
|
17
|
+
}
|
18
|
+
exports.GetAllEventFolderResponseDto = GetAllEventFolderResponseDto;
|
19
|
+
//# sourceMappingURL=get-all-event-folder.dto.js.map
|
@@ -0,0 +1,159 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getByIdEventFolderResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
+
id: z.ZodString;
|
4
|
+
name: z.ZodString;
|
5
|
+
color: z.ZodString;
|
6
|
+
created_at: z.ZodDate;
|
7
|
+
updated_at: z.ZodDate;
|
8
|
+
}, {
|
9
|
+
events: z.ZodArray<z.ZodObject<{
|
10
|
+
id: z.ZodString;
|
11
|
+
name: z.ZodString;
|
12
|
+
date: z.ZodDate;
|
13
|
+
location: z.ZodString;
|
14
|
+
folderId: z.ZodNullable<z.ZodString>;
|
15
|
+
tagAssistedId: z.ZodString;
|
16
|
+
tagConfirmedId: z.ZodString;
|
17
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
18
|
+
created_at: z.ZodDate;
|
19
|
+
updated_at: z.ZodDate;
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
21
|
+
location: string;
|
22
|
+
id: string;
|
23
|
+
name: string;
|
24
|
+
date: Date;
|
25
|
+
created_at: Date;
|
26
|
+
updated_at: Date;
|
27
|
+
folderId: string | null;
|
28
|
+
tagAssistedId: string;
|
29
|
+
tagConfirmedId: string;
|
30
|
+
supraEventId: string | null;
|
31
|
+
}, {
|
32
|
+
location: string;
|
33
|
+
id: string;
|
34
|
+
name: string;
|
35
|
+
date: Date;
|
36
|
+
created_at: Date;
|
37
|
+
updated_at: Date;
|
38
|
+
folderId: string | null;
|
39
|
+
tagAssistedId: string;
|
40
|
+
tagConfirmedId: string;
|
41
|
+
supraEventId: string | null;
|
42
|
+
}>, "many">;
|
43
|
+
}>, "strip", z.ZodTypeAny, {
|
44
|
+
id: string;
|
45
|
+
name: string;
|
46
|
+
color: string;
|
47
|
+
created_at: Date;
|
48
|
+
updated_at: Date;
|
49
|
+
events: {
|
50
|
+
location: string;
|
51
|
+
id: string;
|
52
|
+
name: string;
|
53
|
+
date: Date;
|
54
|
+
created_at: Date;
|
55
|
+
updated_at: Date;
|
56
|
+
folderId: string | null;
|
57
|
+
tagAssistedId: string;
|
58
|
+
tagConfirmedId: string;
|
59
|
+
supraEventId: string | null;
|
60
|
+
}[];
|
61
|
+
}, {
|
62
|
+
id: string;
|
63
|
+
name: string;
|
64
|
+
color: string;
|
65
|
+
created_at: Date;
|
66
|
+
updated_at: Date;
|
67
|
+
events: {
|
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
|
+
}>;
|
80
|
+
declare const GetByIdEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
81
|
+
id: z.ZodString;
|
82
|
+
name: z.ZodString;
|
83
|
+
color: z.ZodString;
|
84
|
+
created_at: z.ZodString;
|
85
|
+
updated_at: z.ZodString;
|
86
|
+
events: z.ZodArray<z.ZodObject<{
|
87
|
+
id: z.ZodString;
|
88
|
+
name: z.ZodString;
|
89
|
+
date: z.ZodString;
|
90
|
+
location: z.ZodString;
|
91
|
+
folderId: z.ZodNullable<z.ZodString>;
|
92
|
+
tagAssistedId: z.ZodString;
|
93
|
+
tagConfirmedId: z.ZodString;
|
94
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
95
|
+
created_at: z.ZodString;
|
96
|
+
updated_at: z.ZodString;
|
97
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
98
|
+
location: string;
|
99
|
+
id: string;
|
100
|
+
name: string;
|
101
|
+
date: string;
|
102
|
+
created_at: string;
|
103
|
+
updated_at: string;
|
104
|
+
folderId: string | null;
|
105
|
+
tagAssistedId: string;
|
106
|
+
tagConfirmedId: string;
|
107
|
+
supraEventId: string | null;
|
108
|
+
}, {
|
109
|
+
location: string;
|
110
|
+
id: string;
|
111
|
+
name: string;
|
112
|
+
date: string;
|
113
|
+
created_at: string;
|
114
|
+
updated_at: string;
|
115
|
+
folderId: string | null;
|
116
|
+
tagAssistedId: string;
|
117
|
+
tagConfirmedId: string;
|
118
|
+
supraEventId: string | null;
|
119
|
+
}>, "many">;
|
120
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
121
|
+
id: string;
|
122
|
+
name: string;
|
123
|
+
color: string;
|
124
|
+
created_at: string;
|
125
|
+
updated_at: string;
|
126
|
+
events: {
|
127
|
+
location: string;
|
128
|
+
id: string;
|
129
|
+
name: string;
|
130
|
+
date: string;
|
131
|
+
created_at: string;
|
132
|
+
updated_at: string;
|
133
|
+
folderId: string | null;
|
134
|
+
tagAssistedId: string;
|
135
|
+
tagConfirmedId: string;
|
136
|
+
supraEventId: string | null;
|
137
|
+
}[];
|
138
|
+
}, {
|
139
|
+
id: string;
|
140
|
+
name: string;
|
141
|
+
color: string;
|
142
|
+
created_at: string;
|
143
|
+
updated_at: string;
|
144
|
+
events: {
|
145
|
+
location: string;
|
146
|
+
id: string;
|
147
|
+
name: string;
|
148
|
+
date: string;
|
149
|
+
created_at: string;
|
150
|
+
updated_at: string;
|
151
|
+
folderId: string | null;
|
152
|
+
tagAssistedId: string;
|
153
|
+
tagConfirmedId: string;
|
154
|
+
supraEventId: string | null;
|
155
|
+
}[];
|
156
|
+
}>>;
|
157
|
+
export declare class GetByIdEventFolderResponseDto extends GetByIdEventFolderResponseDto_base {
|
158
|
+
}
|
159
|
+
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.GetByIdEventFolderResponseDto = exports.getByIdEventFolderResponseSchema = void 0;
|
7
|
+
const event_folder_dto_1 = require("./event-folder.dto");
|
8
|
+
const event_dto_1 = require("../../event/dto/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.getByIdEventFolderResponseSchema = event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
|
12
|
+
events: zod_1.default.array(event_dto_1.eventSchema),
|
13
|
+
}));
|
14
|
+
class GetByIdEventFolderResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventFolderResponseSchema) {
|
15
|
+
}
|
16
|
+
exports.GetByIdEventFolderResponseDto = GetByIdEventFolderResponseDto;
|
17
|
+
//# sourceMappingURL=get-by-id-event-folder.dto.js.map
|
@@ -0,0 +1,63 @@
|
|
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;
|
7
|
+
}, {
|
8
|
+
name?: string | undefined;
|
9
|
+
color?: string | undefined;
|
10
|
+
}>;
|
11
|
+
declare const UpdateEventFolderDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
12
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
13
|
+
color: import("zod").ZodOptional<import("zod").ZodString>;
|
14
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
15
|
+
name?: string | undefined;
|
16
|
+
color?: string | undefined;
|
17
|
+
}, {
|
18
|
+
name?: string | undefined;
|
19
|
+
color?: string | undefined;
|
20
|
+
}>>;
|
21
|
+
export declare class UpdateEventFolderDto extends UpdateEventFolderDto_base {
|
22
|
+
}
|
23
|
+
export declare const updateEventFolderResponseSchema: import("zod").ZodObject<{
|
24
|
+
id: import("zod").ZodString;
|
25
|
+
name: import("zod").ZodString;
|
26
|
+
color: import("zod").ZodString;
|
27
|
+
created_at: import("zod").ZodDate;
|
28
|
+
updated_at: import("zod").ZodDate;
|
29
|
+
}, "strip", import("zod").ZodTypeAny, {
|
30
|
+
id: string;
|
31
|
+
name: string;
|
32
|
+
color: string;
|
33
|
+
created_at: Date;
|
34
|
+
updated_at: Date;
|
35
|
+
}, {
|
36
|
+
id: string;
|
37
|
+
name: string;
|
38
|
+
color: string;
|
39
|
+
created_at: Date;
|
40
|
+
updated_at: Date;
|
41
|
+
}>;
|
42
|
+
declare const UpdateEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
43
|
+
id: import("zod").ZodString;
|
44
|
+
name: import("zod").ZodString;
|
45
|
+
color: import("zod").ZodString;
|
46
|
+
created_at: import("zod").ZodString;
|
47
|
+
updated_at: import("zod").ZodString;
|
48
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
49
|
+
id: string;
|
50
|
+
name: string;
|
51
|
+
color: string;
|
52
|
+
created_at: string;
|
53
|
+
updated_at: string;
|
54
|
+
}, {
|
55
|
+
id: string;
|
56
|
+
name: string;
|
57
|
+
color: string;
|
58
|
+
created_at: string;
|
59
|
+
updated_at: string;
|
60
|
+
}>>;
|
61
|
+
export declare class UpdateEventFolderResponseDto extends UpdateEventFolderResponseDto_base {
|
62
|
+
}
|
63
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateEventFolderResponseDto = exports.updateEventFolderResponseSchema = exports.UpdateEventFolderDto = exports.updateEventFolderSchema = void 0;
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
+
const event_folder_dto_1 = require("./event-folder.dto");
|
6
|
+
exports.updateEventFolderSchema = event_folder_dto_1.eventFolderSchema
|
7
|
+
.pick({
|
8
|
+
name: true,
|
9
|
+
color: true,
|
10
|
+
})
|
11
|
+
.partial();
|
12
|
+
class UpdateEventFolderDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventFolderSchema) {
|
13
|
+
}
|
14
|
+
exports.UpdateEventFolderDto = UpdateEventFolderDto;
|
15
|
+
exports.updateEventFolderResponseSchema = event_folder_dto_1.eventFolderSchema;
|
16
|
+
class UpdateEventFolderResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventFolderResponseSchema) {
|
17
|
+
}
|
18
|
+
exports.UpdateEventFolderResponseDto = UpdateEventFolderResponseDto;
|
19
|
+
//# sourceMappingURL=update-event-folder.dto.js.map
|
@@ -1 +1,6 @@
|
|
1
|
+
export * from './dto/create-event-folder.dto';
|
2
|
+
export * from './dto/delete-event-folder.dto';
|
1
3
|
export * from './dto/event-folder.dto';
|
4
|
+
export * from './dto/get-all-event-folder.dto';
|
5
|
+
export * from './dto/get-by-id-event-folder.dto';
|
6
|
+
export * from './dto/update-event-folder.dto';
|
@@ -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-folder.dto"), exports);
|
18
|
+
__exportStar(require("./dto/delete-event-folder.dto"), exports);
|
17
19
|
__exportStar(require("./dto/event-folder.dto"), exports);
|
20
|
+
__exportStar(require("./dto/get-all-event-folder.dto"), exports);
|
21
|
+
__exportStar(require("./dto/get-by-id-event-folder.dto"), exports);
|
22
|
+
__exportStar(require("./dto/update-event-folder.dto"), exports);
|
18
23
|
//# sourceMappingURL=exports.js.map
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -86,7 +86,7 @@ declare const _default: {
|
|
86
86
|
readonly invalid: "El color debe tener el formato hexadecimal (#ABCDEF)";
|
87
87
|
};
|
88
88
|
};
|
89
|
-
readonly
|
89
|
+
readonly 'event-folder': {
|
90
90
|
readonly id: {
|
91
91
|
readonly uuid: "El ID debe ser un UUID";
|
92
92
|
};
|
@@ -267,6 +267,28 @@ declare const _default: {
|
|
267
267
|
readonly 'not-found': "Respuesta enlatada no encontrada";
|
268
268
|
};
|
269
269
|
};
|
270
|
+
readonly 'event-folder': {
|
271
|
+
readonly create: {
|
272
|
+
readonly success: "Carpeta de evento creada con éxito";
|
273
|
+
readonly conflict: "Error en la creación de la carpeta de evento";
|
274
|
+
};
|
275
|
+
readonly 'get-all': {
|
276
|
+
readonly success: "Carpetas de evento obtenidas con éxito";
|
277
|
+
readonly 'not-found': "No se encontraron carpetas de evento";
|
278
|
+
};
|
279
|
+
readonly 'get-by-id': {
|
280
|
+
readonly success: "Carpeta de evento obtenida con éxito";
|
281
|
+
readonly 'not-found': "Carpeta de evento no encontrada";
|
282
|
+
};
|
283
|
+
readonly update: {
|
284
|
+
readonly success: "Carpeta de evento actualizada con éxito";
|
285
|
+
readonly 'not-found': "Carpeta de evento no encontrada";
|
286
|
+
};
|
287
|
+
readonly delete: {
|
288
|
+
readonly success: "Carpeta de evento eliminada con éxito";
|
289
|
+
readonly 'not-found': "Carpeta de evento no encontrada";
|
290
|
+
};
|
291
|
+
};
|
270
292
|
};
|
271
293
|
};
|
272
294
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -88,7 +88,7 @@ exports.default = {
|
|
88
88
|
invalid: 'El color debe tener el formato hexadecimal (#ABCDEF)',
|
89
89
|
},
|
90
90
|
},
|
91
|
-
|
91
|
+
'event-folder': {
|
92
92
|
id: {
|
93
93
|
uuid: 'El ID debe ser un UUID',
|
94
94
|
},
|
@@ -269,6 +269,28 @@ exports.default = {
|
|
269
269
|
'not-found': 'Respuesta enlatada no encontrada',
|
270
270
|
},
|
271
271
|
},
|
272
|
+
'event-folder': {
|
273
|
+
create: {
|
274
|
+
success: 'Carpeta de evento creada con éxito',
|
275
|
+
conflict: 'Error en la creación de la carpeta de evento',
|
276
|
+
},
|
277
|
+
'get-all': {
|
278
|
+
success: 'Carpetas de evento obtenidas con éxito',
|
279
|
+
'not-found': 'No se encontraron carpetas de evento',
|
280
|
+
},
|
281
|
+
'get-by-id': {
|
282
|
+
success: 'Carpeta de evento obtenida con éxito',
|
283
|
+
'not-found': 'Carpeta de evento no encontrada',
|
284
|
+
},
|
285
|
+
update: {
|
286
|
+
success: 'Carpeta de evento actualizada con éxito',
|
287
|
+
'not-found': 'Carpeta de evento no encontrada',
|
288
|
+
},
|
289
|
+
delete: {
|
290
|
+
success: 'Carpeta de evento eliminada con éxito',
|
291
|
+
'not-found': 'Carpeta de evento no encontrada',
|
292
|
+
},
|
293
|
+
},
|
272
294
|
},
|
273
295
|
};
|
274
296
|
//# sourceMappingURL=es.js.map
|
package/dist/src/i18n/es.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE,+FAA+F;QACzG,WA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;QACD,cAAc,EAAE;YACd,MAAM,EAAE;gBACN,OAAO,EAAE,oCAAoC;gBAC7C,QAAQ,EAAE,8CAA8C;aACzD;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,wCAAwC;gBACjD,WAAW,EAAE,sCAAsC;aACpD;YACD,WAAW,EAAE;gBACX,OAAO,EAAE,sCAAsC;gBAC/C,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,yCAAyC;gBAClD,WAAW,EAAE,iCAAiC;aAC/C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,uCAAuC;gBAChD,WAAW,EAAE,iCAAiC;aAC/C;SACF;KACF;CACO,CAAC"}
|
package/dist/types/schema.d.ts
CHANGED
@@ -431,6 +431,86 @@ export interface paths {
|
|
431
431
|
patch?: never;
|
432
432
|
trace?: never;
|
433
433
|
};
|
434
|
+
"/event-folder/create": {
|
435
|
+
parameters: {
|
436
|
+
query?: never;
|
437
|
+
header?: never;
|
438
|
+
path?: never;
|
439
|
+
cookie?: never;
|
440
|
+
};
|
441
|
+
get?: never;
|
442
|
+
put?: never;
|
443
|
+
post: operations["EventFolderController_createEventFolder"];
|
444
|
+
delete?: never;
|
445
|
+
options?: never;
|
446
|
+
head?: never;
|
447
|
+
patch?: never;
|
448
|
+
trace?: never;
|
449
|
+
};
|
450
|
+
"/event-folder/all": {
|
451
|
+
parameters: {
|
452
|
+
query?: never;
|
453
|
+
header?: never;
|
454
|
+
path?: never;
|
455
|
+
cookie?: never;
|
456
|
+
};
|
457
|
+
get: operations["EventFolderController_getAllEventFolders"];
|
458
|
+
put?: never;
|
459
|
+
post?: never;
|
460
|
+
delete?: never;
|
461
|
+
options?: never;
|
462
|
+
head?: never;
|
463
|
+
patch?: never;
|
464
|
+
trace?: never;
|
465
|
+
};
|
466
|
+
"/event-folder/{id}": {
|
467
|
+
parameters: {
|
468
|
+
query?: never;
|
469
|
+
header?: never;
|
470
|
+
path?: never;
|
471
|
+
cookie?: never;
|
472
|
+
};
|
473
|
+
get: operations["EventFolderController_getEventFolderById"];
|
474
|
+
put?: never;
|
475
|
+
post?: never;
|
476
|
+
delete?: never;
|
477
|
+
options?: never;
|
478
|
+
head?: never;
|
479
|
+
patch?: never;
|
480
|
+
trace?: never;
|
481
|
+
};
|
482
|
+
"/event-folder/update/{id}": {
|
483
|
+
parameters: {
|
484
|
+
query?: never;
|
485
|
+
header?: never;
|
486
|
+
path?: never;
|
487
|
+
cookie?: never;
|
488
|
+
};
|
489
|
+
get?: never;
|
490
|
+
put?: never;
|
491
|
+
post?: never;
|
492
|
+
delete?: never;
|
493
|
+
options?: never;
|
494
|
+
head?: never;
|
495
|
+
patch: operations["EventFolderController_updateEventFolder"];
|
496
|
+
trace?: never;
|
497
|
+
};
|
498
|
+
"/event-folder/delete/{id}": {
|
499
|
+
parameters: {
|
500
|
+
query?: never;
|
501
|
+
header?: never;
|
502
|
+
path?: never;
|
503
|
+
cookie?: never;
|
504
|
+
};
|
505
|
+
get?: never;
|
506
|
+
put?: never;
|
507
|
+
post?: never;
|
508
|
+
delete: operations["EventFolderController_deleteEventFolder"];
|
509
|
+
options?: never;
|
510
|
+
head?: never;
|
511
|
+
patch?: never;
|
512
|
+
trace?: never;
|
513
|
+
};
|
434
514
|
}
|
435
515
|
export type webhooks = Record<string, never>;
|
436
516
|
export interface components {
|
@@ -896,6 +976,75 @@ export interface components {
|
|
896
976
|
created_at: string;
|
897
977
|
updated_at: string;
|
898
978
|
};
|
979
|
+
CreateEventFolderDto: {
|
980
|
+
name: string;
|
981
|
+
color: string;
|
982
|
+
};
|
983
|
+
CreateEventFolderResponseDto: {
|
984
|
+
id: string;
|
985
|
+
name: string;
|
986
|
+
color: string;
|
987
|
+
created_at: string;
|
988
|
+
updated_at: string;
|
989
|
+
};
|
990
|
+
GetAllEventFolderResponseDto: {
|
991
|
+
eventFolders: {
|
992
|
+
id: string;
|
993
|
+
name: string;
|
994
|
+
color: string;
|
995
|
+
created_at: string;
|
996
|
+
updated_at: string;
|
997
|
+
events: {
|
998
|
+
id: string;
|
999
|
+
name: string;
|
1000
|
+
date: string;
|
1001
|
+
location: string;
|
1002
|
+
folderId: string | null;
|
1003
|
+
tagAssistedId: string;
|
1004
|
+
tagConfirmedId: string;
|
1005
|
+
supraEventId: string | null;
|
1006
|
+
created_at: string;
|
1007
|
+
updated_at: string;
|
1008
|
+
}[];
|
1009
|
+
}[];
|
1010
|
+
};
|
1011
|
+
GetByIdEventFolderResponseDto: {
|
1012
|
+
id: string;
|
1013
|
+
name: string;
|
1014
|
+
color: string;
|
1015
|
+
created_at: string;
|
1016
|
+
updated_at: string;
|
1017
|
+
events: {
|
1018
|
+
id: string;
|
1019
|
+
name: string;
|
1020
|
+
date: string;
|
1021
|
+
location: string;
|
1022
|
+
folderId: string | null;
|
1023
|
+
tagAssistedId: string;
|
1024
|
+
tagConfirmedId: string;
|
1025
|
+
supraEventId: string | null;
|
1026
|
+
created_at: string;
|
1027
|
+
updated_at: string;
|
1028
|
+
}[];
|
1029
|
+
};
|
1030
|
+
UpdateEventFolderDto: {
|
1031
|
+
name: string;
|
1032
|
+
color: string;
|
1033
|
+
};
|
1034
|
+
UpdateEventFolderResponseDto: {
|
1035
|
+
id: string;
|
1036
|
+
name: string;
|
1037
|
+
color: string;
|
1038
|
+
created_at: string;
|
1039
|
+
updated_at: string;
|
1040
|
+
};
|
1041
|
+
DeleteEventFolderResponseDto: {
|
1042
|
+
id: string;
|
1043
|
+
name: string;
|
1044
|
+
color: string;
|
1045
|
+
created_at: string;
|
1046
|
+
updated_at: string;
|
1047
|
+
};
|
899
1048
|
};
|
900
1049
|
responses: never;
|
901
1050
|
parameters: never;
|
@@ -1723,4 +1872,145 @@ export interface operations {
|
|
1723
1872
|
};
|
1724
1873
|
};
|
1725
1874
|
};
|
1875
|
+
EventFolderController_createEventFolder: {
|
1876
|
+
parameters: {
|
1877
|
+
query?: never;
|
1878
|
+
header?: never;
|
1879
|
+
path?: never;
|
1880
|
+
cookie?: never;
|
1881
|
+
};
|
1882
|
+
requestBody: {
|
1883
|
+
content: {
|
1884
|
+
"application/json": components["schemas"]["CreateEventFolderDto"];
|
1885
|
+
};
|
1886
|
+
};
|
1887
|
+
responses: {
|
1888
|
+
201: {
|
1889
|
+
headers: {
|
1890
|
+
[name: string]: unknown;
|
1891
|
+
};
|
1892
|
+
content: {
|
1893
|
+
"application/json": components["schemas"]["CreateEventFolderResponseDto"];
|
1894
|
+
};
|
1895
|
+
};
|
1896
|
+
409: {
|
1897
|
+
headers: {
|
1898
|
+
[name: string]: unknown;
|
1899
|
+
};
|
1900
|
+
content: {
|
1901
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1902
|
+
};
|
1903
|
+
};
|
1904
|
+
};
|
1905
|
+
};
|
1906
|
+
EventFolderController_getAllEventFolders: {
|
1907
|
+
parameters: {
|
1908
|
+
query?: never;
|
1909
|
+
header?: never;
|
1910
|
+
path?: never;
|
1911
|
+
cookie?: never;
|
1912
|
+
};
|
1913
|
+
requestBody?: never;
|
1914
|
+
responses: {
|
1915
|
+
200: {
|
1916
|
+
headers: {
|
1917
|
+
[name: string]: unknown;
|
1918
|
+
};
|
1919
|
+
content: {
|
1920
|
+
"application/json": components["schemas"]["GetAllEventFolderResponseDto"];
|
1921
|
+
};
|
1922
|
+
};
|
1923
|
+
};
|
1924
|
+
};
|
1925
|
+
EventFolderController_getEventFolderById: {
|
1926
|
+
parameters: {
|
1927
|
+
query?: never;
|
1928
|
+
header?: never;
|
1929
|
+
path: {
|
1930
|
+
id: string;
|
1931
|
+
};
|
1932
|
+
cookie?: never;
|
1933
|
+
};
|
1934
|
+
requestBody?: never;
|
1935
|
+
responses: {
|
1936
|
+
200: {
|
1937
|
+
headers: {
|
1938
|
+
[name: string]: unknown;
|
1939
|
+
};
|
1940
|
+
content: {
|
1941
|
+
"application/json": components["schemas"]["GetByIdEventFolderResponseDto"];
|
1942
|
+
};
|
1943
|
+
};
|
1944
|
+
404: {
|
1945
|
+
headers: {
|
1946
|
+
[name: string]: unknown;
|
1947
|
+
};
|
1948
|
+
content: {
|
1949
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1950
|
+
};
|
1951
|
+
};
|
1952
|
+
};
|
1953
|
+
};
|
1954
|
+
EventFolderController_updateEventFolder: {
|
1955
|
+
parameters: {
|
1956
|
+
query?: never;
|
1957
|
+
header?: never;
|
1958
|
+
path: {
|
1959
|
+
id: string;
|
1960
|
+
};
|
1961
|
+
cookie?: never;
|
1962
|
+
};
|
1963
|
+
requestBody: {
|
1964
|
+
content: {
|
1965
|
+
"application/json": components["schemas"]["UpdateEventFolderDto"];
|
1966
|
+
};
|
1967
|
+
};
|
1968
|
+
responses: {
|
1969
|
+
200: {
|
1970
|
+
headers: {
|
1971
|
+
[name: string]: unknown;
|
1972
|
+
};
|
1973
|
+
content: {
|
1974
|
+
"application/json": components["schemas"]["UpdateEventFolderResponseDto"];
|
1975
|
+
};
|
1976
|
+
};
|
1977
|
+
404: {
|
1978
|
+
headers: {
|
1979
|
+
[name: string]: unknown;
|
1980
|
+
};
|
1981
|
+
content: {
|
1982
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1983
|
+
};
|
1984
|
+
};
|
1985
|
+
};
|
1986
|
+
};
|
1987
|
+
EventFolderController_deleteEventFolder: {
|
1988
|
+
parameters: {
|
1989
|
+
query?: never;
|
1990
|
+
header?: never;
|
1991
|
+
path: {
|
1992
|
+
id: string;
|
1993
|
+
};
|
1994
|
+
cookie?: never;
|
1995
|
+
};
|
1996
|
+
requestBody?: never;
|
1997
|
+
responses: {
|
1998
|
+
200: {
|
1999
|
+
headers: {
|
2000
|
+
[name: string]: unknown;
|
2001
|
+
};
|
2002
|
+
content: {
|
2003
|
+
"application/json": components["schemas"]["DeleteEventFolderResponseDto"];
|
2004
|
+
};
|
2005
|
+
};
|
2006
|
+
404: {
|
2007
|
+
headers: {
|
2008
|
+
[name: string]: unknown;
|
2009
|
+
};
|
2010
|
+
content: {
|
2011
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2012
|
+
};
|
2013
|
+
};
|
2014
|
+
};
|
2015
|
+
};
|
1726
2016
|
}
|