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,2075 +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 `Attribute` 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 Attribute
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type AttributeModel = runtime.Types.Result.DefaultSelection<Prisma.$AttributePayload>
|
|
20
|
-
|
|
21
|
-
export type AggregateAttribute = {
|
|
22
|
-
_count: AttributeCountAggregateOutputType | null
|
|
23
|
-
_avg: AttributeAvgAggregateOutputType | null
|
|
24
|
-
_sum: AttributeSumAggregateOutputType | null
|
|
25
|
-
_min: AttributeMinAggregateOutputType | null
|
|
26
|
-
_max: AttributeMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type AttributeAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
category_id: number | null
|
|
32
|
-
created_by: number | null
|
|
33
|
-
updated_by: number | null
|
|
34
|
-
deleted_by: number | null
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export type AttributeSumAggregateOutputType = {
|
|
38
|
-
id: number | null
|
|
39
|
-
category_id: number | null
|
|
40
|
-
created_by: number | null
|
|
41
|
-
updated_by: number | null
|
|
42
|
-
deleted_by: number | null
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type AttributeMinAggregateOutputType = {
|
|
46
|
-
id: number | null
|
|
47
|
-
uuid: string | null
|
|
48
|
-
category_id: number | null
|
|
49
|
-
attribute_name: string | null
|
|
50
|
-
is_required: boolean | null
|
|
51
|
-
is_active: boolean | null
|
|
52
|
-
slug: string | null
|
|
53
|
-
created_at: Date | null
|
|
54
|
-
created_by: number | null
|
|
55
|
-
updated_at: Date | null
|
|
56
|
-
updated_by: number | null
|
|
57
|
-
is_deleted: boolean | null
|
|
58
|
-
deleted_at: Date | null
|
|
59
|
-
deleted_by: number | null
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export type AttributeMaxAggregateOutputType = {
|
|
63
|
-
id: number | null
|
|
64
|
-
uuid: string | null
|
|
65
|
-
category_id: number | null
|
|
66
|
-
attribute_name: string | null
|
|
67
|
-
is_required: boolean | null
|
|
68
|
-
is_active: boolean | null
|
|
69
|
-
slug: string | null
|
|
70
|
-
created_at: Date | null
|
|
71
|
-
created_by: number | null
|
|
72
|
-
updated_at: Date | null
|
|
73
|
-
updated_by: number | null
|
|
74
|
-
is_deleted: boolean | null
|
|
75
|
-
deleted_at: Date | null
|
|
76
|
-
deleted_by: number | null
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export type AttributeCountAggregateOutputType = {
|
|
80
|
-
id: number
|
|
81
|
-
uuid: number
|
|
82
|
-
category_id: number
|
|
83
|
-
attribute_name: number
|
|
84
|
-
is_required: number
|
|
85
|
-
is_active: number
|
|
86
|
-
slug: number
|
|
87
|
-
created_at: number
|
|
88
|
-
created_by: number
|
|
89
|
-
updated_at: number
|
|
90
|
-
updated_by: number
|
|
91
|
-
is_deleted: number
|
|
92
|
-
deleted_at: number
|
|
93
|
-
deleted_by: number
|
|
94
|
-
_all: number
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
export type AttributeAvgAggregateInputType = {
|
|
99
|
-
id?: true
|
|
100
|
-
category_id?: true
|
|
101
|
-
created_by?: true
|
|
102
|
-
updated_by?: true
|
|
103
|
-
deleted_by?: true
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export type AttributeSumAggregateInputType = {
|
|
107
|
-
id?: true
|
|
108
|
-
category_id?: true
|
|
109
|
-
created_by?: true
|
|
110
|
-
updated_by?: true
|
|
111
|
-
deleted_by?: true
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
export type AttributeMinAggregateInputType = {
|
|
115
|
-
id?: true
|
|
116
|
-
uuid?: true
|
|
117
|
-
category_id?: true
|
|
118
|
-
attribute_name?: true
|
|
119
|
-
is_required?: true
|
|
120
|
-
is_active?: true
|
|
121
|
-
slug?: true
|
|
122
|
-
created_at?: true
|
|
123
|
-
created_by?: true
|
|
124
|
-
updated_at?: true
|
|
125
|
-
updated_by?: true
|
|
126
|
-
is_deleted?: true
|
|
127
|
-
deleted_at?: true
|
|
128
|
-
deleted_by?: true
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export type AttributeMaxAggregateInputType = {
|
|
132
|
-
id?: true
|
|
133
|
-
uuid?: true
|
|
134
|
-
category_id?: true
|
|
135
|
-
attribute_name?: true
|
|
136
|
-
is_required?: true
|
|
137
|
-
is_active?: true
|
|
138
|
-
slug?: true
|
|
139
|
-
created_at?: true
|
|
140
|
-
created_by?: true
|
|
141
|
-
updated_at?: true
|
|
142
|
-
updated_by?: true
|
|
143
|
-
is_deleted?: true
|
|
144
|
-
deleted_at?: true
|
|
145
|
-
deleted_by?: true
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export type AttributeCountAggregateInputType = {
|
|
149
|
-
id?: true
|
|
150
|
-
uuid?: true
|
|
151
|
-
category_id?: true
|
|
152
|
-
attribute_name?: true
|
|
153
|
-
is_required?: true
|
|
154
|
-
is_active?: true
|
|
155
|
-
slug?: true
|
|
156
|
-
created_at?: true
|
|
157
|
-
created_by?: true
|
|
158
|
-
updated_at?: true
|
|
159
|
-
updated_by?: true
|
|
160
|
-
is_deleted?: true
|
|
161
|
-
deleted_at?: true
|
|
162
|
-
deleted_by?: true
|
|
163
|
-
_all?: true
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export type AttributeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
167
|
-
/**
|
|
168
|
-
* Filter which Attribute to aggregate.
|
|
169
|
-
*/
|
|
170
|
-
where?: Prisma.AttributeWhereInput
|
|
171
|
-
/**
|
|
172
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
173
|
-
*
|
|
174
|
-
* Determine the order of Attributes to fetch.
|
|
175
|
-
*/
|
|
176
|
-
orderBy?: Prisma.AttributeOrderByWithRelationInput | Prisma.AttributeOrderByWithRelationInput[]
|
|
177
|
-
/**
|
|
178
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
179
|
-
*
|
|
180
|
-
* Sets the start position
|
|
181
|
-
*/
|
|
182
|
-
cursor?: Prisma.AttributeWhereUniqueInput
|
|
183
|
-
/**
|
|
184
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
185
|
-
*
|
|
186
|
-
* Take `±n` Attributes from the position of the cursor.
|
|
187
|
-
*/
|
|
188
|
-
take?: number
|
|
189
|
-
/**
|
|
190
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
191
|
-
*
|
|
192
|
-
* Skip the first `n` Attributes.
|
|
193
|
-
*/
|
|
194
|
-
skip?: number
|
|
195
|
-
/**
|
|
196
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
197
|
-
*
|
|
198
|
-
* Count returned Attributes
|
|
199
|
-
**/
|
|
200
|
-
_count?: true | AttributeCountAggregateInputType
|
|
201
|
-
/**
|
|
202
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
203
|
-
*
|
|
204
|
-
* Select which fields to average
|
|
205
|
-
**/
|
|
206
|
-
_avg?: AttributeAvgAggregateInputType
|
|
207
|
-
/**
|
|
208
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
209
|
-
*
|
|
210
|
-
* Select which fields to sum
|
|
211
|
-
**/
|
|
212
|
-
_sum?: AttributeSumAggregateInputType
|
|
213
|
-
/**
|
|
214
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
215
|
-
*
|
|
216
|
-
* Select which fields to find the minimum value
|
|
217
|
-
**/
|
|
218
|
-
_min?: AttributeMinAggregateInputType
|
|
219
|
-
/**
|
|
220
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
221
|
-
*
|
|
222
|
-
* Select which fields to find the maximum value
|
|
223
|
-
**/
|
|
224
|
-
_max?: AttributeMaxAggregateInputType
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export type GetAttributeAggregateType<T extends AttributeAggregateArgs> = {
|
|
228
|
-
[P in keyof T & keyof AggregateAttribute]: P extends '_count' | 'count'
|
|
229
|
-
? T[P] extends true
|
|
230
|
-
? number
|
|
231
|
-
: Prisma.GetScalarType<T[P], AggregateAttribute[P]>
|
|
232
|
-
: Prisma.GetScalarType<T[P], AggregateAttribute[P]>
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
export type AttributeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
239
|
-
where?: Prisma.AttributeWhereInput
|
|
240
|
-
orderBy?: Prisma.AttributeOrderByWithAggregationInput | Prisma.AttributeOrderByWithAggregationInput[]
|
|
241
|
-
by: Prisma.AttributeScalarFieldEnum[] | Prisma.AttributeScalarFieldEnum
|
|
242
|
-
having?: Prisma.AttributeScalarWhereWithAggregatesInput
|
|
243
|
-
take?: number
|
|
244
|
-
skip?: number
|
|
245
|
-
_count?: AttributeCountAggregateInputType | true
|
|
246
|
-
_avg?: AttributeAvgAggregateInputType
|
|
247
|
-
_sum?: AttributeSumAggregateInputType
|
|
248
|
-
_min?: AttributeMinAggregateInputType
|
|
249
|
-
_max?: AttributeMaxAggregateInputType
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export type AttributeGroupByOutputType = {
|
|
253
|
-
id: number
|
|
254
|
-
uuid: string | null
|
|
255
|
-
category_id: number | null
|
|
256
|
-
attribute_name: string | null
|
|
257
|
-
is_required: boolean | null
|
|
258
|
-
is_active: boolean | null
|
|
259
|
-
slug: string | null
|
|
260
|
-
created_at: Date | null
|
|
261
|
-
created_by: number | null
|
|
262
|
-
updated_at: Date | null
|
|
263
|
-
updated_by: number | null
|
|
264
|
-
is_deleted: boolean | null
|
|
265
|
-
deleted_at: Date | null
|
|
266
|
-
deleted_by: number | null
|
|
267
|
-
_count: AttributeCountAggregateOutputType | null
|
|
268
|
-
_avg: AttributeAvgAggregateOutputType | null
|
|
269
|
-
_sum: AttributeSumAggregateOutputType | null
|
|
270
|
-
_min: AttributeMinAggregateOutputType | null
|
|
271
|
-
_max: AttributeMaxAggregateOutputType | null
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
export type GetAttributeGroupByPayload<T extends AttributeGroupByArgs> = Prisma.PrismaPromise<
|
|
275
|
-
Array<
|
|
276
|
-
Prisma.PickEnumerable<AttributeGroupByOutputType, T['by']> &
|
|
277
|
-
{
|
|
278
|
-
[P in ((keyof T) & (keyof AttributeGroupByOutputType))]: P extends '_count'
|
|
279
|
-
? T[P] extends boolean
|
|
280
|
-
? number
|
|
281
|
-
: Prisma.GetScalarType<T[P], AttributeGroupByOutputType[P]>
|
|
282
|
-
: Prisma.GetScalarType<T[P], AttributeGroupByOutputType[P]>
|
|
283
|
-
}
|
|
284
|
-
>
|
|
285
|
-
>
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
export type AttributeWhereInput = {
|
|
290
|
-
AND?: Prisma.AttributeWhereInput | Prisma.AttributeWhereInput[]
|
|
291
|
-
OR?: Prisma.AttributeWhereInput[]
|
|
292
|
-
NOT?: Prisma.AttributeWhereInput | Prisma.AttributeWhereInput[]
|
|
293
|
-
id?: Prisma.IntFilter<"Attribute"> | number
|
|
294
|
-
uuid?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
295
|
-
category_id?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
296
|
-
attribute_name?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
297
|
-
is_required?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
298
|
-
is_active?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
299
|
-
slug?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
300
|
-
created_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
301
|
-
created_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
302
|
-
updated_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
303
|
-
updated_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
304
|
-
is_deleted?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
305
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
306
|
-
deleted_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
307
|
-
category?: Prisma.XOR<Prisma.CategoryNullableScalarRelationFilter, Prisma.CategoryWhereInput> | null
|
|
308
|
-
attribute_values?: Prisma.AttributeValueListRelationFilter
|
|
309
|
-
item_attributes?: Prisma.ItemAttributeListRelationFilter
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export type AttributeOrderByWithRelationInput = {
|
|
313
|
-
id?: Prisma.SortOrder
|
|
314
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
315
|
-
category_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
316
|
-
attribute_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
317
|
-
is_required?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
318
|
-
is_active?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
319
|
-
slug?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
320
|
-
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
321
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
322
|
-
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
323
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
324
|
-
is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
325
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
326
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
327
|
-
category?: Prisma.CategoryOrderByWithRelationInput
|
|
328
|
-
attribute_values?: Prisma.AttributeValueOrderByRelationAggregateInput
|
|
329
|
-
item_attributes?: Prisma.ItemAttributeOrderByRelationAggregateInput
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
export type AttributeWhereUniqueInput = Prisma.AtLeast<{
|
|
333
|
-
id?: number
|
|
334
|
-
uuid?: string
|
|
335
|
-
category_id_attribute_name?: Prisma.AttributeCategory_idAttribute_nameCompoundUniqueInput
|
|
336
|
-
AND?: Prisma.AttributeWhereInput | Prisma.AttributeWhereInput[]
|
|
337
|
-
OR?: Prisma.AttributeWhereInput[]
|
|
338
|
-
NOT?: Prisma.AttributeWhereInput | Prisma.AttributeWhereInput[]
|
|
339
|
-
category_id?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
340
|
-
attribute_name?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
341
|
-
is_required?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
342
|
-
is_active?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
343
|
-
slug?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
344
|
-
created_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
345
|
-
created_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
346
|
-
updated_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
347
|
-
updated_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
348
|
-
is_deleted?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
349
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
350
|
-
deleted_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
351
|
-
category?: Prisma.XOR<Prisma.CategoryNullableScalarRelationFilter, Prisma.CategoryWhereInput> | null
|
|
352
|
-
attribute_values?: Prisma.AttributeValueListRelationFilter
|
|
353
|
-
item_attributes?: Prisma.ItemAttributeListRelationFilter
|
|
354
|
-
}, "id" | "uuid" | "category_id_attribute_name">
|
|
355
|
-
|
|
356
|
-
export type AttributeOrderByWithAggregationInput = {
|
|
357
|
-
id?: Prisma.SortOrder
|
|
358
|
-
uuid?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
359
|
-
category_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
360
|
-
attribute_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
361
|
-
is_required?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
362
|
-
is_active?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
363
|
-
slug?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
364
|
-
created_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
365
|
-
created_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
366
|
-
updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
367
|
-
updated_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
368
|
-
is_deleted?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
369
|
-
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
370
|
-
deleted_by?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
371
|
-
_count?: Prisma.AttributeCountOrderByAggregateInput
|
|
372
|
-
_avg?: Prisma.AttributeAvgOrderByAggregateInput
|
|
373
|
-
_max?: Prisma.AttributeMaxOrderByAggregateInput
|
|
374
|
-
_min?: Prisma.AttributeMinOrderByAggregateInput
|
|
375
|
-
_sum?: Prisma.AttributeSumOrderByAggregateInput
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
export type AttributeScalarWhereWithAggregatesInput = {
|
|
379
|
-
AND?: Prisma.AttributeScalarWhereWithAggregatesInput | Prisma.AttributeScalarWhereWithAggregatesInput[]
|
|
380
|
-
OR?: Prisma.AttributeScalarWhereWithAggregatesInput[]
|
|
381
|
-
NOT?: Prisma.AttributeScalarWhereWithAggregatesInput | Prisma.AttributeScalarWhereWithAggregatesInput[]
|
|
382
|
-
id?: Prisma.IntWithAggregatesFilter<"Attribute"> | number
|
|
383
|
-
uuid?: Prisma.StringNullableWithAggregatesFilter<"Attribute"> | string | null
|
|
384
|
-
category_id?: Prisma.IntNullableWithAggregatesFilter<"Attribute"> | number | null
|
|
385
|
-
attribute_name?: Prisma.StringNullableWithAggregatesFilter<"Attribute"> | string | null
|
|
386
|
-
is_required?: Prisma.BoolNullableWithAggregatesFilter<"Attribute"> | boolean | null
|
|
387
|
-
is_active?: Prisma.BoolNullableWithAggregatesFilter<"Attribute"> | boolean | null
|
|
388
|
-
slug?: Prisma.StringNullableWithAggregatesFilter<"Attribute"> | string | null
|
|
389
|
-
created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Attribute"> | Date | string | null
|
|
390
|
-
created_by?: Prisma.IntNullableWithAggregatesFilter<"Attribute"> | number | null
|
|
391
|
-
updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Attribute"> | Date | string | null
|
|
392
|
-
updated_by?: Prisma.IntNullableWithAggregatesFilter<"Attribute"> | number | null
|
|
393
|
-
is_deleted?: Prisma.BoolNullableWithAggregatesFilter<"Attribute"> | boolean | null
|
|
394
|
-
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Attribute"> | Date | string | null
|
|
395
|
-
deleted_by?: Prisma.IntNullableWithAggregatesFilter<"Attribute"> | number | null
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
export type AttributeCreateInput = {
|
|
399
|
-
uuid?: string | null
|
|
400
|
-
attribute_name?: string | null
|
|
401
|
-
is_required?: boolean | null
|
|
402
|
-
is_active?: boolean | null
|
|
403
|
-
slug?: string | null
|
|
404
|
-
created_at?: Date | string | null
|
|
405
|
-
created_by?: number | null
|
|
406
|
-
updated_at?: Date | string | null
|
|
407
|
-
updated_by?: number | null
|
|
408
|
-
is_deleted?: boolean | null
|
|
409
|
-
deleted_at?: Date | string | null
|
|
410
|
-
deleted_by?: number | null
|
|
411
|
-
category?: Prisma.CategoryCreateNestedOneWithoutAttributesInput
|
|
412
|
-
attribute_values?: Prisma.AttributeValueCreateNestedManyWithoutAttributeInput
|
|
413
|
-
item_attributes?: Prisma.ItemAttributeCreateNestedManyWithoutAttributeInput
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
export type AttributeUncheckedCreateInput = {
|
|
417
|
-
id?: number
|
|
418
|
-
uuid?: string | null
|
|
419
|
-
category_id?: number | null
|
|
420
|
-
attribute_name?: string | null
|
|
421
|
-
is_required?: boolean | null
|
|
422
|
-
is_active?: boolean | null
|
|
423
|
-
slug?: string | null
|
|
424
|
-
created_at?: Date | string | null
|
|
425
|
-
created_by?: number | null
|
|
426
|
-
updated_at?: Date | string | null
|
|
427
|
-
updated_by?: number | null
|
|
428
|
-
is_deleted?: boolean | null
|
|
429
|
-
deleted_at?: Date | string | null
|
|
430
|
-
deleted_by?: number | null
|
|
431
|
-
attribute_values?: Prisma.AttributeValueUncheckedCreateNestedManyWithoutAttributeInput
|
|
432
|
-
item_attributes?: Prisma.ItemAttributeUncheckedCreateNestedManyWithoutAttributeInput
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
export type AttributeUpdateInput = {
|
|
436
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
437
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
438
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
439
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
440
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
441
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
442
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
443
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
444
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
445
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
446
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
447
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
448
|
-
category?: Prisma.CategoryUpdateOneWithoutAttributesNestedInput
|
|
449
|
-
attribute_values?: Prisma.AttributeValueUpdateManyWithoutAttributeNestedInput
|
|
450
|
-
item_attributes?: Prisma.ItemAttributeUpdateManyWithoutAttributeNestedInput
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
export type AttributeUncheckedUpdateInput = {
|
|
454
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
455
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
456
|
-
category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
457
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
458
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
459
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
460
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
461
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
462
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
463
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
464
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
465
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
466
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
467
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
468
|
-
attribute_values?: Prisma.AttributeValueUncheckedUpdateManyWithoutAttributeNestedInput
|
|
469
|
-
item_attributes?: Prisma.ItemAttributeUncheckedUpdateManyWithoutAttributeNestedInput
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
export type AttributeCreateManyInput = {
|
|
473
|
-
id?: number
|
|
474
|
-
uuid?: string | null
|
|
475
|
-
category_id?: number | null
|
|
476
|
-
attribute_name?: string | null
|
|
477
|
-
is_required?: boolean | null
|
|
478
|
-
is_active?: boolean | null
|
|
479
|
-
slug?: string | null
|
|
480
|
-
created_at?: Date | string | null
|
|
481
|
-
created_by?: number | null
|
|
482
|
-
updated_at?: Date | string | null
|
|
483
|
-
updated_by?: number | null
|
|
484
|
-
is_deleted?: boolean | null
|
|
485
|
-
deleted_at?: Date | string | null
|
|
486
|
-
deleted_by?: number | null
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
export type AttributeUpdateManyMutationInput = {
|
|
490
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
491
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
492
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
493
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
494
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
495
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
496
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
497
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
498
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
499
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
500
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
501
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
export type AttributeUncheckedUpdateManyInput = {
|
|
505
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
506
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
507
|
-
category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
508
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
509
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
510
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
511
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
512
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
513
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
514
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
515
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
516
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
517
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
518
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
export type AttributeListRelationFilter = {
|
|
522
|
-
every?: Prisma.AttributeWhereInput
|
|
523
|
-
some?: Prisma.AttributeWhereInput
|
|
524
|
-
none?: Prisma.AttributeWhereInput
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
export type AttributeOrderByRelationAggregateInput = {
|
|
528
|
-
_count?: Prisma.SortOrder
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
export type AttributeCategory_idAttribute_nameCompoundUniqueInput = {
|
|
532
|
-
category_id: number
|
|
533
|
-
attribute_name: string
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
export type AttributeCountOrderByAggregateInput = {
|
|
537
|
-
id?: Prisma.SortOrder
|
|
538
|
-
uuid?: Prisma.SortOrder
|
|
539
|
-
category_id?: Prisma.SortOrder
|
|
540
|
-
attribute_name?: Prisma.SortOrder
|
|
541
|
-
is_required?: Prisma.SortOrder
|
|
542
|
-
is_active?: Prisma.SortOrder
|
|
543
|
-
slug?: Prisma.SortOrder
|
|
544
|
-
created_at?: Prisma.SortOrder
|
|
545
|
-
created_by?: Prisma.SortOrder
|
|
546
|
-
updated_at?: Prisma.SortOrder
|
|
547
|
-
updated_by?: Prisma.SortOrder
|
|
548
|
-
is_deleted?: Prisma.SortOrder
|
|
549
|
-
deleted_at?: Prisma.SortOrder
|
|
550
|
-
deleted_by?: Prisma.SortOrder
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
export type AttributeAvgOrderByAggregateInput = {
|
|
554
|
-
id?: Prisma.SortOrder
|
|
555
|
-
category_id?: Prisma.SortOrder
|
|
556
|
-
created_by?: Prisma.SortOrder
|
|
557
|
-
updated_by?: Prisma.SortOrder
|
|
558
|
-
deleted_by?: Prisma.SortOrder
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
export type AttributeMaxOrderByAggregateInput = {
|
|
562
|
-
id?: Prisma.SortOrder
|
|
563
|
-
uuid?: Prisma.SortOrder
|
|
564
|
-
category_id?: Prisma.SortOrder
|
|
565
|
-
attribute_name?: Prisma.SortOrder
|
|
566
|
-
is_required?: Prisma.SortOrder
|
|
567
|
-
is_active?: Prisma.SortOrder
|
|
568
|
-
slug?: Prisma.SortOrder
|
|
569
|
-
created_at?: Prisma.SortOrder
|
|
570
|
-
created_by?: Prisma.SortOrder
|
|
571
|
-
updated_at?: Prisma.SortOrder
|
|
572
|
-
updated_by?: Prisma.SortOrder
|
|
573
|
-
is_deleted?: Prisma.SortOrder
|
|
574
|
-
deleted_at?: Prisma.SortOrder
|
|
575
|
-
deleted_by?: Prisma.SortOrder
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
export type AttributeMinOrderByAggregateInput = {
|
|
579
|
-
id?: Prisma.SortOrder
|
|
580
|
-
uuid?: Prisma.SortOrder
|
|
581
|
-
category_id?: Prisma.SortOrder
|
|
582
|
-
attribute_name?: Prisma.SortOrder
|
|
583
|
-
is_required?: Prisma.SortOrder
|
|
584
|
-
is_active?: Prisma.SortOrder
|
|
585
|
-
slug?: Prisma.SortOrder
|
|
586
|
-
created_at?: Prisma.SortOrder
|
|
587
|
-
created_by?: Prisma.SortOrder
|
|
588
|
-
updated_at?: Prisma.SortOrder
|
|
589
|
-
updated_by?: Prisma.SortOrder
|
|
590
|
-
is_deleted?: Prisma.SortOrder
|
|
591
|
-
deleted_at?: Prisma.SortOrder
|
|
592
|
-
deleted_by?: Prisma.SortOrder
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
export type AttributeSumOrderByAggregateInput = {
|
|
596
|
-
id?: Prisma.SortOrder
|
|
597
|
-
category_id?: Prisma.SortOrder
|
|
598
|
-
created_by?: Prisma.SortOrder
|
|
599
|
-
updated_by?: Prisma.SortOrder
|
|
600
|
-
deleted_by?: Prisma.SortOrder
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
export type AttributeNullableScalarRelationFilter = {
|
|
604
|
-
is?: Prisma.AttributeWhereInput | null
|
|
605
|
-
isNot?: Prisma.AttributeWhereInput | null
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
export type AttributeCreateNestedManyWithoutCategoryInput = {
|
|
609
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutCategoryInput, Prisma.AttributeUncheckedCreateWithoutCategoryInput> | Prisma.AttributeCreateWithoutCategoryInput[] | Prisma.AttributeUncheckedCreateWithoutCategoryInput[]
|
|
610
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutCategoryInput | Prisma.AttributeCreateOrConnectWithoutCategoryInput[]
|
|
611
|
-
createMany?: Prisma.AttributeCreateManyCategoryInputEnvelope
|
|
612
|
-
connect?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
export type AttributeUncheckedCreateNestedManyWithoutCategoryInput = {
|
|
616
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutCategoryInput, Prisma.AttributeUncheckedCreateWithoutCategoryInput> | Prisma.AttributeCreateWithoutCategoryInput[] | Prisma.AttributeUncheckedCreateWithoutCategoryInput[]
|
|
617
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutCategoryInput | Prisma.AttributeCreateOrConnectWithoutCategoryInput[]
|
|
618
|
-
createMany?: Prisma.AttributeCreateManyCategoryInputEnvelope
|
|
619
|
-
connect?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
export type AttributeUpdateManyWithoutCategoryNestedInput = {
|
|
623
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutCategoryInput, Prisma.AttributeUncheckedCreateWithoutCategoryInput> | Prisma.AttributeCreateWithoutCategoryInput[] | Prisma.AttributeUncheckedCreateWithoutCategoryInput[]
|
|
624
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutCategoryInput | Prisma.AttributeCreateOrConnectWithoutCategoryInput[]
|
|
625
|
-
upsert?: Prisma.AttributeUpsertWithWhereUniqueWithoutCategoryInput | Prisma.AttributeUpsertWithWhereUniqueWithoutCategoryInput[]
|
|
626
|
-
createMany?: Prisma.AttributeCreateManyCategoryInputEnvelope
|
|
627
|
-
set?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
628
|
-
disconnect?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
629
|
-
delete?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
630
|
-
connect?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
631
|
-
update?: Prisma.AttributeUpdateWithWhereUniqueWithoutCategoryInput | Prisma.AttributeUpdateWithWhereUniqueWithoutCategoryInput[]
|
|
632
|
-
updateMany?: Prisma.AttributeUpdateManyWithWhereWithoutCategoryInput | Prisma.AttributeUpdateManyWithWhereWithoutCategoryInput[]
|
|
633
|
-
deleteMany?: Prisma.AttributeScalarWhereInput | Prisma.AttributeScalarWhereInput[]
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
export type AttributeUncheckedUpdateManyWithoutCategoryNestedInput = {
|
|
637
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutCategoryInput, Prisma.AttributeUncheckedCreateWithoutCategoryInput> | Prisma.AttributeCreateWithoutCategoryInput[] | Prisma.AttributeUncheckedCreateWithoutCategoryInput[]
|
|
638
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutCategoryInput | Prisma.AttributeCreateOrConnectWithoutCategoryInput[]
|
|
639
|
-
upsert?: Prisma.AttributeUpsertWithWhereUniqueWithoutCategoryInput | Prisma.AttributeUpsertWithWhereUniqueWithoutCategoryInput[]
|
|
640
|
-
createMany?: Prisma.AttributeCreateManyCategoryInputEnvelope
|
|
641
|
-
set?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
642
|
-
disconnect?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
643
|
-
delete?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
644
|
-
connect?: Prisma.AttributeWhereUniqueInput | Prisma.AttributeWhereUniqueInput[]
|
|
645
|
-
update?: Prisma.AttributeUpdateWithWhereUniqueWithoutCategoryInput | Prisma.AttributeUpdateWithWhereUniqueWithoutCategoryInput[]
|
|
646
|
-
updateMany?: Prisma.AttributeUpdateManyWithWhereWithoutCategoryInput | Prisma.AttributeUpdateManyWithWhereWithoutCategoryInput[]
|
|
647
|
-
deleteMany?: Prisma.AttributeScalarWhereInput | Prisma.AttributeScalarWhereInput[]
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
export type AttributeCreateNestedOneWithoutAttribute_valuesInput = {
|
|
651
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutAttribute_valuesInput, Prisma.AttributeUncheckedCreateWithoutAttribute_valuesInput>
|
|
652
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutAttribute_valuesInput
|
|
653
|
-
connect?: Prisma.AttributeWhereUniqueInput
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
export type AttributeUpdateOneWithoutAttribute_valuesNestedInput = {
|
|
657
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutAttribute_valuesInput, Prisma.AttributeUncheckedCreateWithoutAttribute_valuesInput>
|
|
658
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutAttribute_valuesInput
|
|
659
|
-
upsert?: Prisma.AttributeUpsertWithoutAttribute_valuesInput
|
|
660
|
-
disconnect?: Prisma.AttributeWhereInput | boolean
|
|
661
|
-
delete?: Prisma.AttributeWhereInput | boolean
|
|
662
|
-
connect?: Prisma.AttributeWhereUniqueInput
|
|
663
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.AttributeUpdateToOneWithWhereWithoutAttribute_valuesInput, Prisma.AttributeUpdateWithoutAttribute_valuesInput>, Prisma.AttributeUncheckedUpdateWithoutAttribute_valuesInput>
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
export type AttributeCreateNestedOneWithoutItem_attributesInput = {
|
|
667
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutItem_attributesInput, Prisma.AttributeUncheckedCreateWithoutItem_attributesInput>
|
|
668
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutItem_attributesInput
|
|
669
|
-
connect?: Prisma.AttributeWhereUniqueInput
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
export type AttributeUpdateOneWithoutItem_attributesNestedInput = {
|
|
673
|
-
create?: Prisma.XOR<Prisma.AttributeCreateWithoutItem_attributesInput, Prisma.AttributeUncheckedCreateWithoutItem_attributesInput>
|
|
674
|
-
connectOrCreate?: Prisma.AttributeCreateOrConnectWithoutItem_attributesInput
|
|
675
|
-
upsert?: Prisma.AttributeUpsertWithoutItem_attributesInput
|
|
676
|
-
disconnect?: Prisma.AttributeWhereInput | boolean
|
|
677
|
-
delete?: Prisma.AttributeWhereInput | boolean
|
|
678
|
-
connect?: Prisma.AttributeWhereUniqueInput
|
|
679
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.AttributeUpdateToOneWithWhereWithoutItem_attributesInput, Prisma.AttributeUpdateWithoutItem_attributesInput>, Prisma.AttributeUncheckedUpdateWithoutItem_attributesInput>
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
export type AttributeCreateWithoutCategoryInput = {
|
|
683
|
-
uuid?: string | null
|
|
684
|
-
attribute_name?: string | null
|
|
685
|
-
is_required?: boolean | null
|
|
686
|
-
is_active?: boolean | null
|
|
687
|
-
slug?: string | null
|
|
688
|
-
created_at?: Date | string | null
|
|
689
|
-
created_by?: number | null
|
|
690
|
-
updated_at?: Date | string | null
|
|
691
|
-
updated_by?: number | null
|
|
692
|
-
is_deleted?: boolean | null
|
|
693
|
-
deleted_at?: Date | string | null
|
|
694
|
-
deleted_by?: number | null
|
|
695
|
-
attribute_values?: Prisma.AttributeValueCreateNestedManyWithoutAttributeInput
|
|
696
|
-
item_attributes?: Prisma.ItemAttributeCreateNestedManyWithoutAttributeInput
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
export type AttributeUncheckedCreateWithoutCategoryInput = {
|
|
700
|
-
id?: number
|
|
701
|
-
uuid?: string | null
|
|
702
|
-
attribute_name?: string | null
|
|
703
|
-
is_required?: boolean | null
|
|
704
|
-
is_active?: boolean | null
|
|
705
|
-
slug?: string | null
|
|
706
|
-
created_at?: Date | string | null
|
|
707
|
-
created_by?: number | null
|
|
708
|
-
updated_at?: Date | string | null
|
|
709
|
-
updated_by?: number | null
|
|
710
|
-
is_deleted?: boolean | null
|
|
711
|
-
deleted_at?: Date | string | null
|
|
712
|
-
deleted_by?: number | null
|
|
713
|
-
attribute_values?: Prisma.AttributeValueUncheckedCreateNestedManyWithoutAttributeInput
|
|
714
|
-
item_attributes?: Prisma.ItemAttributeUncheckedCreateNestedManyWithoutAttributeInput
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
export type AttributeCreateOrConnectWithoutCategoryInput = {
|
|
718
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
719
|
-
create: Prisma.XOR<Prisma.AttributeCreateWithoutCategoryInput, Prisma.AttributeUncheckedCreateWithoutCategoryInput>
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
export type AttributeCreateManyCategoryInputEnvelope = {
|
|
723
|
-
data: Prisma.AttributeCreateManyCategoryInput | Prisma.AttributeCreateManyCategoryInput[]
|
|
724
|
-
skipDuplicates?: boolean
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
export type AttributeUpsertWithWhereUniqueWithoutCategoryInput = {
|
|
728
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
729
|
-
update: Prisma.XOR<Prisma.AttributeUpdateWithoutCategoryInput, Prisma.AttributeUncheckedUpdateWithoutCategoryInput>
|
|
730
|
-
create: Prisma.XOR<Prisma.AttributeCreateWithoutCategoryInput, Prisma.AttributeUncheckedCreateWithoutCategoryInput>
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
export type AttributeUpdateWithWhereUniqueWithoutCategoryInput = {
|
|
734
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
735
|
-
data: Prisma.XOR<Prisma.AttributeUpdateWithoutCategoryInput, Prisma.AttributeUncheckedUpdateWithoutCategoryInput>
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
export type AttributeUpdateManyWithWhereWithoutCategoryInput = {
|
|
739
|
-
where: Prisma.AttributeScalarWhereInput
|
|
740
|
-
data: Prisma.XOR<Prisma.AttributeUpdateManyMutationInput, Prisma.AttributeUncheckedUpdateManyWithoutCategoryInput>
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
export type AttributeScalarWhereInput = {
|
|
744
|
-
AND?: Prisma.AttributeScalarWhereInput | Prisma.AttributeScalarWhereInput[]
|
|
745
|
-
OR?: Prisma.AttributeScalarWhereInput[]
|
|
746
|
-
NOT?: Prisma.AttributeScalarWhereInput | Prisma.AttributeScalarWhereInput[]
|
|
747
|
-
id?: Prisma.IntFilter<"Attribute"> | number
|
|
748
|
-
uuid?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
749
|
-
category_id?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
750
|
-
attribute_name?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
751
|
-
is_required?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
752
|
-
is_active?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
753
|
-
slug?: Prisma.StringNullableFilter<"Attribute"> | string | null
|
|
754
|
-
created_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
755
|
-
created_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
756
|
-
updated_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
757
|
-
updated_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
758
|
-
is_deleted?: Prisma.BoolNullableFilter<"Attribute"> | boolean | null
|
|
759
|
-
deleted_at?: Prisma.DateTimeNullableFilter<"Attribute"> | Date | string | null
|
|
760
|
-
deleted_by?: Prisma.IntNullableFilter<"Attribute"> | number | null
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
export type AttributeCreateWithoutAttribute_valuesInput = {
|
|
764
|
-
uuid?: string | null
|
|
765
|
-
attribute_name?: string | null
|
|
766
|
-
is_required?: boolean | null
|
|
767
|
-
is_active?: boolean | null
|
|
768
|
-
slug?: string | null
|
|
769
|
-
created_at?: Date | string | null
|
|
770
|
-
created_by?: number | null
|
|
771
|
-
updated_at?: Date | string | null
|
|
772
|
-
updated_by?: number | null
|
|
773
|
-
is_deleted?: boolean | null
|
|
774
|
-
deleted_at?: Date | string | null
|
|
775
|
-
deleted_by?: number | null
|
|
776
|
-
category?: Prisma.CategoryCreateNestedOneWithoutAttributesInput
|
|
777
|
-
item_attributes?: Prisma.ItemAttributeCreateNestedManyWithoutAttributeInput
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
export type AttributeUncheckedCreateWithoutAttribute_valuesInput = {
|
|
781
|
-
id?: number
|
|
782
|
-
uuid?: string | null
|
|
783
|
-
category_id?: number | null
|
|
784
|
-
attribute_name?: string | null
|
|
785
|
-
is_required?: boolean | null
|
|
786
|
-
is_active?: boolean | null
|
|
787
|
-
slug?: string | null
|
|
788
|
-
created_at?: Date | string | null
|
|
789
|
-
created_by?: number | null
|
|
790
|
-
updated_at?: Date | string | null
|
|
791
|
-
updated_by?: number | null
|
|
792
|
-
is_deleted?: boolean | null
|
|
793
|
-
deleted_at?: Date | string | null
|
|
794
|
-
deleted_by?: number | null
|
|
795
|
-
item_attributes?: Prisma.ItemAttributeUncheckedCreateNestedManyWithoutAttributeInput
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
export type AttributeCreateOrConnectWithoutAttribute_valuesInput = {
|
|
799
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
800
|
-
create: Prisma.XOR<Prisma.AttributeCreateWithoutAttribute_valuesInput, Prisma.AttributeUncheckedCreateWithoutAttribute_valuesInput>
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
export type AttributeUpsertWithoutAttribute_valuesInput = {
|
|
804
|
-
update: Prisma.XOR<Prisma.AttributeUpdateWithoutAttribute_valuesInput, Prisma.AttributeUncheckedUpdateWithoutAttribute_valuesInput>
|
|
805
|
-
create: Prisma.XOR<Prisma.AttributeCreateWithoutAttribute_valuesInput, Prisma.AttributeUncheckedCreateWithoutAttribute_valuesInput>
|
|
806
|
-
where?: Prisma.AttributeWhereInput
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
export type AttributeUpdateToOneWithWhereWithoutAttribute_valuesInput = {
|
|
810
|
-
where?: Prisma.AttributeWhereInput
|
|
811
|
-
data: Prisma.XOR<Prisma.AttributeUpdateWithoutAttribute_valuesInput, Prisma.AttributeUncheckedUpdateWithoutAttribute_valuesInput>
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
export type AttributeUpdateWithoutAttribute_valuesInput = {
|
|
815
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
816
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
817
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
818
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
819
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
820
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
821
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
822
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
823
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
824
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
825
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
826
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
827
|
-
category?: Prisma.CategoryUpdateOneWithoutAttributesNestedInput
|
|
828
|
-
item_attributes?: Prisma.ItemAttributeUpdateManyWithoutAttributeNestedInput
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
export type AttributeUncheckedUpdateWithoutAttribute_valuesInput = {
|
|
832
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
833
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
834
|
-
category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
835
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
836
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
837
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
838
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
839
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
840
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
841
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
842
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
843
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
844
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
845
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
846
|
-
item_attributes?: Prisma.ItemAttributeUncheckedUpdateManyWithoutAttributeNestedInput
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
export type AttributeCreateWithoutItem_attributesInput = {
|
|
850
|
-
uuid?: string | null
|
|
851
|
-
attribute_name?: string | null
|
|
852
|
-
is_required?: boolean | null
|
|
853
|
-
is_active?: boolean | null
|
|
854
|
-
slug?: string | null
|
|
855
|
-
created_at?: Date | string | null
|
|
856
|
-
created_by?: number | null
|
|
857
|
-
updated_at?: Date | string | null
|
|
858
|
-
updated_by?: number | null
|
|
859
|
-
is_deleted?: boolean | null
|
|
860
|
-
deleted_at?: Date | string | null
|
|
861
|
-
deleted_by?: number | null
|
|
862
|
-
category?: Prisma.CategoryCreateNestedOneWithoutAttributesInput
|
|
863
|
-
attribute_values?: Prisma.AttributeValueCreateNestedManyWithoutAttributeInput
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
export type AttributeUncheckedCreateWithoutItem_attributesInput = {
|
|
867
|
-
id?: number
|
|
868
|
-
uuid?: string | null
|
|
869
|
-
category_id?: number | null
|
|
870
|
-
attribute_name?: string | null
|
|
871
|
-
is_required?: boolean | null
|
|
872
|
-
is_active?: boolean | null
|
|
873
|
-
slug?: string | null
|
|
874
|
-
created_at?: Date | string | null
|
|
875
|
-
created_by?: number | null
|
|
876
|
-
updated_at?: Date | string | null
|
|
877
|
-
updated_by?: number | null
|
|
878
|
-
is_deleted?: boolean | null
|
|
879
|
-
deleted_at?: Date | string | null
|
|
880
|
-
deleted_by?: number | null
|
|
881
|
-
attribute_values?: Prisma.AttributeValueUncheckedCreateNestedManyWithoutAttributeInput
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
export type AttributeCreateOrConnectWithoutItem_attributesInput = {
|
|
885
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
886
|
-
create: Prisma.XOR<Prisma.AttributeCreateWithoutItem_attributesInput, Prisma.AttributeUncheckedCreateWithoutItem_attributesInput>
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
export type AttributeUpsertWithoutItem_attributesInput = {
|
|
890
|
-
update: Prisma.XOR<Prisma.AttributeUpdateWithoutItem_attributesInput, Prisma.AttributeUncheckedUpdateWithoutItem_attributesInput>
|
|
891
|
-
create: Prisma.XOR<Prisma.AttributeCreateWithoutItem_attributesInput, Prisma.AttributeUncheckedCreateWithoutItem_attributesInput>
|
|
892
|
-
where?: Prisma.AttributeWhereInput
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
export type AttributeUpdateToOneWithWhereWithoutItem_attributesInput = {
|
|
896
|
-
where?: Prisma.AttributeWhereInput
|
|
897
|
-
data: Prisma.XOR<Prisma.AttributeUpdateWithoutItem_attributesInput, Prisma.AttributeUncheckedUpdateWithoutItem_attributesInput>
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
export type AttributeUpdateWithoutItem_attributesInput = {
|
|
901
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
902
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
903
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
904
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
905
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
906
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
907
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
908
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
909
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
910
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
911
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
912
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
913
|
-
category?: Prisma.CategoryUpdateOneWithoutAttributesNestedInput
|
|
914
|
-
attribute_values?: Prisma.AttributeValueUpdateManyWithoutAttributeNestedInput
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
export type AttributeUncheckedUpdateWithoutItem_attributesInput = {
|
|
918
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
919
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
920
|
-
category_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
921
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
922
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
923
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
924
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
925
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
926
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
927
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
928
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
929
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
930
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
931
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
932
|
-
attribute_values?: Prisma.AttributeValueUncheckedUpdateManyWithoutAttributeNestedInput
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
export type AttributeCreateManyCategoryInput = {
|
|
936
|
-
id?: number
|
|
937
|
-
uuid?: string | null
|
|
938
|
-
attribute_name?: string | null
|
|
939
|
-
is_required?: boolean | null
|
|
940
|
-
is_active?: boolean | null
|
|
941
|
-
slug?: string | null
|
|
942
|
-
created_at?: Date | string | null
|
|
943
|
-
created_by?: number | null
|
|
944
|
-
updated_at?: Date | string | null
|
|
945
|
-
updated_by?: number | null
|
|
946
|
-
is_deleted?: boolean | null
|
|
947
|
-
deleted_at?: Date | string | null
|
|
948
|
-
deleted_by?: number | null
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
export type AttributeUpdateWithoutCategoryInput = {
|
|
952
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
953
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
954
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
955
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
956
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
957
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
958
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
959
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
960
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
961
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
962
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
963
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
964
|
-
attribute_values?: Prisma.AttributeValueUpdateManyWithoutAttributeNestedInput
|
|
965
|
-
item_attributes?: Prisma.ItemAttributeUpdateManyWithoutAttributeNestedInput
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
export type AttributeUncheckedUpdateWithoutCategoryInput = {
|
|
969
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
970
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
971
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
972
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
973
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
974
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
975
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
976
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
977
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
978
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
979
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
980
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
981
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
982
|
-
attribute_values?: Prisma.AttributeValueUncheckedUpdateManyWithoutAttributeNestedInput
|
|
983
|
-
item_attributes?: Prisma.ItemAttributeUncheckedUpdateManyWithoutAttributeNestedInput
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
export type AttributeUncheckedUpdateManyWithoutCategoryInput = {
|
|
987
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
988
|
-
uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
989
|
-
attribute_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
990
|
-
is_required?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
991
|
-
is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
992
|
-
slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
993
|
-
created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
994
|
-
created_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
995
|
-
updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
996
|
-
updated_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
997
|
-
is_deleted?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null
|
|
998
|
-
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
999
|
-
deleted_by?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* Count Type AttributeCountOutputType
|
|
1005
|
-
*/
|
|
1006
|
-
|
|
1007
|
-
export type AttributeCountOutputType = {
|
|
1008
|
-
attribute_values: number
|
|
1009
|
-
item_attributes: number
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
export type AttributeCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1013
|
-
attribute_values?: boolean | AttributeCountOutputTypeCountAttribute_valuesArgs
|
|
1014
|
-
item_attributes?: boolean | AttributeCountOutputTypeCountItem_attributesArgs
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* AttributeCountOutputType without action
|
|
1019
|
-
*/
|
|
1020
|
-
export type AttributeCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1021
|
-
/**
|
|
1022
|
-
* Select specific fields to fetch from the AttributeCountOutputType
|
|
1023
|
-
*/
|
|
1024
|
-
select?: Prisma.AttributeCountOutputTypeSelect<ExtArgs> | null
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* AttributeCountOutputType without action
|
|
1029
|
-
*/
|
|
1030
|
-
export type AttributeCountOutputTypeCountAttribute_valuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1031
|
-
where?: Prisma.AttributeValueWhereInput
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* AttributeCountOutputType without action
|
|
1036
|
-
*/
|
|
1037
|
-
export type AttributeCountOutputTypeCountItem_attributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1038
|
-
where?: Prisma.ItemAttributeWhereInput
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
export type AttributeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1043
|
-
id?: boolean
|
|
1044
|
-
uuid?: boolean
|
|
1045
|
-
category_id?: boolean
|
|
1046
|
-
attribute_name?: boolean
|
|
1047
|
-
is_required?: boolean
|
|
1048
|
-
is_active?: boolean
|
|
1049
|
-
slug?: boolean
|
|
1050
|
-
created_at?: boolean
|
|
1051
|
-
created_by?: boolean
|
|
1052
|
-
updated_at?: boolean
|
|
1053
|
-
updated_by?: boolean
|
|
1054
|
-
is_deleted?: boolean
|
|
1055
|
-
deleted_at?: boolean
|
|
1056
|
-
deleted_by?: boolean
|
|
1057
|
-
category?: boolean | Prisma.Attribute$categoryArgs<ExtArgs>
|
|
1058
|
-
attribute_values?: boolean | Prisma.Attribute$attribute_valuesArgs<ExtArgs>
|
|
1059
|
-
item_attributes?: boolean | Prisma.Attribute$item_attributesArgs<ExtArgs>
|
|
1060
|
-
_count?: boolean | Prisma.AttributeCountOutputTypeDefaultArgs<ExtArgs>
|
|
1061
|
-
}, ExtArgs["result"]["attribute"]>
|
|
1062
|
-
|
|
1063
|
-
export type AttributeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1064
|
-
id?: boolean
|
|
1065
|
-
uuid?: boolean
|
|
1066
|
-
category_id?: boolean
|
|
1067
|
-
attribute_name?: boolean
|
|
1068
|
-
is_required?: boolean
|
|
1069
|
-
is_active?: boolean
|
|
1070
|
-
slug?: boolean
|
|
1071
|
-
created_at?: boolean
|
|
1072
|
-
created_by?: boolean
|
|
1073
|
-
updated_at?: boolean
|
|
1074
|
-
updated_by?: boolean
|
|
1075
|
-
is_deleted?: boolean
|
|
1076
|
-
deleted_at?: boolean
|
|
1077
|
-
deleted_by?: boolean
|
|
1078
|
-
category?: boolean | Prisma.Attribute$categoryArgs<ExtArgs>
|
|
1079
|
-
}, ExtArgs["result"]["attribute"]>
|
|
1080
|
-
|
|
1081
|
-
export type AttributeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1082
|
-
id?: boolean
|
|
1083
|
-
uuid?: boolean
|
|
1084
|
-
category_id?: boolean
|
|
1085
|
-
attribute_name?: boolean
|
|
1086
|
-
is_required?: boolean
|
|
1087
|
-
is_active?: boolean
|
|
1088
|
-
slug?: boolean
|
|
1089
|
-
created_at?: boolean
|
|
1090
|
-
created_by?: boolean
|
|
1091
|
-
updated_at?: boolean
|
|
1092
|
-
updated_by?: boolean
|
|
1093
|
-
is_deleted?: boolean
|
|
1094
|
-
deleted_at?: boolean
|
|
1095
|
-
deleted_by?: boolean
|
|
1096
|
-
category?: boolean | Prisma.Attribute$categoryArgs<ExtArgs>
|
|
1097
|
-
}, ExtArgs["result"]["attribute"]>
|
|
1098
|
-
|
|
1099
|
-
export type AttributeSelectScalar = {
|
|
1100
|
-
id?: boolean
|
|
1101
|
-
uuid?: boolean
|
|
1102
|
-
category_id?: boolean
|
|
1103
|
-
attribute_name?: boolean
|
|
1104
|
-
is_required?: boolean
|
|
1105
|
-
is_active?: boolean
|
|
1106
|
-
slug?: boolean
|
|
1107
|
-
created_at?: boolean
|
|
1108
|
-
created_by?: boolean
|
|
1109
|
-
updated_at?: boolean
|
|
1110
|
-
updated_by?: boolean
|
|
1111
|
-
is_deleted?: boolean
|
|
1112
|
-
deleted_at?: boolean
|
|
1113
|
-
deleted_by?: boolean
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
export type AttributeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "category_id" | "attribute_name" | "is_required" | "is_active" | "slug" | "created_at" | "created_by" | "updated_at" | "updated_by" | "is_deleted" | "deleted_at" | "deleted_by", ExtArgs["result"]["attribute"]>
|
|
1117
|
-
export type AttributeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1118
|
-
category?: boolean | Prisma.Attribute$categoryArgs<ExtArgs>
|
|
1119
|
-
attribute_values?: boolean | Prisma.Attribute$attribute_valuesArgs<ExtArgs>
|
|
1120
|
-
item_attributes?: boolean | Prisma.Attribute$item_attributesArgs<ExtArgs>
|
|
1121
|
-
_count?: boolean | Prisma.AttributeCountOutputTypeDefaultArgs<ExtArgs>
|
|
1122
|
-
}
|
|
1123
|
-
export type AttributeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1124
|
-
category?: boolean | Prisma.Attribute$categoryArgs<ExtArgs>
|
|
1125
|
-
}
|
|
1126
|
-
export type AttributeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1127
|
-
category?: boolean | Prisma.Attribute$categoryArgs<ExtArgs>
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
export type $AttributePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1131
|
-
name: "Attribute"
|
|
1132
|
-
objects: {
|
|
1133
|
-
category: Prisma.$CategoryPayload<ExtArgs> | null
|
|
1134
|
-
attribute_values: Prisma.$AttributeValuePayload<ExtArgs>[]
|
|
1135
|
-
item_attributes: Prisma.$ItemAttributePayload<ExtArgs>[]
|
|
1136
|
-
}
|
|
1137
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1138
|
-
id: number
|
|
1139
|
-
uuid: string | null
|
|
1140
|
-
category_id: number | null
|
|
1141
|
-
attribute_name: string | null
|
|
1142
|
-
is_required: boolean | null
|
|
1143
|
-
is_active: boolean | null
|
|
1144
|
-
slug: string | null
|
|
1145
|
-
created_at: Date | null
|
|
1146
|
-
created_by: number | null
|
|
1147
|
-
updated_at: Date | null
|
|
1148
|
-
updated_by: number | null
|
|
1149
|
-
is_deleted: boolean | null
|
|
1150
|
-
deleted_at: Date | null
|
|
1151
|
-
deleted_by: number | null
|
|
1152
|
-
}, ExtArgs["result"]["attribute"]>
|
|
1153
|
-
composites: {}
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
export type AttributeGetPayload<S extends boolean | null | undefined | AttributeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AttributePayload, S>
|
|
1157
|
-
|
|
1158
|
-
export type AttributeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1159
|
-
Omit<AttributeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1160
|
-
select?: AttributeCountAggregateInputType | true
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
export interface AttributeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1164
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Attribute'], meta: { name: 'Attribute' } }
|
|
1165
|
-
/**
|
|
1166
|
-
* Find zero or one Attribute that matches the filter.
|
|
1167
|
-
* @param {AttributeFindUniqueArgs} args - Arguments to find a Attribute
|
|
1168
|
-
* @example
|
|
1169
|
-
* // Get one Attribute
|
|
1170
|
-
* const attribute = await prisma.attribute.findUnique({
|
|
1171
|
-
* where: {
|
|
1172
|
-
* // ... provide filter here
|
|
1173
|
-
* }
|
|
1174
|
-
* })
|
|
1175
|
-
*/
|
|
1176
|
-
findUnique<T extends AttributeFindUniqueArgs>(args: Prisma.SelectSubset<T, AttributeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* Find one Attribute that matches the filter or throw an error with `error.code='P2025'`
|
|
1180
|
-
* if no matches were found.
|
|
1181
|
-
* @param {AttributeFindUniqueOrThrowArgs} args - Arguments to find a Attribute
|
|
1182
|
-
* @example
|
|
1183
|
-
* // Get one Attribute
|
|
1184
|
-
* const attribute = await prisma.attribute.findUniqueOrThrow({
|
|
1185
|
-
* where: {
|
|
1186
|
-
* // ... provide filter here
|
|
1187
|
-
* }
|
|
1188
|
-
* })
|
|
1189
|
-
*/
|
|
1190
|
-
findUniqueOrThrow<T extends AttributeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AttributeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1191
|
-
|
|
1192
|
-
/**
|
|
1193
|
-
* Find the first Attribute that matches the filter.
|
|
1194
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1195
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1196
|
-
* @param {AttributeFindFirstArgs} args - Arguments to find a Attribute
|
|
1197
|
-
* @example
|
|
1198
|
-
* // Get one Attribute
|
|
1199
|
-
* const attribute = await prisma.attribute.findFirst({
|
|
1200
|
-
* where: {
|
|
1201
|
-
* // ... provide filter here
|
|
1202
|
-
* }
|
|
1203
|
-
* })
|
|
1204
|
-
*/
|
|
1205
|
-
findFirst<T extends AttributeFindFirstArgs>(args?: Prisma.SelectSubset<T, AttributeFindFirstArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* Find the first Attribute that matches the filter or
|
|
1209
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1210
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1211
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1212
|
-
* @param {AttributeFindFirstOrThrowArgs} args - Arguments to find a Attribute
|
|
1213
|
-
* @example
|
|
1214
|
-
* // Get one Attribute
|
|
1215
|
-
* const attribute = await prisma.attribute.findFirstOrThrow({
|
|
1216
|
-
* where: {
|
|
1217
|
-
* // ... provide filter here
|
|
1218
|
-
* }
|
|
1219
|
-
* })
|
|
1220
|
-
*/
|
|
1221
|
-
findFirstOrThrow<T extends AttributeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AttributeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1222
|
-
|
|
1223
|
-
/**
|
|
1224
|
-
* Find zero or more Attributes that matches the filter.
|
|
1225
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1226
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1227
|
-
* @param {AttributeFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1228
|
-
* @example
|
|
1229
|
-
* // Get all Attributes
|
|
1230
|
-
* const attributes = await prisma.attribute.findMany()
|
|
1231
|
-
*
|
|
1232
|
-
* // Get first 10 Attributes
|
|
1233
|
-
* const attributes = await prisma.attribute.findMany({ take: 10 })
|
|
1234
|
-
*
|
|
1235
|
-
* // Only select the `id`
|
|
1236
|
-
* const attributeWithIdOnly = await prisma.attribute.findMany({ select: { id: true } })
|
|
1237
|
-
*
|
|
1238
|
-
*/
|
|
1239
|
-
findMany<T extends AttributeFindManyArgs>(args?: Prisma.SelectSubset<T, AttributeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1240
|
-
|
|
1241
|
-
/**
|
|
1242
|
-
* Create a Attribute.
|
|
1243
|
-
* @param {AttributeCreateArgs} args - Arguments to create a Attribute.
|
|
1244
|
-
* @example
|
|
1245
|
-
* // Create one Attribute
|
|
1246
|
-
* const Attribute = await prisma.attribute.create({
|
|
1247
|
-
* data: {
|
|
1248
|
-
* // ... data to create a Attribute
|
|
1249
|
-
* }
|
|
1250
|
-
* })
|
|
1251
|
-
*
|
|
1252
|
-
*/
|
|
1253
|
-
create<T extends AttributeCreateArgs>(args: Prisma.SelectSubset<T, AttributeCreateArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* Create many Attributes.
|
|
1257
|
-
* @param {AttributeCreateManyArgs} args - Arguments to create many Attributes.
|
|
1258
|
-
* @example
|
|
1259
|
-
* // Create many Attributes
|
|
1260
|
-
* const attribute = await prisma.attribute.createMany({
|
|
1261
|
-
* data: [
|
|
1262
|
-
* // ... provide data here
|
|
1263
|
-
* ]
|
|
1264
|
-
* })
|
|
1265
|
-
*
|
|
1266
|
-
*/
|
|
1267
|
-
createMany<T extends AttributeCreateManyArgs>(args?: Prisma.SelectSubset<T, AttributeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
* Create many Attributes and returns the data saved in the database.
|
|
1271
|
-
* @param {AttributeCreateManyAndReturnArgs} args - Arguments to create many Attributes.
|
|
1272
|
-
* @example
|
|
1273
|
-
* // Create many Attributes
|
|
1274
|
-
* const attribute = await prisma.attribute.createManyAndReturn({
|
|
1275
|
-
* data: [
|
|
1276
|
-
* // ... provide data here
|
|
1277
|
-
* ]
|
|
1278
|
-
* })
|
|
1279
|
-
*
|
|
1280
|
-
* // Create many Attributes and only return the `id`
|
|
1281
|
-
* const attributeWithIdOnly = await prisma.attribute.createManyAndReturn({
|
|
1282
|
-
* select: { id: true },
|
|
1283
|
-
* data: [
|
|
1284
|
-
* // ... provide data here
|
|
1285
|
-
* ]
|
|
1286
|
-
* })
|
|
1287
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1288
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1289
|
-
*
|
|
1290
|
-
*/
|
|
1291
|
-
createManyAndReturn<T extends AttributeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AttributeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1292
|
-
|
|
1293
|
-
/**
|
|
1294
|
-
* Delete a Attribute.
|
|
1295
|
-
* @param {AttributeDeleteArgs} args - Arguments to delete one Attribute.
|
|
1296
|
-
* @example
|
|
1297
|
-
* // Delete one Attribute
|
|
1298
|
-
* const Attribute = await prisma.attribute.delete({
|
|
1299
|
-
* where: {
|
|
1300
|
-
* // ... filter to delete one Attribute
|
|
1301
|
-
* }
|
|
1302
|
-
* })
|
|
1303
|
-
*
|
|
1304
|
-
*/
|
|
1305
|
-
delete<T extends AttributeDeleteArgs>(args: Prisma.SelectSubset<T, AttributeDeleteArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1306
|
-
|
|
1307
|
-
/**
|
|
1308
|
-
* Update one Attribute.
|
|
1309
|
-
* @param {AttributeUpdateArgs} args - Arguments to update one Attribute.
|
|
1310
|
-
* @example
|
|
1311
|
-
* // Update one Attribute
|
|
1312
|
-
* const attribute = await prisma.attribute.update({
|
|
1313
|
-
* where: {
|
|
1314
|
-
* // ... provide filter here
|
|
1315
|
-
* },
|
|
1316
|
-
* data: {
|
|
1317
|
-
* // ... provide data here
|
|
1318
|
-
* }
|
|
1319
|
-
* })
|
|
1320
|
-
*
|
|
1321
|
-
*/
|
|
1322
|
-
update<T extends AttributeUpdateArgs>(args: Prisma.SelectSubset<T, AttributeUpdateArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1323
|
-
|
|
1324
|
-
/**
|
|
1325
|
-
* Delete zero or more Attributes.
|
|
1326
|
-
* @param {AttributeDeleteManyArgs} args - Arguments to filter Attributes to delete.
|
|
1327
|
-
* @example
|
|
1328
|
-
* // Delete a few Attributes
|
|
1329
|
-
* const { count } = await prisma.attribute.deleteMany({
|
|
1330
|
-
* where: {
|
|
1331
|
-
* // ... provide filter here
|
|
1332
|
-
* }
|
|
1333
|
-
* })
|
|
1334
|
-
*
|
|
1335
|
-
*/
|
|
1336
|
-
deleteMany<T extends AttributeDeleteManyArgs>(args?: Prisma.SelectSubset<T, AttributeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
* Update zero or more Attributes.
|
|
1340
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1341
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1342
|
-
* @param {AttributeUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1343
|
-
* @example
|
|
1344
|
-
* // Update many Attributes
|
|
1345
|
-
* const attribute = await prisma.attribute.updateMany({
|
|
1346
|
-
* where: {
|
|
1347
|
-
* // ... provide filter here
|
|
1348
|
-
* },
|
|
1349
|
-
* data: {
|
|
1350
|
-
* // ... provide data here
|
|
1351
|
-
* }
|
|
1352
|
-
* })
|
|
1353
|
-
*
|
|
1354
|
-
*/
|
|
1355
|
-
updateMany<T extends AttributeUpdateManyArgs>(args: Prisma.SelectSubset<T, AttributeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* Update zero or more Attributes and returns the data updated in the database.
|
|
1359
|
-
* @param {AttributeUpdateManyAndReturnArgs} args - Arguments to update many Attributes.
|
|
1360
|
-
* @example
|
|
1361
|
-
* // Update many Attributes
|
|
1362
|
-
* const attribute = await prisma.attribute.updateManyAndReturn({
|
|
1363
|
-
* where: {
|
|
1364
|
-
* // ... provide filter here
|
|
1365
|
-
* },
|
|
1366
|
-
* data: [
|
|
1367
|
-
* // ... provide data here
|
|
1368
|
-
* ]
|
|
1369
|
-
* })
|
|
1370
|
-
*
|
|
1371
|
-
* // Update zero or more Attributes and only return the `id`
|
|
1372
|
-
* const attributeWithIdOnly = await prisma.attribute.updateManyAndReturn({
|
|
1373
|
-
* select: { id: true },
|
|
1374
|
-
* where: {
|
|
1375
|
-
* // ... provide filter here
|
|
1376
|
-
* },
|
|
1377
|
-
* data: [
|
|
1378
|
-
* // ... provide data here
|
|
1379
|
-
* ]
|
|
1380
|
-
* })
|
|
1381
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1382
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1383
|
-
*
|
|
1384
|
-
*/
|
|
1385
|
-
updateManyAndReturn<T extends AttributeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AttributeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1386
|
-
|
|
1387
|
-
/**
|
|
1388
|
-
* Create or update one Attribute.
|
|
1389
|
-
* @param {AttributeUpsertArgs} args - Arguments to update or create a Attribute.
|
|
1390
|
-
* @example
|
|
1391
|
-
* // Update or create a Attribute
|
|
1392
|
-
* const attribute = await prisma.attribute.upsert({
|
|
1393
|
-
* create: {
|
|
1394
|
-
* // ... data to create a Attribute
|
|
1395
|
-
* },
|
|
1396
|
-
* update: {
|
|
1397
|
-
* // ... in case it already exists, update
|
|
1398
|
-
* },
|
|
1399
|
-
* where: {
|
|
1400
|
-
* // ... the filter for the Attribute we want to update
|
|
1401
|
-
* }
|
|
1402
|
-
* })
|
|
1403
|
-
*/
|
|
1404
|
-
upsert<T extends AttributeUpsertArgs>(args: Prisma.SelectSubset<T, AttributeUpsertArgs<ExtArgs>>): Prisma.Prisma__AttributeClient<runtime.Types.Result.GetResult<Prisma.$AttributePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* Count the number of Attributes.
|
|
1409
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1410
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1411
|
-
* @param {AttributeCountArgs} args - Arguments to filter Attributes to count.
|
|
1412
|
-
* @example
|
|
1413
|
-
* // Count the number of Attributes
|
|
1414
|
-
* const count = await prisma.attribute.count({
|
|
1415
|
-
* where: {
|
|
1416
|
-
* // ... the filter for the Attributes we want to count
|
|
1417
|
-
* }
|
|
1418
|
-
* })
|
|
1419
|
-
**/
|
|
1420
|
-
count<T extends AttributeCountArgs>(
|
|
1421
|
-
args?: Prisma.Subset<T, AttributeCountArgs>,
|
|
1422
|
-
): Prisma.PrismaPromise<
|
|
1423
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
1424
|
-
? T['select'] extends true
|
|
1425
|
-
? number
|
|
1426
|
-
: Prisma.GetScalarType<T['select'], AttributeCountAggregateOutputType>
|
|
1427
|
-
: number
|
|
1428
|
-
>
|
|
1429
|
-
|
|
1430
|
-
/**
|
|
1431
|
-
* Allows you to perform aggregations operations on a Attribute.
|
|
1432
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1433
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1434
|
-
* @param {AttributeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1435
|
-
* @example
|
|
1436
|
-
* // Ordered by age ascending
|
|
1437
|
-
* // Where email contains prisma.io
|
|
1438
|
-
* // Limited to the 10 users
|
|
1439
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1440
|
-
* _avg: {
|
|
1441
|
-
* age: true,
|
|
1442
|
-
* },
|
|
1443
|
-
* where: {
|
|
1444
|
-
* email: {
|
|
1445
|
-
* contains: "prisma.io",
|
|
1446
|
-
* },
|
|
1447
|
-
* },
|
|
1448
|
-
* orderBy: {
|
|
1449
|
-
* age: "asc",
|
|
1450
|
-
* },
|
|
1451
|
-
* take: 10,
|
|
1452
|
-
* })
|
|
1453
|
-
**/
|
|
1454
|
-
aggregate<T extends AttributeAggregateArgs>(args: Prisma.Subset<T, AttributeAggregateArgs>): Prisma.PrismaPromise<GetAttributeAggregateType<T>>
|
|
1455
|
-
|
|
1456
|
-
/**
|
|
1457
|
-
* Group by Attribute.
|
|
1458
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1459
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1460
|
-
* @param {AttributeGroupByArgs} args - Group by arguments.
|
|
1461
|
-
* @example
|
|
1462
|
-
* // Group by city, order by createdAt, get count
|
|
1463
|
-
* const result = await prisma.user.groupBy({
|
|
1464
|
-
* by: ['city', 'createdAt'],
|
|
1465
|
-
* orderBy: {
|
|
1466
|
-
* createdAt: true
|
|
1467
|
-
* },
|
|
1468
|
-
* _count: {
|
|
1469
|
-
* _all: true
|
|
1470
|
-
* },
|
|
1471
|
-
* })
|
|
1472
|
-
*
|
|
1473
|
-
**/
|
|
1474
|
-
groupBy<
|
|
1475
|
-
T extends AttributeGroupByArgs,
|
|
1476
|
-
HasSelectOrTake extends Prisma.Or<
|
|
1477
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1478
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1479
|
-
>,
|
|
1480
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1481
|
-
? { orderBy: AttributeGroupByArgs['orderBy'] }
|
|
1482
|
-
: { orderBy?: AttributeGroupByArgs['orderBy'] },
|
|
1483
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1484
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1485
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1486
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1487
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1488
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1489
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
1490
|
-
? `Error: "by" must not be empty.`
|
|
1491
|
-
: HavingValid extends Prisma.False
|
|
1492
|
-
? {
|
|
1493
|
-
[P in HavingFields]: P extends ByFields
|
|
1494
|
-
? never
|
|
1495
|
-
: P extends string
|
|
1496
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1497
|
-
: [
|
|
1498
|
-
Error,
|
|
1499
|
-
'Field ',
|
|
1500
|
-
P,
|
|
1501
|
-
` in "having" needs to be provided in "by"`,
|
|
1502
|
-
]
|
|
1503
|
-
}[HavingFields]
|
|
1504
|
-
: 'take' extends Prisma.Keys<T>
|
|
1505
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1506
|
-
? ByValid extends Prisma.True
|
|
1507
|
-
? {}
|
|
1508
|
-
: {
|
|
1509
|
-
[P in OrderFields]: P extends ByFields
|
|
1510
|
-
? never
|
|
1511
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1512
|
-
}[OrderFields]
|
|
1513
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1514
|
-
: 'skip' extends Prisma.Keys<T>
|
|
1515
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
1516
|
-
? ByValid extends Prisma.True
|
|
1517
|
-
? {}
|
|
1518
|
-
: {
|
|
1519
|
-
[P in OrderFields]: P extends ByFields
|
|
1520
|
-
? never
|
|
1521
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1522
|
-
}[OrderFields]
|
|
1523
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1524
|
-
: ByValid extends Prisma.True
|
|
1525
|
-
? {}
|
|
1526
|
-
: {
|
|
1527
|
-
[P in OrderFields]: P extends ByFields
|
|
1528
|
-
? never
|
|
1529
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1530
|
-
}[OrderFields]
|
|
1531
|
-
>(args: Prisma.SubsetIntersection<T, AttributeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAttributeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1532
|
-
/**
|
|
1533
|
-
* Fields of the Attribute model
|
|
1534
|
-
*/
|
|
1535
|
-
readonly fields: AttributeFieldRefs;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* The delegate class that acts as a "Promise-like" for Attribute.
|
|
1540
|
-
* Why is this prefixed with `Prisma__`?
|
|
1541
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1542
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1543
|
-
*/
|
|
1544
|
-
export interface Prisma__AttributeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1545
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1546
|
-
category<T extends Prisma.Attribute$categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Attribute$categoryArgs<ExtArgs>>): Prisma.Prisma__CategoryClient<runtime.Types.Result.GetResult<Prisma.$CategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1547
|
-
attribute_values<T extends Prisma.Attribute$attribute_valuesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Attribute$attribute_valuesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1548
|
-
item_attributes<T extends Prisma.Attribute$item_attributesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Attribute$item_attributesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ItemAttributePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1549
|
-
/**
|
|
1550
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1551
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1552
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1553
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1554
|
-
*/
|
|
1555
|
-
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>
|
|
1556
|
-
/**
|
|
1557
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1558
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1559
|
-
* @returns A Promise for the completion of the callback.
|
|
1560
|
-
*/
|
|
1561
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1562
|
-
/**
|
|
1563
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1564
|
-
* resolved value cannot be modified from the callback.
|
|
1565
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1566
|
-
* @returns A Promise for the completion of the callback.
|
|
1567
|
-
*/
|
|
1568
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
/**
|
|
1575
|
-
* Fields of the Attribute model
|
|
1576
|
-
*/
|
|
1577
|
-
export interface AttributeFieldRefs {
|
|
1578
|
-
readonly id: Prisma.FieldRef<"Attribute", 'Int'>
|
|
1579
|
-
readonly uuid: Prisma.FieldRef<"Attribute", 'String'>
|
|
1580
|
-
readonly category_id: Prisma.FieldRef<"Attribute", 'Int'>
|
|
1581
|
-
readonly attribute_name: Prisma.FieldRef<"Attribute", 'String'>
|
|
1582
|
-
readonly is_required: Prisma.FieldRef<"Attribute", 'Boolean'>
|
|
1583
|
-
readonly is_active: Prisma.FieldRef<"Attribute", 'Boolean'>
|
|
1584
|
-
readonly slug: Prisma.FieldRef<"Attribute", 'String'>
|
|
1585
|
-
readonly created_at: Prisma.FieldRef<"Attribute", 'DateTime'>
|
|
1586
|
-
readonly created_by: Prisma.FieldRef<"Attribute", 'Int'>
|
|
1587
|
-
readonly updated_at: Prisma.FieldRef<"Attribute", 'DateTime'>
|
|
1588
|
-
readonly updated_by: Prisma.FieldRef<"Attribute", 'Int'>
|
|
1589
|
-
readonly is_deleted: Prisma.FieldRef<"Attribute", 'Boolean'>
|
|
1590
|
-
readonly deleted_at: Prisma.FieldRef<"Attribute", 'DateTime'>
|
|
1591
|
-
readonly deleted_by: Prisma.FieldRef<"Attribute", 'Int'>
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
// Custom InputTypes
|
|
1596
|
-
/**
|
|
1597
|
-
* Attribute findUnique
|
|
1598
|
-
*/
|
|
1599
|
-
export type AttributeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1600
|
-
/**
|
|
1601
|
-
* Select specific fields to fetch from the Attribute
|
|
1602
|
-
*/
|
|
1603
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1604
|
-
/**
|
|
1605
|
-
* Omit specific fields from the Attribute
|
|
1606
|
-
*/
|
|
1607
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1608
|
-
/**
|
|
1609
|
-
* Choose, which related nodes to fetch as well
|
|
1610
|
-
*/
|
|
1611
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1612
|
-
/**
|
|
1613
|
-
* Filter, which Attribute to fetch.
|
|
1614
|
-
*/
|
|
1615
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* Attribute findUniqueOrThrow
|
|
1620
|
-
*/
|
|
1621
|
-
export type AttributeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1622
|
-
/**
|
|
1623
|
-
* Select specific fields to fetch from the Attribute
|
|
1624
|
-
*/
|
|
1625
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1626
|
-
/**
|
|
1627
|
-
* Omit specific fields from the Attribute
|
|
1628
|
-
*/
|
|
1629
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1630
|
-
/**
|
|
1631
|
-
* Choose, which related nodes to fetch as well
|
|
1632
|
-
*/
|
|
1633
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1634
|
-
/**
|
|
1635
|
-
* Filter, which Attribute to fetch.
|
|
1636
|
-
*/
|
|
1637
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* Attribute findFirst
|
|
1642
|
-
*/
|
|
1643
|
-
export type AttributeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1644
|
-
/**
|
|
1645
|
-
* Select specific fields to fetch from the Attribute
|
|
1646
|
-
*/
|
|
1647
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1648
|
-
/**
|
|
1649
|
-
* Omit specific fields from the Attribute
|
|
1650
|
-
*/
|
|
1651
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1652
|
-
/**
|
|
1653
|
-
* Choose, which related nodes to fetch as well
|
|
1654
|
-
*/
|
|
1655
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1656
|
-
/**
|
|
1657
|
-
* Filter, which Attribute to fetch.
|
|
1658
|
-
*/
|
|
1659
|
-
where?: Prisma.AttributeWhereInput
|
|
1660
|
-
/**
|
|
1661
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1662
|
-
*
|
|
1663
|
-
* Determine the order of Attributes to fetch.
|
|
1664
|
-
*/
|
|
1665
|
-
orderBy?: Prisma.AttributeOrderByWithRelationInput | Prisma.AttributeOrderByWithRelationInput[]
|
|
1666
|
-
/**
|
|
1667
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1668
|
-
*
|
|
1669
|
-
* Sets the position for searching for Attributes.
|
|
1670
|
-
*/
|
|
1671
|
-
cursor?: Prisma.AttributeWhereUniqueInput
|
|
1672
|
-
/**
|
|
1673
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1674
|
-
*
|
|
1675
|
-
* Take `±n` Attributes from the position of the cursor.
|
|
1676
|
-
*/
|
|
1677
|
-
take?: number
|
|
1678
|
-
/**
|
|
1679
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1680
|
-
*
|
|
1681
|
-
* Skip the first `n` Attributes.
|
|
1682
|
-
*/
|
|
1683
|
-
skip?: number
|
|
1684
|
-
/**
|
|
1685
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1686
|
-
*
|
|
1687
|
-
* Filter by unique combinations of Attributes.
|
|
1688
|
-
*/
|
|
1689
|
-
distinct?: Prisma.AttributeScalarFieldEnum | Prisma.AttributeScalarFieldEnum[]
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
/**
|
|
1693
|
-
* Attribute findFirstOrThrow
|
|
1694
|
-
*/
|
|
1695
|
-
export type AttributeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1696
|
-
/**
|
|
1697
|
-
* Select specific fields to fetch from the Attribute
|
|
1698
|
-
*/
|
|
1699
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1700
|
-
/**
|
|
1701
|
-
* Omit specific fields from the Attribute
|
|
1702
|
-
*/
|
|
1703
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1704
|
-
/**
|
|
1705
|
-
* Choose, which related nodes to fetch as well
|
|
1706
|
-
*/
|
|
1707
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1708
|
-
/**
|
|
1709
|
-
* Filter, which Attribute to fetch.
|
|
1710
|
-
*/
|
|
1711
|
-
where?: Prisma.AttributeWhereInput
|
|
1712
|
-
/**
|
|
1713
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1714
|
-
*
|
|
1715
|
-
* Determine the order of Attributes to fetch.
|
|
1716
|
-
*/
|
|
1717
|
-
orderBy?: Prisma.AttributeOrderByWithRelationInput | Prisma.AttributeOrderByWithRelationInput[]
|
|
1718
|
-
/**
|
|
1719
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1720
|
-
*
|
|
1721
|
-
* Sets the position for searching for Attributes.
|
|
1722
|
-
*/
|
|
1723
|
-
cursor?: Prisma.AttributeWhereUniqueInput
|
|
1724
|
-
/**
|
|
1725
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1726
|
-
*
|
|
1727
|
-
* Take `±n` Attributes from the position of the cursor.
|
|
1728
|
-
*/
|
|
1729
|
-
take?: number
|
|
1730
|
-
/**
|
|
1731
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1732
|
-
*
|
|
1733
|
-
* Skip the first `n` Attributes.
|
|
1734
|
-
*/
|
|
1735
|
-
skip?: number
|
|
1736
|
-
/**
|
|
1737
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1738
|
-
*
|
|
1739
|
-
* Filter by unique combinations of Attributes.
|
|
1740
|
-
*/
|
|
1741
|
-
distinct?: Prisma.AttributeScalarFieldEnum | Prisma.AttributeScalarFieldEnum[]
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
/**
|
|
1745
|
-
* Attribute findMany
|
|
1746
|
-
*/
|
|
1747
|
-
export type AttributeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
-
/**
|
|
1749
|
-
* Select specific fields to fetch from the Attribute
|
|
1750
|
-
*/
|
|
1751
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1752
|
-
/**
|
|
1753
|
-
* Omit specific fields from the Attribute
|
|
1754
|
-
*/
|
|
1755
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1756
|
-
/**
|
|
1757
|
-
* Choose, which related nodes to fetch as well
|
|
1758
|
-
*/
|
|
1759
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1760
|
-
/**
|
|
1761
|
-
* Filter, which Attributes to fetch.
|
|
1762
|
-
*/
|
|
1763
|
-
where?: Prisma.AttributeWhereInput
|
|
1764
|
-
/**
|
|
1765
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1766
|
-
*
|
|
1767
|
-
* Determine the order of Attributes to fetch.
|
|
1768
|
-
*/
|
|
1769
|
-
orderBy?: Prisma.AttributeOrderByWithRelationInput | Prisma.AttributeOrderByWithRelationInput[]
|
|
1770
|
-
/**
|
|
1771
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1772
|
-
*
|
|
1773
|
-
* Sets the position for listing Attributes.
|
|
1774
|
-
*/
|
|
1775
|
-
cursor?: Prisma.AttributeWhereUniqueInput
|
|
1776
|
-
/**
|
|
1777
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1778
|
-
*
|
|
1779
|
-
* Take `±n` Attributes from the position of the cursor.
|
|
1780
|
-
*/
|
|
1781
|
-
take?: number
|
|
1782
|
-
/**
|
|
1783
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1784
|
-
*
|
|
1785
|
-
* Skip the first `n` Attributes.
|
|
1786
|
-
*/
|
|
1787
|
-
skip?: number
|
|
1788
|
-
/**
|
|
1789
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1790
|
-
*
|
|
1791
|
-
* Filter by unique combinations of Attributes.
|
|
1792
|
-
*/
|
|
1793
|
-
distinct?: Prisma.AttributeScalarFieldEnum | Prisma.AttributeScalarFieldEnum[]
|
|
1794
|
-
}
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* Attribute create
|
|
1798
|
-
*/
|
|
1799
|
-
export type AttributeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1800
|
-
/**
|
|
1801
|
-
* Select specific fields to fetch from the Attribute
|
|
1802
|
-
*/
|
|
1803
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1804
|
-
/**
|
|
1805
|
-
* Omit specific fields from the Attribute
|
|
1806
|
-
*/
|
|
1807
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1808
|
-
/**
|
|
1809
|
-
* Choose, which related nodes to fetch as well
|
|
1810
|
-
*/
|
|
1811
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1812
|
-
/**
|
|
1813
|
-
* The data needed to create a Attribute.
|
|
1814
|
-
*/
|
|
1815
|
-
data?: Prisma.XOR<Prisma.AttributeCreateInput, Prisma.AttributeUncheckedCreateInput>
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
/**
|
|
1819
|
-
* Attribute createMany
|
|
1820
|
-
*/
|
|
1821
|
-
export type AttributeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1822
|
-
/**
|
|
1823
|
-
* The data used to create many Attributes.
|
|
1824
|
-
*/
|
|
1825
|
-
data: Prisma.AttributeCreateManyInput | Prisma.AttributeCreateManyInput[]
|
|
1826
|
-
skipDuplicates?: boolean
|
|
1827
|
-
}
|
|
1828
|
-
|
|
1829
|
-
/**
|
|
1830
|
-
* Attribute createManyAndReturn
|
|
1831
|
-
*/
|
|
1832
|
-
export type AttributeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1833
|
-
/**
|
|
1834
|
-
* Select specific fields to fetch from the Attribute
|
|
1835
|
-
*/
|
|
1836
|
-
select?: Prisma.AttributeSelectCreateManyAndReturn<ExtArgs> | null
|
|
1837
|
-
/**
|
|
1838
|
-
* Omit specific fields from the Attribute
|
|
1839
|
-
*/
|
|
1840
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1841
|
-
/**
|
|
1842
|
-
* The data used to create many Attributes.
|
|
1843
|
-
*/
|
|
1844
|
-
data: Prisma.AttributeCreateManyInput | Prisma.AttributeCreateManyInput[]
|
|
1845
|
-
skipDuplicates?: boolean
|
|
1846
|
-
/**
|
|
1847
|
-
* Choose, which related nodes to fetch as well
|
|
1848
|
-
*/
|
|
1849
|
-
include?: Prisma.AttributeIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
/**
|
|
1853
|
-
* Attribute update
|
|
1854
|
-
*/
|
|
1855
|
-
export type AttributeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1856
|
-
/**
|
|
1857
|
-
* Select specific fields to fetch from the Attribute
|
|
1858
|
-
*/
|
|
1859
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1860
|
-
/**
|
|
1861
|
-
* Omit specific fields from the Attribute
|
|
1862
|
-
*/
|
|
1863
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1864
|
-
/**
|
|
1865
|
-
* Choose, which related nodes to fetch as well
|
|
1866
|
-
*/
|
|
1867
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1868
|
-
/**
|
|
1869
|
-
* The data needed to update a Attribute.
|
|
1870
|
-
*/
|
|
1871
|
-
data: Prisma.XOR<Prisma.AttributeUpdateInput, Prisma.AttributeUncheckedUpdateInput>
|
|
1872
|
-
/**
|
|
1873
|
-
* Choose, which Attribute to update.
|
|
1874
|
-
*/
|
|
1875
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
/**
|
|
1879
|
-
* Attribute updateMany
|
|
1880
|
-
*/
|
|
1881
|
-
export type AttributeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1882
|
-
/**
|
|
1883
|
-
* The data used to update Attributes.
|
|
1884
|
-
*/
|
|
1885
|
-
data: Prisma.XOR<Prisma.AttributeUpdateManyMutationInput, Prisma.AttributeUncheckedUpdateManyInput>
|
|
1886
|
-
/**
|
|
1887
|
-
* Filter which Attributes to update
|
|
1888
|
-
*/
|
|
1889
|
-
where?: Prisma.AttributeWhereInput
|
|
1890
|
-
/**
|
|
1891
|
-
* Limit how many Attributes to update.
|
|
1892
|
-
*/
|
|
1893
|
-
limit?: number
|
|
1894
|
-
}
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* Attribute updateManyAndReturn
|
|
1898
|
-
*/
|
|
1899
|
-
export type AttributeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1900
|
-
/**
|
|
1901
|
-
* Select specific fields to fetch from the Attribute
|
|
1902
|
-
*/
|
|
1903
|
-
select?: Prisma.AttributeSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1904
|
-
/**
|
|
1905
|
-
* Omit specific fields from the Attribute
|
|
1906
|
-
*/
|
|
1907
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1908
|
-
/**
|
|
1909
|
-
* The data used to update Attributes.
|
|
1910
|
-
*/
|
|
1911
|
-
data: Prisma.XOR<Prisma.AttributeUpdateManyMutationInput, Prisma.AttributeUncheckedUpdateManyInput>
|
|
1912
|
-
/**
|
|
1913
|
-
* Filter which Attributes to update
|
|
1914
|
-
*/
|
|
1915
|
-
where?: Prisma.AttributeWhereInput
|
|
1916
|
-
/**
|
|
1917
|
-
* Limit how many Attributes to update.
|
|
1918
|
-
*/
|
|
1919
|
-
limit?: number
|
|
1920
|
-
/**
|
|
1921
|
-
* Choose, which related nodes to fetch as well
|
|
1922
|
-
*/
|
|
1923
|
-
include?: Prisma.AttributeIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
/**
|
|
1927
|
-
* Attribute upsert
|
|
1928
|
-
*/
|
|
1929
|
-
export type AttributeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1930
|
-
/**
|
|
1931
|
-
* Select specific fields to fetch from the Attribute
|
|
1932
|
-
*/
|
|
1933
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1934
|
-
/**
|
|
1935
|
-
* Omit specific fields from the Attribute
|
|
1936
|
-
*/
|
|
1937
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1938
|
-
/**
|
|
1939
|
-
* Choose, which related nodes to fetch as well
|
|
1940
|
-
*/
|
|
1941
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1942
|
-
/**
|
|
1943
|
-
* The filter to search for the Attribute to update in case it exists.
|
|
1944
|
-
*/
|
|
1945
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
1946
|
-
/**
|
|
1947
|
-
* In case the Attribute found by the `where` argument doesn't exist, create a new Attribute with this data.
|
|
1948
|
-
*/
|
|
1949
|
-
create: Prisma.XOR<Prisma.AttributeCreateInput, Prisma.AttributeUncheckedCreateInput>
|
|
1950
|
-
/**
|
|
1951
|
-
* In case the Attribute was found with the provided `where` argument, update it with this data.
|
|
1952
|
-
*/
|
|
1953
|
-
update: Prisma.XOR<Prisma.AttributeUpdateInput, Prisma.AttributeUncheckedUpdateInput>
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
/**
|
|
1957
|
-
* Attribute delete
|
|
1958
|
-
*/
|
|
1959
|
-
export type AttributeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1960
|
-
/**
|
|
1961
|
-
* Select specific fields to fetch from the Attribute
|
|
1962
|
-
*/
|
|
1963
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
1964
|
-
/**
|
|
1965
|
-
* Omit specific fields from the Attribute
|
|
1966
|
-
*/
|
|
1967
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
1968
|
-
/**
|
|
1969
|
-
* Choose, which related nodes to fetch as well
|
|
1970
|
-
*/
|
|
1971
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
1972
|
-
/**
|
|
1973
|
-
* Filter which Attribute to delete.
|
|
1974
|
-
*/
|
|
1975
|
-
where: Prisma.AttributeWhereUniqueInput
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
/**
|
|
1979
|
-
* Attribute deleteMany
|
|
1980
|
-
*/
|
|
1981
|
-
export type AttributeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1982
|
-
/**
|
|
1983
|
-
* Filter which Attributes to delete
|
|
1984
|
-
*/
|
|
1985
|
-
where?: Prisma.AttributeWhereInput
|
|
1986
|
-
/**
|
|
1987
|
-
* Limit how many Attributes to delete.
|
|
1988
|
-
*/
|
|
1989
|
-
limit?: number
|
|
1990
|
-
}
|
|
1991
|
-
|
|
1992
|
-
/**
|
|
1993
|
-
* Attribute.category
|
|
1994
|
-
*/
|
|
1995
|
-
export type Attribute$categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1996
|
-
/**
|
|
1997
|
-
* Select specific fields to fetch from the Category
|
|
1998
|
-
*/
|
|
1999
|
-
select?: Prisma.CategorySelect<ExtArgs> | null
|
|
2000
|
-
/**
|
|
2001
|
-
* Omit specific fields from the Category
|
|
2002
|
-
*/
|
|
2003
|
-
omit?: Prisma.CategoryOmit<ExtArgs> | null
|
|
2004
|
-
/**
|
|
2005
|
-
* Choose, which related nodes to fetch as well
|
|
2006
|
-
*/
|
|
2007
|
-
include?: Prisma.CategoryInclude<ExtArgs> | null
|
|
2008
|
-
where?: Prisma.CategoryWhereInput
|
|
2009
|
-
}
|
|
2010
|
-
|
|
2011
|
-
/**
|
|
2012
|
-
* Attribute.attribute_values
|
|
2013
|
-
*/
|
|
2014
|
-
export type Attribute$attribute_valuesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2015
|
-
/**
|
|
2016
|
-
* Select specific fields to fetch from the AttributeValue
|
|
2017
|
-
*/
|
|
2018
|
-
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
2019
|
-
/**
|
|
2020
|
-
* Omit specific fields from the AttributeValue
|
|
2021
|
-
*/
|
|
2022
|
-
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
2023
|
-
/**
|
|
2024
|
-
* Choose, which related nodes to fetch as well
|
|
2025
|
-
*/
|
|
2026
|
-
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
2027
|
-
where?: Prisma.AttributeValueWhereInput
|
|
2028
|
-
orderBy?: Prisma.AttributeValueOrderByWithRelationInput | Prisma.AttributeValueOrderByWithRelationInput[]
|
|
2029
|
-
cursor?: Prisma.AttributeValueWhereUniqueInput
|
|
2030
|
-
take?: number
|
|
2031
|
-
skip?: number
|
|
2032
|
-
distinct?: Prisma.AttributeValueScalarFieldEnum | Prisma.AttributeValueScalarFieldEnum[]
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
/**
|
|
2036
|
-
* Attribute.item_attributes
|
|
2037
|
-
*/
|
|
2038
|
-
export type Attribute$item_attributesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2039
|
-
/**
|
|
2040
|
-
* Select specific fields to fetch from the ItemAttribute
|
|
2041
|
-
*/
|
|
2042
|
-
select?: Prisma.ItemAttributeSelect<ExtArgs> | null
|
|
2043
|
-
/**
|
|
2044
|
-
* Omit specific fields from the ItemAttribute
|
|
2045
|
-
*/
|
|
2046
|
-
omit?: Prisma.ItemAttributeOmit<ExtArgs> | null
|
|
2047
|
-
/**
|
|
2048
|
-
* Choose, which related nodes to fetch as well
|
|
2049
|
-
*/
|
|
2050
|
-
include?: Prisma.ItemAttributeInclude<ExtArgs> | null
|
|
2051
|
-
where?: Prisma.ItemAttributeWhereInput
|
|
2052
|
-
orderBy?: Prisma.ItemAttributeOrderByWithRelationInput | Prisma.ItemAttributeOrderByWithRelationInput[]
|
|
2053
|
-
cursor?: Prisma.ItemAttributeWhereUniqueInput
|
|
2054
|
-
take?: number
|
|
2055
|
-
skip?: number
|
|
2056
|
-
distinct?: Prisma.ItemAttributeScalarFieldEnum | Prisma.ItemAttributeScalarFieldEnum[]
|
|
2057
|
-
}
|
|
2058
|
-
|
|
2059
|
-
/**
|
|
2060
|
-
* Attribute without action
|
|
2061
|
-
*/
|
|
2062
|
-
export type AttributeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2063
|
-
/**
|
|
2064
|
-
* Select specific fields to fetch from the Attribute
|
|
2065
|
-
*/
|
|
2066
|
-
select?: Prisma.AttributeSelect<ExtArgs> | null
|
|
2067
|
-
/**
|
|
2068
|
-
* Omit specific fields from the Attribute
|
|
2069
|
-
*/
|
|
2070
|
-
omit?: Prisma.AttributeOmit<ExtArgs> | null
|
|
2071
|
-
/**
|
|
2072
|
-
* Choose, which related nodes to fetch as well
|
|
2073
|
-
*/
|
|
2074
|
-
include?: Prisma.AttributeInclude<ExtArgs> | null
|
|
2075
|
-
}
|