@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.
- package/dist/client/edge.js +4 -4
- package/dist/client/index.d.ts +165 -136
- 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 +41 -40
- package/package.json +4 -2
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -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
|
|
100
|
-
credentials
|
|
101
|
-
calendarId
|
|
102
|
-
provider
|
|
103
|
-
userId
|
|
104
|
-
calendarUser
|
|
105
|
-
createdAt
|
|
106
|
-
updatedAt
|
|
107
|
-
events
|
|
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
|
|
174
|
-
calendarEventId
|
|
175
|
-
eventTypeId
|
|
176
|
-
eventType
|
|
177
|
-
eventOwnerId
|
|
178
|
-
eventOwner
|
|
179
|
-
calendarId
|
|
180
|
-
calendar
|
|
181
|
-
title
|
|
182
|
-
description
|
|
183
|
-
startTime
|
|
184
|
-
endTime
|
|
185
|
-
status
|
|
186
|
-
attendees
|
|
187
|
-
metadata
|
|
188
|
-
videoCallData
|
|
189
|
-
cancellationReason
|
|
190
|
-
rescheduledByEmail
|
|
191
|
-
reschedulingUser
|
|
192
|
-
rescheduleReason
|
|
193
|
-
originalStartTime
|
|
194
|
-
originalEndTime
|
|
195
|
-
createdAt
|
|
196
|
-
updatedAt
|
|
197
|
-
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])
|