efiber-prisma-schema 1.16.2 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +12 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/schema.prisma +2 -2
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,1132 @@
|
|
|
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 `OptionSource` 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 OptionSource
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type OptionSourceModel = runtime.Types.Result.DefaultSelection<Prisma.$OptionSourcePayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateOptionSource = {
|
|
22
|
+
_count: OptionSourceCountAggregateOutputType | null
|
|
23
|
+
_min: OptionSourceMinAggregateOutputType | null
|
|
24
|
+
_max: OptionSourceMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type OptionSourceMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
sourceType: string | null
|
|
30
|
+
foreignTable: string | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type OptionSourceMaxAggregateOutputType = {
|
|
34
|
+
id: string | null
|
|
35
|
+
sourceType: string | null
|
|
36
|
+
foreignTable: string | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type OptionSourceCountAggregateOutputType = {
|
|
40
|
+
id: number
|
|
41
|
+
sourceType: number
|
|
42
|
+
staticOptions: number
|
|
43
|
+
dynamicOptions: number
|
|
44
|
+
foreignTable: number
|
|
45
|
+
_all: number
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
export type OptionSourceMinAggregateInputType = {
|
|
50
|
+
id?: true
|
|
51
|
+
sourceType?: true
|
|
52
|
+
foreignTable?: true
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type OptionSourceMaxAggregateInputType = {
|
|
56
|
+
id?: true
|
|
57
|
+
sourceType?: true
|
|
58
|
+
foreignTable?: true
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type OptionSourceCountAggregateInputType = {
|
|
62
|
+
id?: true
|
|
63
|
+
sourceType?: true
|
|
64
|
+
staticOptions?: true
|
|
65
|
+
dynamicOptions?: true
|
|
66
|
+
foreignTable?: true
|
|
67
|
+
_all?: true
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export type OptionSourceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
71
|
+
/**
|
|
72
|
+
* Filter which OptionSource to aggregate.
|
|
73
|
+
*/
|
|
74
|
+
where?: Prisma.OptionSourceWhereInput
|
|
75
|
+
/**
|
|
76
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
77
|
+
*
|
|
78
|
+
* Determine the order of OptionSources to fetch.
|
|
79
|
+
*/
|
|
80
|
+
orderBy?: Prisma.OptionSourceOrderByWithRelationInput | Prisma.OptionSourceOrderByWithRelationInput[]
|
|
81
|
+
/**
|
|
82
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
83
|
+
*
|
|
84
|
+
* Sets the start position
|
|
85
|
+
*/
|
|
86
|
+
cursor?: Prisma.OptionSourceWhereUniqueInput
|
|
87
|
+
/**
|
|
88
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
89
|
+
*
|
|
90
|
+
* Take `±n` OptionSources from the position of the cursor.
|
|
91
|
+
*/
|
|
92
|
+
take?: number
|
|
93
|
+
/**
|
|
94
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
95
|
+
*
|
|
96
|
+
* Skip the first `n` OptionSources.
|
|
97
|
+
*/
|
|
98
|
+
skip?: number
|
|
99
|
+
/**
|
|
100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
101
|
+
*
|
|
102
|
+
* Count returned OptionSources
|
|
103
|
+
**/
|
|
104
|
+
_count?: true | OptionSourceCountAggregateInputType
|
|
105
|
+
/**
|
|
106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
107
|
+
*
|
|
108
|
+
* Select which fields to find the minimum value
|
|
109
|
+
**/
|
|
110
|
+
_min?: OptionSourceMinAggregateInputType
|
|
111
|
+
/**
|
|
112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
113
|
+
*
|
|
114
|
+
* Select which fields to find the maximum value
|
|
115
|
+
**/
|
|
116
|
+
_max?: OptionSourceMaxAggregateInputType
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export type GetOptionSourceAggregateType<T extends OptionSourceAggregateArgs> = {
|
|
120
|
+
[P in keyof T & keyof AggregateOptionSource]: P extends '_count' | 'count'
|
|
121
|
+
? T[P] extends true
|
|
122
|
+
? number
|
|
123
|
+
: Prisma.GetScalarType<T[P], AggregateOptionSource[P]>
|
|
124
|
+
: Prisma.GetScalarType<T[P], AggregateOptionSource[P]>
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
export type OptionSourceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
131
|
+
where?: Prisma.OptionSourceWhereInput
|
|
132
|
+
orderBy?: Prisma.OptionSourceOrderByWithAggregationInput | Prisma.OptionSourceOrderByWithAggregationInput[]
|
|
133
|
+
by: Prisma.OptionSourceScalarFieldEnum[] | Prisma.OptionSourceScalarFieldEnum
|
|
134
|
+
having?: Prisma.OptionSourceScalarWhereWithAggregatesInput
|
|
135
|
+
take?: number
|
|
136
|
+
skip?: number
|
|
137
|
+
_count?: OptionSourceCountAggregateInputType | true
|
|
138
|
+
_min?: OptionSourceMinAggregateInputType
|
|
139
|
+
_max?: OptionSourceMaxAggregateInputType
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export type OptionSourceGroupByOutputType = {
|
|
143
|
+
id: string
|
|
144
|
+
sourceType: string
|
|
145
|
+
staticOptions: runtime.JsonValue | null
|
|
146
|
+
dynamicOptions: runtime.JsonValue | null
|
|
147
|
+
foreignTable: string | null
|
|
148
|
+
_count: OptionSourceCountAggregateOutputType | null
|
|
149
|
+
_min: OptionSourceMinAggregateOutputType | null
|
|
150
|
+
_max: OptionSourceMaxAggregateOutputType | null
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
type GetOptionSourceGroupByPayload<T extends OptionSourceGroupByArgs> = Prisma.PrismaPromise<
|
|
154
|
+
Array<
|
|
155
|
+
Prisma.PickEnumerable<OptionSourceGroupByOutputType, T['by']> &
|
|
156
|
+
{
|
|
157
|
+
[P in ((keyof T) & (keyof OptionSourceGroupByOutputType))]: P extends '_count'
|
|
158
|
+
? T[P] extends boolean
|
|
159
|
+
? number
|
|
160
|
+
: Prisma.GetScalarType<T[P], OptionSourceGroupByOutputType[P]>
|
|
161
|
+
: Prisma.GetScalarType<T[P], OptionSourceGroupByOutputType[P]>
|
|
162
|
+
}
|
|
163
|
+
>
|
|
164
|
+
>
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export type OptionSourceWhereInput = {
|
|
169
|
+
AND?: Prisma.OptionSourceWhereInput | Prisma.OptionSourceWhereInput[]
|
|
170
|
+
OR?: Prisma.OptionSourceWhereInput[]
|
|
171
|
+
NOT?: Prisma.OptionSourceWhereInput | Prisma.OptionSourceWhereInput[]
|
|
172
|
+
id?: Prisma.StringFilter<"OptionSource"> | string
|
|
173
|
+
sourceType?: Prisma.StringFilter<"OptionSource"> | string
|
|
174
|
+
staticOptions?: Prisma.JsonNullableFilter<"OptionSource">
|
|
175
|
+
dynamicOptions?: Prisma.JsonNullableFilter<"OptionSource">
|
|
176
|
+
foreignTable?: Prisma.StringNullableFilter<"OptionSource"> | string | null
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export type OptionSourceOrderByWithRelationInput = {
|
|
180
|
+
id?: Prisma.SortOrder
|
|
181
|
+
sourceType?: Prisma.SortOrder
|
|
182
|
+
staticOptions?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
183
|
+
dynamicOptions?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
184
|
+
foreignTable?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export type OptionSourceWhereUniqueInput = Prisma.AtLeast<{
|
|
188
|
+
id?: string
|
|
189
|
+
AND?: Prisma.OptionSourceWhereInput | Prisma.OptionSourceWhereInput[]
|
|
190
|
+
OR?: Prisma.OptionSourceWhereInput[]
|
|
191
|
+
NOT?: Prisma.OptionSourceWhereInput | Prisma.OptionSourceWhereInput[]
|
|
192
|
+
sourceType?: Prisma.StringFilter<"OptionSource"> | string
|
|
193
|
+
staticOptions?: Prisma.JsonNullableFilter<"OptionSource">
|
|
194
|
+
dynamicOptions?: Prisma.JsonNullableFilter<"OptionSource">
|
|
195
|
+
foreignTable?: Prisma.StringNullableFilter<"OptionSource"> | string | null
|
|
196
|
+
}, "id" | "id">
|
|
197
|
+
|
|
198
|
+
export type OptionSourceOrderByWithAggregationInput = {
|
|
199
|
+
id?: Prisma.SortOrder
|
|
200
|
+
sourceType?: Prisma.SortOrder
|
|
201
|
+
staticOptions?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
202
|
+
dynamicOptions?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
203
|
+
foreignTable?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
204
|
+
_count?: Prisma.OptionSourceCountOrderByAggregateInput
|
|
205
|
+
_max?: Prisma.OptionSourceMaxOrderByAggregateInput
|
|
206
|
+
_min?: Prisma.OptionSourceMinOrderByAggregateInput
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export type OptionSourceScalarWhereWithAggregatesInput = {
|
|
210
|
+
AND?: Prisma.OptionSourceScalarWhereWithAggregatesInput | Prisma.OptionSourceScalarWhereWithAggregatesInput[]
|
|
211
|
+
OR?: Prisma.OptionSourceScalarWhereWithAggregatesInput[]
|
|
212
|
+
NOT?: Prisma.OptionSourceScalarWhereWithAggregatesInput | Prisma.OptionSourceScalarWhereWithAggregatesInput[]
|
|
213
|
+
id?: Prisma.StringWithAggregatesFilter<"OptionSource"> | string
|
|
214
|
+
sourceType?: Prisma.StringWithAggregatesFilter<"OptionSource"> | string
|
|
215
|
+
staticOptions?: Prisma.JsonNullableWithAggregatesFilter<"OptionSource">
|
|
216
|
+
dynamicOptions?: Prisma.JsonNullableWithAggregatesFilter<"OptionSource">
|
|
217
|
+
foreignTable?: Prisma.StringNullableWithAggregatesFilter<"OptionSource"> | string | null
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type OptionSourceCreateInput = {
|
|
221
|
+
id?: string
|
|
222
|
+
sourceType: string
|
|
223
|
+
staticOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
224
|
+
dynamicOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
225
|
+
foreignTable?: string | null
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export type OptionSourceUncheckedCreateInput = {
|
|
229
|
+
id?: string
|
|
230
|
+
sourceType: string
|
|
231
|
+
staticOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
232
|
+
dynamicOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
233
|
+
foreignTable?: string | null
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export type OptionSourceUpdateInput = {
|
|
237
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
238
|
+
sourceType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
239
|
+
staticOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
240
|
+
dynamicOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
241
|
+
foreignTable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export type OptionSourceUncheckedUpdateInput = {
|
|
245
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
246
|
+
sourceType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
247
|
+
staticOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
248
|
+
dynamicOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
249
|
+
foreignTable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type OptionSourceCreateManyInput = {
|
|
253
|
+
id?: string
|
|
254
|
+
sourceType: string
|
|
255
|
+
staticOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
256
|
+
dynamicOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
257
|
+
foreignTable?: string | null
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export type OptionSourceUpdateManyMutationInput = {
|
|
261
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
+
sourceType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
263
|
+
staticOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
264
|
+
dynamicOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
265
|
+
foreignTable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export type OptionSourceUncheckedUpdateManyInput = {
|
|
269
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
270
|
+
sourceType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
271
|
+
staticOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
272
|
+
dynamicOptions?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
273
|
+
foreignTable?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type OptionSourceCountOrderByAggregateInput = {
|
|
277
|
+
id?: Prisma.SortOrder
|
|
278
|
+
sourceType?: Prisma.SortOrder
|
|
279
|
+
staticOptions?: Prisma.SortOrder
|
|
280
|
+
dynamicOptions?: Prisma.SortOrder
|
|
281
|
+
foreignTable?: Prisma.SortOrder
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export type OptionSourceMaxOrderByAggregateInput = {
|
|
285
|
+
id?: Prisma.SortOrder
|
|
286
|
+
sourceType?: Prisma.SortOrder
|
|
287
|
+
foreignTable?: Prisma.SortOrder
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type OptionSourceMinOrderByAggregateInput = {
|
|
291
|
+
id?: Prisma.SortOrder
|
|
292
|
+
sourceType?: Prisma.SortOrder
|
|
293
|
+
foreignTable?: Prisma.SortOrder
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
export type OptionSourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
299
|
+
id?: boolean
|
|
300
|
+
sourceType?: boolean
|
|
301
|
+
staticOptions?: boolean
|
|
302
|
+
dynamicOptions?: boolean
|
|
303
|
+
foreignTable?: boolean
|
|
304
|
+
}, ExtArgs["result"]["optionSource"]>
|
|
305
|
+
|
|
306
|
+
export type OptionSourceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
307
|
+
id?: boolean
|
|
308
|
+
sourceType?: boolean
|
|
309
|
+
staticOptions?: boolean
|
|
310
|
+
dynamicOptions?: boolean
|
|
311
|
+
foreignTable?: boolean
|
|
312
|
+
}, ExtArgs["result"]["optionSource"]>
|
|
313
|
+
|
|
314
|
+
export type OptionSourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
315
|
+
id?: boolean
|
|
316
|
+
sourceType?: boolean
|
|
317
|
+
staticOptions?: boolean
|
|
318
|
+
dynamicOptions?: boolean
|
|
319
|
+
foreignTable?: boolean
|
|
320
|
+
}, ExtArgs["result"]["optionSource"]>
|
|
321
|
+
|
|
322
|
+
export type OptionSourceSelectScalar = {
|
|
323
|
+
id?: boolean
|
|
324
|
+
sourceType?: boolean
|
|
325
|
+
staticOptions?: boolean
|
|
326
|
+
dynamicOptions?: boolean
|
|
327
|
+
foreignTable?: boolean
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type OptionSourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sourceType" | "staticOptions" | "dynamicOptions" | "foreignTable", ExtArgs["result"]["optionSource"]>
|
|
331
|
+
|
|
332
|
+
export type $OptionSourcePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
333
|
+
name: "OptionSource"
|
|
334
|
+
objects: {}
|
|
335
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
336
|
+
id: string
|
|
337
|
+
sourceType: string
|
|
338
|
+
staticOptions: runtime.JsonValue | null
|
|
339
|
+
dynamicOptions: runtime.JsonValue | null
|
|
340
|
+
foreignTable: string | null
|
|
341
|
+
}, ExtArgs["result"]["optionSource"]>
|
|
342
|
+
composites: {}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export type OptionSourceGetPayload<S extends boolean | null | undefined | OptionSourceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload, S>
|
|
346
|
+
|
|
347
|
+
export type OptionSourceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
348
|
+
Omit<OptionSourceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
349
|
+
select?: OptionSourceCountAggregateInputType | true
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export interface OptionSourceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
353
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['OptionSource'], meta: { name: 'OptionSource' } }
|
|
354
|
+
/**
|
|
355
|
+
* Find zero or one OptionSource that matches the filter.
|
|
356
|
+
* @param {OptionSourceFindUniqueArgs} args - Arguments to find a OptionSource
|
|
357
|
+
* @example
|
|
358
|
+
* // Get one OptionSource
|
|
359
|
+
* const optionSource = await prisma.optionSource.findUnique({
|
|
360
|
+
* where: {
|
|
361
|
+
* // ... provide filter here
|
|
362
|
+
* }
|
|
363
|
+
* })
|
|
364
|
+
*/
|
|
365
|
+
findUnique<T extends OptionSourceFindUniqueArgs>(args: Prisma.SelectSubset<T, OptionSourceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Find one OptionSource that matches the filter or throw an error with `error.code='P2025'`
|
|
369
|
+
* if no matches were found.
|
|
370
|
+
* @param {OptionSourceFindUniqueOrThrowArgs} args - Arguments to find a OptionSource
|
|
371
|
+
* @example
|
|
372
|
+
* // Get one OptionSource
|
|
373
|
+
* const optionSource = await prisma.optionSource.findUniqueOrThrow({
|
|
374
|
+
* where: {
|
|
375
|
+
* // ... provide filter here
|
|
376
|
+
* }
|
|
377
|
+
* })
|
|
378
|
+
*/
|
|
379
|
+
findUniqueOrThrow<T extends OptionSourceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OptionSourceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Find the first OptionSource that matches the filter.
|
|
383
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
384
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
385
|
+
* @param {OptionSourceFindFirstArgs} args - Arguments to find a OptionSource
|
|
386
|
+
* @example
|
|
387
|
+
* // Get one OptionSource
|
|
388
|
+
* const optionSource = await prisma.optionSource.findFirst({
|
|
389
|
+
* where: {
|
|
390
|
+
* // ... provide filter here
|
|
391
|
+
* }
|
|
392
|
+
* })
|
|
393
|
+
*/
|
|
394
|
+
findFirst<T extends OptionSourceFindFirstArgs>(args?: Prisma.SelectSubset<T, OptionSourceFindFirstArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Find the first OptionSource that matches the filter or
|
|
398
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
399
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
400
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
401
|
+
* @param {OptionSourceFindFirstOrThrowArgs} args - Arguments to find a OptionSource
|
|
402
|
+
* @example
|
|
403
|
+
* // Get one OptionSource
|
|
404
|
+
* const optionSource = await prisma.optionSource.findFirstOrThrow({
|
|
405
|
+
* where: {
|
|
406
|
+
* // ... provide filter here
|
|
407
|
+
* }
|
|
408
|
+
* })
|
|
409
|
+
*/
|
|
410
|
+
findFirstOrThrow<T extends OptionSourceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OptionSourceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Find zero or more OptionSources that matches the filter.
|
|
414
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
415
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
416
|
+
* @param {OptionSourceFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
417
|
+
* @example
|
|
418
|
+
* // Get all OptionSources
|
|
419
|
+
* const optionSources = await prisma.optionSource.findMany()
|
|
420
|
+
*
|
|
421
|
+
* // Get first 10 OptionSources
|
|
422
|
+
* const optionSources = await prisma.optionSource.findMany({ take: 10 })
|
|
423
|
+
*
|
|
424
|
+
* // Only select the `id`
|
|
425
|
+
* const optionSourceWithIdOnly = await prisma.optionSource.findMany({ select: { id: true } })
|
|
426
|
+
*
|
|
427
|
+
*/
|
|
428
|
+
findMany<T extends OptionSourceFindManyArgs>(args?: Prisma.SelectSubset<T, OptionSourceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Create a OptionSource.
|
|
432
|
+
* @param {OptionSourceCreateArgs} args - Arguments to create a OptionSource.
|
|
433
|
+
* @example
|
|
434
|
+
* // Create one OptionSource
|
|
435
|
+
* const OptionSource = await prisma.optionSource.create({
|
|
436
|
+
* data: {
|
|
437
|
+
* // ... data to create a OptionSource
|
|
438
|
+
* }
|
|
439
|
+
* })
|
|
440
|
+
*
|
|
441
|
+
*/
|
|
442
|
+
create<T extends OptionSourceCreateArgs>(args: Prisma.SelectSubset<T, OptionSourceCreateArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Create many OptionSources.
|
|
446
|
+
* @param {OptionSourceCreateManyArgs} args - Arguments to create many OptionSources.
|
|
447
|
+
* @example
|
|
448
|
+
* // Create many OptionSources
|
|
449
|
+
* const optionSource = await prisma.optionSource.createMany({
|
|
450
|
+
* data: [
|
|
451
|
+
* // ... provide data here
|
|
452
|
+
* ]
|
|
453
|
+
* })
|
|
454
|
+
*
|
|
455
|
+
*/
|
|
456
|
+
createMany<T extends OptionSourceCreateManyArgs>(args?: Prisma.SelectSubset<T, OptionSourceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* Create many OptionSources and returns the data saved in the database.
|
|
460
|
+
* @param {OptionSourceCreateManyAndReturnArgs} args - Arguments to create many OptionSources.
|
|
461
|
+
* @example
|
|
462
|
+
* // Create many OptionSources
|
|
463
|
+
* const optionSource = await prisma.optionSource.createManyAndReturn({
|
|
464
|
+
* data: [
|
|
465
|
+
* // ... provide data here
|
|
466
|
+
* ]
|
|
467
|
+
* })
|
|
468
|
+
*
|
|
469
|
+
* // Create many OptionSources and only return the `id`
|
|
470
|
+
* const optionSourceWithIdOnly = await prisma.optionSource.createManyAndReturn({
|
|
471
|
+
* select: { id: true },
|
|
472
|
+
* data: [
|
|
473
|
+
* // ... provide data here
|
|
474
|
+
* ]
|
|
475
|
+
* })
|
|
476
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
477
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
478
|
+
*
|
|
479
|
+
*/
|
|
480
|
+
createManyAndReturn<T extends OptionSourceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OptionSourceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Delete a OptionSource.
|
|
484
|
+
* @param {OptionSourceDeleteArgs} args - Arguments to delete one OptionSource.
|
|
485
|
+
* @example
|
|
486
|
+
* // Delete one OptionSource
|
|
487
|
+
* const OptionSource = await prisma.optionSource.delete({
|
|
488
|
+
* where: {
|
|
489
|
+
* // ... filter to delete one OptionSource
|
|
490
|
+
* }
|
|
491
|
+
* })
|
|
492
|
+
*
|
|
493
|
+
*/
|
|
494
|
+
delete<T extends OptionSourceDeleteArgs>(args: Prisma.SelectSubset<T, OptionSourceDeleteArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Update one OptionSource.
|
|
498
|
+
* @param {OptionSourceUpdateArgs} args - Arguments to update one OptionSource.
|
|
499
|
+
* @example
|
|
500
|
+
* // Update one OptionSource
|
|
501
|
+
* const optionSource = await prisma.optionSource.update({
|
|
502
|
+
* where: {
|
|
503
|
+
* // ... provide filter here
|
|
504
|
+
* },
|
|
505
|
+
* data: {
|
|
506
|
+
* // ... provide data here
|
|
507
|
+
* }
|
|
508
|
+
* })
|
|
509
|
+
*
|
|
510
|
+
*/
|
|
511
|
+
update<T extends OptionSourceUpdateArgs>(args: Prisma.SelectSubset<T, OptionSourceUpdateArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* Delete zero or more OptionSources.
|
|
515
|
+
* @param {OptionSourceDeleteManyArgs} args - Arguments to filter OptionSources to delete.
|
|
516
|
+
* @example
|
|
517
|
+
* // Delete a few OptionSources
|
|
518
|
+
* const { count } = await prisma.optionSource.deleteMany({
|
|
519
|
+
* where: {
|
|
520
|
+
* // ... provide filter here
|
|
521
|
+
* }
|
|
522
|
+
* })
|
|
523
|
+
*
|
|
524
|
+
*/
|
|
525
|
+
deleteMany<T extends OptionSourceDeleteManyArgs>(args?: Prisma.SelectSubset<T, OptionSourceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Update zero or more OptionSources.
|
|
529
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
530
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
531
|
+
* @param {OptionSourceUpdateManyArgs} args - Arguments to update one or more rows.
|
|
532
|
+
* @example
|
|
533
|
+
* // Update many OptionSources
|
|
534
|
+
* const optionSource = await prisma.optionSource.updateMany({
|
|
535
|
+
* where: {
|
|
536
|
+
* // ... provide filter here
|
|
537
|
+
* },
|
|
538
|
+
* data: {
|
|
539
|
+
* // ... provide data here
|
|
540
|
+
* }
|
|
541
|
+
* })
|
|
542
|
+
*
|
|
543
|
+
*/
|
|
544
|
+
updateMany<T extends OptionSourceUpdateManyArgs>(args: Prisma.SelectSubset<T, OptionSourceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* Update zero or more OptionSources and returns the data updated in the database.
|
|
548
|
+
* @param {OptionSourceUpdateManyAndReturnArgs} args - Arguments to update many OptionSources.
|
|
549
|
+
* @example
|
|
550
|
+
* // Update many OptionSources
|
|
551
|
+
* const optionSource = await prisma.optionSource.updateManyAndReturn({
|
|
552
|
+
* where: {
|
|
553
|
+
* // ... provide filter here
|
|
554
|
+
* },
|
|
555
|
+
* data: [
|
|
556
|
+
* // ... provide data here
|
|
557
|
+
* ]
|
|
558
|
+
* })
|
|
559
|
+
*
|
|
560
|
+
* // Update zero or more OptionSources and only return the `id`
|
|
561
|
+
* const optionSourceWithIdOnly = await prisma.optionSource.updateManyAndReturn({
|
|
562
|
+
* select: { id: true },
|
|
563
|
+
* where: {
|
|
564
|
+
* // ... provide filter here
|
|
565
|
+
* },
|
|
566
|
+
* data: [
|
|
567
|
+
* // ... provide data here
|
|
568
|
+
* ]
|
|
569
|
+
* })
|
|
570
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
571
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
572
|
+
*
|
|
573
|
+
*/
|
|
574
|
+
updateManyAndReturn<T extends OptionSourceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OptionSourceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Create or update one OptionSource.
|
|
578
|
+
* @param {OptionSourceUpsertArgs} args - Arguments to update or create a OptionSource.
|
|
579
|
+
* @example
|
|
580
|
+
* // Update or create a OptionSource
|
|
581
|
+
* const optionSource = await prisma.optionSource.upsert({
|
|
582
|
+
* create: {
|
|
583
|
+
* // ... data to create a OptionSource
|
|
584
|
+
* },
|
|
585
|
+
* update: {
|
|
586
|
+
* // ... in case it already exists, update
|
|
587
|
+
* },
|
|
588
|
+
* where: {
|
|
589
|
+
* // ... the filter for the OptionSource we want to update
|
|
590
|
+
* }
|
|
591
|
+
* })
|
|
592
|
+
*/
|
|
593
|
+
upsert<T extends OptionSourceUpsertArgs>(args: Prisma.SelectSubset<T, OptionSourceUpsertArgs<ExtArgs>>): Prisma.Prisma__OptionSourceClient<runtime.Types.Result.GetResult<Prisma.$OptionSourcePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Count the number of OptionSources.
|
|
598
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
599
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
600
|
+
* @param {OptionSourceCountArgs} args - Arguments to filter OptionSources to count.
|
|
601
|
+
* @example
|
|
602
|
+
* // Count the number of OptionSources
|
|
603
|
+
* const count = await prisma.optionSource.count({
|
|
604
|
+
* where: {
|
|
605
|
+
* // ... the filter for the OptionSources we want to count
|
|
606
|
+
* }
|
|
607
|
+
* })
|
|
608
|
+
**/
|
|
609
|
+
count<T extends OptionSourceCountArgs>(
|
|
610
|
+
args?: Prisma.Subset<T, OptionSourceCountArgs>,
|
|
611
|
+
): Prisma.PrismaPromise<
|
|
612
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
613
|
+
? T['select'] extends true
|
|
614
|
+
? number
|
|
615
|
+
: Prisma.GetScalarType<T['select'], OptionSourceCountAggregateOutputType>
|
|
616
|
+
: number
|
|
617
|
+
>
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Allows you to perform aggregations operations on a OptionSource.
|
|
621
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
622
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
623
|
+
* @param {OptionSourceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
624
|
+
* @example
|
|
625
|
+
* // Ordered by age ascending
|
|
626
|
+
* // Where email contains prisma.io
|
|
627
|
+
* // Limited to the 10 users
|
|
628
|
+
* const aggregations = await prisma.user.aggregate({
|
|
629
|
+
* _avg: {
|
|
630
|
+
* age: true,
|
|
631
|
+
* },
|
|
632
|
+
* where: {
|
|
633
|
+
* email: {
|
|
634
|
+
* contains: "prisma.io",
|
|
635
|
+
* },
|
|
636
|
+
* },
|
|
637
|
+
* orderBy: {
|
|
638
|
+
* age: "asc",
|
|
639
|
+
* },
|
|
640
|
+
* take: 10,
|
|
641
|
+
* })
|
|
642
|
+
**/
|
|
643
|
+
aggregate<T extends OptionSourceAggregateArgs>(args: Prisma.Subset<T, OptionSourceAggregateArgs>): Prisma.PrismaPromise<GetOptionSourceAggregateType<T>>
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Group by OptionSource.
|
|
647
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
648
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
649
|
+
* @param {OptionSourceGroupByArgs} args - Group by arguments.
|
|
650
|
+
* @example
|
|
651
|
+
* // Group by city, order by createdAt, get count
|
|
652
|
+
* const result = await prisma.user.groupBy({
|
|
653
|
+
* by: ['city', 'createdAt'],
|
|
654
|
+
* orderBy: {
|
|
655
|
+
* createdAt: true
|
|
656
|
+
* },
|
|
657
|
+
* _count: {
|
|
658
|
+
* _all: true
|
|
659
|
+
* },
|
|
660
|
+
* })
|
|
661
|
+
*
|
|
662
|
+
**/
|
|
663
|
+
groupBy<
|
|
664
|
+
T extends OptionSourceGroupByArgs,
|
|
665
|
+
HasSelectOrTake extends Prisma.Or<
|
|
666
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
667
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
668
|
+
>,
|
|
669
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
670
|
+
? { orderBy: OptionSourceGroupByArgs['orderBy'] }
|
|
671
|
+
: { orderBy?: OptionSourceGroupByArgs['orderBy'] },
|
|
672
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
673
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
674
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
675
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
676
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
677
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
678
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
679
|
+
? `Error: "by" must not be empty.`
|
|
680
|
+
: HavingValid extends Prisma.False
|
|
681
|
+
? {
|
|
682
|
+
[P in HavingFields]: P extends ByFields
|
|
683
|
+
? never
|
|
684
|
+
: P extends string
|
|
685
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
686
|
+
: [
|
|
687
|
+
Error,
|
|
688
|
+
'Field ',
|
|
689
|
+
P,
|
|
690
|
+
` in "having" needs to be provided in "by"`,
|
|
691
|
+
]
|
|
692
|
+
}[HavingFields]
|
|
693
|
+
: 'take' extends Prisma.Keys<T>
|
|
694
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
695
|
+
? ByValid extends Prisma.True
|
|
696
|
+
? {}
|
|
697
|
+
: {
|
|
698
|
+
[P in OrderFields]: P extends ByFields
|
|
699
|
+
? never
|
|
700
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
701
|
+
}[OrderFields]
|
|
702
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
703
|
+
: 'skip' extends Prisma.Keys<T>
|
|
704
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
705
|
+
? ByValid extends Prisma.True
|
|
706
|
+
? {}
|
|
707
|
+
: {
|
|
708
|
+
[P in OrderFields]: P extends ByFields
|
|
709
|
+
? never
|
|
710
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
711
|
+
}[OrderFields]
|
|
712
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
713
|
+
: ByValid extends Prisma.True
|
|
714
|
+
? {}
|
|
715
|
+
: {
|
|
716
|
+
[P in OrderFields]: P extends ByFields
|
|
717
|
+
? never
|
|
718
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
719
|
+
}[OrderFields]
|
|
720
|
+
>(args: Prisma.SubsetIntersection<T, OptionSourceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOptionSourceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
721
|
+
/**
|
|
722
|
+
* Fields of the OptionSource model
|
|
723
|
+
*/
|
|
724
|
+
readonly fields: OptionSourceFieldRefs;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* The delegate class that acts as a "Promise-like" for OptionSource.
|
|
729
|
+
* Why is this prefixed with `Prisma__`?
|
|
730
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
731
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
732
|
+
*/
|
|
733
|
+
export interface Prisma__OptionSourceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
734
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
735
|
+
/**
|
|
736
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
737
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
738
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
739
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
740
|
+
*/
|
|
741
|
+
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>
|
|
742
|
+
/**
|
|
743
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
744
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
745
|
+
* @returns A Promise for the completion of the callback.
|
|
746
|
+
*/
|
|
747
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
748
|
+
/**
|
|
749
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
750
|
+
* resolved value cannot be modified from the callback.
|
|
751
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
752
|
+
* @returns A Promise for the completion of the callback.
|
|
753
|
+
*/
|
|
754
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Fields of the OptionSource model
|
|
762
|
+
*/
|
|
763
|
+
export interface OptionSourceFieldRefs {
|
|
764
|
+
readonly id: Prisma.FieldRef<"OptionSource", 'String'>
|
|
765
|
+
readonly sourceType: Prisma.FieldRef<"OptionSource", 'String'>
|
|
766
|
+
readonly staticOptions: Prisma.FieldRef<"OptionSource", 'Json'>
|
|
767
|
+
readonly dynamicOptions: Prisma.FieldRef<"OptionSource", 'Json'>
|
|
768
|
+
readonly foreignTable: Prisma.FieldRef<"OptionSource", 'String'>
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
// Custom InputTypes
|
|
773
|
+
/**
|
|
774
|
+
* OptionSource findUnique
|
|
775
|
+
*/
|
|
776
|
+
export type OptionSourceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
777
|
+
/**
|
|
778
|
+
* Select specific fields to fetch from the OptionSource
|
|
779
|
+
*/
|
|
780
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
781
|
+
/**
|
|
782
|
+
* Omit specific fields from the OptionSource
|
|
783
|
+
*/
|
|
784
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
785
|
+
/**
|
|
786
|
+
* Filter, which OptionSource to fetch.
|
|
787
|
+
*/
|
|
788
|
+
where: Prisma.OptionSourceWhereUniqueInput
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* OptionSource findUniqueOrThrow
|
|
793
|
+
*/
|
|
794
|
+
export type OptionSourceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
795
|
+
/**
|
|
796
|
+
* Select specific fields to fetch from the OptionSource
|
|
797
|
+
*/
|
|
798
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
799
|
+
/**
|
|
800
|
+
* Omit specific fields from the OptionSource
|
|
801
|
+
*/
|
|
802
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
803
|
+
/**
|
|
804
|
+
* Filter, which OptionSource to fetch.
|
|
805
|
+
*/
|
|
806
|
+
where: Prisma.OptionSourceWhereUniqueInput
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* OptionSource findFirst
|
|
811
|
+
*/
|
|
812
|
+
export type OptionSourceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
813
|
+
/**
|
|
814
|
+
* Select specific fields to fetch from the OptionSource
|
|
815
|
+
*/
|
|
816
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
817
|
+
/**
|
|
818
|
+
* Omit specific fields from the OptionSource
|
|
819
|
+
*/
|
|
820
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
821
|
+
/**
|
|
822
|
+
* Filter, which OptionSource to fetch.
|
|
823
|
+
*/
|
|
824
|
+
where?: Prisma.OptionSourceWhereInput
|
|
825
|
+
/**
|
|
826
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
827
|
+
*
|
|
828
|
+
* Determine the order of OptionSources to fetch.
|
|
829
|
+
*/
|
|
830
|
+
orderBy?: Prisma.OptionSourceOrderByWithRelationInput | Prisma.OptionSourceOrderByWithRelationInput[]
|
|
831
|
+
/**
|
|
832
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
833
|
+
*
|
|
834
|
+
* Sets the position for searching for OptionSources.
|
|
835
|
+
*/
|
|
836
|
+
cursor?: Prisma.OptionSourceWhereUniqueInput
|
|
837
|
+
/**
|
|
838
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
839
|
+
*
|
|
840
|
+
* Take `±n` OptionSources from the position of the cursor.
|
|
841
|
+
*/
|
|
842
|
+
take?: number
|
|
843
|
+
/**
|
|
844
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
845
|
+
*
|
|
846
|
+
* Skip the first `n` OptionSources.
|
|
847
|
+
*/
|
|
848
|
+
skip?: number
|
|
849
|
+
/**
|
|
850
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
851
|
+
*
|
|
852
|
+
* Filter by unique combinations of OptionSources.
|
|
853
|
+
*/
|
|
854
|
+
distinct?: Prisma.OptionSourceScalarFieldEnum | Prisma.OptionSourceScalarFieldEnum[]
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* OptionSource findFirstOrThrow
|
|
859
|
+
*/
|
|
860
|
+
export type OptionSourceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
861
|
+
/**
|
|
862
|
+
* Select specific fields to fetch from the OptionSource
|
|
863
|
+
*/
|
|
864
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
865
|
+
/**
|
|
866
|
+
* Omit specific fields from the OptionSource
|
|
867
|
+
*/
|
|
868
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
869
|
+
/**
|
|
870
|
+
* Filter, which OptionSource to fetch.
|
|
871
|
+
*/
|
|
872
|
+
where?: Prisma.OptionSourceWhereInput
|
|
873
|
+
/**
|
|
874
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
875
|
+
*
|
|
876
|
+
* Determine the order of OptionSources to fetch.
|
|
877
|
+
*/
|
|
878
|
+
orderBy?: Prisma.OptionSourceOrderByWithRelationInput | Prisma.OptionSourceOrderByWithRelationInput[]
|
|
879
|
+
/**
|
|
880
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
881
|
+
*
|
|
882
|
+
* Sets the position for searching for OptionSources.
|
|
883
|
+
*/
|
|
884
|
+
cursor?: Prisma.OptionSourceWhereUniqueInput
|
|
885
|
+
/**
|
|
886
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
887
|
+
*
|
|
888
|
+
* Take `±n` OptionSources from the position of the cursor.
|
|
889
|
+
*/
|
|
890
|
+
take?: number
|
|
891
|
+
/**
|
|
892
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
893
|
+
*
|
|
894
|
+
* Skip the first `n` OptionSources.
|
|
895
|
+
*/
|
|
896
|
+
skip?: number
|
|
897
|
+
/**
|
|
898
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
899
|
+
*
|
|
900
|
+
* Filter by unique combinations of OptionSources.
|
|
901
|
+
*/
|
|
902
|
+
distinct?: Prisma.OptionSourceScalarFieldEnum | Prisma.OptionSourceScalarFieldEnum[]
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* OptionSource findMany
|
|
907
|
+
*/
|
|
908
|
+
export type OptionSourceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
909
|
+
/**
|
|
910
|
+
* Select specific fields to fetch from the OptionSource
|
|
911
|
+
*/
|
|
912
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
913
|
+
/**
|
|
914
|
+
* Omit specific fields from the OptionSource
|
|
915
|
+
*/
|
|
916
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
917
|
+
/**
|
|
918
|
+
* Filter, which OptionSources to fetch.
|
|
919
|
+
*/
|
|
920
|
+
where?: Prisma.OptionSourceWhereInput
|
|
921
|
+
/**
|
|
922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
923
|
+
*
|
|
924
|
+
* Determine the order of OptionSources to fetch.
|
|
925
|
+
*/
|
|
926
|
+
orderBy?: Prisma.OptionSourceOrderByWithRelationInput | Prisma.OptionSourceOrderByWithRelationInput[]
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
929
|
+
*
|
|
930
|
+
* Sets the position for listing OptionSources.
|
|
931
|
+
*/
|
|
932
|
+
cursor?: Prisma.OptionSourceWhereUniqueInput
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
935
|
+
*
|
|
936
|
+
* Take `±n` OptionSources from the position of the cursor.
|
|
937
|
+
*/
|
|
938
|
+
take?: number
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
941
|
+
*
|
|
942
|
+
* Skip the first `n` OptionSources.
|
|
943
|
+
*/
|
|
944
|
+
skip?: number
|
|
945
|
+
distinct?: Prisma.OptionSourceScalarFieldEnum | Prisma.OptionSourceScalarFieldEnum[]
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* OptionSource create
|
|
950
|
+
*/
|
|
951
|
+
export type OptionSourceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
952
|
+
/**
|
|
953
|
+
* Select specific fields to fetch from the OptionSource
|
|
954
|
+
*/
|
|
955
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
956
|
+
/**
|
|
957
|
+
* Omit specific fields from the OptionSource
|
|
958
|
+
*/
|
|
959
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
960
|
+
/**
|
|
961
|
+
* The data needed to create a OptionSource.
|
|
962
|
+
*/
|
|
963
|
+
data: Prisma.XOR<Prisma.OptionSourceCreateInput, Prisma.OptionSourceUncheckedCreateInput>
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* OptionSource createMany
|
|
968
|
+
*/
|
|
969
|
+
export type OptionSourceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
970
|
+
/**
|
|
971
|
+
* The data used to create many OptionSources.
|
|
972
|
+
*/
|
|
973
|
+
data: Prisma.OptionSourceCreateManyInput | Prisma.OptionSourceCreateManyInput[]
|
|
974
|
+
skipDuplicates?: boolean
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* OptionSource createManyAndReturn
|
|
979
|
+
*/
|
|
980
|
+
export type OptionSourceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
981
|
+
/**
|
|
982
|
+
* Select specific fields to fetch from the OptionSource
|
|
983
|
+
*/
|
|
984
|
+
select?: Prisma.OptionSourceSelectCreateManyAndReturn<ExtArgs> | null
|
|
985
|
+
/**
|
|
986
|
+
* Omit specific fields from the OptionSource
|
|
987
|
+
*/
|
|
988
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
989
|
+
/**
|
|
990
|
+
* The data used to create many OptionSources.
|
|
991
|
+
*/
|
|
992
|
+
data: Prisma.OptionSourceCreateManyInput | Prisma.OptionSourceCreateManyInput[]
|
|
993
|
+
skipDuplicates?: boolean
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* OptionSource update
|
|
998
|
+
*/
|
|
999
|
+
export type OptionSourceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1000
|
+
/**
|
|
1001
|
+
* Select specific fields to fetch from the OptionSource
|
|
1002
|
+
*/
|
|
1003
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
1004
|
+
/**
|
|
1005
|
+
* Omit specific fields from the OptionSource
|
|
1006
|
+
*/
|
|
1007
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
1008
|
+
/**
|
|
1009
|
+
* The data needed to update a OptionSource.
|
|
1010
|
+
*/
|
|
1011
|
+
data: Prisma.XOR<Prisma.OptionSourceUpdateInput, Prisma.OptionSourceUncheckedUpdateInput>
|
|
1012
|
+
/**
|
|
1013
|
+
* Choose, which OptionSource to update.
|
|
1014
|
+
*/
|
|
1015
|
+
where: Prisma.OptionSourceWhereUniqueInput
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* OptionSource updateMany
|
|
1020
|
+
*/
|
|
1021
|
+
export type OptionSourceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1022
|
+
/**
|
|
1023
|
+
* The data used to update OptionSources.
|
|
1024
|
+
*/
|
|
1025
|
+
data: Prisma.XOR<Prisma.OptionSourceUpdateManyMutationInput, Prisma.OptionSourceUncheckedUpdateManyInput>
|
|
1026
|
+
/**
|
|
1027
|
+
* Filter which OptionSources to update
|
|
1028
|
+
*/
|
|
1029
|
+
where?: Prisma.OptionSourceWhereInput
|
|
1030
|
+
/**
|
|
1031
|
+
* Limit how many OptionSources to update.
|
|
1032
|
+
*/
|
|
1033
|
+
limit?: number
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* OptionSource updateManyAndReturn
|
|
1038
|
+
*/
|
|
1039
|
+
export type OptionSourceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1040
|
+
/**
|
|
1041
|
+
* Select specific fields to fetch from the OptionSource
|
|
1042
|
+
*/
|
|
1043
|
+
select?: Prisma.OptionSourceSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1044
|
+
/**
|
|
1045
|
+
* Omit specific fields from the OptionSource
|
|
1046
|
+
*/
|
|
1047
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
1048
|
+
/**
|
|
1049
|
+
* The data used to update OptionSources.
|
|
1050
|
+
*/
|
|
1051
|
+
data: Prisma.XOR<Prisma.OptionSourceUpdateManyMutationInput, Prisma.OptionSourceUncheckedUpdateManyInput>
|
|
1052
|
+
/**
|
|
1053
|
+
* Filter which OptionSources to update
|
|
1054
|
+
*/
|
|
1055
|
+
where?: Prisma.OptionSourceWhereInput
|
|
1056
|
+
/**
|
|
1057
|
+
* Limit how many OptionSources to update.
|
|
1058
|
+
*/
|
|
1059
|
+
limit?: number
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* OptionSource upsert
|
|
1064
|
+
*/
|
|
1065
|
+
export type OptionSourceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the OptionSource
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the OptionSource
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
1074
|
+
/**
|
|
1075
|
+
* The filter to search for the OptionSource to update in case it exists.
|
|
1076
|
+
*/
|
|
1077
|
+
where: Prisma.OptionSourceWhereUniqueInput
|
|
1078
|
+
/**
|
|
1079
|
+
* In case the OptionSource found by the `where` argument doesn't exist, create a new OptionSource with this data.
|
|
1080
|
+
*/
|
|
1081
|
+
create: Prisma.XOR<Prisma.OptionSourceCreateInput, Prisma.OptionSourceUncheckedCreateInput>
|
|
1082
|
+
/**
|
|
1083
|
+
* In case the OptionSource was found with the provided `where` argument, update it with this data.
|
|
1084
|
+
*/
|
|
1085
|
+
update: Prisma.XOR<Prisma.OptionSourceUpdateInput, Prisma.OptionSourceUncheckedUpdateInput>
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* OptionSource delete
|
|
1090
|
+
*/
|
|
1091
|
+
export type OptionSourceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1092
|
+
/**
|
|
1093
|
+
* Select specific fields to fetch from the OptionSource
|
|
1094
|
+
*/
|
|
1095
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
1096
|
+
/**
|
|
1097
|
+
* Omit specific fields from the OptionSource
|
|
1098
|
+
*/
|
|
1099
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
1100
|
+
/**
|
|
1101
|
+
* Filter which OptionSource to delete.
|
|
1102
|
+
*/
|
|
1103
|
+
where: Prisma.OptionSourceWhereUniqueInput
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* OptionSource deleteMany
|
|
1108
|
+
*/
|
|
1109
|
+
export type OptionSourceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1110
|
+
/**
|
|
1111
|
+
* Filter which OptionSources to delete
|
|
1112
|
+
*/
|
|
1113
|
+
where?: Prisma.OptionSourceWhereInput
|
|
1114
|
+
/**
|
|
1115
|
+
* Limit how many OptionSources to delete.
|
|
1116
|
+
*/
|
|
1117
|
+
limit?: number
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* OptionSource without action
|
|
1122
|
+
*/
|
|
1123
|
+
export type OptionSourceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1124
|
+
/**
|
|
1125
|
+
* Select specific fields to fetch from the OptionSource
|
|
1126
|
+
*/
|
|
1127
|
+
select?: Prisma.OptionSourceSelect<ExtArgs> | null
|
|
1128
|
+
/**
|
|
1129
|
+
* Omit specific fields from the OptionSource
|
|
1130
|
+
*/
|
|
1131
|
+
omit?: Prisma.OptionSourceOmit<ExtArgs> | null
|
|
1132
|
+
}
|