@a_team/prisma 3.28.1-macos-docker-linux → 3.28.2-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 +17 -4
- package/dist/client/index-browser.js +13 -0
- package/dist/client/index.d.ts +233 -0
- package/dist/client/index.js +19 -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 +27 -11
- package/dist/client/wasm.js +13 -0
- package/package.json +4 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -2293,31 +2293,38 @@ model Vetter {
|
|
|
2293
2293
|
/// Note: This is a partial model - the legacy api-service has many additional fields
|
|
2294
2294
|
/// that are managed there. This model exposes only the fields needed by core-platform.
|
|
2295
2295
|
model VettingProcess {
|
|
2296
|
-
id
|
|
2296
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
2297
2297
|
/// The user being vetted (nullable for legacy data compatibility)
|
|
2298
|
-
userId
|
|
2299
|
-
user
|
|
2298
|
+
userId String? @db.ObjectId
|
|
2299
|
+
user User? @relation("userVettingProcesses", fields: [userId], references: [id])
|
|
2300
2300
|
/// The vetter/interviewer (optional, assigned later)
|
|
2301
|
-
vetterId
|
|
2302
|
-
vetter
|
|
2303
|
-
status
|
|
2304
|
-
vettingType
|
|
2301
|
+
vetterId String? @db.ObjectId
|
|
2302
|
+
vetter User? @relation("vetterVettingProcesses", fields: [vetterId], references: [id])
|
|
2303
|
+
status VettingProcessStatus
|
|
2304
|
+
vettingType VettingType
|
|
2305
|
+
preVettingFormNonce String?
|
|
2306
|
+
automationReason VettingProcessAutomationReason?
|
|
2307
|
+
|
|
2308
|
+
// new fields for the new evaluation process
|
|
2309
|
+
publicId String? // used for the url access, similar to pre vetting form nonce
|
|
2310
|
+
isNewEvaluationProcess Boolean?
|
|
2311
|
+
|
|
2305
2312
|
/// The CalCom meeting id (Daily room name) - used to link transcripts
|
|
2306
2313
|
calComDailyMeetingId String?
|
|
2307
2314
|
/// Transcript job IDs from core-platform transcripts service
|
|
2308
2315
|
transcriptJobIds String[]
|
|
2309
2316
|
/// Interview date
|
|
2310
|
-
interviewDate DateTime?
|
|
2317
|
+
interviewDate DateTime? @db.Date
|
|
2311
2318
|
/// CalCom booking UID
|
|
2312
2319
|
calComBookingUid String?
|
|
2313
2320
|
/// CalCom booking ID
|
|
2314
2321
|
calComBookingId Int?
|
|
2315
2322
|
/// Interview scheduler calendar event ID
|
|
2316
|
-
calendarEventId String?
|
|
2323
|
+
calendarEventId String? @db.ObjectId
|
|
2317
2324
|
/// Internal field for tracking data migrations applied to this record
|
|
2318
2325
|
migrations String[]
|
|
2319
|
-
createdAt DateTime?
|
|
2320
|
-
updatedAt DateTime?
|
|
2326
|
+
createdAt DateTime? @db.Date
|
|
2327
|
+
updatedAt DateTime? @updatedAt @db.Date
|
|
2321
2328
|
|
|
2322
2329
|
@@map("vetting-processes")
|
|
2323
2330
|
}
|
|
@@ -2337,3 +2344,12 @@ enum VettingType {
|
|
|
2337
2344
|
internalNonTechnical
|
|
2338
2345
|
internalTechnical
|
|
2339
2346
|
}
|
|
2347
|
+
|
|
2348
|
+
enum VettingProcessAutomationReason {
|
|
2349
|
+
InvitedByActiveBuilder
|
|
2350
|
+
SupplySourcing
|
|
2351
|
+
AppliedToMission
|
|
2352
|
+
ReferredByInterviewer
|
|
2353
|
+
OnboardingUserRequested
|
|
2354
|
+
Exceptional
|
|
2355
|
+
}
|
package/dist/client/wasm.js
CHANGED
|
@@ -704,6 +704,10 @@ exports.Prisma.VettingProcessScalarFieldEnum = {
|
|
|
704
704
|
vetterId: 'vetterId',
|
|
705
705
|
status: 'status',
|
|
706
706
|
vettingType: 'vettingType',
|
|
707
|
+
preVettingFormNonce: 'preVettingFormNonce',
|
|
708
|
+
automationReason: 'automationReason',
|
|
709
|
+
publicId: 'publicId',
|
|
710
|
+
isNewEvaluationProcess: 'isNewEvaluationProcess',
|
|
707
711
|
calComDailyMeetingId: 'calComDailyMeetingId',
|
|
708
712
|
transcriptJobIds: 'transcriptJobIds',
|
|
709
713
|
interviewDate: 'interviewDate',
|
|
@@ -982,6 +986,15 @@ exports.VettingType = exports.$Enums.VettingType = {
|
|
|
982
986
|
internalTechnical: 'internalTechnical'
|
|
983
987
|
};
|
|
984
988
|
|
|
989
|
+
exports.VettingProcessAutomationReason = exports.$Enums.VettingProcessAutomationReason = {
|
|
990
|
+
InvitedByActiveBuilder: 'InvitedByActiveBuilder',
|
|
991
|
+
SupplySourcing: 'SupplySourcing',
|
|
992
|
+
AppliedToMission: 'AppliedToMission',
|
|
993
|
+
ReferredByInterviewer: 'ReferredByInterviewer',
|
|
994
|
+
OnboardingUserRequested: 'OnboardingUserRequested',
|
|
995
|
+
Exceptional: 'Exceptional'
|
|
996
|
+
};
|
|
997
|
+
|
|
985
998
|
exports.BillingPaymentDue = exports.$Enums.BillingPaymentDue = {
|
|
986
999
|
Net0: 'Net0',
|
|
987
1000
|
Net15: 'Net15',
|