expo-backend-types 0.0.8 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -26,6 +26,7 @@
26
26
  "@nestjs/core": "^10.0.0",
27
27
  "@nestjs/platform-express": "^10.0.0",
28
28
  "@nestjs/swagger": "^7.3.1",
29
+ "@prisma/client": "^5.14.0",
29
30
  "json-to-pretty-yaml": "^1.2.2",
30
31
  "reflect-metadata": "^0.2.0",
31
32
  "rxjs": "^7.8.1"
@@ -45,9 +46,11 @@
45
46
  "eslint": "^8.42.0",
46
47
  "eslint-config-prettier": "^9.0.0",
47
48
  "eslint-plugin-prettier": "^5.0.0",
49
+ "eslint-plugin-unused-imports": "^3.2.0",
48
50
  "jest": "^29.5.0",
49
51
  "openapi-typescript": "^7.0.0-rc.0",
50
52
  "prettier": "^3.0.0",
53
+ "prisma": "^5.14.0",
51
54
  "source-map-support": "^0.5.21",
52
55
  "supertest": "^6.3.3",
53
56
  "ts-jest": "^29.1.0",
@@ -73,9 +76,11 @@
73
76
  "coverageDirectory": "../coverage",
74
77
  "testEnvironment": "node"
75
78
  },
76
- "types": "./types/schema.d.ts",
79
+ "types": "./types/index.d.ts",
77
80
  "files": [
78
- "./types/schema.d.ts"
81
+ "./types/index.d.ts",
82
+ "./types/schema.d.ts",
83
+ "./types/prisma.d.ts"
79
84
  ],
80
85
  "exports": {
81
86
  ".": {
@@ -0,0 +1,4 @@
1
+ import type { paths } from 'types/schema';
2
+ import type { prisma } from 'types/prisma';
3
+
4
+ export { paths, prisma };
@@ -0,0 +1,3 @@
1
+ import * as Prisma from '@prisma/client'
2
+
3
+ export default Prisma;