@a_team/prisma 3.27.0-macos-docker-linux → 3.28.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 +41 -4
- package/dist/client/index-browser.js +37 -0
- package/dist/client/index.d.ts +19463 -15010
- package/dist/client/index.js +43 -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 +119 -62
- package/dist/client/wasm.js +37 -0
- package/package.json +4 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -590,6 +590,36 @@ enum ContractSource {
|
|
|
590
590
|
ATeamGenerated
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
+
enum EvaluationProcessStatus {
|
|
594
|
+
Created
|
|
595
|
+
CallScheduled
|
|
596
|
+
Completed
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
model EvaluationProcesses {
|
|
600
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
601
|
+
|
|
602
|
+
// User-facing public ID for the url
|
|
603
|
+
// (e.g. https://platform.a.team/evaluation/felkj34lk4323lkj),
|
|
604
|
+
// to not use the id directly in the url
|
|
605
|
+
publicId String
|
|
606
|
+
|
|
607
|
+
status EvaluationProcessStatus
|
|
608
|
+
// The user being evaluate
|
|
609
|
+
userId String? @db.ObjectId
|
|
610
|
+
// The evaluator (optional, assigned later)
|
|
611
|
+
evaluatorId String? @db.ObjectId
|
|
612
|
+
calendarEventId String? @db.ObjectId
|
|
613
|
+
|
|
614
|
+
createdAt DateTime? @db.Date
|
|
615
|
+
updatedAt DateTime? @updatedAt @db.Date
|
|
616
|
+
|
|
617
|
+
user User? @relation("userEvaluationProcesses", fields: [userId], references: [id])
|
|
618
|
+
evaluator User? @relation("evaluatorEvaluationProcesses", fields: [evaluatorId], references: [id])
|
|
619
|
+
|
|
620
|
+
@@map("evaluationProcesses")
|
|
621
|
+
}
|
|
622
|
+
|
|
593
623
|
type CompletionTokensDetails {
|
|
594
624
|
audio_tokens Int?
|
|
595
625
|
reasoning_tokens Int?
|
|
@@ -2070,68 +2100,71 @@ type AdminNotesObject {
|
|
|
2070
2100
|
}
|
|
2071
2101
|
|
|
2072
2102
|
model User {
|
|
2073
|
-
id
|
|
2074
|
-
firstName
|
|
2075
|
-
lastName
|
|
2076
|
-
username
|
|
2077
|
-
email
|
|
2078
|
-
displayEmail
|
|
2079
|
-
isAdmin
|
|
2080
|
-
createdMissionsModels
|
|
2081
|
-
ownedMissionsModels
|
|
2082
|
-
type
|
|
2083
|
-
pictureURL
|
|
2084
|
-
status
|
|
2085
|
-
createdAt
|
|
2086
|
-
titles
|
|
2087
|
-
scrubbed
|
|
2088
|
-
tokenVersion
|
|
2089
|
-
clientRegistration
|
|
2090
|
-
authoredMissionSpecs
|
|
2091
|
-
modifiedMissionSpecs
|
|
2092
|
-
missionPrefills
|
|
2093
|
-
aboutMe
|
|
2094
|
-
profileCompleteness
|
|
2095
|
-
cvURL
|
|
2096
|
-
linkedin
|
|
2097
|
-
rateRange
|
|
2098
|
-
talentProfile
|
|
2099
|
-
onboardingStage
|
|
2100
|
-
missionPreferences
|
|
2101
|
-
availability
|
|
2102
|
-
missionApplication
|
|
2103
|
-
github
|
|
2104
|
-
dribbble
|
|
2105
|
-
yearsExperience
|
|
2106
|
-
websites
|
|
2107
|
-
location
|
|
2108
|
-
exclusiveApplication
|
|
2109
|
-
defaultRates
|
|
2110
|
-
platformExperience
|
|
2111
|
-
authoredProposals
|
|
2112
|
-
sharedProposals
|
|
2113
|
-
linkedInRecommendations
|
|
2114
|
-
givenReviews
|
|
2115
|
-
receivedReviews
|
|
2116
|
-
calendar
|
|
2117
|
-
interviews
|
|
2118
|
-
calendarAvailability
|
|
2119
|
-
preferences
|
|
2120
|
-
rescheduledInterviews
|
|
2121
|
-
clientInterviews
|
|
2122
|
-
builderInterviews
|
|
2123
|
-
proposalsAsTeamAdvisor
|
|
2124
|
-
isUsingSharedCalendar
|
|
2125
|
-
timezone
|
|
2126
|
-
workingHours
|
|
2127
|
-
acceptTOS
|
|
2128
|
-
acceptTOSHistory
|
|
2129
|
-
portfolio
|
|
2130
|
-
builderContracts
|
|
2131
|
-
builderWebsitesData
|
|
2132
|
-
userVettingProcesses
|
|
2133
|
-
vetterVettingProcesses
|
|
2134
|
-
adminNotes
|
|
2103
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
2104
|
+
firstName String?
|
|
2105
|
+
lastName String?
|
|
2106
|
+
username String? @unique(map: "username_1")
|
|
2107
|
+
email String @unique(map: "email_1")
|
|
2108
|
+
displayEmail String?
|
|
2109
|
+
isAdmin Boolean @default(false)
|
|
2110
|
+
createdMissionsModels Mission[] @relation("creator")
|
|
2111
|
+
ownedMissionsModels Mission[] @relation("ownerModel")
|
|
2112
|
+
type String
|
|
2113
|
+
pictureURL String?
|
|
2114
|
+
status UserStatus
|
|
2115
|
+
createdAt DateTime @default(now()) @db.Date
|
|
2116
|
+
titles String[]
|
|
2117
|
+
scrubbed String?
|
|
2118
|
+
tokenVersion Int
|
|
2119
|
+
clientRegistration ClientRegistration?
|
|
2120
|
+
authoredMissionSpecs MissionSpec[] @relation("author")
|
|
2121
|
+
modifiedMissionSpecs MissionSpec[] @relation("lastModifier")
|
|
2122
|
+
missionPrefills MissionPrefill[] @relation("user")
|
|
2123
|
+
aboutMe String?
|
|
2124
|
+
profileCompleteness ProfileCompletenessObject?
|
|
2125
|
+
cvURL String?
|
|
2126
|
+
linkedin LinkedInObject?
|
|
2127
|
+
rateRange RateRange?
|
|
2128
|
+
talentProfile TalentProfile?
|
|
2129
|
+
onboardingStage InternalOnboardingStage?
|
|
2130
|
+
missionPreferences MissionPreferences?
|
|
2131
|
+
availability Availability?
|
|
2132
|
+
missionApplication MissionApplication[]
|
|
2133
|
+
github GitHubData?
|
|
2134
|
+
dribbble DribbbleData?
|
|
2135
|
+
yearsExperience Float?
|
|
2136
|
+
websites String[]
|
|
2137
|
+
location Location?
|
|
2138
|
+
exclusiveApplication UserExclusiveApplication?
|
|
2139
|
+
defaultRates DefaultRates?
|
|
2140
|
+
platformExperience PlatformExperience?
|
|
2141
|
+
authoredProposals Proposal[] @relation("createdByModel")
|
|
2142
|
+
sharedProposals Proposal[] @relation("sharedByModel")
|
|
2143
|
+
linkedInRecommendations LinkedInRecommendation[]
|
|
2144
|
+
givenReviews UserReview[] @relation("fromUser")
|
|
2145
|
+
receivedReviews UserReview[] @relation("toUser")
|
|
2146
|
+
calendar Calendar? @relation("calendarUser")
|
|
2147
|
+
interviews CalendarEvent[] @relation("eventOwner")
|
|
2148
|
+
calendarAvailability CalendarAvailability[] @relation("userCalendarAvailability")
|
|
2149
|
+
preferences UserPreference? @relation("userPreferences")
|
|
2150
|
+
rescheduledInterviews CalendarEvent[] @relation("reschedulingUser")
|
|
2151
|
+
clientInterviews ClientInterview[] @relation("clientInterviews")
|
|
2152
|
+
builderInterviews ClientInterview[] @relation("builderInterviews")
|
|
2153
|
+
proposalsAsTeamAdvisor Proposal[] @relation("teamAdvisor")
|
|
2154
|
+
isUsingSharedCalendar Boolean @default(false)
|
|
2155
|
+
timezone TimezoneObject?
|
|
2156
|
+
workingHours WorkingHours?
|
|
2157
|
+
acceptTOS AcceptTOS?
|
|
2158
|
+
acceptTOSHistory AcceptTOS[]
|
|
2159
|
+
portfolio UserPortfolio?
|
|
2160
|
+
builderContracts Contract[] @relation("builder")
|
|
2161
|
+
builderWebsitesData BuilderWebsitesData[]
|
|
2162
|
+
userVettingProcesses VettingProcess[] @relation("userVettingProcesses")
|
|
2163
|
+
vetterVettingProcesses VettingProcess[] @relation("vetterVettingProcesses")
|
|
2164
|
+
adminNotes AdminNotesObject?
|
|
2165
|
+
evaluatorEvaluationProcesses EvaluationProcesses[] @relation("evaluatorEvaluationProcesses")
|
|
2166
|
+
userEvaluationProcesses EvaluationProcesses[] @relation("userEvaluationProcesses")
|
|
2167
|
+
vetters Vetter[] @relation("vetter")
|
|
2135
2168
|
|
|
2136
2169
|
@@map("users")
|
|
2137
2170
|
}
|
|
@@ -2232,6 +2265,30 @@ type UserReviewVisibility {
|
|
|
2232
2265
|
updatedAt DateTime?
|
|
2233
2266
|
}
|
|
2234
2267
|
|
|
2268
|
+
enum VetterType {
|
|
2269
|
+
internalNonTechnical
|
|
2270
|
+
selectionTeam
|
|
2271
|
+
internalTechnical
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
model Vetter {
|
|
2275
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
2276
|
+
user String @db.ObjectId
|
|
2277
|
+
|
|
2278
|
+
isActive Boolean?
|
|
2279
|
+
interviewCapacity Int?
|
|
2280
|
+
type VetterType?
|
|
2281
|
+
vettingSkills String[] @db.ObjectId
|
|
2282
|
+
vettingRoles String[] @db.ObjectId
|
|
2283
|
+
|
|
2284
|
+
createdAt DateTime? @default(now()) @db.Date
|
|
2285
|
+
updatedAt DateTime? @updatedAt @db.Date
|
|
2286
|
+
|
|
2287
|
+
userModel User @relation("vetter", fields: [user], references: [id])
|
|
2288
|
+
|
|
2289
|
+
@@map("vetters")
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2235
2292
|
/// Vetting process for builder evaluations
|
|
2236
2293
|
/// Note: This is a partial model - the legacy api-service has many additional fields
|
|
2237
2294
|
/// that are managed there. This model exposes only the fields needed by core-platform.
|
package/dist/client/wasm.js
CHANGED
|
@@ -271,6 +271,17 @@ exports.Prisma.ContractScalarFieldEnum = {
|
|
|
271
271
|
builderId: 'builderId'
|
|
272
272
|
};
|
|
273
273
|
|
|
274
|
+
exports.Prisma.EvaluationProcessesScalarFieldEnum = {
|
|
275
|
+
id: 'id',
|
|
276
|
+
publicId: 'publicId',
|
|
277
|
+
status: 'status',
|
|
278
|
+
userId: 'userId',
|
|
279
|
+
evaluatorId: 'evaluatorId',
|
|
280
|
+
calendarEventId: 'calendarEventId',
|
|
281
|
+
createdAt: 'createdAt',
|
|
282
|
+
updatedAt: 'updatedAt'
|
|
283
|
+
};
|
|
284
|
+
|
|
274
285
|
exports.Prisma.EvaluationTranscriptAnalysisResultScalarFieldEnum = {
|
|
275
286
|
id: 'id',
|
|
276
287
|
created_at: 'created_at',
|
|
@@ -675,6 +686,18 @@ exports.Prisma.UserReviewScalarFieldEnum = {
|
|
|
675
686
|
endedRoleReasons: 'endedRoleReasons'
|
|
676
687
|
};
|
|
677
688
|
|
|
689
|
+
exports.Prisma.VetterScalarFieldEnum = {
|
|
690
|
+
id: 'id',
|
|
691
|
+
user: 'user',
|
|
692
|
+
isActive: 'isActive',
|
|
693
|
+
interviewCapacity: 'interviewCapacity',
|
|
694
|
+
type: 'type',
|
|
695
|
+
vettingSkills: 'vettingSkills',
|
|
696
|
+
vettingRoles: 'vettingRoles',
|
|
697
|
+
createdAt: 'createdAt',
|
|
698
|
+
updatedAt: 'updatedAt'
|
|
699
|
+
};
|
|
700
|
+
|
|
678
701
|
exports.Prisma.VettingProcessScalarFieldEnum = {
|
|
679
702
|
id: 'id',
|
|
680
703
|
userId: 'userId',
|
|
@@ -774,6 +797,12 @@ exports.ContractSource = exports.$Enums.ContractSource = {
|
|
|
774
797
|
ATeamGenerated: 'ATeamGenerated'
|
|
775
798
|
};
|
|
776
799
|
|
|
800
|
+
exports.EvaluationProcessStatus = exports.$Enums.EvaluationProcessStatus = {
|
|
801
|
+
Created: 'Created',
|
|
802
|
+
CallScheduled: 'CallScheduled',
|
|
803
|
+
Completed: 'Completed'
|
|
804
|
+
};
|
|
805
|
+
|
|
777
806
|
exports.ExperienceType = exports.$Enums.ExperienceType = {
|
|
778
807
|
job: 'job',
|
|
779
808
|
project: 'project',
|
|
@@ -931,6 +960,12 @@ exports.UserReviewRoleEndedReason = exports.$Enums.UserReviewRoleEndedReason = {
|
|
|
931
960
|
Builder: 'Builder'
|
|
932
961
|
};
|
|
933
962
|
|
|
963
|
+
exports.VetterType = exports.$Enums.VetterType = {
|
|
964
|
+
internalNonTechnical: 'internalNonTechnical',
|
|
965
|
+
selectionTeam: 'selectionTeam',
|
|
966
|
+
internalTechnical: 'internalTechnical'
|
|
967
|
+
};
|
|
968
|
+
|
|
934
969
|
exports.VettingProcessStatus = exports.$Enums.VettingProcessStatus = {
|
|
935
970
|
onHold: 'onHold',
|
|
936
971
|
pendingPreVettingForm: 'pendingPreVettingForm',
|
|
@@ -1105,6 +1140,7 @@ exports.Prisma.ModelName = {
|
|
|
1105
1140
|
ClientInterview: 'ClientInterview',
|
|
1106
1141
|
Company: 'Company',
|
|
1107
1142
|
Contract: 'Contract',
|
|
1143
|
+
EvaluationProcesses: 'EvaluationProcesses',
|
|
1108
1144
|
EvaluationTranscriptAnalysisResult: 'EvaluationTranscriptAnalysisResult',
|
|
1109
1145
|
Experience: 'Experience',
|
|
1110
1146
|
GptConfig: 'GptConfig',
|
|
@@ -1131,6 +1167,7 @@ exports.Prisma.ModelName = {
|
|
|
1131
1167
|
User: 'User',
|
|
1132
1168
|
UserPreference: 'UserPreference',
|
|
1133
1169
|
UserReview: 'UserReview',
|
|
1170
|
+
Vetter: 'Vetter',
|
|
1134
1171
|
VettingProcess: 'VettingProcess'
|
|
1135
1172
|
};
|
|
1136
1173
|
|