expo-backend-types 0.9.0 → 0.10.0-EXPO-247-EB-Evento.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/dto/create-event.dto.d.ts +166 -0
- package/dist/src/event/dto/create-event.dto.js +31 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +71 -0
- package/dist/src/event/dto/delete-event.dto.js +10 -0
- package/dist/src/event/dto/get-all-event.dto.d.ts +1113 -0
- package/dist/src/event/dto/get-all-event.dto.js +26 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +139 -0
- package/dist/src/event/dto/get-by-id-event.dto.js +17 -0
- package/dist/src/event/dto/update-event.dto.d.ts +126 -0
- package/dist/src/event/dto/update-event.dto.js +22 -0
- package/dist/src/event/exports.d.ts +5 -0
- package/dist/src/event/exports.js +5 -0
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +6 -6
- package/dist/src/event-folder/dto/get-all-event-folder.dto.js +1 -1
- package/dist/src/event-folder/dto/update-event-folder.dto.d.ts +14 -17
- package/dist/src/event-folder/dto/update-event-folder.dto.js +4 -2
- package/dist/src/i18n/es.d.ts +27 -0
- package/dist/src/i18n/es.js +27 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/types/schema.d.ts +354 -1
- package/package.json +1 -1
package/dist/types/schema.d.ts
CHANGED
@@ -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 {
|
@@ -988,7 +1036,7 @@ export interface components {
|
|
988
1036
|
updated_at: string;
|
989
1037
|
};
|
990
1038
|
GetAllEventFolderResponseDto: {
|
991
|
-
|
1039
|
+
folders: {
|
992
1040
|
id: string;
|
993
1041
|
name: string;
|
994
1042
|
color: string;
|
@@ -1045,6 +1093,162 @@ 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
|
+
subEvents: {
|
1102
|
+
name: string;
|
1103
|
+
date: string;
|
1104
|
+
location: string;
|
1105
|
+
}[];
|
1106
|
+
};
|
1107
|
+
CreateEventResponseDto: {
|
1108
|
+
id: string;
|
1109
|
+
name: string;
|
1110
|
+
date: string;
|
1111
|
+
location: string;
|
1112
|
+
folderId: string | null;
|
1113
|
+
tagAssistedId: string;
|
1114
|
+
tagConfirmedId: string;
|
1115
|
+
supraEventId: string | null;
|
1116
|
+
created_at: string;
|
1117
|
+
updated_at: string;
|
1118
|
+
};
|
1119
|
+
GetAllEventsResponseDto: {
|
1120
|
+
folders: {
|
1121
|
+
id: string;
|
1122
|
+
name: string;
|
1123
|
+
color: string;
|
1124
|
+
created_at: string;
|
1125
|
+
updated_at: string;
|
1126
|
+
events: {
|
1127
|
+
id: string;
|
1128
|
+
name: string;
|
1129
|
+
date: string;
|
1130
|
+
location: string;
|
1131
|
+
folderId: string | null;
|
1132
|
+
tagAssistedId: string;
|
1133
|
+
tagConfirmedId: string;
|
1134
|
+
supraEventId: string | null;
|
1135
|
+
created_at: string;
|
1136
|
+
updated_at: string;
|
1137
|
+
supraEvent: {
|
1138
|
+
id: string;
|
1139
|
+
name: string;
|
1140
|
+
date: string;
|
1141
|
+
location: string;
|
1142
|
+
folderId: string | null;
|
1143
|
+
tagAssistedId: string;
|
1144
|
+
tagConfirmedId: string;
|
1145
|
+
supraEventId: string | null;
|
1146
|
+
created_at: string;
|
1147
|
+
updated_at: string;
|
1148
|
+
} | null;
|
1149
|
+
subEvents: {
|
1150
|
+
id: string;
|
1151
|
+
name: string;
|
1152
|
+
date: string;
|
1153
|
+
location: string;
|
1154
|
+
folderId: string | null;
|
1155
|
+
tagAssistedId: string;
|
1156
|
+
tagConfirmedId: string;
|
1157
|
+
supraEventId: string | null;
|
1158
|
+
created_at: string;
|
1159
|
+
updated_at: string;
|
1160
|
+
}[];
|
1161
|
+
}[];
|
1162
|
+
}[];
|
1163
|
+
withoutFolder: {
|
1164
|
+
id: string;
|
1165
|
+
name: string;
|
1166
|
+
date: string;
|
1167
|
+
location: string;
|
1168
|
+
folderId: string | null;
|
1169
|
+
tagAssistedId: string;
|
1170
|
+
tagConfirmedId: string;
|
1171
|
+
supraEventId: string | null;
|
1172
|
+
created_at: string;
|
1173
|
+
updated_at: string;
|
1174
|
+
supraEvent: {
|
1175
|
+
id: string;
|
1176
|
+
name: string;
|
1177
|
+
date: string;
|
1178
|
+
location: string;
|
1179
|
+
folderId: string | null;
|
1180
|
+
tagAssistedId: string;
|
1181
|
+
tagConfirmedId: string;
|
1182
|
+
supraEventId: string | null;
|
1183
|
+
created_at: string;
|
1184
|
+
updated_at: string;
|
1185
|
+
} | null;
|
1186
|
+
subEvents: {
|
1187
|
+
id: string;
|
1188
|
+
name: string;
|
1189
|
+
date: string;
|
1190
|
+
location: string;
|
1191
|
+
folderId: string | null;
|
1192
|
+
tagAssistedId: string;
|
1193
|
+
tagConfirmedId: string;
|
1194
|
+
supraEventId: string | null;
|
1195
|
+
created_at: string;
|
1196
|
+
updated_at: string;
|
1197
|
+
}[];
|
1198
|
+
}[];
|
1199
|
+
};
|
1200
|
+
GetByIdEventResponseDto: {
|
1201
|
+
id: string;
|
1202
|
+
name: string;
|
1203
|
+
date: string;
|
1204
|
+
location: string;
|
1205
|
+
folderId: string | null;
|
1206
|
+
tagAssistedId: string;
|
1207
|
+
tagConfirmedId: string;
|
1208
|
+
supraEventId: string | null;
|
1209
|
+
created_at: string;
|
1210
|
+
updated_at: string;
|
1211
|
+
folder: {
|
1212
|
+
id?: string;
|
1213
|
+
name?: string;
|
1214
|
+
color?: string;
|
1215
|
+
created_at?: string;
|
1216
|
+
updated_at?: string;
|
1217
|
+
} | null;
|
1218
|
+
};
|
1219
|
+
UpdateEventDto: {
|
1220
|
+
name: string;
|
1221
|
+
folderId: string | null;
|
1222
|
+
date: string;
|
1223
|
+
location: string;
|
1224
|
+
supraEventId: string | null;
|
1225
|
+
tagAssistedId: string;
|
1226
|
+
tagConfirmedId: string;
|
1227
|
+
};
|
1228
|
+
UpdateEventResponseDto: {
|
1229
|
+
id: string;
|
1230
|
+
name: string;
|
1231
|
+
date: string;
|
1232
|
+
location: string;
|
1233
|
+
folderId: string | null;
|
1234
|
+
tagAssistedId: string;
|
1235
|
+
tagConfirmedId: string;
|
1236
|
+
supraEventId: string | null;
|
1237
|
+
created_at: string;
|
1238
|
+
updated_at: string;
|
1239
|
+
};
|
1240
|
+
DeleteEventResponseDto: {
|
1241
|
+
id: string;
|
1242
|
+
name: string;
|
1243
|
+
date: string;
|
1244
|
+
location: string;
|
1245
|
+
folderId: string | null;
|
1246
|
+
tagAssistedId: string;
|
1247
|
+
tagConfirmedId: string;
|
1248
|
+
supraEventId: string | null;
|
1249
|
+
created_at: string;
|
1250
|
+
updated_at: string;
|
1251
|
+
};
|
1048
1252
|
};
|
1049
1253
|
responses: never;
|
1050
1254
|
parameters: never;
|
@@ -2013,4 +2217,153 @@ export interface operations {
|
|
2013
2217
|
};
|
2014
2218
|
};
|
2015
2219
|
};
|
2220
|
+
EventController_create: {
|
2221
|
+
parameters: {
|
2222
|
+
query?: never;
|
2223
|
+
header?: never;
|
2224
|
+
path?: never;
|
2225
|
+
cookie?: never;
|
2226
|
+
};
|
2227
|
+
requestBody: {
|
2228
|
+
content: {
|
2229
|
+
"application/json": components["schemas"]["CreateEventDto"];
|
2230
|
+
};
|
2231
|
+
};
|
2232
|
+
responses: {
|
2233
|
+
201: {
|
2234
|
+
headers: {
|
2235
|
+
[name: string]: unknown;
|
2236
|
+
};
|
2237
|
+
content: {
|
2238
|
+
"application/json": components["schemas"]["CreateEventResponseDto"];
|
2239
|
+
};
|
2240
|
+
};
|
2241
|
+
409: {
|
2242
|
+
headers: {
|
2243
|
+
[name: string]: unknown;
|
2244
|
+
};
|
2245
|
+
content: {
|
2246
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2247
|
+
};
|
2248
|
+
};
|
2249
|
+
};
|
2250
|
+
};
|
2251
|
+
EventController_findAll: {
|
2252
|
+
parameters: {
|
2253
|
+
query?: never;
|
2254
|
+
header?: never;
|
2255
|
+
path?: never;
|
2256
|
+
cookie?: never;
|
2257
|
+
};
|
2258
|
+
requestBody?: never;
|
2259
|
+
responses: {
|
2260
|
+
200: {
|
2261
|
+
headers: {
|
2262
|
+
[name: string]: unknown;
|
2263
|
+
};
|
2264
|
+
content: {
|
2265
|
+
"application/json": components["schemas"]["GetAllEventsResponseDto"];
|
2266
|
+
};
|
2267
|
+
};
|
2268
|
+
404: {
|
2269
|
+
headers: {
|
2270
|
+
[name: string]: unknown;
|
2271
|
+
};
|
2272
|
+
content: {
|
2273
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2274
|
+
};
|
2275
|
+
};
|
2276
|
+
};
|
2277
|
+
};
|
2278
|
+
EventController_findById: {
|
2279
|
+
parameters: {
|
2280
|
+
query?: never;
|
2281
|
+
header?: never;
|
2282
|
+
path: {
|
2283
|
+
id: string;
|
2284
|
+
};
|
2285
|
+
cookie?: never;
|
2286
|
+
};
|
2287
|
+
requestBody?: never;
|
2288
|
+
responses: {
|
2289
|
+
200: {
|
2290
|
+
headers: {
|
2291
|
+
[name: string]: unknown;
|
2292
|
+
};
|
2293
|
+
content: {
|
2294
|
+
"application/json": components["schemas"]["GetByIdEventResponseDto"];
|
2295
|
+
};
|
2296
|
+
};
|
2297
|
+
404: {
|
2298
|
+
headers: {
|
2299
|
+
[name: string]: unknown;
|
2300
|
+
};
|
2301
|
+
content: {
|
2302
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2303
|
+
};
|
2304
|
+
};
|
2305
|
+
};
|
2306
|
+
};
|
2307
|
+
EventController_remove: {
|
2308
|
+
parameters: {
|
2309
|
+
query?: never;
|
2310
|
+
header?: never;
|
2311
|
+
path: {
|
2312
|
+
id: string;
|
2313
|
+
};
|
2314
|
+
cookie?: never;
|
2315
|
+
};
|
2316
|
+
requestBody?: never;
|
2317
|
+
responses: {
|
2318
|
+
404: {
|
2319
|
+
headers: {
|
2320
|
+
[name: string]: unknown;
|
2321
|
+
};
|
2322
|
+
content: {
|
2323
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2324
|
+
};
|
2325
|
+
};
|
2326
|
+
410: {
|
2327
|
+
headers: {
|
2328
|
+
[name: string]: unknown;
|
2329
|
+
};
|
2330
|
+
content: {
|
2331
|
+
"application/json": components["schemas"]["DeleteEventResponseDto"];
|
2332
|
+
};
|
2333
|
+
};
|
2334
|
+
};
|
2335
|
+
};
|
2336
|
+
EventController_update: {
|
2337
|
+
parameters: {
|
2338
|
+
query?: never;
|
2339
|
+
header?: never;
|
2340
|
+
path: {
|
2341
|
+
id: string;
|
2342
|
+
};
|
2343
|
+
cookie?: never;
|
2344
|
+
};
|
2345
|
+
requestBody: {
|
2346
|
+
content: {
|
2347
|
+
"application/json": components["schemas"]["UpdateEventDto"];
|
2348
|
+
};
|
2349
|
+
};
|
2350
|
+
responses: {
|
2351
|
+
200: {
|
2352
|
+
headers: {
|
2353
|
+
[name: string]: unknown;
|
2354
|
+
};
|
2355
|
+
content: {
|
2356
|
+
"application/json": components["schemas"]["UpdateEventResponseDto"];
|
2357
|
+
};
|
2358
|
+
};
|
2359
|
+
404: {
|
2360
|
+
headers: {
|
2361
|
+
[name: string]: unknown;
|
2362
|
+
};
|
2363
|
+
content: {
|
2364
|
+
"application/json": components["schemas"]["ErrorDto"];
|
2365
|
+
};
|
2366
|
+
};
|
2367
|
+
};
|
2368
|
+
};
|
2016
2369
|
}
|