expo-backend-types 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +11 -201
  2. package/dist/src/account/dto/account.dto.js +4 -21
  3. package/dist/src/account/dto/create-account.dto.d.ts +9 -301
  4. package/dist/src/account/dto/create-account.dto.js +3 -4
  5. package/dist/src/account/dto/get-global-filter.dto.d.ts +24 -20
  6. package/dist/src/account/dto/get-global-filter.dto.js +10 -6
  7. package/dist/src/account/dto/get-me.dto.d.ts +214 -188
  8. package/dist/src/account/dto/get-me.dto.js +27 -4
  9. package/dist/src/account/dto/update-global-filter.dto.d.ts +136 -169
  10. package/dist/src/account/dto/update-global-filter.dto.js +7 -15
  11. package/dist/src/auth/dto/login.dto.d.ts +34 -414
  12. package/dist/src/auth/dto/login.dto.js +5 -4
  13. package/dist/src/auth/dto/refresh.dto.d.ts +30 -0
  14. package/dist/src/auth/dto/refresh.dto.js +17 -0
  15. package/dist/src/comment/dto/comment.dto.d.ts +21 -15
  16. package/dist/src/comment/dto/comment.dto.js +11 -6
  17. package/dist/src/comment/dto/create-comment.dto.d.ts +106 -0
  18. package/dist/src/comment/dto/create-comment.dto.js +18 -0
  19. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +177 -0
  20. package/dist/src/comment/dto/get-by-profile-comment.dto.js +21 -0
  21. package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +71 -0
  22. package/dist/src/comment/dto/toggle-solve-comment.dto.js +10 -0
  23. package/dist/src/comment/exports.d.ts +3 -0
  24. package/dist/src/comment/exports.js +3 -0
  25. package/dist/src/event/dto/event.dto.d.ts +10 -16
  26. package/dist/src/event/dto/event.dto.js +6 -10
  27. package/dist/src/event-folder/dto/event-folder.dto.d.ts +6 -0
  28. package/dist/src/event-folder/dto/event-folder.dto.js +2 -0
  29. package/dist/src/event-folder/exports.d.ts +1 -0
  30. package/dist/src/event-folder/exports.js +18 -0
  31. package/dist/src/exports.d.ts +5 -3
  32. package/dist/src/exports.js +5 -3
  33. package/dist/src/i18n/es.d.ts +210 -0
  34. package/dist/src/i18n/es.js +212 -0
  35. package/dist/src/i18n/es.js.map +1 -0
  36. package/dist/src/i18n/translate.d.ts +9 -2
  37. package/dist/src/i18n/translate.js +3 -3
  38. package/dist/src/i18n/translate.js.map +1 -1
  39. package/dist/src/profile/dto/profile.dto.d.ts +68 -0
  40. package/dist/src/profile/dto/profile.dto.js +59 -0
  41. package/dist/src/profile/exports.d.ts +1 -0
  42. package/dist/src/profile/exports.js +18 -0
  43. package/dist/src/shared/dto-modification/create-zod-dto-without-date.d.ts +4 -0
  44. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +10 -0
  45. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -0
  46. package/dist/src/shared/dto-modification/without-dates.d.ts +4 -0
  47. package/dist/src/shared/dto-modification/without-dates.js +6 -0
  48. package/dist/src/shared/dto-modification/without-dates.js.map +1 -0
  49. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +8 -0
  50. package/dist/src/shared/dto-modification/zod-without-dates.js +28 -0
  51. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -0
  52. package/dist/src/tag/dto/create-tag.dto.d.ts +5 -16
  53. package/dist/src/tag/dto/create-tag.dto.js +3 -3
  54. package/dist/src/tag/dto/delete-tag.dto.d.ts +7 -7
  55. package/dist/src/tag/dto/delete-tag.dto.js +2 -2
  56. package/dist/src/tag/dto/find-all-tag.dto.d.ts +34 -35
  57. package/dist/src/tag/dto/find-all-tag.dto.js +2 -2
  58. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +35 -36
  59. package/dist/src/tag/dto/find-by-group-tag.dto.js +5 -5
  60. package/dist/src/tag/dto/find-one-tag.dto.d.ts +23 -24
  61. package/dist/src/tag/dto/find-one-tag.dto.js +2 -2
  62. package/dist/src/tag/dto/massive-allocation.dto.d.ts +260 -0
  63. package/dist/src/tag/dto/massive-allocation.dto.js +24 -0
  64. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +260 -0
  65. package/dist/src/tag/dto/massive-deallocation.dto.js +24 -0
  66. package/dist/src/tag/dto/tag.dto.d.ts +7 -7
  67. package/dist/src/tag/dto/tag.dto.js +3 -3
  68. package/dist/src/tag/dto/update-tag.dto.d.ts +31 -22
  69. package/dist/src/tag/dto/update-tag.dto.js +5 -7
  70. package/dist/src/tag/exports.d.ts +2 -1
  71. package/dist/src/tag/exports.js +2 -1
  72. package/dist/src/tag-group/dto/create-tag-group.dto.d.ts +78 -0
  73. package/dist/src/tag-group/dto/create-tag-group.dto.js +18 -0
  74. package/dist/src/tag-group/dto/delete-tag-group.dto.d.ts +47 -0
  75. package/dist/src/tag-group/dto/delete-tag-group.dto.js +10 -0
  76. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +207 -0
  77. package/dist/src/tag-group/dto/find-all-tag-group.dto.js +19 -0
  78. package/dist/src/{tag/dto/find-all-grouped-tag.dto.d.ts → tag-group/dto/find-all-with-tags.dto.d.ts} +24 -28
  79. package/dist/src/{tag/dto/find-all-grouped-tag.dto.js → tag-group/dto/find-all-with-tags.dto.js} +8 -8
  80. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +135 -0
  81. package/dist/src/tag-group/dto/find-one-tag-group.dto.js +17 -0
  82. package/dist/src/tag-group/dto/tag-group.dto.d.ts +9 -9
  83. package/dist/src/tag-group/dto/tag-group.dto.js +5 -3
  84. package/dist/src/tag-group/dto/update-tag-group.dto.d.ts +78 -0
  85. package/dist/src/tag-group/dto/update-tag-group.dto.js +18 -0
  86. package/dist/src/tag-group/exports.d.ts +6 -0
  87. package/dist/src/tag-group/exports.js +6 -0
  88. package/dist/types/prisma-schema/edge.js +4 -4
  89. package/dist/types/prisma-schema/index-browser.js +1 -1
  90. package/dist/types/prisma-schema/index.d.ts +53 -53
  91. package/dist/types/prisma-schema/index.js +4 -4
  92. package/dist/types/prisma-schema/package.json +1 -1
  93. package/dist/types/prisma-schema/schema.prisma +1 -1
  94. package/dist/types/prisma-schema/wasm.js +1 -1
  95. package/dist/types/schema.d.ts +787 -184
  96. package/package.json +10 -6
  97. package/dist/src/i18n/es.json +0 -125
@@ -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,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.withoutDates = void 0;
4
+ const withoutDates = (model) => JSON.parse(JSON.stringify(model));
5
+ exports.withoutDates = withoutDates;
6
+ //# sourceMappingURL=without-dates.js.map
@@ -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"}
@@ -17,19 +17,10 @@ export declare const createTagSchema: import("zod").ZodObject<Pick<{
17
17
  name: string;
18
18
  groupId: string;
19
19
  }>;
20
- declare const CreateTagDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Pick<{
21
- id: import("zod").ZodString;
20
+ declare const CreateTagDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
22
21
  name: import("zod").ZodString;
23
22
  groupId: import("zod").ZodString;
24
- type: import("zod").ZodNativeEnum<{
25
- PROFILE: "PROFILE";
26
- EVENT: "EVENT";
27
- PARTICIPANT: "PARTICIPANT";
28
- NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
29
- }>;
30
- created_at: import("zod").ZodDate;
31
- updated_at: import("zod").ZodDate;
32
- }, "name" | "groupId">, "strip", import("zod").ZodTypeAny, {
23
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
33
24
  name: string;
34
25
  groupId: string;
35
26
  }, {
@@ -61,19 +52,17 @@ export declare const createTagResponseSchema: import("zod").ZodObject<Omit<{
61
52
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
62
53
  groupId: string;
63
54
  }>;
64
- declare const CreateTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
55
+ declare const CreateTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
65
56
  id: import("zod").ZodString;
66
57
  name: import("zod").ZodString;
67
- groupId: import("zod").ZodString;
68
58
  type: import("zod").ZodNativeEnum<{
69
59
  PROFILE: "PROFILE";
70
60
  EVENT: "EVENT";
71
61
  PARTICIPANT: "PARTICIPANT";
72
62
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
73
63
  }>;
74
- created_at: import("zod").ZodDate;
75
- updated_at: import("zod").ZodDate;
76
- }, "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
64
+ groupId: import("zod").ZodString;
65
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
77
66
  id: string;
78
67
  name: string;
79
68
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -1,20 +1,20 @@
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/dto-modification/create-zod-dto-without-date");
4
5
  const tag_dto_1 = require("./tag.dto");
5
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
6
6
  exports.createTagSchema = tag_dto_1.tagSchema.pick({
7
7
  name: true,
8
8
  groupId: true,
9
9
  });
10
- class CreateTagDto extends (0, zod_nestjs_1.createZodDto)(exports.createTagSchema) {
10
+ class CreateTagDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTagSchema) {
11
11
  }
12
12
  exports.CreateTagDto = CreateTagDto;
13
13
  exports.createTagResponseSchema = tag_dto_1.tagSchema.omit({
14
14
  created_at: true,
15
15
  updated_at: true,
16
16
  });
17
- class CreateTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.createTagResponseSchema) {
17
+ class CreateTagResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTagResponseSchema) {
18
18
  }
19
19
  exports.CreateTagResponseDto = CreateTagResponseDto;
20
20
  //# sourceMappingURL=create-tag.dto.js.map
@@ -35,21 +35,21 @@ declare const DeleteTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
35
35
  PARTICIPANT: "PARTICIPANT";
36
36
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
37
37
  }>;
38
- created_at: import("zod").ZodDate;
39
- updated_at: import("zod").ZodDate;
40
- }, "strip", import("zod").ZodTypeAny, {
38
+ created_at: import("zod").ZodString;
39
+ updated_at: import("zod").ZodString;
40
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
41
41
  id: string;
42
42
  name: string;
43
43
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
44
- created_at: Date;
45
- updated_at: Date;
44
+ created_at: string;
45
+ updated_at: string;
46
46
  groupId: string;
47
47
  }, {
48
48
  id: string;
49
49
  name: string;
50
50
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
51
- created_at: Date;
52
- updated_at: Date;
51
+ created_at: string;
52
+ updated_at: string;
53
53
  groupId: string;
54
54
  }>>;
55
55
  export declare class DeleteTagResponseDto extends DeleteTagResponseDto_base {
@@ -1,10 +1,10 @@
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/dto-modification/create-zod-dto-without-date");
4
5
  const tag_dto_1 = require("./tag.dto");
5
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
6
6
  exports.deleteTagResponseSchema = tag_dto_1.tagSchema;
7
- class DeleteTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.deleteTagResponseSchema) {
7
+ class DeleteTagResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteTagResponseSchema) {
8
8
  }
9
9
  exports.DeleteTagResponseDto = DeleteTagResponseDto;
10
10
  //# sourceMappingURL=delete-tag.dto.js.map
@@ -24,16 +24,16 @@ export declare const findAllTagResponseSchema: z.ZodObject<{
24
24
  id: string;
25
25
  name: string;
26
26
  color: string;
27
- isExclusive: boolean;
28
27
  created_at: Date;
29
28
  updated_at: Date;
29
+ isExclusive: boolean;
30
30
  }, {
31
31
  id: string;
32
32
  name: string;
33
33
  color: string;
34
- isExclusive: boolean;
35
34
  created_at: Date;
36
35
  updated_at: Date;
36
+ isExclusive: boolean;
37
37
  }>;
38
38
  }>, "strip", z.ZodTypeAny, {
39
39
  id: string;
@@ -46,9 +46,9 @@ export declare const findAllTagResponseSchema: z.ZodObject<{
46
46
  id: string;
47
47
  name: string;
48
48
  color: string;
49
- isExclusive: boolean;
50
49
  created_at: Date;
51
50
  updated_at: Date;
51
+ isExclusive: boolean;
52
52
  };
53
53
  }, {
54
54
  id: string;
@@ -61,9 +61,9 @@ export declare const findAllTagResponseSchema: z.ZodObject<{
61
61
  id: string;
62
62
  name: string;
63
63
  color: string;
64
- isExclusive: boolean;
65
64
  created_at: Date;
66
65
  updated_at: Date;
66
+ isExclusive: boolean;
67
67
  };
68
68
  }>, "many">;
69
69
  }, "strip", z.ZodTypeAny, {
@@ -78,9 +78,9 @@ export declare const findAllTagResponseSchema: z.ZodObject<{
78
78
  id: string;
79
79
  name: string;
80
80
  color: string;
81
- isExclusive: boolean;
82
81
  created_at: Date;
83
82
  updated_at: Date;
83
+ isExclusive: boolean;
84
84
  };
85
85
  }[];
86
86
  }, {
@@ -95,14 +95,14 @@ export declare const findAllTagResponseSchema: z.ZodObject<{
95
95
  id: string;
96
96
  name: string;
97
97
  color: string;
98
- isExclusive: boolean;
99
98
  created_at: Date;
100
99
  updated_at: Date;
100
+ isExclusive: boolean;
101
101
  };
102
102
  }[];
103
103
  }>;
104
104
  declare const FindAllTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
105
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
105
+ tags: z.ZodArray<z.ZodObject<{
106
106
  id: z.ZodString;
107
107
  name: z.ZodString;
108
108
  groupId: z.ZodString;
@@ -112,77 +112,76 @@ declare const FindAllTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
112
112
  PARTICIPANT: "PARTICIPANT";
113
113
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
114
114
  }>;
115
- created_at: z.ZodDate;
116
- updated_at: z.ZodDate;
117
- }, {
115
+ created_at: z.ZodString;
116
+ updated_at: z.ZodString;
118
117
  group: z.ZodObject<{
119
118
  id: z.ZodString;
120
119
  name: z.ZodString;
121
120
  color: z.ZodString;
122
121
  isExclusive: z.ZodBoolean;
123
- created_at: z.ZodDate;
124
- updated_at: z.ZodDate;
125
- }, "strip", z.ZodTypeAny, {
122
+ created_at: z.ZodString;
123
+ updated_at: z.ZodString;
124
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
126
125
  id: string;
127
126
  name: string;
128
127
  color: string;
128
+ created_at: string;
129
+ updated_at: string;
129
130
  isExclusive: boolean;
130
- created_at: Date;
131
- updated_at: Date;
132
131
  }, {
133
132
  id: string;
134
133
  name: string;
135
134
  color: string;
135
+ created_at: string;
136
+ updated_at: string;
136
137
  isExclusive: boolean;
137
- created_at: Date;
138
- updated_at: Date;
139
138
  }>;
140
- }>, "strip", z.ZodTypeAny, {
139
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
141
140
  id: string;
142
141
  name: string;
143
142
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
144
- created_at: Date;
145
- updated_at: Date;
143
+ created_at: string;
144
+ updated_at: string;
146
145
  groupId: string;
147
146
  group: {
148
147
  id: string;
149
148
  name: string;
150
149
  color: string;
150
+ created_at: string;
151
+ updated_at: string;
151
152
  isExclusive: boolean;
152
- created_at: Date;
153
- updated_at: Date;
154
153
  };
155
154
  }, {
156
155
  id: string;
157
156
  name: string;
158
157
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
159
- created_at: Date;
160
- updated_at: Date;
158
+ created_at: string;
159
+ updated_at: string;
161
160
  groupId: string;
162
161
  group: {
163
162
  id: string;
164
163
  name: string;
165
164
  color: string;
165
+ created_at: string;
166
+ updated_at: string;
166
167
  isExclusive: boolean;
167
- created_at: Date;
168
- updated_at: Date;
169
168
  };
170
169
  }>, "many">;
171
- }, "strip", z.ZodTypeAny, {
170
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
172
171
  tags: {
173
172
  id: string;
174
173
  name: string;
175
174
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
176
- created_at: Date;
177
- updated_at: Date;
175
+ created_at: string;
176
+ updated_at: string;
178
177
  groupId: string;
179
178
  group: {
180
179
  id: string;
181
180
  name: string;
182
181
  color: string;
182
+ created_at: string;
183
+ updated_at: string;
183
184
  isExclusive: boolean;
184
- created_at: Date;
185
- updated_at: Date;
186
185
  };
187
186
  }[];
188
187
  }, {
@@ -190,16 +189,16 @@ declare const FindAllTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
190
189
  id: string;
191
190
  name: string;
192
191
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
193
- created_at: Date;
194
- updated_at: Date;
192
+ created_at: string;
193
+ updated_at: string;
195
194
  groupId: string;
196
195
  group: {
197
196
  id: string;
198
197
  name: string;
199
198
  color: string;
199
+ created_at: string;
200
+ updated_at: string;
200
201
  isExclusive: boolean;
201
- created_at: Date;
202
- updated_at: Date;
203
202
  };
204
203
  }[];
205
204
  }>>;
@@ -4,16 +4,16 @@ 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/dto-modification/create-zod-dto-without-date");
7
8
  const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
8
9
  const tag_dto_1 = require("./tag.dto");
9
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
10
10
  const zod_1 = __importDefault(require("zod"));
11
11
  exports.findAllTagResponseSchema = zod_1.default.object({
12
12
  tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
13
13
  group: tag_group_dto_1.tagGroupSchema,
14
14
  }))),
15
15
  });
16
- class FindAllTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.findAllTagResponseSchema) {
16
+ class FindAllTagResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllTagResponseSchema) {
17
17
  }
18
18
  exports.FindAllTagResponseDto = FindAllTagResponseDto;
19
19
  //# sourceMappingURL=find-all-tag.dto.js.map
@@ -1,5 +1,5 @@
1
1
  import z from 'zod';
2
- export declare const findByGroupTagResponseDto: z.ZodObject<{
2
+ export declare const findByGroupTagResponseSchema: z.ZodObject<{
3
3
  tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
@@ -24,16 +24,16 @@ export declare const findByGroupTagResponseDto: z.ZodObject<{
24
24
  id: string;
25
25
  name: string;
26
26
  color: string;
27
- isExclusive: boolean;
28
27
  created_at: Date;
29
28
  updated_at: Date;
29
+ isExclusive: boolean;
30
30
  }, {
31
31
  id: string;
32
32
  name: string;
33
33
  color: string;
34
- isExclusive: boolean;
35
34
  created_at: Date;
36
35
  updated_at: Date;
36
+ isExclusive: boolean;
37
37
  }>;
38
38
  }>, "strip", z.ZodTypeAny, {
39
39
  id: string;
@@ -46,9 +46,9 @@ export declare const findByGroupTagResponseDto: z.ZodObject<{
46
46
  id: string;
47
47
  name: string;
48
48
  color: string;
49
- isExclusive: boolean;
50
49
  created_at: Date;
51
50
  updated_at: Date;
51
+ isExclusive: boolean;
52
52
  };
53
53
  }, {
54
54
  id: string;
@@ -61,9 +61,9 @@ export declare const findByGroupTagResponseDto: z.ZodObject<{
61
61
  id: string;
62
62
  name: string;
63
63
  color: string;
64
- isExclusive: boolean;
65
64
  created_at: Date;
66
65
  updated_at: Date;
66
+ isExclusive: boolean;
67
67
  };
68
68
  }>, "many">;
69
69
  }, "strip", z.ZodTypeAny, {
@@ -78,9 +78,9 @@ export declare const findByGroupTagResponseDto: z.ZodObject<{
78
78
  id: string;
79
79
  name: string;
80
80
  color: string;
81
- isExclusive: boolean;
82
81
  created_at: Date;
83
82
  updated_at: Date;
83
+ isExclusive: boolean;
84
84
  };
85
85
  }[];
86
86
  }, {
@@ -95,14 +95,14 @@ export declare const findByGroupTagResponseDto: z.ZodObject<{
95
95
  id: string;
96
96
  name: string;
97
97
  color: string;
98
- isExclusive: boolean;
99
98
  created_at: Date;
100
99
  updated_at: Date;
100
+ isExclusive: boolean;
101
101
  };
102
102
  }[];
103
103
  }>;
104
104
  declare const FindByGroupTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
105
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
105
+ tags: z.ZodArray<z.ZodObject<{
106
106
  id: z.ZodString;
107
107
  name: z.ZodString;
108
108
  groupId: z.ZodString;
@@ -112,77 +112,76 @@ declare const FindByGroupTagResponseDto_base: import("@anatine/zod-nestjs").ZodD
112
112
  PARTICIPANT: "PARTICIPANT";
113
113
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
114
114
  }>;
115
- created_at: z.ZodDate;
116
- updated_at: z.ZodDate;
117
- }, {
115
+ created_at: z.ZodString;
116
+ updated_at: z.ZodString;
118
117
  group: z.ZodObject<{
119
118
  id: z.ZodString;
120
119
  name: z.ZodString;
121
120
  color: z.ZodString;
122
121
  isExclusive: z.ZodBoolean;
123
- created_at: z.ZodDate;
124
- updated_at: z.ZodDate;
125
- }, "strip", z.ZodTypeAny, {
122
+ created_at: z.ZodString;
123
+ updated_at: z.ZodString;
124
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
126
125
  id: string;
127
126
  name: string;
128
127
  color: string;
128
+ created_at: string;
129
+ updated_at: string;
129
130
  isExclusive: boolean;
130
- created_at: Date;
131
- updated_at: Date;
132
131
  }, {
133
132
  id: string;
134
133
  name: string;
135
134
  color: string;
135
+ created_at: string;
136
+ updated_at: string;
136
137
  isExclusive: boolean;
137
- created_at: Date;
138
- updated_at: Date;
139
138
  }>;
140
- }>, "strip", z.ZodTypeAny, {
139
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
141
140
  id: string;
142
141
  name: string;
143
142
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
144
- created_at: Date;
145
- updated_at: Date;
143
+ created_at: string;
144
+ updated_at: string;
146
145
  groupId: string;
147
146
  group: {
148
147
  id: string;
149
148
  name: string;
150
149
  color: string;
150
+ created_at: string;
151
+ updated_at: string;
151
152
  isExclusive: boolean;
152
- created_at: Date;
153
- updated_at: Date;
154
153
  };
155
154
  }, {
156
155
  id: string;
157
156
  name: string;
158
157
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
159
- created_at: Date;
160
- updated_at: Date;
158
+ created_at: string;
159
+ updated_at: string;
161
160
  groupId: string;
162
161
  group: {
163
162
  id: string;
164
163
  name: string;
165
164
  color: string;
165
+ created_at: string;
166
+ updated_at: string;
166
167
  isExclusive: boolean;
167
- created_at: Date;
168
- updated_at: Date;
169
168
  };
170
169
  }>, "many">;
171
- }, "strip", z.ZodTypeAny, {
170
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
172
171
  tags: {
173
172
  id: string;
174
173
  name: string;
175
174
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
176
- created_at: Date;
177
- updated_at: Date;
175
+ created_at: string;
176
+ updated_at: string;
178
177
  groupId: string;
179
178
  group: {
180
179
  id: string;
181
180
  name: string;
182
181
  color: string;
182
+ created_at: string;
183
+ updated_at: string;
183
184
  isExclusive: boolean;
184
- created_at: Date;
185
- updated_at: Date;
186
185
  };
187
186
  }[];
188
187
  }, {
@@ -190,16 +189,16 @@ declare const FindByGroupTagResponseDto_base: import("@anatine/zod-nestjs").ZodD
190
189
  id: string;
191
190
  name: string;
192
191
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
193
- created_at: Date;
194
- updated_at: Date;
192
+ created_at: string;
193
+ updated_at: string;
195
194
  groupId: string;
196
195
  group: {
197
196
  id: string;
198
197
  name: string;
199
198
  color: string;
199
+ created_at: string;
200
+ updated_at: string;
200
201
  isExclusive: boolean;
201
- created_at: Date;
202
- updated_at: Date;
203
202
  };
204
203
  }[];
205
204
  }>>;
@@ -3,17 +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.FindByGroupTagResponseDto = exports.findByGroupTagResponseDto = void 0;
7
- const tag_dto_1 = require("./tag.dto");
6
+ exports.FindByGroupTagResponseDto = exports.findByGroupTagResponseSchema = void 0;
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
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
9
+ const tag_dto_1 = require("./tag.dto");
10
10
  const zod_1 = __importDefault(require("zod"));
11
- exports.findByGroupTagResponseDto = zod_1.default.object({
11
+ exports.findByGroupTagResponseSchema = zod_1.default.object({
12
12
  tags: zod_1.default.array(tag_dto_1.tagSchema.merge(zod_1.default.object({
13
13
  group: tag_group_dto_1.tagGroupSchema,
14
14
  }))),
15
15
  });
16
- class FindByGroupTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.findByGroupTagResponseDto) {
16
+ class FindByGroupTagResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByGroupTagResponseSchema) {
17
17
  }
18
18
  exports.FindByGroupTagResponseDto = FindByGroupTagResponseDto;
19
19
  //# sourceMappingURL=find-by-group-tag.dto.js.map