expo-backend-types 0.29.0-EXPO-bugfix-retiro.1 → 0.29.0-EXPO-bugfix-retiro.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,18 @@
|
|
1
|
+
/// <reference types="multer" />
|
1
2
|
import z from 'zod';
|
2
3
|
export declare const updateImageSchema: z.ZodObject<{
|
3
|
-
image: z.ZodType<
|
4
|
+
image: z.ZodType<Express.Multer.File, z.ZodTypeDef, Express.Multer.File>;
|
4
5
|
}, "strip", z.ZodTypeAny, {
|
5
|
-
image:
|
6
|
+
image: Express.Multer.File;
|
6
7
|
}, {
|
7
|
-
image:
|
8
|
+
image: Express.Multer.File;
|
8
9
|
}>;
|
9
10
|
declare const UpdateImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
-
image: z.ZodType<
|
11
|
+
image: z.ZodType<Express.Multer.File, z.ZodTypeDef, Express.Multer.File>;
|
11
12
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
-
image:
|
13
|
+
image: Express.Multer.File;
|
13
14
|
}, {
|
14
|
-
image:
|
15
|
+
image: Express.Multer.File;
|
15
16
|
}>>;
|
16
17
|
export declare class UpdateImageDto extends UpdateImageDto_base {
|
17
18
|
}
|
@@ -9,7 +9,9 @@ const zod_openapi_1 = require("@anatine/zod-openapi");
|
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
10
|
(0, zod_openapi_1.extendZodWithOpenApi)(zod_1.default);
|
11
11
|
exports.updateImageSchema = zod_1.default.object({
|
12
|
-
image: zod_1.default
|
12
|
+
image: zod_1.default
|
13
|
+
.custom()
|
14
|
+
.openapi({ type: 'object', format: 'binary' }),
|
13
15
|
});
|
14
16
|
class UpdateImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateImageSchema) {
|
15
17
|
}
|
package/dist/types/schema.d.ts
CHANGED