@a_team/prisma 3.16.6-macos-docker-linux → 3.17.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-d30ceafb4b6f4bd8396ad9c3650fea53872be38957d1d3be1eabed9e100888aa",
2
+ "name": "prisma-client-cd26d6a8d5b84d645bd0f8eb3562a4b5714adf1b27277ce7ae192707d62a1cc7",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -83,6 +83,32 @@ enum BillingPaymentDue {
83
83
  Net120
84
84
  }
85
85
 
86
+ enum BuilderWebsitesSourceType {
87
+ GitHub
88
+ LinkedIn
89
+ PersonalWebsite
90
+ }
91
+
92
+ enum BuilderWebsitesSourceDataType {
93
+ HTML
94
+ JSON
95
+ Markdown
96
+ }
97
+
98
+ model BuilderWebsitesData {
99
+ id String @id @default(auto()) @map("_id") @db.ObjectId
100
+ builderId String @db.ObjectId
101
+ sourceType BuilderWebsitesSourceType
102
+ sourceUrl String
103
+ error String?
104
+ dataType BuilderWebsitesSourceDataType?
105
+ data String?
106
+ createdAt DateTime? @default(now()) @db.Date
107
+ updatedAt DateTime? @updatedAt @db.Date
108
+
109
+ builder User? @relation(fields: [builderId], references: [id])
110
+ }
111
+
86
112
  type CalendarCredentials {
87
113
  scope String?
88
114
  id_token String?
@@ -1683,6 +1709,7 @@ model User {
1683
1709
  acceptTOSHistory AcceptTOS[]
1684
1710
  portfolio UserPortfolio?
1685
1711
  builderContracts Contract[] @relation("builder")
1712
+ builderWebsitesData BuilderWebsitesData[]
1686
1713
 
1687
1714
  @@map("users")
1688
1715
  }
@@ -133,6 +133,18 @@ exports.Prisma.BillingAccountScalarFieldEnum = {
133
133
  updatedAt: 'updatedAt'
134
134
  };
135
135
 
136
+ exports.Prisma.BuilderWebsitesDataScalarFieldEnum = {
137
+ id: 'id',
138
+ builderId: 'builderId',
139
+ sourceType: 'sourceType',
140
+ sourceUrl: 'sourceUrl',
141
+ error: 'error',
142
+ dataType: 'dataType',
143
+ data: 'data',
144
+ createdAt: 'createdAt',
145
+ updatedAt: 'updatedAt'
146
+ };
147
+
136
148
  exports.Prisma.CalendarScalarFieldEnum = {
137
149
  id: 'id',
138
150
  calendarId: 'calendarId',
@@ -576,6 +588,18 @@ exports.Prisma.QueryMode = {
576
588
  default: 'default',
577
589
  insensitive: 'insensitive'
578
590
  };
591
+ exports.BuilderWebsitesSourceType = exports.$Enums.BuilderWebsitesSourceType = {
592
+ GitHub: 'GitHub',
593
+ LinkedIn: 'LinkedIn',
594
+ PersonalWebsite: 'PersonalWebsite'
595
+ };
596
+
597
+ exports.BuilderWebsitesSourceDataType = exports.$Enums.BuilderWebsitesSourceDataType = {
598
+ HTML: 'HTML',
599
+ JSON: 'JSON',
600
+ Markdown: 'Markdown'
601
+ };
602
+
579
603
  exports.CalendarProvider = exports.$Enums.CalendarProvider = {
580
604
  google: 'google',
581
605
  apple: 'apple',
@@ -895,6 +919,7 @@ exports.MissionRoleVisibilityStatus = exports.$Enums.MissionRoleVisibilityStatus
895
919
  exports.Prisma.ModelName = {
896
920
  Account: 'Account',
897
921
  BillingAccount: 'BillingAccount',
922
+ BuilderWebsitesData: 'BuilderWebsitesData',
898
923
  Calendar: 'Calendar',
899
924
  CalendarAvailability: 'CalendarAvailability',
900
925
  CalendarEvent: 'CalendarEvent',
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.16.6-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.17.0-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {