expo-backend-types 0.4.0-EXPO-248-EB-GrupoEtiqueta.9 → 0.4.0-EXPO-248-EB-GrupoEtiqueta.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/account/dto/account.dto.js +1 -1
- package/dist/src/account/dto/create-account.dto.js +1 -1
- package/dist/src/account/dto/get-global-filter.dto.js +1 -1
- package/dist/src/account/dto/get-me.dto.js +1 -1
- package/dist/src/account/dto/update-global-filter.dto.js +1 -1
- package/dist/src/auth/dto/login.dto.js +1 -1
- package/dist/src/comment/dto/comment.dto.js +1 -1
- package/dist/src/exports.d.ts +3 -3
- package/dist/src/exports.js +3 -3
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.d.ts +4 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +10 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -0
- package/dist/src/shared/dto-modification/without-dates.d.ts +4 -0
- package/dist/src/shared/dto-modification/without-dates.js +6 -0
- package/dist/src/shared/dto-modification/without-dates.js.map +1 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js +28 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -0
- package/dist/src/tag/dto/create-tag.dto.js +1 -1
- package/dist/src/tag/dto/delete-tag.dto.js +1 -1
- package/dist/src/tag/dto/find-all-tag.dto.js +1 -1
- package/dist/src/tag/dto/find-by-group-tag.dto.js +1 -1
- package/dist/src/tag/dto/find-one-tag.dto.js +1 -1
- package/dist/src/tag/dto/tag.dto.js +1 -1
- package/dist/src/tag/dto/update-tag.dto.js +1 -1
- package/dist/src/tag-group/dto/create-tag-group.dto.js +1 -1
- package/dist/src/tag-group/dto/delete-tag-group.dto.js +1 -1
- package/dist/src/tag-group/dto/find-all-tag-group.dto.js +1 -1
- package/dist/src/tag-group/dto/find-all-with-tags.dto.js +1 -1
- package/dist/src/tag-group/dto/find-one-tag-group.dto.js +1 -1
- package/dist/src/tag-group/dto/tag-group.dto.js +1 -1
- package/dist/src/tag-group/dto/update-tag-group.dto.js +1 -1
- package/package.json +2 -1
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CuentaDto = exports.accountSchema = void 0;
|
4
4
|
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
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
|
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
8
8
|
exports.accountSchema = zod_1.z.object({
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateAccountResponseDto = exports.createAccountResponseSchema = exports.CreateAccountDto = exports.createAccountSchema = void 0;
|
4
4
|
const account_dto_1 = require("./account.dto");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
6
|
exports.createAccountSchema = account_dto_1.accountSchema.pick({
|
7
7
|
username: true,
|
8
8
|
password: true,
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.GetGlobalFilterResponseDto = exports.getGlobalFilterResponseSchema = void 0;
|
7
7
|
const account_dto_1 = require("./account.dto");
|
8
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
8
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
10
10
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
11
|
const zod_1 = __importDefault(require("zod"));
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.GetMeResponseDto = exports.getMeResponseSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
8
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
9
9
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateGlobalFilterResponseDto = exports.updateGlobalFilterResponseSchema = exports.UpdateGlobalFilterDto = exports.updateGlobalFilterSchema = void 0;
|
4
4
|
const account_dto_1 = require("./account.dto");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
6
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
7
7
|
const zod_1 = require("zod");
|
8
8
|
exports.updateGlobalFilterSchema = zod_1.z.object({
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.LoginResponseDto = exports.loginResponseSchema = exports.LoginDto = exports.loginSchema = void 0;
|
7
7
|
const account_dto_1 = require("../../account/dto/account.dto");
|
8
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
8
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
10
|
exports.loginSchema = account_dto_1.accountSchema.pick({
|
11
11
|
username: true,
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CommentDto = exports.commentSchema = void 0;
|
4
4
|
const account_dto_1 = require("../../account/dto/account.dto");
|
5
5
|
const translate_1 = require("../../i18n/translate");
|
6
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
6
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
7
7
|
const zod_1 = require("zod");
|
8
8
|
exports.commentSchema = zod_1.z.object({
|
9
9
|
id: zod_1.z.string().uuid({
|
package/dist/src/exports.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export * from './auth/exports';
|
2
1
|
export * from './account/exports';
|
3
|
-
export * from './
|
2
|
+
export * from './auth/exports';
|
4
3
|
export * from './comment/exports';
|
5
|
-
export * from './tag-group/exports';
|
6
4
|
export * from './event/exports';
|
5
|
+
export * from './tag-group/exports';
|
6
|
+
export * from './tag/exports';
|
package/dist/src/exports.js
CHANGED
@@ -14,10 +14,10 @@ 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("./auth/exports"), exports);
|
18
17
|
__exportStar(require("./account/exports"), exports);
|
19
|
-
__exportStar(require("./
|
18
|
+
__exportStar(require("./auth/exports"), exports);
|
20
19
|
__exportStar(require("./comment/exports"), exports);
|
21
|
-
__exportStar(require("./tag-group/exports"), exports);
|
22
20
|
__exportStar(require("./event/exports"), exports);
|
21
|
+
__exportStar(require("./tag-group/exports"), exports);
|
22
|
+
__exportStar(require("./tag/exports"), exports);
|
23
23
|
//# sourceMappingURL=exports.js.map
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { ReplaceDatesWithStrings } from '@/shared/dto-modification/zod-without-dates';
|
2
|
+
import { ZodDtoStatic } from '@anatine/zod-nestjs';
|
3
|
+
import { OpenApiZodAny } from '@anatine/zod-openapi';
|
4
|
+
export declare function createZodDtoWithoutDate<T extends OpenApiZodAny>(schema: T): ZodDtoStatic<ReplaceDatesWithStrings<T>>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.createZodDtoWithoutDate = void 0;
|
4
|
+
const zod_without_dates_1 = require("./zod-without-dates");
|
5
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
6
|
+
function createZodDtoWithoutDate(schema) {
|
7
|
+
return (0, zod_nestjs_1.createZodDto)((0, zod_without_dates_1.replaceDatesWithStrings)(schema));
|
8
|
+
}
|
9
|
+
exports.createZodDtoWithoutDate = createZodDtoWithoutDate;
|
10
|
+
//# sourceMappingURL=create-zod-dto-without-date.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"create-zod-dto-without-date.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/create-zod-dto-without-date.ts"],"names":[],"mappings":";;;AAAA,2DAGqD;AACrD,oDAAiE;AAGjE,SAAgB,uBAAuB,CACrC,MAAS;IAET,OAAO,IAAA,yBAAY,EAAC,IAAA,2CAAuB,EAAC,MAAM,CAAC,CAElD,CAAC;AACJ,CAAC;AAND,0DAMC"}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export type WithSerializedDates<T> = T extends Date ? string : T extends Array<infer R> ? Array<WithSerializedDates<R>> : T extends object ? {
|
2
|
+
[K in keyof T]: WithSerializedDates<T[K]>;
|
3
|
+
} : T;
|
4
|
+
export declare const withoutDates: <T>(model: T) => WithSerializedDates<T>;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/without-dates.ts"],"names":[],"mappings":";;;AAQO,MAAM,YAAY,GAAG,CAAI,KAAQ,EAA0B,EAAE,CAClE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAA2B,CAAC;AADjD,QAAA,YAAY,gBACqC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { OpenApiZodAny } from '@anatine/zod-openapi';
|
2
|
+
import { z, ZodArray, ZodDate, ZodIntersection, ZodObject, ZodTypeAny, ZodUnion } from 'zod';
|
3
|
+
export type ReplaceDatesWithStrings<T extends ZodTypeAny> = T extends ZodDate ? ReturnType<typeof z.string> : T extends ZodObject<infer Shape> ? ZodObject<{
|
4
|
+
[k in keyof Shape]: ReplaceDatesWithStrings<Shape[k]>;
|
5
|
+
}> : T extends ZodArray<infer Item> ? ZodArray<ReplaceDatesWithStrings<Item>> : T extends ZodUnion<infer Options> ? ZodUnion<{
|
6
|
+
[k in keyof Options]: ReplaceDatesWithStrings<Options[k]>;
|
7
|
+
}> : T extends ZodIntersection<infer Left, infer Right> ? ZodIntersection<ReplaceDatesWithStrings<Left>, ReplaceDatesWithStrings<Right>> : T;
|
8
|
+
export declare const replaceDatesWithStrings: <T extends OpenApiZodAny>(schema: T) => ReplaceDatesWithStrings<T>;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.replaceDatesWithStrings = void 0;
|
4
|
+
const zod_1 = require("zod");
|
5
|
+
const replaceDatesWithStrings = (schema) => {
|
6
|
+
if (schema instanceof zod_1.ZodDate) {
|
7
|
+
return zod_1.z.string().datetime();
|
8
|
+
}
|
9
|
+
if (schema instanceof zod_1.ZodObject) {
|
10
|
+
const newShape = {};
|
11
|
+
for (const key in schema.shape) {
|
12
|
+
newShape[key] = (0, exports.replaceDatesWithStrings)(schema.shape[key]);
|
13
|
+
}
|
14
|
+
return zod_1.z.object(newShape);
|
15
|
+
}
|
16
|
+
if (schema instanceof zod_1.ZodArray) {
|
17
|
+
return zod_1.z.array((0, exports.replaceDatesWithStrings)(schema.element));
|
18
|
+
}
|
19
|
+
if (schema instanceof zod_1.ZodUnion) {
|
20
|
+
return zod_1.z.union(schema._def.options.map((option) => (0, exports.replaceDatesWithStrings)(option)));
|
21
|
+
}
|
22
|
+
if (schema instanceof zod_1.ZodIntersection) {
|
23
|
+
return zod_1.z.intersection((0, exports.replaceDatesWithStrings)(schema._def.left), (0, exports.replaceDatesWithStrings)(schema._def.right));
|
24
|
+
}
|
25
|
+
return schema;
|
26
|
+
};
|
27
|
+
exports.replaceDatesWithStrings = replaceDatesWithStrings;
|
28
|
+
//# sourceMappingURL=zod-without-dates.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BASa;AAoBN,MAAM,uBAAuB,GAAG,CACrC,MAAS,EACmB,EAAE;IAC9B,IAAI,MAAM,YAAY,aAAO,EAAE,CAAC;QAC9B,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;IAC7D,CAAC;IAED,IAAI,MAAM,YAAY,eAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAgB,EAAE,CAAC;QACjC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YAC/B,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAA,+BAAuB,EAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,OAAC,CAAC,MAAM,CAAC,QAAQ,CAA+B,CAAC;IAC1D,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,IAAA,+BAAuB,EAAC,MAAM,CAAC,OAAO,CAAC,CACV,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,IAAA,+BAAuB,EAAC,MAAM,CAAC,CAAC,CAC1C,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,qBAAe,EAAE,CAAC;QACtC,OAAO,OAAC,CAAC,YAAY,CACnB,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CACb,CAAC;IAClC,CAAC;IAGD,OAAO,MAAoC,CAAC;AAC9C,CAAC,CAAC;AApCW,QAAA,uBAAuB,2BAoClC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateTagResponseDto = exports.createTagResponseSchema = exports.CreateTagDto = exports.createTagSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const tag_dto_1 = require("./tag.dto");
|
6
6
|
exports.createTagSchema = tag_dto_1.tagSchema.pick({
|
7
7
|
name: true,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DeleteTagResponseDto = exports.deleteTagResponseSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const tag_dto_1 = require("./tag.dto");
|
6
6
|
exports.deleteTagResponseSchema = tag_dto_1.tagSchema;
|
7
7
|
class DeleteTagResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteTagResponseSchema) {
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindAllTagResponseDto = exports.findAllTagResponseSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
8
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindByGroupTagResponseDto = exports.findByGroupTagResponseDto = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
8
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindOneTagResponseDto = exports.findOneTagResponseSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
8
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.TagDto = exports.tagSchema = void 0;
|
4
4
|
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
6
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
7
7
|
const zod_1 = require("zod");
|
8
8
|
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateTagResponseDto = exports.updateTagResponseSchema = exports.UpdateTagDto = exports.updateTagSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const tag_dto_1 = require("./tag.dto");
|
6
6
|
exports.updateTagSchema = tag_dto_1.tagSchema
|
7
7
|
.pick({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateTagGroupResponseDto = exports.createTagGroupResponseSchema = exports.CreateTagGroupDto = exports.createTagGroupSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const tag_group_dto_1 = require("./tag-group.dto");
|
6
6
|
exports.createTagGroupSchema = tag_group_dto_1.tagGroupSchema.pick({
|
7
7
|
color: true,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.DeleteTagGroupResponseDto = exports.deleteTagGroupResponseSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const tag_group_dto_1 = require("./tag-group.dto");
|
6
6
|
exports.deleteTagGroupResponseSchema = tag_group_dto_1.tagGroupSchema;
|
7
7
|
class DeleteTagGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteTagGroupResponseSchema) {
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindAllTagGroupResponseDto = exports.findAllTagGroupResponseSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
8
|
const tag_group_dto_1 = require("./tag-group.dto");
|
9
9
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindAllWithTagsResponseDto = exports.findAllWithTagsResponseSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
8
|
const tag_group_dto_1 = require("./tag-group.dto");
|
9
9
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindOneTagGroupResponseDto = exports.findOneTagGroupResponseSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
8
|
const tag_group_dto_1 = require("./tag-group.dto");
|
9
9
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.TagGroupDto = exports.tagGroupSchema = void 0;
|
4
4
|
const translate_1 = require("../../i18n/translate");
|
5
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
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.tagGroupSchema = zod_1.z.object({
|
8
8
|
id: zod_1.z.string().uuid({
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.UpdateTagGroupResponseDto = exports.updateTagGroupResponseSchema = exports.UpdateTagGroupDto = exports.updateTagGroupSchema = void 0;
|
4
|
-
const create_zod_dto_without_date_1 = require("../../shared/
|
4
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
5
5
|
const tag_group_dto_1 = require("./tag-group.dto");
|
6
6
|
exports.updateTagGroupSchema = tag_group_dto_1.tagGroupSchema.pick({
|
7
7
|
name: true,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.4.0-EXPO-248-EB-GrupoEtiqueta.
|
3
|
+
"version": "0.4.0-EXPO-248-EB-GrupoEtiqueta.11",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -9,6 +9,7 @@
|
|
9
9
|
"dist/types",
|
10
10
|
"dist/src/**/*.dto.{js,d.ts,ts}",
|
11
11
|
"dist/src/**/exports.{js,d.ts,ts}",
|
12
|
+
"dist/src/shared/dto-modification",
|
12
13
|
"dist/src/i18n"
|
13
14
|
],
|
14
15
|
"scripts": {
|