@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.
- package/dist/client/edge.js +7 -4
- package/dist/client/index-browser.js +3 -0
- package/dist/client/index.d.ts +1638 -87
- package/dist/client/index.js +9 -6
- package/dist/client/{libquery_engine-linux-arm64-openssl-3.0.x.so.node → libquery_engine-linux-musl-openssl-3.0.x.so.node} +0 -0
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +21 -12
- package/dist/client/wasm.js +3 -0
- package/package.json +4 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -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
|
|
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?
|
|
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
|
|
2299
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
2297
2300
|
/// The user being vetted (nullable for legacy data compatibility)
|
|
2298
|
-
userId
|
|
2299
|
-
user
|
|
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
|
|
2302
|
-
vetter
|
|
2303
|
-
status
|
|
2304
|
-
vettingType
|
|
2305
|
-
preVettingFormNonce
|
|
2306
|
-
automationReason
|
|
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")
|
package/dist/client/wasm.js
CHANGED
|
@@ -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',
|