@a_team/prisma 3.6.2-win → 3.6.3-linux-debian
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 +50 -4
- package/dist/client/index-browser.js +46 -0
- package/dist/client/index.d.ts +4725 -192
- package/dist/client/index.js +52 -6
- package/dist/client/{query_engine-windows.dll.node → libquery_engine-debian-openssl-3.0.x.so.node} +0 -0
- package/dist/client/package.json +1 -1
- package/dist/client/schema.prisma +99 -0
- package/dist/client/wasm.js +46 -0
- package/package.json +2 -2
package/dist/client/{query_engine-windows.dll.node → libquery_engine-debian-openssl-3.0.x.so.node}
RENAMED
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -412,6 +412,7 @@ model Mission {
|
|
|
412
412
|
overlapMinutes Int?
|
|
413
413
|
timezone String?
|
|
414
414
|
contracts Contract[]
|
|
415
|
+
proposals Proposal[]
|
|
415
416
|
|
|
416
417
|
@@unique([roles.id], map: "roles._id_1")
|
|
417
418
|
@@map("missions")
|
|
@@ -636,6 +637,7 @@ model MissionSpec {
|
|
|
636
637
|
videoURL String?
|
|
637
638
|
workingHours WorkingHours?
|
|
638
639
|
workingHoursNumberOfMinutesOverlap Int?
|
|
640
|
+
proposals Proposal[]
|
|
639
641
|
|
|
640
642
|
@@index([accountId], map: "accountId_1")
|
|
641
643
|
@@index([authorId, deletedAt, platformId, createdAt], map: "author_1_deletedAt_1_platformId_1_createdAt_1")
|
|
@@ -712,6 +714,101 @@ type ClientRoleQuestion {
|
|
|
712
714
|
updatedAt DateTime? @db.Date
|
|
713
715
|
}
|
|
714
716
|
|
|
717
|
+
model Proposal {
|
|
718
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
719
|
+
createdById String? @db.ObjectId
|
|
720
|
+
createdBy User? @relation(fields: [createdById], references: [id], name: "createdBy")
|
|
721
|
+
missionId String? @db.ObjectId
|
|
722
|
+
mission Mission? @relation(fields: [missionId], references: [mid])
|
|
723
|
+
createdAt DateTime? @default(now()) @db.Date
|
|
724
|
+
updatedAt DateTime? @updatedAt @db.Date
|
|
725
|
+
expiresAt DateTime? @db.Date
|
|
726
|
+
clientName String?
|
|
727
|
+
projectName String?
|
|
728
|
+
webflowId String?
|
|
729
|
+
publicURL String?
|
|
730
|
+
isShared Boolean?
|
|
731
|
+
sharedById String? @db.ObjectId
|
|
732
|
+
sharedBy User? @relation(fields: [sharedById], references: [id], name: "sharedBy")
|
|
733
|
+
sharedAt DateTime? @db.Date
|
|
734
|
+
archivedURL String?
|
|
735
|
+
schemaVersion ProposalSchemaVersion @default(v1)
|
|
736
|
+
templateMap ProposalTemplateMap?
|
|
737
|
+
template ProposalTemplate?
|
|
738
|
+
version Int?
|
|
739
|
+
publicUntil DateTime? @db.Date
|
|
740
|
+
missionSpecId String? @db.ObjectId
|
|
741
|
+
missionSpec MissionSpec? @relation(fields: [missionSpecId], references: [id])
|
|
742
|
+
applications String[] @db.ObjectId
|
|
743
|
+
adminReview ProposalReview?
|
|
744
|
+
candidates ProposalCandidate[]
|
|
745
|
+
|
|
746
|
+
@@map("proposals")
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
enum ProposalSchemaVersion {
|
|
750
|
+
v1
|
|
751
|
+
v2
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
enum ProposalTemplate {
|
|
755
|
+
sampleV2
|
|
756
|
+
sampleV3
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
enum ProposalReviewStatus {
|
|
760
|
+
NotifiedForInterview
|
|
761
|
+
pending
|
|
762
|
+
approved
|
|
763
|
+
rejected
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
enum ProposalCandidateRecommendation {
|
|
767
|
+
Recommended
|
|
768
|
+
Alternative
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
type ProposalTemplateMap {
|
|
772
|
+
companyName String?
|
|
773
|
+
hideRates Boolean?
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
type ProposalReview {
|
|
777
|
+
status ProposalReviewStatus
|
|
778
|
+
reviewedBy String @db.ObjectId
|
|
779
|
+
reviewedAt DateTime @db.Date
|
|
780
|
+
rejectionReason String?
|
|
781
|
+
rejectionNote String?
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
type ProposalCandidate {
|
|
785
|
+
hourlyRate Float?
|
|
786
|
+
showHourlyRate Boolean?
|
|
787
|
+
monthlyRate Float?
|
|
788
|
+
showMonthlyRate Boolean?
|
|
789
|
+
fullName String?
|
|
790
|
+
userId String @db.ObjectId
|
|
791
|
+
roleCategoryId String? @db.ObjectId
|
|
792
|
+
roleTitle String?
|
|
793
|
+
clientReview ProposalReview?
|
|
794
|
+
recommendation ProposalCandidateRecommendation?
|
|
795
|
+
includeCustomQuestionReply Boolean?
|
|
796
|
+
projects String[] @db.ObjectId
|
|
797
|
+
reviews String[] @db.ObjectId
|
|
798
|
+
cardSections ProposalCandidateSections
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
type ProposalCandidateSectionData {
|
|
802
|
+
text String?
|
|
803
|
+
title String?
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
type ProposalCandidateSections {
|
|
807
|
+
requirements ProposalCandidateSectionData
|
|
808
|
+
extraSkill ProposalCandidateSectionData
|
|
809
|
+
experience ProposalCandidateSectionData
|
|
810
|
+
}
|
|
811
|
+
|
|
715
812
|
model RoleCategory {
|
|
716
813
|
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
717
814
|
anchors String[]
|
|
@@ -917,6 +1014,8 @@ model User {
|
|
|
917
1014
|
missionPreferences MissionPreferences?
|
|
918
1015
|
availability AvailabilityObject?
|
|
919
1016
|
missionApplication MissionApplication[]
|
|
1017
|
+
authoredProposals Proposal[] @relation("createdBy")
|
|
1018
|
+
sharedProposals Proposal[] @relation("sharedBy")
|
|
920
1019
|
|
|
921
1020
|
@@map("users")
|
|
922
1021
|
}
|
package/dist/client/wasm.js
CHANGED
|
@@ -285,6 +285,29 @@ exports.Prisma.MissionSpecScalarFieldEnum = {
|
|
|
285
285
|
workingHoursNumberOfMinutesOverlap: 'workingHoursNumberOfMinutesOverlap'
|
|
286
286
|
};
|
|
287
287
|
|
|
288
|
+
exports.Prisma.ProposalScalarFieldEnum = {
|
|
289
|
+
id: 'id',
|
|
290
|
+
createdById: 'createdById',
|
|
291
|
+
missionId: 'missionId',
|
|
292
|
+
createdAt: 'createdAt',
|
|
293
|
+
updatedAt: 'updatedAt',
|
|
294
|
+
expiresAt: 'expiresAt',
|
|
295
|
+
clientName: 'clientName',
|
|
296
|
+
projectName: 'projectName',
|
|
297
|
+
webflowId: 'webflowId',
|
|
298
|
+
publicURL: 'publicURL',
|
|
299
|
+
isShared: 'isShared',
|
|
300
|
+
sharedById: 'sharedById',
|
|
301
|
+
sharedAt: 'sharedAt',
|
|
302
|
+
archivedURL: 'archivedURL',
|
|
303
|
+
schemaVersion: 'schemaVersion',
|
|
304
|
+
template: 'template',
|
|
305
|
+
version: 'version',
|
|
306
|
+
publicUntil: 'publicUntil',
|
|
307
|
+
missionSpecId: 'missionSpecId',
|
|
308
|
+
applications: 'applications'
|
|
309
|
+
};
|
|
310
|
+
|
|
288
311
|
exports.Prisma.RoleCategoryScalarFieldEnum = {
|
|
289
312
|
id: 'id',
|
|
290
313
|
anchors: 'anchors',
|
|
@@ -398,6 +421,16 @@ exports.MissionSpecStatus = exports.$Enums.MissionSpecStatus = {
|
|
|
398
421
|
published: 'published'
|
|
399
422
|
};
|
|
400
423
|
|
|
424
|
+
exports.ProposalSchemaVersion = exports.$Enums.ProposalSchemaVersion = {
|
|
425
|
+
v1: 'v1',
|
|
426
|
+
v2: 'v2'
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
exports.ProposalTemplate = exports.$Enums.ProposalTemplate = {
|
|
430
|
+
sampleV2: 'sampleV2',
|
|
431
|
+
sampleV3: 'sampleV3'
|
|
432
|
+
};
|
|
433
|
+
|
|
401
434
|
exports.PresetID = exports.$Enums.PresetID = {
|
|
402
435
|
custom_team: 'custom_team',
|
|
403
436
|
web_platform: 'web_platform',
|
|
@@ -489,6 +522,18 @@ exports.AutomatedStatusChangeReason = exports.$Enums.AutomatedStatusChangeReason
|
|
|
489
522
|
NOT_INCLUDED_IN_PROPOSAL: 'NOT_INCLUDED_IN_PROPOSAL'
|
|
490
523
|
};
|
|
491
524
|
|
|
525
|
+
exports.ProposalReviewStatus = exports.$Enums.ProposalReviewStatus = {
|
|
526
|
+
NotifiedForInterview: 'NotifiedForInterview',
|
|
527
|
+
pending: 'pending',
|
|
528
|
+
approved: 'approved',
|
|
529
|
+
rejected: 'rejected'
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
exports.ProposalCandidateRecommendation = exports.$Enums.ProposalCandidateRecommendation = {
|
|
533
|
+
Recommended: 'Recommended',
|
|
534
|
+
Alternative: 'Alternative'
|
|
535
|
+
};
|
|
536
|
+
|
|
492
537
|
exports.RegisterRequestType = exports.$Enums.RegisterRequestType = {
|
|
493
538
|
SUPERCHARGE: 'SUPERCHARGE',
|
|
494
539
|
BUILD_PRODUCT: 'BUILD_PRODUCT'
|
|
@@ -516,6 +561,7 @@ exports.Prisma.ModelName = {
|
|
|
516
561
|
MissionApplication: 'MissionApplication',
|
|
517
562
|
MissionPrefill: 'MissionPrefill',
|
|
518
563
|
MissionSpec: 'MissionSpec',
|
|
564
|
+
Proposal: 'Proposal',
|
|
519
565
|
RoleCategory: 'RoleCategory',
|
|
520
566
|
Solution: 'Solution',
|
|
521
567
|
TalentCategory: 'TalentCategory',
|