expo-backend-types 0.22.0-EXPO-288-EB-Imagenes.1 → 0.22.0
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/README.md +1 -1
- package/dist/src/csv/dto/csv.dto.d.ts +18 -0
- package/dist/src/csv/dto/csv.dto.js +17 -0
- package/dist/src/csv/dto/download-all-tables.dto.d.ts +23 -0
- package/dist/src/csv/dto/download-all-tables.dto.js +19 -0
- package/dist/src/csv/dto/download-profiles.dto.d.ts +18 -0
- package/dist/src/csv/dto/download-profiles.dto.js +15 -0
- package/dist/src/csv/exports.d.ts +3 -0
- package/dist/src/{image → csv}/exports.js +3 -3
- package/dist/src/event/dto/event.dto.js +1 -1
- package/dist/src/event/dto/get-all-event.dto.d.ts +160 -160
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -48
- package/dist/src/event/dto/update-event.dto.d.ts +20 -20
- package/dist/src/i18n/es.d.ts +18 -20
- package/dist/src/i18n/es.js +18 -20
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/location/dto/find-all-location.dto.d.ts +16 -16
- package/dist/src/message/dto/message.dto.d.ts +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +86 -86
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +124 -124
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +52 -52
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +64 -64
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +84 -84
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +72 -72
- package/dist/src/profile/dto/update-profile.dto.d.ts +4 -4
- package/dist/types/prisma-schema/default.d.ts +1 -1
- package/dist/types/prisma-schema/edge.d.ts +1 -1
- package/dist/types/prisma-schema/edge.js +7 -11
- package/dist/types/prisma-schema/index-browser.js +4 -7
- package/dist/types/prisma-schema/index.d.ts +1036 -805
- package/dist/types/prisma-schema/index.js +7 -11
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +1 -14
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -21
- package/dist/types/prisma-schema/runtime/edge.js +18 -21
- package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +87 -297
- package/dist/types/prisma-schema/runtime/library.js +61 -64
- package/dist/types/prisma-schema/runtime/react-native.js +28 -31
- package/dist/types/prisma-schema/runtime/wasm.js +19 -22
- package/dist/types/prisma-schema/wasm.d.ts +1 -1
- package/dist/types/prisma-schema/wasm.js +4 -7
- package/dist/types/schema.d.ts +32 -42
- package/package.json +7 -5
- package/dist/src/image/dto/delete-image.dto.d.ts +0 -18
- package/dist/src/image/dto/delete-image.dto.js +0 -12
- package/dist/src/image/dto/image.dto.d.ts +0 -24
- package/dist/src/image/dto/image.dto.js +0 -18
- package/dist/src/image/dto/update-image.dto.d.ts +0 -18
- package/dist/src/image/dto/update-image.dto.js +0 -15
- package/dist/src/image/exports.d.ts +0 -3
package/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<p align="center">
|
2
|
-
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest
|
2
|
+
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest Log" /></a>
|
3
3
|
</p>
|
4
4
|
|
5
5
|
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const csvDownloadSchema: z.ZodObject<{
|
3
|
+
password: z.ZodString;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
password: string;
|
6
|
+
}, {
|
7
|
+
password: string;
|
8
|
+
}>;
|
9
|
+
declare const CsvDownloadDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
password: z.ZodString;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
password: string;
|
13
|
+
}, {
|
14
|
+
password: string;
|
15
|
+
}>>;
|
16
|
+
export declare class CsvDownloadDto extends CsvDownloadDto_base {
|
17
|
+
}
|
18
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CsvDownloadDto = exports.csvDownloadSchema = 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.csvDownloadSchema = zod_1.z.object({
|
8
|
+
password: zod_1.z
|
9
|
+
.string({
|
10
|
+
required_error: (0, translate_1.translate)('model.csv.password.required'),
|
11
|
+
})
|
12
|
+
.min(1, (0, translate_1.translate)('model.csv.password.empty')),
|
13
|
+
});
|
14
|
+
class CsvDownloadDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.csvDownloadSchema) {
|
15
|
+
}
|
16
|
+
exports.CsvDownloadDto = CsvDownloadDto;
|
17
|
+
//# sourceMappingURL=csv.dto.js.map
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { z } from 'zod';
|
3
|
+
export declare const downloadAllTablesSchema: z.ZodObject<{
|
4
|
+
password: z.ZodString;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
password: string;
|
7
|
+
}, {
|
8
|
+
password: string;
|
9
|
+
}>;
|
10
|
+
declare const DownloadAllTablesDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
11
|
+
password: z.ZodString;
|
12
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
13
|
+
password: string;
|
14
|
+
}, {
|
15
|
+
password: string;
|
16
|
+
}>>;
|
17
|
+
export declare class DownloadAllTablesDto extends DownloadAllTablesDto_base {
|
18
|
+
}
|
19
|
+
export declare const downloadAllTablesResponseSchema: z.ZodType<Buffer, z.ZodTypeDef, Buffer>;
|
20
|
+
declare const DownloadAllTablesResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>;
|
21
|
+
export declare class DownloadAllTablesResponseDto extends DownloadAllTablesResponseDto_base {
|
22
|
+
}
|
23
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DownloadAllTablesResponseDto = exports.downloadAllTablesResponseSchema = exports.DownloadAllTablesDto = exports.downloadAllTablesSchema = 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.downloadAllTablesSchema = zod_1.z.object({
|
8
|
+
password: zod_1.z
|
9
|
+
.string({ required_error: (0, translate_1.translate)('model.csv.password.required') })
|
10
|
+
.min(1, (0, translate_1.translate)('model.csv.password.empty')),
|
11
|
+
});
|
12
|
+
class DownloadAllTablesDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.downloadAllTablesSchema) {
|
13
|
+
}
|
14
|
+
exports.DownloadAllTablesDto = DownloadAllTablesDto;
|
15
|
+
exports.downloadAllTablesResponseSchema = zod_1.z.instanceof(Buffer);
|
16
|
+
class DownloadAllTablesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.downloadAllTablesResponseSchema) {
|
17
|
+
}
|
18
|
+
exports.DownloadAllTablesResponseDto = DownloadAllTablesResponseDto;
|
19
|
+
//# sourceMappingURL=download-all-tables.dto.js.map
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const downloadProfilesSchema: z.ZodObject<{
|
3
|
+
password: z.ZodString;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
password: string;
|
6
|
+
}, {
|
7
|
+
password: string;
|
8
|
+
}>;
|
9
|
+
declare const DownloadProfilesDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
password: z.ZodString;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
password: string;
|
13
|
+
}, {
|
14
|
+
password: string;
|
15
|
+
}>>;
|
16
|
+
export declare class DownloadProfilesDto extends DownloadProfilesDto_base {
|
17
|
+
}
|
18
|
+
export {};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DownloadProfilesDto = exports.downloadProfilesSchema = 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.downloadProfilesSchema = zod_1.z.object({
|
8
|
+
password: zod_1.z
|
9
|
+
.string({ required_error: (0, translate_1.translate)('model.csv.password.required') })
|
10
|
+
.min(1, (0, translate_1.translate)('model.csv.password.empty')),
|
11
|
+
});
|
12
|
+
class DownloadProfilesDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.downloadProfilesSchema) {
|
13
|
+
}
|
14
|
+
exports.DownloadProfilesDto = DownloadProfilesDto;
|
15
|
+
//# sourceMappingURL=download-profiles.dto.js.map
|
@@ -14,7 +14,7 @@ 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/
|
18
|
-
__exportStar(require("./dto/
|
19
|
-
__exportStar(require("./dto/
|
17
|
+
__exportStar(require("./dto/csv.dto"), exports);
|
18
|
+
__exportStar(require("./dto/download-all-tables.dto"), exports);
|
19
|
+
__exportStar(require("./dto/download-profiles.dto"), exports);
|
20
20
|
//# sourceMappingURL=exports.js.map
|
@@ -8,7 +8,7 @@ const zod_1 = require("zod");
|
|
8
8
|
exports.eventSchema = zod_1.z.object({
|
9
9
|
id: zod_1.z.string().uuid({ message: (0, translate_1.translate)('model.event.id.uuid') }),
|
10
10
|
name: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.name.required')),
|
11
|
-
date: zod_1.z.date({
|
11
|
+
date: zod_1.z.coerce.date({
|
12
12
|
required_error: (0, translate_1.translate)('model.event.date.required'),
|
13
13
|
invalid_type_error: (0, translate_1.translate)('model.event.date.invalid'),
|
14
14
|
}),
|