expo-backend-types 0.15.0-EXPO-244-EB-CSV.2 → 0.15.0-EXPO-244-EB-CSV.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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");
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
6
  const zod_1 = require("zod");
7
7
  exports.csvDownloadSchema = zod_1.z.object({
8
8
  password: zod_1.z
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const csvDownloadAllTablesSchema: z.ZodObject<{
3
+ password: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ password: string;
6
+ }, {
7
+ password: string;
8
+ }>;
9
+ declare const CsvDownloadAllTablesDto_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 CsvDownloadAllTablesDto extends CsvDownloadAllTablesDto_base {
17
+ }
18
+ export {};
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CsvDownloadAllTablesDto = exports.csvDownloadAllTablesSchema = 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.csvDownloadAllTablesSchema = 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 CsvDownloadAllTablesDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.csvDownloadAllTablesSchema) {
15
+ }
16
+ exports.CsvDownloadAllTablesDto = CsvDownloadAllTablesDto;
17
+ //# sourceMappingURL=downloadAllTables.dto.js.map
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const downloadModelosSchema: z.ZodObject<{
3
+ password: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ password: string;
6
+ }, {
7
+ password: string;
8
+ }>;
9
+ declare const DownloadModelosDto_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 DownloadModelosDto extends DownloadModelosDto_base {
17
+ }
18
+ export {};
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DownloadModelosDto = exports.downloadModelosSchema = 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.downloadModelosSchema = 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 DownloadModelosDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.downloadModelosSchema) {
13
+ }
14
+ exports.DownloadModelosDto = DownloadModelosDto;
15
+ //# sourceMappingURL=downloadModelos.dto.js.map
@@ -0,0 +1,3 @@
1
+ export * from './dto/csv.dto';
2
+ export * from './dto/downloadAllTables.dto';
3
+ export * from './dto/downloadModelos.dto';
@@ -0,0 +1,20 @@
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/csv.dto"), exports);
18
+ __exportStar(require("./dto/downloadAllTables.dto"), exports);
19
+ __exportStar(require("./dto/downloadModelos.dto"), exports);
20
+ //# sourceMappingURL=exports.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.15.0-EXPO-244-EB-CSV.2",
3
+ "version": "0.15.0-EXPO-244-EB-CSV.3",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
File without changes