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