efiber-prisma-schema 1.16.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +13 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/schema.prisma +2 -2
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,2193 @@
|
|
|
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 `TeamMaterial` 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 TeamMaterial
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type TeamMaterialModel = runtime.Types.Result.DefaultSelection<Prisma.$TeamMaterialPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateTeamMaterial = {
|
|
22
|
+
_count: TeamMaterialCountAggregateOutputType | null
|
|
23
|
+
_avg: TeamMaterialAvgAggregateOutputType | null
|
|
24
|
+
_sum: TeamMaterialSumAggregateOutputType | null
|
|
25
|
+
_min: TeamMaterialMinAggregateOutputType | null
|
|
26
|
+
_max: TeamMaterialMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type TeamMaterialAvgAggregateOutputType = {
|
|
30
|
+
no: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type TeamMaterialSumAggregateOutputType = {
|
|
34
|
+
no: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type TeamMaterialMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
no: number | null
|
|
40
|
+
materialId: string | null
|
|
41
|
+
teamId: string | null
|
|
42
|
+
quantityAdded: string | null
|
|
43
|
+
quantityUsed: string | null
|
|
44
|
+
quantityRemaining: string | null
|
|
45
|
+
status: string | null
|
|
46
|
+
type: string | null
|
|
47
|
+
createdAt: Date | null
|
|
48
|
+
updatedAt: Date | null
|
|
49
|
+
deletedAt: Date | null
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export type TeamMaterialMaxAggregateOutputType = {
|
|
53
|
+
id: string | null
|
|
54
|
+
no: number | null
|
|
55
|
+
materialId: string | null
|
|
56
|
+
teamId: string | null
|
|
57
|
+
quantityAdded: string | null
|
|
58
|
+
quantityUsed: string | null
|
|
59
|
+
quantityRemaining: string | null
|
|
60
|
+
status: string | null
|
|
61
|
+
type: string | null
|
|
62
|
+
createdAt: Date | null
|
|
63
|
+
updatedAt: Date | null
|
|
64
|
+
deletedAt: Date | null
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type TeamMaterialCountAggregateOutputType = {
|
|
68
|
+
id: number
|
|
69
|
+
no: number
|
|
70
|
+
materialId: number
|
|
71
|
+
teamId: number
|
|
72
|
+
quantityAdded: number
|
|
73
|
+
quantityUsed: number
|
|
74
|
+
quantityRemaining: number
|
|
75
|
+
status: number
|
|
76
|
+
type: number
|
|
77
|
+
createdAt: number
|
|
78
|
+
updatedAt: number
|
|
79
|
+
deletedAt: number
|
|
80
|
+
_all: number
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
export type TeamMaterialAvgAggregateInputType = {
|
|
85
|
+
no?: true
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export type TeamMaterialSumAggregateInputType = {
|
|
89
|
+
no?: true
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export type TeamMaterialMinAggregateInputType = {
|
|
93
|
+
id?: true
|
|
94
|
+
no?: true
|
|
95
|
+
materialId?: true
|
|
96
|
+
teamId?: true
|
|
97
|
+
quantityAdded?: true
|
|
98
|
+
quantityUsed?: true
|
|
99
|
+
quantityRemaining?: true
|
|
100
|
+
status?: true
|
|
101
|
+
type?: true
|
|
102
|
+
createdAt?: true
|
|
103
|
+
updatedAt?: true
|
|
104
|
+
deletedAt?: true
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export type TeamMaterialMaxAggregateInputType = {
|
|
108
|
+
id?: true
|
|
109
|
+
no?: true
|
|
110
|
+
materialId?: true
|
|
111
|
+
teamId?: true
|
|
112
|
+
quantityAdded?: true
|
|
113
|
+
quantityUsed?: true
|
|
114
|
+
quantityRemaining?: true
|
|
115
|
+
status?: true
|
|
116
|
+
type?: true
|
|
117
|
+
createdAt?: true
|
|
118
|
+
updatedAt?: true
|
|
119
|
+
deletedAt?: true
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export type TeamMaterialCountAggregateInputType = {
|
|
123
|
+
id?: true
|
|
124
|
+
no?: true
|
|
125
|
+
materialId?: true
|
|
126
|
+
teamId?: true
|
|
127
|
+
quantityAdded?: true
|
|
128
|
+
quantityUsed?: true
|
|
129
|
+
quantityRemaining?: true
|
|
130
|
+
status?: true
|
|
131
|
+
type?: true
|
|
132
|
+
createdAt?: true
|
|
133
|
+
updatedAt?: true
|
|
134
|
+
deletedAt?: true
|
|
135
|
+
_all?: true
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type TeamMaterialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
/**
|
|
140
|
+
* Filter which TeamMaterial to aggregate.
|
|
141
|
+
*/
|
|
142
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
145
|
+
*
|
|
146
|
+
* Determine the order of TeamMaterials to fetch.
|
|
147
|
+
*/
|
|
148
|
+
orderBy?: Prisma.TeamMaterialOrderByWithRelationInput | Prisma.TeamMaterialOrderByWithRelationInput[]
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
151
|
+
*
|
|
152
|
+
* Sets the start position
|
|
153
|
+
*/
|
|
154
|
+
cursor?: Prisma.TeamMaterialWhereUniqueInput
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
+
*
|
|
158
|
+
* Take `±n` TeamMaterials from the position of the cursor.
|
|
159
|
+
*/
|
|
160
|
+
take?: number
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
163
|
+
*
|
|
164
|
+
* Skip the first `n` TeamMaterials.
|
|
165
|
+
*/
|
|
166
|
+
skip?: number
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Count returned TeamMaterials
|
|
171
|
+
**/
|
|
172
|
+
_count?: true | TeamMaterialCountAggregateInputType
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to average
|
|
177
|
+
**/
|
|
178
|
+
_avg?: TeamMaterialAvgAggregateInputType
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to sum
|
|
183
|
+
**/
|
|
184
|
+
_sum?: TeamMaterialSumAggregateInputType
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
+
*
|
|
188
|
+
* Select which fields to find the minimum value
|
|
189
|
+
**/
|
|
190
|
+
_min?: TeamMaterialMinAggregateInputType
|
|
191
|
+
/**
|
|
192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
193
|
+
*
|
|
194
|
+
* Select which fields to find the maximum value
|
|
195
|
+
**/
|
|
196
|
+
_max?: TeamMaterialMaxAggregateInputType
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type GetTeamMaterialAggregateType<T extends TeamMaterialAggregateArgs> = {
|
|
200
|
+
[P in keyof T & keyof AggregateTeamMaterial]: P extends '_count' | 'count'
|
|
201
|
+
? T[P] extends true
|
|
202
|
+
? number
|
|
203
|
+
: Prisma.GetScalarType<T[P], AggregateTeamMaterial[P]>
|
|
204
|
+
: Prisma.GetScalarType<T[P], AggregateTeamMaterial[P]>
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
export type TeamMaterialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
211
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
212
|
+
orderBy?: Prisma.TeamMaterialOrderByWithAggregationInput | Prisma.TeamMaterialOrderByWithAggregationInput[]
|
|
213
|
+
by: Prisma.TeamMaterialScalarFieldEnum[] | Prisma.TeamMaterialScalarFieldEnum
|
|
214
|
+
having?: Prisma.TeamMaterialScalarWhereWithAggregatesInput
|
|
215
|
+
take?: number
|
|
216
|
+
skip?: number
|
|
217
|
+
_count?: TeamMaterialCountAggregateInputType | true
|
|
218
|
+
_avg?: TeamMaterialAvgAggregateInputType
|
|
219
|
+
_sum?: TeamMaterialSumAggregateInputType
|
|
220
|
+
_min?: TeamMaterialMinAggregateInputType
|
|
221
|
+
_max?: TeamMaterialMaxAggregateInputType
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type TeamMaterialGroupByOutputType = {
|
|
225
|
+
id: string
|
|
226
|
+
no: number
|
|
227
|
+
materialId: string
|
|
228
|
+
teamId: string
|
|
229
|
+
quantityAdded: string
|
|
230
|
+
quantityUsed: string
|
|
231
|
+
quantityRemaining: string
|
|
232
|
+
status: string
|
|
233
|
+
type: string
|
|
234
|
+
createdAt: Date
|
|
235
|
+
updatedAt: Date
|
|
236
|
+
deletedAt: Date | null
|
|
237
|
+
_count: TeamMaterialCountAggregateOutputType | null
|
|
238
|
+
_avg: TeamMaterialAvgAggregateOutputType | null
|
|
239
|
+
_sum: TeamMaterialSumAggregateOutputType | null
|
|
240
|
+
_min: TeamMaterialMinAggregateOutputType | null
|
|
241
|
+
_max: TeamMaterialMaxAggregateOutputType | null
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
type GetTeamMaterialGroupByPayload<T extends TeamMaterialGroupByArgs> = Prisma.PrismaPromise<
|
|
245
|
+
Array<
|
|
246
|
+
Prisma.PickEnumerable<TeamMaterialGroupByOutputType, T['by']> &
|
|
247
|
+
{
|
|
248
|
+
[P in ((keyof T) & (keyof TeamMaterialGroupByOutputType))]: P extends '_count'
|
|
249
|
+
? T[P] extends boolean
|
|
250
|
+
? number
|
|
251
|
+
: Prisma.GetScalarType<T[P], TeamMaterialGroupByOutputType[P]>
|
|
252
|
+
: Prisma.GetScalarType<T[P], TeamMaterialGroupByOutputType[P]>
|
|
253
|
+
}
|
|
254
|
+
>
|
|
255
|
+
>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
export type TeamMaterialWhereInput = {
|
|
260
|
+
AND?: Prisma.TeamMaterialWhereInput | Prisma.TeamMaterialWhereInput[]
|
|
261
|
+
OR?: Prisma.TeamMaterialWhereInput[]
|
|
262
|
+
NOT?: Prisma.TeamMaterialWhereInput | Prisma.TeamMaterialWhereInput[]
|
|
263
|
+
id?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
264
|
+
no?: Prisma.IntFilter<"TeamMaterial"> | number
|
|
265
|
+
materialId?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
266
|
+
teamId?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
267
|
+
quantityAdded?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
268
|
+
quantityUsed?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
269
|
+
quantityRemaining?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
270
|
+
status?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
271
|
+
type?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
272
|
+
createdAt?: Prisma.DateTimeFilter<"TeamMaterial"> | Date | string
|
|
273
|
+
updatedAt?: Prisma.DateTimeFilter<"TeamMaterial"> | Date | string
|
|
274
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"TeamMaterial"> | Date | string | null
|
|
275
|
+
material?: Prisma.XOR<Prisma.DispatchMaterialScalarRelationFilter, Prisma.DispatchMaterialWhereInput>
|
|
276
|
+
team?: Prisma.XOR<Prisma.DispatchTeamScalarRelationFilter, Prisma.DispatchTeamWhereInput>
|
|
277
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogListRelationFilter
|
|
278
|
+
dispatchProject?: Prisma.DispatchProjectListRelationFilter
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export type TeamMaterialOrderByWithRelationInput = {
|
|
282
|
+
id?: Prisma.SortOrder
|
|
283
|
+
no?: Prisma.SortOrder
|
|
284
|
+
materialId?: Prisma.SortOrder
|
|
285
|
+
teamId?: Prisma.SortOrder
|
|
286
|
+
quantityAdded?: Prisma.SortOrder
|
|
287
|
+
quantityUsed?: Prisma.SortOrder
|
|
288
|
+
quantityRemaining?: Prisma.SortOrder
|
|
289
|
+
status?: Prisma.SortOrder
|
|
290
|
+
type?: Prisma.SortOrder
|
|
291
|
+
createdAt?: Prisma.SortOrder
|
|
292
|
+
updatedAt?: Prisma.SortOrder
|
|
293
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
294
|
+
material?: Prisma.DispatchMaterialOrderByWithRelationInput
|
|
295
|
+
team?: Prisma.DispatchTeamOrderByWithRelationInput
|
|
296
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogOrderByRelationAggregateInput
|
|
297
|
+
dispatchProject?: Prisma.DispatchProjectOrderByRelationAggregateInput
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type TeamMaterialWhereUniqueInput = Prisma.AtLeast<{
|
|
301
|
+
id?: string
|
|
302
|
+
AND?: Prisma.TeamMaterialWhereInput | Prisma.TeamMaterialWhereInput[]
|
|
303
|
+
OR?: Prisma.TeamMaterialWhereInput[]
|
|
304
|
+
NOT?: Prisma.TeamMaterialWhereInput | Prisma.TeamMaterialWhereInput[]
|
|
305
|
+
no?: Prisma.IntFilter<"TeamMaterial"> | number
|
|
306
|
+
materialId?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
307
|
+
teamId?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
308
|
+
quantityAdded?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
309
|
+
quantityUsed?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
310
|
+
quantityRemaining?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
311
|
+
status?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
312
|
+
type?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
313
|
+
createdAt?: Prisma.DateTimeFilter<"TeamMaterial"> | Date | string
|
|
314
|
+
updatedAt?: Prisma.DateTimeFilter<"TeamMaterial"> | Date | string
|
|
315
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"TeamMaterial"> | Date | string | null
|
|
316
|
+
material?: Prisma.XOR<Prisma.DispatchMaterialScalarRelationFilter, Prisma.DispatchMaterialWhereInput>
|
|
317
|
+
team?: Prisma.XOR<Prisma.DispatchTeamScalarRelationFilter, Prisma.DispatchTeamWhereInput>
|
|
318
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogListRelationFilter
|
|
319
|
+
dispatchProject?: Prisma.DispatchProjectListRelationFilter
|
|
320
|
+
}, "id" | "id">
|
|
321
|
+
|
|
322
|
+
export type TeamMaterialOrderByWithAggregationInput = {
|
|
323
|
+
id?: Prisma.SortOrder
|
|
324
|
+
no?: Prisma.SortOrder
|
|
325
|
+
materialId?: Prisma.SortOrder
|
|
326
|
+
teamId?: Prisma.SortOrder
|
|
327
|
+
quantityAdded?: Prisma.SortOrder
|
|
328
|
+
quantityUsed?: Prisma.SortOrder
|
|
329
|
+
quantityRemaining?: Prisma.SortOrder
|
|
330
|
+
status?: Prisma.SortOrder
|
|
331
|
+
type?: Prisma.SortOrder
|
|
332
|
+
createdAt?: Prisma.SortOrder
|
|
333
|
+
updatedAt?: Prisma.SortOrder
|
|
334
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
335
|
+
_count?: Prisma.TeamMaterialCountOrderByAggregateInput
|
|
336
|
+
_avg?: Prisma.TeamMaterialAvgOrderByAggregateInput
|
|
337
|
+
_max?: Prisma.TeamMaterialMaxOrderByAggregateInput
|
|
338
|
+
_min?: Prisma.TeamMaterialMinOrderByAggregateInput
|
|
339
|
+
_sum?: Prisma.TeamMaterialSumOrderByAggregateInput
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type TeamMaterialScalarWhereWithAggregatesInput = {
|
|
343
|
+
AND?: Prisma.TeamMaterialScalarWhereWithAggregatesInput | Prisma.TeamMaterialScalarWhereWithAggregatesInput[]
|
|
344
|
+
OR?: Prisma.TeamMaterialScalarWhereWithAggregatesInput[]
|
|
345
|
+
NOT?: Prisma.TeamMaterialScalarWhereWithAggregatesInput | Prisma.TeamMaterialScalarWhereWithAggregatesInput[]
|
|
346
|
+
id?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
347
|
+
no?: Prisma.IntWithAggregatesFilter<"TeamMaterial"> | number
|
|
348
|
+
materialId?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
349
|
+
teamId?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
350
|
+
quantityAdded?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
351
|
+
quantityUsed?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
352
|
+
quantityRemaining?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
353
|
+
status?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
354
|
+
type?: Prisma.StringWithAggregatesFilter<"TeamMaterial"> | string
|
|
355
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TeamMaterial"> | Date | string
|
|
356
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TeamMaterial"> | Date | string
|
|
357
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TeamMaterial"> | Date | string | null
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export type TeamMaterialCreateInput = {
|
|
361
|
+
id?: string
|
|
362
|
+
no?: number
|
|
363
|
+
quantityAdded?: string
|
|
364
|
+
quantityUsed?: string
|
|
365
|
+
quantityRemaining?: string
|
|
366
|
+
status?: string
|
|
367
|
+
type?: string
|
|
368
|
+
createdAt?: Date | string
|
|
369
|
+
updatedAt?: Date | string
|
|
370
|
+
deletedAt?: Date | string | null
|
|
371
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutTeamMaterialInput
|
|
372
|
+
team: Prisma.DispatchTeamCreateNestedOneWithoutTeamMaterialInput
|
|
373
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
374
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutTeamMaterialInput
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export type TeamMaterialUncheckedCreateInput = {
|
|
378
|
+
id?: string
|
|
379
|
+
no?: number
|
|
380
|
+
materialId: string
|
|
381
|
+
teamId: string
|
|
382
|
+
quantityAdded?: string
|
|
383
|
+
quantityUsed?: string
|
|
384
|
+
quantityRemaining?: string
|
|
385
|
+
status?: string
|
|
386
|
+
type?: string
|
|
387
|
+
createdAt?: Date | string
|
|
388
|
+
updatedAt?: Date | string
|
|
389
|
+
deletedAt?: Date | string | null
|
|
390
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
391
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamMaterialInput
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type TeamMaterialUpdateInput = {
|
|
395
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
396
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
397
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
398
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
399
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
400
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
401
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
402
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
403
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
404
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
405
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
406
|
+
team?: Prisma.DispatchTeamUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
407
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
408
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutTeamMaterialNestedInput
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export type TeamMaterialUncheckedUpdateInput = {
|
|
412
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
413
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
414
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
415
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
416
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
417
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
418
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
419
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
420
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
421
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
422
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
423
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
424
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
425
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamMaterialNestedInput
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export type TeamMaterialCreateManyInput = {
|
|
429
|
+
id?: string
|
|
430
|
+
no?: number
|
|
431
|
+
materialId: string
|
|
432
|
+
teamId: string
|
|
433
|
+
quantityAdded?: string
|
|
434
|
+
quantityUsed?: string
|
|
435
|
+
quantityRemaining?: string
|
|
436
|
+
status?: string
|
|
437
|
+
type?: string
|
|
438
|
+
createdAt?: Date | string
|
|
439
|
+
updatedAt?: Date | string
|
|
440
|
+
deletedAt?: Date | string | null
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type TeamMaterialUpdateManyMutationInput = {
|
|
444
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
445
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
446
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
447
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
448
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
449
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
450
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
451
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
452
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
453
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type TeamMaterialUncheckedUpdateManyInput = {
|
|
457
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
458
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
459
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
460
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
461
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
462
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
463
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
464
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
465
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
466
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
467
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
468
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type TeamMaterialListRelationFilter = {
|
|
472
|
+
every?: Prisma.TeamMaterialWhereInput
|
|
473
|
+
some?: Prisma.TeamMaterialWhereInput
|
|
474
|
+
none?: Prisma.TeamMaterialWhereInput
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type TeamMaterialOrderByRelationAggregateInput = {
|
|
478
|
+
_count?: Prisma.SortOrder
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type TeamMaterialCountOrderByAggregateInput = {
|
|
482
|
+
id?: Prisma.SortOrder
|
|
483
|
+
no?: Prisma.SortOrder
|
|
484
|
+
materialId?: Prisma.SortOrder
|
|
485
|
+
teamId?: Prisma.SortOrder
|
|
486
|
+
quantityAdded?: Prisma.SortOrder
|
|
487
|
+
quantityUsed?: Prisma.SortOrder
|
|
488
|
+
quantityRemaining?: Prisma.SortOrder
|
|
489
|
+
status?: Prisma.SortOrder
|
|
490
|
+
type?: Prisma.SortOrder
|
|
491
|
+
createdAt?: Prisma.SortOrder
|
|
492
|
+
updatedAt?: Prisma.SortOrder
|
|
493
|
+
deletedAt?: Prisma.SortOrder
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export type TeamMaterialAvgOrderByAggregateInput = {
|
|
497
|
+
no?: Prisma.SortOrder
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export type TeamMaterialMaxOrderByAggregateInput = {
|
|
501
|
+
id?: Prisma.SortOrder
|
|
502
|
+
no?: Prisma.SortOrder
|
|
503
|
+
materialId?: Prisma.SortOrder
|
|
504
|
+
teamId?: Prisma.SortOrder
|
|
505
|
+
quantityAdded?: Prisma.SortOrder
|
|
506
|
+
quantityUsed?: Prisma.SortOrder
|
|
507
|
+
quantityRemaining?: Prisma.SortOrder
|
|
508
|
+
status?: Prisma.SortOrder
|
|
509
|
+
type?: Prisma.SortOrder
|
|
510
|
+
createdAt?: Prisma.SortOrder
|
|
511
|
+
updatedAt?: Prisma.SortOrder
|
|
512
|
+
deletedAt?: Prisma.SortOrder
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type TeamMaterialMinOrderByAggregateInput = {
|
|
516
|
+
id?: Prisma.SortOrder
|
|
517
|
+
no?: Prisma.SortOrder
|
|
518
|
+
materialId?: Prisma.SortOrder
|
|
519
|
+
teamId?: Prisma.SortOrder
|
|
520
|
+
quantityAdded?: Prisma.SortOrder
|
|
521
|
+
quantityUsed?: Prisma.SortOrder
|
|
522
|
+
quantityRemaining?: Prisma.SortOrder
|
|
523
|
+
status?: Prisma.SortOrder
|
|
524
|
+
type?: Prisma.SortOrder
|
|
525
|
+
createdAt?: Prisma.SortOrder
|
|
526
|
+
updatedAt?: Prisma.SortOrder
|
|
527
|
+
deletedAt?: Prisma.SortOrder
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export type TeamMaterialSumOrderByAggregateInput = {
|
|
531
|
+
no?: Prisma.SortOrder
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
export type TeamMaterialCreateNestedManyWithoutTeamInput = {
|
|
535
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamInput> | Prisma.TeamMaterialCreateWithoutTeamInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamInput[]
|
|
536
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamInput[]
|
|
537
|
+
createMany?: Prisma.TeamMaterialCreateManyTeamInputEnvelope
|
|
538
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export type TeamMaterialUncheckedCreateNestedManyWithoutTeamInput = {
|
|
542
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamInput> | Prisma.TeamMaterialCreateWithoutTeamInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamInput[]
|
|
543
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamInput[]
|
|
544
|
+
createMany?: Prisma.TeamMaterialCreateManyTeamInputEnvelope
|
|
545
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export type TeamMaterialUpdateManyWithoutTeamNestedInput = {
|
|
549
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamInput> | Prisma.TeamMaterialCreateWithoutTeamInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamInput[]
|
|
550
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamInput[]
|
|
551
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamInput[]
|
|
552
|
+
createMany?: Prisma.TeamMaterialCreateManyTeamInputEnvelope
|
|
553
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
554
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
555
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
556
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
557
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamInput[]
|
|
558
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamInput[]
|
|
559
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type TeamMaterialUncheckedUpdateManyWithoutTeamNestedInput = {
|
|
563
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamInput> | Prisma.TeamMaterialCreateWithoutTeamInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamInput[]
|
|
564
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamInput[]
|
|
565
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamInput[]
|
|
566
|
+
createMany?: Prisma.TeamMaterialCreateManyTeamInputEnvelope
|
|
567
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
568
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
569
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
570
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
571
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamInput[]
|
|
572
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamInput[]
|
|
573
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export type TeamMaterialCreateNestedManyWithoutDispatchProjectInput = {
|
|
577
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
578
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
579
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export type TeamMaterialUncheckedCreateNestedManyWithoutDispatchProjectInput = {
|
|
583
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
584
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
585
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type TeamMaterialUpdateManyWithoutDispatchProjectNestedInput = {
|
|
589
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
590
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
591
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
592
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
593
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
594
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
595
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
596
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
597
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
598
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type TeamMaterialUncheckedUpdateManyWithoutDispatchProjectNestedInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput> | Prisma.TeamMaterialCreateWithoutDispatchProjectInput[] | Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput[]
|
|
603
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput | Prisma.TeamMaterialCreateOrConnectWithoutDispatchProjectInput[]
|
|
604
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput[]
|
|
605
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
606
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
607
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
608
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
609
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput[]
|
|
610
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutDispatchProjectInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutDispatchProjectInput[]
|
|
611
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export type TeamMaterialCreateNestedManyWithoutMaterialInput = {
|
|
615
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutMaterialInput, Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialCreateWithoutMaterialInput[] | Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput[]
|
|
616
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput[]
|
|
617
|
+
createMany?: Prisma.TeamMaterialCreateManyMaterialInputEnvelope
|
|
618
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export type TeamMaterialUncheckedCreateNestedManyWithoutMaterialInput = {
|
|
622
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutMaterialInput, Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialCreateWithoutMaterialInput[] | Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput[]
|
|
623
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput[]
|
|
624
|
+
createMany?: Prisma.TeamMaterialCreateManyMaterialInputEnvelope
|
|
625
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
export type TeamMaterialUpdateManyWithoutMaterialNestedInput = {
|
|
629
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutMaterialInput, Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialCreateWithoutMaterialInput[] | Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput[]
|
|
630
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput[]
|
|
631
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
632
|
+
createMany?: Prisma.TeamMaterialCreateManyMaterialInputEnvelope
|
|
633
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
634
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
635
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
636
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
637
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
638
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutMaterialInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutMaterialInput[]
|
|
639
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export type TeamMaterialUncheckedUpdateManyWithoutMaterialNestedInput = {
|
|
643
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutMaterialInput, Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput> | Prisma.TeamMaterialCreateWithoutMaterialInput[] | Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput[]
|
|
644
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput | Prisma.TeamMaterialCreateOrConnectWithoutMaterialInput[]
|
|
645
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutMaterialInput[]
|
|
646
|
+
createMany?: Prisma.TeamMaterialCreateManyMaterialInputEnvelope
|
|
647
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
648
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
649
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
650
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
651
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutMaterialInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutMaterialInput[]
|
|
652
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutMaterialInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutMaterialInput[]
|
|
653
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export type TeamMaterialCreateNestedManyWithoutTeamMaterialMovementLogInput = {
|
|
657
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput> | Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput[]
|
|
658
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput[]
|
|
659
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export type TeamMaterialUncheckedCreateNestedManyWithoutTeamMaterialMovementLogInput = {
|
|
663
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput> | Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput[]
|
|
664
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput[]
|
|
665
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export type TeamMaterialUpdateManyWithoutTeamMaterialMovementLogNestedInput = {
|
|
669
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput> | Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput[]
|
|
670
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput[]
|
|
671
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamMaterialMovementLogInput[]
|
|
672
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
673
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
674
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
675
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
676
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamMaterialMovementLogInput[]
|
|
677
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamMaterialMovementLogInput[]
|
|
678
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
export type TeamMaterialUncheckedUpdateManyWithoutTeamMaterialMovementLogNestedInput = {
|
|
682
|
+
create?: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput> | Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput[] | Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput[]
|
|
683
|
+
connectOrCreate?: Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput[]
|
|
684
|
+
upsert?: Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialUpsertWithWhereUniqueWithoutTeamMaterialMovementLogInput[]
|
|
685
|
+
set?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
686
|
+
disconnect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
687
|
+
delete?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
688
|
+
connect?: Prisma.TeamMaterialWhereUniqueInput | Prisma.TeamMaterialWhereUniqueInput[]
|
|
689
|
+
update?: Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialUpdateWithWhereUniqueWithoutTeamMaterialMovementLogInput[]
|
|
690
|
+
updateMany?: Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamMaterialMovementLogInput | Prisma.TeamMaterialUpdateManyWithWhereWithoutTeamMaterialMovementLogInput[]
|
|
691
|
+
deleteMany?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type TeamMaterialCreateWithoutTeamInput = {
|
|
695
|
+
id?: string
|
|
696
|
+
no?: number
|
|
697
|
+
quantityAdded?: string
|
|
698
|
+
quantityUsed?: string
|
|
699
|
+
quantityRemaining?: string
|
|
700
|
+
status?: string
|
|
701
|
+
type?: string
|
|
702
|
+
createdAt?: Date | string
|
|
703
|
+
updatedAt?: Date | string
|
|
704
|
+
deletedAt?: Date | string | null
|
|
705
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutTeamMaterialInput
|
|
706
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
707
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutTeamMaterialInput
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export type TeamMaterialUncheckedCreateWithoutTeamInput = {
|
|
711
|
+
id?: string
|
|
712
|
+
no?: number
|
|
713
|
+
materialId: string
|
|
714
|
+
quantityAdded?: string
|
|
715
|
+
quantityUsed?: string
|
|
716
|
+
quantityRemaining?: string
|
|
717
|
+
status?: string
|
|
718
|
+
type?: string
|
|
719
|
+
createdAt?: Date | string
|
|
720
|
+
updatedAt?: Date | string
|
|
721
|
+
deletedAt?: Date | string | null
|
|
722
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
723
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamMaterialInput
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export type TeamMaterialCreateOrConnectWithoutTeamInput = {
|
|
727
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
728
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamInput>
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type TeamMaterialCreateManyTeamInputEnvelope = {
|
|
732
|
+
data: Prisma.TeamMaterialCreateManyTeamInput | Prisma.TeamMaterialCreateManyTeamInput[]
|
|
733
|
+
skipDuplicates?: boolean
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type TeamMaterialUpsertWithWhereUniqueWithoutTeamInput = {
|
|
737
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
738
|
+
update: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutTeamInput, Prisma.TeamMaterialUncheckedUpdateWithoutTeamInput>
|
|
739
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamInput>
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type TeamMaterialUpdateWithWhereUniqueWithoutTeamInput = {
|
|
743
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
744
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutTeamInput, Prisma.TeamMaterialUncheckedUpdateWithoutTeamInput>
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export type TeamMaterialUpdateManyWithWhereWithoutTeamInput = {
|
|
748
|
+
where: Prisma.TeamMaterialScalarWhereInput
|
|
749
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateManyMutationInput, Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamInput>
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export type TeamMaterialScalarWhereInput = {
|
|
753
|
+
AND?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
754
|
+
OR?: Prisma.TeamMaterialScalarWhereInput[]
|
|
755
|
+
NOT?: Prisma.TeamMaterialScalarWhereInput | Prisma.TeamMaterialScalarWhereInput[]
|
|
756
|
+
id?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
757
|
+
no?: Prisma.IntFilter<"TeamMaterial"> | number
|
|
758
|
+
materialId?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
759
|
+
teamId?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
760
|
+
quantityAdded?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
761
|
+
quantityUsed?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
762
|
+
quantityRemaining?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
763
|
+
status?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
764
|
+
type?: Prisma.StringFilter<"TeamMaterial"> | string
|
|
765
|
+
createdAt?: Prisma.DateTimeFilter<"TeamMaterial"> | Date | string
|
|
766
|
+
updatedAt?: Prisma.DateTimeFilter<"TeamMaterial"> | Date | string
|
|
767
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"TeamMaterial"> | Date | string | null
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export type TeamMaterialCreateWithoutDispatchProjectInput = {
|
|
771
|
+
id?: string
|
|
772
|
+
no?: number
|
|
773
|
+
quantityAdded?: string
|
|
774
|
+
quantityUsed?: string
|
|
775
|
+
quantityRemaining?: string
|
|
776
|
+
status?: string
|
|
777
|
+
type?: string
|
|
778
|
+
createdAt?: Date | string
|
|
779
|
+
updatedAt?: Date | string
|
|
780
|
+
deletedAt?: Date | string | null
|
|
781
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutTeamMaterialInput
|
|
782
|
+
team: Prisma.DispatchTeamCreateNestedOneWithoutTeamMaterialInput
|
|
783
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export type TeamMaterialUncheckedCreateWithoutDispatchProjectInput = {
|
|
787
|
+
id?: string
|
|
788
|
+
no?: number
|
|
789
|
+
materialId: string
|
|
790
|
+
teamId: string
|
|
791
|
+
quantityAdded?: string
|
|
792
|
+
quantityUsed?: string
|
|
793
|
+
quantityRemaining?: string
|
|
794
|
+
status?: string
|
|
795
|
+
type?: string
|
|
796
|
+
createdAt?: Date | string
|
|
797
|
+
updatedAt?: Date | string
|
|
798
|
+
deletedAt?: Date | string | null
|
|
799
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export type TeamMaterialCreateOrConnectWithoutDispatchProjectInput = {
|
|
803
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
804
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput>
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export type TeamMaterialUpsertWithWhereUniqueWithoutDispatchProjectInput = {
|
|
808
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
809
|
+
update: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedUpdateWithoutDispatchProjectInput>
|
|
810
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedCreateWithoutDispatchProjectInput>
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
export type TeamMaterialUpdateWithWhereUniqueWithoutDispatchProjectInput = {
|
|
814
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
815
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutDispatchProjectInput, Prisma.TeamMaterialUncheckedUpdateWithoutDispatchProjectInput>
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export type TeamMaterialUpdateManyWithWhereWithoutDispatchProjectInput = {
|
|
819
|
+
where: Prisma.TeamMaterialScalarWhereInput
|
|
820
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateManyMutationInput, Prisma.TeamMaterialUncheckedUpdateManyWithoutDispatchProjectInput>
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
export type TeamMaterialCreateWithoutMaterialInput = {
|
|
824
|
+
id?: string
|
|
825
|
+
no?: number
|
|
826
|
+
quantityAdded?: string
|
|
827
|
+
quantityUsed?: string
|
|
828
|
+
quantityRemaining?: string
|
|
829
|
+
status?: string
|
|
830
|
+
type?: string
|
|
831
|
+
createdAt?: Date | string
|
|
832
|
+
updatedAt?: Date | string
|
|
833
|
+
deletedAt?: Date | string | null
|
|
834
|
+
team: Prisma.DispatchTeamCreateNestedOneWithoutTeamMaterialInput
|
|
835
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogCreateNestedManyWithoutMaterialInput
|
|
836
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutTeamMaterialInput
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export type TeamMaterialUncheckedCreateWithoutMaterialInput = {
|
|
840
|
+
id?: string
|
|
841
|
+
no?: number
|
|
842
|
+
teamId: string
|
|
843
|
+
quantityAdded?: string
|
|
844
|
+
quantityUsed?: string
|
|
845
|
+
quantityRemaining?: string
|
|
846
|
+
status?: string
|
|
847
|
+
type?: string
|
|
848
|
+
createdAt?: Date | string
|
|
849
|
+
updatedAt?: Date | string
|
|
850
|
+
deletedAt?: Date | string | null
|
|
851
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedCreateNestedManyWithoutMaterialInput
|
|
852
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamMaterialInput
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export type TeamMaterialCreateOrConnectWithoutMaterialInput = {
|
|
856
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
857
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutMaterialInput, Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput>
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export type TeamMaterialCreateManyMaterialInputEnvelope = {
|
|
861
|
+
data: Prisma.TeamMaterialCreateManyMaterialInput | Prisma.TeamMaterialCreateManyMaterialInput[]
|
|
862
|
+
skipDuplicates?: boolean
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
export type TeamMaterialUpsertWithWhereUniqueWithoutMaterialInput = {
|
|
866
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
867
|
+
update: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutMaterialInput, Prisma.TeamMaterialUncheckedUpdateWithoutMaterialInput>
|
|
868
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutMaterialInput, Prisma.TeamMaterialUncheckedCreateWithoutMaterialInput>
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export type TeamMaterialUpdateWithWhereUniqueWithoutMaterialInput = {
|
|
872
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
873
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutMaterialInput, Prisma.TeamMaterialUncheckedUpdateWithoutMaterialInput>
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
export type TeamMaterialUpdateManyWithWhereWithoutMaterialInput = {
|
|
877
|
+
where: Prisma.TeamMaterialScalarWhereInput
|
|
878
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateManyMutationInput, Prisma.TeamMaterialUncheckedUpdateManyWithoutMaterialInput>
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export type TeamMaterialCreateWithoutTeamMaterialMovementLogInput = {
|
|
882
|
+
id?: string
|
|
883
|
+
no?: number
|
|
884
|
+
quantityAdded?: string
|
|
885
|
+
quantityUsed?: string
|
|
886
|
+
quantityRemaining?: string
|
|
887
|
+
status?: string
|
|
888
|
+
type?: string
|
|
889
|
+
createdAt?: Date | string
|
|
890
|
+
updatedAt?: Date | string
|
|
891
|
+
deletedAt?: Date | string | null
|
|
892
|
+
material: Prisma.DispatchMaterialCreateNestedOneWithoutTeamMaterialInput
|
|
893
|
+
team: Prisma.DispatchTeamCreateNestedOneWithoutTeamMaterialInput
|
|
894
|
+
dispatchProject?: Prisma.DispatchProjectCreateNestedManyWithoutTeamMaterialInput
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
export type TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput = {
|
|
898
|
+
id?: string
|
|
899
|
+
no?: number
|
|
900
|
+
materialId: string
|
|
901
|
+
teamId: string
|
|
902
|
+
quantityAdded?: string
|
|
903
|
+
quantityUsed?: string
|
|
904
|
+
quantityRemaining?: string
|
|
905
|
+
status?: string
|
|
906
|
+
type?: string
|
|
907
|
+
createdAt?: Date | string
|
|
908
|
+
updatedAt?: Date | string
|
|
909
|
+
deletedAt?: Date | string | null
|
|
910
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedCreateNestedManyWithoutTeamMaterialInput
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export type TeamMaterialCreateOrConnectWithoutTeamMaterialMovementLogInput = {
|
|
914
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
915
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput>
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export type TeamMaterialUpsertWithWhereUniqueWithoutTeamMaterialMovementLogInput = {
|
|
919
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
920
|
+
update: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedUpdateWithoutTeamMaterialMovementLogInput>
|
|
921
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedCreateWithoutTeamMaterialMovementLogInput>
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
export type TeamMaterialUpdateWithWhereUniqueWithoutTeamMaterialMovementLogInput = {
|
|
925
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
926
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateWithoutTeamMaterialMovementLogInput, Prisma.TeamMaterialUncheckedUpdateWithoutTeamMaterialMovementLogInput>
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export type TeamMaterialUpdateManyWithWhereWithoutTeamMaterialMovementLogInput = {
|
|
930
|
+
where: Prisma.TeamMaterialScalarWhereInput
|
|
931
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateManyMutationInput, Prisma.TeamMaterialUncheckedUpdateManyWithoutTeamMaterialMovementLogInput>
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
export type TeamMaterialCreateManyTeamInput = {
|
|
935
|
+
id?: string
|
|
936
|
+
no?: number
|
|
937
|
+
materialId: string
|
|
938
|
+
quantityAdded?: string
|
|
939
|
+
quantityUsed?: string
|
|
940
|
+
quantityRemaining?: string
|
|
941
|
+
status?: string
|
|
942
|
+
type?: string
|
|
943
|
+
createdAt?: Date | string
|
|
944
|
+
updatedAt?: Date | string
|
|
945
|
+
deletedAt?: Date | string | null
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export type TeamMaterialUpdateWithoutTeamInput = {
|
|
949
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
950
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
951
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
952
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
953
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
954
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
955
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
956
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
957
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
958
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
959
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
960
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
961
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutTeamMaterialNestedInput
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
export type TeamMaterialUncheckedUpdateWithoutTeamInput = {
|
|
965
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
966
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
967
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
968
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
969
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
970
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
971
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
972
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
973
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
974
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
975
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
976
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
977
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamMaterialNestedInput
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export type TeamMaterialUncheckedUpdateManyWithoutTeamInput = {
|
|
981
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
982
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
983
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
984
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
985
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
986
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
987
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
988
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
989
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
990
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
991
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export type TeamMaterialUpdateWithoutDispatchProjectInput = {
|
|
995
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
996
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
997
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
998
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
999
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1000
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1001
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1002
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1003
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1004
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1005
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
1006
|
+
team?: Prisma.DispatchTeamUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
1007
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
export type TeamMaterialUncheckedUpdateWithoutDispatchProjectInput = {
|
|
1011
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1012
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1013
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1014
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1015
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1016
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1017
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1018
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1019
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1020
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1021
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1022
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1023
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export type TeamMaterialUncheckedUpdateManyWithoutDispatchProjectInput = {
|
|
1027
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1028
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1029
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1030
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1031
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1032
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1033
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1034
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1035
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1036
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1037
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1038
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export type TeamMaterialCreateManyMaterialInput = {
|
|
1042
|
+
id?: string
|
|
1043
|
+
no?: number
|
|
1044
|
+
teamId: string
|
|
1045
|
+
quantityAdded?: string
|
|
1046
|
+
quantityUsed?: string
|
|
1047
|
+
quantityRemaining?: string
|
|
1048
|
+
status?: string
|
|
1049
|
+
type?: string
|
|
1050
|
+
createdAt?: Date | string
|
|
1051
|
+
updatedAt?: Date | string
|
|
1052
|
+
deletedAt?: Date | string | null
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export type TeamMaterialUpdateWithoutMaterialInput = {
|
|
1056
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1057
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1058
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1059
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1060
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1061
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1062
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1063
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1064
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1065
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1066
|
+
team?: Prisma.DispatchTeamUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
1067
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUpdateManyWithoutMaterialNestedInput
|
|
1068
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutTeamMaterialNestedInput
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export type TeamMaterialUncheckedUpdateWithoutMaterialInput = {
|
|
1072
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1073
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1074
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1075
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1076
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1077
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1078
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1079
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1080
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1081
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1082
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1083
|
+
teamMaterialMovementLog?: Prisma.TeamMaterialMovementLogUncheckedUpdateManyWithoutMaterialNestedInput
|
|
1084
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamMaterialNestedInput
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export type TeamMaterialUncheckedUpdateManyWithoutMaterialInput = {
|
|
1088
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1089
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1090
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1091
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1092
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1093
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1094
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1095
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1096
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1097
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1098
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export type TeamMaterialUpdateWithoutTeamMaterialMovementLogInput = {
|
|
1102
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1103
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1104
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1105
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1106
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1107
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1108
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1109
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1110
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1111
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1112
|
+
material?: Prisma.DispatchMaterialUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
1113
|
+
team?: Prisma.DispatchTeamUpdateOneRequiredWithoutTeamMaterialNestedInput
|
|
1114
|
+
dispatchProject?: Prisma.DispatchProjectUpdateManyWithoutTeamMaterialNestedInput
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
export type TeamMaterialUncheckedUpdateWithoutTeamMaterialMovementLogInput = {
|
|
1118
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1119
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1120
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1121
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1122
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1123
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1124
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1125
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1126
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1127
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1128
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1129
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1130
|
+
dispatchProject?: Prisma.DispatchProjectUncheckedUpdateManyWithoutTeamMaterialNestedInput
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
export type TeamMaterialUncheckedUpdateManyWithoutTeamMaterialMovementLogInput = {
|
|
1134
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1135
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1136
|
+
materialId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1137
|
+
teamId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1138
|
+
quantityAdded?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1139
|
+
quantityUsed?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1140
|
+
quantityRemaining?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1141
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1142
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1143
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1144
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1145
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Count Type TeamMaterialCountOutputType
|
|
1151
|
+
*/
|
|
1152
|
+
|
|
1153
|
+
export type TeamMaterialCountOutputType = {
|
|
1154
|
+
teamMaterialMovementLog: number
|
|
1155
|
+
dispatchProject: number
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
export type TeamMaterialCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1159
|
+
teamMaterialMovementLog?: boolean | TeamMaterialCountOutputTypeCountTeamMaterialMovementLogArgs
|
|
1160
|
+
dispatchProject?: boolean | TeamMaterialCountOutputTypeCountDispatchProjectArgs
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* TeamMaterialCountOutputType without action
|
|
1165
|
+
*/
|
|
1166
|
+
export type TeamMaterialCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the TeamMaterialCountOutputType
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.TeamMaterialCountOutputTypeSelect<ExtArgs> | null
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* TeamMaterialCountOutputType without action
|
|
1175
|
+
*/
|
|
1176
|
+
export type TeamMaterialCountOutputTypeCountTeamMaterialMovementLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1177
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* TeamMaterialCountOutputType without action
|
|
1182
|
+
*/
|
|
1183
|
+
export type TeamMaterialCountOutputTypeCountDispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1184
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
export type TeamMaterialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1189
|
+
id?: boolean
|
|
1190
|
+
no?: boolean
|
|
1191
|
+
materialId?: boolean
|
|
1192
|
+
teamId?: boolean
|
|
1193
|
+
quantityAdded?: boolean
|
|
1194
|
+
quantityUsed?: boolean
|
|
1195
|
+
quantityRemaining?: boolean
|
|
1196
|
+
status?: boolean
|
|
1197
|
+
type?: boolean
|
|
1198
|
+
createdAt?: boolean
|
|
1199
|
+
updatedAt?: boolean
|
|
1200
|
+
deletedAt?: boolean
|
|
1201
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1202
|
+
team?: boolean | Prisma.DispatchTeamDefaultArgs<ExtArgs>
|
|
1203
|
+
teamMaterialMovementLog?: boolean | Prisma.TeamMaterial$teamMaterialMovementLogArgs<ExtArgs>
|
|
1204
|
+
dispatchProject?: boolean | Prisma.TeamMaterial$dispatchProjectArgs<ExtArgs>
|
|
1205
|
+
_count?: boolean | Prisma.TeamMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
1206
|
+
}, ExtArgs["result"]["teamMaterial"]>
|
|
1207
|
+
|
|
1208
|
+
export type TeamMaterialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1209
|
+
id?: boolean
|
|
1210
|
+
no?: boolean
|
|
1211
|
+
materialId?: boolean
|
|
1212
|
+
teamId?: boolean
|
|
1213
|
+
quantityAdded?: boolean
|
|
1214
|
+
quantityUsed?: boolean
|
|
1215
|
+
quantityRemaining?: boolean
|
|
1216
|
+
status?: boolean
|
|
1217
|
+
type?: boolean
|
|
1218
|
+
createdAt?: boolean
|
|
1219
|
+
updatedAt?: boolean
|
|
1220
|
+
deletedAt?: boolean
|
|
1221
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1222
|
+
team?: boolean | Prisma.DispatchTeamDefaultArgs<ExtArgs>
|
|
1223
|
+
}, ExtArgs["result"]["teamMaterial"]>
|
|
1224
|
+
|
|
1225
|
+
export type TeamMaterialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1226
|
+
id?: boolean
|
|
1227
|
+
no?: boolean
|
|
1228
|
+
materialId?: boolean
|
|
1229
|
+
teamId?: boolean
|
|
1230
|
+
quantityAdded?: boolean
|
|
1231
|
+
quantityUsed?: boolean
|
|
1232
|
+
quantityRemaining?: boolean
|
|
1233
|
+
status?: boolean
|
|
1234
|
+
type?: boolean
|
|
1235
|
+
createdAt?: boolean
|
|
1236
|
+
updatedAt?: boolean
|
|
1237
|
+
deletedAt?: boolean
|
|
1238
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1239
|
+
team?: boolean | Prisma.DispatchTeamDefaultArgs<ExtArgs>
|
|
1240
|
+
}, ExtArgs["result"]["teamMaterial"]>
|
|
1241
|
+
|
|
1242
|
+
export type TeamMaterialSelectScalar = {
|
|
1243
|
+
id?: boolean
|
|
1244
|
+
no?: boolean
|
|
1245
|
+
materialId?: boolean
|
|
1246
|
+
teamId?: boolean
|
|
1247
|
+
quantityAdded?: boolean
|
|
1248
|
+
quantityUsed?: boolean
|
|
1249
|
+
quantityRemaining?: boolean
|
|
1250
|
+
status?: boolean
|
|
1251
|
+
type?: boolean
|
|
1252
|
+
createdAt?: boolean
|
|
1253
|
+
updatedAt?: boolean
|
|
1254
|
+
deletedAt?: boolean
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
export type TeamMaterialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "materialId" | "teamId" | "quantityAdded" | "quantityUsed" | "quantityRemaining" | "status" | "type" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["teamMaterial"]>
|
|
1258
|
+
export type TeamMaterialInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1259
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1260
|
+
team?: boolean | Prisma.DispatchTeamDefaultArgs<ExtArgs>
|
|
1261
|
+
teamMaterialMovementLog?: boolean | Prisma.TeamMaterial$teamMaterialMovementLogArgs<ExtArgs>
|
|
1262
|
+
dispatchProject?: boolean | Prisma.TeamMaterial$dispatchProjectArgs<ExtArgs>
|
|
1263
|
+
_count?: boolean | Prisma.TeamMaterialCountOutputTypeDefaultArgs<ExtArgs>
|
|
1264
|
+
}
|
|
1265
|
+
export type TeamMaterialIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1266
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1267
|
+
team?: boolean | Prisma.DispatchTeamDefaultArgs<ExtArgs>
|
|
1268
|
+
}
|
|
1269
|
+
export type TeamMaterialIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1270
|
+
material?: boolean | Prisma.DispatchMaterialDefaultArgs<ExtArgs>
|
|
1271
|
+
team?: boolean | Prisma.DispatchTeamDefaultArgs<ExtArgs>
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export type $TeamMaterialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1275
|
+
name: "TeamMaterial"
|
|
1276
|
+
objects: {
|
|
1277
|
+
material: Prisma.$DispatchMaterialPayload<ExtArgs>
|
|
1278
|
+
team: Prisma.$DispatchTeamPayload<ExtArgs>
|
|
1279
|
+
teamMaterialMovementLog: Prisma.$TeamMaterialMovementLogPayload<ExtArgs>[]
|
|
1280
|
+
dispatchProject: Prisma.$DispatchProjectPayload<ExtArgs>[]
|
|
1281
|
+
}
|
|
1282
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1283
|
+
id: string
|
|
1284
|
+
no: number
|
|
1285
|
+
materialId: string
|
|
1286
|
+
teamId: string
|
|
1287
|
+
quantityAdded: string
|
|
1288
|
+
quantityUsed: string
|
|
1289
|
+
quantityRemaining: string
|
|
1290
|
+
status: string
|
|
1291
|
+
type: string
|
|
1292
|
+
createdAt: Date
|
|
1293
|
+
updatedAt: Date
|
|
1294
|
+
deletedAt: Date | null
|
|
1295
|
+
}, ExtArgs["result"]["teamMaterial"]>
|
|
1296
|
+
composites: {}
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
export type TeamMaterialGetPayload<S extends boolean | null | undefined | TeamMaterialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload, S>
|
|
1300
|
+
|
|
1301
|
+
export type TeamMaterialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1302
|
+
Omit<TeamMaterialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1303
|
+
select?: TeamMaterialCountAggregateInputType | true
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
export interface TeamMaterialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1307
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TeamMaterial'], meta: { name: 'TeamMaterial' } }
|
|
1308
|
+
/**
|
|
1309
|
+
* Find zero or one TeamMaterial that matches the filter.
|
|
1310
|
+
* @param {TeamMaterialFindUniqueArgs} args - Arguments to find a TeamMaterial
|
|
1311
|
+
* @example
|
|
1312
|
+
* // Get one TeamMaterial
|
|
1313
|
+
* const teamMaterial = await prisma.teamMaterial.findUnique({
|
|
1314
|
+
* where: {
|
|
1315
|
+
* // ... provide filter here
|
|
1316
|
+
* }
|
|
1317
|
+
* })
|
|
1318
|
+
*/
|
|
1319
|
+
findUnique<T extends TeamMaterialFindUniqueArgs>(args: Prisma.SelectSubset<T, TeamMaterialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* Find one TeamMaterial that matches the filter or throw an error with `error.code='P2025'`
|
|
1323
|
+
* if no matches were found.
|
|
1324
|
+
* @param {TeamMaterialFindUniqueOrThrowArgs} args - Arguments to find a TeamMaterial
|
|
1325
|
+
* @example
|
|
1326
|
+
* // Get one TeamMaterial
|
|
1327
|
+
* const teamMaterial = await prisma.teamMaterial.findUniqueOrThrow({
|
|
1328
|
+
* where: {
|
|
1329
|
+
* // ... provide filter here
|
|
1330
|
+
* }
|
|
1331
|
+
* })
|
|
1332
|
+
*/
|
|
1333
|
+
findUniqueOrThrow<T extends TeamMaterialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TeamMaterialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Find the first TeamMaterial that matches the filter.
|
|
1337
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1338
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1339
|
+
* @param {TeamMaterialFindFirstArgs} args - Arguments to find a TeamMaterial
|
|
1340
|
+
* @example
|
|
1341
|
+
* // Get one TeamMaterial
|
|
1342
|
+
* const teamMaterial = await prisma.teamMaterial.findFirst({
|
|
1343
|
+
* where: {
|
|
1344
|
+
* // ... provide filter here
|
|
1345
|
+
* }
|
|
1346
|
+
* })
|
|
1347
|
+
*/
|
|
1348
|
+
findFirst<T extends TeamMaterialFindFirstArgs>(args?: Prisma.SelectSubset<T, TeamMaterialFindFirstArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Find the first TeamMaterial that matches the filter or
|
|
1352
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1353
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1354
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1355
|
+
* @param {TeamMaterialFindFirstOrThrowArgs} args - Arguments to find a TeamMaterial
|
|
1356
|
+
* @example
|
|
1357
|
+
* // Get one TeamMaterial
|
|
1358
|
+
* const teamMaterial = await prisma.teamMaterial.findFirstOrThrow({
|
|
1359
|
+
* where: {
|
|
1360
|
+
* // ... provide filter here
|
|
1361
|
+
* }
|
|
1362
|
+
* })
|
|
1363
|
+
*/
|
|
1364
|
+
findFirstOrThrow<T extends TeamMaterialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TeamMaterialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Find zero or more TeamMaterials that matches the filter.
|
|
1368
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1369
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1370
|
+
* @param {TeamMaterialFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1371
|
+
* @example
|
|
1372
|
+
* // Get all TeamMaterials
|
|
1373
|
+
* const teamMaterials = await prisma.teamMaterial.findMany()
|
|
1374
|
+
*
|
|
1375
|
+
* // Get first 10 TeamMaterials
|
|
1376
|
+
* const teamMaterials = await prisma.teamMaterial.findMany({ take: 10 })
|
|
1377
|
+
*
|
|
1378
|
+
* // Only select the `id`
|
|
1379
|
+
* const teamMaterialWithIdOnly = await prisma.teamMaterial.findMany({ select: { id: true } })
|
|
1380
|
+
*
|
|
1381
|
+
*/
|
|
1382
|
+
findMany<T extends TeamMaterialFindManyArgs>(args?: Prisma.SelectSubset<T, TeamMaterialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Create a TeamMaterial.
|
|
1386
|
+
* @param {TeamMaterialCreateArgs} args - Arguments to create a TeamMaterial.
|
|
1387
|
+
* @example
|
|
1388
|
+
* // Create one TeamMaterial
|
|
1389
|
+
* const TeamMaterial = await prisma.teamMaterial.create({
|
|
1390
|
+
* data: {
|
|
1391
|
+
* // ... data to create a TeamMaterial
|
|
1392
|
+
* }
|
|
1393
|
+
* })
|
|
1394
|
+
*
|
|
1395
|
+
*/
|
|
1396
|
+
create<T extends TeamMaterialCreateArgs>(args: Prisma.SelectSubset<T, TeamMaterialCreateArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* Create many TeamMaterials.
|
|
1400
|
+
* @param {TeamMaterialCreateManyArgs} args - Arguments to create many TeamMaterials.
|
|
1401
|
+
* @example
|
|
1402
|
+
* // Create many TeamMaterials
|
|
1403
|
+
* const teamMaterial = await prisma.teamMaterial.createMany({
|
|
1404
|
+
* data: [
|
|
1405
|
+
* // ... provide data here
|
|
1406
|
+
* ]
|
|
1407
|
+
* })
|
|
1408
|
+
*
|
|
1409
|
+
*/
|
|
1410
|
+
createMany<T extends TeamMaterialCreateManyArgs>(args?: Prisma.SelectSubset<T, TeamMaterialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Create many TeamMaterials and returns the data saved in the database.
|
|
1414
|
+
* @param {TeamMaterialCreateManyAndReturnArgs} args - Arguments to create many TeamMaterials.
|
|
1415
|
+
* @example
|
|
1416
|
+
* // Create many TeamMaterials
|
|
1417
|
+
* const teamMaterial = await prisma.teamMaterial.createManyAndReturn({
|
|
1418
|
+
* data: [
|
|
1419
|
+
* // ... provide data here
|
|
1420
|
+
* ]
|
|
1421
|
+
* })
|
|
1422
|
+
*
|
|
1423
|
+
* // Create many TeamMaterials and only return the `id`
|
|
1424
|
+
* const teamMaterialWithIdOnly = await prisma.teamMaterial.createManyAndReturn({
|
|
1425
|
+
* select: { id: true },
|
|
1426
|
+
* data: [
|
|
1427
|
+
* // ... provide data here
|
|
1428
|
+
* ]
|
|
1429
|
+
* })
|
|
1430
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1431
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1432
|
+
*
|
|
1433
|
+
*/
|
|
1434
|
+
createManyAndReturn<T extends TeamMaterialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TeamMaterialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* Delete a TeamMaterial.
|
|
1438
|
+
* @param {TeamMaterialDeleteArgs} args - Arguments to delete one TeamMaterial.
|
|
1439
|
+
* @example
|
|
1440
|
+
* // Delete one TeamMaterial
|
|
1441
|
+
* const TeamMaterial = await prisma.teamMaterial.delete({
|
|
1442
|
+
* where: {
|
|
1443
|
+
* // ... filter to delete one TeamMaterial
|
|
1444
|
+
* }
|
|
1445
|
+
* })
|
|
1446
|
+
*
|
|
1447
|
+
*/
|
|
1448
|
+
delete<T extends TeamMaterialDeleteArgs>(args: Prisma.SelectSubset<T, TeamMaterialDeleteArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* Update one TeamMaterial.
|
|
1452
|
+
* @param {TeamMaterialUpdateArgs} args - Arguments to update one TeamMaterial.
|
|
1453
|
+
* @example
|
|
1454
|
+
* // Update one TeamMaterial
|
|
1455
|
+
* const teamMaterial = await prisma.teamMaterial.update({
|
|
1456
|
+
* where: {
|
|
1457
|
+
* // ... provide filter here
|
|
1458
|
+
* },
|
|
1459
|
+
* data: {
|
|
1460
|
+
* // ... provide data here
|
|
1461
|
+
* }
|
|
1462
|
+
* })
|
|
1463
|
+
*
|
|
1464
|
+
*/
|
|
1465
|
+
update<T extends TeamMaterialUpdateArgs>(args: Prisma.SelectSubset<T, TeamMaterialUpdateArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Delete zero or more TeamMaterials.
|
|
1469
|
+
* @param {TeamMaterialDeleteManyArgs} args - Arguments to filter TeamMaterials to delete.
|
|
1470
|
+
* @example
|
|
1471
|
+
* // Delete a few TeamMaterials
|
|
1472
|
+
* const { count } = await prisma.teamMaterial.deleteMany({
|
|
1473
|
+
* where: {
|
|
1474
|
+
* // ... provide filter here
|
|
1475
|
+
* }
|
|
1476
|
+
* })
|
|
1477
|
+
*
|
|
1478
|
+
*/
|
|
1479
|
+
deleteMany<T extends TeamMaterialDeleteManyArgs>(args?: Prisma.SelectSubset<T, TeamMaterialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Update zero or more TeamMaterials.
|
|
1483
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1484
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1485
|
+
* @param {TeamMaterialUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1486
|
+
* @example
|
|
1487
|
+
* // Update many TeamMaterials
|
|
1488
|
+
* const teamMaterial = await prisma.teamMaterial.updateMany({
|
|
1489
|
+
* where: {
|
|
1490
|
+
* // ... provide filter here
|
|
1491
|
+
* },
|
|
1492
|
+
* data: {
|
|
1493
|
+
* // ... provide data here
|
|
1494
|
+
* }
|
|
1495
|
+
* })
|
|
1496
|
+
*
|
|
1497
|
+
*/
|
|
1498
|
+
updateMany<T extends TeamMaterialUpdateManyArgs>(args: Prisma.SelectSubset<T, TeamMaterialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Update zero or more TeamMaterials and returns the data updated in the database.
|
|
1502
|
+
* @param {TeamMaterialUpdateManyAndReturnArgs} args - Arguments to update many TeamMaterials.
|
|
1503
|
+
* @example
|
|
1504
|
+
* // Update many TeamMaterials
|
|
1505
|
+
* const teamMaterial = await prisma.teamMaterial.updateManyAndReturn({
|
|
1506
|
+
* where: {
|
|
1507
|
+
* // ... provide filter here
|
|
1508
|
+
* },
|
|
1509
|
+
* data: [
|
|
1510
|
+
* // ... provide data here
|
|
1511
|
+
* ]
|
|
1512
|
+
* })
|
|
1513
|
+
*
|
|
1514
|
+
* // Update zero or more TeamMaterials and only return the `id`
|
|
1515
|
+
* const teamMaterialWithIdOnly = await prisma.teamMaterial.updateManyAndReturn({
|
|
1516
|
+
* select: { id: true },
|
|
1517
|
+
* where: {
|
|
1518
|
+
* // ... provide filter here
|
|
1519
|
+
* },
|
|
1520
|
+
* data: [
|
|
1521
|
+
* // ... provide data here
|
|
1522
|
+
* ]
|
|
1523
|
+
* })
|
|
1524
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1525
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1526
|
+
*
|
|
1527
|
+
*/
|
|
1528
|
+
updateManyAndReturn<T extends TeamMaterialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TeamMaterialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Create or update one TeamMaterial.
|
|
1532
|
+
* @param {TeamMaterialUpsertArgs} args - Arguments to update or create a TeamMaterial.
|
|
1533
|
+
* @example
|
|
1534
|
+
* // Update or create a TeamMaterial
|
|
1535
|
+
* const teamMaterial = await prisma.teamMaterial.upsert({
|
|
1536
|
+
* create: {
|
|
1537
|
+
* // ... data to create a TeamMaterial
|
|
1538
|
+
* },
|
|
1539
|
+
* update: {
|
|
1540
|
+
* // ... in case it already exists, update
|
|
1541
|
+
* },
|
|
1542
|
+
* where: {
|
|
1543
|
+
* // ... the filter for the TeamMaterial we want to update
|
|
1544
|
+
* }
|
|
1545
|
+
* })
|
|
1546
|
+
*/
|
|
1547
|
+
upsert<T extends TeamMaterialUpsertArgs>(args: Prisma.SelectSubset<T, TeamMaterialUpsertArgs<ExtArgs>>): Prisma.Prisma__TeamMaterialClient<runtime.Types.Result.GetResult<Prisma.$TeamMaterialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Count the number of TeamMaterials.
|
|
1552
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1553
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1554
|
+
* @param {TeamMaterialCountArgs} args - Arguments to filter TeamMaterials to count.
|
|
1555
|
+
* @example
|
|
1556
|
+
* // Count the number of TeamMaterials
|
|
1557
|
+
* const count = await prisma.teamMaterial.count({
|
|
1558
|
+
* where: {
|
|
1559
|
+
* // ... the filter for the TeamMaterials we want to count
|
|
1560
|
+
* }
|
|
1561
|
+
* })
|
|
1562
|
+
**/
|
|
1563
|
+
count<T extends TeamMaterialCountArgs>(
|
|
1564
|
+
args?: Prisma.Subset<T, TeamMaterialCountArgs>,
|
|
1565
|
+
): Prisma.PrismaPromise<
|
|
1566
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1567
|
+
? T['select'] extends true
|
|
1568
|
+
? number
|
|
1569
|
+
: Prisma.GetScalarType<T['select'], TeamMaterialCountAggregateOutputType>
|
|
1570
|
+
: number
|
|
1571
|
+
>
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Allows you to perform aggregations operations on a TeamMaterial.
|
|
1575
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1576
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1577
|
+
* @param {TeamMaterialAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1578
|
+
* @example
|
|
1579
|
+
* // Ordered by age ascending
|
|
1580
|
+
* // Where email contains prisma.io
|
|
1581
|
+
* // Limited to the 10 users
|
|
1582
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1583
|
+
* _avg: {
|
|
1584
|
+
* age: true,
|
|
1585
|
+
* },
|
|
1586
|
+
* where: {
|
|
1587
|
+
* email: {
|
|
1588
|
+
* contains: "prisma.io",
|
|
1589
|
+
* },
|
|
1590
|
+
* },
|
|
1591
|
+
* orderBy: {
|
|
1592
|
+
* age: "asc",
|
|
1593
|
+
* },
|
|
1594
|
+
* take: 10,
|
|
1595
|
+
* })
|
|
1596
|
+
**/
|
|
1597
|
+
aggregate<T extends TeamMaterialAggregateArgs>(args: Prisma.Subset<T, TeamMaterialAggregateArgs>): Prisma.PrismaPromise<GetTeamMaterialAggregateType<T>>
|
|
1598
|
+
|
|
1599
|
+
/**
|
|
1600
|
+
* Group by TeamMaterial.
|
|
1601
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1602
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1603
|
+
* @param {TeamMaterialGroupByArgs} args - Group by arguments.
|
|
1604
|
+
* @example
|
|
1605
|
+
* // Group by city, order by createdAt, get count
|
|
1606
|
+
* const result = await prisma.user.groupBy({
|
|
1607
|
+
* by: ['city', 'createdAt'],
|
|
1608
|
+
* orderBy: {
|
|
1609
|
+
* createdAt: true
|
|
1610
|
+
* },
|
|
1611
|
+
* _count: {
|
|
1612
|
+
* _all: true
|
|
1613
|
+
* },
|
|
1614
|
+
* })
|
|
1615
|
+
*
|
|
1616
|
+
**/
|
|
1617
|
+
groupBy<
|
|
1618
|
+
T extends TeamMaterialGroupByArgs,
|
|
1619
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1620
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1621
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1622
|
+
>,
|
|
1623
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1624
|
+
? { orderBy: TeamMaterialGroupByArgs['orderBy'] }
|
|
1625
|
+
: { orderBy?: TeamMaterialGroupByArgs['orderBy'] },
|
|
1626
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1627
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1628
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1629
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1630
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1631
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1632
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1633
|
+
? `Error: "by" must not be empty.`
|
|
1634
|
+
: HavingValid extends Prisma.False
|
|
1635
|
+
? {
|
|
1636
|
+
[P in HavingFields]: P extends ByFields
|
|
1637
|
+
? never
|
|
1638
|
+
: P extends string
|
|
1639
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1640
|
+
: [
|
|
1641
|
+
Error,
|
|
1642
|
+
'Field ',
|
|
1643
|
+
P,
|
|
1644
|
+
` in "having" needs to be provided in "by"`,
|
|
1645
|
+
]
|
|
1646
|
+
}[HavingFields]
|
|
1647
|
+
: 'take' extends Prisma.Keys<T>
|
|
1648
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1649
|
+
? ByValid extends Prisma.True
|
|
1650
|
+
? {}
|
|
1651
|
+
: {
|
|
1652
|
+
[P in OrderFields]: P extends ByFields
|
|
1653
|
+
? never
|
|
1654
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1655
|
+
}[OrderFields]
|
|
1656
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1657
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1658
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1659
|
+
? ByValid extends Prisma.True
|
|
1660
|
+
? {}
|
|
1661
|
+
: {
|
|
1662
|
+
[P in OrderFields]: P extends ByFields
|
|
1663
|
+
? never
|
|
1664
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1665
|
+
}[OrderFields]
|
|
1666
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1667
|
+
: ByValid extends Prisma.True
|
|
1668
|
+
? {}
|
|
1669
|
+
: {
|
|
1670
|
+
[P in OrderFields]: P extends ByFields
|
|
1671
|
+
? never
|
|
1672
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1673
|
+
}[OrderFields]
|
|
1674
|
+
>(args: Prisma.SubsetIntersection<T, TeamMaterialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTeamMaterialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1675
|
+
/**
|
|
1676
|
+
* Fields of the TeamMaterial model
|
|
1677
|
+
*/
|
|
1678
|
+
readonly fields: TeamMaterialFieldRefs;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* The delegate class that acts as a "Promise-like" for TeamMaterial.
|
|
1683
|
+
* Why is this prefixed with `Prisma__`?
|
|
1684
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1685
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1686
|
+
*/
|
|
1687
|
+
export interface Prisma__TeamMaterialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1688
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1689
|
+
material<T extends Prisma.DispatchMaterialDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchMaterialDefaultArgs<ExtArgs>>): Prisma.Prisma__DispatchMaterialClient<runtime.Types.Result.GetResult<Prisma.$DispatchMaterialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1690
|
+
team<T extends Prisma.DispatchTeamDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DispatchTeamDefaultArgs<ExtArgs>>): Prisma.Prisma__DispatchTeamClient<runtime.Types.Result.GetResult<Prisma.$DispatchTeamPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1691
|
+
teamMaterialMovementLog<T extends Prisma.TeamMaterial$teamMaterialMovementLogArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamMaterial$teamMaterialMovementLogArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamMaterialMovementLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1692
|
+
dispatchProject<T extends Prisma.TeamMaterial$dispatchProjectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamMaterial$dispatchProjectArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DispatchProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1693
|
+
/**
|
|
1694
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1695
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1696
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1697
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1698
|
+
*/
|
|
1699
|
+
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>
|
|
1700
|
+
/**
|
|
1701
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1702
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1703
|
+
* @returns A Promise for the completion of the callback.
|
|
1704
|
+
*/
|
|
1705
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1706
|
+
/**
|
|
1707
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1708
|
+
* resolved value cannot be modified from the callback.
|
|
1709
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1710
|
+
* @returns A Promise for the completion of the callback.
|
|
1711
|
+
*/
|
|
1712
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* Fields of the TeamMaterial model
|
|
1720
|
+
*/
|
|
1721
|
+
export interface TeamMaterialFieldRefs {
|
|
1722
|
+
readonly id: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1723
|
+
readonly no: Prisma.FieldRef<"TeamMaterial", 'Int'>
|
|
1724
|
+
readonly materialId: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1725
|
+
readonly teamId: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1726
|
+
readonly quantityAdded: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1727
|
+
readonly quantityUsed: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1728
|
+
readonly quantityRemaining: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1729
|
+
readonly status: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1730
|
+
readonly type: Prisma.FieldRef<"TeamMaterial", 'String'>
|
|
1731
|
+
readonly createdAt: Prisma.FieldRef<"TeamMaterial", 'DateTime'>
|
|
1732
|
+
readonly updatedAt: Prisma.FieldRef<"TeamMaterial", 'DateTime'>
|
|
1733
|
+
readonly deletedAt: Prisma.FieldRef<"TeamMaterial", 'DateTime'>
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
// Custom InputTypes
|
|
1738
|
+
/**
|
|
1739
|
+
* TeamMaterial findUnique
|
|
1740
|
+
*/
|
|
1741
|
+
export type TeamMaterialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1742
|
+
/**
|
|
1743
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1744
|
+
*/
|
|
1745
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1746
|
+
/**
|
|
1747
|
+
* Omit specific fields from the TeamMaterial
|
|
1748
|
+
*/
|
|
1749
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1750
|
+
/**
|
|
1751
|
+
* Choose, which related nodes to fetch as well
|
|
1752
|
+
*/
|
|
1753
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
1754
|
+
/**
|
|
1755
|
+
* Filter, which TeamMaterial to fetch.
|
|
1756
|
+
*/
|
|
1757
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
/**
|
|
1761
|
+
* TeamMaterial findUniqueOrThrow
|
|
1762
|
+
*/
|
|
1763
|
+
export type TeamMaterialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1764
|
+
/**
|
|
1765
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1766
|
+
*/
|
|
1767
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1768
|
+
/**
|
|
1769
|
+
* Omit specific fields from the TeamMaterial
|
|
1770
|
+
*/
|
|
1771
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1772
|
+
/**
|
|
1773
|
+
* Choose, which related nodes to fetch as well
|
|
1774
|
+
*/
|
|
1775
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
1776
|
+
/**
|
|
1777
|
+
* Filter, which TeamMaterial to fetch.
|
|
1778
|
+
*/
|
|
1779
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* TeamMaterial findFirst
|
|
1784
|
+
*/
|
|
1785
|
+
export type TeamMaterialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1786
|
+
/**
|
|
1787
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1788
|
+
*/
|
|
1789
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1790
|
+
/**
|
|
1791
|
+
* Omit specific fields from the TeamMaterial
|
|
1792
|
+
*/
|
|
1793
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1794
|
+
/**
|
|
1795
|
+
* Choose, which related nodes to fetch as well
|
|
1796
|
+
*/
|
|
1797
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
1798
|
+
/**
|
|
1799
|
+
* Filter, which TeamMaterial to fetch.
|
|
1800
|
+
*/
|
|
1801
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
1802
|
+
/**
|
|
1803
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1804
|
+
*
|
|
1805
|
+
* Determine the order of TeamMaterials to fetch.
|
|
1806
|
+
*/
|
|
1807
|
+
orderBy?: Prisma.TeamMaterialOrderByWithRelationInput | Prisma.TeamMaterialOrderByWithRelationInput[]
|
|
1808
|
+
/**
|
|
1809
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1810
|
+
*
|
|
1811
|
+
* Sets the position for searching for TeamMaterials.
|
|
1812
|
+
*/
|
|
1813
|
+
cursor?: Prisma.TeamMaterialWhereUniqueInput
|
|
1814
|
+
/**
|
|
1815
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1816
|
+
*
|
|
1817
|
+
* Take `±n` TeamMaterials from the position of the cursor.
|
|
1818
|
+
*/
|
|
1819
|
+
take?: number
|
|
1820
|
+
/**
|
|
1821
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1822
|
+
*
|
|
1823
|
+
* Skip the first `n` TeamMaterials.
|
|
1824
|
+
*/
|
|
1825
|
+
skip?: number
|
|
1826
|
+
/**
|
|
1827
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1828
|
+
*
|
|
1829
|
+
* Filter by unique combinations of TeamMaterials.
|
|
1830
|
+
*/
|
|
1831
|
+
distinct?: Prisma.TeamMaterialScalarFieldEnum | Prisma.TeamMaterialScalarFieldEnum[]
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* TeamMaterial findFirstOrThrow
|
|
1836
|
+
*/
|
|
1837
|
+
export type TeamMaterialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1838
|
+
/**
|
|
1839
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1840
|
+
*/
|
|
1841
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1842
|
+
/**
|
|
1843
|
+
* Omit specific fields from the TeamMaterial
|
|
1844
|
+
*/
|
|
1845
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1846
|
+
/**
|
|
1847
|
+
* Choose, which related nodes to fetch as well
|
|
1848
|
+
*/
|
|
1849
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
1850
|
+
/**
|
|
1851
|
+
* Filter, which TeamMaterial to fetch.
|
|
1852
|
+
*/
|
|
1853
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
1854
|
+
/**
|
|
1855
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1856
|
+
*
|
|
1857
|
+
* Determine the order of TeamMaterials to fetch.
|
|
1858
|
+
*/
|
|
1859
|
+
orderBy?: Prisma.TeamMaterialOrderByWithRelationInput | Prisma.TeamMaterialOrderByWithRelationInput[]
|
|
1860
|
+
/**
|
|
1861
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1862
|
+
*
|
|
1863
|
+
* Sets the position for searching for TeamMaterials.
|
|
1864
|
+
*/
|
|
1865
|
+
cursor?: Prisma.TeamMaterialWhereUniqueInput
|
|
1866
|
+
/**
|
|
1867
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1868
|
+
*
|
|
1869
|
+
* Take `±n` TeamMaterials from the position of the cursor.
|
|
1870
|
+
*/
|
|
1871
|
+
take?: number
|
|
1872
|
+
/**
|
|
1873
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1874
|
+
*
|
|
1875
|
+
* Skip the first `n` TeamMaterials.
|
|
1876
|
+
*/
|
|
1877
|
+
skip?: number
|
|
1878
|
+
/**
|
|
1879
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1880
|
+
*
|
|
1881
|
+
* Filter by unique combinations of TeamMaterials.
|
|
1882
|
+
*/
|
|
1883
|
+
distinct?: Prisma.TeamMaterialScalarFieldEnum | Prisma.TeamMaterialScalarFieldEnum[]
|
|
1884
|
+
}
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* TeamMaterial findMany
|
|
1888
|
+
*/
|
|
1889
|
+
export type TeamMaterialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1890
|
+
/**
|
|
1891
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1892
|
+
*/
|
|
1893
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1894
|
+
/**
|
|
1895
|
+
* Omit specific fields from the TeamMaterial
|
|
1896
|
+
*/
|
|
1897
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1898
|
+
/**
|
|
1899
|
+
* Choose, which related nodes to fetch as well
|
|
1900
|
+
*/
|
|
1901
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
1902
|
+
/**
|
|
1903
|
+
* Filter, which TeamMaterials to fetch.
|
|
1904
|
+
*/
|
|
1905
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
1906
|
+
/**
|
|
1907
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1908
|
+
*
|
|
1909
|
+
* Determine the order of TeamMaterials to fetch.
|
|
1910
|
+
*/
|
|
1911
|
+
orderBy?: Prisma.TeamMaterialOrderByWithRelationInput | Prisma.TeamMaterialOrderByWithRelationInput[]
|
|
1912
|
+
/**
|
|
1913
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1914
|
+
*
|
|
1915
|
+
* Sets the position for listing TeamMaterials.
|
|
1916
|
+
*/
|
|
1917
|
+
cursor?: Prisma.TeamMaterialWhereUniqueInput
|
|
1918
|
+
/**
|
|
1919
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1920
|
+
*
|
|
1921
|
+
* Take `±n` TeamMaterials from the position of the cursor.
|
|
1922
|
+
*/
|
|
1923
|
+
take?: number
|
|
1924
|
+
/**
|
|
1925
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1926
|
+
*
|
|
1927
|
+
* Skip the first `n` TeamMaterials.
|
|
1928
|
+
*/
|
|
1929
|
+
skip?: number
|
|
1930
|
+
distinct?: Prisma.TeamMaterialScalarFieldEnum | Prisma.TeamMaterialScalarFieldEnum[]
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* TeamMaterial create
|
|
1935
|
+
*/
|
|
1936
|
+
export type TeamMaterialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1937
|
+
/**
|
|
1938
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1939
|
+
*/
|
|
1940
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1941
|
+
/**
|
|
1942
|
+
* Omit specific fields from the TeamMaterial
|
|
1943
|
+
*/
|
|
1944
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1945
|
+
/**
|
|
1946
|
+
* Choose, which related nodes to fetch as well
|
|
1947
|
+
*/
|
|
1948
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
1949
|
+
/**
|
|
1950
|
+
* The data needed to create a TeamMaterial.
|
|
1951
|
+
*/
|
|
1952
|
+
data: Prisma.XOR<Prisma.TeamMaterialCreateInput, Prisma.TeamMaterialUncheckedCreateInput>
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* TeamMaterial createMany
|
|
1957
|
+
*/
|
|
1958
|
+
export type TeamMaterialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1959
|
+
/**
|
|
1960
|
+
* The data used to create many TeamMaterials.
|
|
1961
|
+
*/
|
|
1962
|
+
data: Prisma.TeamMaterialCreateManyInput | Prisma.TeamMaterialCreateManyInput[]
|
|
1963
|
+
skipDuplicates?: boolean
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* TeamMaterial createManyAndReturn
|
|
1968
|
+
*/
|
|
1969
|
+
export type TeamMaterialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1970
|
+
/**
|
|
1971
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1972
|
+
*/
|
|
1973
|
+
select?: Prisma.TeamMaterialSelectCreateManyAndReturn<ExtArgs> | null
|
|
1974
|
+
/**
|
|
1975
|
+
* Omit specific fields from the TeamMaterial
|
|
1976
|
+
*/
|
|
1977
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
1978
|
+
/**
|
|
1979
|
+
* The data used to create many TeamMaterials.
|
|
1980
|
+
*/
|
|
1981
|
+
data: Prisma.TeamMaterialCreateManyInput | Prisma.TeamMaterialCreateManyInput[]
|
|
1982
|
+
skipDuplicates?: boolean
|
|
1983
|
+
/**
|
|
1984
|
+
* Choose, which related nodes to fetch as well
|
|
1985
|
+
*/
|
|
1986
|
+
include?: Prisma.TeamMaterialIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* TeamMaterial update
|
|
1991
|
+
*/
|
|
1992
|
+
export type TeamMaterialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1993
|
+
/**
|
|
1994
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
1995
|
+
*/
|
|
1996
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
1997
|
+
/**
|
|
1998
|
+
* Omit specific fields from the TeamMaterial
|
|
1999
|
+
*/
|
|
2000
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
2001
|
+
/**
|
|
2002
|
+
* Choose, which related nodes to fetch as well
|
|
2003
|
+
*/
|
|
2004
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
2005
|
+
/**
|
|
2006
|
+
* The data needed to update a TeamMaterial.
|
|
2007
|
+
*/
|
|
2008
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateInput, Prisma.TeamMaterialUncheckedUpdateInput>
|
|
2009
|
+
/**
|
|
2010
|
+
* Choose, which TeamMaterial to update.
|
|
2011
|
+
*/
|
|
2012
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* TeamMaterial updateMany
|
|
2017
|
+
*/
|
|
2018
|
+
export type TeamMaterialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2019
|
+
/**
|
|
2020
|
+
* The data used to update TeamMaterials.
|
|
2021
|
+
*/
|
|
2022
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateManyMutationInput, Prisma.TeamMaterialUncheckedUpdateManyInput>
|
|
2023
|
+
/**
|
|
2024
|
+
* Filter which TeamMaterials to update
|
|
2025
|
+
*/
|
|
2026
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
2027
|
+
/**
|
|
2028
|
+
* Limit how many TeamMaterials to update.
|
|
2029
|
+
*/
|
|
2030
|
+
limit?: number
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
/**
|
|
2034
|
+
* TeamMaterial updateManyAndReturn
|
|
2035
|
+
*/
|
|
2036
|
+
export type TeamMaterialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2037
|
+
/**
|
|
2038
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
2039
|
+
*/
|
|
2040
|
+
select?: Prisma.TeamMaterialSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2041
|
+
/**
|
|
2042
|
+
* Omit specific fields from the TeamMaterial
|
|
2043
|
+
*/
|
|
2044
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
2045
|
+
/**
|
|
2046
|
+
* The data used to update TeamMaterials.
|
|
2047
|
+
*/
|
|
2048
|
+
data: Prisma.XOR<Prisma.TeamMaterialUpdateManyMutationInput, Prisma.TeamMaterialUncheckedUpdateManyInput>
|
|
2049
|
+
/**
|
|
2050
|
+
* Filter which TeamMaterials to update
|
|
2051
|
+
*/
|
|
2052
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
2053
|
+
/**
|
|
2054
|
+
* Limit how many TeamMaterials to update.
|
|
2055
|
+
*/
|
|
2056
|
+
limit?: number
|
|
2057
|
+
/**
|
|
2058
|
+
* Choose, which related nodes to fetch as well
|
|
2059
|
+
*/
|
|
2060
|
+
include?: Prisma.TeamMaterialIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* TeamMaterial upsert
|
|
2065
|
+
*/
|
|
2066
|
+
export type TeamMaterialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2067
|
+
/**
|
|
2068
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
2069
|
+
*/
|
|
2070
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
2071
|
+
/**
|
|
2072
|
+
* Omit specific fields from the TeamMaterial
|
|
2073
|
+
*/
|
|
2074
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
2075
|
+
/**
|
|
2076
|
+
* Choose, which related nodes to fetch as well
|
|
2077
|
+
*/
|
|
2078
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
2079
|
+
/**
|
|
2080
|
+
* The filter to search for the TeamMaterial to update in case it exists.
|
|
2081
|
+
*/
|
|
2082
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
2083
|
+
/**
|
|
2084
|
+
* In case the TeamMaterial found by the `where` argument doesn't exist, create a new TeamMaterial with this data.
|
|
2085
|
+
*/
|
|
2086
|
+
create: Prisma.XOR<Prisma.TeamMaterialCreateInput, Prisma.TeamMaterialUncheckedCreateInput>
|
|
2087
|
+
/**
|
|
2088
|
+
* In case the TeamMaterial was found with the provided `where` argument, update it with this data.
|
|
2089
|
+
*/
|
|
2090
|
+
update: Prisma.XOR<Prisma.TeamMaterialUpdateInput, Prisma.TeamMaterialUncheckedUpdateInput>
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* TeamMaterial delete
|
|
2095
|
+
*/
|
|
2096
|
+
export type TeamMaterialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2097
|
+
/**
|
|
2098
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
2099
|
+
*/
|
|
2100
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
2101
|
+
/**
|
|
2102
|
+
* Omit specific fields from the TeamMaterial
|
|
2103
|
+
*/
|
|
2104
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
2105
|
+
/**
|
|
2106
|
+
* Choose, which related nodes to fetch as well
|
|
2107
|
+
*/
|
|
2108
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
2109
|
+
/**
|
|
2110
|
+
* Filter which TeamMaterial to delete.
|
|
2111
|
+
*/
|
|
2112
|
+
where: Prisma.TeamMaterialWhereUniqueInput
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* TeamMaterial deleteMany
|
|
2117
|
+
*/
|
|
2118
|
+
export type TeamMaterialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2119
|
+
/**
|
|
2120
|
+
* Filter which TeamMaterials to delete
|
|
2121
|
+
*/
|
|
2122
|
+
where?: Prisma.TeamMaterialWhereInput
|
|
2123
|
+
/**
|
|
2124
|
+
* Limit how many TeamMaterials to delete.
|
|
2125
|
+
*/
|
|
2126
|
+
limit?: number
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* TeamMaterial.teamMaterialMovementLog
|
|
2131
|
+
*/
|
|
2132
|
+
export type TeamMaterial$teamMaterialMovementLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2133
|
+
/**
|
|
2134
|
+
* Select specific fields to fetch from the TeamMaterialMovementLog
|
|
2135
|
+
*/
|
|
2136
|
+
select?: Prisma.TeamMaterialMovementLogSelect<ExtArgs> | null
|
|
2137
|
+
/**
|
|
2138
|
+
* Omit specific fields from the TeamMaterialMovementLog
|
|
2139
|
+
*/
|
|
2140
|
+
omit?: Prisma.TeamMaterialMovementLogOmit<ExtArgs> | null
|
|
2141
|
+
/**
|
|
2142
|
+
* Choose, which related nodes to fetch as well
|
|
2143
|
+
*/
|
|
2144
|
+
include?: Prisma.TeamMaterialMovementLogInclude<ExtArgs> | null
|
|
2145
|
+
where?: Prisma.TeamMaterialMovementLogWhereInput
|
|
2146
|
+
orderBy?: Prisma.TeamMaterialMovementLogOrderByWithRelationInput | Prisma.TeamMaterialMovementLogOrderByWithRelationInput[]
|
|
2147
|
+
cursor?: Prisma.TeamMaterialMovementLogWhereUniqueInput
|
|
2148
|
+
take?: number
|
|
2149
|
+
skip?: number
|
|
2150
|
+
distinct?: Prisma.TeamMaterialMovementLogScalarFieldEnum | Prisma.TeamMaterialMovementLogScalarFieldEnum[]
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* TeamMaterial.dispatchProject
|
|
2155
|
+
*/
|
|
2156
|
+
export type TeamMaterial$dispatchProjectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2157
|
+
/**
|
|
2158
|
+
* Select specific fields to fetch from the DispatchProject
|
|
2159
|
+
*/
|
|
2160
|
+
select?: Prisma.DispatchProjectSelect<ExtArgs> | null
|
|
2161
|
+
/**
|
|
2162
|
+
* Omit specific fields from the DispatchProject
|
|
2163
|
+
*/
|
|
2164
|
+
omit?: Prisma.DispatchProjectOmit<ExtArgs> | null
|
|
2165
|
+
/**
|
|
2166
|
+
* Choose, which related nodes to fetch as well
|
|
2167
|
+
*/
|
|
2168
|
+
include?: Prisma.DispatchProjectInclude<ExtArgs> | null
|
|
2169
|
+
where?: Prisma.DispatchProjectWhereInput
|
|
2170
|
+
orderBy?: Prisma.DispatchProjectOrderByWithRelationInput | Prisma.DispatchProjectOrderByWithRelationInput[]
|
|
2171
|
+
cursor?: Prisma.DispatchProjectWhereUniqueInput
|
|
2172
|
+
take?: number
|
|
2173
|
+
skip?: number
|
|
2174
|
+
distinct?: Prisma.DispatchProjectScalarFieldEnum | Prisma.DispatchProjectScalarFieldEnum[]
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
/**
|
|
2178
|
+
* TeamMaterial without action
|
|
2179
|
+
*/
|
|
2180
|
+
export type TeamMaterialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2181
|
+
/**
|
|
2182
|
+
* Select specific fields to fetch from the TeamMaterial
|
|
2183
|
+
*/
|
|
2184
|
+
select?: Prisma.TeamMaterialSelect<ExtArgs> | null
|
|
2185
|
+
/**
|
|
2186
|
+
* Omit specific fields from the TeamMaterial
|
|
2187
|
+
*/
|
|
2188
|
+
omit?: Prisma.TeamMaterialOmit<ExtArgs> | null
|
|
2189
|
+
/**
|
|
2190
|
+
* Choose, which related nodes to fetch as well
|
|
2191
|
+
*/
|
|
2192
|
+
include?: Prisma.TeamMaterialInclude<ExtArgs> | null
|
|
2193
|
+
}
|