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,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.MassiveDeallocationResponseDto = exports.massiveDeallocationResponseSchema = exports.MassiveDeallocationDto = exports.massiveDeallocationSchema = void 0;
7
+ const profile_dto_1 = require("../../profile/dto/profile.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const tag_dto_1 = require("./tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.massiveDeallocationSchema = zod_1.default.object({
12
+ tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
13
+ profileIds: zod_1.default.array(profile_dto_1.profileSchema.shape.id),
14
+ });
15
+ class MassiveDeallocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationSchema) {
16
+ }
17
+ exports.MassiveDeallocationDto = MassiveDeallocationDto;
18
+ exports.massiveDeallocationResponseSchema = zod_1.default.object({
19
+ profiles: zod_1.default.array(profile_dto_1.profileSchema),
20
+ });
21
+ class MassiveDeallocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveDeallocationResponseSchema) {
22
+ }
23
+ exports.MassiveDeallocationResponseDto = MassiveDeallocationResponseDto;
24
+ //# sourceMappingURL=massive-deallocation.dto.js.map
@@ -36,21 +36,21 @@ declare const TagDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObjec
36
36
  PARTICIPANT: "PARTICIPANT";
37
37
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
38
38
  }>;
39
- created_at: z.ZodDate;
40
- updated_at: z.ZodDate;
41
- }, "strip", z.ZodTypeAny, {
39
+ created_at: z.ZodString;
40
+ updated_at: z.ZodString;
41
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
42
42
  id: string;
43
43
  name: string;
44
44
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
45
- created_at: Date;
46
- updated_at: Date;
45
+ created_at: string;
46
+ updated_at: string;
47
47
  groupId: string;
48
48
  }, {
49
49
  id: string;
50
50
  name: string;
51
51
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
52
- created_at: Date;
53
- updated_at: Date;
52
+ created_at: string;
53
+ updated_at: string;
54
54
  groupId: string;
55
55
  }>>;
56
56
  export declare class TagDto extends TagDto_base {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TagDto = exports.tagSchema = void 0;
4
- const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
5
4
  const translate_1 = require("../../i18n/translate");
6
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
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");
9
9
  exports.tagSchema = zod_1.z.object({
@@ -24,7 +24,7 @@ exports.tagSchema = zod_1.z.object({
24
24
  created_at: zod_1.z.date(),
25
25
  updated_at: zod_1.z.date(),
26
26
  });
27
- class TagDto extends (0, zod_nestjs_1.createZodDto)(exports.tagSchema) {
27
+ class TagDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.tagSchema) {
28
28
  }
29
29
  exports.TagDto = TagDto;
30
30
  //# sourceMappingURL=tag.dto.js.map
@@ -1,22 +1,31 @@
1
- export declare const updateTagSchema: import("zod").ZodObject<{
2
- name: import("zod").ZodOptional<import("zod").ZodString>;
3
- groupId: import("zod").ZodOptional<import("zod").ZodString>;
4
- }, "strip", import("zod").ZodTypeAny, {
5
- name?: string | undefined;
6
- groupId?: string | undefined;
1
+ export declare const updateTagSchema: import("zod").ZodObject<Pick<{
2
+ id: import("zod").ZodString;
3
+ name: import("zod").ZodString;
4
+ groupId: import("zod").ZodString;
5
+ type: import("zod").ZodNativeEnum<{
6
+ PROFILE: "PROFILE";
7
+ EVENT: "EVENT";
8
+ PARTICIPANT: "PARTICIPANT";
9
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
10
+ }>;
11
+ created_at: import("zod").ZodDate;
12
+ updated_at: import("zod").ZodDate;
13
+ }, "name" | "groupId">, "strip", import("zod").ZodTypeAny, {
14
+ name: string;
15
+ groupId: string;
7
16
  }, {
8
- name?: string | undefined;
9
- groupId?: string | undefined;
17
+ name: string;
18
+ groupId: string;
10
19
  }>;
11
20
  declare const UpdateTagDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
12
- name: import("zod").ZodOptional<import("zod").ZodString>;
13
- groupId: import("zod").ZodOptional<import("zod").ZodString>;
14
- }, "strip", import("zod").ZodTypeAny, {
15
- name?: string | undefined;
16
- groupId?: string | undefined;
21
+ name: import("zod").ZodString;
22
+ groupId: import("zod").ZodString;
23
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
24
+ name: string;
25
+ groupId: string;
17
26
  }, {
18
- name?: string | undefined;
19
- groupId?: string | undefined;
27
+ name: string;
28
+ groupId: string;
20
29
  }>>;
21
30
  export declare class UpdateTagDto extends UpdateTagDto_base {
22
31
  }
@@ -57,21 +66,21 @@ declare const UpdateTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSta
57
66
  PARTICIPANT: "PARTICIPANT";
58
67
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
59
68
  }>;
60
- created_at: import("zod").ZodDate;
61
- updated_at: import("zod").ZodDate;
62
- }, "strip", import("zod").ZodTypeAny, {
69
+ created_at: import("zod").ZodString;
70
+ updated_at: import("zod").ZodString;
71
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
63
72
  id: string;
64
73
  name: string;
65
74
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
66
- created_at: Date;
67
- updated_at: Date;
75
+ created_at: string;
76
+ updated_at: string;
68
77
  groupId: string;
69
78
  }, {
70
79
  id: string;
71
80
  name: string;
72
81
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
73
- created_at: Date;
74
- updated_at: Date;
82
+ created_at: string;
83
+ updated_at: string;
75
84
  groupId: string;
76
85
  }>>;
77
86
  export declare class UpdateTagResponseDto extends UpdateTagResponseDto_base {
@@ -1,19 +1,17 @@
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/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
- exports.updateTagSchema = tag_dto_1.tagSchema
7
- .pick({
6
+ exports.updateTagSchema = tag_dto_1.tagSchema.pick({
8
7
  name: true,
9
8
  groupId: true,
10
- })
11
- .partial();
12
- class UpdateTagDto extends (0, zod_nestjs_1.createZodDto)(exports.updateTagSchema) {
9
+ });
10
+ class UpdateTagDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTagSchema) {
13
11
  }
14
12
  exports.UpdateTagDto = UpdateTagDto;
15
13
  exports.updateTagResponseSchema = tag_dto_1.tagSchema;
16
- class UpdateTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.updateTagResponseSchema) {
14
+ class UpdateTagResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTagResponseSchema) {
17
15
  }
18
16
  exports.UpdateTagResponseDto = UpdateTagResponseDto;
19
17
  //# sourceMappingURL=update-tag.dto.js.map
@@ -1,8 +1,9 @@
1
1
  export * from './dto/create-tag.dto';
2
2
  export * from './dto/delete-tag.dto';
3
3
  export * from './dto/find-all-tag.dto';
4
- export * from './dto/find-all-grouped-tag.dto';
5
4
  export * from './dto/find-by-group-tag.dto';
6
5
  export * from './dto/find-one-tag.dto';
6
+ export * from './dto/massive-allocation.dto';
7
+ export * from './dto/massive-deallocation.dto';
7
8
  export * from './dto/tag.dto';
8
9
  export * from './dto/update-tag.dto';
@@ -17,9 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto/create-tag.dto"), exports);
18
18
  __exportStar(require("./dto/delete-tag.dto"), exports);
19
19
  __exportStar(require("./dto/find-all-tag.dto"), exports);
20
- __exportStar(require("./dto/find-all-grouped-tag.dto"), exports);
21
20
  __exportStar(require("./dto/find-by-group-tag.dto"), exports);
22
21
  __exportStar(require("./dto/find-one-tag.dto"), exports);
22
+ __exportStar(require("./dto/massive-allocation.dto"), exports);
23
+ __exportStar(require("./dto/massive-deallocation.dto"), exports);
23
24
  __exportStar(require("./dto/tag.dto"), exports);
24
25
  __exportStar(require("./dto/update-tag.dto"), exports);
25
26
  //# sourceMappingURL=exports.js.map
@@ -0,0 +1,78 @@
1
+ export declare const createTagGroupSchema: import("zod").ZodObject<Pick<{
2
+ id: import("zod").ZodString;
3
+ name: import("zod").ZodString;
4
+ color: import("zod").ZodString;
5
+ isExclusive: import("zod").ZodBoolean;
6
+ created_at: import("zod").ZodDate;
7
+ updated_at: import("zod").ZodDate;
8
+ }, "name" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
9
+ name: string;
10
+ color: string;
11
+ isExclusive: boolean;
12
+ }, {
13
+ name: string;
14
+ color: string;
15
+ isExclusive: boolean;
16
+ }>;
17
+ declare const CreateTagGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
18
+ name: import("zod").ZodString;
19
+ color: import("zod").ZodString;
20
+ isExclusive: import("zod").ZodBoolean;
21
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
22
+ name: string;
23
+ color: string;
24
+ isExclusive: boolean;
25
+ }, {
26
+ name: string;
27
+ color: string;
28
+ isExclusive: boolean;
29
+ }>>;
30
+ export declare class CreateTagGroupDto extends CreateTagGroupDto_base {
31
+ }
32
+ export declare const createTagGroupResponseSchema: import("zod").ZodObject<{
33
+ id: import("zod").ZodString;
34
+ name: import("zod").ZodString;
35
+ color: import("zod").ZodString;
36
+ isExclusive: import("zod").ZodBoolean;
37
+ created_at: import("zod").ZodDate;
38
+ updated_at: import("zod").ZodDate;
39
+ }, "strip", import("zod").ZodTypeAny, {
40
+ id: string;
41
+ name: string;
42
+ color: string;
43
+ created_at: Date;
44
+ updated_at: Date;
45
+ isExclusive: boolean;
46
+ }, {
47
+ id: string;
48
+ name: string;
49
+ color: string;
50
+ created_at: Date;
51
+ updated_at: Date;
52
+ isExclusive: boolean;
53
+ }>;
54
+ declare const CreateTagGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
55
+ id: import("zod").ZodString;
56
+ name: import("zod").ZodString;
57
+ color: import("zod").ZodString;
58
+ isExclusive: import("zod").ZodBoolean;
59
+ created_at: import("zod").ZodString;
60
+ updated_at: import("zod").ZodString;
61
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
62
+ id: string;
63
+ name: string;
64
+ color: string;
65
+ created_at: string;
66
+ updated_at: string;
67
+ isExclusive: boolean;
68
+ }, {
69
+ id: string;
70
+ name: string;
71
+ color: string;
72
+ created_at: string;
73
+ updated_at: string;
74
+ isExclusive: boolean;
75
+ }>>;
76
+ export declare class CreateTagGroupResponseDto extends CreateTagGroupResponseDto_base {
77
+ }
78
+ export {};
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateTagGroupResponseDto = exports.createTagGroupResponseSchema = exports.CreateTagGroupDto = exports.createTagGroupSchema = void 0;
4
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
+ const tag_group_dto_1 = require("./tag-group.dto");
6
+ exports.createTagGroupSchema = tag_group_dto_1.tagGroupSchema.pick({
7
+ color: true,
8
+ name: true,
9
+ isExclusive: true,
10
+ });
11
+ class CreateTagGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTagGroupSchema) {
12
+ }
13
+ exports.CreateTagGroupDto = CreateTagGroupDto;
14
+ exports.createTagGroupResponseSchema = tag_group_dto_1.tagGroupSchema;
15
+ class CreateTagGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTagGroupResponseSchema) {
16
+ }
17
+ exports.CreateTagGroupResponseDto = CreateTagGroupResponseDto;
18
+ //# sourceMappingURL=create-tag-group.dto.js.map
@@ -0,0 +1,47 @@
1
+ export declare const deleteTagGroupResponseSchema: import("zod").ZodObject<{
2
+ id: import("zod").ZodString;
3
+ name: import("zod").ZodString;
4
+ color: import("zod").ZodString;
5
+ isExclusive: import("zod").ZodBoolean;
6
+ created_at: import("zod").ZodDate;
7
+ updated_at: import("zod").ZodDate;
8
+ }, "strip", import("zod").ZodTypeAny, {
9
+ id: string;
10
+ name: string;
11
+ color: string;
12
+ created_at: Date;
13
+ updated_at: Date;
14
+ isExclusive: boolean;
15
+ }, {
16
+ id: string;
17
+ name: string;
18
+ color: string;
19
+ created_at: Date;
20
+ updated_at: Date;
21
+ isExclusive: boolean;
22
+ }>;
23
+ declare const DeleteTagGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
24
+ id: import("zod").ZodString;
25
+ name: import("zod").ZodString;
26
+ color: import("zod").ZodString;
27
+ isExclusive: import("zod").ZodBoolean;
28
+ created_at: import("zod").ZodString;
29
+ updated_at: import("zod").ZodString;
30
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
31
+ id: string;
32
+ name: string;
33
+ color: string;
34
+ created_at: string;
35
+ updated_at: string;
36
+ isExclusive: boolean;
37
+ }, {
38
+ id: string;
39
+ name: string;
40
+ color: string;
41
+ created_at: string;
42
+ updated_at: string;
43
+ isExclusive: boolean;
44
+ }>>;
45
+ export declare class DeleteTagGroupResponseDto extends DeleteTagGroupResponseDto_base {
46
+ }
47
+ export {};
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteTagGroupResponseDto = exports.deleteTagGroupResponseSchema = void 0;
4
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
+ const tag_group_dto_1 = require("./tag-group.dto");
6
+ exports.deleteTagGroupResponseSchema = tag_group_dto_1.tagGroupSchema;
7
+ class DeleteTagGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteTagGroupResponseSchema) {
8
+ }
9
+ exports.DeleteTagGroupResponseDto = DeleteTagGroupResponseDto;
10
+ //# sourceMappingURL=delete-tag-group.dto.js.map
@@ -0,0 +1,207 @@
1
+ import z from 'zod';
2
+ export declare const findAllTagGroupResponseSchema: z.ZodObject<{
3
+ tagGroups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
+ id: z.ZodString;
5
+ name: z.ZodString;
6
+ color: z.ZodString;
7
+ isExclusive: z.ZodBoolean;
8
+ created_at: z.ZodDate;
9
+ updated_at: z.ZodDate;
10
+ }, {
11
+ tags: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodString;
13
+ name: z.ZodString;
14
+ groupId: z.ZodString;
15
+ type: z.ZodNativeEnum<{
16
+ PROFILE: "PROFILE";
17
+ EVENT: "EVENT";
18
+ PARTICIPANT: "PARTICIPANT";
19
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
20
+ }>;
21
+ created_at: z.ZodDate;
22
+ updated_at: z.ZodDate;
23
+ }, "strip", z.ZodTypeAny, {
24
+ id: string;
25
+ name: string;
26
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
27
+ created_at: Date;
28
+ updated_at: Date;
29
+ groupId: string;
30
+ }, {
31
+ id: string;
32
+ name: string;
33
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
34
+ created_at: Date;
35
+ updated_at: Date;
36
+ groupId: string;
37
+ }>, "many">;
38
+ }>, "strip", z.ZodTypeAny, {
39
+ id: string;
40
+ name: string;
41
+ color: string;
42
+ created_at: Date;
43
+ updated_at: Date;
44
+ isExclusive: boolean;
45
+ tags: {
46
+ id: string;
47
+ name: string;
48
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
49
+ created_at: Date;
50
+ updated_at: Date;
51
+ groupId: string;
52
+ }[];
53
+ }, {
54
+ id: string;
55
+ name: string;
56
+ color: string;
57
+ created_at: Date;
58
+ updated_at: Date;
59
+ isExclusive: boolean;
60
+ tags: {
61
+ id: string;
62
+ name: string;
63
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
64
+ created_at: Date;
65
+ updated_at: Date;
66
+ groupId: string;
67
+ }[];
68
+ }>, "many">;
69
+ }, "strip", z.ZodTypeAny, {
70
+ tagGroups: {
71
+ id: string;
72
+ name: string;
73
+ color: string;
74
+ created_at: Date;
75
+ updated_at: Date;
76
+ isExclusive: boolean;
77
+ tags: {
78
+ id: string;
79
+ name: string;
80
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
81
+ created_at: Date;
82
+ updated_at: Date;
83
+ groupId: string;
84
+ }[];
85
+ }[];
86
+ }, {
87
+ tagGroups: {
88
+ id: string;
89
+ name: string;
90
+ color: string;
91
+ created_at: Date;
92
+ updated_at: Date;
93
+ isExclusive: boolean;
94
+ tags: {
95
+ id: string;
96
+ name: string;
97
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
98
+ created_at: Date;
99
+ updated_at: Date;
100
+ groupId: string;
101
+ }[];
102
+ }[];
103
+ }>;
104
+ declare const FindAllTagGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
105
+ tagGroups: z.ZodArray<z.ZodObject<{
106
+ id: z.ZodString;
107
+ name: z.ZodString;
108
+ color: z.ZodString;
109
+ isExclusive: z.ZodBoolean;
110
+ created_at: z.ZodString;
111
+ updated_at: z.ZodString;
112
+ tags: z.ZodArray<z.ZodObject<{
113
+ id: z.ZodString;
114
+ name: z.ZodString;
115
+ groupId: z.ZodString;
116
+ type: z.ZodNativeEnum<{
117
+ PROFILE: "PROFILE";
118
+ EVENT: "EVENT";
119
+ PARTICIPANT: "PARTICIPANT";
120
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
121
+ }>;
122
+ created_at: z.ZodString;
123
+ updated_at: z.ZodString;
124
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
125
+ id: string;
126
+ name: string;
127
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
128
+ created_at: string;
129
+ updated_at: string;
130
+ groupId: string;
131
+ }, {
132
+ id: string;
133
+ name: string;
134
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
135
+ created_at: string;
136
+ updated_at: string;
137
+ groupId: string;
138
+ }>, "many">;
139
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
140
+ id: string;
141
+ name: string;
142
+ color: string;
143
+ created_at: string;
144
+ updated_at: string;
145
+ isExclusive: boolean;
146
+ tags: {
147
+ id: string;
148
+ name: string;
149
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
150
+ created_at: string;
151
+ updated_at: string;
152
+ groupId: string;
153
+ }[];
154
+ }, {
155
+ id: string;
156
+ name: string;
157
+ color: string;
158
+ created_at: string;
159
+ updated_at: string;
160
+ isExclusive: boolean;
161
+ tags: {
162
+ id: string;
163
+ name: string;
164
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
165
+ created_at: string;
166
+ updated_at: string;
167
+ groupId: string;
168
+ }[];
169
+ }>, "many">;
170
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
171
+ tagGroups: {
172
+ id: string;
173
+ name: string;
174
+ color: string;
175
+ created_at: string;
176
+ updated_at: string;
177
+ isExclusive: boolean;
178
+ tags: {
179
+ id: string;
180
+ name: string;
181
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
182
+ created_at: string;
183
+ updated_at: string;
184
+ groupId: string;
185
+ }[];
186
+ }[];
187
+ }, {
188
+ tagGroups: {
189
+ id: string;
190
+ name: string;
191
+ color: string;
192
+ created_at: string;
193
+ updated_at: string;
194
+ isExclusive: boolean;
195
+ tags: {
196
+ id: string;
197
+ name: string;
198
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
199
+ created_at: string;
200
+ updated_at: string;
201
+ groupId: string;
202
+ }[];
203
+ }[];
204
+ }>>;
205
+ export declare class FindAllTagGroupResponseDto extends FindAllTagGroupResponseDto_base {
206
+ }
207
+ export {};
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FindAllTagGroupResponseDto = exports.findAllTagGroupResponseSchema = void 0;
7
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
+ const tag_group_dto_1 = require("./tag-group.dto");
9
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ exports.findAllTagGroupResponseSchema = zod_1.default.object({
12
+ tagGroups: zod_1.default.array(tag_group_dto_1.tagGroupSchema.merge(zod_1.default.object({
13
+ tags: zod_1.default.array(tag_dto_1.tagSchema),
14
+ }))),
15
+ });
16
+ class FindAllTagGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllTagGroupResponseSchema) {
17
+ }
18
+ exports.FindAllTagGroupResponseDto = FindAllTagGroupResponseDto;
19
+ //# sourceMappingURL=find-all-tag-group.dto.js.map