@actuate-media/cms-core 0.2.3 → 0.3.1
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/LICENSE +21 -21
- package/dist/__tests__/auth/session.test.js +1 -1
- package/dist/__tests__/auth/session.test.js.map +1 -1
- package/dist/api/handler-factory.d.ts.map +1 -1
- package/dist/api/handler-factory.js +85 -68
- package/dist/api/handler-factory.js.map +1 -1
- package/dist/api/handlers.d.ts +1 -1
- package/dist/api/handlers.d.ts.map +1 -1
- package/dist/api/handlers.js +212 -31
- package/dist/api/handlers.js.map +1 -1
- package/dist/api/index.d.ts +2 -19
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1 -54
- package/dist/api/index.js.map +1 -1
- package/dist/api/router.d.ts +20 -0
- package/dist/api/router.d.ts.map +1 -0
- package/dist/api/router.js +55 -0
- package/dist/api/router.js.map +1 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -1
- package/dist/i18n/index.js +8 -8
- package/dist/media/optimize.d.ts +2 -3
- package/dist/media/optimize.d.ts.map +1 -1
- package/dist/media/optimize.js +10 -1
- package/dist/media/optimize.js.map +1 -1
- package/dist/next.d.ts +3 -3
- package/dist/next.d.ts.map +1 -1
- package/dist/next.js +8 -8
- package/dist/next.js.map +1 -1
- package/dist/search/index.js +22 -22
- package/dist/security/anomaly-detection.d.ts +1 -1
- package/dist/security/anomaly-detection.d.ts.map +1 -1
- package/dist/security/anomaly-detection.js +27 -5
- package/dist/security/anomaly-detection.js.map +1 -1
- package/dist/security/reauth.d.ts +1 -1
- package/dist/security/reauth.d.ts.map +1 -1
- package/dist/security/reauth.js +12 -4
- package/dist/security/reauth.js.map +1 -1
- package/dist/security/sanitize.d.ts +1 -1
- package/dist/security/sanitize.d.ts.map +1 -1
- package/dist/security/sanitize.js +9 -11
- package/dist/security/sanitize.js.map +1 -1
- package/dist/security/webhook.d.ts +1 -1
- package/dist/security/webhook.d.ts.map +1 -1
- package/dist/security/webhook.js +24 -3
- package/dist/security/webhook.js.map +1 -1
- package/package.json +3 -2
- package/prisma/cms-schema.prisma +237 -237
- package/prisma/migrations/0001_init/migration.sql +384 -384
- package/prisma/migrations/0002_folders/migration.sql +39 -39
- package/prisma/migrations/0003_search_and_webhooks/migration.sql +50 -50
- package/prisma/migrations/migration_lock.toml +3 -3
- package/prisma/schema.prisma +485 -485
- package/prisma/seed.ts +82 -82
- package/generated/browser.ts +0 -109
- package/generated/client.ts +0 -133
- package/generated/commonInputTypes.ts +0 -709
- package/generated/enums.ts +0 -125
- package/generated/internal/class.ts +0 -376
- package/generated/internal/prismaNamespace.ts +0 -2617
- package/generated/internal/prismaNamespaceBrowser.ts +0 -611
- package/generated/models/ApiKey.ts +0 -1550
- package/generated/models/AuditLog.ts +0 -1206
- package/generated/models/BackupRecord.ts +0 -1250
- package/generated/models/ContentLock.ts +0 -1472
- package/generated/models/ContentTemplate.ts +0 -1416
- package/generated/models/Document.ts +0 -3005
- package/generated/models/Folder.ts +0 -1904
- package/generated/models/FormSubmission.ts +0 -1200
- package/generated/models/InAppNotification.ts +0 -1457
- package/generated/models/Media.ts +0 -2340
- package/generated/models/MediaUsage.ts +0 -1472
- package/generated/models/OAuthAccount.ts +0 -1463
- package/generated/models/Redirect.ts +0 -1284
- package/generated/models/Session.ts +0 -1492
- package/generated/models/Site.ts +0 -1206
- package/generated/models/User.ts +0 -3513
- package/generated/models/Version.ts +0 -1511
- package/generated/models/WorkflowState.ts +0 -1514
- package/generated/models.ts +0 -29
package/generated/models/User.ts
DELETED
|
@@ -1,3513 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This file exports the `User` model and its related types.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Model User
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type UserModel = runtime.Types.Result.DefaultSelection<Prisma.$UserPayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateUser = {
|
|
22
|
-
_count: UserCountAggregateOutputType | null
|
|
23
|
-
_min: UserMinAggregateOutputType | null
|
|
24
|
-
_max: UserMaxAggregateOutputType | null
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export type UserMinAggregateOutputType = {
|
|
28
|
-
id: string | null
|
|
29
|
-
email: string | null
|
|
30
|
-
name: string | null
|
|
31
|
-
avatarUrl: string | null
|
|
32
|
-
role: $Enums.UserRole | null
|
|
33
|
-
passwordHash: string | null
|
|
34
|
-
totpSecret: string | null
|
|
35
|
-
authProvider: string | null
|
|
36
|
-
isActive: boolean | null
|
|
37
|
-
isApproved: boolean | null
|
|
38
|
-
emailVerified: boolean | null
|
|
39
|
-
lastLoginAt: Date | null
|
|
40
|
-
createdAt: Date | null
|
|
41
|
-
updatedAt: Date | null
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export type UserMaxAggregateOutputType = {
|
|
45
|
-
id: string | null
|
|
46
|
-
email: string | null
|
|
47
|
-
name: string | null
|
|
48
|
-
avatarUrl: string | null
|
|
49
|
-
role: $Enums.UserRole | null
|
|
50
|
-
passwordHash: string | null
|
|
51
|
-
totpSecret: string | null
|
|
52
|
-
authProvider: string | null
|
|
53
|
-
isActive: boolean | null
|
|
54
|
-
isApproved: boolean | null
|
|
55
|
-
emailVerified: boolean | null
|
|
56
|
-
lastLoginAt: Date | null
|
|
57
|
-
createdAt: Date | null
|
|
58
|
-
updatedAt: Date | null
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type UserCountAggregateOutputType = {
|
|
62
|
-
id: number
|
|
63
|
-
email: number
|
|
64
|
-
name: number
|
|
65
|
-
avatarUrl: number
|
|
66
|
-
role: number
|
|
67
|
-
passwordHash: number
|
|
68
|
-
totpSecret: number
|
|
69
|
-
authProvider: number
|
|
70
|
-
isActive: number
|
|
71
|
-
isApproved: number
|
|
72
|
-
emailVerified: number
|
|
73
|
-
lastLoginAt: number
|
|
74
|
-
createdAt: number
|
|
75
|
-
updatedAt: number
|
|
76
|
-
_all: number
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
export type UserMinAggregateInputType = {
|
|
81
|
-
id?: true
|
|
82
|
-
email?: true
|
|
83
|
-
name?: true
|
|
84
|
-
avatarUrl?: true
|
|
85
|
-
role?: true
|
|
86
|
-
passwordHash?: true
|
|
87
|
-
totpSecret?: true
|
|
88
|
-
authProvider?: true
|
|
89
|
-
isActive?: true
|
|
90
|
-
isApproved?: true
|
|
91
|
-
emailVerified?: true
|
|
92
|
-
lastLoginAt?: true
|
|
93
|
-
createdAt?: true
|
|
94
|
-
updatedAt?: true
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export type UserMaxAggregateInputType = {
|
|
98
|
-
id?: true
|
|
99
|
-
email?: true
|
|
100
|
-
name?: true
|
|
101
|
-
avatarUrl?: true
|
|
102
|
-
role?: true
|
|
103
|
-
passwordHash?: true
|
|
104
|
-
totpSecret?: true
|
|
105
|
-
authProvider?: true
|
|
106
|
-
isActive?: true
|
|
107
|
-
isApproved?: true
|
|
108
|
-
emailVerified?: true
|
|
109
|
-
lastLoginAt?: true
|
|
110
|
-
createdAt?: true
|
|
111
|
-
updatedAt?: true
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export type UserCountAggregateInputType = {
|
|
115
|
-
id?: true
|
|
116
|
-
email?: true
|
|
117
|
-
name?: true
|
|
118
|
-
avatarUrl?: true
|
|
119
|
-
role?: true
|
|
120
|
-
passwordHash?: true
|
|
121
|
-
totpSecret?: true
|
|
122
|
-
authProvider?: true
|
|
123
|
-
isActive?: true
|
|
124
|
-
isApproved?: true
|
|
125
|
-
emailVerified?: true
|
|
126
|
-
lastLoginAt?: true
|
|
127
|
-
createdAt?: true
|
|
128
|
-
updatedAt?: true
|
|
129
|
-
_all?: true
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export type UserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
133
|
-
/**
|
|
134
|
-
* Filter which User to aggregate.
|
|
135
|
-
*/
|
|
136
|
-
where?: Prisma.UserWhereInput
|
|
137
|
-
/**
|
|
138
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
139
|
-
*
|
|
140
|
-
* Determine the order of Users to fetch.
|
|
141
|
-
*/
|
|
142
|
-
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
143
|
-
/**
|
|
144
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
145
|
-
*
|
|
146
|
-
* Sets the start position
|
|
147
|
-
*/
|
|
148
|
-
cursor?: Prisma.UserWhereUniqueInput
|
|
149
|
-
/**
|
|
150
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
151
|
-
*
|
|
152
|
-
* Take `±n` Users from the position of the cursor.
|
|
153
|
-
*/
|
|
154
|
-
take?: number
|
|
155
|
-
/**
|
|
156
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
-
*
|
|
158
|
-
* Skip the first `n` Users.
|
|
159
|
-
*/
|
|
160
|
-
skip?: number
|
|
161
|
-
/**
|
|
162
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
-
*
|
|
164
|
-
* Count returned Users
|
|
165
|
-
**/
|
|
166
|
-
_count?: true | UserCountAggregateInputType
|
|
167
|
-
/**
|
|
168
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
-
*
|
|
170
|
-
* Select which fields to find the minimum value
|
|
171
|
-
**/
|
|
172
|
-
_min?: UserMinAggregateInputType
|
|
173
|
-
/**
|
|
174
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
-
*
|
|
176
|
-
* Select which fields to find the maximum value
|
|
177
|
-
**/
|
|
178
|
-
_max?: UserMaxAggregateInputType
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
export type GetUserAggregateType<T extends UserAggregateArgs> = {
|
|
182
|
-
[P in keyof T & keyof AggregateUser]: P extends '_count' | 'count'
|
|
183
|
-
? T[P] extends true
|
|
184
|
-
? number
|
|
185
|
-
: Prisma.GetScalarType<T[P], AggregateUser[P]>
|
|
186
|
-
: Prisma.GetScalarType<T[P], AggregateUser[P]>
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
export type UserGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
193
|
-
where?: Prisma.UserWhereInput
|
|
194
|
-
orderBy?: Prisma.UserOrderByWithAggregationInput | Prisma.UserOrderByWithAggregationInput[]
|
|
195
|
-
by: Prisma.UserScalarFieldEnum[] | Prisma.UserScalarFieldEnum
|
|
196
|
-
having?: Prisma.UserScalarWhereWithAggregatesInput
|
|
197
|
-
take?: number
|
|
198
|
-
skip?: number
|
|
199
|
-
_count?: UserCountAggregateInputType | true
|
|
200
|
-
_min?: UserMinAggregateInputType
|
|
201
|
-
_max?: UserMaxAggregateInputType
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export type UserGroupByOutputType = {
|
|
205
|
-
id: string
|
|
206
|
-
email: string
|
|
207
|
-
name: string
|
|
208
|
-
avatarUrl: string | null
|
|
209
|
-
role: $Enums.UserRole
|
|
210
|
-
passwordHash: string | null
|
|
211
|
-
totpSecret: string | null
|
|
212
|
-
authProvider: string | null
|
|
213
|
-
isActive: boolean
|
|
214
|
-
isApproved: boolean
|
|
215
|
-
emailVerified: boolean
|
|
216
|
-
lastLoginAt: Date | null
|
|
217
|
-
createdAt: Date
|
|
218
|
-
updatedAt: Date
|
|
219
|
-
_count: UserCountAggregateOutputType | null
|
|
220
|
-
_min: UserMinAggregateOutputType | null
|
|
221
|
-
_max: UserMaxAggregateOutputType | null
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise<
|
|
225
|
-
Array<
|
|
226
|
-
Prisma.PickEnumerable<UserGroupByOutputType, T['by']> &
|
|
227
|
-
{
|
|
228
|
-
[P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count'
|
|
229
|
-
? T[P] extends boolean
|
|
230
|
-
? number
|
|
231
|
-
: Prisma.GetScalarType<T[P], UserGroupByOutputType[P]>
|
|
232
|
-
: Prisma.GetScalarType<T[P], UserGroupByOutputType[P]>
|
|
233
|
-
}
|
|
234
|
-
>
|
|
235
|
-
>
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
export type UserWhereInput = {
|
|
240
|
-
AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
241
|
-
OR?: Prisma.UserWhereInput[]
|
|
242
|
-
NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
243
|
-
id?: Prisma.StringFilter<"User"> | string
|
|
244
|
-
email?: Prisma.StringFilter<"User"> | string
|
|
245
|
-
name?: Prisma.StringFilter<"User"> | string
|
|
246
|
-
avatarUrl?: Prisma.StringNullableFilter<"User"> | string | null
|
|
247
|
-
role?: Prisma.EnumUserRoleFilter<"User"> | $Enums.UserRole
|
|
248
|
-
passwordHash?: Prisma.StringNullableFilter<"User"> | string | null
|
|
249
|
-
totpSecret?: Prisma.StringNullableFilter<"User"> | string | null
|
|
250
|
-
authProvider?: Prisma.StringNullableFilter<"User"> | string | null
|
|
251
|
-
isActive?: Prisma.BoolFilter<"User"> | boolean
|
|
252
|
-
isApproved?: Prisma.BoolFilter<"User"> | boolean
|
|
253
|
-
emailVerified?: Prisma.BoolFilter<"User"> | boolean
|
|
254
|
-
lastLoginAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null
|
|
255
|
-
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
256
|
-
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
257
|
-
sessions?: Prisma.SessionListRelationFilter
|
|
258
|
-
oauthAccounts?: Prisma.OAuthAccountListRelationFilter
|
|
259
|
-
apiKeys?: Prisma.ApiKeyListRelationFilter
|
|
260
|
-
documents?: Prisma.DocumentListRelationFilter
|
|
261
|
-
updatedDocuments?: Prisma.DocumentListRelationFilter
|
|
262
|
-
versions?: Prisma.VersionListRelationFilter
|
|
263
|
-
media?: Prisma.MediaListRelationFilter
|
|
264
|
-
contentLocks?: Prisma.ContentLockListRelationFilter
|
|
265
|
-
notifications?: Prisma.InAppNotificationListRelationFilter
|
|
266
|
-
contentTemplates?: Prisma.ContentTemplateListRelationFilter
|
|
267
|
-
workflowAssigned?: Prisma.WorkflowStateListRelationFilter
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
export type UserOrderByWithRelationInput = {
|
|
271
|
-
id?: Prisma.SortOrder
|
|
272
|
-
email?: Prisma.SortOrder
|
|
273
|
-
name?: Prisma.SortOrder
|
|
274
|
-
avatarUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
275
|
-
role?: Prisma.SortOrder
|
|
276
|
-
passwordHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
277
|
-
totpSecret?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
278
|
-
authProvider?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
279
|
-
isActive?: Prisma.SortOrder
|
|
280
|
-
isApproved?: Prisma.SortOrder
|
|
281
|
-
emailVerified?: Prisma.SortOrder
|
|
282
|
-
lastLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
283
|
-
createdAt?: Prisma.SortOrder
|
|
284
|
-
updatedAt?: Prisma.SortOrder
|
|
285
|
-
sessions?: Prisma.SessionOrderByRelationAggregateInput
|
|
286
|
-
oauthAccounts?: Prisma.OAuthAccountOrderByRelationAggregateInput
|
|
287
|
-
apiKeys?: Prisma.ApiKeyOrderByRelationAggregateInput
|
|
288
|
-
documents?: Prisma.DocumentOrderByRelationAggregateInput
|
|
289
|
-
updatedDocuments?: Prisma.DocumentOrderByRelationAggregateInput
|
|
290
|
-
versions?: Prisma.VersionOrderByRelationAggregateInput
|
|
291
|
-
media?: Prisma.MediaOrderByRelationAggregateInput
|
|
292
|
-
contentLocks?: Prisma.ContentLockOrderByRelationAggregateInput
|
|
293
|
-
notifications?: Prisma.InAppNotificationOrderByRelationAggregateInput
|
|
294
|
-
contentTemplates?: Prisma.ContentTemplateOrderByRelationAggregateInput
|
|
295
|
-
workflowAssigned?: Prisma.WorkflowStateOrderByRelationAggregateInput
|
|
296
|
-
_relevance?: Prisma.UserOrderByRelevanceInput
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
300
|
-
id?: string
|
|
301
|
-
email?: string
|
|
302
|
-
AND?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
303
|
-
OR?: Prisma.UserWhereInput[]
|
|
304
|
-
NOT?: Prisma.UserWhereInput | Prisma.UserWhereInput[]
|
|
305
|
-
name?: Prisma.StringFilter<"User"> | string
|
|
306
|
-
avatarUrl?: Prisma.StringNullableFilter<"User"> | string | null
|
|
307
|
-
role?: Prisma.EnumUserRoleFilter<"User"> | $Enums.UserRole
|
|
308
|
-
passwordHash?: Prisma.StringNullableFilter<"User"> | string | null
|
|
309
|
-
totpSecret?: Prisma.StringNullableFilter<"User"> | string | null
|
|
310
|
-
authProvider?: Prisma.StringNullableFilter<"User"> | string | null
|
|
311
|
-
isActive?: Prisma.BoolFilter<"User"> | boolean
|
|
312
|
-
isApproved?: Prisma.BoolFilter<"User"> | boolean
|
|
313
|
-
emailVerified?: Prisma.BoolFilter<"User"> | boolean
|
|
314
|
-
lastLoginAt?: Prisma.DateTimeNullableFilter<"User"> | Date | string | null
|
|
315
|
-
createdAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
316
|
-
updatedAt?: Prisma.DateTimeFilter<"User"> | Date | string
|
|
317
|
-
sessions?: Prisma.SessionListRelationFilter
|
|
318
|
-
oauthAccounts?: Prisma.OAuthAccountListRelationFilter
|
|
319
|
-
apiKeys?: Prisma.ApiKeyListRelationFilter
|
|
320
|
-
documents?: Prisma.DocumentListRelationFilter
|
|
321
|
-
updatedDocuments?: Prisma.DocumentListRelationFilter
|
|
322
|
-
versions?: Prisma.VersionListRelationFilter
|
|
323
|
-
media?: Prisma.MediaListRelationFilter
|
|
324
|
-
contentLocks?: Prisma.ContentLockListRelationFilter
|
|
325
|
-
notifications?: Prisma.InAppNotificationListRelationFilter
|
|
326
|
-
contentTemplates?: Prisma.ContentTemplateListRelationFilter
|
|
327
|
-
workflowAssigned?: Prisma.WorkflowStateListRelationFilter
|
|
328
|
-
}, "id" | "email">
|
|
329
|
-
|
|
330
|
-
export type UserOrderByWithAggregationInput = {
|
|
331
|
-
id?: Prisma.SortOrder
|
|
332
|
-
email?: Prisma.SortOrder
|
|
333
|
-
name?: Prisma.SortOrder
|
|
334
|
-
avatarUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
335
|
-
role?: Prisma.SortOrder
|
|
336
|
-
passwordHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
337
|
-
totpSecret?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
338
|
-
authProvider?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
339
|
-
isActive?: Prisma.SortOrder
|
|
340
|
-
isApproved?: Prisma.SortOrder
|
|
341
|
-
emailVerified?: Prisma.SortOrder
|
|
342
|
-
lastLoginAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
343
|
-
createdAt?: Prisma.SortOrder
|
|
344
|
-
updatedAt?: Prisma.SortOrder
|
|
345
|
-
_count?: Prisma.UserCountOrderByAggregateInput
|
|
346
|
-
_max?: Prisma.UserMaxOrderByAggregateInput
|
|
347
|
-
_min?: Prisma.UserMinOrderByAggregateInput
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
export type UserScalarWhereWithAggregatesInput = {
|
|
351
|
-
AND?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[]
|
|
352
|
-
OR?: Prisma.UserScalarWhereWithAggregatesInput[]
|
|
353
|
-
NOT?: Prisma.UserScalarWhereWithAggregatesInput | Prisma.UserScalarWhereWithAggregatesInput[]
|
|
354
|
-
id?: Prisma.StringWithAggregatesFilter<"User"> | string
|
|
355
|
-
email?: Prisma.StringWithAggregatesFilter<"User"> | string
|
|
356
|
-
name?: Prisma.StringWithAggregatesFilter<"User"> | string
|
|
357
|
-
avatarUrl?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null
|
|
358
|
-
role?: Prisma.EnumUserRoleWithAggregatesFilter<"User"> | $Enums.UserRole
|
|
359
|
-
passwordHash?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null
|
|
360
|
-
totpSecret?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null
|
|
361
|
-
authProvider?: Prisma.StringNullableWithAggregatesFilter<"User"> | string | null
|
|
362
|
-
isActive?: Prisma.BoolWithAggregatesFilter<"User"> | boolean
|
|
363
|
-
isApproved?: Prisma.BoolWithAggregatesFilter<"User"> | boolean
|
|
364
|
-
emailVerified?: Prisma.BoolWithAggregatesFilter<"User"> | boolean
|
|
365
|
-
lastLoginAt?: Prisma.DateTimeNullableWithAggregatesFilter<"User"> | Date | string | null
|
|
366
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
367
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
export type UserCreateInput = {
|
|
371
|
-
id?: string
|
|
372
|
-
email: string
|
|
373
|
-
name: string
|
|
374
|
-
avatarUrl?: string | null
|
|
375
|
-
role?: $Enums.UserRole
|
|
376
|
-
passwordHash?: string | null
|
|
377
|
-
totpSecret?: string | null
|
|
378
|
-
authProvider?: string | null
|
|
379
|
-
isActive?: boolean
|
|
380
|
-
isApproved?: boolean
|
|
381
|
-
emailVerified?: boolean
|
|
382
|
-
lastLoginAt?: Date | string | null
|
|
383
|
-
createdAt?: Date | string
|
|
384
|
-
updatedAt?: Date | string
|
|
385
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
386
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
387
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
388
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
389
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
390
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
391
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
392
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
393
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
394
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
395
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
export type UserUncheckedCreateInput = {
|
|
399
|
-
id?: string
|
|
400
|
-
email: string
|
|
401
|
-
name: string
|
|
402
|
-
avatarUrl?: string | null
|
|
403
|
-
role?: $Enums.UserRole
|
|
404
|
-
passwordHash?: string | null
|
|
405
|
-
totpSecret?: string | null
|
|
406
|
-
authProvider?: string | null
|
|
407
|
-
isActive?: boolean
|
|
408
|
-
isApproved?: boolean
|
|
409
|
-
emailVerified?: boolean
|
|
410
|
-
lastLoginAt?: Date | string | null
|
|
411
|
-
createdAt?: Date | string
|
|
412
|
-
updatedAt?: Date | string
|
|
413
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
414
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
415
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
416
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
417
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
418
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
419
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
420
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
421
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
422
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
423
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
export type UserUpdateInput = {
|
|
427
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
428
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
429
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
430
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
431
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
432
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
433
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
434
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
435
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
436
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
437
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
438
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
439
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
440
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
441
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
442
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
443
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
444
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
445
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
446
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
447
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
448
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
449
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
450
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
451
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
export type UserUncheckedUpdateInput = {
|
|
455
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
456
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
457
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
458
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
459
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
460
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
461
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
462
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
463
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
464
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
465
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
466
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
467
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
468
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
469
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
470
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
471
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
472
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
473
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
474
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
475
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
476
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
477
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
478
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
479
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
export type UserCreateManyInput = {
|
|
483
|
-
id?: string
|
|
484
|
-
email: string
|
|
485
|
-
name: string
|
|
486
|
-
avatarUrl?: string | null
|
|
487
|
-
role?: $Enums.UserRole
|
|
488
|
-
passwordHash?: string | null
|
|
489
|
-
totpSecret?: string | null
|
|
490
|
-
authProvider?: string | null
|
|
491
|
-
isActive?: boolean
|
|
492
|
-
isApproved?: boolean
|
|
493
|
-
emailVerified?: boolean
|
|
494
|
-
lastLoginAt?: Date | string | null
|
|
495
|
-
createdAt?: Date | string
|
|
496
|
-
updatedAt?: Date | string
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
export type UserUpdateManyMutationInput = {
|
|
500
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
501
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
502
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
503
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
504
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
505
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
506
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
507
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
508
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
509
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
510
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
511
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
512
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
513
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
export type UserUncheckedUpdateManyInput = {
|
|
517
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
518
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
519
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
520
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
521
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
522
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
523
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
524
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
525
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
526
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
527
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
528
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
529
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
530
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
export type UserOrderByRelevanceInput = {
|
|
534
|
-
fields: Prisma.UserOrderByRelevanceFieldEnum | Prisma.UserOrderByRelevanceFieldEnum[]
|
|
535
|
-
sort: Prisma.SortOrder
|
|
536
|
-
search: string
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
export type UserCountOrderByAggregateInput = {
|
|
540
|
-
id?: Prisma.SortOrder
|
|
541
|
-
email?: Prisma.SortOrder
|
|
542
|
-
name?: Prisma.SortOrder
|
|
543
|
-
avatarUrl?: Prisma.SortOrder
|
|
544
|
-
role?: Prisma.SortOrder
|
|
545
|
-
passwordHash?: Prisma.SortOrder
|
|
546
|
-
totpSecret?: Prisma.SortOrder
|
|
547
|
-
authProvider?: Prisma.SortOrder
|
|
548
|
-
isActive?: Prisma.SortOrder
|
|
549
|
-
isApproved?: Prisma.SortOrder
|
|
550
|
-
emailVerified?: Prisma.SortOrder
|
|
551
|
-
lastLoginAt?: Prisma.SortOrder
|
|
552
|
-
createdAt?: Prisma.SortOrder
|
|
553
|
-
updatedAt?: Prisma.SortOrder
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
export type UserMaxOrderByAggregateInput = {
|
|
557
|
-
id?: Prisma.SortOrder
|
|
558
|
-
email?: Prisma.SortOrder
|
|
559
|
-
name?: Prisma.SortOrder
|
|
560
|
-
avatarUrl?: Prisma.SortOrder
|
|
561
|
-
role?: Prisma.SortOrder
|
|
562
|
-
passwordHash?: Prisma.SortOrder
|
|
563
|
-
totpSecret?: Prisma.SortOrder
|
|
564
|
-
authProvider?: Prisma.SortOrder
|
|
565
|
-
isActive?: Prisma.SortOrder
|
|
566
|
-
isApproved?: Prisma.SortOrder
|
|
567
|
-
emailVerified?: Prisma.SortOrder
|
|
568
|
-
lastLoginAt?: Prisma.SortOrder
|
|
569
|
-
createdAt?: Prisma.SortOrder
|
|
570
|
-
updatedAt?: Prisma.SortOrder
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
export type UserMinOrderByAggregateInput = {
|
|
574
|
-
id?: Prisma.SortOrder
|
|
575
|
-
email?: Prisma.SortOrder
|
|
576
|
-
name?: Prisma.SortOrder
|
|
577
|
-
avatarUrl?: Prisma.SortOrder
|
|
578
|
-
role?: Prisma.SortOrder
|
|
579
|
-
passwordHash?: Prisma.SortOrder
|
|
580
|
-
totpSecret?: Prisma.SortOrder
|
|
581
|
-
authProvider?: Prisma.SortOrder
|
|
582
|
-
isActive?: Prisma.SortOrder
|
|
583
|
-
isApproved?: Prisma.SortOrder
|
|
584
|
-
emailVerified?: Prisma.SortOrder
|
|
585
|
-
lastLoginAt?: Prisma.SortOrder
|
|
586
|
-
createdAt?: Prisma.SortOrder
|
|
587
|
-
updatedAt?: Prisma.SortOrder
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
export type UserScalarRelationFilter = {
|
|
591
|
-
is?: Prisma.UserWhereInput
|
|
592
|
-
isNot?: Prisma.UserWhereInput
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
export type UserNullableScalarRelationFilter = {
|
|
596
|
-
is?: Prisma.UserWhereInput | null
|
|
597
|
-
isNot?: Prisma.UserWhereInput | null
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
export type StringFieldUpdateOperationsInput = {
|
|
601
|
-
set?: string
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
export type NullableStringFieldUpdateOperationsInput = {
|
|
605
|
-
set?: string | null
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
export type EnumUserRoleFieldUpdateOperationsInput = {
|
|
609
|
-
set?: $Enums.UserRole
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
export type BoolFieldUpdateOperationsInput = {
|
|
613
|
-
set?: boolean
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
617
|
-
set?: Date | string | null
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
export type DateTimeFieldUpdateOperationsInput = {
|
|
621
|
-
set?: Date | string
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export type UserCreateNestedOneWithoutOauthAccountsInput = {
|
|
625
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutOauthAccountsInput, Prisma.UserUncheckedCreateWithoutOauthAccountsInput>
|
|
626
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutOauthAccountsInput
|
|
627
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
export type UserUpdateOneRequiredWithoutOauthAccountsNestedInput = {
|
|
631
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutOauthAccountsInput, Prisma.UserUncheckedCreateWithoutOauthAccountsInput>
|
|
632
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutOauthAccountsInput
|
|
633
|
-
upsert?: Prisma.UserUpsertWithoutOauthAccountsInput
|
|
634
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
635
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutOauthAccountsInput, Prisma.UserUpdateWithoutOauthAccountsInput>, Prisma.UserUncheckedUpdateWithoutOauthAccountsInput>
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
export type UserCreateNestedOneWithoutSessionsInput = {
|
|
639
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
640
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput
|
|
641
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
export type UserUpdateOneRequiredWithoutSessionsNestedInput = {
|
|
645
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
646
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutSessionsInput
|
|
647
|
-
upsert?: Prisma.UserUpsertWithoutSessionsInput
|
|
648
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
649
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutSessionsInput, Prisma.UserUpdateWithoutSessionsInput>, Prisma.UserUncheckedUpdateWithoutSessionsInput>
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export type UserCreateNestedOneWithoutApiKeysInput = {
|
|
653
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutApiKeysInput, Prisma.UserUncheckedCreateWithoutApiKeysInput>
|
|
654
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutApiKeysInput
|
|
655
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
export type UserUpdateOneRequiredWithoutApiKeysNestedInput = {
|
|
659
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutApiKeysInput, Prisma.UserUncheckedCreateWithoutApiKeysInput>
|
|
660
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutApiKeysInput
|
|
661
|
-
upsert?: Prisma.UserUpsertWithoutApiKeysInput
|
|
662
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
663
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutApiKeysInput, Prisma.UserUpdateWithoutApiKeysInput>, Prisma.UserUncheckedUpdateWithoutApiKeysInput>
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
export type UserCreateNestedOneWithoutDocumentsInput = {
|
|
667
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutDocumentsInput, Prisma.UserUncheckedCreateWithoutDocumentsInput>
|
|
668
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutDocumentsInput
|
|
669
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
export type UserCreateNestedOneWithoutUpdatedDocumentsInput = {
|
|
673
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutUpdatedDocumentsInput, Prisma.UserUncheckedCreateWithoutUpdatedDocumentsInput>
|
|
674
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutUpdatedDocumentsInput
|
|
675
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
export type UserUpdateOneRequiredWithoutDocumentsNestedInput = {
|
|
679
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutDocumentsInput, Prisma.UserUncheckedCreateWithoutDocumentsInput>
|
|
680
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutDocumentsInput
|
|
681
|
-
upsert?: Prisma.UserUpsertWithoutDocumentsInput
|
|
682
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
683
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutDocumentsInput, Prisma.UserUpdateWithoutDocumentsInput>, Prisma.UserUncheckedUpdateWithoutDocumentsInput>
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
export type UserUpdateOneRequiredWithoutUpdatedDocumentsNestedInput = {
|
|
687
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutUpdatedDocumentsInput, Prisma.UserUncheckedCreateWithoutUpdatedDocumentsInput>
|
|
688
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutUpdatedDocumentsInput
|
|
689
|
-
upsert?: Prisma.UserUpsertWithoutUpdatedDocumentsInput
|
|
690
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
691
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutUpdatedDocumentsInput, Prisma.UserUpdateWithoutUpdatedDocumentsInput>, Prisma.UserUncheckedUpdateWithoutUpdatedDocumentsInput>
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
export type UserCreateNestedOneWithoutVersionsInput = {
|
|
695
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutVersionsInput, Prisma.UserUncheckedCreateWithoutVersionsInput>
|
|
696
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutVersionsInput
|
|
697
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
export type UserUpdateOneRequiredWithoutVersionsNestedInput = {
|
|
701
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutVersionsInput, Prisma.UserUncheckedCreateWithoutVersionsInput>
|
|
702
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutVersionsInput
|
|
703
|
-
upsert?: Prisma.UserUpsertWithoutVersionsInput
|
|
704
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
705
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutVersionsInput, Prisma.UserUpdateWithoutVersionsInput>, Prisma.UserUncheckedUpdateWithoutVersionsInput>
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
export type UserCreateNestedOneWithoutMediaInput = {
|
|
709
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutMediaInput, Prisma.UserUncheckedCreateWithoutMediaInput>
|
|
710
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutMediaInput
|
|
711
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
export type UserUpdateOneRequiredWithoutMediaNestedInput = {
|
|
715
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutMediaInput, Prisma.UserUncheckedCreateWithoutMediaInput>
|
|
716
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutMediaInput
|
|
717
|
-
upsert?: Prisma.UserUpsertWithoutMediaInput
|
|
718
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
719
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutMediaInput, Prisma.UserUpdateWithoutMediaInput>, Prisma.UserUncheckedUpdateWithoutMediaInput>
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
export type UserCreateNestedOneWithoutContentLocksInput = {
|
|
723
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutContentLocksInput, Prisma.UserUncheckedCreateWithoutContentLocksInput>
|
|
724
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutContentLocksInput
|
|
725
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
export type UserUpdateOneRequiredWithoutContentLocksNestedInput = {
|
|
729
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutContentLocksInput, Prisma.UserUncheckedCreateWithoutContentLocksInput>
|
|
730
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutContentLocksInput
|
|
731
|
-
upsert?: Prisma.UserUpsertWithoutContentLocksInput
|
|
732
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
733
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutContentLocksInput, Prisma.UserUpdateWithoutContentLocksInput>, Prisma.UserUncheckedUpdateWithoutContentLocksInput>
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
export type UserCreateNestedOneWithoutNotificationsInput = {
|
|
737
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
738
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationsInput
|
|
739
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
export type UserUpdateOneRequiredWithoutNotificationsNestedInput = {
|
|
743
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
744
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutNotificationsInput
|
|
745
|
-
upsert?: Prisma.UserUpsertWithoutNotificationsInput
|
|
746
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
747
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutNotificationsInput, Prisma.UserUpdateWithoutNotificationsInput>, Prisma.UserUncheckedUpdateWithoutNotificationsInput>
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
export type UserCreateNestedOneWithoutContentTemplatesInput = {
|
|
751
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutContentTemplatesInput, Prisma.UserUncheckedCreateWithoutContentTemplatesInput>
|
|
752
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutContentTemplatesInput
|
|
753
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
export type UserUpdateOneRequiredWithoutContentTemplatesNestedInput = {
|
|
757
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutContentTemplatesInput, Prisma.UserUncheckedCreateWithoutContentTemplatesInput>
|
|
758
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutContentTemplatesInput
|
|
759
|
-
upsert?: Prisma.UserUpsertWithoutContentTemplatesInput
|
|
760
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
761
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutContentTemplatesInput, Prisma.UserUpdateWithoutContentTemplatesInput>, Prisma.UserUncheckedUpdateWithoutContentTemplatesInput>
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
export type UserCreateNestedOneWithoutWorkflowAssignedInput = {
|
|
765
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>
|
|
766
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutWorkflowAssignedInput
|
|
767
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
export type UserUpdateOneWithoutWorkflowAssignedNestedInput = {
|
|
771
|
-
create?: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>
|
|
772
|
-
connectOrCreate?: Prisma.UserCreateOrConnectWithoutWorkflowAssignedInput
|
|
773
|
-
upsert?: Prisma.UserUpsertWithoutWorkflowAssignedInput
|
|
774
|
-
disconnect?: Prisma.UserWhereInput | boolean
|
|
775
|
-
delete?: Prisma.UserWhereInput | boolean
|
|
776
|
-
connect?: Prisma.UserWhereUniqueInput
|
|
777
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.UserUpdateToOneWithWhereWithoutWorkflowAssignedInput, Prisma.UserUpdateWithoutWorkflowAssignedInput>, Prisma.UserUncheckedUpdateWithoutWorkflowAssignedInput>
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
export type UserCreateWithoutOauthAccountsInput = {
|
|
781
|
-
id?: string
|
|
782
|
-
email: string
|
|
783
|
-
name: string
|
|
784
|
-
avatarUrl?: string | null
|
|
785
|
-
role?: $Enums.UserRole
|
|
786
|
-
passwordHash?: string | null
|
|
787
|
-
totpSecret?: string | null
|
|
788
|
-
authProvider?: string | null
|
|
789
|
-
isActive?: boolean
|
|
790
|
-
isApproved?: boolean
|
|
791
|
-
emailVerified?: boolean
|
|
792
|
-
lastLoginAt?: Date | string | null
|
|
793
|
-
createdAt?: Date | string
|
|
794
|
-
updatedAt?: Date | string
|
|
795
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
796
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
797
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
798
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
799
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
800
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
801
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
802
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
803
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
804
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
export type UserUncheckedCreateWithoutOauthAccountsInput = {
|
|
808
|
-
id?: string
|
|
809
|
-
email: string
|
|
810
|
-
name: string
|
|
811
|
-
avatarUrl?: string | null
|
|
812
|
-
role?: $Enums.UserRole
|
|
813
|
-
passwordHash?: string | null
|
|
814
|
-
totpSecret?: string | null
|
|
815
|
-
authProvider?: string | null
|
|
816
|
-
isActive?: boolean
|
|
817
|
-
isApproved?: boolean
|
|
818
|
-
emailVerified?: boolean
|
|
819
|
-
lastLoginAt?: Date | string | null
|
|
820
|
-
createdAt?: Date | string
|
|
821
|
-
updatedAt?: Date | string
|
|
822
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
823
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
824
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
825
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
826
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
827
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
828
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
829
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
830
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
831
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
export type UserCreateOrConnectWithoutOauthAccountsInput = {
|
|
835
|
-
where: Prisma.UserWhereUniqueInput
|
|
836
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutOauthAccountsInput, Prisma.UserUncheckedCreateWithoutOauthAccountsInput>
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export type UserUpsertWithoutOauthAccountsInput = {
|
|
840
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutOauthAccountsInput, Prisma.UserUncheckedUpdateWithoutOauthAccountsInput>
|
|
841
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutOauthAccountsInput, Prisma.UserUncheckedCreateWithoutOauthAccountsInput>
|
|
842
|
-
where?: Prisma.UserWhereInput
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
export type UserUpdateToOneWithWhereWithoutOauthAccountsInput = {
|
|
846
|
-
where?: Prisma.UserWhereInput
|
|
847
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutOauthAccountsInput, Prisma.UserUncheckedUpdateWithoutOauthAccountsInput>
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
export type UserUpdateWithoutOauthAccountsInput = {
|
|
851
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
852
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
853
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
854
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
855
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
856
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
857
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
858
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
859
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
860
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
861
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
862
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
863
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
864
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
865
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
866
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
867
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
868
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
869
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
870
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
871
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
872
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
873
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
874
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
export type UserUncheckedUpdateWithoutOauthAccountsInput = {
|
|
878
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
879
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
880
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
881
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
882
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
883
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
884
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
885
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
886
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
887
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
888
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
889
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
890
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
891
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
892
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
893
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
894
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
895
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
896
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
897
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
898
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
899
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
900
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
901
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
export type UserCreateWithoutSessionsInput = {
|
|
905
|
-
id?: string
|
|
906
|
-
email: string
|
|
907
|
-
name: string
|
|
908
|
-
avatarUrl?: string | null
|
|
909
|
-
role?: $Enums.UserRole
|
|
910
|
-
passwordHash?: string | null
|
|
911
|
-
totpSecret?: string | null
|
|
912
|
-
authProvider?: string | null
|
|
913
|
-
isActive?: boolean
|
|
914
|
-
isApproved?: boolean
|
|
915
|
-
emailVerified?: boolean
|
|
916
|
-
lastLoginAt?: Date | string | null
|
|
917
|
-
createdAt?: Date | string
|
|
918
|
-
updatedAt?: Date | string
|
|
919
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
920
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
921
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
922
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
923
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
924
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
925
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
926
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
927
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
928
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
export type UserUncheckedCreateWithoutSessionsInput = {
|
|
932
|
-
id?: string
|
|
933
|
-
email: string
|
|
934
|
-
name: string
|
|
935
|
-
avatarUrl?: string | null
|
|
936
|
-
role?: $Enums.UserRole
|
|
937
|
-
passwordHash?: string | null
|
|
938
|
-
totpSecret?: string | null
|
|
939
|
-
authProvider?: string | null
|
|
940
|
-
isActive?: boolean
|
|
941
|
-
isApproved?: boolean
|
|
942
|
-
emailVerified?: boolean
|
|
943
|
-
lastLoginAt?: Date | string | null
|
|
944
|
-
createdAt?: Date | string
|
|
945
|
-
updatedAt?: Date | string
|
|
946
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
947
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
948
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
949
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
950
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
951
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
952
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
953
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
954
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
955
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
export type UserCreateOrConnectWithoutSessionsInput = {
|
|
959
|
-
where: Prisma.UserWhereUniqueInput
|
|
960
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
export type UserUpsertWithoutSessionsInput = {
|
|
964
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutSessionsInput, Prisma.UserUncheckedUpdateWithoutSessionsInput>
|
|
965
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutSessionsInput, Prisma.UserUncheckedCreateWithoutSessionsInput>
|
|
966
|
-
where?: Prisma.UserWhereInput
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
export type UserUpdateToOneWithWhereWithoutSessionsInput = {
|
|
970
|
-
where?: Prisma.UserWhereInput
|
|
971
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutSessionsInput, Prisma.UserUncheckedUpdateWithoutSessionsInput>
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
export type UserUpdateWithoutSessionsInput = {
|
|
975
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
976
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
977
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
978
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
979
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
980
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
981
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
982
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
983
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
984
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
985
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
986
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
987
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
988
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
989
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
990
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
991
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
992
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
993
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
994
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
995
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
996
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
997
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
998
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
export type UserUncheckedUpdateWithoutSessionsInput = {
|
|
1002
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1003
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1004
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1005
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1006
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1007
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1008
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1009
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1010
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1011
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1012
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1013
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1014
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1015
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1016
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1017
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
1018
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1019
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
1020
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
1021
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
1022
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
1023
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
1024
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1025
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
export type UserCreateWithoutApiKeysInput = {
|
|
1029
|
-
id?: string
|
|
1030
|
-
email: string
|
|
1031
|
-
name: string
|
|
1032
|
-
avatarUrl?: string | null
|
|
1033
|
-
role?: $Enums.UserRole
|
|
1034
|
-
passwordHash?: string | null
|
|
1035
|
-
totpSecret?: string | null
|
|
1036
|
-
authProvider?: string | null
|
|
1037
|
-
isActive?: boolean
|
|
1038
|
-
isApproved?: boolean
|
|
1039
|
-
emailVerified?: boolean
|
|
1040
|
-
lastLoginAt?: Date | string | null
|
|
1041
|
-
createdAt?: Date | string
|
|
1042
|
-
updatedAt?: Date | string
|
|
1043
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1044
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1045
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
1046
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
1047
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
1048
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
1049
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
1050
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
1051
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
1052
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
export type UserUncheckedCreateWithoutApiKeysInput = {
|
|
1056
|
-
id?: string
|
|
1057
|
-
email: string
|
|
1058
|
-
name: string
|
|
1059
|
-
avatarUrl?: string | null
|
|
1060
|
-
role?: $Enums.UserRole
|
|
1061
|
-
passwordHash?: string | null
|
|
1062
|
-
totpSecret?: string | null
|
|
1063
|
-
authProvider?: string | null
|
|
1064
|
-
isActive?: boolean
|
|
1065
|
-
isApproved?: boolean
|
|
1066
|
-
emailVerified?: boolean
|
|
1067
|
-
lastLoginAt?: Date | string | null
|
|
1068
|
-
createdAt?: Date | string
|
|
1069
|
-
updatedAt?: Date | string
|
|
1070
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1071
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1072
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1073
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
1074
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
1075
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
1076
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
1077
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
1078
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1079
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1080
|
-
}
|
|
1081
|
-
|
|
1082
|
-
export type UserCreateOrConnectWithoutApiKeysInput = {
|
|
1083
|
-
where: Prisma.UserWhereUniqueInput
|
|
1084
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutApiKeysInput, Prisma.UserUncheckedCreateWithoutApiKeysInput>
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
export type UserUpsertWithoutApiKeysInput = {
|
|
1088
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutApiKeysInput, Prisma.UserUncheckedUpdateWithoutApiKeysInput>
|
|
1089
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutApiKeysInput, Prisma.UserUncheckedCreateWithoutApiKeysInput>
|
|
1090
|
-
where?: Prisma.UserWhereInput
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
export type UserUpdateToOneWithWhereWithoutApiKeysInput = {
|
|
1094
|
-
where?: Prisma.UserWhereInput
|
|
1095
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutApiKeysInput, Prisma.UserUncheckedUpdateWithoutApiKeysInput>
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
export type UserUpdateWithoutApiKeysInput = {
|
|
1099
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1100
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1101
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1102
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1103
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1104
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1105
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1106
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1107
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1108
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1109
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1110
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1111
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1112
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1113
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1114
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1115
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
1116
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
1117
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
1118
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
1119
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
1120
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
1121
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
1122
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
export type UserUncheckedUpdateWithoutApiKeysInput = {
|
|
1126
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1127
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1128
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1129
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1130
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1131
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1132
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1133
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1134
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1135
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1136
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1137
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1138
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1139
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1140
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
1141
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1142
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1143
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
1144
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
1145
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
1146
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
1147
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
1148
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1149
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1150
|
-
}
|
|
1151
|
-
|
|
1152
|
-
export type UserCreateWithoutDocumentsInput = {
|
|
1153
|
-
id?: string
|
|
1154
|
-
email: string
|
|
1155
|
-
name: string
|
|
1156
|
-
avatarUrl?: string | null
|
|
1157
|
-
role?: $Enums.UserRole
|
|
1158
|
-
passwordHash?: string | null
|
|
1159
|
-
totpSecret?: string | null
|
|
1160
|
-
authProvider?: string | null
|
|
1161
|
-
isActive?: boolean
|
|
1162
|
-
isApproved?: boolean
|
|
1163
|
-
emailVerified?: boolean
|
|
1164
|
-
lastLoginAt?: Date | string | null
|
|
1165
|
-
createdAt?: Date | string
|
|
1166
|
-
updatedAt?: Date | string
|
|
1167
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1168
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1169
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
1170
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
1171
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
1172
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
1173
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
1174
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
1175
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
1176
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
export type UserUncheckedCreateWithoutDocumentsInput = {
|
|
1180
|
-
id?: string
|
|
1181
|
-
email: string
|
|
1182
|
-
name: string
|
|
1183
|
-
avatarUrl?: string | null
|
|
1184
|
-
role?: $Enums.UserRole
|
|
1185
|
-
passwordHash?: string | null
|
|
1186
|
-
totpSecret?: string | null
|
|
1187
|
-
authProvider?: string | null
|
|
1188
|
-
isActive?: boolean
|
|
1189
|
-
isApproved?: boolean
|
|
1190
|
-
emailVerified?: boolean
|
|
1191
|
-
lastLoginAt?: Date | string | null
|
|
1192
|
-
createdAt?: Date | string
|
|
1193
|
-
updatedAt?: Date | string
|
|
1194
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1195
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1196
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
1197
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
1198
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
1199
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
1200
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
1201
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
1202
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1203
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
export type UserCreateOrConnectWithoutDocumentsInput = {
|
|
1207
|
-
where: Prisma.UserWhereUniqueInput
|
|
1208
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutDocumentsInput, Prisma.UserUncheckedCreateWithoutDocumentsInput>
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
export type UserCreateWithoutUpdatedDocumentsInput = {
|
|
1212
|
-
id?: string
|
|
1213
|
-
email: string
|
|
1214
|
-
name: string
|
|
1215
|
-
avatarUrl?: string | null
|
|
1216
|
-
role?: $Enums.UserRole
|
|
1217
|
-
passwordHash?: string | null
|
|
1218
|
-
totpSecret?: string | null
|
|
1219
|
-
authProvider?: string | null
|
|
1220
|
-
isActive?: boolean
|
|
1221
|
-
isApproved?: boolean
|
|
1222
|
-
emailVerified?: boolean
|
|
1223
|
-
lastLoginAt?: Date | string | null
|
|
1224
|
-
createdAt?: Date | string
|
|
1225
|
-
updatedAt?: Date | string
|
|
1226
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1227
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1228
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
1229
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
1230
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
1231
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
1232
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
1233
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
1234
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
1235
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
export type UserUncheckedCreateWithoutUpdatedDocumentsInput = {
|
|
1239
|
-
id?: string
|
|
1240
|
-
email: string
|
|
1241
|
-
name: string
|
|
1242
|
-
avatarUrl?: string | null
|
|
1243
|
-
role?: $Enums.UserRole
|
|
1244
|
-
passwordHash?: string | null
|
|
1245
|
-
totpSecret?: string | null
|
|
1246
|
-
authProvider?: string | null
|
|
1247
|
-
isActive?: boolean
|
|
1248
|
-
isApproved?: boolean
|
|
1249
|
-
emailVerified?: boolean
|
|
1250
|
-
lastLoginAt?: Date | string | null
|
|
1251
|
-
createdAt?: Date | string
|
|
1252
|
-
updatedAt?: Date | string
|
|
1253
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1254
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1255
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
1256
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1257
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
1258
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
1259
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
1260
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
1261
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1262
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
export type UserCreateOrConnectWithoutUpdatedDocumentsInput = {
|
|
1266
|
-
where: Prisma.UserWhereUniqueInput
|
|
1267
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutUpdatedDocumentsInput, Prisma.UserUncheckedCreateWithoutUpdatedDocumentsInput>
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
export type UserUpsertWithoutDocumentsInput = {
|
|
1271
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutDocumentsInput, Prisma.UserUncheckedUpdateWithoutDocumentsInput>
|
|
1272
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutDocumentsInput, Prisma.UserUncheckedCreateWithoutDocumentsInput>
|
|
1273
|
-
where?: Prisma.UserWhereInput
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
export type UserUpdateToOneWithWhereWithoutDocumentsInput = {
|
|
1277
|
-
where?: Prisma.UserWhereInput
|
|
1278
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutDocumentsInput, Prisma.UserUncheckedUpdateWithoutDocumentsInput>
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
export type UserUpdateWithoutDocumentsInput = {
|
|
1282
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1283
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1284
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1285
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1286
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1287
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1288
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1289
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1290
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1291
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1292
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1293
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1294
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1295
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1296
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1297
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1298
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
1299
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
1300
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
1301
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
1302
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
1303
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
1304
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
1305
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
export type UserUncheckedUpdateWithoutDocumentsInput = {
|
|
1309
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1310
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1311
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1312
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1313
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1314
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1315
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1316
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1317
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1318
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1319
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1320
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1321
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1322
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1323
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
1324
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1325
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
1326
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
1327
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
1328
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
1329
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
1330
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
1331
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1332
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
export type UserUpsertWithoutUpdatedDocumentsInput = {
|
|
1336
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutUpdatedDocumentsInput, Prisma.UserUncheckedUpdateWithoutUpdatedDocumentsInput>
|
|
1337
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutUpdatedDocumentsInput, Prisma.UserUncheckedCreateWithoutUpdatedDocumentsInput>
|
|
1338
|
-
where?: Prisma.UserWhereInput
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
export type UserUpdateToOneWithWhereWithoutUpdatedDocumentsInput = {
|
|
1342
|
-
where?: Prisma.UserWhereInput
|
|
1343
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutUpdatedDocumentsInput, Prisma.UserUncheckedUpdateWithoutUpdatedDocumentsInput>
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
export type UserUpdateWithoutUpdatedDocumentsInput = {
|
|
1347
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1348
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1349
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1350
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1351
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1352
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1353
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1354
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1355
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1356
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1357
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1358
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1359
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1360
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1361
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1362
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1363
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
1364
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
1365
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
1366
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
1367
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
1368
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
1369
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
1370
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
export type UserUncheckedUpdateWithoutUpdatedDocumentsInput = {
|
|
1374
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1375
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1376
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1377
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1378
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1379
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1380
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1381
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1382
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1383
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1384
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1385
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1386
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1387
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1388
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
1389
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1390
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
1391
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1392
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
1393
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
1394
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
1395
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
1396
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1397
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
export type UserCreateWithoutVersionsInput = {
|
|
1401
|
-
id?: string
|
|
1402
|
-
email: string
|
|
1403
|
-
name: string
|
|
1404
|
-
avatarUrl?: string | null
|
|
1405
|
-
role?: $Enums.UserRole
|
|
1406
|
-
passwordHash?: string | null
|
|
1407
|
-
totpSecret?: string | null
|
|
1408
|
-
authProvider?: string | null
|
|
1409
|
-
isActive?: boolean
|
|
1410
|
-
isApproved?: boolean
|
|
1411
|
-
emailVerified?: boolean
|
|
1412
|
-
lastLoginAt?: Date | string | null
|
|
1413
|
-
createdAt?: Date | string
|
|
1414
|
-
updatedAt?: Date | string
|
|
1415
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1416
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1417
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
1418
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
1419
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
1420
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
1421
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
1422
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
1423
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
1424
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
export type UserUncheckedCreateWithoutVersionsInput = {
|
|
1428
|
-
id?: string
|
|
1429
|
-
email: string
|
|
1430
|
-
name: string
|
|
1431
|
-
avatarUrl?: string | null
|
|
1432
|
-
role?: $Enums.UserRole
|
|
1433
|
-
passwordHash?: string | null
|
|
1434
|
-
totpSecret?: string | null
|
|
1435
|
-
authProvider?: string | null
|
|
1436
|
-
isActive?: boolean
|
|
1437
|
-
isApproved?: boolean
|
|
1438
|
-
emailVerified?: boolean
|
|
1439
|
-
lastLoginAt?: Date | string | null
|
|
1440
|
-
createdAt?: Date | string
|
|
1441
|
-
updatedAt?: Date | string
|
|
1442
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1443
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1444
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
1445
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1446
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
1447
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
1448
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
1449
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
1450
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1451
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
export type UserCreateOrConnectWithoutVersionsInput = {
|
|
1455
|
-
where: Prisma.UserWhereUniqueInput
|
|
1456
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutVersionsInput, Prisma.UserUncheckedCreateWithoutVersionsInput>
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
export type UserUpsertWithoutVersionsInput = {
|
|
1460
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutVersionsInput, Prisma.UserUncheckedUpdateWithoutVersionsInput>
|
|
1461
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutVersionsInput, Prisma.UserUncheckedCreateWithoutVersionsInput>
|
|
1462
|
-
where?: Prisma.UserWhereInput
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
export type UserUpdateToOneWithWhereWithoutVersionsInput = {
|
|
1466
|
-
where?: Prisma.UserWhereInput
|
|
1467
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutVersionsInput, Prisma.UserUncheckedUpdateWithoutVersionsInput>
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
export type UserUpdateWithoutVersionsInput = {
|
|
1471
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1472
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1473
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1474
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1475
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1476
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1477
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1478
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1479
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1480
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1481
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1482
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1483
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1484
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1485
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1486
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1487
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
1488
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
1489
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
1490
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
1491
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
1492
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
1493
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
1494
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1497
|
-
export type UserUncheckedUpdateWithoutVersionsInput = {
|
|
1498
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1499
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1500
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1501
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1502
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1503
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1504
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1505
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1506
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1507
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1508
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1509
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1510
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1511
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1512
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
1513
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1514
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
1515
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1516
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
1517
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
1518
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
1519
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
1520
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1521
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
export type UserCreateWithoutMediaInput = {
|
|
1525
|
-
id?: string
|
|
1526
|
-
email: string
|
|
1527
|
-
name: string
|
|
1528
|
-
avatarUrl?: string | null
|
|
1529
|
-
role?: $Enums.UserRole
|
|
1530
|
-
passwordHash?: string | null
|
|
1531
|
-
totpSecret?: string | null
|
|
1532
|
-
authProvider?: string | null
|
|
1533
|
-
isActive?: boolean
|
|
1534
|
-
isApproved?: boolean
|
|
1535
|
-
emailVerified?: boolean
|
|
1536
|
-
lastLoginAt?: Date | string | null
|
|
1537
|
-
createdAt?: Date | string
|
|
1538
|
-
updatedAt?: Date | string
|
|
1539
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1540
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1541
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
1542
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
1543
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
1544
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
1545
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
1546
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
1547
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
1548
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
export type UserUncheckedCreateWithoutMediaInput = {
|
|
1552
|
-
id?: string
|
|
1553
|
-
email: string
|
|
1554
|
-
name: string
|
|
1555
|
-
avatarUrl?: string | null
|
|
1556
|
-
role?: $Enums.UserRole
|
|
1557
|
-
passwordHash?: string | null
|
|
1558
|
-
totpSecret?: string | null
|
|
1559
|
-
authProvider?: string | null
|
|
1560
|
-
isActive?: boolean
|
|
1561
|
-
isApproved?: boolean
|
|
1562
|
-
emailVerified?: boolean
|
|
1563
|
-
lastLoginAt?: Date | string | null
|
|
1564
|
-
createdAt?: Date | string
|
|
1565
|
-
updatedAt?: Date | string
|
|
1566
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1567
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1568
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
1569
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1570
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
1571
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
1572
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
1573
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
1574
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1575
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
export type UserCreateOrConnectWithoutMediaInput = {
|
|
1579
|
-
where: Prisma.UserWhereUniqueInput
|
|
1580
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutMediaInput, Prisma.UserUncheckedCreateWithoutMediaInput>
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
export type UserUpsertWithoutMediaInput = {
|
|
1584
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutMediaInput, Prisma.UserUncheckedUpdateWithoutMediaInput>
|
|
1585
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutMediaInput, Prisma.UserUncheckedCreateWithoutMediaInput>
|
|
1586
|
-
where?: Prisma.UserWhereInput
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1589
|
-
export type UserUpdateToOneWithWhereWithoutMediaInput = {
|
|
1590
|
-
where?: Prisma.UserWhereInput
|
|
1591
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutMediaInput, Prisma.UserUncheckedUpdateWithoutMediaInput>
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
export type UserUpdateWithoutMediaInput = {
|
|
1595
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1596
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1597
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1598
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1599
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1600
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1601
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1602
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1603
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1604
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1605
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1606
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1607
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1608
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1609
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1610
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1611
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
1612
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
1613
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
1614
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
1615
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
1616
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
1617
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
1618
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
export type UserUncheckedUpdateWithoutMediaInput = {
|
|
1622
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1623
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1624
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1625
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1626
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1627
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1628
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1629
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1630
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1631
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1632
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1633
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1634
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1635
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1636
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
1637
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1638
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
1639
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1640
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
1641
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
1642
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
1643
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
1644
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1645
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
export type UserCreateWithoutContentLocksInput = {
|
|
1649
|
-
id?: string
|
|
1650
|
-
email: string
|
|
1651
|
-
name: string
|
|
1652
|
-
avatarUrl?: string | null
|
|
1653
|
-
role?: $Enums.UserRole
|
|
1654
|
-
passwordHash?: string | null
|
|
1655
|
-
totpSecret?: string | null
|
|
1656
|
-
authProvider?: string | null
|
|
1657
|
-
isActive?: boolean
|
|
1658
|
-
isApproved?: boolean
|
|
1659
|
-
emailVerified?: boolean
|
|
1660
|
-
lastLoginAt?: Date | string | null
|
|
1661
|
-
createdAt?: Date | string
|
|
1662
|
-
updatedAt?: Date | string
|
|
1663
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1664
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1665
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
1666
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
1667
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
1668
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
1669
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
1670
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
1671
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
1672
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
|
-
export type UserUncheckedCreateWithoutContentLocksInput = {
|
|
1676
|
-
id?: string
|
|
1677
|
-
email: string
|
|
1678
|
-
name: string
|
|
1679
|
-
avatarUrl?: string | null
|
|
1680
|
-
role?: $Enums.UserRole
|
|
1681
|
-
passwordHash?: string | null
|
|
1682
|
-
totpSecret?: string | null
|
|
1683
|
-
authProvider?: string | null
|
|
1684
|
-
isActive?: boolean
|
|
1685
|
-
isApproved?: boolean
|
|
1686
|
-
emailVerified?: boolean
|
|
1687
|
-
lastLoginAt?: Date | string | null
|
|
1688
|
-
createdAt?: Date | string
|
|
1689
|
-
updatedAt?: Date | string
|
|
1690
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1691
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1692
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
1693
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1694
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
1695
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
1696
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
1697
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
1698
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1699
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
|
-
export type UserCreateOrConnectWithoutContentLocksInput = {
|
|
1703
|
-
where: Prisma.UserWhereUniqueInput
|
|
1704
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutContentLocksInput, Prisma.UserUncheckedCreateWithoutContentLocksInput>
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
export type UserUpsertWithoutContentLocksInput = {
|
|
1708
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutContentLocksInput, Prisma.UserUncheckedUpdateWithoutContentLocksInput>
|
|
1709
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutContentLocksInput, Prisma.UserUncheckedCreateWithoutContentLocksInput>
|
|
1710
|
-
where?: Prisma.UserWhereInput
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
export type UserUpdateToOneWithWhereWithoutContentLocksInput = {
|
|
1714
|
-
where?: Prisma.UserWhereInput
|
|
1715
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutContentLocksInput, Prisma.UserUncheckedUpdateWithoutContentLocksInput>
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
export type UserUpdateWithoutContentLocksInput = {
|
|
1719
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1720
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1721
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1722
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1723
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1724
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1725
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1726
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1727
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1728
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1729
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1730
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1731
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1732
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1733
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1734
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1735
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
1736
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
1737
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
1738
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
1739
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
1740
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
1741
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
1742
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
export type UserUncheckedUpdateWithoutContentLocksInput = {
|
|
1746
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1747
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1748
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1749
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1750
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1751
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1752
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1753
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1754
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1755
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1756
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1757
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1758
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1759
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1760
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
1761
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1762
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
1763
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1764
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
1765
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
1766
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
1767
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
1768
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1769
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
export type UserCreateWithoutNotificationsInput = {
|
|
1773
|
-
id?: string
|
|
1774
|
-
email: string
|
|
1775
|
-
name: string
|
|
1776
|
-
avatarUrl?: string | null
|
|
1777
|
-
role?: $Enums.UserRole
|
|
1778
|
-
passwordHash?: string | null
|
|
1779
|
-
totpSecret?: string | null
|
|
1780
|
-
authProvider?: string | null
|
|
1781
|
-
isActive?: boolean
|
|
1782
|
-
isApproved?: boolean
|
|
1783
|
-
emailVerified?: boolean
|
|
1784
|
-
lastLoginAt?: Date | string | null
|
|
1785
|
-
createdAt?: Date | string
|
|
1786
|
-
updatedAt?: Date | string
|
|
1787
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1788
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1789
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
1790
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
1791
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
1792
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
1793
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
1794
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
1795
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
1796
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
export type UserUncheckedCreateWithoutNotificationsInput = {
|
|
1800
|
-
id?: string
|
|
1801
|
-
email: string
|
|
1802
|
-
name: string
|
|
1803
|
-
avatarUrl?: string | null
|
|
1804
|
-
role?: $Enums.UserRole
|
|
1805
|
-
passwordHash?: string | null
|
|
1806
|
-
totpSecret?: string | null
|
|
1807
|
-
authProvider?: string | null
|
|
1808
|
-
isActive?: boolean
|
|
1809
|
-
isApproved?: boolean
|
|
1810
|
-
emailVerified?: boolean
|
|
1811
|
-
lastLoginAt?: Date | string | null
|
|
1812
|
-
createdAt?: Date | string
|
|
1813
|
-
updatedAt?: Date | string
|
|
1814
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1815
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1816
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
1817
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1818
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
1819
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
1820
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
1821
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
1822
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1823
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
export type UserCreateOrConnectWithoutNotificationsInput = {
|
|
1827
|
-
where: Prisma.UserWhereUniqueInput
|
|
1828
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
1829
|
-
}
|
|
1830
|
-
|
|
1831
|
-
export type UserUpsertWithoutNotificationsInput = {
|
|
1832
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutNotificationsInput, Prisma.UserUncheckedUpdateWithoutNotificationsInput>
|
|
1833
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutNotificationsInput, Prisma.UserUncheckedCreateWithoutNotificationsInput>
|
|
1834
|
-
where?: Prisma.UserWhereInput
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
export type UserUpdateToOneWithWhereWithoutNotificationsInput = {
|
|
1838
|
-
where?: Prisma.UserWhereInput
|
|
1839
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutNotificationsInput, Prisma.UserUncheckedUpdateWithoutNotificationsInput>
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
export type UserUpdateWithoutNotificationsInput = {
|
|
1843
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1844
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1845
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1846
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1847
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1848
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1849
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1850
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1851
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1852
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1853
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1854
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1855
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1856
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1857
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1858
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1859
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
1860
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
1861
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
1862
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
1863
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
1864
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
1865
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
1866
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
|
-
export type UserUncheckedUpdateWithoutNotificationsInput = {
|
|
1870
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1871
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1872
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1873
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1874
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1875
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1876
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1877
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1878
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1879
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1880
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1881
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1882
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1883
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1884
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
1885
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
1886
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
1887
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1888
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
1889
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
1890
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
1891
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
1892
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
1893
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
|
-
export type UserCreateWithoutContentTemplatesInput = {
|
|
1897
|
-
id?: string
|
|
1898
|
-
email: string
|
|
1899
|
-
name: string
|
|
1900
|
-
avatarUrl?: string | null
|
|
1901
|
-
role?: $Enums.UserRole
|
|
1902
|
-
passwordHash?: string | null
|
|
1903
|
-
totpSecret?: string | null
|
|
1904
|
-
authProvider?: string | null
|
|
1905
|
-
isActive?: boolean
|
|
1906
|
-
isApproved?: boolean
|
|
1907
|
-
emailVerified?: boolean
|
|
1908
|
-
lastLoginAt?: Date | string | null
|
|
1909
|
-
createdAt?: Date | string
|
|
1910
|
-
updatedAt?: Date | string
|
|
1911
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
1912
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
1913
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
1914
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
1915
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
1916
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
1917
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
1918
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
1919
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
1920
|
-
workflowAssigned?: Prisma.WorkflowStateCreateNestedManyWithoutAssignedToInput
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
export type UserUncheckedCreateWithoutContentTemplatesInput = {
|
|
1924
|
-
id?: string
|
|
1925
|
-
email: string
|
|
1926
|
-
name: string
|
|
1927
|
-
avatarUrl?: string | null
|
|
1928
|
-
role?: $Enums.UserRole
|
|
1929
|
-
passwordHash?: string | null
|
|
1930
|
-
totpSecret?: string | null
|
|
1931
|
-
authProvider?: string | null
|
|
1932
|
-
isActive?: boolean
|
|
1933
|
-
isApproved?: boolean
|
|
1934
|
-
emailVerified?: boolean
|
|
1935
|
-
lastLoginAt?: Date | string | null
|
|
1936
|
-
createdAt?: Date | string
|
|
1937
|
-
updatedAt?: Date | string
|
|
1938
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
1939
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
1940
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
1941
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
1942
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
1943
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
1944
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
1945
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
1946
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
1947
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedCreateNestedManyWithoutAssignedToInput
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
export type UserCreateOrConnectWithoutContentTemplatesInput = {
|
|
1951
|
-
where: Prisma.UserWhereUniqueInput
|
|
1952
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutContentTemplatesInput, Prisma.UserUncheckedCreateWithoutContentTemplatesInput>
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
export type UserUpsertWithoutContentTemplatesInput = {
|
|
1956
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutContentTemplatesInput, Prisma.UserUncheckedUpdateWithoutContentTemplatesInput>
|
|
1957
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutContentTemplatesInput, Prisma.UserUncheckedCreateWithoutContentTemplatesInput>
|
|
1958
|
-
where?: Prisma.UserWhereInput
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
|
-
export type UserUpdateToOneWithWhereWithoutContentTemplatesInput = {
|
|
1962
|
-
where?: Prisma.UserWhereInput
|
|
1963
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutContentTemplatesInput, Prisma.UserUncheckedUpdateWithoutContentTemplatesInput>
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
export type UserUpdateWithoutContentTemplatesInput = {
|
|
1967
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1968
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1969
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1970
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1971
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1972
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1973
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1974
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1975
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1976
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1977
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1978
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1979
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1980
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1981
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
1982
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
1983
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
1984
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
1985
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
1986
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
1987
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
1988
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
1989
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
1990
|
-
workflowAssigned?: Prisma.WorkflowStateUpdateManyWithoutAssignedToNestedInput
|
|
1991
|
-
}
|
|
1992
|
-
|
|
1993
|
-
export type UserUncheckedUpdateWithoutContentTemplatesInput = {
|
|
1994
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1995
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1996
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1997
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1998
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
1999
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2000
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2001
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2002
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2003
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2004
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2005
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2006
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
2007
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
2008
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
2009
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
2010
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
2011
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
2012
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
2013
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
2014
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
2015
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
2016
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
2017
|
-
workflowAssigned?: Prisma.WorkflowStateUncheckedUpdateManyWithoutAssignedToNestedInput
|
|
2018
|
-
}
|
|
2019
|
-
|
|
2020
|
-
export type UserCreateWithoutWorkflowAssignedInput = {
|
|
2021
|
-
id?: string
|
|
2022
|
-
email: string
|
|
2023
|
-
name: string
|
|
2024
|
-
avatarUrl?: string | null
|
|
2025
|
-
role?: $Enums.UserRole
|
|
2026
|
-
passwordHash?: string | null
|
|
2027
|
-
totpSecret?: string | null
|
|
2028
|
-
authProvider?: string | null
|
|
2029
|
-
isActive?: boolean
|
|
2030
|
-
isApproved?: boolean
|
|
2031
|
-
emailVerified?: boolean
|
|
2032
|
-
lastLoginAt?: Date | string | null
|
|
2033
|
-
createdAt?: Date | string
|
|
2034
|
-
updatedAt?: Date | string
|
|
2035
|
-
sessions?: Prisma.SessionCreateNestedManyWithoutUserInput
|
|
2036
|
-
oauthAccounts?: Prisma.OAuthAccountCreateNestedManyWithoutUserInput
|
|
2037
|
-
apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutUserInput
|
|
2038
|
-
documents?: Prisma.DocumentCreateNestedManyWithoutCreatedByInput
|
|
2039
|
-
updatedDocuments?: Prisma.DocumentCreateNestedManyWithoutUpdatedByInput
|
|
2040
|
-
versions?: Prisma.VersionCreateNestedManyWithoutChangedByInput
|
|
2041
|
-
media?: Prisma.MediaCreateNestedManyWithoutUploadedByInput
|
|
2042
|
-
contentLocks?: Prisma.ContentLockCreateNestedManyWithoutUserInput
|
|
2043
|
-
notifications?: Prisma.InAppNotificationCreateNestedManyWithoutUserInput
|
|
2044
|
-
contentTemplates?: Prisma.ContentTemplateCreateNestedManyWithoutCreatedByInput
|
|
2045
|
-
}
|
|
2046
|
-
|
|
2047
|
-
export type UserUncheckedCreateWithoutWorkflowAssignedInput = {
|
|
2048
|
-
id?: string
|
|
2049
|
-
email: string
|
|
2050
|
-
name: string
|
|
2051
|
-
avatarUrl?: string | null
|
|
2052
|
-
role?: $Enums.UserRole
|
|
2053
|
-
passwordHash?: string | null
|
|
2054
|
-
totpSecret?: string | null
|
|
2055
|
-
authProvider?: string | null
|
|
2056
|
-
isActive?: boolean
|
|
2057
|
-
isApproved?: boolean
|
|
2058
|
-
emailVerified?: boolean
|
|
2059
|
-
lastLoginAt?: Date | string | null
|
|
2060
|
-
createdAt?: Date | string
|
|
2061
|
-
updatedAt?: Date | string
|
|
2062
|
-
sessions?: Prisma.SessionUncheckedCreateNestedManyWithoutUserInput
|
|
2063
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedCreateNestedManyWithoutUserInput
|
|
2064
|
-
apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutUserInput
|
|
2065
|
-
documents?: Prisma.DocumentUncheckedCreateNestedManyWithoutCreatedByInput
|
|
2066
|
-
updatedDocuments?: Prisma.DocumentUncheckedCreateNestedManyWithoutUpdatedByInput
|
|
2067
|
-
versions?: Prisma.VersionUncheckedCreateNestedManyWithoutChangedByInput
|
|
2068
|
-
media?: Prisma.MediaUncheckedCreateNestedManyWithoutUploadedByInput
|
|
2069
|
-
contentLocks?: Prisma.ContentLockUncheckedCreateNestedManyWithoutUserInput
|
|
2070
|
-
notifications?: Prisma.InAppNotificationUncheckedCreateNestedManyWithoutUserInput
|
|
2071
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedCreateNestedManyWithoutCreatedByInput
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
export type UserCreateOrConnectWithoutWorkflowAssignedInput = {
|
|
2075
|
-
where: Prisma.UserWhereUniqueInput
|
|
2076
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
|
-
export type UserUpsertWithoutWorkflowAssignedInput = {
|
|
2080
|
-
update: Prisma.XOR<Prisma.UserUpdateWithoutWorkflowAssignedInput, Prisma.UserUncheckedUpdateWithoutWorkflowAssignedInput>
|
|
2081
|
-
create: Prisma.XOR<Prisma.UserCreateWithoutWorkflowAssignedInput, Prisma.UserUncheckedCreateWithoutWorkflowAssignedInput>
|
|
2082
|
-
where?: Prisma.UserWhereInput
|
|
2083
|
-
}
|
|
2084
|
-
|
|
2085
|
-
export type UserUpdateToOneWithWhereWithoutWorkflowAssignedInput = {
|
|
2086
|
-
where?: Prisma.UserWhereInput
|
|
2087
|
-
data: Prisma.XOR<Prisma.UserUpdateWithoutWorkflowAssignedInput, Prisma.UserUncheckedUpdateWithoutWorkflowAssignedInput>
|
|
2088
|
-
}
|
|
2089
|
-
|
|
2090
|
-
export type UserUpdateWithoutWorkflowAssignedInput = {
|
|
2091
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2092
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2093
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2094
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2095
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
2096
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2097
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2098
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2099
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2100
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2101
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2102
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2103
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
2104
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
2105
|
-
sessions?: Prisma.SessionUpdateManyWithoutUserNestedInput
|
|
2106
|
-
oauthAccounts?: Prisma.OAuthAccountUpdateManyWithoutUserNestedInput
|
|
2107
|
-
apiKeys?: Prisma.ApiKeyUpdateManyWithoutUserNestedInput
|
|
2108
|
-
documents?: Prisma.DocumentUpdateManyWithoutCreatedByNestedInput
|
|
2109
|
-
updatedDocuments?: Prisma.DocumentUpdateManyWithoutUpdatedByNestedInput
|
|
2110
|
-
versions?: Prisma.VersionUpdateManyWithoutChangedByNestedInput
|
|
2111
|
-
media?: Prisma.MediaUpdateManyWithoutUploadedByNestedInput
|
|
2112
|
-
contentLocks?: Prisma.ContentLockUpdateManyWithoutUserNestedInput
|
|
2113
|
-
notifications?: Prisma.InAppNotificationUpdateManyWithoutUserNestedInput
|
|
2114
|
-
contentTemplates?: Prisma.ContentTemplateUpdateManyWithoutCreatedByNestedInput
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2117
|
-
export type UserUncheckedUpdateWithoutWorkflowAssignedInput = {
|
|
2118
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2119
|
-
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2120
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2121
|
-
avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2122
|
-
role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
|
|
2123
|
-
passwordHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2124
|
-
totpSecret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2125
|
-
authProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2126
|
-
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2127
|
-
isApproved?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2128
|
-
emailVerified?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2129
|
-
lastLoginAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2130
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
2131
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
2132
|
-
sessions?: Prisma.SessionUncheckedUpdateManyWithoutUserNestedInput
|
|
2133
|
-
oauthAccounts?: Prisma.OAuthAccountUncheckedUpdateManyWithoutUserNestedInput
|
|
2134
|
-
apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutUserNestedInput
|
|
2135
|
-
documents?: Prisma.DocumentUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
2136
|
-
updatedDocuments?: Prisma.DocumentUncheckedUpdateManyWithoutUpdatedByNestedInput
|
|
2137
|
-
versions?: Prisma.VersionUncheckedUpdateManyWithoutChangedByNestedInput
|
|
2138
|
-
media?: Prisma.MediaUncheckedUpdateManyWithoutUploadedByNestedInput
|
|
2139
|
-
contentLocks?: Prisma.ContentLockUncheckedUpdateManyWithoutUserNestedInput
|
|
2140
|
-
notifications?: Prisma.InAppNotificationUncheckedUpdateManyWithoutUserNestedInput
|
|
2141
|
-
contentTemplates?: Prisma.ContentTemplateUncheckedUpdateManyWithoutCreatedByNestedInput
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
/**
|
|
2146
|
-
* Count Type UserCountOutputType
|
|
2147
|
-
*/
|
|
2148
|
-
|
|
2149
|
-
export type UserCountOutputType = {
|
|
2150
|
-
sessions: number
|
|
2151
|
-
oauthAccounts: number
|
|
2152
|
-
apiKeys: number
|
|
2153
|
-
documents: number
|
|
2154
|
-
updatedDocuments: number
|
|
2155
|
-
versions: number
|
|
2156
|
-
media: number
|
|
2157
|
-
contentLocks: number
|
|
2158
|
-
notifications: number
|
|
2159
|
-
contentTemplates: number
|
|
2160
|
-
workflowAssigned: number
|
|
2161
|
-
}
|
|
2162
|
-
|
|
2163
|
-
export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2164
|
-
sessions?: boolean | UserCountOutputTypeCountSessionsArgs
|
|
2165
|
-
oauthAccounts?: boolean | UserCountOutputTypeCountOauthAccountsArgs
|
|
2166
|
-
apiKeys?: boolean | UserCountOutputTypeCountApiKeysArgs
|
|
2167
|
-
documents?: boolean | UserCountOutputTypeCountDocumentsArgs
|
|
2168
|
-
updatedDocuments?: boolean | UserCountOutputTypeCountUpdatedDocumentsArgs
|
|
2169
|
-
versions?: boolean | UserCountOutputTypeCountVersionsArgs
|
|
2170
|
-
media?: boolean | UserCountOutputTypeCountMediaArgs
|
|
2171
|
-
contentLocks?: boolean | UserCountOutputTypeCountContentLocksArgs
|
|
2172
|
-
notifications?: boolean | UserCountOutputTypeCountNotificationsArgs
|
|
2173
|
-
contentTemplates?: boolean | UserCountOutputTypeCountContentTemplatesArgs
|
|
2174
|
-
workflowAssigned?: boolean | UserCountOutputTypeCountWorkflowAssignedArgs
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
/**
|
|
2178
|
-
* UserCountOutputType without action
|
|
2179
|
-
*/
|
|
2180
|
-
export type UserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2181
|
-
/**
|
|
2182
|
-
* Select specific fields to fetch from the UserCountOutputType
|
|
2183
|
-
*/
|
|
2184
|
-
select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null
|
|
2185
|
-
}
|
|
2186
|
-
|
|
2187
|
-
/**
|
|
2188
|
-
* UserCountOutputType without action
|
|
2189
|
-
*/
|
|
2190
|
-
export type UserCountOutputTypeCountSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2191
|
-
where?: Prisma.SessionWhereInput
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
/**
|
|
2195
|
-
* UserCountOutputType without action
|
|
2196
|
-
*/
|
|
2197
|
-
export type UserCountOutputTypeCountOauthAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2198
|
-
where?: Prisma.OAuthAccountWhereInput
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
/**
|
|
2202
|
-
* UserCountOutputType without action
|
|
2203
|
-
*/
|
|
2204
|
-
export type UserCountOutputTypeCountApiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2205
|
-
where?: Prisma.ApiKeyWhereInput
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
/**
|
|
2209
|
-
* UserCountOutputType without action
|
|
2210
|
-
*/
|
|
2211
|
-
export type UserCountOutputTypeCountDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2212
|
-
where?: Prisma.DocumentWhereInput
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
/**
|
|
2216
|
-
* UserCountOutputType without action
|
|
2217
|
-
*/
|
|
2218
|
-
export type UserCountOutputTypeCountUpdatedDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2219
|
-
where?: Prisma.DocumentWhereInput
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
/**
|
|
2223
|
-
* UserCountOutputType without action
|
|
2224
|
-
*/
|
|
2225
|
-
export type UserCountOutputTypeCountVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2226
|
-
where?: Prisma.VersionWhereInput
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
|
-
/**
|
|
2230
|
-
* UserCountOutputType without action
|
|
2231
|
-
*/
|
|
2232
|
-
export type UserCountOutputTypeCountMediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2233
|
-
where?: Prisma.MediaWhereInput
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
/**
|
|
2237
|
-
* UserCountOutputType without action
|
|
2238
|
-
*/
|
|
2239
|
-
export type UserCountOutputTypeCountContentLocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2240
|
-
where?: Prisma.ContentLockWhereInput
|
|
2241
|
-
}
|
|
2242
|
-
|
|
2243
|
-
/**
|
|
2244
|
-
* UserCountOutputType without action
|
|
2245
|
-
*/
|
|
2246
|
-
export type UserCountOutputTypeCountNotificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2247
|
-
where?: Prisma.InAppNotificationWhereInput
|
|
2248
|
-
}
|
|
2249
|
-
|
|
2250
|
-
/**
|
|
2251
|
-
* UserCountOutputType without action
|
|
2252
|
-
*/
|
|
2253
|
-
export type UserCountOutputTypeCountContentTemplatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2254
|
-
where?: Prisma.ContentTemplateWhereInput
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
/**
|
|
2258
|
-
* UserCountOutputType without action
|
|
2259
|
-
*/
|
|
2260
|
-
export type UserCountOutputTypeCountWorkflowAssignedArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2261
|
-
where?: Prisma.WorkflowStateWhereInput
|
|
2262
|
-
}
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
export type UserSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2266
|
-
id?: boolean
|
|
2267
|
-
email?: boolean
|
|
2268
|
-
name?: boolean
|
|
2269
|
-
avatarUrl?: boolean
|
|
2270
|
-
role?: boolean
|
|
2271
|
-
passwordHash?: boolean
|
|
2272
|
-
totpSecret?: boolean
|
|
2273
|
-
authProvider?: boolean
|
|
2274
|
-
isActive?: boolean
|
|
2275
|
-
isApproved?: boolean
|
|
2276
|
-
emailVerified?: boolean
|
|
2277
|
-
lastLoginAt?: boolean
|
|
2278
|
-
createdAt?: boolean
|
|
2279
|
-
updatedAt?: boolean
|
|
2280
|
-
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>
|
|
2281
|
-
oauthAccounts?: boolean | Prisma.User$oauthAccountsArgs<ExtArgs>
|
|
2282
|
-
apiKeys?: boolean | Prisma.User$apiKeysArgs<ExtArgs>
|
|
2283
|
-
documents?: boolean | Prisma.User$documentsArgs<ExtArgs>
|
|
2284
|
-
updatedDocuments?: boolean | Prisma.User$updatedDocumentsArgs<ExtArgs>
|
|
2285
|
-
versions?: boolean | Prisma.User$versionsArgs<ExtArgs>
|
|
2286
|
-
media?: boolean | Prisma.User$mediaArgs<ExtArgs>
|
|
2287
|
-
contentLocks?: boolean | Prisma.User$contentLocksArgs<ExtArgs>
|
|
2288
|
-
notifications?: boolean | Prisma.User$notificationsArgs<ExtArgs>
|
|
2289
|
-
contentTemplates?: boolean | Prisma.User$contentTemplatesArgs<ExtArgs>
|
|
2290
|
-
workflowAssigned?: boolean | Prisma.User$workflowAssignedArgs<ExtArgs>
|
|
2291
|
-
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
|
2292
|
-
}, ExtArgs["result"]["user"]>
|
|
2293
|
-
|
|
2294
|
-
export type UserSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2295
|
-
id?: boolean
|
|
2296
|
-
email?: boolean
|
|
2297
|
-
name?: boolean
|
|
2298
|
-
avatarUrl?: boolean
|
|
2299
|
-
role?: boolean
|
|
2300
|
-
passwordHash?: boolean
|
|
2301
|
-
totpSecret?: boolean
|
|
2302
|
-
authProvider?: boolean
|
|
2303
|
-
isActive?: boolean
|
|
2304
|
-
isApproved?: boolean
|
|
2305
|
-
emailVerified?: boolean
|
|
2306
|
-
lastLoginAt?: boolean
|
|
2307
|
-
createdAt?: boolean
|
|
2308
|
-
updatedAt?: boolean
|
|
2309
|
-
}, ExtArgs["result"]["user"]>
|
|
2310
|
-
|
|
2311
|
-
export type UserSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
2312
|
-
id?: boolean
|
|
2313
|
-
email?: boolean
|
|
2314
|
-
name?: boolean
|
|
2315
|
-
avatarUrl?: boolean
|
|
2316
|
-
role?: boolean
|
|
2317
|
-
passwordHash?: boolean
|
|
2318
|
-
totpSecret?: boolean
|
|
2319
|
-
authProvider?: boolean
|
|
2320
|
-
isActive?: boolean
|
|
2321
|
-
isApproved?: boolean
|
|
2322
|
-
emailVerified?: boolean
|
|
2323
|
-
lastLoginAt?: boolean
|
|
2324
|
-
createdAt?: boolean
|
|
2325
|
-
updatedAt?: boolean
|
|
2326
|
-
}, ExtArgs["result"]["user"]>
|
|
2327
|
-
|
|
2328
|
-
export type UserSelectScalar = {
|
|
2329
|
-
id?: boolean
|
|
2330
|
-
email?: boolean
|
|
2331
|
-
name?: boolean
|
|
2332
|
-
avatarUrl?: boolean
|
|
2333
|
-
role?: boolean
|
|
2334
|
-
passwordHash?: boolean
|
|
2335
|
-
totpSecret?: boolean
|
|
2336
|
-
authProvider?: boolean
|
|
2337
|
-
isActive?: boolean
|
|
2338
|
-
isApproved?: boolean
|
|
2339
|
-
emailVerified?: boolean
|
|
2340
|
-
lastLoginAt?: boolean
|
|
2341
|
-
createdAt?: boolean
|
|
2342
|
-
updatedAt?: boolean
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2345
|
-
export type UserOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "email" | "name" | "avatarUrl" | "role" | "passwordHash" | "totpSecret" | "authProvider" | "isActive" | "isApproved" | "emailVerified" | "lastLoginAt" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]>
|
|
2346
|
-
export type UserInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2347
|
-
sessions?: boolean | Prisma.User$sessionsArgs<ExtArgs>
|
|
2348
|
-
oauthAccounts?: boolean | Prisma.User$oauthAccountsArgs<ExtArgs>
|
|
2349
|
-
apiKeys?: boolean | Prisma.User$apiKeysArgs<ExtArgs>
|
|
2350
|
-
documents?: boolean | Prisma.User$documentsArgs<ExtArgs>
|
|
2351
|
-
updatedDocuments?: boolean | Prisma.User$updatedDocumentsArgs<ExtArgs>
|
|
2352
|
-
versions?: boolean | Prisma.User$versionsArgs<ExtArgs>
|
|
2353
|
-
media?: boolean | Prisma.User$mediaArgs<ExtArgs>
|
|
2354
|
-
contentLocks?: boolean | Prisma.User$contentLocksArgs<ExtArgs>
|
|
2355
|
-
notifications?: boolean | Prisma.User$notificationsArgs<ExtArgs>
|
|
2356
|
-
contentTemplates?: boolean | Prisma.User$contentTemplatesArgs<ExtArgs>
|
|
2357
|
-
workflowAssigned?: boolean | Prisma.User$workflowAssignedArgs<ExtArgs>
|
|
2358
|
-
_count?: boolean | Prisma.UserCountOutputTypeDefaultArgs<ExtArgs>
|
|
2359
|
-
}
|
|
2360
|
-
export type UserIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
2361
|
-
export type UserIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
2362
|
-
|
|
2363
|
-
export type $UserPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2364
|
-
name: "User"
|
|
2365
|
-
objects: {
|
|
2366
|
-
sessions: Prisma.$SessionPayload<ExtArgs>[]
|
|
2367
|
-
oauthAccounts: Prisma.$OAuthAccountPayload<ExtArgs>[]
|
|
2368
|
-
apiKeys: Prisma.$ApiKeyPayload<ExtArgs>[]
|
|
2369
|
-
documents: Prisma.$DocumentPayload<ExtArgs>[]
|
|
2370
|
-
updatedDocuments: Prisma.$DocumentPayload<ExtArgs>[]
|
|
2371
|
-
versions: Prisma.$VersionPayload<ExtArgs>[]
|
|
2372
|
-
media: Prisma.$MediaPayload<ExtArgs>[]
|
|
2373
|
-
contentLocks: Prisma.$ContentLockPayload<ExtArgs>[]
|
|
2374
|
-
notifications: Prisma.$InAppNotificationPayload<ExtArgs>[]
|
|
2375
|
-
contentTemplates: Prisma.$ContentTemplatePayload<ExtArgs>[]
|
|
2376
|
-
workflowAssigned: Prisma.$WorkflowStatePayload<ExtArgs>[]
|
|
2377
|
-
}
|
|
2378
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
2379
|
-
id: string
|
|
2380
|
-
email: string
|
|
2381
|
-
name: string
|
|
2382
|
-
avatarUrl: string | null
|
|
2383
|
-
role: $Enums.UserRole
|
|
2384
|
-
passwordHash: string | null
|
|
2385
|
-
totpSecret: string | null
|
|
2386
|
-
authProvider: string | null
|
|
2387
|
-
isActive: boolean
|
|
2388
|
-
isApproved: boolean
|
|
2389
|
-
emailVerified: boolean
|
|
2390
|
-
lastLoginAt: Date | null
|
|
2391
|
-
createdAt: Date
|
|
2392
|
-
updatedAt: Date
|
|
2393
|
-
}, ExtArgs["result"]["user"]>
|
|
2394
|
-
composites: {}
|
|
2395
|
-
}
|
|
2396
|
-
|
|
2397
|
-
export type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserPayload, S>
|
|
2398
|
-
|
|
2399
|
-
export type UserCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
2400
|
-
Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2401
|
-
select?: UserCountAggregateInputType | true
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
|
-
export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2405
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['User'], meta: { name: 'User' } }
|
|
2406
|
-
/**
|
|
2407
|
-
* Find zero or one User that matches the filter.
|
|
2408
|
-
* @param {UserFindUniqueArgs} args - Arguments to find a User
|
|
2409
|
-
* @example
|
|
2410
|
-
* // Get one User
|
|
2411
|
-
* const user = await prisma.user.findUnique({
|
|
2412
|
-
* where: {
|
|
2413
|
-
* // ... provide filter here
|
|
2414
|
-
* }
|
|
2415
|
-
* })
|
|
2416
|
-
*/
|
|
2417
|
-
findUnique<T extends UserFindUniqueArgs>(args: Prisma.SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2418
|
-
|
|
2419
|
-
/**
|
|
2420
|
-
* Find one User that matches the filter or throw an error with `error.code='P2025'`
|
|
2421
|
-
* if no matches were found.
|
|
2422
|
-
* @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User
|
|
2423
|
-
* @example
|
|
2424
|
-
* // Get one User
|
|
2425
|
-
* const user = await prisma.user.findUniqueOrThrow({
|
|
2426
|
-
* where: {
|
|
2427
|
-
* // ... provide filter here
|
|
2428
|
-
* }
|
|
2429
|
-
* })
|
|
2430
|
-
*/
|
|
2431
|
-
findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2432
|
-
|
|
2433
|
-
/**
|
|
2434
|
-
* Find the first User that matches the filter.
|
|
2435
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2436
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2437
|
-
* @param {UserFindFirstArgs} args - Arguments to find a User
|
|
2438
|
-
* @example
|
|
2439
|
-
* // Get one User
|
|
2440
|
-
* const user = await prisma.user.findFirst({
|
|
2441
|
-
* where: {
|
|
2442
|
-
* // ... provide filter here
|
|
2443
|
-
* }
|
|
2444
|
-
* })
|
|
2445
|
-
*/
|
|
2446
|
-
findFirst<T extends UserFindFirstArgs>(args?: Prisma.SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2447
|
-
|
|
2448
|
-
/**
|
|
2449
|
-
* Find the first User that matches the filter or
|
|
2450
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2451
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2452
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2453
|
-
* @param {UserFindFirstOrThrowArgs} args - Arguments to find a User
|
|
2454
|
-
* @example
|
|
2455
|
-
* // Get one User
|
|
2456
|
-
* const user = await prisma.user.findFirstOrThrow({
|
|
2457
|
-
* where: {
|
|
2458
|
-
* // ... provide filter here
|
|
2459
|
-
* }
|
|
2460
|
-
* })
|
|
2461
|
-
*/
|
|
2462
|
-
findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2463
|
-
|
|
2464
|
-
/**
|
|
2465
|
-
* Find zero or more Users that matches the filter.
|
|
2466
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2467
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2468
|
-
* @param {UserFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2469
|
-
* @example
|
|
2470
|
-
* // Get all Users
|
|
2471
|
-
* const users = await prisma.user.findMany()
|
|
2472
|
-
*
|
|
2473
|
-
* // Get first 10 Users
|
|
2474
|
-
* const users = await prisma.user.findMany({ take: 10 })
|
|
2475
|
-
*
|
|
2476
|
-
* // Only select the `id`
|
|
2477
|
-
* const userWithIdOnly = await prisma.user.findMany({ select: { id: true } })
|
|
2478
|
-
*
|
|
2479
|
-
*/
|
|
2480
|
-
findMany<T extends UserFindManyArgs>(args?: Prisma.SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2481
|
-
|
|
2482
|
-
/**
|
|
2483
|
-
* Create a User.
|
|
2484
|
-
* @param {UserCreateArgs} args - Arguments to create a User.
|
|
2485
|
-
* @example
|
|
2486
|
-
* // Create one User
|
|
2487
|
-
* const User = await prisma.user.create({
|
|
2488
|
-
* data: {
|
|
2489
|
-
* // ... data to create a User
|
|
2490
|
-
* }
|
|
2491
|
-
* })
|
|
2492
|
-
*
|
|
2493
|
-
*/
|
|
2494
|
-
create<T extends UserCreateArgs>(args: Prisma.SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2495
|
-
|
|
2496
|
-
/**
|
|
2497
|
-
* Create many Users.
|
|
2498
|
-
* @param {UserCreateManyArgs} args - Arguments to create many Users.
|
|
2499
|
-
* @example
|
|
2500
|
-
* // Create many Users
|
|
2501
|
-
* const user = await prisma.user.createMany({
|
|
2502
|
-
* data: [
|
|
2503
|
-
* // ... provide data here
|
|
2504
|
-
* ]
|
|
2505
|
-
* })
|
|
2506
|
-
*
|
|
2507
|
-
*/
|
|
2508
|
-
createMany<T extends UserCreateManyArgs>(args?: Prisma.SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2509
|
-
|
|
2510
|
-
/**
|
|
2511
|
-
* Create many Users and returns the data saved in the database.
|
|
2512
|
-
* @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users.
|
|
2513
|
-
* @example
|
|
2514
|
-
* // Create many Users
|
|
2515
|
-
* const user = await prisma.user.createManyAndReturn({
|
|
2516
|
-
* data: [
|
|
2517
|
-
* // ... provide data here
|
|
2518
|
-
* ]
|
|
2519
|
-
* })
|
|
2520
|
-
*
|
|
2521
|
-
* // Create many Users and only return the `id`
|
|
2522
|
-
* const userWithIdOnly = await prisma.user.createManyAndReturn({
|
|
2523
|
-
* select: { id: true },
|
|
2524
|
-
* data: [
|
|
2525
|
-
* // ... provide data here
|
|
2526
|
-
* ]
|
|
2527
|
-
* })
|
|
2528
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2529
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2530
|
-
*
|
|
2531
|
-
*/
|
|
2532
|
-
createManyAndReturn<T extends UserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2533
|
-
|
|
2534
|
-
/**
|
|
2535
|
-
* Delete a User.
|
|
2536
|
-
* @param {UserDeleteArgs} args - Arguments to delete one User.
|
|
2537
|
-
* @example
|
|
2538
|
-
* // Delete one User
|
|
2539
|
-
* const User = await prisma.user.delete({
|
|
2540
|
-
* where: {
|
|
2541
|
-
* // ... filter to delete one User
|
|
2542
|
-
* }
|
|
2543
|
-
* })
|
|
2544
|
-
*
|
|
2545
|
-
*/
|
|
2546
|
-
delete<T extends UserDeleteArgs>(args: Prisma.SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2547
|
-
|
|
2548
|
-
/**
|
|
2549
|
-
* Update one User.
|
|
2550
|
-
* @param {UserUpdateArgs} args - Arguments to update one User.
|
|
2551
|
-
* @example
|
|
2552
|
-
* // Update one User
|
|
2553
|
-
* const user = await prisma.user.update({
|
|
2554
|
-
* where: {
|
|
2555
|
-
* // ... provide filter here
|
|
2556
|
-
* },
|
|
2557
|
-
* data: {
|
|
2558
|
-
* // ... provide data here
|
|
2559
|
-
* }
|
|
2560
|
-
* })
|
|
2561
|
-
*
|
|
2562
|
-
*/
|
|
2563
|
-
update<T extends UserUpdateArgs>(args: Prisma.SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2564
|
-
|
|
2565
|
-
/**
|
|
2566
|
-
* Delete zero or more Users.
|
|
2567
|
-
* @param {UserDeleteManyArgs} args - Arguments to filter Users to delete.
|
|
2568
|
-
* @example
|
|
2569
|
-
* // Delete a few Users
|
|
2570
|
-
* const { count } = await prisma.user.deleteMany({
|
|
2571
|
-
* where: {
|
|
2572
|
-
* // ... provide filter here
|
|
2573
|
-
* }
|
|
2574
|
-
* })
|
|
2575
|
-
*
|
|
2576
|
-
*/
|
|
2577
|
-
deleteMany<T extends UserDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2578
|
-
|
|
2579
|
-
/**
|
|
2580
|
-
* Update zero or more Users.
|
|
2581
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2582
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2583
|
-
* @param {UserUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2584
|
-
* @example
|
|
2585
|
-
* // Update many Users
|
|
2586
|
-
* const user = await prisma.user.updateMany({
|
|
2587
|
-
* where: {
|
|
2588
|
-
* // ... provide filter here
|
|
2589
|
-
* },
|
|
2590
|
-
* data: {
|
|
2591
|
-
* // ... provide data here
|
|
2592
|
-
* }
|
|
2593
|
-
* })
|
|
2594
|
-
*
|
|
2595
|
-
*/
|
|
2596
|
-
updateMany<T extends UserUpdateManyArgs>(args: Prisma.SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2597
|
-
|
|
2598
|
-
/**
|
|
2599
|
-
* Update zero or more Users and returns the data updated in the database.
|
|
2600
|
-
* @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users.
|
|
2601
|
-
* @example
|
|
2602
|
-
* // Update many Users
|
|
2603
|
-
* const user = await prisma.user.updateManyAndReturn({
|
|
2604
|
-
* where: {
|
|
2605
|
-
* // ... provide filter here
|
|
2606
|
-
* },
|
|
2607
|
-
* data: [
|
|
2608
|
-
* // ... provide data here
|
|
2609
|
-
* ]
|
|
2610
|
-
* })
|
|
2611
|
-
*
|
|
2612
|
-
* // Update zero or more Users and only return the `id`
|
|
2613
|
-
* const userWithIdOnly = await prisma.user.updateManyAndReturn({
|
|
2614
|
-
* select: { id: true },
|
|
2615
|
-
* where: {
|
|
2616
|
-
* // ... provide filter here
|
|
2617
|
-
* },
|
|
2618
|
-
* data: [
|
|
2619
|
-
* // ... provide data here
|
|
2620
|
-
* ]
|
|
2621
|
-
* })
|
|
2622
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2623
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2624
|
-
*
|
|
2625
|
-
*/
|
|
2626
|
-
updateManyAndReturn<T extends UserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2627
|
-
|
|
2628
|
-
/**
|
|
2629
|
-
* Create or update one User.
|
|
2630
|
-
* @param {UserUpsertArgs} args - Arguments to update or create a User.
|
|
2631
|
-
* @example
|
|
2632
|
-
* // Update or create a User
|
|
2633
|
-
* const user = await prisma.user.upsert({
|
|
2634
|
-
* create: {
|
|
2635
|
-
* // ... data to create a User
|
|
2636
|
-
* },
|
|
2637
|
-
* update: {
|
|
2638
|
-
* // ... in case it already exists, update
|
|
2639
|
-
* },
|
|
2640
|
-
* where: {
|
|
2641
|
-
* // ... the filter for the User we want to update
|
|
2642
|
-
* }
|
|
2643
|
-
* })
|
|
2644
|
-
*/
|
|
2645
|
-
upsert<T extends UserUpsertArgs>(args: Prisma.SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
/**
|
|
2649
|
-
* Count the number of Users.
|
|
2650
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2651
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2652
|
-
* @param {UserCountArgs} args - Arguments to filter Users to count.
|
|
2653
|
-
* @example
|
|
2654
|
-
* // Count the number of Users
|
|
2655
|
-
* const count = await prisma.user.count({
|
|
2656
|
-
* where: {
|
|
2657
|
-
* // ... the filter for the Users we want to count
|
|
2658
|
-
* }
|
|
2659
|
-
* })
|
|
2660
|
-
**/
|
|
2661
|
-
count<T extends UserCountArgs>(
|
|
2662
|
-
args?: Prisma.Subset<T, UserCountArgs>,
|
|
2663
|
-
): Prisma.PrismaPromise<
|
|
2664
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
2665
|
-
? T['select'] extends true
|
|
2666
|
-
? number
|
|
2667
|
-
: Prisma.GetScalarType<T['select'], UserCountAggregateOutputType>
|
|
2668
|
-
: number
|
|
2669
|
-
>
|
|
2670
|
-
|
|
2671
|
-
/**
|
|
2672
|
-
* Allows you to perform aggregations operations on a User.
|
|
2673
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2674
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2675
|
-
* @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2676
|
-
* @example
|
|
2677
|
-
* // Ordered by age ascending
|
|
2678
|
-
* // Where email contains prisma.io
|
|
2679
|
-
* // Limited to the 10 users
|
|
2680
|
-
* const aggregations = await prisma.user.aggregate({
|
|
2681
|
-
* _avg: {
|
|
2682
|
-
* age: true,
|
|
2683
|
-
* },
|
|
2684
|
-
* where: {
|
|
2685
|
-
* email: {
|
|
2686
|
-
* contains: "prisma.io",
|
|
2687
|
-
* },
|
|
2688
|
-
* },
|
|
2689
|
-
* orderBy: {
|
|
2690
|
-
* age: "asc",
|
|
2691
|
-
* },
|
|
2692
|
-
* take: 10,
|
|
2693
|
-
* })
|
|
2694
|
-
**/
|
|
2695
|
-
aggregate<T extends UserAggregateArgs>(args: Prisma.Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>>
|
|
2696
|
-
|
|
2697
|
-
/**
|
|
2698
|
-
* Group by User.
|
|
2699
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2700
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2701
|
-
* @param {UserGroupByArgs} args - Group by arguments.
|
|
2702
|
-
* @example
|
|
2703
|
-
* // Group by city, order by createdAt, get count
|
|
2704
|
-
* const result = await prisma.user.groupBy({
|
|
2705
|
-
* by: ['city', 'createdAt'],
|
|
2706
|
-
* orderBy: {
|
|
2707
|
-
* createdAt: true
|
|
2708
|
-
* },
|
|
2709
|
-
* _count: {
|
|
2710
|
-
* _all: true
|
|
2711
|
-
* },
|
|
2712
|
-
* })
|
|
2713
|
-
*
|
|
2714
|
-
**/
|
|
2715
|
-
groupBy<
|
|
2716
|
-
T extends UserGroupByArgs,
|
|
2717
|
-
HasSelectOrTake extends Prisma.Or<
|
|
2718
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
2719
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
2720
|
-
>,
|
|
2721
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
2722
|
-
? { orderBy: UserGroupByArgs['orderBy'] }
|
|
2723
|
-
: { orderBy?: UserGroupByArgs['orderBy'] },
|
|
2724
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
2725
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
2726
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
2727
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
2728
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
2729
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
2730
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
2731
|
-
? `Error: "by" must not be empty.`
|
|
2732
|
-
: HavingValid extends Prisma.False
|
|
2733
|
-
? {
|
|
2734
|
-
[P in HavingFields]: P extends ByFields
|
|
2735
|
-
? never
|
|
2736
|
-
: P extends string
|
|
2737
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2738
|
-
: [
|
|
2739
|
-
Error,
|
|
2740
|
-
'Field ',
|
|
2741
|
-
P,
|
|
2742
|
-
` in "having" needs to be provided in "by"`,
|
|
2743
|
-
]
|
|
2744
|
-
}[HavingFields]
|
|
2745
|
-
: 'take' extends Prisma.Keys<T>
|
|
2746
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
2747
|
-
? ByValid extends Prisma.True
|
|
2748
|
-
? {}
|
|
2749
|
-
: {
|
|
2750
|
-
[P in OrderFields]: P extends ByFields
|
|
2751
|
-
? never
|
|
2752
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2753
|
-
}[OrderFields]
|
|
2754
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2755
|
-
: 'skip' extends Prisma.Keys<T>
|
|
2756
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
2757
|
-
? ByValid extends Prisma.True
|
|
2758
|
-
? {}
|
|
2759
|
-
: {
|
|
2760
|
-
[P in OrderFields]: P extends ByFields
|
|
2761
|
-
? never
|
|
2762
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2763
|
-
}[OrderFields]
|
|
2764
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2765
|
-
: ByValid extends Prisma.True
|
|
2766
|
-
? {}
|
|
2767
|
-
: {
|
|
2768
|
-
[P in OrderFields]: P extends ByFields
|
|
2769
|
-
? never
|
|
2770
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2771
|
-
}[OrderFields]
|
|
2772
|
-
>(args: Prisma.SubsetIntersection<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2773
|
-
/**
|
|
2774
|
-
* Fields of the User model
|
|
2775
|
-
*/
|
|
2776
|
-
readonly fields: UserFieldRefs;
|
|
2777
|
-
}
|
|
2778
|
-
|
|
2779
|
-
/**
|
|
2780
|
-
* The delegate class that acts as a "Promise-like" for User.
|
|
2781
|
-
* Why is this prefixed with `Prisma__`?
|
|
2782
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
2783
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2784
|
-
*/
|
|
2785
|
-
export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2786
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2787
|
-
sessions<T extends Prisma.User$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2788
|
-
oauthAccounts<T extends Prisma.User$oauthAccountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$oauthAccountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2789
|
-
apiKeys<T extends Prisma.User$apiKeysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2790
|
-
documents<T extends Prisma.User$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2791
|
-
updatedDocuments<T extends Prisma.User$updatedDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$updatedDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2792
|
-
versions<T extends Prisma.User$versionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$versionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$VersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2793
|
-
media<T extends Prisma.User$mediaArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$mediaArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2794
|
-
contentLocks<T extends Prisma.User$contentLocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$contentLocksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContentLockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2795
|
-
notifications<T extends Prisma.User$notificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$notificationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InAppNotificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2796
|
-
contentTemplates<T extends Prisma.User$contentTemplatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$contentTemplatesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContentTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2797
|
-
workflowAssigned<T extends Prisma.User$workflowAssignedArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$workflowAssignedArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowStatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2798
|
-
/**
|
|
2799
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2800
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2801
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2802
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
2803
|
-
*/
|
|
2804
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
2805
|
-
/**
|
|
2806
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
2807
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2808
|
-
* @returns A Promise for the completion of the callback.
|
|
2809
|
-
*/
|
|
2810
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2811
|
-
/**
|
|
2812
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2813
|
-
* resolved value cannot be modified from the callback.
|
|
2814
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2815
|
-
* @returns A Promise for the completion of the callback.
|
|
2816
|
-
*/
|
|
2817
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2818
|
-
}
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
/**
|
|
2824
|
-
* Fields of the User model
|
|
2825
|
-
*/
|
|
2826
|
-
export interface UserFieldRefs {
|
|
2827
|
-
readonly id: Prisma.FieldRef<"User", 'String'>
|
|
2828
|
-
readonly email: Prisma.FieldRef<"User", 'String'>
|
|
2829
|
-
readonly name: Prisma.FieldRef<"User", 'String'>
|
|
2830
|
-
readonly avatarUrl: Prisma.FieldRef<"User", 'String'>
|
|
2831
|
-
readonly role: Prisma.FieldRef<"User", 'UserRole'>
|
|
2832
|
-
readonly passwordHash: Prisma.FieldRef<"User", 'String'>
|
|
2833
|
-
readonly totpSecret: Prisma.FieldRef<"User", 'String'>
|
|
2834
|
-
readonly authProvider: Prisma.FieldRef<"User", 'String'>
|
|
2835
|
-
readonly isActive: Prisma.FieldRef<"User", 'Boolean'>
|
|
2836
|
-
readonly isApproved: Prisma.FieldRef<"User", 'Boolean'>
|
|
2837
|
-
readonly emailVerified: Prisma.FieldRef<"User", 'Boolean'>
|
|
2838
|
-
readonly lastLoginAt: Prisma.FieldRef<"User", 'DateTime'>
|
|
2839
|
-
readonly createdAt: Prisma.FieldRef<"User", 'DateTime'>
|
|
2840
|
-
readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'>
|
|
2841
|
-
}
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
// Custom InputTypes
|
|
2845
|
-
/**
|
|
2846
|
-
* User findUnique
|
|
2847
|
-
*/
|
|
2848
|
-
export type UserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2849
|
-
/**
|
|
2850
|
-
* Select specific fields to fetch from the User
|
|
2851
|
-
*/
|
|
2852
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2853
|
-
/**
|
|
2854
|
-
* Omit specific fields from the User
|
|
2855
|
-
*/
|
|
2856
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2857
|
-
/**
|
|
2858
|
-
* Choose, which related nodes to fetch as well
|
|
2859
|
-
*/
|
|
2860
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2861
|
-
/**
|
|
2862
|
-
* Filter, which User to fetch.
|
|
2863
|
-
*/
|
|
2864
|
-
where: Prisma.UserWhereUniqueInput
|
|
2865
|
-
}
|
|
2866
|
-
|
|
2867
|
-
/**
|
|
2868
|
-
* User findUniqueOrThrow
|
|
2869
|
-
*/
|
|
2870
|
-
export type UserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2871
|
-
/**
|
|
2872
|
-
* Select specific fields to fetch from the User
|
|
2873
|
-
*/
|
|
2874
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2875
|
-
/**
|
|
2876
|
-
* Omit specific fields from the User
|
|
2877
|
-
*/
|
|
2878
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2879
|
-
/**
|
|
2880
|
-
* Choose, which related nodes to fetch as well
|
|
2881
|
-
*/
|
|
2882
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2883
|
-
/**
|
|
2884
|
-
* Filter, which User to fetch.
|
|
2885
|
-
*/
|
|
2886
|
-
where: Prisma.UserWhereUniqueInput
|
|
2887
|
-
}
|
|
2888
|
-
|
|
2889
|
-
/**
|
|
2890
|
-
* User findFirst
|
|
2891
|
-
*/
|
|
2892
|
-
export type UserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2893
|
-
/**
|
|
2894
|
-
* Select specific fields to fetch from the User
|
|
2895
|
-
*/
|
|
2896
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2897
|
-
/**
|
|
2898
|
-
* Omit specific fields from the User
|
|
2899
|
-
*/
|
|
2900
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2901
|
-
/**
|
|
2902
|
-
* Choose, which related nodes to fetch as well
|
|
2903
|
-
*/
|
|
2904
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2905
|
-
/**
|
|
2906
|
-
* Filter, which User to fetch.
|
|
2907
|
-
*/
|
|
2908
|
-
where?: Prisma.UserWhereInput
|
|
2909
|
-
/**
|
|
2910
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2911
|
-
*
|
|
2912
|
-
* Determine the order of Users to fetch.
|
|
2913
|
-
*/
|
|
2914
|
-
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
2915
|
-
/**
|
|
2916
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2917
|
-
*
|
|
2918
|
-
* Sets the position for searching for Users.
|
|
2919
|
-
*/
|
|
2920
|
-
cursor?: Prisma.UserWhereUniqueInput
|
|
2921
|
-
/**
|
|
2922
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2923
|
-
*
|
|
2924
|
-
* Take `±n` Users from the position of the cursor.
|
|
2925
|
-
*/
|
|
2926
|
-
take?: number
|
|
2927
|
-
/**
|
|
2928
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2929
|
-
*
|
|
2930
|
-
* Skip the first `n` Users.
|
|
2931
|
-
*/
|
|
2932
|
-
skip?: number
|
|
2933
|
-
/**
|
|
2934
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2935
|
-
*
|
|
2936
|
-
* Filter by unique combinations of Users.
|
|
2937
|
-
*/
|
|
2938
|
-
distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
/**
|
|
2942
|
-
* User findFirstOrThrow
|
|
2943
|
-
*/
|
|
2944
|
-
export type UserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2945
|
-
/**
|
|
2946
|
-
* Select specific fields to fetch from the User
|
|
2947
|
-
*/
|
|
2948
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2949
|
-
/**
|
|
2950
|
-
* Omit specific fields from the User
|
|
2951
|
-
*/
|
|
2952
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2953
|
-
/**
|
|
2954
|
-
* Choose, which related nodes to fetch as well
|
|
2955
|
-
*/
|
|
2956
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2957
|
-
/**
|
|
2958
|
-
* Filter, which User to fetch.
|
|
2959
|
-
*/
|
|
2960
|
-
where?: Prisma.UserWhereInput
|
|
2961
|
-
/**
|
|
2962
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2963
|
-
*
|
|
2964
|
-
* Determine the order of Users to fetch.
|
|
2965
|
-
*/
|
|
2966
|
-
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
2967
|
-
/**
|
|
2968
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2969
|
-
*
|
|
2970
|
-
* Sets the position for searching for Users.
|
|
2971
|
-
*/
|
|
2972
|
-
cursor?: Prisma.UserWhereUniqueInput
|
|
2973
|
-
/**
|
|
2974
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2975
|
-
*
|
|
2976
|
-
* Take `±n` Users from the position of the cursor.
|
|
2977
|
-
*/
|
|
2978
|
-
take?: number
|
|
2979
|
-
/**
|
|
2980
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2981
|
-
*
|
|
2982
|
-
* Skip the first `n` Users.
|
|
2983
|
-
*/
|
|
2984
|
-
skip?: number
|
|
2985
|
-
/**
|
|
2986
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2987
|
-
*
|
|
2988
|
-
* Filter by unique combinations of Users.
|
|
2989
|
-
*/
|
|
2990
|
-
distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
|
|
2991
|
-
}
|
|
2992
|
-
|
|
2993
|
-
/**
|
|
2994
|
-
* User findMany
|
|
2995
|
-
*/
|
|
2996
|
-
export type UserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2997
|
-
/**
|
|
2998
|
-
* Select specific fields to fetch from the User
|
|
2999
|
-
*/
|
|
3000
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
3001
|
-
/**
|
|
3002
|
-
* Omit specific fields from the User
|
|
3003
|
-
*/
|
|
3004
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3005
|
-
/**
|
|
3006
|
-
* Choose, which related nodes to fetch as well
|
|
3007
|
-
*/
|
|
3008
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
3009
|
-
/**
|
|
3010
|
-
* Filter, which Users to fetch.
|
|
3011
|
-
*/
|
|
3012
|
-
where?: Prisma.UserWhereInput
|
|
3013
|
-
/**
|
|
3014
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
3015
|
-
*
|
|
3016
|
-
* Determine the order of Users to fetch.
|
|
3017
|
-
*/
|
|
3018
|
-
orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[]
|
|
3019
|
-
/**
|
|
3020
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
3021
|
-
*
|
|
3022
|
-
* Sets the position for listing Users.
|
|
3023
|
-
*/
|
|
3024
|
-
cursor?: Prisma.UserWhereUniqueInput
|
|
3025
|
-
/**
|
|
3026
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3027
|
-
*
|
|
3028
|
-
* Take `±n` Users from the position of the cursor.
|
|
3029
|
-
*/
|
|
3030
|
-
take?: number
|
|
3031
|
-
/**
|
|
3032
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
3033
|
-
*
|
|
3034
|
-
* Skip the first `n` Users.
|
|
3035
|
-
*/
|
|
3036
|
-
skip?: number
|
|
3037
|
-
/**
|
|
3038
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
3039
|
-
*
|
|
3040
|
-
* Filter by unique combinations of Users.
|
|
3041
|
-
*/
|
|
3042
|
-
distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[]
|
|
3043
|
-
}
|
|
3044
|
-
|
|
3045
|
-
/**
|
|
3046
|
-
* User create
|
|
3047
|
-
*/
|
|
3048
|
-
export type UserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3049
|
-
/**
|
|
3050
|
-
* Select specific fields to fetch from the User
|
|
3051
|
-
*/
|
|
3052
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
3053
|
-
/**
|
|
3054
|
-
* Omit specific fields from the User
|
|
3055
|
-
*/
|
|
3056
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3057
|
-
/**
|
|
3058
|
-
* Choose, which related nodes to fetch as well
|
|
3059
|
-
*/
|
|
3060
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
3061
|
-
/**
|
|
3062
|
-
* The data needed to create a User.
|
|
3063
|
-
*/
|
|
3064
|
-
data: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>
|
|
3065
|
-
}
|
|
3066
|
-
|
|
3067
|
-
/**
|
|
3068
|
-
* User createMany
|
|
3069
|
-
*/
|
|
3070
|
-
export type UserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3071
|
-
/**
|
|
3072
|
-
* The data used to create many Users.
|
|
3073
|
-
*/
|
|
3074
|
-
data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]
|
|
3075
|
-
skipDuplicates?: boolean
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
|
-
/**
|
|
3079
|
-
* User createManyAndReturn
|
|
3080
|
-
*/
|
|
3081
|
-
export type UserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3082
|
-
/**
|
|
3083
|
-
* Select specific fields to fetch from the User
|
|
3084
|
-
*/
|
|
3085
|
-
select?: Prisma.UserSelectCreateManyAndReturn<ExtArgs> | null
|
|
3086
|
-
/**
|
|
3087
|
-
* Omit specific fields from the User
|
|
3088
|
-
*/
|
|
3089
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3090
|
-
/**
|
|
3091
|
-
* The data used to create many Users.
|
|
3092
|
-
*/
|
|
3093
|
-
data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[]
|
|
3094
|
-
skipDuplicates?: boolean
|
|
3095
|
-
}
|
|
3096
|
-
|
|
3097
|
-
/**
|
|
3098
|
-
* User update
|
|
3099
|
-
*/
|
|
3100
|
-
export type UserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3101
|
-
/**
|
|
3102
|
-
* Select specific fields to fetch from the User
|
|
3103
|
-
*/
|
|
3104
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
3105
|
-
/**
|
|
3106
|
-
* Omit specific fields from the User
|
|
3107
|
-
*/
|
|
3108
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3109
|
-
/**
|
|
3110
|
-
* Choose, which related nodes to fetch as well
|
|
3111
|
-
*/
|
|
3112
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
3113
|
-
/**
|
|
3114
|
-
* The data needed to update a User.
|
|
3115
|
-
*/
|
|
3116
|
-
data: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>
|
|
3117
|
-
/**
|
|
3118
|
-
* Choose, which User to update.
|
|
3119
|
-
*/
|
|
3120
|
-
where: Prisma.UserWhereUniqueInput
|
|
3121
|
-
}
|
|
3122
|
-
|
|
3123
|
-
/**
|
|
3124
|
-
* User updateMany
|
|
3125
|
-
*/
|
|
3126
|
-
export type UserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3127
|
-
/**
|
|
3128
|
-
* The data used to update Users.
|
|
3129
|
-
*/
|
|
3130
|
-
data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput>
|
|
3131
|
-
/**
|
|
3132
|
-
* Filter which Users to update
|
|
3133
|
-
*/
|
|
3134
|
-
where?: Prisma.UserWhereInput
|
|
3135
|
-
/**
|
|
3136
|
-
* Limit how many Users to update.
|
|
3137
|
-
*/
|
|
3138
|
-
limit?: number
|
|
3139
|
-
}
|
|
3140
|
-
|
|
3141
|
-
/**
|
|
3142
|
-
* User updateManyAndReturn
|
|
3143
|
-
*/
|
|
3144
|
-
export type UserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3145
|
-
/**
|
|
3146
|
-
* Select specific fields to fetch from the User
|
|
3147
|
-
*/
|
|
3148
|
-
select?: Prisma.UserSelectUpdateManyAndReturn<ExtArgs> | null
|
|
3149
|
-
/**
|
|
3150
|
-
* Omit specific fields from the User
|
|
3151
|
-
*/
|
|
3152
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3153
|
-
/**
|
|
3154
|
-
* The data used to update Users.
|
|
3155
|
-
*/
|
|
3156
|
-
data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput>
|
|
3157
|
-
/**
|
|
3158
|
-
* Filter which Users to update
|
|
3159
|
-
*/
|
|
3160
|
-
where?: Prisma.UserWhereInput
|
|
3161
|
-
/**
|
|
3162
|
-
* Limit how many Users to update.
|
|
3163
|
-
*/
|
|
3164
|
-
limit?: number
|
|
3165
|
-
}
|
|
3166
|
-
|
|
3167
|
-
/**
|
|
3168
|
-
* User upsert
|
|
3169
|
-
*/
|
|
3170
|
-
export type UserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3171
|
-
/**
|
|
3172
|
-
* Select specific fields to fetch from the User
|
|
3173
|
-
*/
|
|
3174
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
3175
|
-
/**
|
|
3176
|
-
* Omit specific fields from the User
|
|
3177
|
-
*/
|
|
3178
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3179
|
-
/**
|
|
3180
|
-
* Choose, which related nodes to fetch as well
|
|
3181
|
-
*/
|
|
3182
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
3183
|
-
/**
|
|
3184
|
-
* The filter to search for the User to update in case it exists.
|
|
3185
|
-
*/
|
|
3186
|
-
where: Prisma.UserWhereUniqueInput
|
|
3187
|
-
/**
|
|
3188
|
-
* In case the User found by the `where` argument doesn't exist, create a new User with this data.
|
|
3189
|
-
*/
|
|
3190
|
-
create: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>
|
|
3191
|
-
/**
|
|
3192
|
-
* In case the User was found with the provided `where` argument, update it with this data.
|
|
3193
|
-
*/
|
|
3194
|
-
update: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>
|
|
3195
|
-
}
|
|
3196
|
-
|
|
3197
|
-
/**
|
|
3198
|
-
* User delete
|
|
3199
|
-
*/
|
|
3200
|
-
export type UserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3201
|
-
/**
|
|
3202
|
-
* Select specific fields to fetch from the User
|
|
3203
|
-
*/
|
|
3204
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
3205
|
-
/**
|
|
3206
|
-
* Omit specific fields from the User
|
|
3207
|
-
*/
|
|
3208
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3209
|
-
/**
|
|
3210
|
-
* Choose, which related nodes to fetch as well
|
|
3211
|
-
*/
|
|
3212
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
3213
|
-
/**
|
|
3214
|
-
* Filter which User to delete.
|
|
3215
|
-
*/
|
|
3216
|
-
where: Prisma.UserWhereUniqueInput
|
|
3217
|
-
}
|
|
3218
|
-
|
|
3219
|
-
/**
|
|
3220
|
-
* User deleteMany
|
|
3221
|
-
*/
|
|
3222
|
-
export type UserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3223
|
-
/**
|
|
3224
|
-
* Filter which Users to delete
|
|
3225
|
-
*/
|
|
3226
|
-
where?: Prisma.UserWhereInput
|
|
3227
|
-
/**
|
|
3228
|
-
* Limit how many Users to delete.
|
|
3229
|
-
*/
|
|
3230
|
-
limit?: number
|
|
3231
|
-
}
|
|
3232
|
-
|
|
3233
|
-
/**
|
|
3234
|
-
* User.sessions
|
|
3235
|
-
*/
|
|
3236
|
-
export type User$sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3237
|
-
/**
|
|
3238
|
-
* Select specific fields to fetch from the Session
|
|
3239
|
-
*/
|
|
3240
|
-
select?: Prisma.SessionSelect<ExtArgs> | null
|
|
3241
|
-
/**
|
|
3242
|
-
* Omit specific fields from the Session
|
|
3243
|
-
*/
|
|
3244
|
-
omit?: Prisma.SessionOmit<ExtArgs> | null
|
|
3245
|
-
/**
|
|
3246
|
-
* Choose, which related nodes to fetch as well
|
|
3247
|
-
*/
|
|
3248
|
-
include?: Prisma.SessionInclude<ExtArgs> | null
|
|
3249
|
-
where?: Prisma.SessionWhereInput
|
|
3250
|
-
orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[]
|
|
3251
|
-
cursor?: Prisma.SessionWhereUniqueInput
|
|
3252
|
-
take?: number
|
|
3253
|
-
skip?: number
|
|
3254
|
-
distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[]
|
|
3255
|
-
}
|
|
3256
|
-
|
|
3257
|
-
/**
|
|
3258
|
-
* User.oauthAccounts
|
|
3259
|
-
*/
|
|
3260
|
-
export type User$oauthAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3261
|
-
/**
|
|
3262
|
-
* Select specific fields to fetch from the OAuthAccount
|
|
3263
|
-
*/
|
|
3264
|
-
select?: Prisma.OAuthAccountSelect<ExtArgs> | null
|
|
3265
|
-
/**
|
|
3266
|
-
* Omit specific fields from the OAuthAccount
|
|
3267
|
-
*/
|
|
3268
|
-
omit?: Prisma.OAuthAccountOmit<ExtArgs> | null
|
|
3269
|
-
/**
|
|
3270
|
-
* Choose, which related nodes to fetch as well
|
|
3271
|
-
*/
|
|
3272
|
-
include?: Prisma.OAuthAccountInclude<ExtArgs> | null
|
|
3273
|
-
where?: Prisma.OAuthAccountWhereInput
|
|
3274
|
-
orderBy?: Prisma.OAuthAccountOrderByWithRelationInput | Prisma.OAuthAccountOrderByWithRelationInput[]
|
|
3275
|
-
cursor?: Prisma.OAuthAccountWhereUniqueInput
|
|
3276
|
-
take?: number
|
|
3277
|
-
skip?: number
|
|
3278
|
-
distinct?: Prisma.OAuthAccountScalarFieldEnum | Prisma.OAuthAccountScalarFieldEnum[]
|
|
3279
|
-
}
|
|
3280
|
-
|
|
3281
|
-
/**
|
|
3282
|
-
* User.apiKeys
|
|
3283
|
-
*/
|
|
3284
|
-
export type User$apiKeysArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3285
|
-
/**
|
|
3286
|
-
* Select specific fields to fetch from the ApiKey
|
|
3287
|
-
*/
|
|
3288
|
-
select?: Prisma.ApiKeySelect<ExtArgs> | null
|
|
3289
|
-
/**
|
|
3290
|
-
* Omit specific fields from the ApiKey
|
|
3291
|
-
*/
|
|
3292
|
-
omit?: Prisma.ApiKeyOmit<ExtArgs> | null
|
|
3293
|
-
/**
|
|
3294
|
-
* Choose, which related nodes to fetch as well
|
|
3295
|
-
*/
|
|
3296
|
-
include?: Prisma.ApiKeyInclude<ExtArgs> | null
|
|
3297
|
-
where?: Prisma.ApiKeyWhereInput
|
|
3298
|
-
orderBy?: Prisma.ApiKeyOrderByWithRelationInput | Prisma.ApiKeyOrderByWithRelationInput[]
|
|
3299
|
-
cursor?: Prisma.ApiKeyWhereUniqueInput
|
|
3300
|
-
take?: number
|
|
3301
|
-
skip?: number
|
|
3302
|
-
distinct?: Prisma.ApiKeyScalarFieldEnum | Prisma.ApiKeyScalarFieldEnum[]
|
|
3303
|
-
}
|
|
3304
|
-
|
|
3305
|
-
/**
|
|
3306
|
-
* User.documents
|
|
3307
|
-
*/
|
|
3308
|
-
export type User$documentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3309
|
-
/**
|
|
3310
|
-
* Select specific fields to fetch from the Document
|
|
3311
|
-
*/
|
|
3312
|
-
select?: Prisma.DocumentSelect<ExtArgs> | null
|
|
3313
|
-
/**
|
|
3314
|
-
* Omit specific fields from the Document
|
|
3315
|
-
*/
|
|
3316
|
-
omit?: Prisma.DocumentOmit<ExtArgs> | null
|
|
3317
|
-
/**
|
|
3318
|
-
* Choose, which related nodes to fetch as well
|
|
3319
|
-
*/
|
|
3320
|
-
include?: Prisma.DocumentInclude<ExtArgs> | null
|
|
3321
|
-
where?: Prisma.DocumentWhereInput
|
|
3322
|
-
orderBy?: Prisma.DocumentOrderByWithRelationInput | Prisma.DocumentOrderByWithRelationInput[]
|
|
3323
|
-
cursor?: Prisma.DocumentWhereUniqueInput
|
|
3324
|
-
take?: number
|
|
3325
|
-
skip?: number
|
|
3326
|
-
distinct?: Prisma.DocumentScalarFieldEnum | Prisma.DocumentScalarFieldEnum[]
|
|
3327
|
-
}
|
|
3328
|
-
|
|
3329
|
-
/**
|
|
3330
|
-
* User.updatedDocuments
|
|
3331
|
-
*/
|
|
3332
|
-
export type User$updatedDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3333
|
-
/**
|
|
3334
|
-
* Select specific fields to fetch from the Document
|
|
3335
|
-
*/
|
|
3336
|
-
select?: Prisma.DocumentSelect<ExtArgs> | null
|
|
3337
|
-
/**
|
|
3338
|
-
* Omit specific fields from the Document
|
|
3339
|
-
*/
|
|
3340
|
-
omit?: Prisma.DocumentOmit<ExtArgs> | null
|
|
3341
|
-
/**
|
|
3342
|
-
* Choose, which related nodes to fetch as well
|
|
3343
|
-
*/
|
|
3344
|
-
include?: Prisma.DocumentInclude<ExtArgs> | null
|
|
3345
|
-
where?: Prisma.DocumentWhereInput
|
|
3346
|
-
orderBy?: Prisma.DocumentOrderByWithRelationInput | Prisma.DocumentOrderByWithRelationInput[]
|
|
3347
|
-
cursor?: Prisma.DocumentWhereUniqueInput
|
|
3348
|
-
take?: number
|
|
3349
|
-
skip?: number
|
|
3350
|
-
distinct?: Prisma.DocumentScalarFieldEnum | Prisma.DocumentScalarFieldEnum[]
|
|
3351
|
-
}
|
|
3352
|
-
|
|
3353
|
-
/**
|
|
3354
|
-
* User.versions
|
|
3355
|
-
*/
|
|
3356
|
-
export type User$versionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3357
|
-
/**
|
|
3358
|
-
* Select specific fields to fetch from the Version
|
|
3359
|
-
*/
|
|
3360
|
-
select?: Prisma.VersionSelect<ExtArgs> | null
|
|
3361
|
-
/**
|
|
3362
|
-
* Omit specific fields from the Version
|
|
3363
|
-
*/
|
|
3364
|
-
omit?: Prisma.VersionOmit<ExtArgs> | null
|
|
3365
|
-
/**
|
|
3366
|
-
* Choose, which related nodes to fetch as well
|
|
3367
|
-
*/
|
|
3368
|
-
include?: Prisma.VersionInclude<ExtArgs> | null
|
|
3369
|
-
where?: Prisma.VersionWhereInput
|
|
3370
|
-
orderBy?: Prisma.VersionOrderByWithRelationInput | Prisma.VersionOrderByWithRelationInput[]
|
|
3371
|
-
cursor?: Prisma.VersionWhereUniqueInput
|
|
3372
|
-
take?: number
|
|
3373
|
-
skip?: number
|
|
3374
|
-
distinct?: Prisma.VersionScalarFieldEnum | Prisma.VersionScalarFieldEnum[]
|
|
3375
|
-
}
|
|
3376
|
-
|
|
3377
|
-
/**
|
|
3378
|
-
* User.media
|
|
3379
|
-
*/
|
|
3380
|
-
export type User$mediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3381
|
-
/**
|
|
3382
|
-
* Select specific fields to fetch from the Media
|
|
3383
|
-
*/
|
|
3384
|
-
select?: Prisma.MediaSelect<ExtArgs> | null
|
|
3385
|
-
/**
|
|
3386
|
-
* Omit specific fields from the Media
|
|
3387
|
-
*/
|
|
3388
|
-
omit?: Prisma.MediaOmit<ExtArgs> | null
|
|
3389
|
-
/**
|
|
3390
|
-
* Choose, which related nodes to fetch as well
|
|
3391
|
-
*/
|
|
3392
|
-
include?: Prisma.MediaInclude<ExtArgs> | null
|
|
3393
|
-
where?: Prisma.MediaWhereInput
|
|
3394
|
-
orderBy?: Prisma.MediaOrderByWithRelationInput | Prisma.MediaOrderByWithRelationInput[]
|
|
3395
|
-
cursor?: Prisma.MediaWhereUniqueInput
|
|
3396
|
-
take?: number
|
|
3397
|
-
skip?: number
|
|
3398
|
-
distinct?: Prisma.MediaScalarFieldEnum | Prisma.MediaScalarFieldEnum[]
|
|
3399
|
-
}
|
|
3400
|
-
|
|
3401
|
-
/**
|
|
3402
|
-
* User.contentLocks
|
|
3403
|
-
*/
|
|
3404
|
-
export type User$contentLocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3405
|
-
/**
|
|
3406
|
-
* Select specific fields to fetch from the ContentLock
|
|
3407
|
-
*/
|
|
3408
|
-
select?: Prisma.ContentLockSelect<ExtArgs> | null
|
|
3409
|
-
/**
|
|
3410
|
-
* Omit specific fields from the ContentLock
|
|
3411
|
-
*/
|
|
3412
|
-
omit?: Prisma.ContentLockOmit<ExtArgs> | null
|
|
3413
|
-
/**
|
|
3414
|
-
* Choose, which related nodes to fetch as well
|
|
3415
|
-
*/
|
|
3416
|
-
include?: Prisma.ContentLockInclude<ExtArgs> | null
|
|
3417
|
-
where?: Prisma.ContentLockWhereInput
|
|
3418
|
-
orderBy?: Prisma.ContentLockOrderByWithRelationInput | Prisma.ContentLockOrderByWithRelationInput[]
|
|
3419
|
-
cursor?: Prisma.ContentLockWhereUniqueInput
|
|
3420
|
-
take?: number
|
|
3421
|
-
skip?: number
|
|
3422
|
-
distinct?: Prisma.ContentLockScalarFieldEnum | Prisma.ContentLockScalarFieldEnum[]
|
|
3423
|
-
}
|
|
3424
|
-
|
|
3425
|
-
/**
|
|
3426
|
-
* User.notifications
|
|
3427
|
-
*/
|
|
3428
|
-
export type User$notificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3429
|
-
/**
|
|
3430
|
-
* Select specific fields to fetch from the InAppNotification
|
|
3431
|
-
*/
|
|
3432
|
-
select?: Prisma.InAppNotificationSelect<ExtArgs> | null
|
|
3433
|
-
/**
|
|
3434
|
-
* Omit specific fields from the InAppNotification
|
|
3435
|
-
*/
|
|
3436
|
-
omit?: Prisma.InAppNotificationOmit<ExtArgs> | null
|
|
3437
|
-
/**
|
|
3438
|
-
* Choose, which related nodes to fetch as well
|
|
3439
|
-
*/
|
|
3440
|
-
include?: Prisma.InAppNotificationInclude<ExtArgs> | null
|
|
3441
|
-
where?: Prisma.InAppNotificationWhereInput
|
|
3442
|
-
orderBy?: Prisma.InAppNotificationOrderByWithRelationInput | Prisma.InAppNotificationOrderByWithRelationInput[]
|
|
3443
|
-
cursor?: Prisma.InAppNotificationWhereUniqueInput
|
|
3444
|
-
take?: number
|
|
3445
|
-
skip?: number
|
|
3446
|
-
distinct?: Prisma.InAppNotificationScalarFieldEnum | Prisma.InAppNotificationScalarFieldEnum[]
|
|
3447
|
-
}
|
|
3448
|
-
|
|
3449
|
-
/**
|
|
3450
|
-
* User.contentTemplates
|
|
3451
|
-
*/
|
|
3452
|
-
export type User$contentTemplatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3453
|
-
/**
|
|
3454
|
-
* Select specific fields to fetch from the ContentTemplate
|
|
3455
|
-
*/
|
|
3456
|
-
select?: Prisma.ContentTemplateSelect<ExtArgs> | null
|
|
3457
|
-
/**
|
|
3458
|
-
* Omit specific fields from the ContentTemplate
|
|
3459
|
-
*/
|
|
3460
|
-
omit?: Prisma.ContentTemplateOmit<ExtArgs> | null
|
|
3461
|
-
/**
|
|
3462
|
-
* Choose, which related nodes to fetch as well
|
|
3463
|
-
*/
|
|
3464
|
-
include?: Prisma.ContentTemplateInclude<ExtArgs> | null
|
|
3465
|
-
where?: Prisma.ContentTemplateWhereInput
|
|
3466
|
-
orderBy?: Prisma.ContentTemplateOrderByWithRelationInput | Prisma.ContentTemplateOrderByWithRelationInput[]
|
|
3467
|
-
cursor?: Prisma.ContentTemplateWhereUniqueInput
|
|
3468
|
-
take?: number
|
|
3469
|
-
skip?: number
|
|
3470
|
-
distinct?: Prisma.ContentTemplateScalarFieldEnum | Prisma.ContentTemplateScalarFieldEnum[]
|
|
3471
|
-
}
|
|
3472
|
-
|
|
3473
|
-
/**
|
|
3474
|
-
* User.workflowAssigned
|
|
3475
|
-
*/
|
|
3476
|
-
export type User$workflowAssignedArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3477
|
-
/**
|
|
3478
|
-
* Select specific fields to fetch from the WorkflowState
|
|
3479
|
-
*/
|
|
3480
|
-
select?: Prisma.WorkflowStateSelect<ExtArgs> | null
|
|
3481
|
-
/**
|
|
3482
|
-
* Omit specific fields from the WorkflowState
|
|
3483
|
-
*/
|
|
3484
|
-
omit?: Prisma.WorkflowStateOmit<ExtArgs> | null
|
|
3485
|
-
/**
|
|
3486
|
-
* Choose, which related nodes to fetch as well
|
|
3487
|
-
*/
|
|
3488
|
-
include?: Prisma.WorkflowStateInclude<ExtArgs> | null
|
|
3489
|
-
where?: Prisma.WorkflowStateWhereInput
|
|
3490
|
-
orderBy?: Prisma.WorkflowStateOrderByWithRelationInput | Prisma.WorkflowStateOrderByWithRelationInput[]
|
|
3491
|
-
cursor?: Prisma.WorkflowStateWhereUniqueInput
|
|
3492
|
-
take?: number
|
|
3493
|
-
skip?: number
|
|
3494
|
-
distinct?: Prisma.WorkflowStateScalarFieldEnum | Prisma.WorkflowStateScalarFieldEnum[]
|
|
3495
|
-
}
|
|
3496
|
-
|
|
3497
|
-
/**
|
|
3498
|
-
* User without action
|
|
3499
|
-
*/
|
|
3500
|
-
export type UserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3501
|
-
/**
|
|
3502
|
-
* Select specific fields to fetch from the User
|
|
3503
|
-
*/
|
|
3504
|
-
select?: Prisma.UserSelect<ExtArgs> | null
|
|
3505
|
-
/**
|
|
3506
|
-
* Omit specific fields from the User
|
|
3507
|
-
*/
|
|
3508
|
-
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
3509
|
-
/**
|
|
3510
|
-
* Choose, which related nodes to fetch as well
|
|
3511
|
-
*/
|
|
3512
|
-
include?: Prisma.UserInclude<ExtArgs> | null
|
|
3513
|
-
}
|