expo-backend-types 0.27.0 → 0.29.0-EXPO-bugfix-retiro.1
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.
- package/dist/src/image/dto/update-image.dto.d.ts +16 -0
- package/dist/src/image/dto/update-image.dto.js +9 -1
- package/dist/types/prisma-schema/edge.js +1 -1
- package/dist/types/prisma-schema/index.js +3 -3
- package/dist/types/prisma-schema/{libquery_engine-debian-openssl-1.1.x.so.node → libquery_engine-debian-openssl-3.0.x.so.node} +0 -0
- package/dist/types/schema.d.ts +8 -1
- package/package.json +1 -1
@@ -1,4 +1,20 @@
|
|
1
1
|
import z from 'zod';
|
2
|
+
export declare const updateImageSchema: z.ZodObject<{
|
3
|
+
image: z.ZodType<FormData, z.ZodTypeDef, FormData>;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
image: FormData;
|
6
|
+
}, {
|
7
|
+
image: FormData;
|
8
|
+
}>;
|
9
|
+
declare const UpdateImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
image: z.ZodType<FormData, z.ZodTypeDef, FormData>;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
image: FormData;
|
13
|
+
}, {
|
14
|
+
image: FormData;
|
15
|
+
}>>;
|
16
|
+
export declare class UpdateImageDto extends UpdateImageDto_base {
|
17
|
+
}
|
2
18
|
export declare const updateImageResponseSchema: z.ZodObject<{
|
3
19
|
message: z.ZodString;
|
4
20
|
}, "strip", z.ZodTypeAny, {
|
@@ -3,9 +3,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.UpdateImageResponseDto = exports.updateImageResponseSchema = void 0;
|
6
|
+
exports.UpdateImageResponseDto = exports.updateImageResponseSchema = exports.UpdateImageDto = exports.updateImageSchema = void 0;
|
7
7
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const zod_openapi_1 = require("@anatine/zod-openapi");
|
8
9
|
const zod_1 = __importDefault(require("zod"));
|
10
|
+
(0, zod_openapi_1.extendZodWithOpenApi)(zod_1.default);
|
11
|
+
exports.updateImageSchema = zod_1.default.object({
|
12
|
+
image: zod_1.default.instanceof(FormData).openapi({ type: 'object', format: 'binary' }),
|
13
|
+
});
|
14
|
+
class UpdateImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateImageSchema) {
|
15
|
+
}
|
16
|
+
exports.UpdateImageDto = UpdateImageDto;
|
9
17
|
exports.updateImageResponseSchema = zod_1.default.object({
|
10
18
|
message: zod_1.default.string(),
|
11
19
|
});
|
@@ -299,7 +299,7 @@ const config = {
|
|
299
299
|
"binaryTargets": [
|
300
300
|
{
|
301
301
|
"fromEnvVar": null,
|
302
|
-
"value": "debian-openssl-
|
302
|
+
"value": "debian-openssl-3.0.x",
|
303
303
|
"native": true
|
304
304
|
}
|
305
305
|
],
|
@@ -366,8 +366,8 @@ exports.PrismaClient = PrismaClient
|
|
366
366
|
Object.assign(exports, Prisma)
|
367
367
|
|
368
368
|
// file annotations for bundling tools to include these files
|
369
|
-
path.join(__dirname, "libquery_engine-debian-openssl-
|
370
|
-
path.join(process.cwd(), "dist/types/prisma-schema/libquery_engine-debian-openssl-
|
369
|
+
path.join(__dirname, "libquery_engine-debian-openssl-3.0.x.so.node");
|
370
|
+
path.join(process.cwd(), "dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node")
|
371
371
|
// file annotations for bundling tools to include these files
|
372
372
|
path.join(__dirname, "schema.prisma");
|
373
373
|
path.join(process.cwd(), "dist/types/prisma-schema/schema.prisma")
|
Binary file
|
package/dist/types/schema.d.ts
CHANGED
@@ -2045,6 +2045,9 @@ export interface components {
|
|
2045
2045
|
};
|
2046
2046
|
tags?: string[];
|
2047
2047
|
};
|
2048
|
+
UpdateImageDto: {
|
2049
|
+
image: Record<string, never>;
|
2050
|
+
};
|
2048
2051
|
UpdateImageResponseDto: {
|
2049
2052
|
message: string;
|
2050
2053
|
};
|
@@ -3590,7 +3593,11 @@ export interface operations {
|
|
3590
3593
|
};
|
3591
3594
|
cookie?: never;
|
3592
3595
|
};
|
3593
|
-
requestBody
|
3596
|
+
requestBody: {
|
3597
|
+
content: {
|
3598
|
+
"multipart/form-data": components["schemas"]["UpdateImageDto"];
|
3599
|
+
};
|
3600
|
+
};
|
3594
3601
|
responses: {
|
3595
3602
|
200: {
|
3596
3603
|
headers: {
|