@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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-52d95a4545fce30b10629f4ecd97838266991f92e318f9147ee43c846c5f418d",
2
+ "name": "prisma-client-bd2bc301e276c5b9083cec60194c74065387d580fc4ec8fae989e52ca48eab4d",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -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")
@@ -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',
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.15.3-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.16.0-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {