@a_team/prisma 3.2.10-win → 3.2.11-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 +59 -6
- package/dist/client/index-browser.js +55 -2
- package/dist/client/index.d.ts +4876 -1641
- package/dist/client/index.js +61 -8
- package/dist/client/{query_engine-windows.dll.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 +124 -10
- package/dist/client/wasm.js +55 -2
- package/package.json +2 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -173,6 +173,55 @@ enum ContractSource {
|
|
|
173
173
|
ATeamGenerated
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
+
enum ExperienceType {
|
|
177
|
+
job
|
|
178
|
+
project
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
enum ExperienceMemberRole {
|
|
182
|
+
owner
|
|
183
|
+
member
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
type MemberCustomData {
|
|
187
|
+
jobRoleId String? @db.ObjectId
|
|
188
|
+
startDate DateTime? @db.Date
|
|
189
|
+
description String?
|
|
190
|
+
skills String[] @db.ObjectId
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
type ExperienceMember {
|
|
194
|
+
user String @db.ObjectId
|
|
195
|
+
role ExperienceMemberRole
|
|
196
|
+
customData MemberCustomData?
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
model Experience {
|
|
200
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
201
|
+
kind ExperienceType
|
|
202
|
+
title String?
|
|
203
|
+
name String?
|
|
204
|
+
summary String?
|
|
205
|
+
imageURL String?
|
|
206
|
+
imagesUrls String[]
|
|
207
|
+
logoURL String?
|
|
208
|
+
websiteURL String?
|
|
209
|
+
jobRole String?
|
|
210
|
+
jobRoleId String? @db.ObjectId
|
|
211
|
+
projectUrl String?
|
|
212
|
+
industry String? @db.ObjectId
|
|
213
|
+
industries String[] @db.ObjectId
|
|
214
|
+
companyV2Id String? @db.ObjectId
|
|
215
|
+
startDate DateTime? @db.Date
|
|
216
|
+
endDate DateTime? @db.Date
|
|
217
|
+
description String?
|
|
218
|
+
skills String[] @db.ObjectId
|
|
219
|
+
members ExperienceMember[]
|
|
220
|
+
|
|
221
|
+
@@index([members.user], map: "members.user_1_key_1")
|
|
222
|
+
@@map("experiences")
|
|
223
|
+
}
|
|
224
|
+
|
|
176
225
|
type MissionRoleAvailability {
|
|
177
226
|
date DateTime? @db.Date
|
|
178
227
|
scheduledEndDate DateTime? @db.Date
|
|
@@ -533,6 +582,7 @@ enum PresetID {
|
|
|
533
582
|
data
|
|
534
583
|
growth
|
|
535
584
|
ai
|
|
585
|
+
crypto
|
|
536
586
|
}
|
|
537
587
|
|
|
538
588
|
model Solution {
|
|
@@ -591,26 +641,90 @@ type ClientRegistration {
|
|
|
591
641
|
hiringTimeline HiringTimeline?
|
|
592
642
|
}
|
|
593
643
|
|
|
644
|
+
type ProfileCompletenessObject {
|
|
645
|
+
haveNotHadThreeJobs Boolean?
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
type LinkedInObject {
|
|
649
|
+
username String?
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
type RateRange {
|
|
653
|
+
min Int
|
|
654
|
+
max Int
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
type UserTalentSkillAssignment {
|
|
658
|
+
talentSkillId String
|
|
659
|
+
rating Int?
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
type UserTalentSkillAssignmentData {
|
|
663
|
+
mainTalentSkills UserTalentSkillAssignment[]
|
|
664
|
+
additionalTalentSkills UserTalentSkillAssignment[]
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
type UserTalentIndustryExperienceView {
|
|
668
|
+
talentIndustryId String
|
|
669
|
+
yearsOfExperience Int?
|
|
670
|
+
jobTitles String[]
|
|
671
|
+
talentIndustryName String?
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
type UserTalentIndustriesAssignment {
|
|
675
|
+
experiences UserTalentIndustryExperienceView[]
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
type TalentProfile {
|
|
679
|
+
additionalTalentSpecializationIds String[] @db.ObjectId
|
|
680
|
+
mainTalentSpecializationId String? @db.ObjectId
|
|
681
|
+
talentSkills UserTalentSkillAssignmentData?
|
|
682
|
+
talentIndustries UserTalentIndustriesAssignment?
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
enum InternalOnboardingStage {
|
|
686
|
+
IncompleteProfile
|
|
687
|
+
PendingReviewRequest
|
|
688
|
+
ReviewRequested
|
|
689
|
+
PendingSecondReview
|
|
690
|
+
SecondReviewRequested
|
|
691
|
+
PendingInterview
|
|
692
|
+
InterviewScheduled
|
|
693
|
+
Accepted
|
|
694
|
+
Completed
|
|
695
|
+
CompletedWithIncompleteProfile
|
|
696
|
+
PendingInterviewWithIncompleteProfile
|
|
697
|
+
InterviewScheduledWithIncompleteProfile
|
|
698
|
+
ProfileCompleteWithPendingApplication
|
|
699
|
+
}
|
|
700
|
+
|
|
594
701
|
model User {
|
|
595
|
-
id String
|
|
702
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
596
703
|
firstName String?
|
|
597
704
|
lastName String?
|
|
598
|
-
username String?
|
|
599
|
-
email String?
|
|
600
|
-
isAdmin Boolean
|
|
601
|
-
createdMissionsModels Mission[]
|
|
602
|
-
ownedMissionsModels Mission[]
|
|
705
|
+
username String? @unique(map: "username_1")
|
|
706
|
+
email String? @unique(map: "email_1")
|
|
707
|
+
isAdmin Boolean @default(false)
|
|
708
|
+
createdMissionsModels Mission[] @relation("creator")
|
|
709
|
+
ownedMissionsModels Mission[] @relation("ownerModel")
|
|
603
710
|
type String
|
|
604
711
|
pictureURL String?
|
|
605
712
|
status String
|
|
606
|
-
createdAt DateTime
|
|
713
|
+
createdAt DateTime @default(now()) @db.Date
|
|
607
714
|
titles String[]
|
|
608
715
|
scrubbed String?
|
|
609
716
|
tokenVersion Int
|
|
610
717
|
clientRegistration ClientRegistration?
|
|
611
|
-
authoredMissionSpecs MissionSpec[]
|
|
612
|
-
modifiedMissionSpecs MissionSpec[]
|
|
613
|
-
missionPrefills MissionPrefill[]
|
|
718
|
+
authoredMissionSpecs MissionSpec[] @relation("author")
|
|
719
|
+
modifiedMissionSpecs MissionSpec[] @relation("lastModifier")
|
|
720
|
+
missionPrefills MissionPrefill[] @relation("user")
|
|
721
|
+
aboutMe String?
|
|
722
|
+
profileCompleteness ProfileCompletenessObject?
|
|
723
|
+
cvURL String?
|
|
724
|
+
linkedin LinkedInObject?
|
|
725
|
+
rateRange RateRange?
|
|
726
|
+
talentProfile TalentProfile?
|
|
727
|
+
onboardingStage InternalOnboardingStage?
|
|
614
728
|
|
|
615
729
|
@@map("users")
|
|
616
730
|
}
|
package/dist/client/wasm.js
CHANGED
|
@@ -164,6 +164,28 @@ exports.Prisma.ContractScalarFieldEnum = {
|
|
|
164
164
|
accountId: 'accountId'
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
+
exports.Prisma.ExperienceScalarFieldEnum = {
|
|
168
|
+
id: 'id',
|
|
169
|
+
kind: 'kind',
|
|
170
|
+
title: 'title',
|
|
171
|
+
name: 'name',
|
|
172
|
+
summary: 'summary',
|
|
173
|
+
imageURL: 'imageURL',
|
|
174
|
+
imagesUrls: 'imagesUrls',
|
|
175
|
+
logoURL: 'logoURL',
|
|
176
|
+
websiteURL: 'websiteURL',
|
|
177
|
+
jobRole: 'jobRole',
|
|
178
|
+
jobRoleId: 'jobRoleId',
|
|
179
|
+
projectUrl: 'projectUrl',
|
|
180
|
+
industry: 'industry',
|
|
181
|
+
industries: 'industries',
|
|
182
|
+
companyV2Id: 'companyV2Id',
|
|
183
|
+
startDate: 'startDate',
|
|
184
|
+
endDate: 'endDate',
|
|
185
|
+
description: 'description',
|
|
186
|
+
skills: 'skills'
|
|
187
|
+
};
|
|
188
|
+
|
|
167
189
|
exports.Prisma.MissionScalarFieldEnum = {
|
|
168
190
|
mid: 'mid',
|
|
169
191
|
accountId: 'accountId',
|
|
@@ -292,7 +314,10 @@ exports.Prisma.UserScalarFieldEnum = {
|
|
|
292
314
|
createdAt: 'createdAt',
|
|
293
315
|
titles: 'titles',
|
|
294
316
|
scrubbed: 'scrubbed',
|
|
295
|
-
tokenVersion: 'tokenVersion'
|
|
317
|
+
tokenVersion: 'tokenVersion',
|
|
318
|
+
aboutMe: 'aboutMe',
|
|
319
|
+
cvURL: 'cvURL',
|
|
320
|
+
onboardingStage: 'onboardingStage'
|
|
296
321
|
};
|
|
297
322
|
|
|
298
323
|
exports.Prisma.SortOrder = {
|
|
@@ -324,6 +349,11 @@ exports.ContractSource = exports.$Enums.ContractSource = {
|
|
|
324
349
|
ATeamGenerated: 'ATeamGenerated'
|
|
325
350
|
};
|
|
326
351
|
|
|
352
|
+
exports.ExperienceType = exports.$Enums.ExperienceType = {
|
|
353
|
+
job: 'job',
|
|
354
|
+
project: 'project'
|
|
355
|
+
};
|
|
356
|
+
|
|
327
357
|
exports.MissionStatus = exports.$Enums.MissionStatus = {
|
|
328
358
|
Spec: 'Spec',
|
|
329
359
|
Formation: 'Formation',
|
|
@@ -354,7 +384,24 @@ exports.PresetID = exports.$Enums.PresetID = {
|
|
|
354
384
|
prototype: 'prototype',
|
|
355
385
|
data: 'data',
|
|
356
386
|
growth: 'growth',
|
|
357
|
-
ai: 'ai'
|
|
387
|
+
ai: 'ai',
|
|
388
|
+
crypto: 'crypto'
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
exports.InternalOnboardingStage = exports.$Enums.InternalOnboardingStage = {
|
|
392
|
+
IncompleteProfile: 'IncompleteProfile',
|
|
393
|
+
PendingReviewRequest: 'PendingReviewRequest',
|
|
394
|
+
ReviewRequested: 'ReviewRequested',
|
|
395
|
+
PendingSecondReview: 'PendingSecondReview',
|
|
396
|
+
SecondReviewRequested: 'SecondReviewRequested',
|
|
397
|
+
PendingInterview: 'PendingInterview',
|
|
398
|
+
InterviewScheduled: 'InterviewScheduled',
|
|
399
|
+
Accepted: 'Accepted',
|
|
400
|
+
Completed: 'Completed',
|
|
401
|
+
CompletedWithIncompleteProfile: 'CompletedWithIncompleteProfile',
|
|
402
|
+
PendingInterviewWithIncompleteProfile: 'PendingInterviewWithIncompleteProfile',
|
|
403
|
+
InterviewScheduledWithIncompleteProfile: 'InterviewScheduledWithIncompleteProfile',
|
|
404
|
+
ProfileCompleteWithPendingApplication: 'ProfileCompleteWithPendingApplication'
|
|
358
405
|
};
|
|
359
406
|
|
|
360
407
|
exports.ContractPartyType = exports.$Enums.ContractPartyType = {
|
|
@@ -363,6 +410,11 @@ exports.ContractPartyType = exports.$Enums.ContractPartyType = {
|
|
|
363
410
|
ATeam: 'ATeam'
|
|
364
411
|
};
|
|
365
412
|
|
|
413
|
+
exports.ExperienceMemberRole = exports.$Enums.ExperienceMemberRole = {
|
|
414
|
+
owner: 'owner',
|
|
415
|
+
member: 'member'
|
|
416
|
+
};
|
|
417
|
+
|
|
366
418
|
exports.MissionRoleStatus = exports.$Enums.MissionRoleStatus = {
|
|
367
419
|
Open: 'Open',
|
|
368
420
|
Active: 'Active',
|
|
@@ -388,6 +440,7 @@ exports.Prisma.ModelName = {
|
|
|
388
440
|
ClientCompany: 'ClientCompany',
|
|
389
441
|
Company: 'Company',
|
|
390
442
|
Contract: 'Contract',
|
|
443
|
+
Experience: 'Experience',
|
|
391
444
|
Mission: 'Mission',
|
|
392
445
|
MissionPrefill: 'MissionPrefill',
|
|
393
446
|
MissionSpec: 'MissionSpec',
|