expo-backend-types 0.22.0-EXPO-288-EB-Imagenes.1 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/dist/src/csv/dto/csv.dto.d.ts +18 -0
  3. package/dist/src/csv/dto/csv.dto.js +17 -0
  4. package/dist/src/csv/dto/download-all-tables.dto.d.ts +23 -0
  5. package/dist/src/csv/dto/download-all-tables.dto.js +19 -0
  6. package/dist/src/csv/dto/download-profiles.dto.d.ts +18 -0
  7. package/dist/src/csv/dto/download-profiles.dto.js +15 -0
  8. package/dist/src/csv/exports.d.ts +3 -0
  9. package/dist/src/{image → csv}/exports.js +3 -3
  10. package/dist/src/event/dto/event.dto.js +1 -1
  11. package/dist/src/event/dto/get-all-event.dto.d.ts +160 -160
  12. package/dist/src/event/dto/get-by-id-event.dto.d.ts +48 -48
  13. package/dist/src/event/dto/update-event.dto.d.ts +20 -20
  14. package/dist/src/i18n/es.d.ts +18 -20
  15. package/dist/src/i18n/es.js +18 -20
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/src/location/dto/find-all-location.dto.d.ts +16 -16
  18. package/dist/src/message/dto/message.dto.d.ts +2 -2
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +86 -86
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +124 -124
  21. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +52 -52
  22. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +64 -64
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +84 -84
  24. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +72 -72
  25. package/dist/src/profile/dto/update-profile.dto.d.ts +4 -4
  26. package/dist/types/prisma-schema/default.d.ts +1 -1
  27. package/dist/types/prisma-schema/edge.d.ts +1 -1
  28. package/dist/types/prisma-schema/edge.js +7 -11
  29. package/dist/types/prisma-schema/index-browser.js +4 -7
  30. package/dist/types/prisma-schema/index.d.ts +1036 -805
  31. package/dist/types/prisma-schema/index.js +7 -11
  32. package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  33. package/dist/types/prisma-schema/package.json +1 -14
  34. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -21
  35. package/dist/types/prisma-schema/runtime/edge.js +18 -21
  36. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  37. package/dist/types/prisma-schema/runtime/library.d.ts +87 -297
  38. package/dist/types/prisma-schema/runtime/library.js +61 -64
  39. package/dist/types/prisma-schema/runtime/react-native.js +28 -31
  40. package/dist/types/prisma-schema/runtime/wasm.js +19 -22
  41. package/dist/types/prisma-schema/wasm.d.ts +1 -1
  42. package/dist/types/prisma-schema/wasm.js +4 -7
  43. package/dist/types/schema.d.ts +32 -42
  44. package/package.json +7 -5
  45. package/dist/src/image/dto/delete-image.dto.d.ts +0 -18
  46. package/dist/src/image/dto/delete-image.dto.js +0 -12
  47. package/dist/src/image/dto/image.dto.d.ts +0 -24
  48. package/dist/src/image/dto/image.dto.js +0 -18
  49. package/dist/src/image/dto/update-image.dto.d.ts +0 -18
  50. package/dist/src/image/dto/update-image.dto.js +0 -15
  51. package/dist/src/image/exports.d.ts +0 -3
@@ -1 +1 @@
1
- export * from "./index"
1
+ export * from './index'
@@ -7,7 +7,6 @@ const {
7
7
  makeStrictEnum,
8
8
  Public,
9
9
  getRuntime,
10
- skip
11
10
  } = require('./runtime/index-browser.js')
12
11
 
13
12
 
@@ -17,12 +16,12 @@ exports.Prisma = Prisma
17
16
  exports.$Enums = {}
18
17
 
19
18
  /**
20
- * Prisma Client JS version: 5.22.0
21
- * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
19
+ * Prisma Client JS version: 5.14.0
20
+ * Query Engine version: e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
22
21
  */
23
22
  Prisma.prismaVersion = {
24
- client: "5.22.0",
25
- engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
23
+ client: "5.14.0",
24
+ engine: "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48"
26
25
  }
27
26
 
28
27
  Prisma.PrismaClientKnownRequestError = () => {
@@ -109,8 +108,6 @@ Prisma.NullTypes = {
109
108
  AnyNull: objectEnumValues.classes.AnyNull
110
109
  }
111
110
 
112
-
113
-
114
111
  /**
115
112
  * Enums
116
113
  */
@@ -703,33 +703,33 @@ export interface paths {
703
703
  patch: operations["ProfileController_update"];
704
704
  trace?: never;
705
705
  };
706
- "/image/update/{id}": {
706
+ "/csv/download-profiles": {
707
707
  parameters: {
708
708
  query?: never;
709
709
  header?: never;
710
710
  path?: never;
711
711
  cookie?: never;
712
712
  };
713
- get?: never;
713
+ get: operations["CsvController_downloadProfiles"];
714
714
  put?: never;
715
715
  post?: never;
716
716
  delete?: never;
717
717
  options?: never;
718
718
  head?: never;
719
- patch: operations["ImageController_updateImage"];
719
+ patch?: never;
720
720
  trace?: never;
721
721
  };
722
- "/image/delete/{id}": {
722
+ "/csv/download-all-tables": {
723
723
  parameters: {
724
724
  query?: never;
725
725
  header?: never;
726
726
  path?: never;
727
727
  cookie?: never;
728
728
  };
729
- get?: never;
729
+ get: operations["CsvController_downloadAllTables"];
730
730
  put?: never;
731
731
  post?: never;
732
- delete: operations["ImageController_deleteImage"];
732
+ delete?: never;
733
733
  options?: never;
734
734
  head?: never;
735
735
  patch?: never;
@@ -1837,12 +1837,14 @@ export interface components {
1837
1837
  };
1838
1838
  tags?: string[];
1839
1839
  };
1840
- UpdateImageResponseDto: {
1841
- message: string;
1840
+ DownloadProfilesDto: {
1841
+ password: string;
1842
1842
  };
1843
- DeleteImageResponseDto: {
1844
- message: string;
1843
+ StreamableFile: Record<string, never>;
1844
+ DownloadAllTablesDto: {
1845
+ password: string;
1845
1846
  };
1847
+ Buffer: Record<string, never>;
1846
1848
  };
1847
1849
  responses: never;
1848
1850
  parameters: never;
@@ -3272,25 +3274,19 @@ export interface operations {
3272
3274
  };
3273
3275
  };
3274
3276
  };
3275
- ImageController_updateImage: {
3277
+ CsvController_downloadProfiles: {
3276
3278
  parameters: {
3277
3279
  query?: never;
3278
3280
  header?: never;
3279
- path: {
3280
- id: string;
3281
- };
3281
+ path?: never;
3282
3282
  cookie?: never;
3283
3283
  };
3284
- requestBody?: never;
3285
- responses: {
3286
- 200: {
3287
- headers: {
3288
- [name: string]: unknown;
3289
- };
3290
- content: {
3291
- "application/json": components["schemas"]["UpdateImageResponseDto"];
3292
- };
3284
+ requestBody: {
3285
+ content: {
3286
+ "application/json": components["schemas"]["DownloadProfilesDto"];
3293
3287
  };
3288
+ };
3289
+ responses: {
3294
3290
  409: {
3295
3291
  headers: {
3296
3292
  [name: string]: unknown;
@@ -3299,7 +3295,7 @@ export interface operations {
3299
3295
  "application/json": components["schemas"]["ErrorDto"];
3300
3296
  };
3301
3297
  };
3302
- 422: {
3298
+ 500: {
3303
3299
  headers: {
3304
3300
  [name: string]: unknown;
3305
3301
  };
@@ -3307,36 +3303,30 @@ export interface operations {
3307
3303
  "application/json": components["schemas"]["ErrorDto"];
3308
3304
  };
3309
3305
  };
3310
- 500: {
3306
+ default: {
3311
3307
  headers: {
3312
3308
  [name: string]: unknown;
3313
3309
  };
3314
3310
  content: {
3315
- "application/json": components["schemas"]["ErrorDto"];
3311
+ "application/json": components["schemas"]["StreamableFile"];
3316
3312
  };
3317
3313
  };
3318
3314
  };
3319
3315
  };
3320
- ImageController_deleteImage: {
3316
+ CsvController_downloadAllTables: {
3321
3317
  parameters: {
3322
3318
  query?: never;
3323
3319
  header?: never;
3324
- path: {
3325
- id: string;
3326
- };
3320
+ path?: never;
3327
3321
  cookie?: never;
3328
3322
  };
3329
- requestBody?: never;
3330
- responses: {
3331
- 200: {
3332
- headers: {
3333
- [name: string]: unknown;
3334
- };
3335
- content: {
3336
- "application/json": components["schemas"]["DeleteImageResponseDto"];
3337
- };
3323
+ requestBody: {
3324
+ content: {
3325
+ "application/json": components["schemas"]["DownloadAllTablesDto"];
3338
3326
  };
3339
- 404: {
3327
+ };
3328
+ responses: {
3329
+ 409: {
3340
3330
  headers: {
3341
3331
  [name: string]: unknown;
3342
3332
  };
@@ -3344,12 +3334,12 @@ export interface operations {
3344
3334
  "application/json": components["schemas"]["ErrorDto"];
3345
3335
  };
3346
3336
  };
3347
- 500: {
3337
+ default: {
3348
3338
  headers: {
3349
3339
  [name: string]: unknown;
3350
3340
  };
3351
3341
  content: {
3352
- "application/json": components["schemas"]["ErrorDto"];
3342
+ "application/json": components["schemas"]["Buffer"];
3353
3343
  };
3354
3344
  };
3355
3345
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.22.0-EXPO-288-EB-Imagenes.1",
3
+ "version": "0.22.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -44,15 +44,18 @@
44
44
  "@nestjs/jwt": "^10.2.0",
45
45
  "@nestjs/platform-express": "^10.0.0",
46
46
  "@nestjs/swagger": "^7.3.1",
47
- "@prisma/client": "^5.22.0",
47
+ "@prisma/client": "^5.14.0",
48
48
  "bcrypt": "^5.1.1",
49
49
  "class-transformer": "^0.5.1",
50
50
  "class-validator": "^0.14.1",
51
51
  "country-state-city": "^3.2.1",
52
52
  "date-fns": "^4.1.0",
53
+ "exceljs": "^4.4.0",
54
+ "fast-csv": "^5.0.2",
53
55
  "i18n-js": "^4.4.3",
54
56
  "json-to-pretty-yaml": "^1.2.2",
55
- "multer": "^1.4.5-lts.1",
57
+ "jszip": "^3.10.1",
58
+ "openapi3-ts": "^4.4.0",
56
59
  "patch-package": "^8.0.0",
57
60
  "reflect-metadata": "^0.2.0",
58
61
  "string-comparison": "^1.3.0",
@@ -70,7 +73,6 @@
70
73
  "@types/jest": "^29.5.2",
71
74
  "@types/json-to-pretty-yaml": "^1.2.1",
72
75
  "@types/luxon": "^3.4.2",
73
- "@types/multer": "^1.4.12",
74
76
  "@types/node": "^20.3.1",
75
77
  "@types/supertest": "^6.0.0",
76
78
  "@typescript-eslint/eslint-plugin": "^8.8.0",
@@ -86,7 +88,7 @@
86
88
  "luxon": "^3.5.0",
87
89
  "openapi-typescript": "^7.0.0-rc.0",
88
90
  "prettier": "^3.0.0",
89
- "prisma": "^5.22.0",
91
+ "prisma": "^5.14.0",
90
92
  "source-map-support": "^0.5.21",
91
93
  "supertest": "^6.3.3",
92
94
  "ts-jest": "^29.1.0",
@@ -1,18 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const deleteImageResponseSchema: z.ZodObject<{
3
- message: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- message: string;
6
- }, {
7
- message: string;
8
- }>;
9
- declare const DeleteImageResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
- message: z.ZodString;
11
- }, z.UnknownKeysParam, z.ZodTypeAny, {
12
- message: string;
13
- }, {
14
- message: string;
15
- }>>;
16
- export declare class DeleteImageResponseDto extends DeleteImageResponseDto_base {
17
- }
18
- export {};
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteImageResponseDto = exports.deleteImageResponseSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const zod_1 = require("zod");
6
- exports.deleteImageResponseSchema = zod_1.z.object({
7
- message: zod_1.z.string(),
8
- });
9
- class DeleteImageResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteImageResponseSchema) {
10
- }
11
- exports.DeleteImageResponseDto = DeleteImageResponseDto;
12
- //# sourceMappingURL=delete-image.dto.js.map
@@ -1,24 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const imageSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- url: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- id: string;
7
- url: string;
8
- }, {
9
- id: string;
10
- url: string;
11
- }>;
12
- declare const ImageDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
13
- id: z.ZodString;
14
- url: z.ZodString;
15
- }, z.UnknownKeysParam, z.ZodTypeAny, {
16
- id: string;
17
- url: string;
18
- }, {
19
- id: string;
20
- url: string;
21
- }>>;
22
- export declare class ImageDto extends ImageDto_base {
23
- }
24
- export {};
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageDto = exports.imageSchema = 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.imageSchema = zod_1.z.object({
8
- id: zod_1.z.string().uuid({
9
- message: (0, translate_1.translate)('model.image.id.uuid'),
10
- }),
11
- url: zod_1.z.string().url({
12
- message: (0, translate_1.translate)('model.image.url.url'),
13
- }),
14
- });
15
- class ImageDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.imageSchema) {
16
- }
17
- exports.ImageDto = ImageDto;
18
- //# sourceMappingURL=image.dto.js.map
@@ -1,18 +0,0 @@
1
- import z from 'zod';
2
- export declare const updateImageResponseSchema: z.ZodObject<{
3
- message: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- message: string;
6
- }, {
7
- message: string;
8
- }>;
9
- declare const UpdateImageResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
- message: z.ZodString;
11
- }, z.UnknownKeysParam, z.ZodTypeAny, {
12
- message: string;
13
- }, {
14
- message: string;
15
- }>>;
16
- export declare class UpdateImageResponseDto extends UpdateImageResponseDto_base {
17
- }
18
- export {};
@@ -1,15 +0,0 @@
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.UpdateImageResponseDto = exports.updateImageResponseSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const zod_1 = __importDefault(require("zod"));
9
- exports.updateImageResponseSchema = zod_1.default.object({
10
- message: zod_1.default.string(),
11
- });
12
- class UpdateImageResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateImageResponseSchema) {
13
- }
14
- exports.UpdateImageResponseDto = UpdateImageResponseDto;
15
- //# sourceMappingURL=update-image.dto.js.map
@@ -1,3 +0,0 @@
1
- export * from './dto/delete-image.dto';
2
- export * from './dto/image.dto';
3
- export * from './dto/update-image.dto';