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