expo-backend-types 0.17.0-EXPO-288-EB-Imagenes.2 → 0.17.0-EXPO-289-EB-Filtro-base.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/i18n/es.d.ts +0 -18
- package/dist/src/i18n/es.js +0 -18
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/types/schema.d.ts +0 -108
- package/package.json +1 -1
- package/dist/src/image/dto/delete-image.dto.d.ts +0 -34
- package/dist/src/image/dto/delete-image.dto.js +0 -14
- package/dist/src/image/dto/image.dto.d.ts +0 -36
- package/dist/src/image/dto/image.dto.js +0 -23
- package/dist/src/image/dto/update-image.dto.d.ts +0 -64
- package/dist/src/image/dto/update-image.dto.js +0 -18
- package/dist/src/image/exports.d.ts +0 -3
- package/dist/src/image/exports.js +0 -20
package/dist/src/i18n/es.d.ts
CHANGED
@@ -151,14 +151,6 @@ declare const _default: {
|
|
151
151
|
readonly uuid: "El ID debe ser un UUID";
|
152
152
|
};
|
153
153
|
};
|
154
|
-
readonly image: {
|
155
|
-
readonly id: {
|
156
|
-
readonly uuid: "El formato del ID de la imagen es inválido.";
|
157
|
-
};
|
158
|
-
readonly url: {
|
159
|
-
readonly url: "Por favor, proporcione una URL válida para la imagen.";
|
160
|
-
};
|
161
|
-
};
|
162
154
|
};
|
163
155
|
readonly route: {
|
164
156
|
readonly auth: {
|
@@ -387,16 +379,6 @@ declare const _default: {
|
|
387
379
|
readonly success: "Perfiles obtenido";
|
388
380
|
};
|
389
381
|
};
|
390
|
-
readonly image: {
|
391
|
-
readonly update: {
|
392
|
-
readonly success: "Imagen actualizada exitosamente";
|
393
|
-
readonly conflict: "Conflicto al actualizar la imagen";
|
394
|
-
};
|
395
|
-
readonly delete: {
|
396
|
-
readonly success: "Imagen eliminada exitosamente";
|
397
|
-
readonly 'not-found': "Imagen no encontrada";
|
398
|
-
};
|
399
|
-
};
|
400
382
|
};
|
401
383
|
};
|
402
384
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -153,14 +153,6 @@ exports.default = {
|
|
153
153
|
uuid: 'El ID debe ser un UUID',
|
154
154
|
},
|
155
155
|
},
|
156
|
-
image: {
|
157
|
-
id: {
|
158
|
-
uuid: 'El formato del ID de la imagen es inválido.',
|
159
|
-
},
|
160
|
-
url: {
|
161
|
-
url: 'Por favor, proporcione una URL válida para la imagen.',
|
162
|
-
},
|
163
|
-
},
|
164
156
|
},
|
165
157
|
route: {
|
166
158
|
auth: {
|
@@ -389,16 +381,6 @@ exports.default = {
|
|
389
381
|
success: 'Perfiles obtenido',
|
390
382
|
},
|
391
383
|
},
|
392
|
-
image: {
|
393
|
-
update: {
|
394
|
-
success: 'Imagen actualizada exitosamente',
|
395
|
-
conflict: 'Conflicto al actualizar la imagen',
|
396
|
-
},
|
397
|
-
delete: {
|
398
|
-
success: 'Imagen eliminada exitosamente',
|
399
|
-
'not-found': 'Imagen no encontrada',
|
400
|
-
},
|
401
|
-
},
|
402
384
|
},
|
403
385
|
};
|
404
386
|
//# 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,GAAG,EAAE;YACH,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,qBAAqB;SACjC;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,I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A4C;gBAC9C,OAAO,EAAE,yBAAyB;gBAClC,oBAAoB,EAAE,iCAAiC;gBACvD,6BAA6B,EAAE,sCAAsC;gBACrE,uCAAuC,EACrC,iDAAiD;gBACnD,QAAQ,EAAE,iCAAiC;aAC5C;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,4BAA4B;gBACrC,WAAW,EAAE,sBAAsB;aACpC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,sBAAsB;gBACnC,QAAQ,EAAE,sCAAsC;gBAChD,gBAAgB,EAAE,0EAA0E;aAC7F;YACD,oBAAoB,EAAE;gBACpB,OAAO,EAAE,oBAAoB;gBAC7B,cAAc,EAAE,gBAAgB;aACjC;YACD,sBAAsB,EAAE;gBACtB,OAAO,EAAE,iBAAiB;gBAC1B,WAAW,EAAE,sBAAsB;aACpC;YACD,YAAY,EAAE;gBACZ,OAAO,EAAE,oBAAoB;aAC9B;YACD,2BAA2B,EAAE;gBAC3B,OAAO,EAAE,mBAAmB;aAC7B;SACF;KACF;CACO,CAAC"}
|
package/dist/types/schema.d.ts
CHANGED
@@ -703,38 +703,6 @@ export interface paths {
|
|
703
703
|
patch: operations["ProfileController_update"];
|
704
704
|
trace?: never;
|
705
705
|
};
|
706
|
-
"/image/update/{id}": {
|
707
|
-
parameters: {
|
708
|
-
query?: never;
|
709
|
-
header?: never;
|
710
|
-
path?: never;
|
711
|
-
cookie?: never;
|
712
|
-
};
|
713
|
-
get?: never;
|
714
|
-
put?: never;
|
715
|
-
post?: never;
|
716
|
-
delete?: never;
|
717
|
-
options?: never;
|
718
|
-
head?: never;
|
719
|
-
patch: operations["ImageController_updateImage"];
|
720
|
-
trace?: never;
|
721
|
-
};
|
722
|
-
"/image/delete/{id}": {
|
723
|
-
parameters: {
|
724
|
-
query?: never;
|
725
|
-
header?: never;
|
726
|
-
path?: never;
|
727
|
-
cookie?: never;
|
728
|
-
};
|
729
|
-
get?: never;
|
730
|
-
put?: never;
|
731
|
-
post?: never;
|
732
|
-
delete: operations["ImageController_deleteImage"];
|
733
|
-
options?: never;
|
734
|
-
head?: never;
|
735
|
-
patch?: never;
|
736
|
-
trace?: never;
|
737
|
-
};
|
738
706
|
}
|
739
707
|
export type webhooks = Record<string, never>;
|
740
708
|
export interface components {
|
@@ -1837,20 +1805,6 @@ export interface components {
|
|
1837
1805
|
};
|
1838
1806
|
tags?: string[];
|
1839
1807
|
};
|
1840
|
-
UpdateImageDto: {
|
1841
|
-
url?: string;
|
1842
|
-
title?: string;
|
1843
|
-
description?: string;
|
1844
|
-
};
|
1845
|
-
UpdateImageResponseDto: {
|
1846
|
-
id: string;
|
1847
|
-
url?: string;
|
1848
|
-
title?: string;
|
1849
|
-
description?: string;
|
1850
|
-
};
|
1851
|
-
DeleteImageDto: {
|
1852
|
-
id: string;
|
1853
|
-
};
|
1854
1808
|
};
|
1855
1809
|
responses: never;
|
1856
1810
|
parameters: never;
|
@@ -3280,66 +3234,4 @@ export interface operations {
|
|
3280
3234
|
};
|
3281
3235
|
};
|
3282
3236
|
};
|
3283
|
-
ImageController_updateImage: {
|
3284
|
-
parameters: {
|
3285
|
-
query?: never;
|
3286
|
-
header?: never;
|
3287
|
-
path: {
|
3288
|
-
id: string;
|
3289
|
-
};
|
3290
|
-
cookie?: never;
|
3291
|
-
};
|
3292
|
-
requestBody: {
|
3293
|
-
content: {
|
3294
|
-
"application/json": components["schemas"]["UpdateImageDto"];
|
3295
|
-
};
|
3296
|
-
};
|
3297
|
-
responses: {
|
3298
|
-
200: {
|
3299
|
-
headers: {
|
3300
|
-
[name: string]: unknown;
|
3301
|
-
};
|
3302
|
-
content: {
|
3303
|
-
"application/json": components["schemas"]["UpdateImageResponseDto"];
|
3304
|
-
};
|
3305
|
-
};
|
3306
|
-
409: {
|
3307
|
-
headers: {
|
3308
|
-
[name: string]: unknown;
|
3309
|
-
};
|
3310
|
-
content: {
|
3311
|
-
"application/json": components["schemas"]["ErrorDto"];
|
3312
|
-
};
|
3313
|
-
};
|
3314
|
-
};
|
3315
|
-
};
|
3316
|
-
ImageController_deleteImage: {
|
3317
|
-
parameters: {
|
3318
|
-
query?: never;
|
3319
|
-
header?: never;
|
3320
|
-
path: {
|
3321
|
-
id: string;
|
3322
|
-
};
|
3323
|
-
cookie?: never;
|
3324
|
-
};
|
3325
|
-
requestBody?: never;
|
3326
|
-
responses: {
|
3327
|
-
200: {
|
3328
|
-
headers: {
|
3329
|
-
[name: string]: unknown;
|
3330
|
-
};
|
3331
|
-
content: {
|
3332
|
-
"application/json": components["schemas"]["DeleteImageDto"];
|
3333
|
-
};
|
3334
|
-
};
|
3335
|
-
404: {
|
3336
|
-
headers: {
|
3337
|
-
[name: string]: unknown;
|
3338
|
-
};
|
3339
|
-
content: {
|
3340
|
-
"application/json": components["schemas"]["ErrorDto"];
|
3341
|
-
};
|
3342
|
-
};
|
3343
|
-
};
|
3344
|
-
};
|
3345
3237
|
}
|
package/package.json
CHANGED
@@ -1,34 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const deleteImageSchema: z.ZodObject<{
|
3
|
-
id: z.ZodString;
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
5
|
-
id: string;
|
6
|
-
}, {
|
7
|
-
id: string;
|
8
|
-
}>;
|
9
|
-
export declare const deleteImageResponseSchema: z.ZodObject<{
|
10
|
-
id: z.ZodString;
|
11
|
-
url: z.ZodOptional<z.ZodString>;
|
12
|
-
title: z.ZodOptional<z.ZodString>;
|
13
|
-
description: z.ZodOptional<z.ZodString>;
|
14
|
-
}, "strip", z.ZodTypeAny, {
|
15
|
-
id: string;
|
16
|
-
description?: string | undefined;
|
17
|
-
url?: string | undefined;
|
18
|
-
title?: string | undefined;
|
19
|
-
}, {
|
20
|
-
id: string;
|
21
|
-
description?: string | undefined;
|
22
|
-
url?: string | undefined;
|
23
|
-
title?: string | undefined;
|
24
|
-
}>;
|
25
|
-
declare const DeleteImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
26
|
-
id: z.ZodString;
|
27
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
28
|
-
id: string;
|
29
|
-
}, {
|
30
|
-
id: string;
|
31
|
-
}>>;
|
32
|
-
export declare class DeleteImageDto extends DeleteImageDto_base {
|
33
|
-
}
|
34
|
-
export {};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeleteImageDto = exports.deleteImageResponseSchema = exports.deleteImageSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
-
const zod_1 = require("zod");
|
6
|
-
const image_dto_1 = require("./image.dto");
|
7
|
-
exports.deleteImageSchema = zod_1.z.object({
|
8
|
-
id: zod_1.z.string(),
|
9
|
-
});
|
10
|
-
exports.deleteImageResponseSchema = image_dto_1.imageSchema;
|
11
|
-
class DeleteImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteImageSchema) {
|
12
|
-
}
|
13
|
-
exports.DeleteImageDto = DeleteImageDto;
|
14
|
-
//# sourceMappingURL=delete-image.dto.js.map
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const imageSchema: z.ZodObject<{
|
3
|
-
id: z.ZodString;
|
4
|
-
url: z.ZodOptional<z.ZodString>;
|
5
|
-
title: z.ZodOptional<z.ZodString>;
|
6
|
-
description: z.ZodOptional<z.ZodString>;
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
8
|
-
id: string;
|
9
|
-
description?: string | undefined;
|
10
|
-
url?: string | undefined;
|
11
|
-
title?: string | undefined;
|
12
|
-
}, {
|
13
|
-
id: string;
|
14
|
-
description?: string | undefined;
|
15
|
-
url?: string | undefined;
|
16
|
-
title?: string | undefined;
|
17
|
-
}>;
|
18
|
-
declare const ImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
19
|
-
id: z.ZodString;
|
20
|
-
url: z.ZodOptional<z.ZodString>;
|
21
|
-
title: z.ZodOptional<z.ZodString>;
|
22
|
-
description: z.ZodOptional<z.ZodString>;
|
23
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
24
|
-
id: string;
|
25
|
-
description?: string | undefined;
|
26
|
-
url?: string | undefined;
|
27
|
-
title?: string | undefined;
|
28
|
-
}, {
|
29
|
-
id: string;
|
30
|
-
description?: string | undefined;
|
31
|
-
url?: string | undefined;
|
32
|
-
title?: string | undefined;
|
33
|
-
}>>;
|
34
|
-
export declare class ImageDto extends ImageDto_base {
|
35
|
-
}
|
36
|
-
export {};
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ImageDto = exports.imageSchema = void 0;
|
4
|
-
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
const zod_1 = require("zod");
|
7
|
-
exports.imageSchema = zod_1.z.object({
|
8
|
-
id: zod_1.z.string().uuid({
|
9
|
-
message: (0, translate_1.translate)('model.image.id.uuid'),
|
10
|
-
}),
|
11
|
-
url: zod_1.z
|
12
|
-
.string()
|
13
|
-
.url({
|
14
|
-
message: (0, translate_1.translate)('model.image.url.url'),
|
15
|
-
})
|
16
|
-
.optional(),
|
17
|
-
title: zod_1.z.string().optional(),
|
18
|
-
description: zod_1.z.string().optional(),
|
19
|
-
});
|
20
|
-
class ImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.imageSchema) {
|
21
|
-
}
|
22
|
-
exports.ImageDto = ImageDto;
|
23
|
-
//# sourceMappingURL=image.dto.js.map
|
@@ -1,64 +0,0 @@
|
|
1
|
-
export declare const updateImageSchema: import("zod").ZodObject<Pick<{
|
2
|
-
id: import("zod").ZodString;
|
3
|
-
url: import("zod").ZodOptional<import("zod").ZodString>;
|
4
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
5
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
6
|
-
}, "description" | "url" | "title">, "strip", import("zod").ZodTypeAny, {
|
7
|
-
description?: string | undefined;
|
8
|
-
url?: string | undefined;
|
9
|
-
title?: string | undefined;
|
10
|
-
}, {
|
11
|
-
description?: string | undefined;
|
12
|
-
url?: string | undefined;
|
13
|
-
title?: string | undefined;
|
14
|
-
}>;
|
15
|
-
declare const UpdateImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
16
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
17
|
-
url: import("zod").ZodOptional<import("zod").ZodString>;
|
18
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
19
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
20
|
-
description?: string | undefined;
|
21
|
-
url?: string | undefined;
|
22
|
-
title?: string | undefined;
|
23
|
-
}, {
|
24
|
-
description?: string | undefined;
|
25
|
-
url?: string | undefined;
|
26
|
-
title?: string | undefined;
|
27
|
-
}>>;
|
28
|
-
export declare class UpdateImageDto extends UpdateImageDto_base {
|
29
|
-
}
|
30
|
-
export declare const updateImageResponseSchema: import("zod").ZodObject<{
|
31
|
-
id: import("zod").ZodString;
|
32
|
-
url: import("zod").ZodOptional<import("zod").ZodString>;
|
33
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
34
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
35
|
-
}, "strip", import("zod").ZodTypeAny, {
|
36
|
-
id: string;
|
37
|
-
description?: string | undefined;
|
38
|
-
url?: string | undefined;
|
39
|
-
title?: string | undefined;
|
40
|
-
}, {
|
41
|
-
id: string;
|
42
|
-
description?: string | undefined;
|
43
|
-
url?: string | undefined;
|
44
|
-
title?: string | undefined;
|
45
|
-
}>;
|
46
|
-
declare const UpdateImageResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
47
|
-
id: import("zod").ZodString;
|
48
|
-
url: import("zod").ZodOptional<import("zod").ZodString>;
|
49
|
-
title: import("zod").ZodOptional<import("zod").ZodString>;
|
50
|
-
description: import("zod").ZodOptional<import("zod").ZodString>;
|
51
|
-
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
52
|
-
id: string;
|
53
|
-
description?: string | undefined;
|
54
|
-
url?: string | undefined;
|
55
|
-
title?: string | undefined;
|
56
|
-
}, {
|
57
|
-
id: string;
|
58
|
-
description?: string | undefined;
|
59
|
-
url?: string | undefined;
|
60
|
-
title?: string | undefined;
|
61
|
-
}>>;
|
62
|
-
export declare class UpdateImageResponseDto extends UpdateImageResponseDto_base {
|
63
|
-
}
|
64
|
-
export {};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateImageResponseDto = exports.updateImageResponseSchema = exports.UpdateImageDto = exports.updateImageSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
|
-
const image_dto_1 = require("./image.dto");
|
6
|
-
exports.updateImageSchema = image_dto_1.imageSchema.pick({
|
7
|
-
url: true,
|
8
|
-
title: true,
|
9
|
-
description: true,
|
10
|
-
});
|
11
|
-
class UpdateImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateImageSchema) {
|
12
|
-
}
|
13
|
-
exports.UpdateImageDto = UpdateImageDto;
|
14
|
-
exports.updateImageResponseSchema = image_dto_1.imageSchema;
|
15
|
-
class UpdateImageResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateImageResponseSchema) {
|
16
|
-
}
|
17
|
-
exports.UpdateImageResponseDto = UpdateImageResponseDto;
|
18
|
-
//# sourceMappingURL=update-image.dto.js.map
|
@@ -1,20 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./dto/delete-image.dto"), exports);
|
18
|
-
__exportStar(require("./dto/image.dto"), exports);
|
19
|
-
__exportStar(require("./dto/update-image.dto"), exports);
|
20
|
-
//# sourceMappingURL=exports.js.map
|