@a_team/prisma 3.15.3-macos-docker-linux → 3.16.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 +38 -4
- package/dist/client/index-browser.js +34 -0
- package/dist/client/index.d.ts +2620 -119
- package/dist/client/index.js +40 -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 +65 -0
- package/dist/client/wasm.js +34 -0
- package/package.json +4 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -850,6 +850,7 @@ model Mission {
|
|
|
850
850
|
contracts Contract[]
|
|
851
851
|
proposals Proposal[]
|
|
852
852
|
userReviews UserReview[]
|
|
853
|
+
roleHiringCriterias RoleHiringCriteria[]
|
|
853
854
|
|
|
854
855
|
@@unique([roles.id], map: "roles._id_1")
|
|
855
856
|
@@map("missions")
|
|
@@ -1347,6 +1348,70 @@ model RoleCategory {
|
|
|
1347
1348
|
@@map("roleCategories")
|
|
1348
1349
|
}
|
|
1349
1350
|
|
|
1351
|
+
enum HiringCriteriaCategory {
|
|
1352
|
+
skills
|
|
1353
|
+
communication
|
|
1354
|
+
culture
|
|
1355
|
+
experience
|
|
1356
|
+
other
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
enum CriteriaItemType {
|
|
1360
|
+
generated
|
|
1361
|
+
manual
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
type CriteriaItem {
|
|
1365
|
+
name String
|
|
1366
|
+
description String
|
|
1367
|
+
category HiringCriteriaCategory
|
|
1368
|
+
type CriteriaItemType
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
type WeightedCriteriaItem {
|
|
1372
|
+
name String
|
|
1373
|
+
description String
|
|
1374
|
+
category HiringCriteriaCategory
|
|
1375
|
+
type CriteriaItemType
|
|
1376
|
+
weight Float?
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
model RoleHiringCriteria {
|
|
1380
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1381
|
+
roleId String @db.ObjectId
|
|
1382
|
+
|
|
1383
|
+
missionId String @db.ObjectId
|
|
1384
|
+
mission Mission @relation(fields: [missionId], references: [mid])
|
|
1385
|
+
|
|
1386
|
+
requiredSpecializations String[] @db.ObjectId
|
|
1387
|
+
suggestedSpecializations String[] @db.ObjectId
|
|
1388
|
+
|
|
1389
|
+
requiredSkills String[] @db.ObjectId
|
|
1390
|
+
preferredSkills String[] @db.ObjectId
|
|
1391
|
+
|
|
1392
|
+
requiredCountries String[]
|
|
1393
|
+
preferredCountries String[]
|
|
1394
|
+
|
|
1395
|
+
requiredStartDate DateTime? @db.Date
|
|
1396
|
+
requiredWeeklyHours Int?
|
|
1397
|
+
|
|
1398
|
+
maxHourlyRate Float?
|
|
1399
|
+
maxMonthlyRate Float?
|
|
1400
|
+
|
|
1401
|
+
requiredIndustries String[] @db.ObjectId
|
|
1402
|
+
preferredIndustries String[] @db.ObjectId
|
|
1403
|
+
|
|
1404
|
+
hardCriteria CriteriaItem[]
|
|
1405
|
+
weightedCriteria WeightedCriteriaItem[]
|
|
1406
|
+
|
|
1407
|
+
createdAt DateTime? @default(now()) @db.Date
|
|
1408
|
+
updatedAt DateTime? @updatedAt @db.Date
|
|
1409
|
+
|
|
1410
|
+
@@unique([missionId, roleId], map: "missionId_1_roleId_1")
|
|
1411
|
+
@@index([missionId], map: "missionId_1")
|
|
1412
|
+
@@map("roleHiringCriterias")
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1350
1415
|
datasource db {
|
|
1351
1416
|
provider = "mongodb"
|
|
1352
1417
|
url = env("MONGODB_URL")
|
package/dist/client/wasm.js
CHANGED
|
@@ -473,6 +473,26 @@ exports.Prisma.RoleCategoryScalarFieldEnum = {
|
|
|
473
473
|
talentCategoryIds: 'talentCategoryIds'
|
|
474
474
|
};
|
|
475
475
|
|
|
476
|
+
exports.Prisma.RoleHiringCriteriaScalarFieldEnum = {
|
|
477
|
+
id: 'id',
|
|
478
|
+
roleId: 'roleId',
|
|
479
|
+
missionId: 'missionId',
|
|
480
|
+
requiredSpecializations: 'requiredSpecializations',
|
|
481
|
+
suggestedSpecializations: 'suggestedSpecializations',
|
|
482
|
+
requiredSkills: 'requiredSkills',
|
|
483
|
+
preferredSkills: 'preferredSkills',
|
|
484
|
+
requiredCountries: 'requiredCountries',
|
|
485
|
+
preferredCountries: 'preferredCountries',
|
|
486
|
+
requiredStartDate: 'requiredStartDate',
|
|
487
|
+
requiredWeeklyHours: 'requiredWeeklyHours',
|
|
488
|
+
maxHourlyRate: 'maxHourlyRate',
|
|
489
|
+
maxMonthlyRate: 'maxMonthlyRate',
|
|
490
|
+
requiredIndustries: 'requiredIndustries',
|
|
491
|
+
preferredIndustries: 'preferredIndustries',
|
|
492
|
+
createdAt: 'createdAt',
|
|
493
|
+
updatedAt: 'updatedAt'
|
|
494
|
+
};
|
|
495
|
+
|
|
476
496
|
exports.Prisma.SolutionScalarFieldEnum = {
|
|
477
497
|
id: 'id',
|
|
478
498
|
preset: 'preset',
|
|
@@ -839,6 +859,19 @@ exports.ProposalCandidateRecommendation = exports.$Enums.ProposalCandidateRecomm
|
|
|
839
859
|
Alternative: 'Alternative'
|
|
840
860
|
};
|
|
841
861
|
|
|
862
|
+
exports.HiringCriteriaCategory = exports.$Enums.HiringCriteriaCategory = {
|
|
863
|
+
skills: 'skills',
|
|
864
|
+
communication: 'communication',
|
|
865
|
+
culture: 'culture',
|
|
866
|
+
experience: 'experience',
|
|
867
|
+
other: 'other'
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
exports.CriteriaItemType = exports.$Enums.CriteriaItemType = {
|
|
871
|
+
generated: 'generated',
|
|
872
|
+
manual: 'manual'
|
|
873
|
+
};
|
|
874
|
+
|
|
842
875
|
exports.RegisterRequestType = exports.$Enums.RegisterRequestType = {
|
|
843
876
|
SUPERCHARGE: 'SUPERCHARGE',
|
|
844
877
|
BUILD_PRODUCT: 'BUILD_PRODUCT'
|
|
@@ -883,6 +916,7 @@ exports.Prisma.ModelName = {
|
|
|
883
916
|
Proposal: 'Proposal',
|
|
884
917
|
RecordedCall: 'RecordedCall',
|
|
885
918
|
RoleCategory: 'RoleCategory',
|
|
919
|
+
RoleHiringCriteria: 'RoleHiringCriteria',
|
|
886
920
|
Solution: 'Solution',
|
|
887
921
|
TalentCategory: 'TalentCategory',
|
|
888
922
|
TalentIndustry: 'TalentIndustry',
|