procbay-schema 1.0.171 → 1.0.174

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 (148) hide show
  1. package/package.json +13 -22
  2. package/prisma/schema.prisma +4 -5
  3. package/scripts/sync-schemas.js +1 -5
  4. package/src/create-prisma-client.js +9 -49
  5. package/src/prisma/client.d.ts +1 -0
  6. package/src/prisma/client.js +4 -0
  7. package/src/prisma/default.d.ts +1 -0
  8. package/src/prisma/default.js +4 -0
  9. package/src/prisma/edge.d.ts +1 -0
  10. package/src/prisma/edge.js +2900 -0
  11. package/src/{generated/prisma/internal/prismaNamespaceBrowser.ts → prisma/index-browser.js} +980 -739
  12. package/src/prisma/index.d.ts +286683 -0
  13. package/src/prisma/index.js +2929 -2
  14. package/src/prisma/libquery_engine-darwin.dylib.node +0 -0
  15. package/src/prisma/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  16. package/src/prisma/package.json +140 -0
  17. package/src/prisma/query_engine-windows.dll.node +0 -0
  18. package/src/prisma/runtime/edge-esm.js +34 -0
  19. package/src/prisma/runtime/edge.js +34 -0
  20. package/src/prisma/runtime/index-browser.d.ts +370 -0
  21. package/src/prisma/runtime/index-browser.js +16 -0
  22. package/src/prisma/runtime/library.d.ts +3647 -0
  23. package/src/prisma/runtime/library.js +146 -0
  24. package/src/prisma/runtime/react-native.js +83 -0
  25. package/src/prisma/runtime/wasm.js +35 -0
  26. package/src/prisma/schema.prisma +3820 -0
  27. package/src/prisma/wasm.d.ts +1 -0
  28. package/src/prisma/wasm.js +2862 -0
  29. package/prisma.config.js +0 -19
  30. package/src/generated/prisma/browser.ts +0 -574
  31. package/src/generated/prisma/client.bundle.mjs +0 -6733
  32. package/src/generated/prisma/client.ts +0 -598
  33. package/src/generated/prisma/commonInputTypes.ts +0 -2911
  34. package/src/generated/prisma/enums.ts +0 -730
  35. package/src/generated/prisma/internal/class.ts +0 -1304
  36. package/src/generated/prisma/internal/prismaNamespace.ts +0 -12506
  37. package/src/generated/prisma/models/ActivityLog.ts +0 -1590
  38. package/src/generated/prisma/models/AdminAlert.ts +0 -1547
  39. package/src/generated/prisma/models/ApprovalCondition.ts +0 -2085
  40. package/src/generated/prisma/models/ApprovalDelegation.ts +0 -3057
  41. package/src/generated/prisma/models/ApprovalDelegationDelegate.ts +0 -1784
  42. package/src/generated/prisma/models/ApprovalHierarchy.ts +0 -3083
  43. package/src/generated/prisma/models/ApprovalJourney.ts +0 -2867
  44. package/src/generated/prisma/models/ApprovalLevel.ts +0 -2335
  45. package/src/generated/prisma/models/ApprovalLevelEscalation.ts +0 -2128
  46. package/src/generated/prisma/models/ApprovalLevelEscalationUser.ts +0 -1863
  47. package/src/generated/prisma/models/ApprovalLevelUser.ts +0 -1863
  48. package/src/generated/prisma/models/ApprovalManagement.ts +0 -1728
  49. package/src/generated/prisma/models/Attribute.ts +0 -2075
  50. package/src/generated/prisma/models/AttributeValue.ts +0 -1882
  51. package/src/generated/prisma/models/Bid.ts +0 -2719
  52. package/src/generated/prisma/models/BidLog.ts +0 -3560
  53. package/src/generated/prisma/models/BlanketPurchaseOrder.ts +0 -3527
  54. package/src/generated/prisma/models/BlanketPurchaseOrderItem.ts +0 -2532
  55. package/src/generated/prisma/models/BlanketPurchaseOrderRelease.ts +0 -2713
  56. package/src/generated/prisma/models/BoqEventItem.ts +0 -4056
  57. package/src/generated/prisma/models/Budget.ts +0 -1954
  58. package/src/generated/prisma/models/BudgetHold.ts +0 -1904
  59. package/src/generated/prisma/models/BusinessEntity.ts +0 -3901
  60. package/src/generated/prisma/models/BusinessEntityDepartment.ts +0 -2032
  61. package/src/generated/prisma/models/BusinessEntityLocation.ts +0 -1567
  62. package/src/generated/prisma/models/Catalogue.ts +0 -2081
  63. package/src/generated/prisma/models/CatalogueCart.ts +0 -2305
  64. package/src/generated/prisma/models/CatalogueVendor.ts +0 -2252
  65. package/src/generated/prisma/models/Category.ts +0 -3091
  66. package/src/generated/prisma/models/CategoryBudget.ts +0 -2690
  67. package/src/generated/prisma/models/City.ts +0 -2180
  68. package/src/generated/prisma/models/Cms.ts +0 -1492
  69. package/src/generated/prisma/models/ContactUs.ts +0 -1654
  70. package/src/generated/prisma/models/Conversation.ts +0 -2389
  71. package/src/generated/prisma/models/ConversationParticipant.ts +0 -1833
  72. package/src/generated/prisma/models/CounterOffer.ts +0 -2156
  73. package/src/generated/prisma/models/Country.ts +0 -3394
  74. package/src/generated/prisma/models/Currency.ts +0 -1642
  75. package/src/generated/prisma/models/CustomerNotification.ts +0 -1653
  76. package/src/generated/prisma/models/Department.ts +0 -2372
  77. package/src/generated/prisma/models/DepartmentBudget.ts +0 -2494
  78. package/src/generated/prisma/models/DynamicForm.ts +0 -2021
  79. package/src/generated/prisma/models/EmailTemplate.ts +0 -1516
  80. package/src/generated/prisma/models/Event.ts +0 -6819
  81. package/src/generated/prisma/models/EventConfigurations.ts +0 -1736
  82. package/src/generated/prisma/models/EventCriteria.ts +0 -2134
  83. package/src/generated/prisma/models/EventItems.ts +0 -2821
  84. package/src/generated/prisma/models/EventRfiForm.ts +0 -2020
  85. package/src/generated/prisma/models/EventRfiFormLog.ts +0 -2608
  86. package/src/generated/prisma/models/EventStrategies.ts +0 -1857
  87. package/src/generated/prisma/models/EventVendorCriteria.ts +0 -2186
  88. package/src/generated/prisma/models/EventVendors.ts +0 -3446
  89. package/src/generated/prisma/models/Expense.ts +0 -1625
  90. package/src/generated/prisma/models/ExportLog.ts +0 -1822
  91. package/src/generated/prisma/models/Faq.ts +0 -1753
  92. package/src/generated/prisma/models/FaqCategory.ts +0 -1610
  93. package/src/generated/prisma/models/FiscalYear.ts +0 -1460
  94. package/src/generated/prisma/models/FormMaster.ts +0 -1831
  95. package/src/generated/prisma/models/GRN.ts +0 -3354
  96. package/src/generated/prisma/models/GRNItem.ts +0 -2119
  97. package/src/generated/prisma/models/Industry.ts +0 -1642
  98. package/src/generated/prisma/models/Invoice.ts +0 -2949
  99. package/src/generated/prisma/models/InvoiceItem.ts +0 -2397
  100. package/src/generated/prisma/models/Item.ts +0 -10644
  101. package/src/generated/prisma/models/ItemAttribute.ts +0 -1750
  102. package/src/generated/prisma/models/ItemAttributeValue.ts +0 -1802
  103. package/src/generated/prisma/models/ItemDocument.ts +0 -1590
  104. package/src/generated/prisma/models/Location.ts +0 -2711
  105. package/src/generated/prisma/models/Message.ts +0 -2744
  106. package/src/generated/prisma/models/MessageRecipient.ts +0 -1759
  107. package/src/generated/prisma/models/Module.ts +0 -1630
  108. package/src/generated/prisma/models/Permission.ts +0 -1640
  109. package/src/generated/prisma/models/PurchaseIntake.ts +0 -4672
  110. package/src/generated/prisma/models/PurchaseIntakeItem.ts +0 -2366
  111. package/src/generated/prisma/models/PurchaseOrder.ts +0 -4012
  112. package/src/generated/prisma/models/PurchaseOrderActivityLog.ts +0 -1720
  113. package/src/generated/prisma/models/PurchaseOrderItem.ts +0 -2623
  114. package/src/generated/prisma/models/Quotation.ts +0 -3207
  115. package/src/generated/prisma/models/QuotationLog.ts +0 -3239
  116. package/src/generated/prisma/models/Region.ts +0 -1746
  117. package/src/generated/prisma/models/RequestedCatalogue.ts +0 -1618
  118. package/src/generated/prisma/models/RequestedCatalogueDetails.ts +0 -2252
  119. package/src/generated/prisma/models/Role.ts +0 -1907
  120. package/src/generated/prisma/models/RolePermission.ts +0 -1737
  121. package/src/generated/prisma/models/SendBack.ts +0 -1830
  122. package/src/generated/prisma/models/SerialNumberConfiguration.ts +0 -1254
  123. package/src/generated/prisma/models/SmtpConfig.ts +0 -1522
  124. package/src/generated/prisma/models/State.ts +0 -2174
  125. package/src/generated/prisma/models/Strategies.ts +0 -1791
  126. package/src/generated/prisma/models/SubModule.ts +0 -1450
  127. package/src/generated/prisma/models/Subregion.ts +0 -1870
  128. package/src/generated/prisma/models/SupportCategory.ts +0 -1712
  129. package/src/generated/prisma/models/SupportTicket.ts +0 -2478
  130. package/src/generated/prisma/models/SupportingDocument.ts +0 -2283
  131. package/src/generated/prisma/models/Template.ts +0 -2429
  132. package/src/generated/prisma/models/TemplateField.ts +0 -1916
  133. package/src/generated/prisma/models/TemplateStrategies.ts +0 -1614
  134. package/src/generated/prisma/models/TenantConfiguration.ts +0 -1694
  135. package/src/generated/prisma/models/TicketAssignment.ts +0 -1742
  136. package/src/generated/prisma/models/TicketHistory.ts +0 -1789
  137. package/src/generated/prisma/models/TicketReply.ts +0 -1640
  138. package/src/generated/prisma/models/Uom.ts +0 -1752
  139. package/src/generated/prisma/models/UomCategory.ts +0 -1558
  140. package/src/generated/prisma/models/UploadLog.ts +0 -1731
  141. package/src/generated/prisma/models/User.ts +0 -19397
  142. package/src/generated/prisma/models/UserDepartmentEntity.ts +0 -2099
  143. package/src/generated/prisma/models/UserEventConfiguration.ts +0 -1370
  144. package/src/generated/prisma/models/UserLoginActivity.ts +0 -1693
  145. package/src/generated/prisma/models/UserRole.ts +0 -1696
  146. package/src/generated/prisma/models/UserVendorSocketTokens.ts +0 -1450
  147. package/src/generated/prisma/models/VendorReference.ts +0 -1707
  148. package/src/generated/prisma/models.ts +0 -122
@@ -1,1696 +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 `UserRole` 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.ts"
13
- import type * as Prisma from "../internal/prismaNamespace.ts"
14
-
15
- /**
16
- * Model UserRole
17
- *
18
- */
19
- export type UserRoleModel = runtime.Types.Result.DefaultSelection<Prisma.$UserRolePayload>
20
-
21
- export type AggregateUserRole = {
22
- _count: UserRoleCountAggregateOutputType | null
23
- _avg: UserRoleAvgAggregateOutputType | null
24
- _sum: UserRoleSumAggregateOutputType | null
25
- _min: UserRoleMinAggregateOutputType | null
26
- _max: UserRoleMaxAggregateOutputType | null
27
- }
28
-
29
- export type UserRoleAvgAggregateOutputType = {
30
- id: number | null
31
- user_id: number | null
32
- role_id: number | null
33
- created_by: number | null
34
- updated_by: number | null
35
- deleted_by: number | null
36
- }
37
-
38
- export type UserRoleSumAggregateOutputType = {
39
- id: number | null
40
- user_id: number | null
41
- role_id: number | null
42
- created_by: number | null
43
- updated_by: number | null
44
- deleted_by: number | null
45
- }
46
-
47
- export type UserRoleMinAggregateOutputType = {
48
- id: number | null
49
- user_id: number | null
50
- role_id: number | null
51
- created_at: Date | null
52
- created_by: number | null
53
- updated_at: Date | null
54
- updated_by: number | null
55
- deleted_at: Date | null
56
- deleted_by: number | null
57
- }
58
-
59
- export type UserRoleMaxAggregateOutputType = {
60
- id: number | null
61
- user_id: number | null
62
- role_id: number | null
63
- created_at: Date | null
64
- created_by: number | null
65
- updated_at: Date | null
66
- updated_by: number | null
67
- deleted_at: Date | null
68
- deleted_by: number | null
69
- }
70
-
71
- export type UserRoleCountAggregateOutputType = {
72
- id: number
73
- user_id: number
74
- role_id: number
75
- created_at: number
76
- created_by: number
77
- updated_at: number
78
- updated_by: number
79
- deleted_at: number
80
- deleted_by: number
81
- _all: number
82
- }
83
-
84
-
85
- export type UserRoleAvgAggregateInputType = {
86
- id?: true
87
- user_id?: true
88
- role_id?: true
89
- created_by?: true
90
- updated_by?: true
91
- deleted_by?: true
92
- }
93
-
94
- export type UserRoleSumAggregateInputType = {
95
- id?: true
96
- user_id?: true
97
- role_id?: true
98
- created_by?: true
99
- updated_by?: true
100
- deleted_by?: true
101
- }
102
-
103
- export type UserRoleMinAggregateInputType = {
104
- id?: true
105
- user_id?: true
106
- role_id?: true
107
- created_at?: true
108
- created_by?: true
109
- updated_at?: true
110
- updated_by?: true
111
- deleted_at?: true
112
- deleted_by?: true
113
- }
114
-
115
- export type UserRoleMaxAggregateInputType = {
116
- id?: true
117
- user_id?: true
118
- role_id?: true
119
- created_at?: true
120
- created_by?: true
121
- updated_at?: true
122
- updated_by?: true
123
- deleted_at?: true
124
- deleted_by?: true
125
- }
126
-
127
- export type UserRoleCountAggregateInputType = {
128
- id?: true
129
- user_id?: true
130
- role_id?: true
131
- created_at?: true
132
- created_by?: true
133
- updated_at?: true
134
- updated_by?: true
135
- deleted_at?: true
136
- deleted_by?: true
137
- _all?: true
138
- }
139
-
140
- export type UserRoleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
141
- /**
142
- * Filter which UserRole to aggregate.
143
- */
144
- where?: Prisma.UserRoleWhereInput
145
- /**
146
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
147
- *
148
- * Determine the order of UserRoles to fetch.
149
- */
150
- orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]
151
- /**
152
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
153
- *
154
- * Sets the start position
155
- */
156
- cursor?: Prisma.UserRoleWhereUniqueInput
157
- /**
158
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
159
- *
160
- * Take `±n` UserRoles from the position of the cursor.
161
- */
162
- take?: number
163
- /**
164
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
165
- *
166
- * Skip the first `n` UserRoles.
167
- */
168
- skip?: number
169
- /**
170
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
- *
172
- * Count returned UserRoles
173
- **/
174
- _count?: true | UserRoleCountAggregateInputType
175
- /**
176
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
177
- *
178
- * Select which fields to average
179
- **/
180
- _avg?: UserRoleAvgAggregateInputType
181
- /**
182
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
- *
184
- * Select which fields to sum
185
- **/
186
- _sum?: UserRoleSumAggregateInputType
187
- /**
188
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
- *
190
- * Select which fields to find the minimum value
191
- **/
192
- _min?: UserRoleMinAggregateInputType
193
- /**
194
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
- *
196
- * Select which fields to find the maximum value
197
- **/
198
- _max?: UserRoleMaxAggregateInputType
199
- }
200
-
201
- export type GetUserRoleAggregateType<T extends UserRoleAggregateArgs> = {
202
- [P in keyof T & keyof AggregateUserRole]: P extends '_count' | 'count'
203
- ? T[P] extends true
204
- ? number
205
- : Prisma.GetScalarType<T[P], AggregateUserRole[P]>
206
- : Prisma.GetScalarType<T[P], AggregateUserRole[P]>
207
- }
208
-
209
-
210
-
211
-
212
- export type UserRoleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
213
- where?: Prisma.UserRoleWhereInput
214
- orderBy?: Prisma.UserRoleOrderByWithAggregationInput | Prisma.UserRoleOrderByWithAggregationInput[]
215
- by: Prisma.UserRoleScalarFieldEnum[] | Prisma.UserRoleScalarFieldEnum
216
- having?: Prisma.UserRoleScalarWhereWithAggregatesInput
217
- take?: number
218
- skip?: number
219
- _count?: UserRoleCountAggregateInputType | true
220
- _avg?: UserRoleAvgAggregateInputType
221
- _sum?: UserRoleSumAggregateInputType
222
- _min?: UserRoleMinAggregateInputType
223
- _max?: UserRoleMaxAggregateInputType
224
- }
225
-
226
- export type UserRoleGroupByOutputType = {
227
- id: number
228
- user_id: number
229
- role_id: number
230
- created_at: Date
231
- created_by: number | null
232
- updated_at: Date | null
233
- updated_by: number | null
234
- deleted_at: Date | null
235
- deleted_by: number | null
236
- _count: UserRoleCountAggregateOutputType | null
237
- _avg: UserRoleAvgAggregateOutputType | null
238
- _sum: UserRoleSumAggregateOutputType | null
239
- _min: UserRoleMinAggregateOutputType | null
240
- _max: UserRoleMaxAggregateOutputType | null
241
- }
242
-
243
- export type GetUserRoleGroupByPayload<T extends UserRoleGroupByArgs> = Prisma.PrismaPromise<
244
- Array<
245
- Prisma.PickEnumerable<UserRoleGroupByOutputType, T['by']> &
246
- {
247
- [P in ((keyof T) & (keyof UserRoleGroupByOutputType))]: P extends '_count'
248
- ? T[P] extends boolean
249
- ? number
250
- : Prisma.GetScalarType<T[P], UserRoleGroupByOutputType[P]>
251
- : Prisma.GetScalarType<T[P], UserRoleGroupByOutputType[P]>
252
- }
253
- >
254
- >
255
-
256
-
257
-
258
- export type UserRoleWhereInput = {
259
- AND?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]
260
- OR?: Prisma.UserRoleWhereInput[]
261
- NOT?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]
262
- id?: Prisma.IntFilter<"UserRole"> | number
263
- user_id?: Prisma.IntFilter<"UserRole"> | number
264
- role_id?: Prisma.IntFilter<"UserRole"> | number
265
- created_at?: Prisma.DateTimeFilter<"UserRole"> | Date | string
266
- created_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
267
- updated_at?: Prisma.DateTimeNullableFilter<"UserRole"> | Date | string | null
268
- updated_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
269
- deleted_at?: Prisma.DateTimeNullableFilter<"UserRole"> | Date | string | null
270
- deleted_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
271
- user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
272
- role?: Prisma.XOR<Prisma.RoleScalarRelationFilter, Prisma.RoleWhereInput>
273
- }
274
-
275
- export type UserRoleOrderByWithRelationInput = {
276
- id?: Prisma.SortOrder
277
- user_id?: Prisma.SortOrder
278
- role_id?: Prisma.SortOrder
279
- created_at?: Prisma.SortOrder
280
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
281
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
282
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
283
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
284
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
285
- user?: Prisma.UserOrderByWithRelationInput
286
- role?: Prisma.RoleOrderByWithRelationInput
287
- }
288
-
289
- export type UserRoleWhereUniqueInput = Prisma.AtLeast<{
290
- id?: number
291
- AND?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]
292
- OR?: Prisma.UserRoleWhereInput[]
293
- NOT?: Prisma.UserRoleWhereInput | Prisma.UserRoleWhereInput[]
294
- user_id?: Prisma.IntFilter<"UserRole"> | number
295
- role_id?: Prisma.IntFilter<"UserRole"> | number
296
- created_at?: Prisma.DateTimeFilter<"UserRole"> | Date | string
297
- created_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
298
- updated_at?: Prisma.DateTimeNullableFilter<"UserRole"> | Date | string | null
299
- updated_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
300
- deleted_at?: Prisma.DateTimeNullableFilter<"UserRole"> | Date | string | null
301
- deleted_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
302
- user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
303
- role?: Prisma.XOR<Prisma.RoleScalarRelationFilter, Prisma.RoleWhereInput>
304
- }, "id">
305
-
306
- export type UserRoleOrderByWithAggregationInput = {
307
- id?: Prisma.SortOrder
308
- user_id?: Prisma.SortOrder
309
- role_id?: Prisma.SortOrder
310
- created_at?: Prisma.SortOrder
311
- created_by?: Prisma.SortOrderInput | Prisma.SortOrder
312
- updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
313
- updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
314
- deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
315
- deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
316
- _count?: Prisma.UserRoleCountOrderByAggregateInput
317
- _avg?: Prisma.UserRoleAvgOrderByAggregateInput
318
- _max?: Prisma.UserRoleMaxOrderByAggregateInput
319
- _min?: Prisma.UserRoleMinOrderByAggregateInput
320
- _sum?: Prisma.UserRoleSumOrderByAggregateInput
321
- }
322
-
323
- export type UserRoleScalarWhereWithAggregatesInput = {
324
- AND?: Prisma.UserRoleScalarWhereWithAggregatesInput | Prisma.UserRoleScalarWhereWithAggregatesInput[]
325
- OR?: Prisma.UserRoleScalarWhereWithAggregatesInput[]
326
- NOT?: Prisma.UserRoleScalarWhereWithAggregatesInput | Prisma.UserRoleScalarWhereWithAggregatesInput[]
327
- id?: Prisma.IntWithAggregatesFilter<"UserRole"> | number
328
- user_id?: Prisma.IntWithAggregatesFilter<"UserRole"> | number
329
- role_id?: Prisma.IntWithAggregatesFilter<"UserRole"> | number
330
- created_at?: Prisma.DateTimeWithAggregatesFilter<"UserRole"> | Date | string
331
- created_by?: Prisma.IntNullableWithAggregatesFilter<"UserRole"> | number | null
332
- updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"UserRole"> | Date | string | null
333
- updated_by?: Prisma.IntNullableWithAggregatesFilter<"UserRole"> | number | null
334
- deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"UserRole"> | Date | string | null
335
- deleted_by?: Prisma.IntNullableWithAggregatesFilter<"UserRole"> | number | null
336
- }
337
-
338
- export type UserRoleCreateInput = {
339
- created_at?: Date | string
340
- created_by?: number | null
341
- updated_at?: Date | string | null
342
- updated_by?: number | null
343
- deleted_at?: Date | string | null
344
- deleted_by?: number | null
345
- user: Prisma.UserCreateNestedOneWithoutUser_rolesInput
346
- role: Prisma.RoleCreateNestedOneWithoutUser_rolesInput
347
- }
348
-
349
- export type UserRoleUncheckedCreateInput = {
350
- id?: number
351
- user_id: number
352
- role_id: number
353
- created_at?: Date | string
354
- created_by?: number | null
355
- updated_at?: Date | string | null
356
- updated_by?: number | null
357
- deleted_at?: Date | string | null
358
- deleted_by?: number | null
359
- }
360
-
361
- export type UserRoleUpdateInput = {
362
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
363
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
364
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
365
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
366
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
367
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
368
- user?: Prisma.UserUpdateOneRequiredWithoutUser_rolesNestedInput
369
- role?: Prisma.RoleUpdateOneRequiredWithoutUser_rolesNestedInput
370
- }
371
-
372
- export type UserRoleUncheckedUpdateInput = {
373
- id?: Prisma.IntFieldUpdateOperationsInput | number
374
- user_id?: Prisma.IntFieldUpdateOperationsInput | number
375
- role_id?: Prisma.IntFieldUpdateOperationsInput | number
376
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
377
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
378
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
379
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
380
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
381
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
382
- }
383
-
384
- export type UserRoleCreateManyInput = {
385
- id?: number
386
- user_id: number
387
- role_id: number
388
- created_at?: Date | string
389
- created_by?: number | null
390
- updated_at?: Date | string | null
391
- updated_by?: number | null
392
- deleted_at?: Date | string | null
393
- deleted_by?: number | null
394
- }
395
-
396
- export type UserRoleUpdateManyMutationInput = {
397
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
398
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
399
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
400
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
401
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
402
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
403
- }
404
-
405
- export type UserRoleUncheckedUpdateManyInput = {
406
- id?: Prisma.IntFieldUpdateOperationsInput | number
407
- user_id?: Prisma.IntFieldUpdateOperationsInput | number
408
- role_id?: Prisma.IntFieldUpdateOperationsInput | number
409
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
410
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
411
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
412
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
413
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
414
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
415
- }
416
-
417
- export type UserRoleListRelationFilter = {
418
- every?: Prisma.UserRoleWhereInput
419
- some?: Prisma.UserRoleWhereInput
420
- none?: Prisma.UserRoleWhereInput
421
- }
422
-
423
- export type UserRoleOrderByRelationAggregateInput = {
424
- _count?: Prisma.SortOrder
425
- }
426
-
427
- export type UserRoleCountOrderByAggregateInput = {
428
- id?: Prisma.SortOrder
429
- user_id?: Prisma.SortOrder
430
- role_id?: Prisma.SortOrder
431
- created_at?: Prisma.SortOrder
432
- created_by?: Prisma.SortOrder
433
- updated_at?: Prisma.SortOrder
434
- updated_by?: Prisma.SortOrder
435
- deleted_at?: Prisma.SortOrder
436
- deleted_by?: Prisma.SortOrder
437
- }
438
-
439
- export type UserRoleAvgOrderByAggregateInput = {
440
- id?: Prisma.SortOrder
441
- user_id?: Prisma.SortOrder
442
- role_id?: Prisma.SortOrder
443
- created_by?: Prisma.SortOrder
444
- updated_by?: Prisma.SortOrder
445
- deleted_by?: Prisma.SortOrder
446
- }
447
-
448
- export type UserRoleMaxOrderByAggregateInput = {
449
- id?: Prisma.SortOrder
450
- user_id?: Prisma.SortOrder
451
- role_id?: Prisma.SortOrder
452
- created_at?: Prisma.SortOrder
453
- created_by?: Prisma.SortOrder
454
- updated_at?: Prisma.SortOrder
455
- updated_by?: Prisma.SortOrder
456
- deleted_at?: Prisma.SortOrder
457
- deleted_by?: Prisma.SortOrder
458
- }
459
-
460
- export type UserRoleMinOrderByAggregateInput = {
461
- id?: Prisma.SortOrder
462
- user_id?: Prisma.SortOrder
463
- role_id?: Prisma.SortOrder
464
- created_at?: Prisma.SortOrder
465
- created_by?: Prisma.SortOrder
466
- updated_at?: Prisma.SortOrder
467
- updated_by?: Prisma.SortOrder
468
- deleted_at?: Prisma.SortOrder
469
- deleted_by?: Prisma.SortOrder
470
- }
471
-
472
- export type UserRoleSumOrderByAggregateInput = {
473
- id?: Prisma.SortOrder
474
- user_id?: Prisma.SortOrder
475
- role_id?: Prisma.SortOrder
476
- created_by?: Prisma.SortOrder
477
- updated_by?: Prisma.SortOrder
478
- deleted_by?: Prisma.SortOrder
479
- }
480
-
481
- export type UserRoleCreateNestedManyWithoutUserInput = {
482
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutUserInput, Prisma.UserRoleUncheckedCreateWithoutUserInput> | Prisma.UserRoleCreateWithoutUserInput[] | Prisma.UserRoleUncheckedCreateWithoutUserInput[]
483
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUserInput | Prisma.UserRoleCreateOrConnectWithoutUserInput[]
484
- createMany?: Prisma.UserRoleCreateManyUserInputEnvelope
485
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
486
- }
487
-
488
- export type UserRoleUncheckedCreateNestedManyWithoutUserInput = {
489
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutUserInput, Prisma.UserRoleUncheckedCreateWithoutUserInput> | Prisma.UserRoleCreateWithoutUserInput[] | Prisma.UserRoleUncheckedCreateWithoutUserInput[]
490
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUserInput | Prisma.UserRoleCreateOrConnectWithoutUserInput[]
491
- createMany?: Prisma.UserRoleCreateManyUserInputEnvelope
492
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
493
- }
494
-
495
- export type UserRoleUpdateManyWithoutUserNestedInput = {
496
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutUserInput, Prisma.UserRoleUncheckedCreateWithoutUserInput> | Prisma.UserRoleCreateWithoutUserInput[] | Prisma.UserRoleUncheckedCreateWithoutUserInput[]
497
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUserInput | Prisma.UserRoleCreateOrConnectWithoutUserInput[]
498
- upsert?: Prisma.UserRoleUpsertWithWhereUniqueWithoutUserInput | Prisma.UserRoleUpsertWithWhereUniqueWithoutUserInput[]
499
- createMany?: Prisma.UserRoleCreateManyUserInputEnvelope
500
- set?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
501
- disconnect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
502
- delete?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
503
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
504
- update?: Prisma.UserRoleUpdateWithWhereUniqueWithoutUserInput | Prisma.UserRoleUpdateWithWhereUniqueWithoutUserInput[]
505
- updateMany?: Prisma.UserRoleUpdateManyWithWhereWithoutUserInput | Prisma.UserRoleUpdateManyWithWhereWithoutUserInput[]
506
- deleteMany?: Prisma.UserRoleScalarWhereInput | Prisma.UserRoleScalarWhereInput[]
507
- }
508
-
509
- export type UserRoleUncheckedUpdateManyWithoutUserNestedInput = {
510
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutUserInput, Prisma.UserRoleUncheckedCreateWithoutUserInput> | Prisma.UserRoleCreateWithoutUserInput[] | Prisma.UserRoleUncheckedCreateWithoutUserInput[]
511
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutUserInput | Prisma.UserRoleCreateOrConnectWithoutUserInput[]
512
- upsert?: Prisma.UserRoleUpsertWithWhereUniqueWithoutUserInput | Prisma.UserRoleUpsertWithWhereUniqueWithoutUserInput[]
513
- createMany?: Prisma.UserRoleCreateManyUserInputEnvelope
514
- set?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
515
- disconnect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
516
- delete?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
517
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
518
- update?: Prisma.UserRoleUpdateWithWhereUniqueWithoutUserInput | Prisma.UserRoleUpdateWithWhereUniqueWithoutUserInput[]
519
- updateMany?: Prisma.UserRoleUpdateManyWithWhereWithoutUserInput | Prisma.UserRoleUpdateManyWithWhereWithoutUserInput[]
520
- deleteMany?: Prisma.UserRoleScalarWhereInput | Prisma.UserRoleScalarWhereInput[]
521
- }
522
-
523
- export type UserRoleCreateNestedManyWithoutRoleInput = {
524
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutRoleInput, Prisma.UserRoleUncheckedCreateWithoutRoleInput> | Prisma.UserRoleCreateWithoutRoleInput[] | Prisma.UserRoleUncheckedCreateWithoutRoleInput[]
525
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutRoleInput | Prisma.UserRoleCreateOrConnectWithoutRoleInput[]
526
- createMany?: Prisma.UserRoleCreateManyRoleInputEnvelope
527
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
528
- }
529
-
530
- export type UserRoleUncheckedCreateNestedManyWithoutRoleInput = {
531
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutRoleInput, Prisma.UserRoleUncheckedCreateWithoutRoleInput> | Prisma.UserRoleCreateWithoutRoleInput[] | Prisma.UserRoleUncheckedCreateWithoutRoleInput[]
532
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutRoleInput | Prisma.UserRoleCreateOrConnectWithoutRoleInput[]
533
- createMany?: Prisma.UserRoleCreateManyRoleInputEnvelope
534
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
535
- }
536
-
537
- export type UserRoleUpdateManyWithoutRoleNestedInput = {
538
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutRoleInput, Prisma.UserRoleUncheckedCreateWithoutRoleInput> | Prisma.UserRoleCreateWithoutRoleInput[] | Prisma.UserRoleUncheckedCreateWithoutRoleInput[]
539
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutRoleInput | Prisma.UserRoleCreateOrConnectWithoutRoleInput[]
540
- upsert?: Prisma.UserRoleUpsertWithWhereUniqueWithoutRoleInput | Prisma.UserRoleUpsertWithWhereUniqueWithoutRoleInput[]
541
- createMany?: Prisma.UserRoleCreateManyRoleInputEnvelope
542
- set?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
543
- disconnect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
544
- delete?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
545
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
546
- update?: Prisma.UserRoleUpdateWithWhereUniqueWithoutRoleInput | Prisma.UserRoleUpdateWithWhereUniqueWithoutRoleInput[]
547
- updateMany?: Prisma.UserRoleUpdateManyWithWhereWithoutRoleInput | Prisma.UserRoleUpdateManyWithWhereWithoutRoleInput[]
548
- deleteMany?: Prisma.UserRoleScalarWhereInput | Prisma.UserRoleScalarWhereInput[]
549
- }
550
-
551
- export type UserRoleUncheckedUpdateManyWithoutRoleNestedInput = {
552
- create?: Prisma.XOR<Prisma.UserRoleCreateWithoutRoleInput, Prisma.UserRoleUncheckedCreateWithoutRoleInput> | Prisma.UserRoleCreateWithoutRoleInput[] | Prisma.UserRoleUncheckedCreateWithoutRoleInput[]
553
- connectOrCreate?: Prisma.UserRoleCreateOrConnectWithoutRoleInput | Prisma.UserRoleCreateOrConnectWithoutRoleInput[]
554
- upsert?: Prisma.UserRoleUpsertWithWhereUniqueWithoutRoleInput | Prisma.UserRoleUpsertWithWhereUniqueWithoutRoleInput[]
555
- createMany?: Prisma.UserRoleCreateManyRoleInputEnvelope
556
- set?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
557
- disconnect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
558
- delete?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
559
- connect?: Prisma.UserRoleWhereUniqueInput | Prisma.UserRoleWhereUniqueInput[]
560
- update?: Prisma.UserRoleUpdateWithWhereUniqueWithoutRoleInput | Prisma.UserRoleUpdateWithWhereUniqueWithoutRoleInput[]
561
- updateMany?: Prisma.UserRoleUpdateManyWithWhereWithoutRoleInput | Prisma.UserRoleUpdateManyWithWhereWithoutRoleInput[]
562
- deleteMany?: Prisma.UserRoleScalarWhereInput | Prisma.UserRoleScalarWhereInput[]
563
- }
564
-
565
- export type UserRoleCreateWithoutUserInput = {
566
- created_at?: Date | string
567
- created_by?: number | null
568
- updated_at?: Date | string | null
569
- updated_by?: number | null
570
- deleted_at?: Date | string | null
571
- deleted_by?: number | null
572
- role: Prisma.RoleCreateNestedOneWithoutUser_rolesInput
573
- }
574
-
575
- export type UserRoleUncheckedCreateWithoutUserInput = {
576
- id?: number
577
- role_id: number
578
- created_at?: Date | string
579
- created_by?: number | null
580
- updated_at?: Date | string | null
581
- updated_by?: number | null
582
- deleted_at?: Date | string | null
583
- deleted_by?: number | null
584
- }
585
-
586
- export type UserRoleCreateOrConnectWithoutUserInput = {
587
- where: Prisma.UserRoleWhereUniqueInput
588
- create: Prisma.XOR<Prisma.UserRoleCreateWithoutUserInput, Prisma.UserRoleUncheckedCreateWithoutUserInput>
589
- }
590
-
591
- export type UserRoleCreateManyUserInputEnvelope = {
592
- data: Prisma.UserRoleCreateManyUserInput | Prisma.UserRoleCreateManyUserInput[]
593
- skipDuplicates?: boolean
594
- }
595
-
596
- export type UserRoleUpsertWithWhereUniqueWithoutUserInput = {
597
- where: Prisma.UserRoleWhereUniqueInput
598
- update: Prisma.XOR<Prisma.UserRoleUpdateWithoutUserInput, Prisma.UserRoleUncheckedUpdateWithoutUserInput>
599
- create: Prisma.XOR<Prisma.UserRoleCreateWithoutUserInput, Prisma.UserRoleUncheckedCreateWithoutUserInput>
600
- }
601
-
602
- export type UserRoleUpdateWithWhereUniqueWithoutUserInput = {
603
- where: Prisma.UserRoleWhereUniqueInput
604
- data: Prisma.XOR<Prisma.UserRoleUpdateWithoutUserInput, Prisma.UserRoleUncheckedUpdateWithoutUserInput>
605
- }
606
-
607
- export type UserRoleUpdateManyWithWhereWithoutUserInput = {
608
- where: Prisma.UserRoleScalarWhereInput
609
- data: Prisma.XOR<Prisma.UserRoleUpdateManyMutationInput, Prisma.UserRoleUncheckedUpdateManyWithoutUserInput>
610
- }
611
-
612
- export type UserRoleScalarWhereInput = {
613
- AND?: Prisma.UserRoleScalarWhereInput | Prisma.UserRoleScalarWhereInput[]
614
- OR?: Prisma.UserRoleScalarWhereInput[]
615
- NOT?: Prisma.UserRoleScalarWhereInput | Prisma.UserRoleScalarWhereInput[]
616
- id?: Prisma.IntFilter<"UserRole"> | number
617
- user_id?: Prisma.IntFilter<"UserRole"> | number
618
- role_id?: Prisma.IntFilter<"UserRole"> | number
619
- created_at?: Prisma.DateTimeFilter<"UserRole"> | Date | string
620
- created_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
621
- updated_at?: Prisma.DateTimeNullableFilter<"UserRole"> | Date | string | null
622
- updated_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
623
- deleted_at?: Prisma.DateTimeNullableFilter<"UserRole"> | Date | string | null
624
- deleted_by?: Prisma.IntNullableFilter<"UserRole"> | number | null
625
- }
626
-
627
- export type UserRoleCreateWithoutRoleInput = {
628
- created_at?: Date | string
629
- created_by?: number | null
630
- updated_at?: Date | string | null
631
- updated_by?: number | null
632
- deleted_at?: Date | string | null
633
- deleted_by?: number | null
634
- user: Prisma.UserCreateNestedOneWithoutUser_rolesInput
635
- }
636
-
637
- export type UserRoleUncheckedCreateWithoutRoleInput = {
638
- id?: number
639
- user_id: number
640
- created_at?: Date | string
641
- created_by?: number | null
642
- updated_at?: Date | string | null
643
- updated_by?: number | null
644
- deleted_at?: Date | string | null
645
- deleted_by?: number | null
646
- }
647
-
648
- export type UserRoleCreateOrConnectWithoutRoleInput = {
649
- where: Prisma.UserRoleWhereUniqueInput
650
- create: Prisma.XOR<Prisma.UserRoleCreateWithoutRoleInput, Prisma.UserRoleUncheckedCreateWithoutRoleInput>
651
- }
652
-
653
- export type UserRoleCreateManyRoleInputEnvelope = {
654
- data: Prisma.UserRoleCreateManyRoleInput | Prisma.UserRoleCreateManyRoleInput[]
655
- skipDuplicates?: boolean
656
- }
657
-
658
- export type UserRoleUpsertWithWhereUniqueWithoutRoleInput = {
659
- where: Prisma.UserRoleWhereUniqueInput
660
- update: Prisma.XOR<Prisma.UserRoleUpdateWithoutRoleInput, Prisma.UserRoleUncheckedUpdateWithoutRoleInput>
661
- create: Prisma.XOR<Prisma.UserRoleCreateWithoutRoleInput, Prisma.UserRoleUncheckedCreateWithoutRoleInput>
662
- }
663
-
664
- export type UserRoleUpdateWithWhereUniqueWithoutRoleInput = {
665
- where: Prisma.UserRoleWhereUniqueInput
666
- data: Prisma.XOR<Prisma.UserRoleUpdateWithoutRoleInput, Prisma.UserRoleUncheckedUpdateWithoutRoleInput>
667
- }
668
-
669
- export type UserRoleUpdateManyWithWhereWithoutRoleInput = {
670
- where: Prisma.UserRoleScalarWhereInput
671
- data: Prisma.XOR<Prisma.UserRoleUpdateManyMutationInput, Prisma.UserRoleUncheckedUpdateManyWithoutRoleInput>
672
- }
673
-
674
- export type UserRoleCreateManyUserInput = {
675
- id?: number
676
- role_id: number
677
- created_at?: Date | string
678
- created_by?: number | null
679
- updated_at?: Date | string | null
680
- updated_by?: number | null
681
- deleted_at?: Date | string | null
682
- deleted_by?: number | null
683
- }
684
-
685
- export type UserRoleUpdateWithoutUserInput = {
686
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
687
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
688
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
689
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
690
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
691
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
692
- role?: Prisma.RoleUpdateOneRequiredWithoutUser_rolesNestedInput
693
- }
694
-
695
- export type UserRoleUncheckedUpdateWithoutUserInput = {
696
- id?: Prisma.IntFieldUpdateOperationsInput | number
697
- role_id?: Prisma.IntFieldUpdateOperationsInput | number
698
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
699
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
700
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
701
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
702
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
703
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
704
- }
705
-
706
- export type UserRoleUncheckedUpdateManyWithoutUserInput = {
707
- id?: Prisma.IntFieldUpdateOperationsInput | number
708
- role_id?: Prisma.IntFieldUpdateOperationsInput | number
709
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
710
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
711
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
712
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
713
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
714
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
715
- }
716
-
717
- export type UserRoleCreateManyRoleInput = {
718
- id?: number
719
- user_id: number
720
- created_at?: Date | string
721
- created_by?: number | null
722
- updated_at?: Date | string | null
723
- updated_by?: number | null
724
- deleted_at?: Date | string | null
725
- deleted_by?: number | null
726
- }
727
-
728
- export type UserRoleUpdateWithoutRoleInput = {
729
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
730
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
731
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
732
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
733
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
734
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
735
- user?: Prisma.UserUpdateOneRequiredWithoutUser_rolesNestedInput
736
- }
737
-
738
- export type UserRoleUncheckedUpdateWithoutRoleInput = {
739
- id?: Prisma.IntFieldUpdateOperationsInput | number
740
- user_id?: Prisma.IntFieldUpdateOperationsInput | number
741
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
742
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
743
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
744
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
745
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
746
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
747
- }
748
-
749
- export type UserRoleUncheckedUpdateManyWithoutRoleInput = {
750
- id?: Prisma.IntFieldUpdateOperationsInput | number
751
- user_id?: Prisma.IntFieldUpdateOperationsInput | number
752
- created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
753
- created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
754
- updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
755
- updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
756
- deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
757
- deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
758
- }
759
-
760
-
761
-
762
- export type UserRoleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
763
- id?: boolean
764
- user_id?: boolean
765
- role_id?: boolean
766
- created_at?: boolean
767
- created_by?: boolean
768
- updated_at?: boolean
769
- updated_by?: boolean
770
- deleted_at?: boolean
771
- deleted_by?: boolean
772
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
773
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>
774
- }, ExtArgs["result"]["userRole"]>
775
-
776
- export type UserRoleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
777
- id?: boolean
778
- user_id?: boolean
779
- role_id?: boolean
780
- created_at?: boolean
781
- created_by?: boolean
782
- updated_at?: boolean
783
- updated_by?: boolean
784
- deleted_at?: boolean
785
- deleted_by?: boolean
786
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
787
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>
788
- }, ExtArgs["result"]["userRole"]>
789
-
790
- export type UserRoleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
791
- id?: boolean
792
- user_id?: boolean
793
- role_id?: boolean
794
- created_at?: boolean
795
- created_by?: boolean
796
- updated_at?: boolean
797
- updated_by?: boolean
798
- deleted_at?: boolean
799
- deleted_by?: boolean
800
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
801
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>
802
- }, ExtArgs["result"]["userRole"]>
803
-
804
- export type UserRoleSelectScalar = {
805
- id?: boolean
806
- user_id?: boolean
807
- role_id?: boolean
808
- created_at?: boolean
809
- created_by?: boolean
810
- updated_at?: boolean
811
- updated_by?: boolean
812
- deleted_at?: boolean
813
- deleted_by?: boolean
814
- }
815
-
816
- export type UserRoleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "role_id" | "created_at" | "created_by" | "updated_at" | "updated_by" | "deleted_at" | "deleted_by", ExtArgs["result"]["userRole"]>
817
- export type UserRoleInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
818
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
819
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>
820
- }
821
- export type UserRoleIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
822
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
823
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>
824
- }
825
- export type UserRoleIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
826
- user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
827
- role?: boolean | Prisma.RoleDefaultArgs<ExtArgs>
828
- }
829
-
830
- export type $UserRolePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
831
- name: "UserRole"
832
- objects: {
833
- user: Prisma.$UserPayload<ExtArgs>
834
- role: Prisma.$RolePayload<ExtArgs>
835
- }
836
- scalars: runtime.Types.Extensions.GetPayloadResult<{
837
- id: number
838
- user_id: number
839
- role_id: number
840
- created_at: Date
841
- created_by: number | null
842
- updated_at: Date | null
843
- updated_by: number | null
844
- deleted_at: Date | null
845
- deleted_by: number | null
846
- }, ExtArgs["result"]["userRole"]>
847
- composites: {}
848
- }
849
-
850
- export type UserRoleGetPayload<S extends boolean | null | undefined | UserRoleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserRolePayload, S>
851
-
852
- export type UserRoleCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
853
- Omit<UserRoleFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
854
- select?: UserRoleCountAggregateInputType | true
855
- }
856
-
857
- export interface UserRoleDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
858
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserRole'], meta: { name: 'UserRole' } }
859
- /**
860
- * Find zero or one UserRole that matches the filter.
861
- * @param {UserRoleFindUniqueArgs} args - Arguments to find a UserRole
862
- * @example
863
- * // Get one UserRole
864
- * const userRole = await prisma.userRole.findUnique({
865
- * where: {
866
- * // ... provide filter here
867
- * }
868
- * })
869
- */
870
- findUnique<T extends UserRoleFindUniqueArgs>(args: Prisma.SelectSubset<T, UserRoleFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
871
-
872
- /**
873
- * Find one UserRole that matches the filter or throw an error with `error.code='P2025'`
874
- * if no matches were found.
875
- * @param {UserRoleFindUniqueOrThrowArgs} args - Arguments to find a UserRole
876
- * @example
877
- * // Get one UserRole
878
- * const userRole = await prisma.userRole.findUniqueOrThrow({
879
- * where: {
880
- * // ... provide filter here
881
- * }
882
- * })
883
- */
884
- findUniqueOrThrow<T extends UserRoleFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserRoleFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
885
-
886
- /**
887
- * Find the first UserRole that matches the filter.
888
- * Note, that providing `undefined` is treated as the value not being there.
889
- * Read more here: https://pris.ly/d/null-undefined
890
- * @param {UserRoleFindFirstArgs} args - Arguments to find a UserRole
891
- * @example
892
- * // Get one UserRole
893
- * const userRole = await prisma.userRole.findFirst({
894
- * where: {
895
- * // ... provide filter here
896
- * }
897
- * })
898
- */
899
- findFirst<T extends UserRoleFindFirstArgs>(args?: Prisma.SelectSubset<T, UserRoleFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
900
-
901
- /**
902
- * Find the first UserRole that matches the filter or
903
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
904
- * Note, that providing `undefined` is treated as the value not being there.
905
- * Read more here: https://pris.ly/d/null-undefined
906
- * @param {UserRoleFindFirstOrThrowArgs} args - Arguments to find a UserRole
907
- * @example
908
- * // Get one UserRole
909
- * const userRole = await prisma.userRole.findFirstOrThrow({
910
- * where: {
911
- * // ... provide filter here
912
- * }
913
- * })
914
- */
915
- findFirstOrThrow<T extends UserRoleFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserRoleFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
916
-
917
- /**
918
- * Find zero or more UserRoles that matches the filter.
919
- * Note, that providing `undefined` is treated as the value not being there.
920
- * Read more here: https://pris.ly/d/null-undefined
921
- * @param {UserRoleFindManyArgs} args - Arguments to filter and select certain fields only.
922
- * @example
923
- * // Get all UserRoles
924
- * const userRoles = await prisma.userRole.findMany()
925
- *
926
- * // Get first 10 UserRoles
927
- * const userRoles = await prisma.userRole.findMany({ take: 10 })
928
- *
929
- * // Only select the `id`
930
- * const userRoleWithIdOnly = await prisma.userRole.findMany({ select: { id: true } })
931
- *
932
- */
933
- findMany<T extends UserRoleFindManyArgs>(args?: Prisma.SelectSubset<T, UserRoleFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
934
-
935
- /**
936
- * Create a UserRole.
937
- * @param {UserRoleCreateArgs} args - Arguments to create a UserRole.
938
- * @example
939
- * // Create one UserRole
940
- * const UserRole = await prisma.userRole.create({
941
- * data: {
942
- * // ... data to create a UserRole
943
- * }
944
- * })
945
- *
946
- */
947
- create<T extends UserRoleCreateArgs>(args: Prisma.SelectSubset<T, UserRoleCreateArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
948
-
949
- /**
950
- * Create many UserRoles.
951
- * @param {UserRoleCreateManyArgs} args - Arguments to create many UserRoles.
952
- * @example
953
- * // Create many UserRoles
954
- * const userRole = await prisma.userRole.createMany({
955
- * data: [
956
- * // ... provide data here
957
- * ]
958
- * })
959
- *
960
- */
961
- createMany<T extends UserRoleCreateManyArgs>(args?: Prisma.SelectSubset<T, UserRoleCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
962
-
963
- /**
964
- * Create many UserRoles and returns the data saved in the database.
965
- * @param {UserRoleCreateManyAndReturnArgs} args - Arguments to create many UserRoles.
966
- * @example
967
- * // Create many UserRoles
968
- * const userRole = await prisma.userRole.createManyAndReturn({
969
- * data: [
970
- * // ... provide data here
971
- * ]
972
- * })
973
- *
974
- * // Create many UserRoles and only return the `id`
975
- * const userRoleWithIdOnly = await prisma.userRole.createManyAndReturn({
976
- * select: { id: true },
977
- * data: [
978
- * // ... provide data here
979
- * ]
980
- * })
981
- * Note, that providing `undefined` is treated as the value not being there.
982
- * Read more here: https://pris.ly/d/null-undefined
983
- *
984
- */
985
- createManyAndReturn<T extends UserRoleCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserRoleCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
986
-
987
- /**
988
- * Delete a UserRole.
989
- * @param {UserRoleDeleteArgs} args - Arguments to delete one UserRole.
990
- * @example
991
- * // Delete one UserRole
992
- * const UserRole = await prisma.userRole.delete({
993
- * where: {
994
- * // ... filter to delete one UserRole
995
- * }
996
- * })
997
- *
998
- */
999
- delete<T extends UserRoleDeleteArgs>(args: Prisma.SelectSubset<T, UserRoleDeleteArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1000
-
1001
- /**
1002
- * Update one UserRole.
1003
- * @param {UserRoleUpdateArgs} args - Arguments to update one UserRole.
1004
- * @example
1005
- * // Update one UserRole
1006
- * const userRole = await prisma.userRole.update({
1007
- * where: {
1008
- * // ... provide filter here
1009
- * },
1010
- * data: {
1011
- * // ... provide data here
1012
- * }
1013
- * })
1014
- *
1015
- */
1016
- update<T extends UserRoleUpdateArgs>(args: Prisma.SelectSubset<T, UserRoleUpdateArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1017
-
1018
- /**
1019
- * Delete zero or more UserRoles.
1020
- * @param {UserRoleDeleteManyArgs} args - Arguments to filter UserRoles to delete.
1021
- * @example
1022
- * // Delete a few UserRoles
1023
- * const { count } = await prisma.userRole.deleteMany({
1024
- * where: {
1025
- * // ... provide filter here
1026
- * }
1027
- * })
1028
- *
1029
- */
1030
- deleteMany<T extends UserRoleDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserRoleDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1031
-
1032
- /**
1033
- * Update zero or more UserRoles.
1034
- * Note, that providing `undefined` is treated as the value not being there.
1035
- * Read more here: https://pris.ly/d/null-undefined
1036
- * @param {UserRoleUpdateManyArgs} args - Arguments to update one or more rows.
1037
- * @example
1038
- * // Update many UserRoles
1039
- * const userRole = await prisma.userRole.updateMany({
1040
- * where: {
1041
- * // ... provide filter here
1042
- * },
1043
- * data: {
1044
- * // ... provide data here
1045
- * }
1046
- * })
1047
- *
1048
- */
1049
- updateMany<T extends UserRoleUpdateManyArgs>(args: Prisma.SelectSubset<T, UserRoleUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1050
-
1051
- /**
1052
- * Update zero or more UserRoles and returns the data updated in the database.
1053
- * @param {UserRoleUpdateManyAndReturnArgs} args - Arguments to update many UserRoles.
1054
- * @example
1055
- * // Update many UserRoles
1056
- * const userRole = await prisma.userRole.updateManyAndReturn({
1057
- * where: {
1058
- * // ... provide filter here
1059
- * },
1060
- * data: [
1061
- * // ... provide data here
1062
- * ]
1063
- * })
1064
- *
1065
- * // Update zero or more UserRoles and only return the `id`
1066
- * const userRoleWithIdOnly = await prisma.userRole.updateManyAndReturn({
1067
- * select: { id: true },
1068
- * where: {
1069
- * // ... provide filter here
1070
- * },
1071
- * data: [
1072
- * // ... provide data here
1073
- * ]
1074
- * })
1075
- * Note, that providing `undefined` is treated as the value not being there.
1076
- * Read more here: https://pris.ly/d/null-undefined
1077
- *
1078
- */
1079
- updateManyAndReturn<T extends UserRoleUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserRoleUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1080
-
1081
- /**
1082
- * Create or update one UserRole.
1083
- * @param {UserRoleUpsertArgs} args - Arguments to update or create a UserRole.
1084
- * @example
1085
- * // Update or create a UserRole
1086
- * const userRole = await prisma.userRole.upsert({
1087
- * create: {
1088
- * // ... data to create a UserRole
1089
- * },
1090
- * update: {
1091
- * // ... in case it already exists, update
1092
- * },
1093
- * where: {
1094
- * // ... the filter for the UserRole we want to update
1095
- * }
1096
- * })
1097
- */
1098
- upsert<T extends UserRoleUpsertArgs>(args: Prisma.SelectSubset<T, UserRoleUpsertArgs<ExtArgs>>): Prisma.Prisma__UserRoleClient<runtime.Types.Result.GetResult<Prisma.$UserRolePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1099
-
1100
-
1101
- /**
1102
- * Count the number of UserRoles.
1103
- * Note, that providing `undefined` is treated as the value not being there.
1104
- * Read more here: https://pris.ly/d/null-undefined
1105
- * @param {UserRoleCountArgs} args - Arguments to filter UserRoles to count.
1106
- * @example
1107
- * // Count the number of UserRoles
1108
- * const count = await prisma.userRole.count({
1109
- * where: {
1110
- * // ... the filter for the UserRoles we want to count
1111
- * }
1112
- * })
1113
- **/
1114
- count<T extends UserRoleCountArgs>(
1115
- args?: Prisma.Subset<T, UserRoleCountArgs>,
1116
- ): Prisma.PrismaPromise<
1117
- T extends runtime.Types.Utils.Record<'select', any>
1118
- ? T['select'] extends true
1119
- ? number
1120
- : Prisma.GetScalarType<T['select'], UserRoleCountAggregateOutputType>
1121
- : number
1122
- >
1123
-
1124
- /**
1125
- * Allows you to perform aggregations operations on a UserRole.
1126
- * Note, that providing `undefined` is treated as the value not being there.
1127
- * Read more here: https://pris.ly/d/null-undefined
1128
- * @param {UserRoleAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1129
- * @example
1130
- * // Ordered by age ascending
1131
- * // Where email contains prisma.io
1132
- * // Limited to the 10 users
1133
- * const aggregations = await prisma.user.aggregate({
1134
- * _avg: {
1135
- * age: true,
1136
- * },
1137
- * where: {
1138
- * email: {
1139
- * contains: "prisma.io",
1140
- * },
1141
- * },
1142
- * orderBy: {
1143
- * age: "asc",
1144
- * },
1145
- * take: 10,
1146
- * })
1147
- **/
1148
- aggregate<T extends UserRoleAggregateArgs>(args: Prisma.Subset<T, UserRoleAggregateArgs>): Prisma.PrismaPromise<GetUserRoleAggregateType<T>>
1149
-
1150
- /**
1151
- * Group by UserRole.
1152
- * Note, that providing `undefined` is treated as the value not being there.
1153
- * Read more here: https://pris.ly/d/null-undefined
1154
- * @param {UserRoleGroupByArgs} args - Group by arguments.
1155
- * @example
1156
- * // Group by city, order by createdAt, get count
1157
- * const result = await prisma.user.groupBy({
1158
- * by: ['city', 'createdAt'],
1159
- * orderBy: {
1160
- * createdAt: true
1161
- * },
1162
- * _count: {
1163
- * _all: true
1164
- * },
1165
- * })
1166
- *
1167
- **/
1168
- groupBy<
1169
- T extends UserRoleGroupByArgs,
1170
- HasSelectOrTake extends Prisma.Or<
1171
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1172
- Prisma.Extends<'take', Prisma.Keys<T>>
1173
- >,
1174
- OrderByArg extends Prisma.True extends HasSelectOrTake
1175
- ? { orderBy: UserRoleGroupByArgs['orderBy'] }
1176
- : { orderBy?: UserRoleGroupByArgs['orderBy'] },
1177
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1178
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1179
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1180
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1181
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1182
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1183
- InputErrors extends ByEmpty extends Prisma.True
1184
- ? `Error: "by" must not be empty.`
1185
- : HavingValid extends Prisma.False
1186
- ? {
1187
- [P in HavingFields]: P extends ByFields
1188
- ? never
1189
- : P extends string
1190
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1191
- : [
1192
- Error,
1193
- 'Field ',
1194
- P,
1195
- ` in "having" needs to be provided in "by"`,
1196
- ]
1197
- }[HavingFields]
1198
- : 'take' extends Prisma.Keys<T>
1199
- ? 'orderBy' extends Prisma.Keys<T>
1200
- ? ByValid extends Prisma.True
1201
- ? {}
1202
- : {
1203
- [P in OrderFields]: P extends ByFields
1204
- ? never
1205
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1206
- }[OrderFields]
1207
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1208
- : 'skip' extends Prisma.Keys<T>
1209
- ? 'orderBy' extends Prisma.Keys<T>
1210
- ? ByValid extends Prisma.True
1211
- ? {}
1212
- : {
1213
- [P in OrderFields]: P extends ByFields
1214
- ? never
1215
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1216
- }[OrderFields]
1217
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1218
- : ByValid extends Prisma.True
1219
- ? {}
1220
- : {
1221
- [P in OrderFields]: P extends ByFields
1222
- ? never
1223
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1224
- }[OrderFields]
1225
- >(args: Prisma.SubsetIntersection<T, UserRoleGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserRoleGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1226
- /**
1227
- * Fields of the UserRole model
1228
- */
1229
- readonly fields: UserRoleFieldRefs;
1230
- }
1231
-
1232
- /**
1233
- * The delegate class that acts as a "Promise-like" for UserRole.
1234
- * Why is this prefixed with `Prisma__`?
1235
- * Because we want to prevent naming conflicts as mentioned in
1236
- * https://github.com/prisma/prisma-client-js/issues/707
1237
- */
1238
- export interface Prisma__UserRoleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1239
- readonly [Symbol.toStringTag]: "PrismaPromise"
1240
- 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>
1241
- role<T extends Prisma.RoleDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RoleDefaultArgs<ExtArgs>>): Prisma.Prisma__RoleClient<runtime.Types.Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1242
- /**
1243
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1244
- * @param onfulfilled The callback to execute when the Promise is resolved.
1245
- * @param onrejected The callback to execute when the Promise is rejected.
1246
- * @returns A Promise for the completion of which ever callback is executed.
1247
- */
1248
- 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>
1249
- /**
1250
- * Attaches a callback for only the rejection of the Promise.
1251
- * @param onrejected The callback to execute when the Promise is rejected.
1252
- * @returns A Promise for the completion of the callback.
1253
- */
1254
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1255
- /**
1256
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1257
- * resolved value cannot be modified from the callback.
1258
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1259
- * @returns A Promise for the completion of the callback.
1260
- */
1261
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1262
- }
1263
-
1264
-
1265
-
1266
-
1267
- /**
1268
- * Fields of the UserRole model
1269
- */
1270
- export interface UserRoleFieldRefs {
1271
- readonly id: Prisma.FieldRef<"UserRole", 'Int'>
1272
- readonly user_id: Prisma.FieldRef<"UserRole", 'Int'>
1273
- readonly role_id: Prisma.FieldRef<"UserRole", 'Int'>
1274
- readonly created_at: Prisma.FieldRef<"UserRole", 'DateTime'>
1275
- readonly created_by: Prisma.FieldRef<"UserRole", 'Int'>
1276
- readonly updated_at: Prisma.FieldRef<"UserRole", 'DateTime'>
1277
- readonly updated_by: Prisma.FieldRef<"UserRole", 'Int'>
1278
- readonly deleted_at: Prisma.FieldRef<"UserRole", 'DateTime'>
1279
- readonly deleted_by: Prisma.FieldRef<"UserRole", 'Int'>
1280
- }
1281
-
1282
-
1283
- // Custom InputTypes
1284
- /**
1285
- * UserRole findUnique
1286
- */
1287
- export type UserRoleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1288
- /**
1289
- * Select specific fields to fetch from the UserRole
1290
- */
1291
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1292
- /**
1293
- * Omit specific fields from the UserRole
1294
- */
1295
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1296
- /**
1297
- * Choose, which related nodes to fetch as well
1298
- */
1299
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1300
- /**
1301
- * Filter, which UserRole to fetch.
1302
- */
1303
- where: Prisma.UserRoleWhereUniqueInput
1304
- }
1305
-
1306
- /**
1307
- * UserRole findUniqueOrThrow
1308
- */
1309
- export type UserRoleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1310
- /**
1311
- * Select specific fields to fetch from the UserRole
1312
- */
1313
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1314
- /**
1315
- * Omit specific fields from the UserRole
1316
- */
1317
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1318
- /**
1319
- * Choose, which related nodes to fetch as well
1320
- */
1321
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1322
- /**
1323
- * Filter, which UserRole to fetch.
1324
- */
1325
- where: Prisma.UserRoleWhereUniqueInput
1326
- }
1327
-
1328
- /**
1329
- * UserRole findFirst
1330
- */
1331
- export type UserRoleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1332
- /**
1333
- * Select specific fields to fetch from the UserRole
1334
- */
1335
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1336
- /**
1337
- * Omit specific fields from the UserRole
1338
- */
1339
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1340
- /**
1341
- * Choose, which related nodes to fetch as well
1342
- */
1343
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1344
- /**
1345
- * Filter, which UserRole to fetch.
1346
- */
1347
- where?: Prisma.UserRoleWhereInput
1348
- /**
1349
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1350
- *
1351
- * Determine the order of UserRoles to fetch.
1352
- */
1353
- orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]
1354
- /**
1355
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1356
- *
1357
- * Sets the position for searching for UserRoles.
1358
- */
1359
- cursor?: Prisma.UserRoleWhereUniqueInput
1360
- /**
1361
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1362
- *
1363
- * Take `±n` UserRoles from the position of the cursor.
1364
- */
1365
- take?: number
1366
- /**
1367
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1368
- *
1369
- * Skip the first `n` UserRoles.
1370
- */
1371
- skip?: number
1372
- /**
1373
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1374
- *
1375
- * Filter by unique combinations of UserRoles.
1376
- */
1377
- distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[]
1378
- }
1379
-
1380
- /**
1381
- * UserRole findFirstOrThrow
1382
- */
1383
- export type UserRoleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1384
- /**
1385
- * Select specific fields to fetch from the UserRole
1386
- */
1387
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1388
- /**
1389
- * Omit specific fields from the UserRole
1390
- */
1391
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1392
- /**
1393
- * Choose, which related nodes to fetch as well
1394
- */
1395
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1396
- /**
1397
- * Filter, which UserRole to fetch.
1398
- */
1399
- where?: Prisma.UserRoleWhereInput
1400
- /**
1401
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1402
- *
1403
- * Determine the order of UserRoles to fetch.
1404
- */
1405
- orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]
1406
- /**
1407
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1408
- *
1409
- * Sets the position for searching for UserRoles.
1410
- */
1411
- cursor?: Prisma.UserRoleWhereUniqueInput
1412
- /**
1413
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1414
- *
1415
- * Take `±n` UserRoles from the position of the cursor.
1416
- */
1417
- take?: number
1418
- /**
1419
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1420
- *
1421
- * Skip the first `n` UserRoles.
1422
- */
1423
- skip?: number
1424
- /**
1425
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1426
- *
1427
- * Filter by unique combinations of UserRoles.
1428
- */
1429
- distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[]
1430
- }
1431
-
1432
- /**
1433
- * UserRole findMany
1434
- */
1435
- export type UserRoleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1436
- /**
1437
- * Select specific fields to fetch from the UserRole
1438
- */
1439
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1440
- /**
1441
- * Omit specific fields from the UserRole
1442
- */
1443
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1444
- /**
1445
- * Choose, which related nodes to fetch as well
1446
- */
1447
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1448
- /**
1449
- * Filter, which UserRoles to fetch.
1450
- */
1451
- where?: Prisma.UserRoleWhereInput
1452
- /**
1453
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1454
- *
1455
- * Determine the order of UserRoles to fetch.
1456
- */
1457
- orderBy?: Prisma.UserRoleOrderByWithRelationInput | Prisma.UserRoleOrderByWithRelationInput[]
1458
- /**
1459
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1460
- *
1461
- * Sets the position for listing UserRoles.
1462
- */
1463
- cursor?: Prisma.UserRoleWhereUniqueInput
1464
- /**
1465
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1466
- *
1467
- * Take `±n` UserRoles from the position of the cursor.
1468
- */
1469
- take?: number
1470
- /**
1471
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1472
- *
1473
- * Skip the first `n` UserRoles.
1474
- */
1475
- skip?: number
1476
- /**
1477
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1478
- *
1479
- * Filter by unique combinations of UserRoles.
1480
- */
1481
- distinct?: Prisma.UserRoleScalarFieldEnum | Prisma.UserRoleScalarFieldEnum[]
1482
- }
1483
-
1484
- /**
1485
- * UserRole create
1486
- */
1487
- export type UserRoleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1488
- /**
1489
- * Select specific fields to fetch from the UserRole
1490
- */
1491
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1492
- /**
1493
- * Omit specific fields from the UserRole
1494
- */
1495
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1496
- /**
1497
- * Choose, which related nodes to fetch as well
1498
- */
1499
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1500
- /**
1501
- * The data needed to create a UserRole.
1502
- */
1503
- data: Prisma.XOR<Prisma.UserRoleCreateInput, Prisma.UserRoleUncheckedCreateInput>
1504
- }
1505
-
1506
- /**
1507
- * UserRole createMany
1508
- */
1509
- export type UserRoleCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1510
- /**
1511
- * The data used to create many UserRoles.
1512
- */
1513
- data: Prisma.UserRoleCreateManyInput | Prisma.UserRoleCreateManyInput[]
1514
- skipDuplicates?: boolean
1515
- }
1516
-
1517
- /**
1518
- * UserRole createManyAndReturn
1519
- */
1520
- export type UserRoleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1521
- /**
1522
- * Select specific fields to fetch from the UserRole
1523
- */
1524
- select?: Prisma.UserRoleSelectCreateManyAndReturn<ExtArgs> | null
1525
- /**
1526
- * Omit specific fields from the UserRole
1527
- */
1528
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1529
- /**
1530
- * The data used to create many UserRoles.
1531
- */
1532
- data: Prisma.UserRoleCreateManyInput | Prisma.UserRoleCreateManyInput[]
1533
- skipDuplicates?: boolean
1534
- /**
1535
- * Choose, which related nodes to fetch as well
1536
- */
1537
- include?: Prisma.UserRoleIncludeCreateManyAndReturn<ExtArgs> | null
1538
- }
1539
-
1540
- /**
1541
- * UserRole update
1542
- */
1543
- export type UserRoleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1544
- /**
1545
- * Select specific fields to fetch from the UserRole
1546
- */
1547
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1548
- /**
1549
- * Omit specific fields from the UserRole
1550
- */
1551
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1552
- /**
1553
- * Choose, which related nodes to fetch as well
1554
- */
1555
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1556
- /**
1557
- * The data needed to update a UserRole.
1558
- */
1559
- data: Prisma.XOR<Prisma.UserRoleUpdateInput, Prisma.UserRoleUncheckedUpdateInput>
1560
- /**
1561
- * Choose, which UserRole to update.
1562
- */
1563
- where: Prisma.UserRoleWhereUniqueInput
1564
- }
1565
-
1566
- /**
1567
- * UserRole updateMany
1568
- */
1569
- export type UserRoleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1570
- /**
1571
- * The data used to update UserRoles.
1572
- */
1573
- data: Prisma.XOR<Prisma.UserRoleUpdateManyMutationInput, Prisma.UserRoleUncheckedUpdateManyInput>
1574
- /**
1575
- * Filter which UserRoles to update
1576
- */
1577
- where?: Prisma.UserRoleWhereInput
1578
- /**
1579
- * Limit how many UserRoles to update.
1580
- */
1581
- limit?: number
1582
- }
1583
-
1584
- /**
1585
- * UserRole updateManyAndReturn
1586
- */
1587
- export type UserRoleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1588
- /**
1589
- * Select specific fields to fetch from the UserRole
1590
- */
1591
- select?: Prisma.UserRoleSelectUpdateManyAndReturn<ExtArgs> | null
1592
- /**
1593
- * Omit specific fields from the UserRole
1594
- */
1595
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1596
- /**
1597
- * The data used to update UserRoles.
1598
- */
1599
- data: Prisma.XOR<Prisma.UserRoleUpdateManyMutationInput, Prisma.UserRoleUncheckedUpdateManyInput>
1600
- /**
1601
- * Filter which UserRoles to update
1602
- */
1603
- where?: Prisma.UserRoleWhereInput
1604
- /**
1605
- * Limit how many UserRoles to update.
1606
- */
1607
- limit?: number
1608
- /**
1609
- * Choose, which related nodes to fetch as well
1610
- */
1611
- include?: Prisma.UserRoleIncludeUpdateManyAndReturn<ExtArgs> | null
1612
- }
1613
-
1614
- /**
1615
- * UserRole upsert
1616
- */
1617
- export type UserRoleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1618
- /**
1619
- * Select specific fields to fetch from the UserRole
1620
- */
1621
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1622
- /**
1623
- * Omit specific fields from the UserRole
1624
- */
1625
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1626
- /**
1627
- * Choose, which related nodes to fetch as well
1628
- */
1629
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1630
- /**
1631
- * The filter to search for the UserRole to update in case it exists.
1632
- */
1633
- where: Prisma.UserRoleWhereUniqueInput
1634
- /**
1635
- * In case the UserRole found by the `where` argument doesn't exist, create a new UserRole with this data.
1636
- */
1637
- create: Prisma.XOR<Prisma.UserRoleCreateInput, Prisma.UserRoleUncheckedCreateInput>
1638
- /**
1639
- * In case the UserRole was found with the provided `where` argument, update it with this data.
1640
- */
1641
- update: Prisma.XOR<Prisma.UserRoleUpdateInput, Prisma.UserRoleUncheckedUpdateInput>
1642
- }
1643
-
1644
- /**
1645
- * UserRole delete
1646
- */
1647
- export type UserRoleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1648
- /**
1649
- * Select specific fields to fetch from the UserRole
1650
- */
1651
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1652
- /**
1653
- * Omit specific fields from the UserRole
1654
- */
1655
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1656
- /**
1657
- * Choose, which related nodes to fetch as well
1658
- */
1659
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1660
- /**
1661
- * Filter which UserRole to delete.
1662
- */
1663
- where: Prisma.UserRoleWhereUniqueInput
1664
- }
1665
-
1666
- /**
1667
- * UserRole deleteMany
1668
- */
1669
- export type UserRoleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1670
- /**
1671
- * Filter which UserRoles to delete
1672
- */
1673
- where?: Prisma.UserRoleWhereInput
1674
- /**
1675
- * Limit how many UserRoles to delete.
1676
- */
1677
- limit?: number
1678
- }
1679
-
1680
- /**
1681
- * UserRole without action
1682
- */
1683
- export type UserRoleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1684
- /**
1685
- * Select specific fields to fetch from the UserRole
1686
- */
1687
- select?: Prisma.UserRoleSelect<ExtArgs> | null
1688
- /**
1689
- * Omit specific fields from the UserRole
1690
- */
1691
- omit?: Prisma.UserRoleOmit<ExtArgs> | null
1692
- /**
1693
- * Choose, which related nodes to fetch as well
1694
- */
1695
- include?: Prisma.UserRoleInclude<ExtArgs> | null
1696
- }