@a_team/prisma 3.20.0-macos-docker-linux → 3.20.1-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 +4 -4
- package/dist/client/index.d.ts +318 -94
- package/dist/client/index.js +6 -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 +66 -59
- package/package.json +4 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -439,6 +439,15 @@ type TimezoneObject {
|
|
|
439
439
|
utcOffset Int
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
+
type WorkingHours {
|
|
443
|
+
name String?
|
|
444
|
+
utcOffset Int?
|
|
445
|
+
daily LocalHourRange[]
|
|
446
|
+
utcStandardHours LocalHourRange[]
|
|
447
|
+
utcDaylightHours LocalHourRange[]
|
|
448
|
+
numberOfMinutesOverlap Int
|
|
449
|
+
}
|
|
450
|
+
|
|
442
451
|
type StructuredEnrichment {
|
|
443
452
|
name String?
|
|
444
453
|
countryCode String?
|
|
@@ -1209,15 +1218,6 @@ type StatusTime {
|
|
|
1209
1218
|
published DateTime? @db.Date
|
|
1210
1219
|
}
|
|
1211
1220
|
|
|
1212
|
-
type WorkingHours {
|
|
1213
|
-
name String
|
|
1214
|
-
utcOffset Int
|
|
1215
|
-
daily LocalHourRange[]
|
|
1216
|
-
utcStandardHours LocalHourRange[]
|
|
1217
|
-
utcDaylightHours LocalHourRange[]
|
|
1218
|
-
numberOfMinutesOverlap Int?
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
1221
|
type ClientRoleQuestion {
|
|
1222
1222
|
id String? @map("_id") @db.ObjectId
|
|
1223
1223
|
text String
|
|
@@ -1454,6 +1454,8 @@ model RoleHiringCriteria {
|
|
|
1454
1454
|
maxHourlyRate Float?
|
|
1455
1455
|
maxMonthlyRate Float?
|
|
1456
1456
|
|
|
1457
|
+
workingHours WorkingHours?
|
|
1458
|
+
|
|
1457
1459
|
dynamicCriteria CriteriaItem[]
|
|
1458
1460
|
|
|
1459
1461
|
generatingStatus GeneratingStatus @default(COMPLETED)
|
|
@@ -1762,63 +1764,68 @@ type UserPortfolio {
|
|
|
1762
1764
|
password String?
|
|
1763
1765
|
}
|
|
1764
1766
|
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
username String? @unique(map: "username_1")
|
|
1770
|
-
email String @unique(map: "email_1")
|
|
1771
|
-
isAdmin Boolean @default(false)
|
|
1772
|
-
createdMissionsModels Mission[] @relation("creator")
|
|
1773
|
-
ownedMissionsModels Mission[] @relation("ownerModel")
|
|
1774
|
-
type String
|
|
1775
|
-
pictureURL String?
|
|
1776
|
-
status UserStatus
|
|
1777
|
-
createdAt DateTime @default(now()) @db.Date
|
|
1778
|
-
titles String[]
|
|
1779
|
-
scrubbed String?
|
|
1780
|
-
tokenVersion Int
|
|
1781
|
-
clientRegistration ClientRegistration?
|
|
1782
|
-
authoredMissionSpecs MissionSpec[] @relation("author")
|
|
1783
|
-
modifiedMissionSpecs MissionSpec[] @relation("lastModifier")
|
|
1784
|
-
missionPrefills MissionPrefill[] @relation("user")
|
|
1785
|
-
aboutMe String?
|
|
1786
|
-
profileCompleteness ProfileCompletenessObject?
|
|
1787
|
-
cvURL String?
|
|
1788
|
-
linkedin LinkedInObject?
|
|
1789
|
-
rateRange RateRange?
|
|
1790
|
-
talentProfile TalentProfile?
|
|
1791
|
-
onboardingStage InternalOnboardingStage?
|
|
1792
|
-
missionPreferences MissionPreferences?
|
|
1793
|
-
availability Availability?
|
|
1794
|
-
missionApplication MissionApplication[]
|
|
1795
|
-
github GitHubData?
|
|
1796
|
-
dribbble DribbbleData?
|
|
1797
|
-
yearsExperience Float?
|
|
1798
|
-
websites String[]
|
|
1799
|
-
location Location?
|
|
1800
|
-
exclusiveApplication UserExclusiveApplication?
|
|
1767
|
+
type DefaultRates {
|
|
1768
|
+
hourlyRate Float?
|
|
1769
|
+
monthlyRate Float?
|
|
1770
|
+
}
|
|
1801
1771
|
|
|
1772
|
+
model User {
|
|
1773
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
1774
|
+
firstName String?
|
|
1775
|
+
lastName String?
|
|
1776
|
+
username String? @unique(map: "username_1")
|
|
1777
|
+
email String @unique(map: "email_1")
|
|
1778
|
+
isAdmin Boolean @default(false)
|
|
1779
|
+
createdMissionsModels Mission[] @relation("creator")
|
|
1780
|
+
ownedMissionsModels Mission[] @relation("ownerModel")
|
|
1781
|
+
type String
|
|
1782
|
+
pictureURL String?
|
|
1783
|
+
status UserStatus
|
|
1784
|
+
createdAt DateTime @default(now()) @db.Date
|
|
1785
|
+
titles String[]
|
|
1786
|
+
scrubbed String?
|
|
1787
|
+
tokenVersion Int
|
|
1788
|
+
clientRegistration ClientRegistration?
|
|
1789
|
+
authoredMissionSpecs MissionSpec[] @relation("author")
|
|
1790
|
+
modifiedMissionSpecs MissionSpec[] @relation("lastModifier")
|
|
1791
|
+
missionPrefills MissionPrefill[] @relation("user")
|
|
1792
|
+
aboutMe String?
|
|
1793
|
+
profileCompleteness ProfileCompletenessObject?
|
|
1794
|
+
cvURL String?
|
|
1795
|
+
linkedin LinkedInObject?
|
|
1796
|
+
rateRange RateRange?
|
|
1797
|
+
talentProfile TalentProfile?
|
|
1798
|
+
onboardingStage InternalOnboardingStage?
|
|
1799
|
+
missionPreferences MissionPreferences?
|
|
1800
|
+
availability Availability?
|
|
1801
|
+
missionApplication MissionApplication[]
|
|
1802
|
+
github GitHubData?
|
|
1803
|
+
dribbble DribbbleData?
|
|
1804
|
+
yearsExperience Float?
|
|
1805
|
+
websites String[]
|
|
1806
|
+
location Location?
|
|
1807
|
+
exclusiveApplication UserExclusiveApplication?
|
|
1808
|
+
defaultRates DefaultRates?
|
|
1802
1809
|
platformExperience PlatformExperience?
|
|
1803
|
-
authoredProposals Proposal[]
|
|
1804
|
-
sharedProposals Proposal[]
|
|
1810
|
+
authoredProposals Proposal[] @relation("createdByModel")
|
|
1811
|
+
sharedProposals Proposal[] @relation("sharedByModel")
|
|
1805
1812
|
linkedInRecommendations LinkedInRecommendation[]
|
|
1806
|
-
givenReviews UserReview[]
|
|
1807
|
-
receivedReviews UserReview[]
|
|
1808
|
-
calendar Calendar?
|
|
1809
|
-
interviews CalendarEvent[]
|
|
1810
|
-
calendarAvailability CalendarAvailability[]
|
|
1811
|
-
preferences UserPreference?
|
|
1812
|
-
rescheduledInterviews CalendarEvent[]
|
|
1813
|
-
clientInterviews ClientInterview[]
|
|
1814
|
-
builderInterviews ClientInterview[]
|
|
1815
|
-
proposalsAsTeamAdvisor Proposal[]
|
|
1816
|
-
isUsingSharedCalendar Boolean
|
|
1813
|
+
givenReviews UserReview[] @relation("fromUser")
|
|
1814
|
+
receivedReviews UserReview[] @relation("toUser")
|
|
1815
|
+
calendar Calendar? @relation("calendarUser")
|
|
1816
|
+
interviews CalendarEvent[] @relation("eventOwner")
|
|
1817
|
+
calendarAvailability CalendarAvailability[] @relation("userCalendarAvailability")
|
|
1818
|
+
preferences UserPreference? @relation("userPreferences")
|
|
1819
|
+
rescheduledInterviews CalendarEvent[] @relation("reschedulingUser")
|
|
1820
|
+
clientInterviews ClientInterview[] @relation("clientInterviews")
|
|
1821
|
+
builderInterviews ClientInterview[] @relation("builderInterviews")
|
|
1822
|
+
proposalsAsTeamAdvisor Proposal[] @relation("teamAdvisor")
|
|
1823
|
+
isUsingSharedCalendar Boolean @default(false)
|
|
1817
1824
|
timezone TimezoneObject?
|
|
1818
1825
|
acceptTOS AcceptTOS?
|
|
1819
1826
|
acceptTOSHistory AcceptTOS[]
|
|
1820
1827
|
portfolio UserPortfolio?
|
|
1821
|
-
builderContracts Contract[]
|
|
1828
|
+
builderContracts Contract[] @relation("builder")
|
|
1822
1829
|
builderWebsitesData BuilderWebsitesData[]
|
|
1823
1830
|
|
|
1824
1831
|
@@map("users")
|