create-zhx-monorepo 0.1.8 → 0.1.9

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.
Files changed (21) hide show
  1. package/bin/index.js +0 -11
  2. package/package.json +1 -1
  3. package/templates/monorepo-starter/README.md +28 -0
  4. package/templates/monorepo-starter/server/.env.example +1 -0
  5. package/templates/monorepo-starter/server/prisma/generated/browser.ts +0 -54
  6. package/templates/monorepo-starter/server/prisma/generated/client.ts +0 -76
  7. package/templates/monorepo-starter/server/prisma/generated/commonInputTypes.ts +0 -577
  8. package/templates/monorepo-starter/server/prisma/generated/enums.ts +0 -68
  9. package/templates/monorepo-starter/server/prisma/generated/internal/class.ts +0 -250
  10. package/templates/monorepo-starter/server/prisma/generated/internal/prismaNamespace.ts +0 -1436
  11. package/templates/monorepo-starter/server/prisma/generated/internal/prismaNamespaceBrowser.ts +0 -227
  12. package/templates/monorepo-starter/server/prisma/generated/models/BackupCode.ts +0 -1375
  13. package/templates/monorepo-starter/server/prisma/generated/models/Notification.ts +0 -1587
  14. package/templates/monorepo-starter/server/prisma/generated/models/Otp.ts +0 -1488
  15. package/templates/monorepo-starter/server/prisma/generated/models/RefreshToken.ts +0 -1515
  16. package/templates/monorepo-starter/server/prisma/generated/models/RoleAssignment.ts +0 -1385
  17. package/templates/monorepo-starter/server/prisma/generated/models/SecuritySetting.ts +0 -1422
  18. package/templates/monorepo-starter/server/prisma/generated/models/User.ts +0 -2498
  19. package/templates/monorepo-starter/server/prisma/generated/models.ts +0 -18
  20. package/templates/monorepo-starter/server/prisma/migrations/20251218164821_init/migration.sql +0 -210
  21. package/templates/monorepo-starter/server/prisma/migrations/migration_lock.toml +0 -3
@@ -1,1385 +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 `RoleAssignment` 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 RoleAssignment
17
- *
18
- */
19
- export type RoleAssignmentModel = runtime.Types.Result.DefaultSelection<Prisma.$RoleAssignmentPayload>
20
-
21
- export type AggregateRoleAssignment = {
22
- _count: RoleAssignmentCountAggregateOutputType | null
23
- _min: RoleAssignmentMinAggregateOutputType | null
24
- _max: RoleAssignmentMaxAggregateOutputType | null
25
- }
26
-
27
- export type RoleAssignmentMinAggregateOutputType = {
28
- id: string | null
29
- userId: string | null
30
- role: $Enums.UserRole | null
31
- createdAt: Date | null
32
- updatedAt: Date | null
33
- revokedAt: Date | null
34
- }
35
-
36
- export type RoleAssignmentMaxAggregateOutputType = {
37
- id: string | null
38
- userId: string | null
39
- role: $Enums.UserRole | null
40
- createdAt: Date | null
41
- updatedAt: Date | null
42
- revokedAt: Date | null
43
- }
44
-
45
- export type RoleAssignmentCountAggregateOutputType = {
46
- id: number
47
- userId: number
48
- role: number
49
- createdAt: number
50
- updatedAt: number
51
- revokedAt: number
52
- _all: number
53
- }
54
-
55
-
56
- export type RoleAssignmentMinAggregateInputType = {
57
- id?: true
58
- userId?: true
59
- role?: true
60
- createdAt?: true
61
- updatedAt?: true
62
- revokedAt?: true
63
- }
64
-
65
- export type RoleAssignmentMaxAggregateInputType = {
66
- id?: true
67
- userId?: true
68
- role?: true
69
- createdAt?: true
70
- updatedAt?: true
71
- revokedAt?: true
72
- }
73
-
74
- export type RoleAssignmentCountAggregateInputType = {
75
- id?: true
76
- userId?: true
77
- role?: true
78
- createdAt?: true
79
- updatedAt?: true
80
- revokedAt?: true
81
- _all?: true
82
- }
83
-
84
- export type RoleAssignmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
85
- /**
86
- * Filter which RoleAssignment to aggregate.
87
- */
88
- where?: Prisma.RoleAssignmentWhereInput
89
- /**
90
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
91
- *
92
- * Determine the order of RoleAssignments to fetch.
93
- */
94
- orderBy?: Prisma.RoleAssignmentOrderByWithRelationInput | Prisma.RoleAssignmentOrderByWithRelationInput[]
95
- /**
96
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97
- *
98
- * Sets the start position
99
- */
100
- cursor?: Prisma.RoleAssignmentWhereUniqueInput
101
- /**
102
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
103
- *
104
- * Take `±n` RoleAssignments from the position of the cursor.
105
- */
106
- take?: number
107
- /**
108
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
- *
110
- * Skip the first `n` RoleAssignments.
111
- */
112
- skip?: number
113
- /**
114
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
115
- *
116
- * Count returned RoleAssignments
117
- **/
118
- _count?: true | RoleAssignmentCountAggregateInputType
119
- /**
120
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
- *
122
- * Select which fields to find the minimum value
123
- **/
124
- _min?: RoleAssignmentMinAggregateInputType
125
- /**
126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
- *
128
- * Select which fields to find the maximum value
129
- **/
130
- _max?: RoleAssignmentMaxAggregateInputType
131
- }
132
-
133
- export type GetRoleAssignmentAggregateType<T extends RoleAssignmentAggregateArgs> = {
134
- [P in keyof T & keyof AggregateRoleAssignment]: P extends '_count' | 'count'
135
- ? T[P] extends true
136
- ? number
137
- : Prisma.GetScalarType<T[P], AggregateRoleAssignment[P]>
138
- : Prisma.GetScalarType<T[P], AggregateRoleAssignment[P]>
139
- }
140
-
141
-
142
-
143
-
144
- export type RoleAssignmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
145
- where?: Prisma.RoleAssignmentWhereInput
146
- orderBy?: Prisma.RoleAssignmentOrderByWithAggregationInput | Prisma.RoleAssignmentOrderByWithAggregationInput[]
147
- by: Prisma.RoleAssignmentScalarFieldEnum[] | Prisma.RoleAssignmentScalarFieldEnum
148
- having?: Prisma.RoleAssignmentScalarWhereWithAggregatesInput
149
- take?: number
150
- skip?: number
151
- _count?: RoleAssignmentCountAggregateInputType | true
152
- _min?: RoleAssignmentMinAggregateInputType
153
- _max?: RoleAssignmentMaxAggregateInputType
154
- }
155
-
156
- export type RoleAssignmentGroupByOutputType = {
157
- id: string
158
- userId: string
159
- role: $Enums.UserRole
160
- createdAt: Date
161
- updatedAt: Date
162
- revokedAt: Date | null
163
- _count: RoleAssignmentCountAggregateOutputType | null
164
- _min: RoleAssignmentMinAggregateOutputType | null
165
- _max: RoleAssignmentMaxAggregateOutputType | null
166
- }
167
-
168
- type GetRoleAssignmentGroupByPayload<T extends RoleAssignmentGroupByArgs> = Prisma.PrismaPromise<
169
- Array<
170
- Prisma.PickEnumerable<RoleAssignmentGroupByOutputType, T['by']> &
171
- {
172
- [P in ((keyof T) & (keyof RoleAssignmentGroupByOutputType))]: P extends '_count'
173
- ? T[P] extends boolean
174
- ? number
175
- : Prisma.GetScalarType<T[P], RoleAssignmentGroupByOutputType[P]>
176
- : Prisma.GetScalarType<T[P], RoleAssignmentGroupByOutputType[P]>
177
- }
178
- >
179
- >
180
-
181
-
182
-
183
- export type RoleAssignmentWhereInput = {
184
- AND?: Prisma.RoleAssignmentWhereInput | Prisma.RoleAssignmentWhereInput[]
185
- OR?: Prisma.RoleAssignmentWhereInput[]
186
- NOT?: Prisma.RoleAssignmentWhereInput | Prisma.RoleAssignmentWhereInput[]
187
- id?: Prisma.StringFilter<"RoleAssignment"> | string
188
- userId?: Prisma.StringFilter<"RoleAssignment"> | string
189
- role?: Prisma.EnumUserRoleFilter<"RoleAssignment"> | $Enums.UserRole
190
- createdAt?: Prisma.DateTimeFilter<"RoleAssignment"> | Date | string
191
- updatedAt?: Prisma.DateTimeFilter<"RoleAssignment"> | Date | string
192
- revokedAt?: Prisma.DateTimeNullableFilter<"RoleAssignment"> | Date | string | null
193
- user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
194
- }
195
-
196
- export type RoleAssignmentOrderByWithRelationInput = {
197
- id?: Prisma.SortOrder
198
- userId?: Prisma.SortOrder
199
- role?: Prisma.SortOrder
200
- createdAt?: Prisma.SortOrder
201
- updatedAt?: Prisma.SortOrder
202
- revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
203
- user?: Prisma.UserOrderByWithRelationInput
204
- }
205
-
206
- export type RoleAssignmentWhereUniqueInput = Prisma.AtLeast<{
207
- id?: string
208
- userId_role?: Prisma.RoleAssignmentUserIdRoleCompoundUniqueInput
209
- AND?: Prisma.RoleAssignmentWhereInput | Prisma.RoleAssignmentWhereInput[]
210
- OR?: Prisma.RoleAssignmentWhereInput[]
211
- NOT?: Prisma.RoleAssignmentWhereInput | Prisma.RoleAssignmentWhereInput[]
212
- userId?: Prisma.StringFilter<"RoleAssignment"> | string
213
- role?: Prisma.EnumUserRoleFilter<"RoleAssignment"> | $Enums.UserRole
214
- createdAt?: Prisma.DateTimeFilter<"RoleAssignment"> | Date | string
215
- updatedAt?: Prisma.DateTimeFilter<"RoleAssignment"> | Date | string
216
- revokedAt?: Prisma.DateTimeNullableFilter<"RoleAssignment"> | Date | string | null
217
- user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
218
- }, "id" | "userId_role">
219
-
220
- export type RoleAssignmentOrderByWithAggregationInput = {
221
- id?: Prisma.SortOrder
222
- userId?: Prisma.SortOrder
223
- role?: Prisma.SortOrder
224
- createdAt?: Prisma.SortOrder
225
- updatedAt?: Prisma.SortOrder
226
- revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
227
- _count?: Prisma.RoleAssignmentCountOrderByAggregateInput
228
- _max?: Prisma.RoleAssignmentMaxOrderByAggregateInput
229
- _min?: Prisma.RoleAssignmentMinOrderByAggregateInput
230
- }
231
-
232
- export type RoleAssignmentScalarWhereWithAggregatesInput = {
233
- AND?: Prisma.RoleAssignmentScalarWhereWithAggregatesInput | Prisma.RoleAssignmentScalarWhereWithAggregatesInput[]
234
- OR?: Prisma.RoleAssignmentScalarWhereWithAggregatesInput[]
235
- NOT?: Prisma.RoleAssignmentScalarWhereWithAggregatesInput | Prisma.RoleAssignmentScalarWhereWithAggregatesInput[]
236
- id?: Prisma.StringWithAggregatesFilter<"RoleAssignment"> | string
237
- userId?: Prisma.StringWithAggregatesFilter<"RoleAssignment"> | string
238
- role?: Prisma.EnumUserRoleWithAggregatesFilter<"RoleAssignment"> | $Enums.UserRole
239
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"RoleAssignment"> | Date | string
240
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"RoleAssignment"> | Date | string
241
- revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"RoleAssignment"> | Date | string | null
242
- }
243
-
244
- export type RoleAssignmentCreateInput = {
245
- id?: string
246
- role: $Enums.UserRole
247
- createdAt?: Date | string
248
- updatedAt?: Date | string
249
- revokedAt?: Date | string | null
250
- user: Prisma.UserCreateNestedOneWithoutRolesInput
251
- }
252
-
253
- export type RoleAssignmentUncheckedCreateInput = {
254
- id?: string
255
- userId: string
256
- role: $Enums.UserRole
257
- createdAt?: Date | string
258
- updatedAt?: Date | string
259
- revokedAt?: Date | string | null
260
- }
261
-
262
- export type RoleAssignmentUpdateInput = {
263
- id?: Prisma.StringFieldUpdateOperationsInput | string
264
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
265
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
266
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
267
- revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
268
- user?: Prisma.UserUpdateOneRequiredWithoutRolesNestedInput
269
- }
270
-
271
- export type RoleAssignmentUncheckedUpdateInput = {
272
- id?: Prisma.StringFieldUpdateOperationsInput | string
273
- userId?: Prisma.StringFieldUpdateOperationsInput | string
274
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
275
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
276
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
277
- revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
278
- }
279
-
280
- export type RoleAssignmentCreateManyInput = {
281
- id?: string
282
- userId: string
283
- role: $Enums.UserRole
284
- createdAt?: Date | string
285
- updatedAt?: Date | string
286
- revokedAt?: Date | string | null
287
- }
288
-
289
- export type RoleAssignmentUpdateManyMutationInput = {
290
- id?: Prisma.StringFieldUpdateOperationsInput | string
291
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
292
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
293
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
294
- revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
295
- }
296
-
297
- export type RoleAssignmentUncheckedUpdateManyInput = {
298
- id?: Prisma.StringFieldUpdateOperationsInput | string
299
- userId?: Prisma.StringFieldUpdateOperationsInput | string
300
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
301
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
302
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
303
- revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
304
- }
305
-
306
- export type RoleAssignmentListRelationFilter = {
307
- every?: Prisma.RoleAssignmentWhereInput
308
- some?: Prisma.RoleAssignmentWhereInput
309
- none?: Prisma.RoleAssignmentWhereInput
310
- }
311
-
312
- export type RoleAssignmentOrderByRelationAggregateInput = {
313
- _count?: Prisma.SortOrder
314
- }
315
-
316
- export type RoleAssignmentUserIdRoleCompoundUniqueInput = {
317
- userId: string
318
- role: $Enums.UserRole
319
- }
320
-
321
- export type RoleAssignmentCountOrderByAggregateInput = {
322
- id?: Prisma.SortOrder
323
- userId?: Prisma.SortOrder
324
- role?: Prisma.SortOrder
325
- createdAt?: Prisma.SortOrder
326
- updatedAt?: Prisma.SortOrder
327
- revokedAt?: Prisma.SortOrder
328
- }
329
-
330
- export type RoleAssignmentMaxOrderByAggregateInput = {
331
- id?: Prisma.SortOrder
332
- userId?: Prisma.SortOrder
333
- role?: Prisma.SortOrder
334
- createdAt?: Prisma.SortOrder
335
- updatedAt?: Prisma.SortOrder
336
- revokedAt?: Prisma.SortOrder
337
- }
338
-
339
- export type RoleAssignmentMinOrderByAggregateInput = {
340
- id?: Prisma.SortOrder
341
- userId?: Prisma.SortOrder
342
- role?: Prisma.SortOrder
343
- createdAt?: Prisma.SortOrder
344
- updatedAt?: Prisma.SortOrder
345
- revokedAt?: Prisma.SortOrder
346
- }
347
-
348
- export type RoleAssignmentCreateNestedManyWithoutUserInput = {
349
- create?: Prisma.XOR<Prisma.RoleAssignmentCreateWithoutUserInput, Prisma.RoleAssignmentUncheckedCreateWithoutUserInput> | Prisma.RoleAssignmentCreateWithoutUserInput[] | Prisma.RoleAssignmentUncheckedCreateWithoutUserInput[]
350
- connectOrCreate?: Prisma.RoleAssignmentCreateOrConnectWithoutUserInput | Prisma.RoleAssignmentCreateOrConnectWithoutUserInput[]
351
- createMany?: Prisma.RoleAssignmentCreateManyUserInputEnvelope
352
- connect?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
353
- }
354
-
355
- export type RoleAssignmentUncheckedCreateNestedManyWithoutUserInput = {
356
- create?: Prisma.XOR<Prisma.RoleAssignmentCreateWithoutUserInput, Prisma.RoleAssignmentUncheckedCreateWithoutUserInput> | Prisma.RoleAssignmentCreateWithoutUserInput[] | Prisma.RoleAssignmentUncheckedCreateWithoutUserInput[]
357
- connectOrCreate?: Prisma.RoleAssignmentCreateOrConnectWithoutUserInput | Prisma.RoleAssignmentCreateOrConnectWithoutUserInput[]
358
- createMany?: Prisma.RoleAssignmentCreateManyUserInputEnvelope
359
- connect?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
360
- }
361
-
362
- export type RoleAssignmentUpdateManyWithoutUserNestedInput = {
363
- create?: Prisma.XOR<Prisma.RoleAssignmentCreateWithoutUserInput, Prisma.RoleAssignmentUncheckedCreateWithoutUserInput> | Prisma.RoleAssignmentCreateWithoutUserInput[] | Prisma.RoleAssignmentUncheckedCreateWithoutUserInput[]
364
- connectOrCreate?: Prisma.RoleAssignmentCreateOrConnectWithoutUserInput | Prisma.RoleAssignmentCreateOrConnectWithoutUserInput[]
365
- upsert?: Prisma.RoleAssignmentUpsertWithWhereUniqueWithoutUserInput | Prisma.RoleAssignmentUpsertWithWhereUniqueWithoutUserInput[]
366
- createMany?: Prisma.RoleAssignmentCreateManyUserInputEnvelope
367
- set?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
368
- disconnect?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
369
- delete?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
370
- connect?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
371
- update?: Prisma.RoleAssignmentUpdateWithWhereUniqueWithoutUserInput | Prisma.RoleAssignmentUpdateWithWhereUniqueWithoutUserInput[]
372
- updateMany?: Prisma.RoleAssignmentUpdateManyWithWhereWithoutUserInput | Prisma.RoleAssignmentUpdateManyWithWhereWithoutUserInput[]
373
- deleteMany?: Prisma.RoleAssignmentScalarWhereInput | Prisma.RoleAssignmentScalarWhereInput[]
374
- }
375
-
376
- export type RoleAssignmentUncheckedUpdateManyWithoutUserNestedInput = {
377
- create?: Prisma.XOR<Prisma.RoleAssignmentCreateWithoutUserInput, Prisma.RoleAssignmentUncheckedCreateWithoutUserInput> | Prisma.RoleAssignmentCreateWithoutUserInput[] | Prisma.RoleAssignmentUncheckedCreateWithoutUserInput[]
378
- connectOrCreate?: Prisma.RoleAssignmentCreateOrConnectWithoutUserInput | Prisma.RoleAssignmentCreateOrConnectWithoutUserInput[]
379
- upsert?: Prisma.RoleAssignmentUpsertWithWhereUniqueWithoutUserInput | Prisma.RoleAssignmentUpsertWithWhereUniqueWithoutUserInput[]
380
- createMany?: Prisma.RoleAssignmentCreateManyUserInputEnvelope
381
- set?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
382
- disconnect?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
383
- delete?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
384
- connect?: Prisma.RoleAssignmentWhereUniqueInput | Prisma.RoleAssignmentWhereUniqueInput[]
385
- update?: Prisma.RoleAssignmentUpdateWithWhereUniqueWithoutUserInput | Prisma.RoleAssignmentUpdateWithWhereUniqueWithoutUserInput[]
386
- updateMany?: Prisma.RoleAssignmentUpdateManyWithWhereWithoutUserInput | Prisma.RoleAssignmentUpdateManyWithWhereWithoutUserInput[]
387
- deleteMany?: Prisma.RoleAssignmentScalarWhereInput | Prisma.RoleAssignmentScalarWhereInput[]
388
- }
389
-
390
- export type EnumUserRoleFieldUpdateOperationsInput = {
391
- set?: $Enums.UserRole
392
- }
393
-
394
- export type RoleAssignmentCreateWithoutUserInput = {
395
- id?: string
396
- role: $Enums.UserRole
397
- createdAt?: Date | string
398
- updatedAt?: Date | string
399
- revokedAt?: Date | string | null
400
- }
401
-
402
- export type RoleAssignmentUncheckedCreateWithoutUserInput = {
403
- id?: string
404
- role: $Enums.UserRole
405
- createdAt?: Date | string
406
- updatedAt?: Date | string
407
- revokedAt?: Date | string | null
408
- }
409
-
410
- export type RoleAssignmentCreateOrConnectWithoutUserInput = {
411
- where: Prisma.RoleAssignmentWhereUniqueInput
412
- create: Prisma.XOR<Prisma.RoleAssignmentCreateWithoutUserInput, Prisma.RoleAssignmentUncheckedCreateWithoutUserInput>
413
- }
414
-
415
- export type RoleAssignmentCreateManyUserInputEnvelope = {
416
- data: Prisma.RoleAssignmentCreateManyUserInput | Prisma.RoleAssignmentCreateManyUserInput[]
417
- skipDuplicates?: boolean
418
- }
419
-
420
- export type RoleAssignmentUpsertWithWhereUniqueWithoutUserInput = {
421
- where: Prisma.RoleAssignmentWhereUniqueInput
422
- update: Prisma.XOR<Prisma.RoleAssignmentUpdateWithoutUserInput, Prisma.RoleAssignmentUncheckedUpdateWithoutUserInput>
423
- create: Prisma.XOR<Prisma.RoleAssignmentCreateWithoutUserInput, Prisma.RoleAssignmentUncheckedCreateWithoutUserInput>
424
- }
425
-
426
- export type RoleAssignmentUpdateWithWhereUniqueWithoutUserInput = {
427
- where: Prisma.RoleAssignmentWhereUniqueInput
428
- data: Prisma.XOR<Prisma.RoleAssignmentUpdateWithoutUserInput, Prisma.RoleAssignmentUncheckedUpdateWithoutUserInput>
429
- }
430
-
431
- export type RoleAssignmentUpdateManyWithWhereWithoutUserInput = {
432
- where: Prisma.RoleAssignmentScalarWhereInput
433
- data: Prisma.XOR<Prisma.RoleAssignmentUpdateManyMutationInput, Prisma.RoleAssignmentUncheckedUpdateManyWithoutUserInput>
434
- }
435
-
436
- export type RoleAssignmentScalarWhereInput = {
437
- AND?: Prisma.RoleAssignmentScalarWhereInput | Prisma.RoleAssignmentScalarWhereInput[]
438
- OR?: Prisma.RoleAssignmentScalarWhereInput[]
439
- NOT?: Prisma.RoleAssignmentScalarWhereInput | Prisma.RoleAssignmentScalarWhereInput[]
440
- id?: Prisma.StringFilter<"RoleAssignment"> | string
441
- userId?: Prisma.StringFilter<"RoleAssignment"> | string
442
- role?: Prisma.EnumUserRoleFilter<"RoleAssignment"> | $Enums.UserRole
443
- createdAt?: Prisma.DateTimeFilter<"RoleAssignment"> | Date | string
444
- updatedAt?: Prisma.DateTimeFilter<"RoleAssignment"> | Date | string
445
- revokedAt?: Prisma.DateTimeNullableFilter<"RoleAssignment"> | Date | string | null
446
- }
447
-
448
- export type RoleAssignmentCreateManyUserInput = {
449
- id?: string
450
- role: $Enums.UserRole
451
- createdAt?: Date | string
452
- updatedAt?: Date | string
453
- revokedAt?: Date | string | null
454
- }
455
-
456
- export type RoleAssignmentUpdateWithoutUserInput = {
457
- id?: Prisma.StringFieldUpdateOperationsInput | string
458
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
459
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
460
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
461
- revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
462
- }
463
-
464
- export type RoleAssignmentUncheckedUpdateWithoutUserInput = {
465
- id?: Prisma.StringFieldUpdateOperationsInput | string
466
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
467
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
468
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
469
- revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
470
- }
471
-
472
- export type RoleAssignmentUncheckedUpdateManyWithoutUserInput = {
473
- id?: Prisma.StringFieldUpdateOperationsInput | string
474
- role?: Prisma.EnumUserRoleFieldUpdateOperationsInput | $Enums.UserRole
475
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
476
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
477
- revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
478
- }
479
-
480
-
481
-
482
- export type RoleAssignmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
483
- id?: boolean
484
- userId?: boolean
485
- role?: boolean
486
- createdAt?: boolean
487
- updatedAt?: boolean
488
- revokedAt?: boolean
489
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
490
- }, ExtArgs["result"]["roleAssignment"]>
491
-
492
- export type RoleAssignmentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
493
- id?: boolean
494
- userId?: boolean
495
- role?: boolean
496
- createdAt?: boolean
497
- updatedAt?: boolean
498
- revokedAt?: boolean
499
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
500
- }, ExtArgs["result"]["roleAssignment"]>
501
-
502
- export type RoleAssignmentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
503
- id?: boolean
504
- userId?: boolean
505
- role?: boolean
506
- createdAt?: boolean
507
- updatedAt?: boolean
508
- revokedAt?: boolean
509
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
510
- }, ExtArgs["result"]["roleAssignment"]>
511
-
512
- export type RoleAssignmentSelectScalar = {
513
- id?: boolean
514
- userId?: boolean
515
- role?: boolean
516
- createdAt?: boolean
517
- updatedAt?: boolean
518
- revokedAt?: boolean
519
- }
520
-
521
- export type RoleAssignmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "role" | "createdAt" | "updatedAt" | "revokedAt", ExtArgs["result"]["roleAssignment"]>
522
- export type RoleAssignmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
523
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
524
- }
525
- export type RoleAssignmentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
526
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
527
- }
528
- export type RoleAssignmentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
529
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
530
- }
531
-
532
- export type $RoleAssignmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
533
- name: "RoleAssignment"
534
- objects: {
535
- user: Prisma.$UserPayload<ExtArgs>
536
- }
537
- scalars: runtime.Types.Extensions.GetPayloadResult<{
538
- id: string
539
- userId: string
540
- role: $Enums.UserRole
541
- createdAt: Date
542
- updatedAt: Date
543
- revokedAt: Date | null
544
- }, ExtArgs["result"]["roleAssignment"]>
545
- composites: {}
546
- }
547
-
548
- export type RoleAssignmentGetPayload<S extends boolean | null | undefined | RoleAssignmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload, S>
549
-
550
- export type RoleAssignmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
551
- Omit<RoleAssignmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
552
- select?: RoleAssignmentCountAggregateInputType | true
553
- }
554
-
555
- export interface RoleAssignmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
556
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RoleAssignment'], meta: { name: 'RoleAssignment' } }
557
- /**
558
- * Find zero or one RoleAssignment that matches the filter.
559
- * @param {RoleAssignmentFindUniqueArgs} args - Arguments to find a RoleAssignment
560
- * @example
561
- * // Get one RoleAssignment
562
- * const roleAssignment = await prisma.roleAssignment.findUnique({
563
- * where: {
564
- * // ... provide filter here
565
- * }
566
- * })
567
- */
568
- findUnique<T extends RoleAssignmentFindUniqueArgs>(args: Prisma.SelectSubset<T, RoleAssignmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
569
-
570
- /**
571
- * Find one RoleAssignment that matches the filter or throw an error with `error.code='P2025'`
572
- * if no matches were found.
573
- * @param {RoleAssignmentFindUniqueOrThrowArgs} args - Arguments to find a RoleAssignment
574
- * @example
575
- * // Get one RoleAssignment
576
- * const roleAssignment = await prisma.roleAssignment.findUniqueOrThrow({
577
- * where: {
578
- * // ... provide filter here
579
- * }
580
- * })
581
- */
582
- findUniqueOrThrow<T extends RoleAssignmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RoleAssignmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
583
-
584
- /**
585
- * Find the first RoleAssignment that matches the filter.
586
- * Note, that providing `undefined` is treated as the value not being there.
587
- * Read more here: https://pris.ly/d/null-undefined
588
- * @param {RoleAssignmentFindFirstArgs} args - Arguments to find a RoleAssignment
589
- * @example
590
- * // Get one RoleAssignment
591
- * const roleAssignment = await prisma.roleAssignment.findFirst({
592
- * where: {
593
- * // ... provide filter here
594
- * }
595
- * })
596
- */
597
- findFirst<T extends RoleAssignmentFindFirstArgs>(args?: Prisma.SelectSubset<T, RoleAssignmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
598
-
599
- /**
600
- * Find the first RoleAssignment that matches the filter or
601
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
602
- * Note, that providing `undefined` is treated as the value not being there.
603
- * Read more here: https://pris.ly/d/null-undefined
604
- * @param {RoleAssignmentFindFirstOrThrowArgs} args - Arguments to find a RoleAssignment
605
- * @example
606
- * // Get one RoleAssignment
607
- * const roleAssignment = await prisma.roleAssignment.findFirstOrThrow({
608
- * where: {
609
- * // ... provide filter here
610
- * }
611
- * })
612
- */
613
- findFirstOrThrow<T extends RoleAssignmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RoleAssignmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
614
-
615
- /**
616
- * Find zero or more RoleAssignments that matches the filter.
617
- * Note, that providing `undefined` is treated as the value not being there.
618
- * Read more here: https://pris.ly/d/null-undefined
619
- * @param {RoleAssignmentFindManyArgs} args - Arguments to filter and select certain fields only.
620
- * @example
621
- * // Get all RoleAssignments
622
- * const roleAssignments = await prisma.roleAssignment.findMany()
623
- *
624
- * // Get first 10 RoleAssignments
625
- * const roleAssignments = await prisma.roleAssignment.findMany({ take: 10 })
626
- *
627
- * // Only select the `id`
628
- * const roleAssignmentWithIdOnly = await prisma.roleAssignment.findMany({ select: { id: true } })
629
- *
630
- */
631
- findMany<T extends RoleAssignmentFindManyArgs>(args?: Prisma.SelectSubset<T, RoleAssignmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
632
-
633
- /**
634
- * Create a RoleAssignment.
635
- * @param {RoleAssignmentCreateArgs} args - Arguments to create a RoleAssignment.
636
- * @example
637
- * // Create one RoleAssignment
638
- * const RoleAssignment = await prisma.roleAssignment.create({
639
- * data: {
640
- * // ... data to create a RoleAssignment
641
- * }
642
- * })
643
- *
644
- */
645
- create<T extends RoleAssignmentCreateArgs>(args: Prisma.SelectSubset<T, RoleAssignmentCreateArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
646
-
647
- /**
648
- * Create many RoleAssignments.
649
- * @param {RoleAssignmentCreateManyArgs} args - Arguments to create many RoleAssignments.
650
- * @example
651
- * // Create many RoleAssignments
652
- * const roleAssignment = await prisma.roleAssignment.createMany({
653
- * data: [
654
- * // ... provide data here
655
- * ]
656
- * })
657
- *
658
- */
659
- createMany<T extends RoleAssignmentCreateManyArgs>(args?: Prisma.SelectSubset<T, RoleAssignmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
660
-
661
- /**
662
- * Create many RoleAssignments and returns the data saved in the database.
663
- * @param {RoleAssignmentCreateManyAndReturnArgs} args - Arguments to create many RoleAssignments.
664
- * @example
665
- * // Create many RoleAssignments
666
- * const roleAssignment = await prisma.roleAssignment.createManyAndReturn({
667
- * data: [
668
- * // ... provide data here
669
- * ]
670
- * })
671
- *
672
- * // Create many RoleAssignments and only return the `id`
673
- * const roleAssignmentWithIdOnly = await prisma.roleAssignment.createManyAndReturn({
674
- * select: { id: true },
675
- * data: [
676
- * // ... provide data here
677
- * ]
678
- * })
679
- * Note, that providing `undefined` is treated as the value not being there.
680
- * Read more here: https://pris.ly/d/null-undefined
681
- *
682
- */
683
- createManyAndReturn<T extends RoleAssignmentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RoleAssignmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
684
-
685
- /**
686
- * Delete a RoleAssignment.
687
- * @param {RoleAssignmentDeleteArgs} args - Arguments to delete one RoleAssignment.
688
- * @example
689
- * // Delete one RoleAssignment
690
- * const RoleAssignment = await prisma.roleAssignment.delete({
691
- * where: {
692
- * // ... filter to delete one RoleAssignment
693
- * }
694
- * })
695
- *
696
- */
697
- delete<T extends RoleAssignmentDeleteArgs>(args: Prisma.SelectSubset<T, RoleAssignmentDeleteArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
698
-
699
- /**
700
- * Update one RoleAssignment.
701
- * @param {RoleAssignmentUpdateArgs} args - Arguments to update one RoleAssignment.
702
- * @example
703
- * // Update one RoleAssignment
704
- * const roleAssignment = await prisma.roleAssignment.update({
705
- * where: {
706
- * // ... provide filter here
707
- * },
708
- * data: {
709
- * // ... provide data here
710
- * }
711
- * })
712
- *
713
- */
714
- update<T extends RoleAssignmentUpdateArgs>(args: Prisma.SelectSubset<T, RoleAssignmentUpdateArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
715
-
716
- /**
717
- * Delete zero or more RoleAssignments.
718
- * @param {RoleAssignmentDeleteManyArgs} args - Arguments to filter RoleAssignments to delete.
719
- * @example
720
- * // Delete a few RoleAssignments
721
- * const { count } = await prisma.roleAssignment.deleteMany({
722
- * where: {
723
- * // ... provide filter here
724
- * }
725
- * })
726
- *
727
- */
728
- deleteMany<T extends RoleAssignmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, RoleAssignmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
729
-
730
- /**
731
- * Update zero or more RoleAssignments.
732
- * Note, that providing `undefined` is treated as the value not being there.
733
- * Read more here: https://pris.ly/d/null-undefined
734
- * @param {RoleAssignmentUpdateManyArgs} args - Arguments to update one or more rows.
735
- * @example
736
- * // Update many RoleAssignments
737
- * const roleAssignment = await prisma.roleAssignment.updateMany({
738
- * where: {
739
- * // ... provide filter here
740
- * },
741
- * data: {
742
- * // ... provide data here
743
- * }
744
- * })
745
- *
746
- */
747
- updateMany<T extends RoleAssignmentUpdateManyArgs>(args: Prisma.SelectSubset<T, RoleAssignmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
748
-
749
- /**
750
- * Update zero or more RoleAssignments and returns the data updated in the database.
751
- * @param {RoleAssignmentUpdateManyAndReturnArgs} args - Arguments to update many RoleAssignments.
752
- * @example
753
- * // Update many RoleAssignments
754
- * const roleAssignment = await prisma.roleAssignment.updateManyAndReturn({
755
- * where: {
756
- * // ... provide filter here
757
- * },
758
- * data: [
759
- * // ... provide data here
760
- * ]
761
- * })
762
- *
763
- * // Update zero or more RoleAssignments and only return the `id`
764
- * const roleAssignmentWithIdOnly = await prisma.roleAssignment.updateManyAndReturn({
765
- * select: { id: true },
766
- * where: {
767
- * // ... provide filter here
768
- * },
769
- * data: [
770
- * // ... provide data here
771
- * ]
772
- * })
773
- * Note, that providing `undefined` is treated as the value not being there.
774
- * Read more here: https://pris.ly/d/null-undefined
775
- *
776
- */
777
- updateManyAndReturn<T extends RoleAssignmentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RoleAssignmentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
778
-
779
- /**
780
- * Create or update one RoleAssignment.
781
- * @param {RoleAssignmentUpsertArgs} args - Arguments to update or create a RoleAssignment.
782
- * @example
783
- * // Update or create a RoleAssignment
784
- * const roleAssignment = await prisma.roleAssignment.upsert({
785
- * create: {
786
- * // ... data to create a RoleAssignment
787
- * },
788
- * update: {
789
- * // ... in case it already exists, update
790
- * },
791
- * where: {
792
- * // ... the filter for the RoleAssignment we want to update
793
- * }
794
- * })
795
- */
796
- upsert<T extends RoleAssignmentUpsertArgs>(args: Prisma.SelectSubset<T, RoleAssignmentUpsertArgs<ExtArgs>>): Prisma.Prisma__RoleAssignmentClient<runtime.Types.Result.GetResult<Prisma.$RoleAssignmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
797
-
798
-
799
- /**
800
- * Count the number of RoleAssignments.
801
- * Note, that providing `undefined` is treated as the value not being there.
802
- * Read more here: https://pris.ly/d/null-undefined
803
- * @param {RoleAssignmentCountArgs} args - Arguments to filter RoleAssignments to count.
804
- * @example
805
- * // Count the number of RoleAssignments
806
- * const count = await prisma.roleAssignment.count({
807
- * where: {
808
- * // ... the filter for the RoleAssignments we want to count
809
- * }
810
- * })
811
- **/
812
- count<T extends RoleAssignmentCountArgs>(
813
- args?: Prisma.Subset<T, RoleAssignmentCountArgs>,
814
- ): Prisma.PrismaPromise<
815
- T extends runtime.Types.Utils.Record<'select', any>
816
- ? T['select'] extends true
817
- ? number
818
- : Prisma.GetScalarType<T['select'], RoleAssignmentCountAggregateOutputType>
819
- : number
820
- >
821
-
822
- /**
823
- * Allows you to perform aggregations operations on a RoleAssignment.
824
- * Note, that providing `undefined` is treated as the value not being there.
825
- * Read more here: https://pris.ly/d/null-undefined
826
- * @param {RoleAssignmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
827
- * @example
828
- * // Ordered by age ascending
829
- * // Where email contains prisma.io
830
- * // Limited to the 10 users
831
- * const aggregations = await prisma.user.aggregate({
832
- * _avg: {
833
- * age: true,
834
- * },
835
- * where: {
836
- * email: {
837
- * contains: "prisma.io",
838
- * },
839
- * },
840
- * orderBy: {
841
- * age: "asc",
842
- * },
843
- * take: 10,
844
- * })
845
- **/
846
- aggregate<T extends RoleAssignmentAggregateArgs>(args: Prisma.Subset<T, RoleAssignmentAggregateArgs>): Prisma.PrismaPromise<GetRoleAssignmentAggregateType<T>>
847
-
848
- /**
849
- * Group by RoleAssignment.
850
- * Note, that providing `undefined` is treated as the value not being there.
851
- * Read more here: https://pris.ly/d/null-undefined
852
- * @param {RoleAssignmentGroupByArgs} args - Group by arguments.
853
- * @example
854
- * // Group by city, order by createdAt, get count
855
- * const result = await prisma.user.groupBy({
856
- * by: ['city', 'createdAt'],
857
- * orderBy: {
858
- * createdAt: true
859
- * },
860
- * _count: {
861
- * _all: true
862
- * },
863
- * })
864
- *
865
- **/
866
- groupBy<
867
- T extends RoleAssignmentGroupByArgs,
868
- HasSelectOrTake extends Prisma.Or<
869
- Prisma.Extends<'skip', Prisma.Keys<T>>,
870
- Prisma.Extends<'take', Prisma.Keys<T>>
871
- >,
872
- OrderByArg extends Prisma.True extends HasSelectOrTake
873
- ? { orderBy: RoleAssignmentGroupByArgs['orderBy'] }
874
- : { orderBy?: RoleAssignmentGroupByArgs['orderBy'] },
875
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
876
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
877
- ByValid extends Prisma.Has<ByFields, OrderFields>,
878
- HavingFields extends Prisma.GetHavingFields<T['having']>,
879
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
880
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
881
- InputErrors extends ByEmpty extends Prisma.True
882
- ? `Error: "by" must not be empty.`
883
- : HavingValid extends Prisma.False
884
- ? {
885
- [P in HavingFields]: P extends ByFields
886
- ? never
887
- : P extends string
888
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
889
- : [
890
- Error,
891
- 'Field ',
892
- P,
893
- ` in "having" needs to be provided in "by"`,
894
- ]
895
- }[HavingFields]
896
- : 'take' extends Prisma.Keys<T>
897
- ? 'orderBy' extends Prisma.Keys<T>
898
- ? ByValid extends Prisma.True
899
- ? {}
900
- : {
901
- [P in OrderFields]: P extends ByFields
902
- ? never
903
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
904
- }[OrderFields]
905
- : 'Error: If you provide "take", you also need to provide "orderBy"'
906
- : 'skip' extends Prisma.Keys<T>
907
- ? 'orderBy' extends Prisma.Keys<T>
908
- ? ByValid extends Prisma.True
909
- ? {}
910
- : {
911
- [P in OrderFields]: P extends ByFields
912
- ? never
913
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
914
- }[OrderFields]
915
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
916
- : ByValid extends Prisma.True
917
- ? {}
918
- : {
919
- [P in OrderFields]: P extends ByFields
920
- ? never
921
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
922
- }[OrderFields]
923
- >(args: Prisma.SubsetIntersection<T, RoleAssignmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRoleAssignmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
924
- /**
925
- * Fields of the RoleAssignment model
926
- */
927
- readonly fields: RoleAssignmentFieldRefs;
928
- }
929
-
930
- /**
931
- * The delegate class that acts as a "Promise-like" for RoleAssignment.
932
- * Why is this prefixed with `Prisma__`?
933
- * Because we want to prevent naming conflicts as mentioned in
934
- * https://github.com/prisma/prisma-client-js/issues/707
935
- */
936
- export interface Prisma__RoleAssignmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
937
- readonly [Symbol.toStringTag]: "PrismaPromise"
938
- user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
939
- /**
940
- * Attaches callbacks for the resolution and/or rejection of the Promise.
941
- * @param onfulfilled The callback to execute when the Promise is resolved.
942
- * @param onrejected The callback to execute when the Promise is rejected.
943
- * @returns A Promise for the completion of which ever callback is executed.
944
- */
945
- 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>
946
- /**
947
- * Attaches a callback for only the rejection of the Promise.
948
- * @param onrejected The callback to execute when the Promise is rejected.
949
- * @returns A Promise for the completion of the callback.
950
- */
951
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
952
- /**
953
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
954
- * resolved value cannot be modified from the callback.
955
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
956
- * @returns A Promise for the completion of the callback.
957
- */
958
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
959
- }
960
-
961
-
962
-
963
-
964
- /**
965
- * Fields of the RoleAssignment model
966
- */
967
- export interface RoleAssignmentFieldRefs {
968
- readonly id: Prisma.FieldRef<"RoleAssignment", 'String'>
969
- readonly userId: Prisma.FieldRef<"RoleAssignment", 'String'>
970
- readonly role: Prisma.FieldRef<"RoleAssignment", 'UserRole'>
971
- readonly createdAt: Prisma.FieldRef<"RoleAssignment", 'DateTime'>
972
- readonly updatedAt: Prisma.FieldRef<"RoleAssignment", 'DateTime'>
973
- readonly revokedAt: Prisma.FieldRef<"RoleAssignment", 'DateTime'>
974
- }
975
-
976
-
977
- // Custom InputTypes
978
- /**
979
- * RoleAssignment findUnique
980
- */
981
- export type RoleAssignmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
982
- /**
983
- * Select specific fields to fetch from the RoleAssignment
984
- */
985
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
986
- /**
987
- * Omit specific fields from the RoleAssignment
988
- */
989
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
990
- /**
991
- * Choose, which related nodes to fetch as well
992
- */
993
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
994
- /**
995
- * Filter, which RoleAssignment to fetch.
996
- */
997
- where: Prisma.RoleAssignmentWhereUniqueInput
998
- }
999
-
1000
- /**
1001
- * RoleAssignment findUniqueOrThrow
1002
- */
1003
- export type RoleAssignmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1004
- /**
1005
- * Select specific fields to fetch from the RoleAssignment
1006
- */
1007
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1008
- /**
1009
- * Omit specific fields from the RoleAssignment
1010
- */
1011
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1012
- /**
1013
- * Choose, which related nodes to fetch as well
1014
- */
1015
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1016
- /**
1017
- * Filter, which RoleAssignment to fetch.
1018
- */
1019
- where: Prisma.RoleAssignmentWhereUniqueInput
1020
- }
1021
-
1022
- /**
1023
- * RoleAssignment findFirst
1024
- */
1025
- export type RoleAssignmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1026
- /**
1027
- * Select specific fields to fetch from the RoleAssignment
1028
- */
1029
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1030
- /**
1031
- * Omit specific fields from the RoleAssignment
1032
- */
1033
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1034
- /**
1035
- * Choose, which related nodes to fetch as well
1036
- */
1037
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1038
- /**
1039
- * Filter, which RoleAssignment to fetch.
1040
- */
1041
- where?: Prisma.RoleAssignmentWhereInput
1042
- /**
1043
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1044
- *
1045
- * Determine the order of RoleAssignments to fetch.
1046
- */
1047
- orderBy?: Prisma.RoleAssignmentOrderByWithRelationInput | Prisma.RoleAssignmentOrderByWithRelationInput[]
1048
- /**
1049
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1050
- *
1051
- * Sets the position for searching for RoleAssignments.
1052
- */
1053
- cursor?: Prisma.RoleAssignmentWhereUniqueInput
1054
- /**
1055
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1056
- *
1057
- * Take `±n` RoleAssignments from the position of the cursor.
1058
- */
1059
- take?: number
1060
- /**
1061
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1062
- *
1063
- * Skip the first `n` RoleAssignments.
1064
- */
1065
- skip?: number
1066
- /**
1067
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1068
- *
1069
- * Filter by unique combinations of RoleAssignments.
1070
- */
1071
- distinct?: Prisma.RoleAssignmentScalarFieldEnum | Prisma.RoleAssignmentScalarFieldEnum[]
1072
- }
1073
-
1074
- /**
1075
- * RoleAssignment findFirstOrThrow
1076
- */
1077
- export type RoleAssignmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1078
- /**
1079
- * Select specific fields to fetch from the RoleAssignment
1080
- */
1081
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1082
- /**
1083
- * Omit specific fields from the RoleAssignment
1084
- */
1085
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1086
- /**
1087
- * Choose, which related nodes to fetch as well
1088
- */
1089
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1090
- /**
1091
- * Filter, which RoleAssignment to fetch.
1092
- */
1093
- where?: Prisma.RoleAssignmentWhereInput
1094
- /**
1095
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1096
- *
1097
- * Determine the order of RoleAssignments to fetch.
1098
- */
1099
- orderBy?: Prisma.RoleAssignmentOrderByWithRelationInput | Prisma.RoleAssignmentOrderByWithRelationInput[]
1100
- /**
1101
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1102
- *
1103
- * Sets the position for searching for RoleAssignments.
1104
- */
1105
- cursor?: Prisma.RoleAssignmentWhereUniqueInput
1106
- /**
1107
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1108
- *
1109
- * Take `±n` RoleAssignments from the position of the cursor.
1110
- */
1111
- take?: number
1112
- /**
1113
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1114
- *
1115
- * Skip the first `n` RoleAssignments.
1116
- */
1117
- skip?: number
1118
- /**
1119
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1120
- *
1121
- * Filter by unique combinations of RoleAssignments.
1122
- */
1123
- distinct?: Prisma.RoleAssignmentScalarFieldEnum | Prisma.RoleAssignmentScalarFieldEnum[]
1124
- }
1125
-
1126
- /**
1127
- * RoleAssignment findMany
1128
- */
1129
- export type RoleAssignmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1130
- /**
1131
- * Select specific fields to fetch from the RoleAssignment
1132
- */
1133
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1134
- /**
1135
- * Omit specific fields from the RoleAssignment
1136
- */
1137
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1138
- /**
1139
- * Choose, which related nodes to fetch as well
1140
- */
1141
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1142
- /**
1143
- * Filter, which RoleAssignments to fetch.
1144
- */
1145
- where?: Prisma.RoleAssignmentWhereInput
1146
- /**
1147
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1148
- *
1149
- * Determine the order of RoleAssignments to fetch.
1150
- */
1151
- orderBy?: Prisma.RoleAssignmentOrderByWithRelationInput | Prisma.RoleAssignmentOrderByWithRelationInput[]
1152
- /**
1153
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1154
- *
1155
- * Sets the position for listing RoleAssignments.
1156
- */
1157
- cursor?: Prisma.RoleAssignmentWhereUniqueInput
1158
- /**
1159
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1160
- *
1161
- * Take `±n` RoleAssignments from the position of the cursor.
1162
- */
1163
- take?: number
1164
- /**
1165
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1166
- *
1167
- * Skip the first `n` RoleAssignments.
1168
- */
1169
- skip?: number
1170
- distinct?: Prisma.RoleAssignmentScalarFieldEnum | Prisma.RoleAssignmentScalarFieldEnum[]
1171
- }
1172
-
1173
- /**
1174
- * RoleAssignment create
1175
- */
1176
- export type RoleAssignmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1177
- /**
1178
- * Select specific fields to fetch from the RoleAssignment
1179
- */
1180
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1181
- /**
1182
- * Omit specific fields from the RoleAssignment
1183
- */
1184
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1185
- /**
1186
- * Choose, which related nodes to fetch as well
1187
- */
1188
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1189
- /**
1190
- * The data needed to create a RoleAssignment.
1191
- */
1192
- data: Prisma.XOR<Prisma.RoleAssignmentCreateInput, Prisma.RoleAssignmentUncheckedCreateInput>
1193
- }
1194
-
1195
- /**
1196
- * RoleAssignment createMany
1197
- */
1198
- export type RoleAssignmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1199
- /**
1200
- * The data used to create many RoleAssignments.
1201
- */
1202
- data: Prisma.RoleAssignmentCreateManyInput | Prisma.RoleAssignmentCreateManyInput[]
1203
- skipDuplicates?: boolean
1204
- }
1205
-
1206
- /**
1207
- * RoleAssignment createManyAndReturn
1208
- */
1209
- export type RoleAssignmentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1210
- /**
1211
- * Select specific fields to fetch from the RoleAssignment
1212
- */
1213
- select?: Prisma.RoleAssignmentSelectCreateManyAndReturn<ExtArgs> | null
1214
- /**
1215
- * Omit specific fields from the RoleAssignment
1216
- */
1217
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1218
- /**
1219
- * The data used to create many RoleAssignments.
1220
- */
1221
- data: Prisma.RoleAssignmentCreateManyInput | Prisma.RoleAssignmentCreateManyInput[]
1222
- skipDuplicates?: boolean
1223
- /**
1224
- * Choose, which related nodes to fetch as well
1225
- */
1226
- include?: Prisma.RoleAssignmentIncludeCreateManyAndReturn<ExtArgs> | null
1227
- }
1228
-
1229
- /**
1230
- * RoleAssignment update
1231
- */
1232
- export type RoleAssignmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1233
- /**
1234
- * Select specific fields to fetch from the RoleAssignment
1235
- */
1236
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1237
- /**
1238
- * Omit specific fields from the RoleAssignment
1239
- */
1240
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1241
- /**
1242
- * Choose, which related nodes to fetch as well
1243
- */
1244
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1245
- /**
1246
- * The data needed to update a RoleAssignment.
1247
- */
1248
- data: Prisma.XOR<Prisma.RoleAssignmentUpdateInput, Prisma.RoleAssignmentUncheckedUpdateInput>
1249
- /**
1250
- * Choose, which RoleAssignment to update.
1251
- */
1252
- where: Prisma.RoleAssignmentWhereUniqueInput
1253
- }
1254
-
1255
- /**
1256
- * RoleAssignment updateMany
1257
- */
1258
- export type RoleAssignmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1259
- /**
1260
- * The data used to update RoleAssignments.
1261
- */
1262
- data: Prisma.XOR<Prisma.RoleAssignmentUpdateManyMutationInput, Prisma.RoleAssignmentUncheckedUpdateManyInput>
1263
- /**
1264
- * Filter which RoleAssignments to update
1265
- */
1266
- where?: Prisma.RoleAssignmentWhereInput
1267
- /**
1268
- * Limit how many RoleAssignments to update.
1269
- */
1270
- limit?: number
1271
- }
1272
-
1273
- /**
1274
- * RoleAssignment updateManyAndReturn
1275
- */
1276
- export type RoleAssignmentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1277
- /**
1278
- * Select specific fields to fetch from the RoleAssignment
1279
- */
1280
- select?: Prisma.RoleAssignmentSelectUpdateManyAndReturn<ExtArgs> | null
1281
- /**
1282
- * Omit specific fields from the RoleAssignment
1283
- */
1284
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1285
- /**
1286
- * The data used to update RoleAssignments.
1287
- */
1288
- data: Prisma.XOR<Prisma.RoleAssignmentUpdateManyMutationInput, Prisma.RoleAssignmentUncheckedUpdateManyInput>
1289
- /**
1290
- * Filter which RoleAssignments to update
1291
- */
1292
- where?: Prisma.RoleAssignmentWhereInput
1293
- /**
1294
- * Limit how many RoleAssignments to update.
1295
- */
1296
- limit?: number
1297
- /**
1298
- * Choose, which related nodes to fetch as well
1299
- */
1300
- include?: Prisma.RoleAssignmentIncludeUpdateManyAndReturn<ExtArgs> | null
1301
- }
1302
-
1303
- /**
1304
- * RoleAssignment upsert
1305
- */
1306
- export type RoleAssignmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1307
- /**
1308
- * Select specific fields to fetch from the RoleAssignment
1309
- */
1310
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1311
- /**
1312
- * Omit specific fields from the RoleAssignment
1313
- */
1314
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1315
- /**
1316
- * Choose, which related nodes to fetch as well
1317
- */
1318
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1319
- /**
1320
- * The filter to search for the RoleAssignment to update in case it exists.
1321
- */
1322
- where: Prisma.RoleAssignmentWhereUniqueInput
1323
- /**
1324
- * In case the RoleAssignment found by the `where` argument doesn't exist, create a new RoleAssignment with this data.
1325
- */
1326
- create: Prisma.XOR<Prisma.RoleAssignmentCreateInput, Prisma.RoleAssignmentUncheckedCreateInput>
1327
- /**
1328
- * In case the RoleAssignment was found with the provided `where` argument, update it with this data.
1329
- */
1330
- update: Prisma.XOR<Prisma.RoleAssignmentUpdateInput, Prisma.RoleAssignmentUncheckedUpdateInput>
1331
- }
1332
-
1333
- /**
1334
- * RoleAssignment delete
1335
- */
1336
- export type RoleAssignmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1337
- /**
1338
- * Select specific fields to fetch from the RoleAssignment
1339
- */
1340
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1341
- /**
1342
- * Omit specific fields from the RoleAssignment
1343
- */
1344
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1345
- /**
1346
- * Choose, which related nodes to fetch as well
1347
- */
1348
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1349
- /**
1350
- * Filter which RoleAssignment to delete.
1351
- */
1352
- where: Prisma.RoleAssignmentWhereUniqueInput
1353
- }
1354
-
1355
- /**
1356
- * RoleAssignment deleteMany
1357
- */
1358
- export type RoleAssignmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1359
- /**
1360
- * Filter which RoleAssignments to delete
1361
- */
1362
- where?: Prisma.RoleAssignmentWhereInput
1363
- /**
1364
- * Limit how many RoleAssignments to delete.
1365
- */
1366
- limit?: number
1367
- }
1368
-
1369
- /**
1370
- * RoleAssignment without action
1371
- */
1372
- export type RoleAssignmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1373
- /**
1374
- * Select specific fields to fetch from the RoleAssignment
1375
- */
1376
- select?: Prisma.RoleAssignmentSelect<ExtArgs> | null
1377
- /**
1378
- * Omit specific fields from the RoleAssignment
1379
- */
1380
- omit?: Prisma.RoleAssignmentOmit<ExtArgs> | null
1381
- /**
1382
- * Choose, which related nodes to fetch as well
1383
- */
1384
- include?: Prisma.RoleAssignmentInclude<ExtArgs> | null
1385
- }