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