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