efiber-prisma-schema 1.16.1 → 2.0.0
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/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +13 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +2 -0
- package/prisma/schema.prisma +3 -3
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,1419 @@
|
|
|
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 `AttributeValue` 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.js"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model AttributeValue
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AttributeValueModel = runtime.Types.Result.DefaultSelection<Prisma.$AttributeValuePayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAttributeValue = {
|
|
22
|
+
_count: AttributeValueCountAggregateOutputType | null
|
|
23
|
+
_min: AttributeValueMinAggregateOutputType | null
|
|
24
|
+
_max: AttributeValueMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AttributeValueMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
attributeDefId: string | null
|
|
30
|
+
value: string | null
|
|
31
|
+
nodeId: string | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type AttributeValueMaxAggregateOutputType = {
|
|
35
|
+
id: string | null
|
|
36
|
+
attributeDefId: string | null
|
|
37
|
+
value: string | null
|
|
38
|
+
nodeId: string | null
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type AttributeValueCountAggregateOutputType = {
|
|
42
|
+
id: number
|
|
43
|
+
attributeDefId: number
|
|
44
|
+
value: number
|
|
45
|
+
nodeId: number
|
|
46
|
+
_all: number
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
export type AttributeValueMinAggregateInputType = {
|
|
51
|
+
id?: true
|
|
52
|
+
attributeDefId?: true
|
|
53
|
+
value?: true
|
|
54
|
+
nodeId?: true
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type AttributeValueMaxAggregateInputType = {
|
|
58
|
+
id?: true
|
|
59
|
+
attributeDefId?: true
|
|
60
|
+
value?: true
|
|
61
|
+
nodeId?: true
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type AttributeValueCountAggregateInputType = {
|
|
65
|
+
id?: true
|
|
66
|
+
attributeDefId?: true
|
|
67
|
+
value?: true
|
|
68
|
+
nodeId?: true
|
|
69
|
+
_all?: true
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type AttributeValueAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
73
|
+
/**
|
|
74
|
+
* Filter which AttributeValue to aggregate.
|
|
75
|
+
*/
|
|
76
|
+
where?: Prisma.AttributeValueWhereInput
|
|
77
|
+
/**
|
|
78
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
79
|
+
*
|
|
80
|
+
* Determine the order of AttributeValues to fetch.
|
|
81
|
+
*/
|
|
82
|
+
orderBy?: Prisma.AttributeValueOrderByWithRelationInput | Prisma.AttributeValueOrderByWithRelationInput[]
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
85
|
+
*
|
|
86
|
+
* Sets the start position
|
|
87
|
+
*/
|
|
88
|
+
cursor?: Prisma.AttributeValueWhereUniqueInput
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
91
|
+
*
|
|
92
|
+
* Take `±n` AttributeValues from the position of the cursor.
|
|
93
|
+
*/
|
|
94
|
+
take?: number
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Skip the first `n` AttributeValues.
|
|
99
|
+
*/
|
|
100
|
+
skip?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
103
|
+
*
|
|
104
|
+
* Count returned AttributeValues
|
|
105
|
+
**/
|
|
106
|
+
_count?: true | AttributeValueCountAggregateInputType
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Select which fields to find the minimum value
|
|
111
|
+
**/
|
|
112
|
+
_min?: AttributeValueMinAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the maximum value
|
|
117
|
+
**/
|
|
118
|
+
_max?: AttributeValueMaxAggregateInputType
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type GetAttributeValueAggregateType<T extends AttributeValueAggregateArgs> = {
|
|
122
|
+
[P in keyof T & keyof AggregateAttributeValue]: P extends '_count' | 'count'
|
|
123
|
+
? T[P] extends true
|
|
124
|
+
? number
|
|
125
|
+
: Prisma.GetScalarType<T[P], AggregateAttributeValue[P]>
|
|
126
|
+
: Prisma.GetScalarType<T[P], AggregateAttributeValue[P]>
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
export type AttributeValueGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
133
|
+
where?: Prisma.AttributeValueWhereInput
|
|
134
|
+
orderBy?: Prisma.AttributeValueOrderByWithAggregationInput | Prisma.AttributeValueOrderByWithAggregationInput[]
|
|
135
|
+
by: Prisma.AttributeValueScalarFieldEnum[] | Prisma.AttributeValueScalarFieldEnum
|
|
136
|
+
having?: Prisma.AttributeValueScalarWhereWithAggregatesInput
|
|
137
|
+
take?: number
|
|
138
|
+
skip?: number
|
|
139
|
+
_count?: AttributeValueCountAggregateInputType | true
|
|
140
|
+
_min?: AttributeValueMinAggregateInputType
|
|
141
|
+
_max?: AttributeValueMaxAggregateInputType
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export type AttributeValueGroupByOutputType = {
|
|
145
|
+
id: string
|
|
146
|
+
attributeDefId: string
|
|
147
|
+
value: string
|
|
148
|
+
nodeId: string
|
|
149
|
+
_count: AttributeValueCountAggregateOutputType | null
|
|
150
|
+
_min: AttributeValueMinAggregateOutputType | null
|
|
151
|
+
_max: AttributeValueMaxAggregateOutputType | null
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
type GetAttributeValueGroupByPayload<T extends AttributeValueGroupByArgs> = Prisma.PrismaPromise<
|
|
155
|
+
Array<
|
|
156
|
+
Prisma.PickEnumerable<AttributeValueGroupByOutputType, T['by']> &
|
|
157
|
+
{
|
|
158
|
+
[P in ((keyof T) & (keyof AttributeValueGroupByOutputType))]: P extends '_count'
|
|
159
|
+
? T[P] extends boolean
|
|
160
|
+
? number
|
|
161
|
+
: Prisma.GetScalarType<T[P], AttributeValueGroupByOutputType[P]>
|
|
162
|
+
: Prisma.GetScalarType<T[P], AttributeValueGroupByOutputType[P]>
|
|
163
|
+
}
|
|
164
|
+
>
|
|
165
|
+
>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
export type AttributeValueWhereInput = {
|
|
170
|
+
AND?: Prisma.AttributeValueWhereInput | Prisma.AttributeValueWhereInput[]
|
|
171
|
+
OR?: Prisma.AttributeValueWhereInput[]
|
|
172
|
+
NOT?: Prisma.AttributeValueWhereInput | Prisma.AttributeValueWhereInput[]
|
|
173
|
+
id?: Prisma.StringFilter<"AttributeValue"> | string
|
|
174
|
+
attributeDefId?: Prisma.StringFilter<"AttributeValue"> | string
|
|
175
|
+
value?: Prisma.StringFilter<"AttributeValue"> | string
|
|
176
|
+
nodeId?: Prisma.StringFilter<"AttributeValue"> | string
|
|
177
|
+
attributeDef?: Prisma.XOR<Prisma.AttributeDefinitionScalarRelationFilter, Prisma.AttributeDefinitionWhereInput>
|
|
178
|
+
node?: Prisma.XOR<Prisma.ElementNodeScalarRelationFilter, Prisma.ElementNodeWhereInput>
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export type AttributeValueOrderByWithRelationInput = {
|
|
182
|
+
id?: Prisma.SortOrder
|
|
183
|
+
attributeDefId?: Prisma.SortOrder
|
|
184
|
+
value?: Prisma.SortOrder
|
|
185
|
+
nodeId?: Prisma.SortOrder
|
|
186
|
+
attributeDef?: Prisma.AttributeDefinitionOrderByWithRelationInput
|
|
187
|
+
node?: Prisma.ElementNodeOrderByWithRelationInput
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export type AttributeValueWhereUniqueInput = Prisma.AtLeast<{
|
|
191
|
+
id?: string
|
|
192
|
+
AND?: Prisma.AttributeValueWhereInput | Prisma.AttributeValueWhereInput[]
|
|
193
|
+
OR?: Prisma.AttributeValueWhereInput[]
|
|
194
|
+
NOT?: Prisma.AttributeValueWhereInput | Prisma.AttributeValueWhereInput[]
|
|
195
|
+
attributeDefId?: Prisma.StringFilter<"AttributeValue"> | string
|
|
196
|
+
value?: Prisma.StringFilter<"AttributeValue"> | string
|
|
197
|
+
nodeId?: Prisma.StringFilter<"AttributeValue"> | string
|
|
198
|
+
attributeDef?: Prisma.XOR<Prisma.AttributeDefinitionScalarRelationFilter, Prisma.AttributeDefinitionWhereInput>
|
|
199
|
+
node?: Prisma.XOR<Prisma.ElementNodeScalarRelationFilter, Prisma.ElementNodeWhereInput>
|
|
200
|
+
}, "id" | "id">
|
|
201
|
+
|
|
202
|
+
export type AttributeValueOrderByWithAggregationInput = {
|
|
203
|
+
id?: Prisma.SortOrder
|
|
204
|
+
attributeDefId?: Prisma.SortOrder
|
|
205
|
+
value?: Prisma.SortOrder
|
|
206
|
+
nodeId?: Prisma.SortOrder
|
|
207
|
+
_count?: Prisma.AttributeValueCountOrderByAggregateInput
|
|
208
|
+
_max?: Prisma.AttributeValueMaxOrderByAggregateInput
|
|
209
|
+
_min?: Prisma.AttributeValueMinOrderByAggregateInput
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export type AttributeValueScalarWhereWithAggregatesInput = {
|
|
213
|
+
AND?: Prisma.AttributeValueScalarWhereWithAggregatesInput | Prisma.AttributeValueScalarWhereWithAggregatesInput[]
|
|
214
|
+
OR?: Prisma.AttributeValueScalarWhereWithAggregatesInput[]
|
|
215
|
+
NOT?: Prisma.AttributeValueScalarWhereWithAggregatesInput | Prisma.AttributeValueScalarWhereWithAggregatesInput[]
|
|
216
|
+
id?: Prisma.StringWithAggregatesFilter<"AttributeValue"> | string
|
|
217
|
+
attributeDefId?: Prisma.StringWithAggregatesFilter<"AttributeValue"> | string
|
|
218
|
+
value?: Prisma.StringWithAggregatesFilter<"AttributeValue"> | string
|
|
219
|
+
nodeId?: Prisma.StringWithAggregatesFilter<"AttributeValue"> | string
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export type AttributeValueCreateInput = {
|
|
223
|
+
id?: string
|
|
224
|
+
value: string
|
|
225
|
+
attributeDef: Prisma.AttributeDefinitionCreateNestedOneWithoutAttributeValueInput
|
|
226
|
+
node: Prisma.ElementNodeCreateNestedOneWithoutAttributeValuesInput
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export type AttributeValueUncheckedCreateInput = {
|
|
230
|
+
id?: string
|
|
231
|
+
attributeDefId: string
|
|
232
|
+
value: string
|
|
233
|
+
nodeId: string
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export type AttributeValueUpdateInput = {
|
|
237
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
238
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
239
|
+
attributeDef?: Prisma.AttributeDefinitionUpdateOneRequiredWithoutAttributeValueNestedInput
|
|
240
|
+
node?: Prisma.ElementNodeUpdateOneRequiredWithoutAttributeValuesNestedInput
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type AttributeValueUncheckedUpdateInput = {
|
|
244
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
245
|
+
attributeDefId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
246
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
247
|
+
nodeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type AttributeValueCreateManyInput = {
|
|
251
|
+
id?: string
|
|
252
|
+
attributeDefId: string
|
|
253
|
+
value: string
|
|
254
|
+
nodeId: string
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type AttributeValueUpdateManyMutationInput = {
|
|
258
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
259
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type AttributeValueUncheckedUpdateManyInput = {
|
|
263
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
264
|
+
attributeDefId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
265
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
266
|
+
nodeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export type AttributeValueListRelationFilter = {
|
|
270
|
+
every?: Prisma.AttributeValueWhereInput
|
|
271
|
+
some?: Prisma.AttributeValueWhereInput
|
|
272
|
+
none?: Prisma.AttributeValueWhereInput
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type AttributeValueOrderByRelationAggregateInput = {
|
|
276
|
+
_count?: Prisma.SortOrder
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type AttributeValueCountOrderByAggregateInput = {
|
|
280
|
+
id?: Prisma.SortOrder
|
|
281
|
+
attributeDefId?: Prisma.SortOrder
|
|
282
|
+
value?: Prisma.SortOrder
|
|
283
|
+
nodeId?: Prisma.SortOrder
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type AttributeValueMaxOrderByAggregateInput = {
|
|
287
|
+
id?: Prisma.SortOrder
|
|
288
|
+
attributeDefId?: Prisma.SortOrder
|
|
289
|
+
value?: Prisma.SortOrder
|
|
290
|
+
nodeId?: Prisma.SortOrder
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type AttributeValueMinOrderByAggregateInput = {
|
|
294
|
+
id?: Prisma.SortOrder
|
|
295
|
+
attributeDefId?: Prisma.SortOrder
|
|
296
|
+
value?: Prisma.SortOrder
|
|
297
|
+
nodeId?: Prisma.SortOrder
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type AttributeValueCreateNestedManyWithoutNodeInput = {
|
|
301
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutNodeInput, Prisma.AttributeValueUncheckedCreateWithoutNodeInput> | Prisma.AttributeValueCreateWithoutNodeInput[] | Prisma.AttributeValueUncheckedCreateWithoutNodeInput[]
|
|
302
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutNodeInput | Prisma.AttributeValueCreateOrConnectWithoutNodeInput[]
|
|
303
|
+
createMany?: Prisma.AttributeValueCreateManyNodeInputEnvelope
|
|
304
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type AttributeValueUncheckedCreateNestedManyWithoutNodeInput = {
|
|
308
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutNodeInput, Prisma.AttributeValueUncheckedCreateWithoutNodeInput> | Prisma.AttributeValueCreateWithoutNodeInput[] | Prisma.AttributeValueUncheckedCreateWithoutNodeInput[]
|
|
309
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutNodeInput | Prisma.AttributeValueCreateOrConnectWithoutNodeInput[]
|
|
310
|
+
createMany?: Prisma.AttributeValueCreateManyNodeInputEnvelope
|
|
311
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type AttributeValueUpdateManyWithoutNodeNestedInput = {
|
|
315
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutNodeInput, Prisma.AttributeValueUncheckedCreateWithoutNodeInput> | Prisma.AttributeValueCreateWithoutNodeInput[] | Prisma.AttributeValueUncheckedCreateWithoutNodeInput[]
|
|
316
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutNodeInput | Prisma.AttributeValueCreateOrConnectWithoutNodeInput[]
|
|
317
|
+
upsert?: Prisma.AttributeValueUpsertWithWhereUniqueWithoutNodeInput | Prisma.AttributeValueUpsertWithWhereUniqueWithoutNodeInput[]
|
|
318
|
+
createMany?: Prisma.AttributeValueCreateManyNodeInputEnvelope
|
|
319
|
+
set?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
320
|
+
disconnect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
321
|
+
delete?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
322
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
323
|
+
update?: Prisma.AttributeValueUpdateWithWhereUniqueWithoutNodeInput | Prisma.AttributeValueUpdateWithWhereUniqueWithoutNodeInput[]
|
|
324
|
+
updateMany?: Prisma.AttributeValueUpdateManyWithWhereWithoutNodeInput | Prisma.AttributeValueUpdateManyWithWhereWithoutNodeInput[]
|
|
325
|
+
deleteMany?: Prisma.AttributeValueScalarWhereInput | Prisma.AttributeValueScalarWhereInput[]
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type AttributeValueUncheckedUpdateManyWithoutNodeNestedInput = {
|
|
329
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutNodeInput, Prisma.AttributeValueUncheckedCreateWithoutNodeInput> | Prisma.AttributeValueCreateWithoutNodeInput[] | Prisma.AttributeValueUncheckedCreateWithoutNodeInput[]
|
|
330
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutNodeInput | Prisma.AttributeValueCreateOrConnectWithoutNodeInput[]
|
|
331
|
+
upsert?: Prisma.AttributeValueUpsertWithWhereUniqueWithoutNodeInput | Prisma.AttributeValueUpsertWithWhereUniqueWithoutNodeInput[]
|
|
332
|
+
createMany?: Prisma.AttributeValueCreateManyNodeInputEnvelope
|
|
333
|
+
set?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
334
|
+
disconnect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
335
|
+
delete?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
336
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
337
|
+
update?: Prisma.AttributeValueUpdateWithWhereUniqueWithoutNodeInput | Prisma.AttributeValueUpdateWithWhereUniqueWithoutNodeInput[]
|
|
338
|
+
updateMany?: Prisma.AttributeValueUpdateManyWithWhereWithoutNodeInput | Prisma.AttributeValueUpdateManyWithWhereWithoutNodeInput[]
|
|
339
|
+
deleteMany?: Prisma.AttributeValueScalarWhereInput | Prisma.AttributeValueScalarWhereInput[]
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type AttributeValueCreateNestedManyWithoutAttributeDefInput = {
|
|
343
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput> | Prisma.AttributeValueCreateWithoutAttributeDefInput[] | Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput[]
|
|
344
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput | Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput[]
|
|
345
|
+
createMany?: Prisma.AttributeValueCreateManyAttributeDefInputEnvelope
|
|
346
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type AttributeValueUncheckedCreateNestedManyWithoutAttributeDefInput = {
|
|
350
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput> | Prisma.AttributeValueCreateWithoutAttributeDefInput[] | Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput[]
|
|
351
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput | Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput[]
|
|
352
|
+
createMany?: Prisma.AttributeValueCreateManyAttributeDefInputEnvelope
|
|
353
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type AttributeValueUpdateManyWithoutAttributeDefNestedInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput> | Prisma.AttributeValueCreateWithoutAttributeDefInput[] | Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput[]
|
|
358
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput | Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput[]
|
|
359
|
+
upsert?: Prisma.AttributeValueUpsertWithWhereUniqueWithoutAttributeDefInput | Prisma.AttributeValueUpsertWithWhereUniqueWithoutAttributeDefInput[]
|
|
360
|
+
createMany?: Prisma.AttributeValueCreateManyAttributeDefInputEnvelope
|
|
361
|
+
set?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
362
|
+
disconnect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
363
|
+
delete?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
364
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
365
|
+
update?: Prisma.AttributeValueUpdateWithWhereUniqueWithoutAttributeDefInput | Prisma.AttributeValueUpdateWithWhereUniqueWithoutAttributeDefInput[]
|
|
366
|
+
updateMany?: Prisma.AttributeValueUpdateManyWithWhereWithoutAttributeDefInput | Prisma.AttributeValueUpdateManyWithWhereWithoutAttributeDefInput[]
|
|
367
|
+
deleteMany?: Prisma.AttributeValueScalarWhereInput | Prisma.AttributeValueScalarWhereInput[]
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type AttributeValueUncheckedUpdateManyWithoutAttributeDefNestedInput = {
|
|
371
|
+
create?: Prisma.XOR<Prisma.AttributeValueCreateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput> | Prisma.AttributeValueCreateWithoutAttributeDefInput[] | Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput[]
|
|
372
|
+
connectOrCreate?: Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput | Prisma.AttributeValueCreateOrConnectWithoutAttributeDefInput[]
|
|
373
|
+
upsert?: Prisma.AttributeValueUpsertWithWhereUniqueWithoutAttributeDefInput | Prisma.AttributeValueUpsertWithWhereUniqueWithoutAttributeDefInput[]
|
|
374
|
+
createMany?: Prisma.AttributeValueCreateManyAttributeDefInputEnvelope
|
|
375
|
+
set?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
376
|
+
disconnect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
377
|
+
delete?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
378
|
+
connect?: Prisma.AttributeValueWhereUniqueInput | Prisma.AttributeValueWhereUniqueInput[]
|
|
379
|
+
update?: Prisma.AttributeValueUpdateWithWhereUniqueWithoutAttributeDefInput | Prisma.AttributeValueUpdateWithWhereUniqueWithoutAttributeDefInput[]
|
|
380
|
+
updateMany?: Prisma.AttributeValueUpdateManyWithWhereWithoutAttributeDefInput | Prisma.AttributeValueUpdateManyWithWhereWithoutAttributeDefInput[]
|
|
381
|
+
deleteMany?: Prisma.AttributeValueScalarWhereInput | Prisma.AttributeValueScalarWhereInput[]
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type AttributeValueCreateWithoutNodeInput = {
|
|
385
|
+
id?: string
|
|
386
|
+
value: string
|
|
387
|
+
attributeDef: Prisma.AttributeDefinitionCreateNestedOneWithoutAttributeValueInput
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export type AttributeValueUncheckedCreateWithoutNodeInput = {
|
|
391
|
+
id?: string
|
|
392
|
+
attributeDefId: string
|
|
393
|
+
value: string
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type AttributeValueCreateOrConnectWithoutNodeInput = {
|
|
397
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
398
|
+
create: Prisma.XOR<Prisma.AttributeValueCreateWithoutNodeInput, Prisma.AttributeValueUncheckedCreateWithoutNodeInput>
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type AttributeValueCreateManyNodeInputEnvelope = {
|
|
402
|
+
data: Prisma.AttributeValueCreateManyNodeInput | Prisma.AttributeValueCreateManyNodeInput[]
|
|
403
|
+
skipDuplicates?: boolean
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type AttributeValueUpsertWithWhereUniqueWithoutNodeInput = {
|
|
407
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
408
|
+
update: Prisma.XOR<Prisma.AttributeValueUpdateWithoutNodeInput, Prisma.AttributeValueUncheckedUpdateWithoutNodeInput>
|
|
409
|
+
create: Prisma.XOR<Prisma.AttributeValueCreateWithoutNodeInput, Prisma.AttributeValueUncheckedCreateWithoutNodeInput>
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type AttributeValueUpdateWithWhereUniqueWithoutNodeInput = {
|
|
413
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
414
|
+
data: Prisma.XOR<Prisma.AttributeValueUpdateWithoutNodeInput, Prisma.AttributeValueUncheckedUpdateWithoutNodeInput>
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export type AttributeValueUpdateManyWithWhereWithoutNodeInput = {
|
|
418
|
+
where: Prisma.AttributeValueScalarWhereInput
|
|
419
|
+
data: Prisma.XOR<Prisma.AttributeValueUpdateManyMutationInput, Prisma.AttributeValueUncheckedUpdateManyWithoutNodeInput>
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type AttributeValueScalarWhereInput = {
|
|
423
|
+
AND?: Prisma.AttributeValueScalarWhereInput | Prisma.AttributeValueScalarWhereInput[]
|
|
424
|
+
OR?: Prisma.AttributeValueScalarWhereInput[]
|
|
425
|
+
NOT?: Prisma.AttributeValueScalarWhereInput | Prisma.AttributeValueScalarWhereInput[]
|
|
426
|
+
id?: Prisma.StringFilter<"AttributeValue"> | string
|
|
427
|
+
attributeDefId?: Prisma.StringFilter<"AttributeValue"> | string
|
|
428
|
+
value?: Prisma.StringFilter<"AttributeValue"> | string
|
|
429
|
+
nodeId?: Prisma.StringFilter<"AttributeValue"> | string
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type AttributeValueCreateWithoutAttributeDefInput = {
|
|
433
|
+
id?: string
|
|
434
|
+
value: string
|
|
435
|
+
node: Prisma.ElementNodeCreateNestedOneWithoutAttributeValuesInput
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type AttributeValueUncheckedCreateWithoutAttributeDefInput = {
|
|
439
|
+
id?: string
|
|
440
|
+
value: string
|
|
441
|
+
nodeId: string
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export type AttributeValueCreateOrConnectWithoutAttributeDefInput = {
|
|
445
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
446
|
+
create: Prisma.XOR<Prisma.AttributeValueCreateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput>
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export type AttributeValueCreateManyAttributeDefInputEnvelope = {
|
|
450
|
+
data: Prisma.AttributeValueCreateManyAttributeDefInput | Prisma.AttributeValueCreateManyAttributeDefInput[]
|
|
451
|
+
skipDuplicates?: boolean
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export type AttributeValueUpsertWithWhereUniqueWithoutAttributeDefInput = {
|
|
455
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
456
|
+
update: Prisma.XOR<Prisma.AttributeValueUpdateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedUpdateWithoutAttributeDefInput>
|
|
457
|
+
create: Prisma.XOR<Prisma.AttributeValueCreateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedCreateWithoutAttributeDefInput>
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type AttributeValueUpdateWithWhereUniqueWithoutAttributeDefInput = {
|
|
461
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
462
|
+
data: Prisma.XOR<Prisma.AttributeValueUpdateWithoutAttributeDefInput, Prisma.AttributeValueUncheckedUpdateWithoutAttributeDefInput>
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export type AttributeValueUpdateManyWithWhereWithoutAttributeDefInput = {
|
|
466
|
+
where: Prisma.AttributeValueScalarWhereInput
|
|
467
|
+
data: Prisma.XOR<Prisma.AttributeValueUpdateManyMutationInput, Prisma.AttributeValueUncheckedUpdateManyWithoutAttributeDefInput>
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type AttributeValueCreateManyNodeInput = {
|
|
471
|
+
id?: string
|
|
472
|
+
attributeDefId: string
|
|
473
|
+
value: string
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type AttributeValueUpdateWithoutNodeInput = {
|
|
477
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
478
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
479
|
+
attributeDef?: Prisma.AttributeDefinitionUpdateOneRequiredWithoutAttributeValueNestedInput
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type AttributeValueUncheckedUpdateWithoutNodeInput = {
|
|
483
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
attributeDefId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
485
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type AttributeValueUncheckedUpdateManyWithoutNodeInput = {
|
|
489
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
490
|
+
attributeDefId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
491
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export type AttributeValueCreateManyAttributeDefInput = {
|
|
495
|
+
id?: string
|
|
496
|
+
value: string
|
|
497
|
+
nodeId: string
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export type AttributeValueUpdateWithoutAttributeDefInput = {
|
|
501
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
502
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
503
|
+
node?: Prisma.ElementNodeUpdateOneRequiredWithoutAttributeValuesNestedInput
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export type AttributeValueUncheckedUpdateWithoutAttributeDefInput = {
|
|
507
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
509
|
+
nodeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export type AttributeValueUncheckedUpdateManyWithoutAttributeDefInput = {
|
|
513
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
514
|
+
value?: Prisma.StringFieldUpdateOperationsInput | string
|
|
515
|
+
nodeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
export type AttributeValueSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
521
|
+
id?: boolean
|
|
522
|
+
attributeDefId?: boolean
|
|
523
|
+
value?: boolean
|
|
524
|
+
nodeId?: boolean
|
|
525
|
+
attributeDef?: boolean | Prisma.AttributeDefinitionDefaultArgs<ExtArgs>
|
|
526
|
+
node?: boolean | Prisma.ElementNodeDefaultArgs<ExtArgs>
|
|
527
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
528
|
+
|
|
529
|
+
export type AttributeValueSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
530
|
+
id?: boolean
|
|
531
|
+
attributeDefId?: boolean
|
|
532
|
+
value?: boolean
|
|
533
|
+
nodeId?: boolean
|
|
534
|
+
attributeDef?: boolean | Prisma.AttributeDefinitionDefaultArgs<ExtArgs>
|
|
535
|
+
node?: boolean | Prisma.ElementNodeDefaultArgs<ExtArgs>
|
|
536
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
537
|
+
|
|
538
|
+
export type AttributeValueSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
539
|
+
id?: boolean
|
|
540
|
+
attributeDefId?: boolean
|
|
541
|
+
value?: boolean
|
|
542
|
+
nodeId?: boolean
|
|
543
|
+
attributeDef?: boolean | Prisma.AttributeDefinitionDefaultArgs<ExtArgs>
|
|
544
|
+
node?: boolean | Prisma.ElementNodeDefaultArgs<ExtArgs>
|
|
545
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
546
|
+
|
|
547
|
+
export type AttributeValueSelectScalar = {
|
|
548
|
+
id?: boolean
|
|
549
|
+
attributeDefId?: boolean
|
|
550
|
+
value?: boolean
|
|
551
|
+
nodeId?: boolean
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export type AttributeValueOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "attributeDefId" | "value" | "nodeId", ExtArgs["result"]["attributeValue"]>
|
|
555
|
+
export type AttributeValueInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
556
|
+
attributeDef?: boolean | Prisma.AttributeDefinitionDefaultArgs<ExtArgs>
|
|
557
|
+
node?: boolean | Prisma.ElementNodeDefaultArgs<ExtArgs>
|
|
558
|
+
}
|
|
559
|
+
export type AttributeValueIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
560
|
+
attributeDef?: boolean | Prisma.AttributeDefinitionDefaultArgs<ExtArgs>
|
|
561
|
+
node?: boolean | Prisma.ElementNodeDefaultArgs<ExtArgs>
|
|
562
|
+
}
|
|
563
|
+
export type AttributeValueIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
564
|
+
attributeDef?: boolean | Prisma.AttributeDefinitionDefaultArgs<ExtArgs>
|
|
565
|
+
node?: boolean | Prisma.ElementNodeDefaultArgs<ExtArgs>
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type $AttributeValuePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
569
|
+
name: "AttributeValue"
|
|
570
|
+
objects: {
|
|
571
|
+
attributeDef: Prisma.$AttributeDefinitionPayload<ExtArgs>
|
|
572
|
+
node: Prisma.$ElementNodePayload<ExtArgs>
|
|
573
|
+
}
|
|
574
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
575
|
+
id: string
|
|
576
|
+
attributeDefId: string
|
|
577
|
+
value: string
|
|
578
|
+
nodeId: string
|
|
579
|
+
}, ExtArgs["result"]["attributeValue"]>
|
|
580
|
+
composites: {}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export type AttributeValueGetPayload<S extends boolean | null | undefined | AttributeValueDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload, S>
|
|
584
|
+
|
|
585
|
+
export type AttributeValueCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
586
|
+
Omit<AttributeValueFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
587
|
+
select?: AttributeValueCountAggregateInputType | true
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export interface AttributeValueDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
591
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AttributeValue'], meta: { name: 'AttributeValue' } }
|
|
592
|
+
/**
|
|
593
|
+
* Find zero or one AttributeValue that matches the filter.
|
|
594
|
+
* @param {AttributeValueFindUniqueArgs} args - Arguments to find a AttributeValue
|
|
595
|
+
* @example
|
|
596
|
+
* // Get one AttributeValue
|
|
597
|
+
* const attributeValue = await prisma.attributeValue.findUnique({
|
|
598
|
+
* where: {
|
|
599
|
+
* // ... provide filter here
|
|
600
|
+
* }
|
|
601
|
+
* })
|
|
602
|
+
*/
|
|
603
|
+
findUnique<T extends AttributeValueFindUniqueArgs>(args: Prisma.SelectSubset<T, AttributeValueFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Find one AttributeValue that matches the filter or throw an error with `error.code='P2025'`
|
|
607
|
+
* if no matches were found.
|
|
608
|
+
* @param {AttributeValueFindUniqueOrThrowArgs} args - Arguments to find a AttributeValue
|
|
609
|
+
* @example
|
|
610
|
+
* // Get one AttributeValue
|
|
611
|
+
* const attributeValue = await prisma.attributeValue.findUniqueOrThrow({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* }
|
|
615
|
+
* })
|
|
616
|
+
*/
|
|
617
|
+
findUniqueOrThrow<T extends AttributeValueFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AttributeValueFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Find the first AttributeValue that matches the filter.
|
|
621
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
622
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
623
|
+
* @param {AttributeValueFindFirstArgs} args - Arguments to find a AttributeValue
|
|
624
|
+
* @example
|
|
625
|
+
* // Get one AttributeValue
|
|
626
|
+
* const attributeValue = await prisma.attributeValue.findFirst({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... provide filter here
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
*/
|
|
632
|
+
findFirst<T extends AttributeValueFindFirstArgs>(args?: Prisma.SelectSubset<T, AttributeValueFindFirstArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Find the first AttributeValue that matches the filter or
|
|
636
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
637
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
638
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
639
|
+
* @param {AttributeValueFindFirstOrThrowArgs} args - Arguments to find a AttributeValue
|
|
640
|
+
* @example
|
|
641
|
+
* // Get one AttributeValue
|
|
642
|
+
* const attributeValue = await prisma.attributeValue.findFirstOrThrow({
|
|
643
|
+
* where: {
|
|
644
|
+
* // ... provide filter here
|
|
645
|
+
* }
|
|
646
|
+
* })
|
|
647
|
+
*/
|
|
648
|
+
findFirstOrThrow<T extends AttributeValueFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AttributeValueFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Find zero or more AttributeValues that matches the filter.
|
|
652
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
653
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
654
|
+
* @param {AttributeValueFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
655
|
+
* @example
|
|
656
|
+
* // Get all AttributeValues
|
|
657
|
+
* const attributeValues = await prisma.attributeValue.findMany()
|
|
658
|
+
*
|
|
659
|
+
* // Get first 10 AttributeValues
|
|
660
|
+
* const attributeValues = await prisma.attributeValue.findMany({ take: 10 })
|
|
661
|
+
*
|
|
662
|
+
* // Only select the `id`
|
|
663
|
+
* const attributeValueWithIdOnly = await prisma.attributeValue.findMany({ select: { id: true } })
|
|
664
|
+
*
|
|
665
|
+
*/
|
|
666
|
+
findMany<T extends AttributeValueFindManyArgs>(args?: Prisma.SelectSubset<T, AttributeValueFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Create a AttributeValue.
|
|
670
|
+
* @param {AttributeValueCreateArgs} args - Arguments to create a AttributeValue.
|
|
671
|
+
* @example
|
|
672
|
+
* // Create one AttributeValue
|
|
673
|
+
* const AttributeValue = await prisma.attributeValue.create({
|
|
674
|
+
* data: {
|
|
675
|
+
* // ... data to create a AttributeValue
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
create<T extends AttributeValueCreateArgs>(args: Prisma.SelectSubset<T, AttributeValueCreateArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Create many AttributeValues.
|
|
684
|
+
* @param {AttributeValueCreateManyArgs} args - Arguments to create many AttributeValues.
|
|
685
|
+
* @example
|
|
686
|
+
* // Create many AttributeValues
|
|
687
|
+
* const attributeValue = await prisma.attributeValue.createMany({
|
|
688
|
+
* data: [
|
|
689
|
+
* // ... provide data here
|
|
690
|
+
* ]
|
|
691
|
+
* })
|
|
692
|
+
*
|
|
693
|
+
*/
|
|
694
|
+
createMany<T extends AttributeValueCreateManyArgs>(args?: Prisma.SelectSubset<T, AttributeValueCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Create many AttributeValues and returns the data saved in the database.
|
|
698
|
+
* @param {AttributeValueCreateManyAndReturnArgs} args - Arguments to create many AttributeValues.
|
|
699
|
+
* @example
|
|
700
|
+
* // Create many AttributeValues
|
|
701
|
+
* const attributeValue = await prisma.attributeValue.createManyAndReturn({
|
|
702
|
+
* data: [
|
|
703
|
+
* // ... provide data here
|
|
704
|
+
* ]
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
* // Create many AttributeValues and only return the `id`
|
|
708
|
+
* const attributeValueWithIdOnly = await prisma.attributeValue.createManyAndReturn({
|
|
709
|
+
* select: { id: true },
|
|
710
|
+
* data: [
|
|
711
|
+
* // ... provide data here
|
|
712
|
+
* ]
|
|
713
|
+
* })
|
|
714
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
715
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
716
|
+
*
|
|
717
|
+
*/
|
|
718
|
+
createManyAndReturn<T extends AttributeValueCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AttributeValueCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Delete a AttributeValue.
|
|
722
|
+
* @param {AttributeValueDeleteArgs} args - Arguments to delete one AttributeValue.
|
|
723
|
+
* @example
|
|
724
|
+
* // Delete one AttributeValue
|
|
725
|
+
* const AttributeValue = await prisma.attributeValue.delete({
|
|
726
|
+
* where: {
|
|
727
|
+
* // ... filter to delete one AttributeValue
|
|
728
|
+
* }
|
|
729
|
+
* })
|
|
730
|
+
*
|
|
731
|
+
*/
|
|
732
|
+
delete<T extends AttributeValueDeleteArgs>(args: Prisma.SelectSubset<T, AttributeValueDeleteArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Update one AttributeValue.
|
|
736
|
+
* @param {AttributeValueUpdateArgs} args - Arguments to update one AttributeValue.
|
|
737
|
+
* @example
|
|
738
|
+
* // Update one AttributeValue
|
|
739
|
+
* const attributeValue = await prisma.attributeValue.update({
|
|
740
|
+
* where: {
|
|
741
|
+
* // ... provide filter here
|
|
742
|
+
* },
|
|
743
|
+
* data: {
|
|
744
|
+
* // ... provide data here
|
|
745
|
+
* }
|
|
746
|
+
* })
|
|
747
|
+
*
|
|
748
|
+
*/
|
|
749
|
+
update<T extends AttributeValueUpdateArgs>(args: Prisma.SelectSubset<T, AttributeValueUpdateArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Delete zero or more AttributeValues.
|
|
753
|
+
* @param {AttributeValueDeleteManyArgs} args - Arguments to filter AttributeValues to delete.
|
|
754
|
+
* @example
|
|
755
|
+
* // Delete a few AttributeValues
|
|
756
|
+
* const { count } = await prisma.attributeValue.deleteMany({
|
|
757
|
+
* where: {
|
|
758
|
+
* // ... provide filter here
|
|
759
|
+
* }
|
|
760
|
+
* })
|
|
761
|
+
*
|
|
762
|
+
*/
|
|
763
|
+
deleteMany<T extends AttributeValueDeleteManyArgs>(args?: Prisma.SelectSubset<T, AttributeValueDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Update zero or more AttributeValues.
|
|
767
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
768
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
769
|
+
* @param {AttributeValueUpdateManyArgs} args - Arguments to update one or more rows.
|
|
770
|
+
* @example
|
|
771
|
+
* // Update many AttributeValues
|
|
772
|
+
* const attributeValue = await prisma.attributeValue.updateMany({
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... provide filter here
|
|
775
|
+
* },
|
|
776
|
+
* data: {
|
|
777
|
+
* // ... provide data here
|
|
778
|
+
* }
|
|
779
|
+
* })
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
updateMany<T extends AttributeValueUpdateManyArgs>(args: Prisma.SelectSubset<T, AttributeValueUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Update zero or more AttributeValues and returns the data updated in the database.
|
|
786
|
+
* @param {AttributeValueUpdateManyAndReturnArgs} args - Arguments to update many AttributeValues.
|
|
787
|
+
* @example
|
|
788
|
+
* // Update many AttributeValues
|
|
789
|
+
* const attributeValue = await prisma.attributeValue.updateManyAndReturn({
|
|
790
|
+
* where: {
|
|
791
|
+
* // ... provide filter here
|
|
792
|
+
* },
|
|
793
|
+
* data: [
|
|
794
|
+
* // ... provide data here
|
|
795
|
+
* ]
|
|
796
|
+
* })
|
|
797
|
+
*
|
|
798
|
+
* // Update zero or more AttributeValues and only return the `id`
|
|
799
|
+
* const attributeValueWithIdOnly = await prisma.attributeValue.updateManyAndReturn({
|
|
800
|
+
* select: { id: true },
|
|
801
|
+
* where: {
|
|
802
|
+
* // ... provide filter here
|
|
803
|
+
* },
|
|
804
|
+
* data: [
|
|
805
|
+
* // ... provide data here
|
|
806
|
+
* ]
|
|
807
|
+
* })
|
|
808
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
809
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
812
|
+
updateManyAndReturn<T extends AttributeValueUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AttributeValueUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Create or update one AttributeValue.
|
|
816
|
+
* @param {AttributeValueUpsertArgs} args - Arguments to update or create a AttributeValue.
|
|
817
|
+
* @example
|
|
818
|
+
* // Update or create a AttributeValue
|
|
819
|
+
* const attributeValue = await prisma.attributeValue.upsert({
|
|
820
|
+
* create: {
|
|
821
|
+
* // ... data to create a AttributeValue
|
|
822
|
+
* },
|
|
823
|
+
* update: {
|
|
824
|
+
* // ... in case it already exists, update
|
|
825
|
+
* },
|
|
826
|
+
* where: {
|
|
827
|
+
* // ... the filter for the AttributeValue we want to update
|
|
828
|
+
* }
|
|
829
|
+
* })
|
|
830
|
+
*/
|
|
831
|
+
upsert<T extends AttributeValueUpsertArgs>(args: Prisma.SelectSubset<T, AttributeValueUpsertArgs<ExtArgs>>): Prisma.Prisma__AttributeValueClient<runtime.Types.Result.GetResult<Prisma.$AttributeValuePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Count the number of AttributeValues.
|
|
836
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
837
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
838
|
+
* @param {AttributeValueCountArgs} args - Arguments to filter AttributeValues to count.
|
|
839
|
+
* @example
|
|
840
|
+
* // Count the number of AttributeValues
|
|
841
|
+
* const count = await prisma.attributeValue.count({
|
|
842
|
+
* where: {
|
|
843
|
+
* // ... the filter for the AttributeValues we want to count
|
|
844
|
+
* }
|
|
845
|
+
* })
|
|
846
|
+
**/
|
|
847
|
+
count<T extends AttributeValueCountArgs>(
|
|
848
|
+
args?: Prisma.Subset<T, AttributeValueCountArgs>,
|
|
849
|
+
): Prisma.PrismaPromise<
|
|
850
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
851
|
+
? T['select'] extends true
|
|
852
|
+
? number
|
|
853
|
+
: Prisma.GetScalarType<T['select'], AttributeValueCountAggregateOutputType>
|
|
854
|
+
: number
|
|
855
|
+
>
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Allows you to perform aggregations operations on a AttributeValue.
|
|
859
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
860
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
861
|
+
* @param {AttributeValueAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
862
|
+
* @example
|
|
863
|
+
* // Ordered by age ascending
|
|
864
|
+
* // Where email contains prisma.io
|
|
865
|
+
* // Limited to the 10 users
|
|
866
|
+
* const aggregations = await prisma.user.aggregate({
|
|
867
|
+
* _avg: {
|
|
868
|
+
* age: true,
|
|
869
|
+
* },
|
|
870
|
+
* where: {
|
|
871
|
+
* email: {
|
|
872
|
+
* contains: "prisma.io",
|
|
873
|
+
* },
|
|
874
|
+
* },
|
|
875
|
+
* orderBy: {
|
|
876
|
+
* age: "asc",
|
|
877
|
+
* },
|
|
878
|
+
* take: 10,
|
|
879
|
+
* })
|
|
880
|
+
**/
|
|
881
|
+
aggregate<T extends AttributeValueAggregateArgs>(args: Prisma.Subset<T, AttributeValueAggregateArgs>): Prisma.PrismaPromise<GetAttributeValueAggregateType<T>>
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Group by AttributeValue.
|
|
885
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
886
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
887
|
+
* @param {AttributeValueGroupByArgs} args - Group by arguments.
|
|
888
|
+
* @example
|
|
889
|
+
* // Group by city, order by createdAt, get count
|
|
890
|
+
* const result = await prisma.user.groupBy({
|
|
891
|
+
* by: ['city', 'createdAt'],
|
|
892
|
+
* orderBy: {
|
|
893
|
+
* createdAt: true
|
|
894
|
+
* },
|
|
895
|
+
* _count: {
|
|
896
|
+
* _all: true
|
|
897
|
+
* },
|
|
898
|
+
* })
|
|
899
|
+
*
|
|
900
|
+
**/
|
|
901
|
+
groupBy<
|
|
902
|
+
T extends AttributeValueGroupByArgs,
|
|
903
|
+
HasSelectOrTake extends Prisma.Or<
|
|
904
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
905
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
906
|
+
>,
|
|
907
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
908
|
+
? { orderBy: AttributeValueGroupByArgs['orderBy'] }
|
|
909
|
+
: { orderBy?: AttributeValueGroupByArgs['orderBy'] },
|
|
910
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
911
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
912
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
913
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
914
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
915
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
916
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
917
|
+
? `Error: "by" must not be empty.`
|
|
918
|
+
: HavingValid extends Prisma.False
|
|
919
|
+
? {
|
|
920
|
+
[P in HavingFields]: P extends ByFields
|
|
921
|
+
? never
|
|
922
|
+
: P extends string
|
|
923
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
924
|
+
: [
|
|
925
|
+
Error,
|
|
926
|
+
'Field ',
|
|
927
|
+
P,
|
|
928
|
+
` in "having" needs to be provided in "by"`,
|
|
929
|
+
]
|
|
930
|
+
}[HavingFields]
|
|
931
|
+
: 'take' extends Prisma.Keys<T>
|
|
932
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
933
|
+
? ByValid extends Prisma.True
|
|
934
|
+
? {}
|
|
935
|
+
: {
|
|
936
|
+
[P in OrderFields]: P extends ByFields
|
|
937
|
+
? never
|
|
938
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
939
|
+
}[OrderFields]
|
|
940
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
941
|
+
: 'skip' extends Prisma.Keys<T>
|
|
942
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
943
|
+
? ByValid extends Prisma.True
|
|
944
|
+
? {}
|
|
945
|
+
: {
|
|
946
|
+
[P in OrderFields]: P extends ByFields
|
|
947
|
+
? never
|
|
948
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
949
|
+
}[OrderFields]
|
|
950
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
951
|
+
: ByValid extends Prisma.True
|
|
952
|
+
? {}
|
|
953
|
+
: {
|
|
954
|
+
[P in OrderFields]: P extends ByFields
|
|
955
|
+
? never
|
|
956
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
957
|
+
}[OrderFields]
|
|
958
|
+
>(args: Prisma.SubsetIntersection<T, AttributeValueGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAttributeValueGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
959
|
+
/**
|
|
960
|
+
* Fields of the AttributeValue model
|
|
961
|
+
*/
|
|
962
|
+
readonly fields: AttributeValueFieldRefs;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* The delegate class that acts as a "Promise-like" for AttributeValue.
|
|
967
|
+
* Why is this prefixed with `Prisma__`?
|
|
968
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
969
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
970
|
+
*/
|
|
971
|
+
export interface Prisma__AttributeValueClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
972
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
973
|
+
attributeDef<T extends Prisma.AttributeDefinitionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AttributeDefinitionDefaultArgs<ExtArgs>>): Prisma.Prisma__AttributeDefinitionClient<runtime.Types.Result.GetResult<Prisma.$AttributeDefinitionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
974
|
+
node<T extends Prisma.ElementNodeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ElementNodeDefaultArgs<ExtArgs>>): Prisma.Prisma__ElementNodeClient<runtime.Types.Result.GetResult<Prisma.$ElementNodePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
975
|
+
/**
|
|
976
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
977
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
978
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
979
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
980
|
+
*/
|
|
981
|
+
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>
|
|
982
|
+
/**
|
|
983
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
984
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
985
|
+
* @returns A Promise for the completion of the callback.
|
|
986
|
+
*/
|
|
987
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
988
|
+
/**
|
|
989
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
990
|
+
* resolved value cannot be modified from the callback.
|
|
991
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
992
|
+
* @returns A Promise for the completion of the callback.
|
|
993
|
+
*/
|
|
994
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Fields of the AttributeValue model
|
|
1002
|
+
*/
|
|
1003
|
+
export interface AttributeValueFieldRefs {
|
|
1004
|
+
readonly id: Prisma.FieldRef<"AttributeValue", 'String'>
|
|
1005
|
+
readonly attributeDefId: Prisma.FieldRef<"AttributeValue", 'String'>
|
|
1006
|
+
readonly value: Prisma.FieldRef<"AttributeValue", 'String'>
|
|
1007
|
+
readonly nodeId: Prisma.FieldRef<"AttributeValue", 'String'>
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
// Custom InputTypes
|
|
1012
|
+
/**
|
|
1013
|
+
* AttributeValue findUnique
|
|
1014
|
+
*/
|
|
1015
|
+
export type AttributeValueFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1016
|
+
/**
|
|
1017
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1018
|
+
*/
|
|
1019
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1020
|
+
/**
|
|
1021
|
+
* Omit specific fields from the AttributeValue
|
|
1022
|
+
*/
|
|
1023
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1024
|
+
/**
|
|
1025
|
+
* Choose, which related nodes to fetch as well
|
|
1026
|
+
*/
|
|
1027
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1028
|
+
/**
|
|
1029
|
+
* Filter, which AttributeValue to fetch.
|
|
1030
|
+
*/
|
|
1031
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* AttributeValue findUniqueOrThrow
|
|
1036
|
+
*/
|
|
1037
|
+
export type AttributeValueFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1038
|
+
/**
|
|
1039
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1040
|
+
*/
|
|
1041
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1042
|
+
/**
|
|
1043
|
+
* Omit specific fields from the AttributeValue
|
|
1044
|
+
*/
|
|
1045
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1046
|
+
/**
|
|
1047
|
+
* Choose, which related nodes to fetch as well
|
|
1048
|
+
*/
|
|
1049
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1050
|
+
/**
|
|
1051
|
+
* Filter, which AttributeValue to fetch.
|
|
1052
|
+
*/
|
|
1053
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* AttributeValue findFirst
|
|
1058
|
+
*/
|
|
1059
|
+
export type AttributeValueFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the AttributeValue
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1068
|
+
/**
|
|
1069
|
+
* Choose, which related nodes to fetch as well
|
|
1070
|
+
*/
|
|
1071
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1072
|
+
/**
|
|
1073
|
+
* Filter, which AttributeValue to fetch.
|
|
1074
|
+
*/
|
|
1075
|
+
where?: Prisma.AttributeValueWhereInput
|
|
1076
|
+
/**
|
|
1077
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1078
|
+
*
|
|
1079
|
+
* Determine the order of AttributeValues to fetch.
|
|
1080
|
+
*/
|
|
1081
|
+
orderBy?: Prisma.AttributeValueOrderByWithRelationInput | Prisma.AttributeValueOrderByWithRelationInput[]
|
|
1082
|
+
/**
|
|
1083
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1084
|
+
*
|
|
1085
|
+
* Sets the position for searching for AttributeValues.
|
|
1086
|
+
*/
|
|
1087
|
+
cursor?: Prisma.AttributeValueWhereUniqueInput
|
|
1088
|
+
/**
|
|
1089
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1090
|
+
*
|
|
1091
|
+
* Take `±n` AttributeValues from the position of the cursor.
|
|
1092
|
+
*/
|
|
1093
|
+
take?: number
|
|
1094
|
+
/**
|
|
1095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1096
|
+
*
|
|
1097
|
+
* Skip the first `n` AttributeValues.
|
|
1098
|
+
*/
|
|
1099
|
+
skip?: number
|
|
1100
|
+
/**
|
|
1101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1102
|
+
*
|
|
1103
|
+
* Filter by unique combinations of AttributeValues.
|
|
1104
|
+
*/
|
|
1105
|
+
distinct?: Prisma.AttributeValueScalarFieldEnum | Prisma.AttributeValueScalarFieldEnum[]
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* AttributeValue findFirstOrThrow
|
|
1110
|
+
*/
|
|
1111
|
+
export type AttributeValueFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1114
|
+
*/
|
|
1115
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1116
|
+
/**
|
|
1117
|
+
* Omit specific fields from the AttributeValue
|
|
1118
|
+
*/
|
|
1119
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1120
|
+
/**
|
|
1121
|
+
* Choose, which related nodes to fetch as well
|
|
1122
|
+
*/
|
|
1123
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1124
|
+
/**
|
|
1125
|
+
* Filter, which AttributeValue to fetch.
|
|
1126
|
+
*/
|
|
1127
|
+
where?: Prisma.AttributeValueWhereInput
|
|
1128
|
+
/**
|
|
1129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1130
|
+
*
|
|
1131
|
+
* Determine the order of AttributeValues to fetch.
|
|
1132
|
+
*/
|
|
1133
|
+
orderBy?: Prisma.AttributeValueOrderByWithRelationInput | Prisma.AttributeValueOrderByWithRelationInput[]
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Sets the position for searching for AttributeValues.
|
|
1138
|
+
*/
|
|
1139
|
+
cursor?: Prisma.AttributeValueWhereUniqueInput
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Take `±n` AttributeValues from the position of the cursor.
|
|
1144
|
+
*/
|
|
1145
|
+
take?: number
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Skip the first `n` AttributeValues.
|
|
1150
|
+
*/
|
|
1151
|
+
skip?: number
|
|
1152
|
+
/**
|
|
1153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1154
|
+
*
|
|
1155
|
+
* Filter by unique combinations of AttributeValues.
|
|
1156
|
+
*/
|
|
1157
|
+
distinct?: Prisma.AttributeValueScalarFieldEnum | Prisma.AttributeValueScalarFieldEnum[]
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* AttributeValue findMany
|
|
1162
|
+
*/
|
|
1163
|
+
export type AttributeValueFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1164
|
+
/**
|
|
1165
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1166
|
+
*/
|
|
1167
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1168
|
+
/**
|
|
1169
|
+
* Omit specific fields from the AttributeValue
|
|
1170
|
+
*/
|
|
1171
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1172
|
+
/**
|
|
1173
|
+
* Choose, which related nodes to fetch as well
|
|
1174
|
+
*/
|
|
1175
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1176
|
+
/**
|
|
1177
|
+
* Filter, which AttributeValues to fetch.
|
|
1178
|
+
*/
|
|
1179
|
+
where?: Prisma.AttributeValueWhereInput
|
|
1180
|
+
/**
|
|
1181
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1182
|
+
*
|
|
1183
|
+
* Determine the order of AttributeValues to fetch.
|
|
1184
|
+
*/
|
|
1185
|
+
orderBy?: Prisma.AttributeValueOrderByWithRelationInput | Prisma.AttributeValueOrderByWithRelationInput[]
|
|
1186
|
+
/**
|
|
1187
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1188
|
+
*
|
|
1189
|
+
* Sets the position for listing AttributeValues.
|
|
1190
|
+
*/
|
|
1191
|
+
cursor?: Prisma.AttributeValueWhereUniqueInput
|
|
1192
|
+
/**
|
|
1193
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1194
|
+
*
|
|
1195
|
+
* Take `±n` AttributeValues from the position of the cursor.
|
|
1196
|
+
*/
|
|
1197
|
+
take?: number
|
|
1198
|
+
/**
|
|
1199
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1200
|
+
*
|
|
1201
|
+
* Skip the first `n` AttributeValues.
|
|
1202
|
+
*/
|
|
1203
|
+
skip?: number
|
|
1204
|
+
distinct?: Prisma.AttributeValueScalarFieldEnum | Prisma.AttributeValueScalarFieldEnum[]
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* AttributeValue create
|
|
1209
|
+
*/
|
|
1210
|
+
export type AttributeValueCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1211
|
+
/**
|
|
1212
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1213
|
+
*/
|
|
1214
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1215
|
+
/**
|
|
1216
|
+
* Omit specific fields from the AttributeValue
|
|
1217
|
+
*/
|
|
1218
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1219
|
+
/**
|
|
1220
|
+
* Choose, which related nodes to fetch as well
|
|
1221
|
+
*/
|
|
1222
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1223
|
+
/**
|
|
1224
|
+
* The data needed to create a AttributeValue.
|
|
1225
|
+
*/
|
|
1226
|
+
data: Prisma.XOR<Prisma.AttributeValueCreateInput, Prisma.AttributeValueUncheckedCreateInput>
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* AttributeValue createMany
|
|
1231
|
+
*/
|
|
1232
|
+
export type AttributeValueCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1233
|
+
/**
|
|
1234
|
+
* The data used to create many AttributeValues.
|
|
1235
|
+
*/
|
|
1236
|
+
data: Prisma.AttributeValueCreateManyInput | Prisma.AttributeValueCreateManyInput[]
|
|
1237
|
+
skipDuplicates?: boolean
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* AttributeValue createManyAndReturn
|
|
1242
|
+
*/
|
|
1243
|
+
export type AttributeValueCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1244
|
+
/**
|
|
1245
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1246
|
+
*/
|
|
1247
|
+
select?: Prisma.AttributeValueSelectCreateManyAndReturn<ExtArgs> | null
|
|
1248
|
+
/**
|
|
1249
|
+
* Omit specific fields from the AttributeValue
|
|
1250
|
+
*/
|
|
1251
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1252
|
+
/**
|
|
1253
|
+
* The data used to create many AttributeValues.
|
|
1254
|
+
*/
|
|
1255
|
+
data: Prisma.AttributeValueCreateManyInput | Prisma.AttributeValueCreateManyInput[]
|
|
1256
|
+
skipDuplicates?: boolean
|
|
1257
|
+
/**
|
|
1258
|
+
* Choose, which related nodes to fetch as well
|
|
1259
|
+
*/
|
|
1260
|
+
include?: Prisma.AttributeValueIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* AttributeValue update
|
|
1265
|
+
*/
|
|
1266
|
+
export type AttributeValueUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1267
|
+
/**
|
|
1268
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1269
|
+
*/
|
|
1270
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1271
|
+
/**
|
|
1272
|
+
* Omit specific fields from the AttributeValue
|
|
1273
|
+
*/
|
|
1274
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1275
|
+
/**
|
|
1276
|
+
* Choose, which related nodes to fetch as well
|
|
1277
|
+
*/
|
|
1278
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1279
|
+
/**
|
|
1280
|
+
* The data needed to update a AttributeValue.
|
|
1281
|
+
*/
|
|
1282
|
+
data: Prisma.XOR<Prisma.AttributeValueUpdateInput, Prisma.AttributeValueUncheckedUpdateInput>
|
|
1283
|
+
/**
|
|
1284
|
+
* Choose, which AttributeValue to update.
|
|
1285
|
+
*/
|
|
1286
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* AttributeValue updateMany
|
|
1291
|
+
*/
|
|
1292
|
+
export type AttributeValueUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1293
|
+
/**
|
|
1294
|
+
* The data used to update AttributeValues.
|
|
1295
|
+
*/
|
|
1296
|
+
data: Prisma.XOR<Prisma.AttributeValueUpdateManyMutationInput, Prisma.AttributeValueUncheckedUpdateManyInput>
|
|
1297
|
+
/**
|
|
1298
|
+
* Filter which AttributeValues to update
|
|
1299
|
+
*/
|
|
1300
|
+
where?: Prisma.AttributeValueWhereInput
|
|
1301
|
+
/**
|
|
1302
|
+
* Limit how many AttributeValues to update.
|
|
1303
|
+
*/
|
|
1304
|
+
limit?: number
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* AttributeValue updateManyAndReturn
|
|
1309
|
+
*/
|
|
1310
|
+
export type AttributeValueUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1311
|
+
/**
|
|
1312
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1313
|
+
*/
|
|
1314
|
+
select?: Prisma.AttributeValueSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1315
|
+
/**
|
|
1316
|
+
* Omit specific fields from the AttributeValue
|
|
1317
|
+
*/
|
|
1318
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1319
|
+
/**
|
|
1320
|
+
* The data used to update AttributeValues.
|
|
1321
|
+
*/
|
|
1322
|
+
data: Prisma.XOR<Prisma.AttributeValueUpdateManyMutationInput, Prisma.AttributeValueUncheckedUpdateManyInput>
|
|
1323
|
+
/**
|
|
1324
|
+
* Filter which AttributeValues to update
|
|
1325
|
+
*/
|
|
1326
|
+
where?: Prisma.AttributeValueWhereInput
|
|
1327
|
+
/**
|
|
1328
|
+
* Limit how many AttributeValues to update.
|
|
1329
|
+
*/
|
|
1330
|
+
limit?: number
|
|
1331
|
+
/**
|
|
1332
|
+
* Choose, which related nodes to fetch as well
|
|
1333
|
+
*/
|
|
1334
|
+
include?: Prisma.AttributeValueIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* AttributeValue upsert
|
|
1339
|
+
*/
|
|
1340
|
+
export type AttributeValueUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1341
|
+
/**
|
|
1342
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1343
|
+
*/
|
|
1344
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1345
|
+
/**
|
|
1346
|
+
* Omit specific fields from the AttributeValue
|
|
1347
|
+
*/
|
|
1348
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1349
|
+
/**
|
|
1350
|
+
* Choose, which related nodes to fetch as well
|
|
1351
|
+
*/
|
|
1352
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1353
|
+
/**
|
|
1354
|
+
* The filter to search for the AttributeValue to update in case it exists.
|
|
1355
|
+
*/
|
|
1356
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
1357
|
+
/**
|
|
1358
|
+
* In case the AttributeValue found by the `where` argument doesn't exist, create a new AttributeValue with this data.
|
|
1359
|
+
*/
|
|
1360
|
+
create: Prisma.XOR<Prisma.AttributeValueCreateInput, Prisma.AttributeValueUncheckedCreateInput>
|
|
1361
|
+
/**
|
|
1362
|
+
* In case the AttributeValue was found with the provided `where` argument, update it with this data.
|
|
1363
|
+
*/
|
|
1364
|
+
update: Prisma.XOR<Prisma.AttributeValueUpdateInput, Prisma.AttributeValueUncheckedUpdateInput>
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* AttributeValue delete
|
|
1369
|
+
*/
|
|
1370
|
+
export type AttributeValueDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1371
|
+
/**
|
|
1372
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1373
|
+
*/
|
|
1374
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1375
|
+
/**
|
|
1376
|
+
* Omit specific fields from the AttributeValue
|
|
1377
|
+
*/
|
|
1378
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1379
|
+
/**
|
|
1380
|
+
* Choose, which related nodes to fetch as well
|
|
1381
|
+
*/
|
|
1382
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1383
|
+
/**
|
|
1384
|
+
* Filter which AttributeValue to delete.
|
|
1385
|
+
*/
|
|
1386
|
+
where: Prisma.AttributeValueWhereUniqueInput
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* AttributeValue deleteMany
|
|
1391
|
+
*/
|
|
1392
|
+
export type AttributeValueDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1393
|
+
/**
|
|
1394
|
+
* Filter which AttributeValues to delete
|
|
1395
|
+
*/
|
|
1396
|
+
where?: Prisma.AttributeValueWhereInput
|
|
1397
|
+
/**
|
|
1398
|
+
* Limit how many AttributeValues to delete.
|
|
1399
|
+
*/
|
|
1400
|
+
limit?: number
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* AttributeValue without action
|
|
1405
|
+
*/
|
|
1406
|
+
export type AttributeValueDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1407
|
+
/**
|
|
1408
|
+
* Select specific fields to fetch from the AttributeValue
|
|
1409
|
+
*/
|
|
1410
|
+
select?: Prisma.AttributeValueSelect<ExtArgs> | null
|
|
1411
|
+
/**
|
|
1412
|
+
* Omit specific fields from the AttributeValue
|
|
1413
|
+
*/
|
|
1414
|
+
omit?: Prisma.AttributeValueOmit<ExtArgs> | null
|
|
1415
|
+
/**
|
|
1416
|
+
* Choose, which related nodes to fetch as well
|
|
1417
|
+
*/
|
|
1418
|
+
include?: Prisma.AttributeValueInclude<ExtArgs> | null
|
|
1419
|
+
}
|