expo-backend-types 0.9.0 → 0.10.0-EXPO-247-EB-Evento.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,126 @@
1
+ export declare const createEventSchema: 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 CreateEventDto_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 CreateEventDto extends CreateEventDto_base {
55
+ }
56
+ export declare const createEventResponseSchema: 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 CreateEventResponseDto_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 CreateEventResponseDto extends CreateEventResponseDto_base {
125
+ }
126
+ export {};
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEventResponseDto = exports.createEventResponseSchema = exports.CreateEventDto = exports.createEventSchema = void 0;
4
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
+ const event_dto_1 = require("./event.dto");
6
+ exports.createEventSchema = event_dto_1.eventSchema.pick({
7
+ name: true,
8
+ date: true,
9
+ location: true,
10
+ folderId: true,
11
+ tagAssistedId: true,
12
+ tagConfirmedId: true,
13
+ supraEventId: true,
14
+ });
15
+ class CreateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventSchema) {
16
+ }
17
+ exports.CreateEventDto = CreateEventDto;
18
+ exports.createEventResponseSchema = event_dto_1.eventSchema;
19
+ class CreateEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createEventResponseSchema) {
20
+ }
21
+ exports.CreateEventResponseDto = CreateEventResponseDto;
22
+ //# sourceMappingURL=create-event.dto.js.map
@@ -0,0 +1,71 @@
1
+ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
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
+ }, "strip", import("zod").ZodTypeAny, {
13
+ location: string;
14
+ id: string;
15
+ name: string;
16
+ date: Date;
17
+ created_at: Date;
18
+ updated_at: Date;
19
+ folderId: string | null;
20
+ tagAssistedId: string;
21
+ tagConfirmedId: string;
22
+ supraEventId: string | null;
23
+ }, {
24
+ location: string;
25
+ id: string;
26
+ name: string;
27
+ date: Date;
28
+ created_at: Date;
29
+ updated_at: Date;
30
+ folderId: string | null;
31
+ tagAssistedId: string;
32
+ tagConfirmedId: string;
33
+ supraEventId: string | null;
34
+ }>;
35
+ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
36
+ id: import("zod").ZodString;
37
+ name: import("zod").ZodString;
38
+ date: import("zod").ZodString;
39
+ location: import("zod").ZodString;
40
+ folderId: import("zod").ZodNullable<import("zod").ZodString>;
41
+ tagAssistedId: import("zod").ZodString;
42
+ tagConfirmedId: import("zod").ZodString;
43
+ supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
44
+ created_at: import("zod").ZodString;
45
+ updated_at: import("zod").ZodString;
46
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
47
+ location: string;
48
+ id: string;
49
+ name: string;
50
+ date: string;
51
+ created_at: string;
52
+ updated_at: string;
53
+ folderId: string | null;
54
+ tagAssistedId: string;
55
+ tagConfirmedId: string;
56
+ supraEventId: string | null;
57
+ }, {
58
+ location: string;
59
+ id: string;
60
+ name: string;
61
+ date: string;
62
+ created_at: string;
63
+ updated_at: string;
64
+ folderId: string | null;
65
+ tagAssistedId: string;
66
+ tagConfirmedId: string;
67
+ supraEventId: string | null;
68
+ }>>;
69
+ export declare class DeleteEventResponseDto extends DeleteEventResponseDto_base {
70
+ }
71
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEventResponseDto = exports.deleteEventResponseSchema = 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.deleteEventResponseSchema = event_dto_1.eventSchema;
7
+ class DeleteEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteEventResponseSchema) {
8
+ }
9
+ exports.DeleteEventResponseDto = DeleteEventResponseDto;
10
+ //# sourceMappingURL=delete-event.dto.js.map
@@ -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
@@ -1 +1,6 @@
1
+ export * from './dto/create-event.dto';
2
+ export * from './dto/delete-event.dto';
1
3
  export * from './dto/event.dto';
4
+ export * from './dto/get-all-event.dto';
5
+ export * from './dto/get-by-id-event.dto';
6
+ export * from './dto/update-event.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.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<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;
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: string;
12
- color: string;
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: string;
19
- color: string;
15
+ name?: string | undefined;
16
+ color?: string | undefined;
20
17
  }, {
21
- name: string;
22
- color: string;
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.pick({
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;
@@ -289,6 +289,28 @@ declare const _default: {
289
289
  readonly 'not-found': "Carpeta de evento no encontrada";
290
290
  };
291
291
  };
292
+ readonly event: {
293
+ readonly create: {
294
+ readonly success: "Evento creado con éxito";
295
+ readonly conflict: "Error en la creación del evento";
296
+ };
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";
304
+ };
305
+ readonly update: {
306
+ readonly success: "Evento actualizado con éxito";
307
+ readonly 'not-found': "Evento no encontrado";
308
+ };
309
+ readonly delete: {
310
+ readonly success: "Evento eliminado con éxito";
311
+ readonly 'not-found': "Evento no encontrado";
312
+ };
313
+ };
292
314
  };
293
315
  };
294
316
  export default _default;
@@ -291,6 +291,28 @@ exports.default = {
291
291
  'not-found': 'Carpeta de evento no encontrada',
292
292
  },
293
293
  },
294
+ event: {
295
+ create: {
296
+ success: 'Evento creado con éxito',
297
+ conflict: 'Error en la creación del evento',
298
+ },
299
+ 'get-all': {
300
+ success: 'Eventos obtenidos con éxito',
301
+ 'not-found': 'No se encontraron eventos',
302
+ },
303
+ 'get-by-id': {
304
+ success: 'Evento obtenido con éxito',
305
+ 'not-found': 'Evento no encontrado',
306
+ },
307
+ update: {
308
+ success: 'Evento actualizado con éxito',
309
+ 'not-found': 'Evento no encontrado',
310
+ },
311
+ delete: {
312
+ success: 'Evento eliminado con éxito',
313
+ 'not-found': 'Evento no encontrado',
314
+ },
315
+ },
294
316
  },
295
317
  };
296
318
  //# sourceMappingURL=es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":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,EAAE;YACjB,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;gBAC9C,QAAQ,EAAE,sCAAsC;aACjD;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,0CAA0C;gBACnD,WAAW,EAAE,wCAAwC;aACtD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,0CAA0C;gBACnD,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,wCAAwC;gBACjD,WAAW,EAAE,kCAAkC;aAChD;SACF;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;QACD,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,OAAO,EAAE,yBAAyB;gBAClC,QAAQ,EAAE,iCAAiC;aAC5C;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,2BAA2B;aACzC;YACD,WAAW,EAAE;gBACX,OAAO,EAAE,2BAA2B;gBACpC,WAAW,EAAE,sBAAsB;aACpC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,sBAAsB;aACpC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,sBAAsB;aACpC;SACF;KACF;CACO,CAAC"}
@@ -511,6 +511,54 @@ export interface paths {
511
511
  patch?: never;
512
512
  trace?: never;
513
513
  };
514
+ "/event/create": {
515
+ parameters: {
516
+ query?: never;
517
+ header?: never;
518
+ path?: never;
519
+ cookie?: never;
520
+ };
521
+ get?: never;
522
+ put?: never;
523
+ post: operations["EventController_create"];
524
+ delete?: never;
525
+ options?: never;
526
+ head?: never;
527
+ patch?: never;
528
+ trace?: never;
529
+ };
530
+ "/event/all": {
531
+ parameters: {
532
+ query?: never;
533
+ header?: never;
534
+ path?: never;
535
+ cookie?: never;
536
+ };
537
+ get: operations["EventController_findAll"];
538
+ put?: never;
539
+ post?: never;
540
+ delete?: never;
541
+ options?: never;
542
+ head?: never;
543
+ patch?: never;
544
+ trace?: never;
545
+ };
546
+ "/event/{id}": {
547
+ parameters: {
548
+ query?: never;
549
+ header?: never;
550
+ path?: never;
551
+ cookie?: never;
552
+ };
553
+ get: operations["EventController_findById"];
554
+ put?: never;
555
+ post?: never;
556
+ delete: operations["EventController_remove"];
557
+ options?: never;
558
+ head?: never;
559
+ patch: operations["EventController_update"];
560
+ trace?: never;
561
+ };
514
562
  }
515
563
  export type webhooks = Record<string, never>;
516
564
  export interface components {
@@ -1045,6 +1093,100 @@ export interface components {
1045
1093
  created_at: string;
1046
1094
  updated_at: string;
1047
1095
  };
1096
+ CreateEventDto: {
1097
+ name: string;
1098
+ date: string;
1099
+ location: string;
1100
+ folderId: string | null;
1101
+ tagAssistedId: string;
1102
+ tagConfirmedId: string;
1103
+ supraEventId: string | null;
1104
+ };
1105
+ CreateEventResponseDto: {
1106
+ id: string;
1107
+ name: string;
1108
+ date: string;
1109
+ location: string;
1110
+ folderId: string | null;
1111
+ tagAssistedId: string;
1112
+ tagConfirmedId: string;
1113
+ supraEventId: string | null;
1114
+ created_at: string;
1115
+ updated_at: string;
1116
+ };
1117
+ GetAllEventsResponseDto: {
1118
+ events: {
1119
+ id: string;
1120
+ name: string;
1121
+ date: string;
1122
+ location: string;
1123
+ folderId: string | null;
1124
+ tagAssistedId: string;
1125
+ tagConfirmedId: string;
1126
+ supraEventId: string | null;
1127
+ created_at: string;
1128
+ updated_at: string;
1129
+ folder: {
1130
+ id: string;
1131
+ name: string;
1132
+ color: string;
1133
+ created_at: string;
1134
+ updated_at: string;
1135
+ } | null;
1136
+ }[];
1137
+ };
1138
+ GetByIdEventResponseDto: {
1139
+ id: string;
1140
+ name: string;
1141
+ date: string;
1142
+ location: string;
1143
+ folderId: string | null;
1144
+ tagAssistedId: string;
1145
+ tagConfirmedId: string;
1146
+ supraEventId: string | null;
1147
+ created_at: string;
1148
+ updated_at: string;
1149
+ folder: {
1150
+ id?: string;
1151
+ name?: string;
1152
+ color?: string;
1153
+ created_at?: string;
1154
+ updated_at?: string;
1155
+ } | null;
1156
+ };
1157
+ UpdateEventDto: {
1158
+ name: string;
1159
+ folderId: string | null;
1160
+ date: string;
1161
+ location: string;
1162
+ supraEventId: string | null;
1163
+ tagAssistedId: string;
1164
+ tagConfirmedId: string;
1165
+ };
1166
+ UpdateEventResponseDto: {
1167
+ id: string;
1168
+ name: string;
1169
+ date: string;
1170
+ location: string;
1171
+ folderId: string | null;
1172
+ tagAssistedId: string;
1173
+ tagConfirmedId: string;
1174
+ supraEventId: string | null;
1175
+ created_at: string;
1176
+ updated_at: string;
1177
+ };
1178
+ DeleteEventResponseDto: {
1179
+ id: string;
1180
+ name: string;
1181
+ date: string;
1182
+ location: string;
1183
+ folderId: string | null;
1184
+ tagAssistedId: string;
1185
+ tagConfirmedId: string;
1186
+ supraEventId: string | null;
1187
+ created_at: string;
1188
+ updated_at: string;
1189
+ };
1048
1190
  };
1049
1191
  responses: never;
1050
1192
  parameters: never;
@@ -2013,4 +2155,153 @@ export interface operations {
2013
2155
  };
2014
2156
  };
2015
2157
  };
2158
+ EventController_create: {
2159
+ parameters: {
2160
+ query?: never;
2161
+ header?: never;
2162
+ path?: never;
2163
+ cookie?: never;
2164
+ };
2165
+ requestBody: {
2166
+ content: {
2167
+ "application/json": components["schemas"]["CreateEventDto"];
2168
+ };
2169
+ };
2170
+ responses: {
2171
+ 201: {
2172
+ headers: {
2173
+ [name: string]: unknown;
2174
+ };
2175
+ content: {
2176
+ "application/json": components["schemas"]["CreateEventResponseDto"];
2177
+ };
2178
+ };
2179
+ 409: {
2180
+ headers: {
2181
+ [name: string]: unknown;
2182
+ };
2183
+ content: {
2184
+ "application/json": components["schemas"]["ErrorDto"];
2185
+ };
2186
+ };
2187
+ };
2188
+ };
2189
+ EventController_findAll: {
2190
+ parameters: {
2191
+ query?: never;
2192
+ header?: never;
2193
+ path?: never;
2194
+ cookie?: never;
2195
+ };
2196
+ requestBody?: never;
2197
+ responses: {
2198
+ 200: {
2199
+ headers: {
2200
+ [name: string]: unknown;
2201
+ };
2202
+ content: {
2203
+ "application/json": components["schemas"]["GetAllEventsResponseDto"];
2204
+ };
2205
+ };
2206
+ 404: {
2207
+ headers: {
2208
+ [name: string]: unknown;
2209
+ };
2210
+ content: {
2211
+ "application/json": components["schemas"]["ErrorDto"];
2212
+ };
2213
+ };
2214
+ };
2215
+ };
2216
+ EventController_findById: {
2217
+ parameters: {
2218
+ query?: never;
2219
+ header?: never;
2220
+ path: {
2221
+ id: string;
2222
+ };
2223
+ cookie?: never;
2224
+ };
2225
+ requestBody?: never;
2226
+ responses: {
2227
+ 200: {
2228
+ headers: {
2229
+ [name: string]: unknown;
2230
+ };
2231
+ content: {
2232
+ "application/json": components["schemas"]["GetByIdEventResponseDto"];
2233
+ };
2234
+ };
2235
+ 404: {
2236
+ headers: {
2237
+ [name: string]: unknown;
2238
+ };
2239
+ content: {
2240
+ "application/json": components["schemas"]["ErrorDto"];
2241
+ };
2242
+ };
2243
+ };
2244
+ };
2245
+ EventController_remove: {
2246
+ parameters: {
2247
+ query?: never;
2248
+ header?: never;
2249
+ path: {
2250
+ id: string;
2251
+ };
2252
+ cookie?: never;
2253
+ };
2254
+ requestBody?: never;
2255
+ responses: {
2256
+ 404: {
2257
+ headers: {
2258
+ [name: string]: unknown;
2259
+ };
2260
+ content: {
2261
+ "application/json": components["schemas"]["ErrorDto"];
2262
+ };
2263
+ };
2264
+ 410: {
2265
+ headers: {
2266
+ [name: string]: unknown;
2267
+ };
2268
+ content: {
2269
+ "application/json": components["schemas"]["DeleteEventResponseDto"];
2270
+ };
2271
+ };
2272
+ };
2273
+ };
2274
+ EventController_update: {
2275
+ parameters: {
2276
+ query?: never;
2277
+ header?: never;
2278
+ path: {
2279
+ id: string;
2280
+ };
2281
+ cookie?: never;
2282
+ };
2283
+ requestBody: {
2284
+ content: {
2285
+ "application/json": components["schemas"]["UpdateEventDto"];
2286
+ };
2287
+ };
2288
+ responses: {
2289
+ 200: {
2290
+ headers: {
2291
+ [name: string]: unknown;
2292
+ };
2293
+ content: {
2294
+ "application/json": components["schemas"]["UpdateEventResponseDto"];
2295
+ };
2296
+ };
2297
+ 404: {
2298
+ headers: {
2299
+ [name: string]: unknown;
2300
+ };
2301
+ content: {
2302
+ "application/json": components["schemas"]["ErrorDto"];
2303
+ };
2304
+ };
2305
+ };
2306
+ };
2016
2307
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.9.0",
3
+ "version": "0.10.0-EXPO-247-EB-Evento.1",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,