expo-backend-types 0.6.0 → 0.7.0-EXPO-287-EB-CarpetaEvento.2
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 -7
- 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/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +54 -1
- package/dist/src/i18n/es.js +54 -1
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/arg-city.dto.d.ts +130 -0
- package/dist/src/location/dto/arg-city.dto.js +33 -0
- package/dist/src/location/dto/find-all-countries.dto.d.ts +48 -0
- package/dist/src/location/dto/find-all-countries.dto.js +18 -0
- package/dist/src/location/dto/find-all-location.dto.d.ts +182 -0
- package/dist/src/location/dto/find-all-location.dto.js +32 -0
- package/dist/src/location/dto/find-arg-states.dto.d.ts +18 -0
- package/dist/src/location/dto/find-arg-states.dto.js +15 -0
- package/dist/src/location/dto/find-cities-by-arg-state.dto.d.ts +141 -0
- package/dist/src/location/dto/find-cities-by-arg-state.dto.js +20 -0
- package/dist/src/location/dto/location.dto.d.ts +29 -0
- package/dist/src/location/dto/location.dto.js +35 -0
- package/dist/src/location/dto/states-by-country.dto.d.ts +88 -0
- package/dist/src/location/dto/states-by-country.dto.js +22 -0
- package/dist/src/location/exports.d.ts +7 -0
- package/dist/src/location/exports.js +24 -0
- package/dist/src/profile/dto/profile.dto.d.ts +6 -12
- package/dist/src/profile/dto/profile.dto.js +2 -4
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -40
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -40
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +2 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/prisma-schema/edge.js +7 -8
- package/dist/types/prisma-schema/index-browser.js +4 -5
- package/dist/types/prisma-schema/index.d.ts +148 -277
- package/dist/types/prisma-schema/index.js +7 -8
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +6 -8
- package/dist/types/prisma-schema/wasm.js +4 -5
- package/dist/types/schema.d.ts +246 -8
- package/package.json +2 -4
@@ -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,11 @@ 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
|
-
.
|
13
|
-
|
14
|
-
})
|
15
|
-
.date((0, translate_1.translate)('model.event.date.invalid')),
|
11
|
+
date: zod_1.z.date({
|
12
|
+
invalid_type_error: (0, translate_1.translate)('model.event.date.invalid'),
|
13
|
+
}),
|
16
14
|
location: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.location.required')),
|
17
|
-
folderId: event_folder_dto_1.eventFolderSchema.shape.id,
|
15
|
+
folderId: event_folder_dto_1.eventFolderSchema.shape.id.nullable(),
|
18
16
|
tagAssistedId: tag_dto_1.tagSchema.shape.id,
|
19
17
|
tagConfirmedId: tag_dto_1.tagSchema.shape.id,
|
20
18
|
supraEventId: zod_1.z
|
@@ -22,7 +20,7 @@ exports.eventSchema = zod_1.z.object({
|
|
22
20
|
.uuid({
|
23
21
|
message: (0, translate_1.translate)('model.event.id.uuid'),
|
24
22
|
})
|
25
|
-
.
|
23
|
+
.nullable(),
|
26
24
|
created_at: zod_1.z.date(),
|
27
25
|
updated_at: zod_1.z.date(),
|
28
26
|
});
|
@@ -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
|