expo-backend-types 0.24.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/src/i18n/es.d.ts +24 -0
  2. package/dist/src/i18n/es.js +24 -0
  3. package/dist/src/i18n/es.js.map +1 -1
  4. package/dist/src/image/dto/delete-image.dto.d.ts +18 -0
  5. package/dist/src/image/dto/delete-image.dto.js +12 -0
  6. package/dist/src/image/dto/image.dto.d.ts +24 -0
  7. package/dist/src/image/dto/image.dto.js +18 -0
  8. package/dist/src/image/dto/update-image.dto.d.ts +18 -0
  9. package/dist/src/image/dto/update-image.dto.js +15 -0
  10. package/dist/src/image/exports.d.ts +3 -0
  11. package/dist/src/image/exports.js +20 -0
  12. package/dist/types/prisma-schema/default.d.ts +1 -1
  13. package/dist/types/prisma-schema/edge.d.ts +1 -1
  14. package/dist/types/prisma-schema/edge.js +11 -7
  15. package/dist/types/prisma-schema/index-browser.js +7 -4
  16. package/dist/types/prisma-schema/index.d.ts +803 -1034
  17. package/dist/types/prisma-schema/index.js +11 -7
  18. package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  19. package/dist/types/prisma-schema/package.json +14 -1
  20. package/dist/types/prisma-schema/runtime/edge-esm.js +21 -18
  21. package/dist/types/prisma-schema/runtime/edge.js +21 -18
  22. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  23. package/dist/types/prisma-schema/runtime/library.d.ts +297 -87
  24. package/dist/types/prisma-schema/runtime/library.js +64 -61
  25. package/dist/types/prisma-schema/runtime/react-native.js +31 -28
  26. package/dist/types/prisma-schema/runtime/wasm.js +22 -19
  27. package/dist/types/prisma-schema/wasm.d.ts +1 -1
  28. package/dist/types/prisma-schema/wasm.js +7 -4
  29. package/dist/types/schema.d.ts +120 -0
  30. package/package.json +5 -3
@@ -1 +1 @@
1
- export * from './index'
1
+ export * from "./index"
@@ -7,6 +7,7 @@ const {
7
7
  makeStrictEnum,
8
8
  Public,
9
9
  getRuntime,
10
+ skip
10
11
  } = require('./runtime/index-browser.js')
11
12
 
12
13
 
@@ -16,12 +17,12 @@ exports.Prisma = Prisma
16
17
  exports.$Enums = {}
17
18
 
18
19
  /**
19
- * Prisma Client JS version: 5.14.0
20
- * Query Engine version: e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
20
+ * Prisma Client JS version: 5.22.0
21
+ * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
21
22
  */
22
23
  Prisma.prismaVersion = {
23
- client: "5.14.0",
24
- engine: "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48"
24
+ client: "5.22.0",
25
+ engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
25
26
  }
26
27
 
27
28
  Prisma.PrismaClientKnownRequestError = () => {
@@ -108,6 +109,8 @@ Prisma.NullTypes = {
108
109
  AnyNull: objectEnumValues.classes.AnyNull
109
110
  }
110
111
 
112
+
113
+
111
114
  /**
112
115
  * Enums
113
116
  */
@@ -703,6 +703,38 @@ export interface paths {
703
703
  patch: operations["ProfileController_update"];
704
704
  trace?: never;
705
705
  };
706
+ "/image/update/{id}": {
707
+ parameters: {
708
+ query?: never;
709
+ header?: never;
710
+ path?: never;
711
+ cookie?: never;
712
+ };
713
+ get?: never;
714
+ put?: never;
715
+ post?: never;
716
+ delete?: never;
717
+ options?: never;
718
+ head?: never;
719
+ patch: operations["ImageController_updateImage"];
720
+ trace?: never;
721
+ };
722
+ "/image/delete/{id}": {
723
+ parameters: {
724
+ query?: never;
725
+ header?: never;
726
+ path?: never;
727
+ cookie?: never;
728
+ };
729
+ get?: never;
730
+ put?: never;
731
+ post?: never;
732
+ delete: operations["ImageController_deleteImage"];
733
+ options?: never;
734
+ head?: never;
735
+ patch?: never;
736
+ trace?: never;
737
+ };
706
738
  "/csv/download-profiles": {
707
739
  parameters: {
708
740
  query?: never;
@@ -1837,6 +1869,12 @@ export interface components {
1837
1869
  };
1838
1870
  tags?: string[];
1839
1871
  };
1872
+ UpdateImageResponseDto: {
1873
+ message: string;
1874
+ };
1875
+ DeleteImageResponseDto: {
1876
+ message: string;
1877
+ };
1840
1878
  DownloadProfilesDto: {
1841
1879
  password: string;
1842
1880
  };
@@ -3274,6 +3312,88 @@ export interface operations {
3274
3312
  };
3275
3313
  };
3276
3314
  };
3315
+ ImageController_updateImage: {
3316
+ parameters: {
3317
+ query?: never;
3318
+ header?: never;
3319
+ path: {
3320
+ id: string;
3321
+ };
3322
+ cookie?: never;
3323
+ };
3324
+ requestBody?: never;
3325
+ responses: {
3326
+ 200: {
3327
+ headers: {
3328
+ [name: string]: unknown;
3329
+ };
3330
+ content: {
3331
+ "application/json": components["schemas"]["UpdateImageResponseDto"];
3332
+ };
3333
+ };
3334
+ 409: {
3335
+ headers: {
3336
+ [name: string]: unknown;
3337
+ };
3338
+ content: {
3339
+ "application/json": components["schemas"]["ErrorDto"];
3340
+ };
3341
+ };
3342
+ 422: {
3343
+ headers: {
3344
+ [name: string]: unknown;
3345
+ };
3346
+ content: {
3347
+ "application/json": components["schemas"]["ErrorDto"];
3348
+ };
3349
+ };
3350
+ 500: {
3351
+ headers: {
3352
+ [name: string]: unknown;
3353
+ };
3354
+ content: {
3355
+ "application/json": components["schemas"]["ErrorDto"];
3356
+ };
3357
+ };
3358
+ };
3359
+ };
3360
+ ImageController_deleteImage: {
3361
+ parameters: {
3362
+ query?: never;
3363
+ header?: never;
3364
+ path: {
3365
+ id: string;
3366
+ };
3367
+ cookie?: never;
3368
+ };
3369
+ requestBody?: never;
3370
+ responses: {
3371
+ 200: {
3372
+ headers: {
3373
+ [name: string]: unknown;
3374
+ };
3375
+ content: {
3376
+ "application/json": components["schemas"]["DeleteImageResponseDto"];
3377
+ };
3378
+ };
3379
+ 404: {
3380
+ headers: {
3381
+ [name: string]: unknown;
3382
+ };
3383
+ content: {
3384
+ "application/json": components["schemas"]["ErrorDto"];
3385
+ };
3386
+ };
3387
+ 500: {
3388
+ headers: {
3389
+ [name: string]: unknown;
3390
+ };
3391
+ content: {
3392
+ "application/json": components["schemas"]["ErrorDto"];
3393
+ };
3394
+ };
3395
+ };
3396
+ };
3277
3397
  CsvController_downloadProfiles: {
3278
3398
  parameters: {
3279
3399
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -44,7 +44,7 @@
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.14.0",
47
+ "@prisma/client": "^5.22.0",
48
48
  "bcrypt": "^5.1.1",
49
49
  "class-transformer": "^0.5.1",
50
50
  "class-validator": "^0.14.1",
@@ -54,6 +54,7 @@
54
54
  "fast-csv": "^5.0.2",
55
55
  "i18n-js": "^4.4.3",
56
56
  "json-to-pretty-yaml": "^1.2.2",
57
+ "multer": "^1.4.5-lts.1",
57
58
  "jszip": "^3.10.1",
58
59
  "openapi3-ts": "^4.4.0",
59
60
  "patch-package": "^8.0.0",
@@ -73,6 +74,7 @@
73
74
  "@types/jest": "^29.5.2",
74
75
  "@types/json-to-pretty-yaml": "^1.2.1",
75
76
  "@types/luxon": "^3.4.2",
77
+ "@types/multer": "^1.4.12",
76
78
  "@types/node": "^20.3.1",
77
79
  "@types/supertest": "^6.0.0",
78
80
  "@typescript-eslint/eslint-plugin": "^8.8.0",
@@ -88,7 +90,7 @@
88
90
  "luxon": "^3.5.0",
89
91
  "openapi-typescript": "^7.0.0-rc.0",
90
92
  "prettier": "^3.0.0",
91
- "prisma": "^5.14.0",
93
+ "prisma": "^5.22.0",
92
94
  "source-map-support": "^0.5.21",
93
95
  "supertest": "^6.3.3",
94
96
  "ts-jest": "^29.1.0",