@a_team/prisma 3.28.4-macos-docker-linux → 3.28.5-linux

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-da93963b99c3cf84498fe40d452333eab13d76a2966ee6ef38ab1efe311687fd",
2
+ "name": "prisma-client-c677a831c0e30dc18bf73c4ca1189fcc52fd76d6331be1888edf17ab096df5f0",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -1671,6 +1671,7 @@ model RoleCategory {
1671
1671
 
1672
1672
  mappedRoleTitles MapperRoleTitleToRoleCategory[]
1673
1673
  Experience Experience[]
1674
+ vettingProcesses VettingProcess[] @relation("primaryRoleCategoryVettingProcesses")
1674
1675
 
1675
1676
  @@map("roleCategories")
1676
1677
  }
@@ -1878,7 +1879,7 @@ model Solution {
1878
1879
  }
1879
1880
 
1880
1881
  model TalentCategory {
1881
- id String @id @default(auto()) @map("_id") @db.ObjectId
1882
+ id String @id @default(auto()) @map("_id") @db.ObjectId
1882
1883
  textId String
1883
1884
  name String
1884
1885
  nodeType String
@@ -1886,7 +1887,8 @@ model TalentCategory {
1886
1887
  aliases String[]
1887
1888
  isProgrammingLanguage Boolean?
1888
1889
  isVettingEligible Boolean?
1889
- deletedAt DateTime? @db.Date
1890
+ deletedAt DateTime? @db.Date
1891
+ vettingProcesses VettingProcess[] @relation("categoryVettingProcesses")
1890
1892
 
1891
1893
  @@map("talentCategories")
1892
1894
  }
@@ -2165,6 +2167,7 @@ model User {
2165
2167
  evaluatorEvaluationProcesses EvaluationProcess[] @relation("evaluatorEvaluationProcesses")
2166
2168
  userEvaluationProcesses EvaluationProcess[] @relation("userEvaluationProcesses")
2167
2169
  vetters Vetter[] @relation("vetter")
2170
+ contactOwnerVettingProcesses VettingProcess[] @relation("contactOwnerVettingProcesses")
2168
2171
 
2169
2172
  @@map("users")
2170
2173
  }
@@ -2293,17 +2296,23 @@ model Vetter {
2293
2296
  /// Note: This is a partial model - the legacy api-service has many additional fields
2294
2297
  /// that are managed there. This model exposes only the fields needed by core-platform.
2295
2298
  model VettingProcess {
2296
- id String @id @default(auto()) @map("_id") @db.ObjectId
2299
+ id String @id @default(auto()) @map("_id") @db.ObjectId
2297
2300
  /// The user being vetted (nullable for legacy data compatibility)
2298
- userId String? @map("user") @db.ObjectId
2299
- user User? @relation("userVettingProcesses", fields: [userId], references: [id])
2301
+ userId String? @map("user") @db.ObjectId
2302
+ user User? @relation("userVettingProcesses", fields: [userId], references: [id])
2300
2303
  /// The vetter/interviewer (optional, assigned later)
2301
- vetterId String? @map("vetter") @db.ObjectId
2302
- vetter User? @relation("vetterVettingProcesses", fields: [vetterId], references: [id])
2303
- status VettingProcessStatus
2304
- vettingType VettingType
2305
- preVettingFormNonce String?
2306
- automationReason VettingProcessAutomationReason?
2304
+ vetterId String? @map("vetter") @db.ObjectId
2305
+ vetter User? @relation("vetterVettingProcesses", fields: [vetterId], references: [id])
2306
+ status VettingProcessStatus
2307
+ vettingType VettingType
2308
+ preVettingFormNonce String?
2309
+ automationReason VettingProcessAutomationReason?
2310
+ categoryId String? @map("category") @db.ObjectId
2311
+ category TalentCategory? @relation("categoryVettingProcesses", fields: [categoryId], references: [id])
2312
+ primaryRoleCategoryId String? @db.ObjectId // this was named with Id suffix
2313
+ primaryRoleCategory RoleCategory? @relation("primaryRoleCategoryVettingProcesses", fields: [primaryRoleCategoryId], references: [id])
2314
+ contactOwnerId String? @map("contactOwner") @db.ObjectId
2315
+ contactOwner User? @relation("contactOwnerVettingProcesses", fields: [contactOwnerId], references: [id])
2307
2316
 
2308
2317
  // new fields for the new evaluation process
2309
2318
  publicId String? // used for the url access, similar to pre vetting form nonce
@@ -2323,7 +2332,7 @@ model VettingProcess {
2323
2332
  calendarEventId String? @db.ObjectId
2324
2333
  /// Internal field for tracking data migrations applied to this record
2325
2334
  migrations String[]
2326
- createdAt DateTime? @db.Date
2335
+ createdAt DateTime? @default(now()) @db.Date
2327
2336
  updatedAt DateTime? @updatedAt @db.Date
2328
2337
 
2329
2338
  @@map("vetting-processes")
@@ -706,6 +706,9 @@ exports.Prisma.VettingProcessScalarFieldEnum = {
706
706
  vettingType: 'vettingType',
707
707
  preVettingFormNonce: 'preVettingFormNonce',
708
708
  automationReason: 'automationReason',
709
+ categoryId: 'categoryId',
710
+ primaryRoleCategoryId: 'primaryRoleCategoryId',
711
+ contactOwnerId: 'contactOwnerId',
709
712
  publicId: 'publicId',
710
713
  isNewEvaluationProcess: 'isNewEvaluationProcess',
711
714
  calComDailyMeetingId: 'calComDailyMeetingId',
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.28.4-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.28.5-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {