expo-backend-types 0.4.0-EXPO-248-EB-GrupoEtiqueta.7 → 0.4.0-EXPO-248-EB-GrupoEtiqueta.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -139,9 +139,6 @@ declare const _default: {
139
139
  readonly success: "Etiquetas obtenidas";
140
140
  readonly 'not-found': "Grupo de etiquetas no encontrado";
141
141
  };
142
- readonly 'find-all-grouped': {
143
- readonly success: "Etiquetas obtenidas";
144
- };
145
142
  };
146
143
  readonly 'tag-group': {
147
144
  readonly create: {
@@ -150,6 +147,9 @@ declare const _default: {
150
147
  readonly 'find-all': {
151
148
  readonly success: "Grupos de etiquetas obtenidos";
152
149
  };
150
+ readonly 'find-all-with-tags': {
151
+ readonly success: "Etiquetas obtenidas";
152
+ };
153
153
  readonly 'find-one': {
154
154
  readonly success: "Grupo de etiquetas obtenido";
155
155
  readonly 'not-found': "Grupo de etiquetas no encontrado";
@@ -141,9 +141,6 @@ exports.default = {
141
141
  success: 'Etiquetas obtenidas',
142
142
  'not-found': 'Grupo de etiquetas no encontrado',
143
143
  },
144
- 'find-all-grouped': {
145
- success: 'Etiquetas obtenidas',
146
- },
147
144
  },
148
145
  'tag-group': {
149
146
  create: {
@@ -152,6 +149,9 @@ exports.default = {
152
149
  'find-all': {
153
150
  success: 'Grupos de etiquetas obtenidos',
154
151
  },
152
+ 'find-all-with-tags': {
153
+ success: 'Etiquetas obtenidas',
154
+ },
155
155
  'find-one': {
156
156
  success: 'Grupo de etiquetas obtenido',
157
157
  'not-found': 'Grupo de etiquetas no encontrado',
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,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E,EAAE;gBACF,OAAO,EAAE,iBAAiB;aAC3B;SACF;QACD,GAAG,EAAE;YACH,MAAM,EAAE;gBACN,OAAO,EAAE,2BAA2B;aACrC;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,qBAAqB;aAC/B;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,mBAAmB;gBAC5B,WAAW,EAAE,wBAAwB;aACtC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,sBAAsB;gBAC/B,WAAW,EAAE,wBAAwB;aACtC;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,oBAAoB;gBAC7B,WAAW,EAAE,wBAAwB;aACtC;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,qBAAqB;gBAC9B,WAAW,EAAE,kCAAkC;aAChD;SACF;QACD,WAAW,EAAE;YACX,MAAM,EAAE;gBACN,OAAO,EAAE,qCAAqC;aAC/C;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,+BAA+B;aACzC;YACD,oBAAoB,EAAE;gBACpB,OAAO,EAAE,qBAAqB;aAC/B;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,gCAAgC;gBACzC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,kCAAkC;aAChD;SACF;KACF;CACO,CAAC"}
@@ -1,7 +1,6 @@
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';
7
6
  export * from './dto/tag.dto';
@@ -17,7 +17,6 @@ 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);
23
22
  __exportStar(require("./dto/tag.dto"), exports);
@@ -1,5 +1,5 @@
1
1
  import z from 'zod';
2
- export declare const findAllGroupedTagResponseSchema: z.ZodObject<{
2
+ export declare const findAllWithTagsResponseSchema: z.ZodObject<{
3
3
  groups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
@@ -138,7 +138,7 @@ export declare const findAllGroupedTagResponseSchema: z.ZodObject<{
138
138
  };
139
139
  }[];
140
140
  }>;
141
- declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
141
+ declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
142
142
  groups: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
143
143
  id: z.ZodString;
144
144
  name: z.ZodString;
@@ -277,6 +277,6 @@ declare const FindAllGroupedTagResponseDto_base: import("@anatine/zod-nestjs").Z
277
277
  };
278
278
  }[];
279
279
  }>>;
280
- export declare class FindAllGroupedTagResponseDto extends FindAllGroupedTagResponseDto_base {
280
+ export declare class FindAllWithTagsResponseDto extends FindAllWithTagsResponseDto_base {
281
281
  }
282
282
  export {};
@@ -3,12 +3,12 @@ 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.FindAllGroupedTagResponseDto = exports.findAllGroupedTagResponseSchema = void 0;
7
- const tag_dto_1 = require("./tag.dto");
8
- const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
6
+ exports.FindAllWithTagsResponseDto = exports.findAllWithTagsResponseSchema = void 0;
7
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
8
+ const tag_group_dto_1 = require("./tag-group.dto");
9
9
  const zod_nestjs_1 = require("@anatine/zod-nestjs");
10
10
  const zod_1 = __importDefault(require("zod"));
11
- exports.findAllGroupedTagResponseSchema = zod_1.default.object({
11
+ exports.findAllWithTagsResponseSchema = zod_1.default.object({
12
12
  groups: zod_1.default.array(tag_group_dto_1.tagGroupSchema
13
13
  .pick({
14
14
  id: true,
@@ -27,7 +27,7 @@ exports.findAllGroupedTagResponseSchema = zod_1.default.object({
27
27
  }),
28
28
  }))),
29
29
  });
30
- class FindAllGroupedTagResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.findAllGroupedTagResponseSchema) {
30
+ class FindAllWithTagsResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.findAllWithTagsResponseSchema) {
31
31
  }
32
- exports.FindAllGroupedTagResponseDto = FindAllGroupedTagResponseDto;
33
- //# sourceMappingURL=find-all-grouped-tag.dto.js.map
32
+ exports.FindAllWithTagsResponseDto = FindAllWithTagsResponseDto;
33
+ //# sourceMappingURL=find-all-with-tags.dto.js.map
@@ -1,6 +1,7 @@
1
1
  export * from './dto/create-tag-group.dto';
2
2
  export * from './dto/delete-tag-group.dto';
3
3
  export * from './dto/find-all-tag-group.dto';
4
+ export * from './dto/find-all-with-tags.dto';
4
5
  export * from './dto/find-one-tag-group.dto';
5
6
  export * from './dto/tag-group.dto';
6
7
  export * from './dto/update-tag-group.dto';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto/create-tag-group.dto"), exports);
18
18
  __exportStar(require("./dto/delete-tag-group.dto"), exports);
19
19
  __exportStar(require("./dto/find-all-tag-group.dto"), exports);
20
+ __exportStar(require("./dto/find-all-with-tags.dto"), exports);
20
21
  __exportStar(require("./dto/find-one-tag-group.dto"), exports);
21
22
  __exportStar(require("./dto/tag-group.dto"), exports);
22
23
  __exportStar(require("./dto/update-tag-group.dto"), exports);
@@ -63,22 +63,6 @@ export interface paths {
63
63
  patch?: never;
64
64
  trace?: never;
65
65
  };
66
- "/tag/all-grouped": {
67
- parameters: {
68
- query?: never;
69
- header?: never;
70
- path?: never;
71
- cookie?: never;
72
- };
73
- get: operations["TagController_findAllGrouped"];
74
- put?: never;
75
- post?: never;
76
- delete?: never;
77
- options?: never;
78
- head?: never;
79
- patch?: never;
80
- trace?: never;
81
- };
82
66
  "/tag/find-by-group/{groupId}": {
83
67
  parameters: {
84
68
  query?: never;
@@ -191,6 +175,22 @@ export interface paths {
191
175
  patch?: never;
192
176
  trace?: never;
193
177
  };
178
+ "/tag-group/all-with-tags": {
179
+ parameters: {
180
+ query?: never;
181
+ header?: never;
182
+ path?: never;
183
+ cookie?: never;
184
+ };
185
+ get: operations["TagGroupController_findAllGrouped"];
186
+ put?: never;
187
+ post?: never;
188
+ delete?: never;
189
+ options?: never;
190
+ head?: never;
191
+ patch?: never;
192
+ trace?: never;
193
+ };
194
194
  "/tag-group/{id}": {
195
195
  parameters: {
196
196
  query?: never;
@@ -258,28 +258,6 @@ export interface components {
258
258
  };
259
259
  }[];
260
260
  };
261
- FindAllGroupedTagResponseDto: {
262
- groups: {
263
- id: string;
264
- name: string;
265
- isExclusive: boolean;
266
- color: string;
267
- tags: {
268
- id: string;
269
- name: string;
270
- groupId: string;
271
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
272
- created_at: string;
273
- updated_at: string;
274
- _count: {
275
- profiles: number;
276
- };
277
- }[];
278
- _count: {
279
- tags: number;
280
- };
281
- }[];
282
- };
283
261
  FindByGroupTagResponseDto: {
284
262
  tags: {
285
263
  id: string;
@@ -439,6 +417,28 @@ export interface components {
439
417
  }[];
440
418
  }[];
441
419
  };
420
+ FindAllWithTagsResponseDto: {
421
+ groups: {
422
+ id: string;
423
+ name: string;
424
+ isExclusive: boolean;
425
+ color: string;
426
+ tags: {
427
+ id: string;
428
+ name: string;
429
+ groupId: string;
430
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
431
+ created_at: string;
432
+ updated_at: string;
433
+ _count: {
434
+ profiles: number;
435
+ };
436
+ }[];
437
+ _count: {
438
+ tags: number;
439
+ };
440
+ }[];
441
+ };
442
442
  FindOneTagGroupResponseDto: {
443
443
  id: string;
444
444
  name: string;
@@ -567,25 +567,6 @@ export interface operations {
567
567
  };
568
568
  };
569
569
  };
570
- TagController_findAllGrouped: {
571
- parameters: {
572
- query?: never;
573
- header?: never;
574
- path?: never;
575
- cookie?: never;
576
- };
577
- requestBody?: never;
578
- responses: {
579
- 200: {
580
- headers: {
581
- [name: string]: unknown;
582
- };
583
- content: {
584
- "application/json": components["schemas"]["FindAllGroupedTagResponseDto"];
585
- };
586
- };
587
- };
588
- };
589
570
  TagController_findByGroup: {
590
571
  parameters: {
591
572
  query?: never;
@@ -824,6 +805,25 @@ export interface operations {
824
805
  };
825
806
  };
826
807
  };
808
+ TagGroupController_findAllGrouped: {
809
+ parameters: {
810
+ query?: never;
811
+ header?: never;
812
+ path?: never;
813
+ cookie?: never;
814
+ };
815
+ requestBody?: never;
816
+ responses: {
817
+ 200: {
818
+ headers: {
819
+ [name: string]: unknown;
820
+ };
821
+ content: {
822
+ "application/json": components["schemas"]["FindAllWithTagsResponseDto"];
823
+ };
824
+ };
825
+ };
826
+ };
827
827
  TagGroupController_findById: {
828
828
  parameters: {
829
829
  query?: never;
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.7",
3
+ "version": "0.4.0-EXPO-248-EB-GrupoEtiqueta.8",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,