@a_team/prisma 3.13.5-macos-docker-linux → 3.13.6-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-03a228f8a1f695be593acb8c0824b29cb4ae44b496dd4b172ce3eb814943e4cc",
2
+ "name": "prisma-client-54238d3f690038effc8b1340b109ebd5b9466b80a859bd7b204d8ec6575a7ebe",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -84,11 +84,6 @@ type CalendarCredentials {
84
84
  ext_expires_in Int?
85
85
  }
86
86
 
87
- type NotificationChannel {
88
- channelId String
89
- resourceId String
90
- }
91
-
92
87
  enum CalendarProvider {
93
88
  google
94
89
  apple
@@ -96,16 +91,15 @@ enum CalendarProvider {
96
91
  }
97
92
 
98
93
  model Calendar {
99
- id String @id @default(auto()) @map("_id") @db.ObjectId
100
- credentials CalendarCredentials
101
- calendarId String
102
- provider CalendarProvider
103
- userId String @unique @db.ObjectId
104
- calendarUser User @relation(fields: [userId], references: [id], name: "calendarUser")
105
- createdAt DateTime @default(now()) @db.Date
106
- updatedAt DateTime @updatedAt @db.Date
107
- events CalendarEvent[] @relation("calendar")
108
- notificationChannel NotificationChannel?
94
+ id String @id @default(auto()) @map("_id") @db.ObjectId
95
+ credentials CalendarCredentials
96
+ calendarId String
97
+ provider CalendarProvider
98
+ userId String @unique @db.ObjectId
99
+ calendarUser User @relation(fields: [userId], references: [id], name: "calendarUser")
100
+ createdAt DateTime @default(now()) @db.Date
101
+ updatedAt DateTime @updatedAt @db.Date
102
+ events CalendarEvent[] @relation("calendar")
109
103
 
110
104
  @@unique([userId, provider])
111
105
  @@index([provider])
@@ -169,32 +163,39 @@ type VideoCallData {
169
163
  password String?
170
164
  }
171
165
 
166
+ type NotificationChannel {
167
+ channelId String
168
+ resourceId String
169
+ expiration String
170
+ }
171
+
172
172
  model CalendarEvent {
173
- id String @id @default(auto()) @map("_id") @db.ObjectId
174
- calendarEventId String? // events with no auto confirmation won't initially have the event id.
175
- eventTypeId String @db.ObjectId
176
- eventType CalendarEventType @relation(fields: [eventTypeId], references: [id], name: "eventType")
177
- eventOwnerId String @db.ObjectId
178
- eventOwner User @relation(fields: [eventOwnerId], references: [id], name: "eventOwner")
179
- calendarId String @db.ObjectId
180
- calendar Calendar @relation(fields: [calendarId], references: [id], name: "calendar")
181
- title String?
182
- description String?
183
- startTime String
184
- endTime String
185
- status EventStatus
186
- attendees Attendee[]
187
- metadata EventMetadata?
188
- videoCallData VideoCallData?
189
- cancellationReason String?
190
- rescheduledByEmail String?
191
- reschedulingUser User? @relation(fields: [rescheduledByEmail], references: [email], name: "reschedulingUser")
192
- rescheduleReason String?
193
- originalStartTime String?
194
- originalEndTime String?
195
- createdAt DateTime
196
- updatedAt DateTime
197
- clientInterview ClientInterview?
173
+ id String @id @default(auto()) @map("_id") @db.ObjectId
174
+ calendarEventId String? // events with no auto confirmation won't initially have the event id.
175
+ eventTypeId String @db.ObjectId
176
+ eventType CalendarEventType @relation(fields: [eventTypeId], references: [id], name: "eventType")
177
+ eventOwnerId String @db.ObjectId
178
+ eventOwner User @relation(fields: [eventOwnerId], references: [id], name: "eventOwner")
179
+ calendarId String @db.ObjectId
180
+ calendar Calendar @relation(fields: [calendarId], references: [id], name: "calendar")
181
+ title String?
182
+ description String?
183
+ startTime String
184
+ endTime String
185
+ status EventStatus
186
+ attendees Attendee[]
187
+ metadata EventMetadata?
188
+ videoCallData VideoCallData?
189
+ cancellationReason String?
190
+ rescheduledByEmail String?
191
+ reschedulingUser User? @relation(fields: [rescheduledByEmail], references: [email], name: "reschedulingUser")
192
+ rescheduleReason String?
193
+ originalStartTime String?
194
+ originalEndTime String?
195
+ createdAt DateTime
196
+ updatedAt DateTime
197
+ clientInterview ClientInterview?
198
+ notificationChannel NotificationChannel?
198
199
 
199
200
  @@index([eventOwnerId])
200
201
  @@index([calendarId])
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.13.5-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.13.6-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {