@a_team/prisma 2.0.12 → 2.0.14

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.
File without changes
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-34ed617a796d5abb3e1c429d041756693c40ff4d410ca3ebfb783cd5d303632b",
2
+ "name": "prisma-client-7b9f9d840cbf33c5255ae705dbd012183be9416a29db1640eee5c7e672318129",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -91,17 +91,18 @@ model Company {
91
91
  }
92
92
 
93
93
  model Contract {
94
- sid String @id @default(auto()) @map("_id") @db.ObjectId
95
- status ContractStatus
96
- type ContractType
97
- downloadURL String
98
- createdAt DateTime @db.Date
99
- updatedAt DateTime @updatedAt @db.Date
100
- parties ContractParty[]
101
- missionId String? @map("mission") @db.ObjectId
102
- mission Mission? @relation(fields: [missionId], references: [mid])
103
- role String? @db.ObjectId
104
- custom Boolean?
94
+ sid String @id @default(auto()) @map("_id") @db.ObjectId
95
+ status ContractStatus
96
+ type ContractType
97
+ downloadURL String
98
+ createdAt DateTime @db.Date
99
+ updatedAt DateTime @updatedAt @db.Date
100
+ parties ContractParty[]
101
+ missionId String? @map("mission") @db.ObjectId
102
+ mission Mission? @relation(fields: [missionId], references: [mid])
103
+ role String? @db.ObjectId
104
+ custom Boolean?
105
+ pandadocMetadata PandadocMetadata
105
106
 
106
107
  @@index([type, missionId, role, createdAt], map: "type_1_mission_1_role_1_createdAt_-1")
107
108
  @@index([parties.user, status, createdAt], map: "parties.user_1_status_1_createdAt_1")
@@ -116,6 +117,7 @@ enum ContractStatus {
116
117
  enum ContractType {
117
118
  TermsOfService
118
119
  MissionAgreement
120
+ ClientContract
119
121
  }
120
122
 
121
123
  type ContractParty {
@@ -132,6 +134,10 @@ enum ContractPartyType {
132
134
  MissionRole
133
135
  }
134
136
 
137
+ type PandadocMetadata {
138
+ id String
139
+ }
140
+
135
141
  type MissionRoleAvailability {
136
142
  date DateTime? @db.Date
137
143
  scheduledEndDate DateTime? @db.Date
@@ -432,7 +438,7 @@ datasource db {
432
438
 
433
439
  generator client {
434
440
  provider = "prisma-client-js"
435
- binaryTargets = ["native", "darwin"]
441
+ binaryTargets = ["native", "darwin", "darwin-arm64", "windows"]
436
442
  previewFeatures = ["prismaSchemaFolder"]
437
443
  output = "../../src/client"
438
444
  }
@@ -281,7 +281,8 @@ exports.ContractStatus = exports.$Enums.ContractStatus = {
281
281
 
282
282
  exports.ContractType = exports.$Enums.ContractType = {
283
283
  TermsOfService: 'TermsOfService',
284
- MissionAgreement: 'MissionAgreement'
284
+ MissionAgreement: 'MissionAgreement',
285
+ ClientContract: 'ClientContract'
285
286
  };
286
287
 
287
288
  exports.MissionSpecStatus = exports.$Enums.MissionSpecStatus = {
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
- {
2
- "name": "@a_team/prisma",
3
- "version": "2.0.12",
4
- "keywords": [],
5
- "scripts": {
6
- "build": "rm -rf ./dist & npm run generate & tsc",
7
- "postbuild": "cp -R ./src/client ./dist/client",
8
- "generate": "npx prisma generate",
9
- "format": "npx prisma format"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/A-Teams-Network/prisma.git"
14
- },
15
- "author": "A.Team",
16
- "license": "ISC",
17
- "main": "dist/index.js",
18
- "types": "dist/index.d.ts",
19
- "files": [
20
- "dist"
21
- ],
22
- "dependencies": {
23
- "@prisma/client": "^5.17.0"
24
- },
25
- "devDependencies": {
26
- "@types/node": "^22.8.5",
27
- "prisma": "^5.17.0",
28
- "ts-node": "^10.9.2",
29
- "typescript": "^5.5.4"
30
- },
31
- "peerDependencies": {
32
- "@prisma/client": ">=5"
33
- }
34
- }
1
+ {
2
+ "name": "@a_team/prisma",
3
+ "version": "2.0.14",
4
+ "keywords": [],
5
+ "scripts": {
6
+ "build": "rm -rf ./dist & npm run generate & tsc",
7
+ "postbuild": "cp -R ./src/client ./dist/client",
8
+ "generate": "npx prisma generate",
9
+ "format": "npx prisma format"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/A-Teams-Network/prisma.git"
14
+ },
15
+ "author": "A.Team",
16
+ "license": "ISC",
17
+ "main": "dist/index.js",
18
+ "types": "dist/index.d.ts",
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "dependencies": {
23
+ "@prisma/client": "^5.17.0"
24
+ },
25
+ "devDependencies": {
26
+ "@types/node": "^22.8.5",
27
+ "prisma": "^5.17.0",
28
+ "ts-node": "^10.9.2",
29
+ "typescript": "^5.5.4"
30
+ },
31
+ "peerDependencies": {
32
+ "@prisma/client": ">=5"
33
+ }
34
+ }