@a_team/prisma 3.11.1-macos-docker-linux → 3.12.0-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 +61 -4
- package/dist/client/index-browser.js +57 -0
- package/dist/client/index.d.ts +5369 -390
- package/dist/client/index.js +63 -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 +147 -33
- package/dist/client/wasm.js +57 -0
- package/package.json +7 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -29,6 +29,7 @@ model Account {
|
|
|
29
29
|
missionSpecs MissionSpec[]
|
|
30
30
|
contracts Contract[]
|
|
31
31
|
userReviews UserReview[]
|
|
32
|
+
clientInterviews ClientInterview[]
|
|
32
33
|
|
|
33
34
|
@@map("accounts")
|
|
34
35
|
}
|
|
@@ -221,6 +222,116 @@ model ClientCompany {
|
|
|
221
222
|
@@map("clientCompanies")
|
|
222
223
|
}
|
|
223
224
|
|
|
225
|
+
model ClientInterview {
|
|
226
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
227
|
+
createdAt DateTime @default(now())
|
|
228
|
+
updatedAt DateTime @updatedAt
|
|
229
|
+
accountId String @db.ObjectId
|
|
230
|
+
account Account @relation(fields: [accountId], references: [id])
|
|
231
|
+
type ClientInterviewType
|
|
232
|
+
clientId String @db.ObjectId
|
|
233
|
+
client User @relation("clientInterviews", fields: [clientId], references: [id])
|
|
234
|
+
builderId String @db.ObjectId
|
|
235
|
+
builder User @relation("builderInterviews", fields: [builderId], references: [id])
|
|
236
|
+
interviewRoleDescription String?
|
|
237
|
+
calComBookingId Int
|
|
238
|
+
calComBookingUid String
|
|
239
|
+
calComDailyMeetingId String?
|
|
240
|
+
startDate DateTime
|
|
241
|
+
endDate DateTime
|
|
242
|
+
builderTimezone String
|
|
243
|
+
clientMinHourlyRate Float?
|
|
244
|
+
clientMaxHourlyRate Float?
|
|
245
|
+
builderHourlyRate Float?
|
|
246
|
+
status ClientInterviewStatus
|
|
247
|
+
declineReason ClientInterviewDeclineReason?
|
|
248
|
+
declineOtherReasonDetails String?
|
|
249
|
+
cancelReasonAfterAccepted String?
|
|
250
|
+
canceledFromClientApp Boolean?
|
|
251
|
+
interviewRequestExpireAt DateTime?
|
|
252
|
+
slackThreadMessageId String?
|
|
253
|
+
transcripts ClientInterviewTranscriptData[]
|
|
254
|
+
proposalId String? @db.ObjectId
|
|
255
|
+
proposal Proposal? @relation(fields: [proposalId], references: [id])
|
|
256
|
+
feedback ClientInterviewFeedback?
|
|
257
|
+
rescheduledBy ClientInterviewRescheduledByData?
|
|
258
|
+
|
|
259
|
+
@@map("clientInterviews")
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
type ClientInterviewTranscriptData {
|
|
263
|
+
jobId String?
|
|
264
|
+
recordingId String?
|
|
265
|
+
recordingLinkData ClientInterviewRecordingLinkData?
|
|
266
|
+
metadata ClientInterviewTranscriptMetadata?
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
type ClientInterviewRecordingLinkData {
|
|
270
|
+
download_link String
|
|
271
|
+
expires Int
|
|
272
|
+
error String?
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
type ClientInterviewTranscriptMetadata {
|
|
276
|
+
jobId String?
|
|
277
|
+
callbackRef String?
|
|
278
|
+
inputUrl String?
|
|
279
|
+
inputKey String?
|
|
280
|
+
inputBucket String?
|
|
281
|
+
inputRegion String?
|
|
282
|
+
transcriptKey String?
|
|
283
|
+
mediaKey String?
|
|
284
|
+
outputBucket String?
|
|
285
|
+
outputRegion String?
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
type ClientInterviewFeedback {
|
|
289
|
+
action ClientInterviewFeedbackAction
|
|
290
|
+
note String?
|
|
291
|
+
authorId String? @db.ObjectId
|
|
292
|
+
at DateTime @default(now())
|
|
293
|
+
followUp ClientInterviewFeedbackFollowUp?
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
type ClientInterviewFeedbackFollowUp {
|
|
297
|
+
interviewerEmail String?
|
|
298
|
+
interviewerName String?
|
|
299
|
+
roleTitle String?
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
type ClientInterviewRescheduledByData {
|
|
303
|
+
userId String? @db.ObjectId
|
|
304
|
+
email String
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
enum ClientInterviewStatus {
|
|
308
|
+
InterviewRequested
|
|
309
|
+
InterviewAccepted
|
|
310
|
+
InterviewRejected
|
|
311
|
+
InterviewCancelled
|
|
312
|
+
InterviewExpired
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
enum ClientInterviewDeclineReason {
|
|
316
|
+
NotEnoughAvailability
|
|
317
|
+
RoleNotRelevant
|
|
318
|
+
NotInterested
|
|
319
|
+
RateTooLow
|
|
320
|
+
Other
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
enum ClientInterviewType {
|
|
324
|
+
Discover
|
|
325
|
+
Proposal
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
enum ClientInterviewFeedbackAction {
|
|
329
|
+
Hire
|
|
330
|
+
BookFollowUpInterview @map("Book a follow up interview")
|
|
331
|
+
NeedMoreTime @map("I need more time")
|
|
332
|
+
NoHire @map("No hire")
|
|
333
|
+
}
|
|
334
|
+
|
|
224
335
|
type LocalHourRange {
|
|
225
336
|
endTime Int?
|
|
226
337
|
startTime Int?
|
|
@@ -930,39 +1041,40 @@ type ClientRoleQuestion {
|
|
|
930
1041
|
}
|
|
931
1042
|
|
|
932
1043
|
model Proposal {
|
|
933
|
-
id
|
|
934
|
-
createdById
|
|
935
|
-
createdBy
|
|
936
|
-
missionId
|
|
937
|
-
mission
|
|
938
|
-
createdAt
|
|
939
|
-
updatedAt
|
|
940
|
-
expiresAt
|
|
941
|
-
clientName
|
|
942
|
-
projectName
|
|
943
|
-
webflowId
|
|
944
|
-
publicURL
|
|
945
|
-
isShared
|
|
946
|
-
sharedById
|
|
947
|
-
sharedBy
|
|
948
|
-
sharedAt
|
|
949
|
-
archivedURL
|
|
950
|
-
schemaVersion
|
|
951
|
-
templateMap
|
|
952
|
-
template
|
|
953
|
-
version
|
|
954
|
-
publicUntil
|
|
955
|
-
missionSpecId
|
|
956
|
-
missionSpec
|
|
957
|
-
applications
|
|
958
|
-
adminReview
|
|
959
|
-
candidates
|
|
960
|
-
currency
|
|
961
|
-
teamProposal
|
|
962
|
-
rolesData
|
|
963
|
-
name
|
|
964
|
-
slug
|
|
965
|
-
teamBlurb
|
|
1044
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1045
|
+
createdById String? @db.ObjectId
|
|
1046
|
+
createdBy User? @relation(fields: [createdById], references: [id], name: "createdBy")
|
|
1047
|
+
missionId String? @db.ObjectId
|
|
1048
|
+
mission Mission? @relation(fields: [missionId], references: [mid])
|
|
1049
|
+
createdAt DateTime? @default(now()) @db.Date
|
|
1050
|
+
updatedAt DateTime? @updatedAt @db.Date
|
|
1051
|
+
expiresAt DateTime? @db.Date
|
|
1052
|
+
clientName String?
|
|
1053
|
+
projectName String?
|
|
1054
|
+
webflowId String?
|
|
1055
|
+
publicURL String?
|
|
1056
|
+
isShared Boolean?
|
|
1057
|
+
sharedById String? @db.ObjectId
|
|
1058
|
+
sharedBy User? @relation(fields: [sharedById], references: [id], name: "sharedBy")
|
|
1059
|
+
sharedAt DateTime? @db.Date
|
|
1060
|
+
archivedURL String?
|
|
1061
|
+
schemaVersion ProposalSchemaVersion @default(v1)
|
|
1062
|
+
templateMap ProposalTemplateMap?
|
|
1063
|
+
template ProposalTemplate?
|
|
1064
|
+
version Int?
|
|
1065
|
+
publicUntil DateTime? @db.Date
|
|
1066
|
+
missionSpecId String? @db.ObjectId
|
|
1067
|
+
missionSpec MissionSpec? @relation(fields: [missionSpecId], references: [id])
|
|
1068
|
+
applications String[] @db.ObjectId
|
|
1069
|
+
adminReview ProposalReview?
|
|
1070
|
+
candidates ProposalCandidate[]
|
|
1071
|
+
currency String?
|
|
1072
|
+
teamProposal Boolean?
|
|
1073
|
+
rolesData ProposalRoleData[]
|
|
1074
|
+
name String?
|
|
1075
|
+
slug String?
|
|
1076
|
+
teamBlurb String?
|
|
1077
|
+
clientInterviews ClientInterview[]
|
|
966
1078
|
|
|
967
1079
|
@@map("proposals")
|
|
968
1080
|
}
|
|
@@ -1297,6 +1409,8 @@ model User {
|
|
|
1297
1409
|
calendarAvailability CalendarAvailability[] @relation("userCalendarAvailability")
|
|
1298
1410
|
preferences UserPreference? @relation("userPreferences")
|
|
1299
1411
|
rescheduledInterviews CalendarEvent[] @relation("reschedulingUser")
|
|
1412
|
+
clientInterviews ClientInterview[] @relation("clientInterviews")
|
|
1413
|
+
builderInterviews ClientInterview[] @relation("builderInterviews")
|
|
1300
1414
|
|
|
1301
1415
|
@@map("users")
|
|
1302
1416
|
}
|
package/dist/client/wasm.js
CHANGED
|
@@ -199,6 +199,34 @@ exports.Prisma.ClientCompanyScalarFieldEnum = {
|
|
|
199
199
|
logo: 'logo'
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
+
exports.Prisma.ClientInterviewScalarFieldEnum = {
|
|
203
|
+
id: 'id',
|
|
204
|
+
createdAt: 'createdAt',
|
|
205
|
+
updatedAt: 'updatedAt',
|
|
206
|
+
accountId: 'accountId',
|
|
207
|
+
type: 'type',
|
|
208
|
+
clientId: 'clientId',
|
|
209
|
+
builderId: 'builderId',
|
|
210
|
+
interviewRoleDescription: 'interviewRoleDescription',
|
|
211
|
+
calComBookingId: 'calComBookingId',
|
|
212
|
+
calComBookingUid: 'calComBookingUid',
|
|
213
|
+
calComDailyMeetingId: 'calComDailyMeetingId',
|
|
214
|
+
startDate: 'startDate',
|
|
215
|
+
endDate: 'endDate',
|
|
216
|
+
builderTimezone: 'builderTimezone',
|
|
217
|
+
clientMinHourlyRate: 'clientMinHourlyRate',
|
|
218
|
+
clientMaxHourlyRate: 'clientMaxHourlyRate',
|
|
219
|
+
builderHourlyRate: 'builderHourlyRate',
|
|
220
|
+
status: 'status',
|
|
221
|
+
declineReason: 'declineReason',
|
|
222
|
+
declineOtherReasonDetails: 'declineOtherReasonDetails',
|
|
223
|
+
cancelReasonAfterAccepted: 'cancelReasonAfterAccepted',
|
|
224
|
+
canceledFromClientApp: 'canceledFromClientApp',
|
|
225
|
+
interviewRequestExpireAt: 'interviewRequestExpireAt',
|
|
226
|
+
slackThreadMessageId: 'slackThreadMessageId',
|
|
227
|
+
proposalId: 'proposalId'
|
|
228
|
+
};
|
|
229
|
+
|
|
202
230
|
exports.Prisma.CompanyScalarFieldEnum = {
|
|
203
231
|
id: 'id',
|
|
204
232
|
name: 'name',
|
|
@@ -496,6 +524,27 @@ exports.EventType = exports.$Enums.EventType = {
|
|
|
496
524
|
evaluation: 'evaluation'
|
|
497
525
|
};
|
|
498
526
|
|
|
527
|
+
exports.ClientInterviewType = exports.$Enums.ClientInterviewType = {
|
|
528
|
+
Discover: 'Discover',
|
|
529
|
+
Proposal: 'Proposal'
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
exports.ClientInterviewStatus = exports.$Enums.ClientInterviewStatus = {
|
|
533
|
+
InterviewRequested: 'InterviewRequested',
|
|
534
|
+
InterviewAccepted: 'InterviewAccepted',
|
|
535
|
+
InterviewRejected: 'InterviewRejected',
|
|
536
|
+
InterviewCancelled: 'InterviewCancelled',
|
|
537
|
+
InterviewExpired: 'InterviewExpired'
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
exports.ClientInterviewDeclineReason = exports.$Enums.ClientInterviewDeclineReason = {
|
|
541
|
+
NotEnoughAvailability: 'NotEnoughAvailability',
|
|
542
|
+
RoleNotRelevant: 'RoleNotRelevant',
|
|
543
|
+
NotInterested: 'NotInterested',
|
|
544
|
+
RateTooLow: 'RateTooLow',
|
|
545
|
+
Other: 'Other'
|
|
546
|
+
};
|
|
547
|
+
|
|
499
548
|
exports.ContractStatus = exports.$Enums.ContractStatus = {
|
|
500
549
|
Created: 'Created',
|
|
501
550
|
Completed: 'Completed'
|
|
@@ -627,6 +676,13 @@ exports.BillingPaymentDue = exports.$Enums.BillingPaymentDue = {
|
|
|
627
676
|
Net120: 'Net120'
|
|
628
677
|
};
|
|
629
678
|
|
|
679
|
+
exports.ClientInterviewFeedbackAction = exports.$Enums.ClientInterviewFeedbackAction = {
|
|
680
|
+
Hire: 'Hire',
|
|
681
|
+
BookFollowUpInterview: 'BookFollowUpInterview',
|
|
682
|
+
NeedMoreTime: 'NeedMoreTime',
|
|
683
|
+
NoHire: 'NoHire'
|
|
684
|
+
};
|
|
685
|
+
|
|
630
686
|
exports.ContractPartyType = exports.$Enums.ContractPartyType = {
|
|
631
687
|
BillingCustomer: 'BillingCustomer',
|
|
632
688
|
MissionRole: 'MissionRole',
|
|
@@ -719,6 +775,7 @@ exports.Prisma.ModelName = {
|
|
|
719
775
|
CalendarEvent: 'CalendarEvent',
|
|
720
776
|
CalendarEventType: 'CalendarEventType',
|
|
721
777
|
ClientCompany: 'ClientCompany',
|
|
778
|
+
ClientInterview: 'ClientInterview',
|
|
722
779
|
Company: 'Company',
|
|
723
780
|
Contract: 'Contract',
|
|
724
781
|
Experience: 'Experience',
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a_team/prisma",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"os": [
|
|
3
|
+
"version": "3.12.0-linux",
|
|
4
|
+
"os": [
|
|
5
|
+
"linux"
|
|
6
|
+
],
|
|
5
7
|
"cpu": [],
|
|
6
8
|
"keywords": [],
|
|
9
|
+
"prisma": {
|
|
10
|
+
"schema": "prisma/schema"
|
|
11
|
+
},
|
|
7
12
|
"scripts": {
|
|
8
13
|
"build": "rm -rf ./dist && yarn run generate",
|
|
9
14
|
"postbuild": "sleep 5 && tsc && cp -R ./src/client ./dist/client && cp -R ./node_modules/@prisma/instrumentation dist/",
|