efiber-prisma-schema 1.16.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +6 -1
- package/index.js +10 -1
- package/package.json +13 -5
- package/prisma/generated/browser.ts +559 -0
- package/prisma/generated/client.ts +581 -0
- package/prisma/generated/commonInputTypes.ts +1246 -0
- package/prisma/generated/enums.ts +188 -0
- package/prisma/generated/internal/class.ts +1260 -0
- package/prisma/generated/internal/prismaNamespace.ts +11532 -0
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +2582 -0
- package/prisma/generated/models/AttributeDefinition.ts +1498 -0
- package/prisma/generated/models/AttributeValue.ts +1419 -0
- package/prisma/generated/models/Audit.ts +1725 -0
- package/prisma/generated/models/BillOfMaterial.ts +1934 -0
- package/prisma/generated/models/Building.ts +6130 -0
- package/prisma/generated/models/BuildingTemplate.ts +2912 -0
- package/prisma/generated/models/Cable.ts +10501 -0
- package/prisma/generated/models/CableAttachment.ts +1530 -0
- package/prisma/generated/models/CableAttributes.ts +2244 -0
- package/prisma/generated/models/CableTemplate.ts +3170 -0
- package/prisma/generated/models/CamusatClient.ts +2001 -0
- package/prisma/generated/models/CamusatCountry.ts +2425 -0
- package/prisma/generated/models/CentralOffice.ts +1921 -0
- package/prisma/generated/models/CentralOfficeTeam.ts +1620 -0
- package/prisma/generated/models/CentralOfficeUser.ts +1650 -0
- package/prisma/generated/models/Cluster.ts +10984 -0
- package/prisma/generated/models/ClusterComments.ts +1668 -0
- package/prisma/generated/models/ClusterNotes.ts +1703 -0
- package/prisma/generated/models/Conduit.ts +5119 -0
- package/prisma/generated/models/ConduitTemplate.ts +2940 -0
- package/prisma/generated/models/Country.ts +1795 -0
- package/prisma/generated/models/DispatchMaterial.ts +3070 -0
- package/prisma/generated/models/DispatchProject.ts +4179 -0
- package/prisma/generated/models/DispatchTeam.ts +3053 -0
- package/prisma/generated/models/Duct.ts +1813 -0
- package/prisma/generated/models/ElementNode.ts +4413 -0
- package/prisma/generated/models/ElementRelation.ts +1644 -0
- package/prisma/generated/models/EmailConfigurations.ts +3736 -0
- package/prisma/generated/models/EmailTemplates.ts +1739 -0
- package/prisma/generated/models/EmailsIncoming.ts +2010 -0
- package/prisma/generated/models/EmailsIncomingSample.ts +1503 -0
- package/prisma/generated/models/EmailsOutgoing.ts +1648 -0
- package/prisma/generated/models/FDTSRO.ts +6180 -0
- package/prisma/generated/models/FDTSROTemplate.ts +2912 -0
- package/prisma/generated/models/Feature.ts +1867 -0
- package/prisma/generated/models/FeatureType.ts +1430 -0
- package/prisma/generated/models/IntegrationReportTemplate.ts +1878 -0
- package/prisma/generated/models/Loop.ts +5271 -0
- package/prisma/generated/models/LoopTemplate.ts +2912 -0
- package/prisma/generated/models/MainProject.ts +1664 -0
- package/prisma/generated/models/Manhole.ts +5090 -0
- package/prisma/generated/models/ManholeTemplate.ts +2912 -0
- package/prisma/generated/models/MapElement.ts +3450 -0
- package/prisma/generated/models/MapElementTemplate.ts +2742 -0
- package/prisma/generated/models/Material.ts +1963 -0
- package/prisma/generated/models/MaterialBillOfMaterial.ts +1737 -0
- package/prisma/generated/models/MaterialChangeLog.ts +1454 -0
- package/prisma/generated/models/NetworkElement.ts +6891 -0
- package/prisma/generated/models/NetworkElementInstallation.ts +3320 -0
- package/prisma/generated/models/Notifications.ts +1563 -0
- package/prisma/generated/models/OptionSource.ts +1132 -0
- package/prisma/generated/models/PboFat.ts +8248 -0
- package/prisma/generated/models/PboFatAttributes.ts +2672 -0
- package/prisma/generated/models/PboFatTemplate.ts +3112 -0
- package/prisma/generated/models/Platform.ts +1759 -0
- package/prisma/generated/models/Pole.ts +5266 -0
- package/prisma/generated/models/PoleTemplate.ts +2912 -0
- package/prisma/generated/models/Position.ts +1490 -0
- package/prisma/generated/models/PreviousEquipment.ts +1881 -0
- package/prisma/generated/models/Project.ts +14893 -0
- package/prisma/generated/models/ProjectType.ts +1351 -0
- package/prisma/generated/models/ProjectWorkFlow.ts +1856 -0
- package/prisma/generated/models/ReportFormats.ts +1768 -0
- package/prisma/generated/models/ReportFormulaConfig.ts +1375 -0
- package/prisma/generated/models/ReportMetric.ts +1737 -0
- package/prisma/generated/models/ReportTable.ts +1498 -0
- package/prisma/generated/models/ReportVisualization.ts +1446 -0
- package/prisma/generated/models/Revision.ts +4653 -0
- package/prisma/generated/models/Role.ts +2960 -0
- package/prisma/generated/models/SFU.ts +5977 -0
- package/prisma/generated/models/SFUTemplate.ts +2912 -0
- package/prisma/generated/models/SpliceClosure.ts +6405 -0
- package/prisma/generated/models/SpliceClosureAttributes.ts +2172 -0
- package/prisma/generated/models/SpliceClosureTemplate.ts +3176 -0
- package/prisma/generated/models/Splitter.ts +1459 -0
- package/prisma/generated/models/StockMovement.ts +1589 -0
- package/prisma/generated/models/SubsidiaryMaterial.ts +2193 -0
- package/prisma/generated/models/SubsidiaryMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/Team.ts +2044 -0
- package/prisma/generated/models/TeamMaterial.ts +2193 -0
- package/prisma/generated/models/TeamMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/TeamPlatform.ts +1874 -0
- package/prisma/generated/models/TeamType.ts +1655 -0
- package/prisma/generated/models/Template.ts +1691 -0
- package/prisma/generated/models/TemplateComponent.ts +1995 -0
- package/prisma/generated/models/User.ts +25676 -0
- package/prisma/generated/models/WorkOrder.ts +5901 -0
- package/prisma/generated/models/WorkOrderActivityLog.ts +2126 -0
- package/prisma/generated/models/WorkOrderChannel.ts +1454 -0
- package/prisma/generated/models/WorkOrderComments.ts +1687 -0
- package/prisma/generated/models/WorkOrderEditLog.ts +1757 -0
- package/prisma/generated/models/WorkOrderMaterial.ts +1933 -0
- package/prisma/generated/models/WorkOrderPauses.ts +1454 -0
- package/prisma/generated/models/WorkOrderTask.ts +2220 -0
- package/prisma/generated/models/WorkOrderTaskData.ts +1244 -0
- package/prisma/generated/models/ZoneNro.ts +3926 -0
- package/prisma/generated/models/ZoneNroTemplate.ts +2966 -0
- package/prisma/generated/models/clientMaterial.ts +2193 -0
- package/prisma/generated/models/clientMaterialMovementLog.ts +1966 -0
- package/prisma/generated/models/ductTemplate.ts +1606 -0
- package/prisma/generated/models/installationSequence.ts +1708 -0
- package/prisma/generated/models/integrationProjectUserStatus.ts +1916 -0
- package/prisma/generated/models/integrationUserLocation.ts +1681 -0
- package/prisma/generated/models/problemCategorization.ts +1543 -0
- package/prisma/generated/models/projectPhaseLog.ts +1728 -0
- package/prisma/generated/models/qrCodeTag.ts +4978 -0
- package/prisma/generated/models/qrCodeTemplate.ts +6500 -0
- package/prisma/generated/models/ticketMaterialMovementLog.ts +1651 -0
- package/prisma/generated/models.ts +119 -0
- package/prisma/migrations/20251106101538_max_capacity_string/migration.sql +2 -0
- package/prisma/schema.prisma +3 -3
- package/prisma/seed.ts +33 -0
- package/prisma.config.ts +13 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,2912 @@
|
|
|
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 `PoleTemplate` 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 PoleTemplate
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type PoleTemplateModel = runtime.Types.Result.DefaultSelection<Prisma.$PoleTemplatePayload>
|
|
20
|
+
|
|
21
|
+
export type AggregatePoleTemplate = {
|
|
22
|
+
_count: PoleTemplateCountAggregateOutputType | null
|
|
23
|
+
_avg: PoleTemplateAvgAggregateOutputType | null
|
|
24
|
+
_sum: PoleTemplateSumAggregateOutputType | null
|
|
25
|
+
_min: PoleTemplateMinAggregateOutputType | null
|
|
26
|
+
_max: PoleTemplateMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type PoleTemplateAvgAggregateOutputType = {
|
|
30
|
+
no: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type PoleTemplateSumAggregateOutputType = {
|
|
34
|
+
no: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type PoleTemplateMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
no: number | null
|
|
40
|
+
status: string | null
|
|
41
|
+
terminalAccess: boolean | null
|
|
42
|
+
name: string | null
|
|
43
|
+
autoincrement: boolean | null
|
|
44
|
+
namePrefix: string | null
|
|
45
|
+
createdAt: Date | null
|
|
46
|
+
updatedAt: Date | null
|
|
47
|
+
deletedAt: Date | null
|
|
48
|
+
updatedById: string | null
|
|
49
|
+
networkElementId: string | null
|
|
50
|
+
clusterId: string | null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type PoleTemplateMaxAggregateOutputType = {
|
|
54
|
+
id: string | null
|
|
55
|
+
no: number | null
|
|
56
|
+
status: string | null
|
|
57
|
+
terminalAccess: boolean | null
|
|
58
|
+
name: string | null
|
|
59
|
+
autoincrement: boolean | null
|
|
60
|
+
namePrefix: string | null
|
|
61
|
+
createdAt: Date | null
|
|
62
|
+
updatedAt: Date | null
|
|
63
|
+
deletedAt: Date | null
|
|
64
|
+
updatedById: string | null
|
|
65
|
+
networkElementId: string | null
|
|
66
|
+
clusterId: string | null
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type PoleTemplateCountAggregateOutputType = {
|
|
70
|
+
id: number
|
|
71
|
+
no: number
|
|
72
|
+
status: number
|
|
73
|
+
terminalAccess: number
|
|
74
|
+
name: number
|
|
75
|
+
photos: number
|
|
76
|
+
texts: number
|
|
77
|
+
files: number
|
|
78
|
+
zone: number
|
|
79
|
+
geometry: number
|
|
80
|
+
attributes: number
|
|
81
|
+
autoincrement: number
|
|
82
|
+
namePrefix: number
|
|
83
|
+
createdAt: number
|
|
84
|
+
updatedAt: number
|
|
85
|
+
deletedAt: number
|
|
86
|
+
updatedById: number
|
|
87
|
+
networkElementId: number
|
|
88
|
+
clusterId: number
|
|
89
|
+
_all: number
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
export type PoleTemplateAvgAggregateInputType = {
|
|
94
|
+
no?: true
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export type PoleTemplateSumAggregateInputType = {
|
|
98
|
+
no?: true
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export type PoleTemplateMinAggregateInputType = {
|
|
102
|
+
id?: true
|
|
103
|
+
no?: true
|
|
104
|
+
status?: true
|
|
105
|
+
terminalAccess?: true
|
|
106
|
+
name?: true
|
|
107
|
+
autoincrement?: true
|
|
108
|
+
namePrefix?: true
|
|
109
|
+
createdAt?: true
|
|
110
|
+
updatedAt?: true
|
|
111
|
+
deletedAt?: true
|
|
112
|
+
updatedById?: true
|
|
113
|
+
networkElementId?: true
|
|
114
|
+
clusterId?: true
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type PoleTemplateMaxAggregateInputType = {
|
|
118
|
+
id?: true
|
|
119
|
+
no?: true
|
|
120
|
+
status?: true
|
|
121
|
+
terminalAccess?: true
|
|
122
|
+
name?: true
|
|
123
|
+
autoincrement?: true
|
|
124
|
+
namePrefix?: true
|
|
125
|
+
createdAt?: true
|
|
126
|
+
updatedAt?: true
|
|
127
|
+
deletedAt?: true
|
|
128
|
+
updatedById?: true
|
|
129
|
+
networkElementId?: true
|
|
130
|
+
clusterId?: true
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export type PoleTemplateCountAggregateInputType = {
|
|
134
|
+
id?: true
|
|
135
|
+
no?: true
|
|
136
|
+
status?: true
|
|
137
|
+
terminalAccess?: true
|
|
138
|
+
name?: true
|
|
139
|
+
photos?: true
|
|
140
|
+
texts?: true
|
|
141
|
+
files?: true
|
|
142
|
+
zone?: true
|
|
143
|
+
geometry?: true
|
|
144
|
+
attributes?: true
|
|
145
|
+
autoincrement?: true
|
|
146
|
+
namePrefix?: true
|
|
147
|
+
createdAt?: true
|
|
148
|
+
updatedAt?: true
|
|
149
|
+
deletedAt?: true
|
|
150
|
+
updatedById?: true
|
|
151
|
+
networkElementId?: true
|
|
152
|
+
clusterId?: true
|
|
153
|
+
_all?: true
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export type PoleTemplateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
157
|
+
/**
|
|
158
|
+
* Filter which PoleTemplate to aggregate.
|
|
159
|
+
*/
|
|
160
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
163
|
+
*
|
|
164
|
+
* Determine the order of PoleTemplates to fetch.
|
|
165
|
+
*/
|
|
166
|
+
orderBy?: Prisma.PoleTemplateOrderByWithRelationInput | Prisma.PoleTemplateOrderByWithRelationInput[]
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
169
|
+
*
|
|
170
|
+
* Sets the start position
|
|
171
|
+
*/
|
|
172
|
+
cursor?: Prisma.PoleTemplateWhereUniqueInput
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
175
|
+
*
|
|
176
|
+
* Take `±n` PoleTemplates from the position of the cursor.
|
|
177
|
+
*/
|
|
178
|
+
take?: number
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
181
|
+
*
|
|
182
|
+
* Skip the first `n` PoleTemplates.
|
|
183
|
+
*/
|
|
184
|
+
skip?: number
|
|
185
|
+
/**
|
|
186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
187
|
+
*
|
|
188
|
+
* Count returned PoleTemplates
|
|
189
|
+
**/
|
|
190
|
+
_count?: true | PoleTemplateCountAggregateInputType
|
|
191
|
+
/**
|
|
192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
193
|
+
*
|
|
194
|
+
* Select which fields to average
|
|
195
|
+
**/
|
|
196
|
+
_avg?: PoleTemplateAvgAggregateInputType
|
|
197
|
+
/**
|
|
198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
199
|
+
*
|
|
200
|
+
* Select which fields to sum
|
|
201
|
+
**/
|
|
202
|
+
_sum?: PoleTemplateSumAggregateInputType
|
|
203
|
+
/**
|
|
204
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
205
|
+
*
|
|
206
|
+
* Select which fields to find the minimum value
|
|
207
|
+
**/
|
|
208
|
+
_min?: PoleTemplateMinAggregateInputType
|
|
209
|
+
/**
|
|
210
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
211
|
+
*
|
|
212
|
+
* Select which fields to find the maximum value
|
|
213
|
+
**/
|
|
214
|
+
_max?: PoleTemplateMaxAggregateInputType
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export type GetPoleTemplateAggregateType<T extends PoleTemplateAggregateArgs> = {
|
|
218
|
+
[P in keyof T & keyof AggregatePoleTemplate]: P extends '_count' | 'count'
|
|
219
|
+
? T[P] extends true
|
|
220
|
+
? number
|
|
221
|
+
: Prisma.GetScalarType<T[P], AggregatePoleTemplate[P]>
|
|
222
|
+
: Prisma.GetScalarType<T[P], AggregatePoleTemplate[P]>
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
export type PoleTemplateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
229
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
230
|
+
orderBy?: Prisma.PoleTemplateOrderByWithAggregationInput | Prisma.PoleTemplateOrderByWithAggregationInput[]
|
|
231
|
+
by: Prisma.PoleTemplateScalarFieldEnum[] | Prisma.PoleTemplateScalarFieldEnum
|
|
232
|
+
having?: Prisma.PoleTemplateScalarWhereWithAggregatesInput
|
|
233
|
+
take?: number
|
|
234
|
+
skip?: number
|
|
235
|
+
_count?: PoleTemplateCountAggregateInputType | true
|
|
236
|
+
_avg?: PoleTemplateAvgAggregateInputType
|
|
237
|
+
_sum?: PoleTemplateSumAggregateInputType
|
|
238
|
+
_min?: PoleTemplateMinAggregateInputType
|
|
239
|
+
_max?: PoleTemplateMaxAggregateInputType
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type PoleTemplateGroupByOutputType = {
|
|
243
|
+
id: string
|
|
244
|
+
no: number
|
|
245
|
+
status: string
|
|
246
|
+
terminalAccess: boolean
|
|
247
|
+
name: string | null
|
|
248
|
+
photos: runtime.JsonValue | null
|
|
249
|
+
texts: runtime.JsonValue | null
|
|
250
|
+
files: runtime.JsonValue | null
|
|
251
|
+
zone: runtime.JsonValue | null
|
|
252
|
+
geometry: runtime.JsonValue | null
|
|
253
|
+
attributes: runtime.JsonValue | null
|
|
254
|
+
autoincrement: boolean
|
|
255
|
+
namePrefix: string | null
|
|
256
|
+
createdAt: Date
|
|
257
|
+
updatedAt: Date
|
|
258
|
+
deletedAt: Date | null
|
|
259
|
+
updatedById: string | null
|
|
260
|
+
networkElementId: string
|
|
261
|
+
clusterId: string | null
|
|
262
|
+
_count: PoleTemplateCountAggregateOutputType | null
|
|
263
|
+
_avg: PoleTemplateAvgAggregateOutputType | null
|
|
264
|
+
_sum: PoleTemplateSumAggregateOutputType | null
|
|
265
|
+
_min: PoleTemplateMinAggregateOutputType | null
|
|
266
|
+
_max: PoleTemplateMaxAggregateOutputType | null
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
type GetPoleTemplateGroupByPayload<T extends PoleTemplateGroupByArgs> = Prisma.PrismaPromise<
|
|
270
|
+
Array<
|
|
271
|
+
Prisma.PickEnumerable<PoleTemplateGroupByOutputType, T['by']> &
|
|
272
|
+
{
|
|
273
|
+
[P in ((keyof T) & (keyof PoleTemplateGroupByOutputType))]: P extends '_count'
|
|
274
|
+
? T[P] extends boolean
|
|
275
|
+
? number
|
|
276
|
+
: Prisma.GetScalarType<T[P], PoleTemplateGroupByOutputType[P]>
|
|
277
|
+
: Prisma.GetScalarType<T[P], PoleTemplateGroupByOutputType[P]>
|
|
278
|
+
}
|
|
279
|
+
>
|
|
280
|
+
>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
export type PoleTemplateWhereInput = {
|
|
285
|
+
AND?: Prisma.PoleTemplateWhereInput | Prisma.PoleTemplateWhereInput[]
|
|
286
|
+
OR?: Prisma.PoleTemplateWhereInput[]
|
|
287
|
+
NOT?: Prisma.PoleTemplateWhereInput | Prisma.PoleTemplateWhereInput[]
|
|
288
|
+
id?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
289
|
+
no?: Prisma.IntFilter<"PoleTemplate"> | number
|
|
290
|
+
status?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
291
|
+
terminalAccess?: Prisma.BoolFilter<"PoleTemplate"> | boolean
|
|
292
|
+
name?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
293
|
+
photos?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
294
|
+
texts?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
295
|
+
files?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
296
|
+
zone?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
297
|
+
geometry?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
298
|
+
attributes?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
299
|
+
autoincrement?: Prisma.BoolFilter<"PoleTemplate"> | boolean
|
|
300
|
+
namePrefix?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
301
|
+
createdAt?: Prisma.DateTimeFilter<"PoleTemplate"> | Date | string
|
|
302
|
+
updatedAt?: Prisma.DateTimeFilter<"PoleTemplate"> | Date | string
|
|
303
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"PoleTemplate"> | Date | string | null
|
|
304
|
+
updatedById?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
305
|
+
networkElementId?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
306
|
+
clusterId?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
307
|
+
updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
308
|
+
networkElement?: Prisma.XOR<Prisma.NetworkElementScalarRelationFilter, Prisma.NetworkElementWhereInput>
|
|
309
|
+
projects?: Prisma.ProjectListRelationFilter
|
|
310
|
+
cluster?: Prisma.XOR<Prisma.ClusterNullableScalarRelationFilter, Prisma.ClusterWhereInput> | null
|
|
311
|
+
qrCodeTemplate?: Prisma.QrCodeTemplateListRelationFilter
|
|
312
|
+
Pole?: Prisma.PoleListRelationFilter
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export type PoleTemplateOrderByWithRelationInput = {
|
|
316
|
+
id?: Prisma.SortOrder
|
|
317
|
+
no?: Prisma.SortOrder
|
|
318
|
+
status?: Prisma.SortOrder
|
|
319
|
+
terminalAccess?: Prisma.SortOrder
|
|
320
|
+
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
321
|
+
photos?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
322
|
+
texts?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
323
|
+
files?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
324
|
+
zone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
325
|
+
geometry?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
326
|
+
attributes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
327
|
+
autoincrement?: Prisma.SortOrder
|
|
328
|
+
namePrefix?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
329
|
+
createdAt?: Prisma.SortOrder
|
|
330
|
+
updatedAt?: Prisma.SortOrder
|
|
331
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
332
|
+
updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
333
|
+
networkElementId?: Prisma.SortOrder
|
|
334
|
+
clusterId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
335
|
+
updatedBy?: Prisma.UserOrderByWithRelationInput
|
|
336
|
+
networkElement?: Prisma.NetworkElementOrderByWithRelationInput
|
|
337
|
+
projects?: Prisma.ProjectOrderByRelationAggregateInput
|
|
338
|
+
cluster?: Prisma.ClusterOrderByWithRelationInput
|
|
339
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateOrderByRelationAggregateInput
|
|
340
|
+
Pole?: Prisma.PoleOrderByRelationAggregateInput
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type PoleTemplateWhereUniqueInput = Prisma.AtLeast<{
|
|
344
|
+
id?: string
|
|
345
|
+
AND?: Prisma.PoleTemplateWhereInput | Prisma.PoleTemplateWhereInput[]
|
|
346
|
+
OR?: Prisma.PoleTemplateWhereInput[]
|
|
347
|
+
NOT?: Prisma.PoleTemplateWhereInput | Prisma.PoleTemplateWhereInput[]
|
|
348
|
+
no?: Prisma.IntFilter<"PoleTemplate"> | number
|
|
349
|
+
status?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
350
|
+
terminalAccess?: Prisma.BoolFilter<"PoleTemplate"> | boolean
|
|
351
|
+
name?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
352
|
+
photos?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
353
|
+
texts?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
354
|
+
files?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
355
|
+
zone?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
356
|
+
geometry?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
357
|
+
attributes?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
358
|
+
autoincrement?: Prisma.BoolFilter<"PoleTemplate"> | boolean
|
|
359
|
+
namePrefix?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
360
|
+
createdAt?: Prisma.DateTimeFilter<"PoleTemplate"> | Date | string
|
|
361
|
+
updatedAt?: Prisma.DateTimeFilter<"PoleTemplate"> | Date | string
|
|
362
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"PoleTemplate"> | Date | string | null
|
|
363
|
+
updatedById?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
364
|
+
networkElementId?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
365
|
+
clusterId?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
366
|
+
updatedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
367
|
+
networkElement?: Prisma.XOR<Prisma.NetworkElementScalarRelationFilter, Prisma.NetworkElementWhereInput>
|
|
368
|
+
projects?: Prisma.ProjectListRelationFilter
|
|
369
|
+
cluster?: Prisma.XOR<Prisma.ClusterNullableScalarRelationFilter, Prisma.ClusterWhereInput> | null
|
|
370
|
+
qrCodeTemplate?: Prisma.QrCodeTemplateListRelationFilter
|
|
371
|
+
Pole?: Prisma.PoleListRelationFilter
|
|
372
|
+
}, "id" | "id">
|
|
373
|
+
|
|
374
|
+
export type PoleTemplateOrderByWithAggregationInput = {
|
|
375
|
+
id?: Prisma.SortOrder
|
|
376
|
+
no?: Prisma.SortOrder
|
|
377
|
+
status?: Prisma.SortOrder
|
|
378
|
+
terminalAccess?: Prisma.SortOrder
|
|
379
|
+
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
380
|
+
photos?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
381
|
+
texts?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
382
|
+
files?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
383
|
+
zone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
384
|
+
geometry?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
385
|
+
attributes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
386
|
+
autoincrement?: Prisma.SortOrder
|
|
387
|
+
namePrefix?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
388
|
+
createdAt?: Prisma.SortOrder
|
|
389
|
+
updatedAt?: Prisma.SortOrder
|
|
390
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
391
|
+
updatedById?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
392
|
+
networkElementId?: Prisma.SortOrder
|
|
393
|
+
clusterId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
394
|
+
_count?: Prisma.PoleTemplateCountOrderByAggregateInput
|
|
395
|
+
_avg?: Prisma.PoleTemplateAvgOrderByAggregateInput
|
|
396
|
+
_max?: Prisma.PoleTemplateMaxOrderByAggregateInput
|
|
397
|
+
_min?: Prisma.PoleTemplateMinOrderByAggregateInput
|
|
398
|
+
_sum?: Prisma.PoleTemplateSumOrderByAggregateInput
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type PoleTemplateScalarWhereWithAggregatesInput = {
|
|
402
|
+
AND?: Prisma.PoleTemplateScalarWhereWithAggregatesInput | Prisma.PoleTemplateScalarWhereWithAggregatesInput[]
|
|
403
|
+
OR?: Prisma.PoleTemplateScalarWhereWithAggregatesInput[]
|
|
404
|
+
NOT?: Prisma.PoleTemplateScalarWhereWithAggregatesInput | Prisma.PoleTemplateScalarWhereWithAggregatesInput[]
|
|
405
|
+
id?: Prisma.StringWithAggregatesFilter<"PoleTemplate"> | string
|
|
406
|
+
no?: Prisma.IntWithAggregatesFilter<"PoleTemplate"> | number
|
|
407
|
+
status?: Prisma.StringWithAggregatesFilter<"PoleTemplate"> | string
|
|
408
|
+
terminalAccess?: Prisma.BoolWithAggregatesFilter<"PoleTemplate"> | boolean
|
|
409
|
+
name?: Prisma.StringNullableWithAggregatesFilter<"PoleTemplate"> | string | null
|
|
410
|
+
photos?: Prisma.JsonNullableWithAggregatesFilter<"PoleTemplate">
|
|
411
|
+
texts?: Prisma.JsonNullableWithAggregatesFilter<"PoleTemplate">
|
|
412
|
+
files?: Prisma.JsonNullableWithAggregatesFilter<"PoleTemplate">
|
|
413
|
+
zone?: Prisma.JsonNullableWithAggregatesFilter<"PoleTemplate">
|
|
414
|
+
geometry?: Prisma.JsonNullableWithAggregatesFilter<"PoleTemplate">
|
|
415
|
+
attributes?: Prisma.JsonNullableWithAggregatesFilter<"PoleTemplate">
|
|
416
|
+
autoincrement?: Prisma.BoolWithAggregatesFilter<"PoleTemplate"> | boolean
|
|
417
|
+
namePrefix?: Prisma.StringNullableWithAggregatesFilter<"PoleTemplate"> | string | null
|
|
418
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PoleTemplate"> | Date | string
|
|
419
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PoleTemplate"> | Date | string
|
|
420
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PoleTemplate"> | Date | string | null
|
|
421
|
+
updatedById?: Prisma.StringNullableWithAggregatesFilter<"PoleTemplate"> | string | null
|
|
422
|
+
networkElementId?: Prisma.StringWithAggregatesFilter<"PoleTemplate"> | string
|
|
423
|
+
clusterId?: Prisma.StringNullableWithAggregatesFilter<"PoleTemplate"> | string | null
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export type PoleTemplateCreateInput = {
|
|
427
|
+
id?: string
|
|
428
|
+
no?: number
|
|
429
|
+
status?: string
|
|
430
|
+
terminalAccess?: boolean
|
|
431
|
+
name?: string | null
|
|
432
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
433
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
434
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
435
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
436
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
437
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
438
|
+
autoincrement?: boolean
|
|
439
|
+
namePrefix?: string | null
|
|
440
|
+
createdAt?: Date | string
|
|
441
|
+
updatedAt?: Date | string
|
|
442
|
+
deletedAt?: Date | string | null
|
|
443
|
+
updatedBy?: Prisma.UserCreateNestedOneWithoutPoleTemplateInput
|
|
444
|
+
networkElement: Prisma.NetworkElementCreateNestedOneWithoutPoleTemplateInput
|
|
445
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutPoleTemplateInput
|
|
446
|
+
cluster?: Prisma.ClusterCreateNestedOneWithoutPoleTemplateInput
|
|
447
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutPoleTemplateInput
|
|
448
|
+
Pole?: Prisma.PoleCreateNestedManyWithoutTemplateInput
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export type PoleTemplateUncheckedCreateInput = {
|
|
452
|
+
id?: string
|
|
453
|
+
no?: number
|
|
454
|
+
status?: string
|
|
455
|
+
terminalAccess?: boolean
|
|
456
|
+
name?: string | null
|
|
457
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
458
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
459
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
460
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
461
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
462
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
463
|
+
autoincrement?: boolean
|
|
464
|
+
namePrefix?: string | null
|
|
465
|
+
createdAt?: Date | string
|
|
466
|
+
updatedAt?: Date | string
|
|
467
|
+
deletedAt?: Date | string | null
|
|
468
|
+
updatedById?: string | null
|
|
469
|
+
networkElementId: string
|
|
470
|
+
clusterId?: string | null
|
|
471
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
472
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
473
|
+
Pole?: Prisma.PoleUncheckedCreateNestedManyWithoutTemplateInput
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type PoleTemplateUpdateInput = {
|
|
477
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
478
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
479
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
480
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
481
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
482
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
483
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
484
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
485
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
486
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
487
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
488
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
489
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
490
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
491
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
492
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
493
|
+
updatedBy?: Prisma.UserUpdateOneWithoutPoleTemplateNestedInput
|
|
494
|
+
networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutPoleTemplateNestedInput
|
|
495
|
+
projects?: Prisma.ProjectUpdateManyWithoutPoleTemplateNestedInput
|
|
496
|
+
cluster?: Prisma.ClusterUpdateOneWithoutPoleTemplateNestedInput
|
|
497
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutPoleTemplateNestedInput
|
|
498
|
+
Pole?: Prisma.PoleUpdateManyWithoutTemplateNestedInput
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export type PoleTemplateUncheckedUpdateInput = {
|
|
502
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
503
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
504
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
505
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
506
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
507
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
508
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
509
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
510
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
511
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
512
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
513
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
514
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
515
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
516
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
517
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
518
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
519
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
520
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
521
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
522
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
523
|
+
Pole?: Prisma.PoleUncheckedUpdateManyWithoutTemplateNestedInput
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export type PoleTemplateCreateManyInput = {
|
|
527
|
+
id?: string
|
|
528
|
+
no?: number
|
|
529
|
+
status?: string
|
|
530
|
+
terminalAccess?: boolean
|
|
531
|
+
name?: string | null
|
|
532
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
533
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
534
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
535
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
536
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
537
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
538
|
+
autoincrement?: boolean
|
|
539
|
+
namePrefix?: string | null
|
|
540
|
+
createdAt?: Date | string
|
|
541
|
+
updatedAt?: Date | string
|
|
542
|
+
deletedAt?: Date | string | null
|
|
543
|
+
updatedById?: string | null
|
|
544
|
+
networkElementId: string
|
|
545
|
+
clusterId?: string | null
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export type PoleTemplateUpdateManyMutationInput = {
|
|
549
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
550
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
551
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
552
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
553
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
554
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
555
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
556
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
557
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
558
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
559
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
560
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
561
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
562
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
563
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
564
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
export type PoleTemplateUncheckedUpdateManyInput = {
|
|
568
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
569
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
570
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
571
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
572
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
573
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
574
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
575
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
576
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
577
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
578
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
579
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
580
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
581
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
582
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
583
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
584
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
585
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
586
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export type PoleTemplateListRelationFilter = {
|
|
590
|
+
every?: Prisma.PoleTemplateWhereInput
|
|
591
|
+
some?: Prisma.PoleTemplateWhereInput
|
|
592
|
+
none?: Prisma.PoleTemplateWhereInput
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export type PoleTemplateOrderByRelationAggregateInput = {
|
|
596
|
+
_count?: Prisma.SortOrder
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export type PoleTemplateNullableScalarRelationFilter = {
|
|
600
|
+
is?: Prisma.PoleTemplateWhereInput | null
|
|
601
|
+
isNot?: Prisma.PoleTemplateWhereInput | null
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
export type PoleTemplateCountOrderByAggregateInput = {
|
|
605
|
+
id?: Prisma.SortOrder
|
|
606
|
+
no?: Prisma.SortOrder
|
|
607
|
+
status?: Prisma.SortOrder
|
|
608
|
+
terminalAccess?: Prisma.SortOrder
|
|
609
|
+
name?: Prisma.SortOrder
|
|
610
|
+
photos?: Prisma.SortOrder
|
|
611
|
+
texts?: Prisma.SortOrder
|
|
612
|
+
files?: Prisma.SortOrder
|
|
613
|
+
zone?: Prisma.SortOrder
|
|
614
|
+
geometry?: Prisma.SortOrder
|
|
615
|
+
attributes?: Prisma.SortOrder
|
|
616
|
+
autoincrement?: Prisma.SortOrder
|
|
617
|
+
namePrefix?: Prisma.SortOrder
|
|
618
|
+
createdAt?: Prisma.SortOrder
|
|
619
|
+
updatedAt?: Prisma.SortOrder
|
|
620
|
+
deletedAt?: Prisma.SortOrder
|
|
621
|
+
updatedById?: Prisma.SortOrder
|
|
622
|
+
networkElementId?: Prisma.SortOrder
|
|
623
|
+
clusterId?: Prisma.SortOrder
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export type PoleTemplateAvgOrderByAggregateInput = {
|
|
627
|
+
no?: Prisma.SortOrder
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export type PoleTemplateMaxOrderByAggregateInput = {
|
|
631
|
+
id?: Prisma.SortOrder
|
|
632
|
+
no?: Prisma.SortOrder
|
|
633
|
+
status?: Prisma.SortOrder
|
|
634
|
+
terminalAccess?: Prisma.SortOrder
|
|
635
|
+
name?: Prisma.SortOrder
|
|
636
|
+
autoincrement?: Prisma.SortOrder
|
|
637
|
+
namePrefix?: Prisma.SortOrder
|
|
638
|
+
createdAt?: Prisma.SortOrder
|
|
639
|
+
updatedAt?: Prisma.SortOrder
|
|
640
|
+
deletedAt?: Prisma.SortOrder
|
|
641
|
+
updatedById?: Prisma.SortOrder
|
|
642
|
+
networkElementId?: Prisma.SortOrder
|
|
643
|
+
clusterId?: Prisma.SortOrder
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export type PoleTemplateMinOrderByAggregateInput = {
|
|
647
|
+
id?: Prisma.SortOrder
|
|
648
|
+
no?: Prisma.SortOrder
|
|
649
|
+
status?: Prisma.SortOrder
|
|
650
|
+
terminalAccess?: Prisma.SortOrder
|
|
651
|
+
name?: Prisma.SortOrder
|
|
652
|
+
autoincrement?: Prisma.SortOrder
|
|
653
|
+
namePrefix?: Prisma.SortOrder
|
|
654
|
+
createdAt?: Prisma.SortOrder
|
|
655
|
+
updatedAt?: Prisma.SortOrder
|
|
656
|
+
deletedAt?: Prisma.SortOrder
|
|
657
|
+
updatedById?: Prisma.SortOrder
|
|
658
|
+
networkElementId?: Prisma.SortOrder
|
|
659
|
+
clusterId?: Prisma.SortOrder
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export type PoleTemplateSumOrderByAggregateInput = {
|
|
663
|
+
no?: Prisma.SortOrder
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export type PoleTemplateCreateNestedManyWithoutUpdatedByInput = {
|
|
667
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.PoleTemplateCreateWithoutUpdatedByInput[] | Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput[]
|
|
668
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput[]
|
|
669
|
+
createMany?: Prisma.PoleTemplateCreateManyUpdatedByInputEnvelope
|
|
670
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export type PoleTemplateUncheckedCreateNestedManyWithoutUpdatedByInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.PoleTemplateCreateWithoutUpdatedByInput[] | Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput[]
|
|
675
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput[]
|
|
676
|
+
createMany?: Prisma.PoleTemplateCreateManyUpdatedByInputEnvelope
|
|
677
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export type PoleTemplateUpdateManyWithoutUpdatedByNestedInput = {
|
|
681
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.PoleTemplateCreateWithoutUpdatedByInput[] | Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput[]
|
|
682
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput[]
|
|
683
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutUpdatedByInput[]
|
|
684
|
+
createMany?: Prisma.PoleTemplateCreateManyUpdatedByInputEnvelope
|
|
685
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
686
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
687
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
688
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
689
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutUpdatedByInput[]
|
|
690
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutUpdatedByInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutUpdatedByInput[]
|
|
691
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type PoleTemplateUncheckedUpdateManyWithoutUpdatedByNestedInput = {
|
|
695
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput> | Prisma.PoleTemplateCreateWithoutUpdatedByInput[] | Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput[]
|
|
696
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput | Prisma.PoleTemplateCreateOrConnectWithoutUpdatedByInput[]
|
|
697
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutUpdatedByInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutUpdatedByInput[]
|
|
698
|
+
createMany?: Prisma.PoleTemplateCreateManyUpdatedByInputEnvelope
|
|
699
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
700
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
701
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
702
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
703
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutUpdatedByInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutUpdatedByInput[]
|
|
704
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutUpdatedByInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutUpdatedByInput[]
|
|
705
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
export type PoleTemplateCreateNestedManyWithoutProjectsInput = {
|
|
709
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutProjectsInput, Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput> | Prisma.PoleTemplateCreateWithoutProjectsInput[] | Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput[]
|
|
710
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput | Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput[]
|
|
711
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export type PoleTemplateUncheckedCreateNestedManyWithoutProjectsInput = {
|
|
715
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutProjectsInput, Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput> | Prisma.PoleTemplateCreateWithoutProjectsInput[] | Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput[]
|
|
716
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput | Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput[]
|
|
717
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export type PoleTemplateUpdateManyWithoutProjectsNestedInput = {
|
|
721
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutProjectsInput, Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput> | Prisma.PoleTemplateCreateWithoutProjectsInput[] | Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput[]
|
|
722
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput | Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput[]
|
|
723
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutProjectsInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutProjectsInput[]
|
|
724
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
725
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
726
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
727
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
728
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutProjectsInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutProjectsInput[]
|
|
729
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutProjectsInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutProjectsInput[]
|
|
730
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export type PoleTemplateUncheckedUpdateManyWithoutProjectsNestedInput = {
|
|
734
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutProjectsInput, Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput> | Prisma.PoleTemplateCreateWithoutProjectsInput[] | Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput[]
|
|
735
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput | Prisma.PoleTemplateCreateOrConnectWithoutProjectsInput[]
|
|
736
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutProjectsInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutProjectsInput[]
|
|
737
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
738
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
739
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
740
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
741
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutProjectsInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutProjectsInput[]
|
|
742
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutProjectsInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutProjectsInput[]
|
|
743
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export type PoleTemplateCreateNestedManyWithoutNetworkElementInput = {
|
|
747
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.PoleTemplateCreateWithoutNetworkElementInput[] | Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput[]
|
|
748
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput[]
|
|
749
|
+
createMany?: Prisma.PoleTemplateCreateManyNetworkElementInputEnvelope
|
|
750
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export type PoleTemplateUncheckedCreateNestedManyWithoutNetworkElementInput = {
|
|
754
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.PoleTemplateCreateWithoutNetworkElementInput[] | Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput[]
|
|
755
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput[]
|
|
756
|
+
createMany?: Prisma.PoleTemplateCreateManyNetworkElementInputEnvelope
|
|
757
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export type PoleTemplateUpdateManyWithoutNetworkElementNestedInput = {
|
|
761
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.PoleTemplateCreateWithoutNetworkElementInput[] | Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput[]
|
|
762
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput[]
|
|
763
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutNetworkElementInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutNetworkElementInput[]
|
|
764
|
+
createMany?: Prisma.PoleTemplateCreateManyNetworkElementInputEnvelope
|
|
765
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
766
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
767
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
768
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
769
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutNetworkElementInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutNetworkElementInput[]
|
|
770
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutNetworkElementInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutNetworkElementInput[]
|
|
771
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export type PoleTemplateUncheckedUpdateManyWithoutNetworkElementNestedInput = {
|
|
775
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput> | Prisma.PoleTemplateCreateWithoutNetworkElementInput[] | Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput[]
|
|
776
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput | Prisma.PoleTemplateCreateOrConnectWithoutNetworkElementInput[]
|
|
777
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutNetworkElementInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutNetworkElementInput[]
|
|
778
|
+
createMany?: Prisma.PoleTemplateCreateManyNetworkElementInputEnvelope
|
|
779
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
780
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
781
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
782
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
783
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutNetworkElementInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutNetworkElementInput[]
|
|
784
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutNetworkElementInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutNetworkElementInput[]
|
|
785
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export type PoleTemplateCreateNestedOneWithoutPoleInput = {
|
|
789
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutPoleInput, Prisma.PoleTemplateUncheckedCreateWithoutPoleInput>
|
|
790
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutPoleInput
|
|
791
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export type PoleTemplateUpdateOneWithoutPoleNestedInput = {
|
|
795
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutPoleInput, Prisma.PoleTemplateUncheckedCreateWithoutPoleInput>
|
|
796
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutPoleInput
|
|
797
|
+
upsert?: Prisma.PoleTemplateUpsertWithoutPoleInput
|
|
798
|
+
disconnect?: Prisma.PoleTemplateWhereInput | boolean
|
|
799
|
+
delete?: Prisma.PoleTemplateWhereInput | boolean
|
|
800
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput
|
|
801
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PoleTemplateUpdateToOneWithWhereWithoutPoleInput, Prisma.PoleTemplateUpdateWithoutPoleInput>, Prisma.PoleTemplateUncheckedUpdateWithoutPoleInput>
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export type PoleTemplateCreateNestedManyWithoutClusterInput = {
|
|
805
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutClusterInput, Prisma.PoleTemplateUncheckedCreateWithoutClusterInput> | Prisma.PoleTemplateCreateWithoutClusterInput[] | Prisma.PoleTemplateUncheckedCreateWithoutClusterInput[]
|
|
806
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutClusterInput | Prisma.PoleTemplateCreateOrConnectWithoutClusterInput[]
|
|
807
|
+
createMany?: Prisma.PoleTemplateCreateManyClusterInputEnvelope
|
|
808
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export type PoleTemplateUncheckedCreateNestedManyWithoutClusterInput = {
|
|
812
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutClusterInput, Prisma.PoleTemplateUncheckedCreateWithoutClusterInput> | Prisma.PoleTemplateCreateWithoutClusterInput[] | Prisma.PoleTemplateUncheckedCreateWithoutClusterInput[]
|
|
813
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutClusterInput | Prisma.PoleTemplateCreateOrConnectWithoutClusterInput[]
|
|
814
|
+
createMany?: Prisma.PoleTemplateCreateManyClusterInputEnvelope
|
|
815
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
export type PoleTemplateUpdateManyWithoutClusterNestedInput = {
|
|
819
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutClusterInput, Prisma.PoleTemplateUncheckedCreateWithoutClusterInput> | Prisma.PoleTemplateCreateWithoutClusterInput[] | Prisma.PoleTemplateUncheckedCreateWithoutClusterInput[]
|
|
820
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutClusterInput | Prisma.PoleTemplateCreateOrConnectWithoutClusterInput[]
|
|
821
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutClusterInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutClusterInput[]
|
|
822
|
+
createMany?: Prisma.PoleTemplateCreateManyClusterInputEnvelope
|
|
823
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
824
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
825
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
826
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
827
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutClusterInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutClusterInput[]
|
|
828
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutClusterInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutClusterInput[]
|
|
829
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
export type PoleTemplateUncheckedUpdateManyWithoutClusterNestedInput = {
|
|
833
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutClusterInput, Prisma.PoleTemplateUncheckedCreateWithoutClusterInput> | Prisma.PoleTemplateCreateWithoutClusterInput[] | Prisma.PoleTemplateUncheckedCreateWithoutClusterInput[]
|
|
834
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutClusterInput | Prisma.PoleTemplateCreateOrConnectWithoutClusterInput[]
|
|
835
|
+
upsert?: Prisma.PoleTemplateUpsertWithWhereUniqueWithoutClusterInput | Prisma.PoleTemplateUpsertWithWhereUniqueWithoutClusterInput[]
|
|
836
|
+
createMany?: Prisma.PoleTemplateCreateManyClusterInputEnvelope
|
|
837
|
+
set?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
838
|
+
disconnect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
839
|
+
delete?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
840
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput | Prisma.PoleTemplateWhereUniqueInput[]
|
|
841
|
+
update?: Prisma.PoleTemplateUpdateWithWhereUniqueWithoutClusterInput | Prisma.PoleTemplateUpdateWithWhereUniqueWithoutClusterInput[]
|
|
842
|
+
updateMany?: Prisma.PoleTemplateUpdateManyWithWhereWithoutClusterInput | Prisma.PoleTemplateUpdateManyWithWhereWithoutClusterInput[]
|
|
843
|
+
deleteMany?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export type PoleTemplateCreateNestedOneWithoutQrCodeTemplateInput = {
|
|
847
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutQrCodeTemplateInput, Prisma.PoleTemplateUncheckedCreateWithoutQrCodeTemplateInput>
|
|
848
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutQrCodeTemplateInput
|
|
849
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
export type PoleTemplateUpdateOneWithoutQrCodeTemplateNestedInput = {
|
|
853
|
+
create?: Prisma.XOR<Prisma.PoleTemplateCreateWithoutQrCodeTemplateInput, Prisma.PoleTemplateUncheckedCreateWithoutQrCodeTemplateInput>
|
|
854
|
+
connectOrCreate?: Prisma.PoleTemplateCreateOrConnectWithoutQrCodeTemplateInput
|
|
855
|
+
upsert?: Prisma.PoleTemplateUpsertWithoutQrCodeTemplateInput
|
|
856
|
+
disconnect?: Prisma.PoleTemplateWhereInput | boolean
|
|
857
|
+
delete?: Prisma.PoleTemplateWhereInput | boolean
|
|
858
|
+
connect?: Prisma.PoleTemplateWhereUniqueInput
|
|
859
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PoleTemplateUpdateToOneWithWhereWithoutQrCodeTemplateInput, Prisma.PoleTemplateUpdateWithoutQrCodeTemplateInput>, Prisma.PoleTemplateUncheckedUpdateWithoutQrCodeTemplateInput>
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
export type PoleTemplateCreateWithoutUpdatedByInput = {
|
|
863
|
+
id?: string
|
|
864
|
+
no?: number
|
|
865
|
+
status?: string
|
|
866
|
+
terminalAccess?: boolean
|
|
867
|
+
name?: string | null
|
|
868
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
869
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
870
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
871
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
872
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
873
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
874
|
+
autoincrement?: boolean
|
|
875
|
+
namePrefix?: string | null
|
|
876
|
+
createdAt?: Date | string
|
|
877
|
+
updatedAt?: Date | string
|
|
878
|
+
deletedAt?: Date | string | null
|
|
879
|
+
networkElement: Prisma.NetworkElementCreateNestedOneWithoutPoleTemplateInput
|
|
880
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutPoleTemplateInput
|
|
881
|
+
cluster?: Prisma.ClusterCreateNestedOneWithoutPoleTemplateInput
|
|
882
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutPoleTemplateInput
|
|
883
|
+
Pole?: Prisma.PoleCreateNestedManyWithoutTemplateInput
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
export type PoleTemplateUncheckedCreateWithoutUpdatedByInput = {
|
|
887
|
+
id?: string
|
|
888
|
+
no?: number
|
|
889
|
+
status?: string
|
|
890
|
+
terminalAccess?: boolean
|
|
891
|
+
name?: string | null
|
|
892
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
893
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
894
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
895
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
896
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
897
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
898
|
+
autoincrement?: boolean
|
|
899
|
+
namePrefix?: string | null
|
|
900
|
+
createdAt?: Date | string
|
|
901
|
+
updatedAt?: Date | string
|
|
902
|
+
deletedAt?: Date | string | null
|
|
903
|
+
networkElementId: string
|
|
904
|
+
clusterId?: string | null
|
|
905
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
906
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
907
|
+
Pole?: Prisma.PoleUncheckedCreateNestedManyWithoutTemplateInput
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export type PoleTemplateCreateOrConnectWithoutUpdatedByInput = {
|
|
911
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
912
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput>
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export type PoleTemplateCreateManyUpdatedByInputEnvelope = {
|
|
916
|
+
data: Prisma.PoleTemplateCreateManyUpdatedByInput | Prisma.PoleTemplateCreateManyUpdatedByInput[]
|
|
917
|
+
skipDuplicates?: boolean
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
export type PoleTemplateUpsertWithWhereUniqueWithoutUpdatedByInput = {
|
|
921
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
922
|
+
update: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedUpdateWithoutUpdatedByInput>
|
|
923
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedCreateWithoutUpdatedByInput>
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
export type PoleTemplateUpdateWithWhereUniqueWithoutUpdatedByInput = {
|
|
927
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
928
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutUpdatedByInput, Prisma.PoleTemplateUncheckedUpdateWithoutUpdatedByInput>
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
export type PoleTemplateUpdateManyWithWhereWithoutUpdatedByInput = {
|
|
932
|
+
where: Prisma.PoleTemplateScalarWhereInput
|
|
933
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateManyMutationInput, Prisma.PoleTemplateUncheckedUpdateManyWithoutUpdatedByInput>
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
export type PoleTemplateScalarWhereInput = {
|
|
937
|
+
AND?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
938
|
+
OR?: Prisma.PoleTemplateScalarWhereInput[]
|
|
939
|
+
NOT?: Prisma.PoleTemplateScalarWhereInput | Prisma.PoleTemplateScalarWhereInput[]
|
|
940
|
+
id?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
941
|
+
no?: Prisma.IntFilter<"PoleTemplate"> | number
|
|
942
|
+
status?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
943
|
+
terminalAccess?: Prisma.BoolFilter<"PoleTemplate"> | boolean
|
|
944
|
+
name?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
945
|
+
photos?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
946
|
+
texts?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
947
|
+
files?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
948
|
+
zone?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
949
|
+
geometry?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
950
|
+
attributes?: Prisma.JsonNullableFilter<"PoleTemplate">
|
|
951
|
+
autoincrement?: Prisma.BoolFilter<"PoleTemplate"> | boolean
|
|
952
|
+
namePrefix?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
953
|
+
createdAt?: Prisma.DateTimeFilter<"PoleTemplate"> | Date | string
|
|
954
|
+
updatedAt?: Prisma.DateTimeFilter<"PoleTemplate"> | Date | string
|
|
955
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"PoleTemplate"> | Date | string | null
|
|
956
|
+
updatedById?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
957
|
+
networkElementId?: Prisma.StringFilter<"PoleTemplate"> | string
|
|
958
|
+
clusterId?: Prisma.StringNullableFilter<"PoleTemplate"> | string | null
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
export type PoleTemplateCreateWithoutProjectsInput = {
|
|
962
|
+
id?: string
|
|
963
|
+
no?: number
|
|
964
|
+
status?: string
|
|
965
|
+
terminalAccess?: boolean
|
|
966
|
+
name?: string | null
|
|
967
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
968
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
969
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
970
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
971
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
972
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
973
|
+
autoincrement?: boolean
|
|
974
|
+
namePrefix?: string | null
|
|
975
|
+
createdAt?: Date | string
|
|
976
|
+
updatedAt?: Date | string
|
|
977
|
+
deletedAt?: Date | string | null
|
|
978
|
+
updatedBy?: Prisma.UserCreateNestedOneWithoutPoleTemplateInput
|
|
979
|
+
networkElement: Prisma.NetworkElementCreateNestedOneWithoutPoleTemplateInput
|
|
980
|
+
cluster?: Prisma.ClusterCreateNestedOneWithoutPoleTemplateInput
|
|
981
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutPoleTemplateInput
|
|
982
|
+
Pole?: Prisma.PoleCreateNestedManyWithoutTemplateInput
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
export type PoleTemplateUncheckedCreateWithoutProjectsInput = {
|
|
986
|
+
id?: string
|
|
987
|
+
no?: number
|
|
988
|
+
status?: string
|
|
989
|
+
terminalAccess?: boolean
|
|
990
|
+
name?: string | null
|
|
991
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
992
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
993
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
994
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
995
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
996
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
997
|
+
autoincrement?: boolean
|
|
998
|
+
namePrefix?: string | null
|
|
999
|
+
createdAt?: Date | string
|
|
1000
|
+
updatedAt?: Date | string
|
|
1001
|
+
deletedAt?: Date | string | null
|
|
1002
|
+
updatedById?: string | null
|
|
1003
|
+
networkElementId: string
|
|
1004
|
+
clusterId?: string | null
|
|
1005
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1006
|
+
Pole?: Prisma.PoleUncheckedCreateNestedManyWithoutTemplateInput
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
export type PoleTemplateCreateOrConnectWithoutProjectsInput = {
|
|
1010
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1011
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutProjectsInput, Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput>
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export type PoleTemplateUpsertWithWhereUniqueWithoutProjectsInput = {
|
|
1015
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1016
|
+
update: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutProjectsInput, Prisma.PoleTemplateUncheckedUpdateWithoutProjectsInput>
|
|
1017
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutProjectsInput, Prisma.PoleTemplateUncheckedCreateWithoutProjectsInput>
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
export type PoleTemplateUpdateWithWhereUniqueWithoutProjectsInput = {
|
|
1021
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1022
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutProjectsInput, Prisma.PoleTemplateUncheckedUpdateWithoutProjectsInput>
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
export type PoleTemplateUpdateManyWithWhereWithoutProjectsInput = {
|
|
1026
|
+
where: Prisma.PoleTemplateScalarWhereInput
|
|
1027
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateManyMutationInput, Prisma.PoleTemplateUncheckedUpdateManyWithoutProjectsInput>
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export type PoleTemplateCreateWithoutNetworkElementInput = {
|
|
1031
|
+
id?: string
|
|
1032
|
+
no?: number
|
|
1033
|
+
status?: string
|
|
1034
|
+
terminalAccess?: boolean
|
|
1035
|
+
name?: string | null
|
|
1036
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1037
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1038
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1039
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1040
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1041
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1042
|
+
autoincrement?: boolean
|
|
1043
|
+
namePrefix?: string | null
|
|
1044
|
+
createdAt?: Date | string
|
|
1045
|
+
updatedAt?: Date | string
|
|
1046
|
+
deletedAt?: Date | string | null
|
|
1047
|
+
updatedBy?: Prisma.UserCreateNestedOneWithoutPoleTemplateInput
|
|
1048
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutPoleTemplateInput
|
|
1049
|
+
cluster?: Prisma.ClusterCreateNestedOneWithoutPoleTemplateInput
|
|
1050
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutPoleTemplateInput
|
|
1051
|
+
Pole?: Prisma.PoleCreateNestedManyWithoutTemplateInput
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
export type PoleTemplateUncheckedCreateWithoutNetworkElementInput = {
|
|
1055
|
+
id?: string
|
|
1056
|
+
no?: number
|
|
1057
|
+
status?: string
|
|
1058
|
+
terminalAccess?: boolean
|
|
1059
|
+
name?: string | null
|
|
1060
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1061
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1062
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1063
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1064
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1065
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1066
|
+
autoincrement?: boolean
|
|
1067
|
+
namePrefix?: string | null
|
|
1068
|
+
createdAt?: Date | string
|
|
1069
|
+
updatedAt?: Date | string
|
|
1070
|
+
deletedAt?: Date | string | null
|
|
1071
|
+
updatedById?: string | null
|
|
1072
|
+
clusterId?: string | null
|
|
1073
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1074
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1075
|
+
Pole?: Prisma.PoleUncheckedCreateNestedManyWithoutTemplateInput
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
export type PoleTemplateCreateOrConnectWithoutNetworkElementInput = {
|
|
1079
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1080
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput>
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
export type PoleTemplateCreateManyNetworkElementInputEnvelope = {
|
|
1084
|
+
data: Prisma.PoleTemplateCreateManyNetworkElementInput | Prisma.PoleTemplateCreateManyNetworkElementInput[]
|
|
1085
|
+
skipDuplicates?: boolean
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export type PoleTemplateUpsertWithWhereUniqueWithoutNetworkElementInput = {
|
|
1089
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1090
|
+
update: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedUpdateWithoutNetworkElementInput>
|
|
1091
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedCreateWithoutNetworkElementInput>
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
export type PoleTemplateUpdateWithWhereUniqueWithoutNetworkElementInput = {
|
|
1095
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1096
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutNetworkElementInput, Prisma.PoleTemplateUncheckedUpdateWithoutNetworkElementInput>
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
export type PoleTemplateUpdateManyWithWhereWithoutNetworkElementInput = {
|
|
1100
|
+
where: Prisma.PoleTemplateScalarWhereInput
|
|
1101
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateManyMutationInput, Prisma.PoleTemplateUncheckedUpdateManyWithoutNetworkElementInput>
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
export type PoleTemplateCreateWithoutPoleInput = {
|
|
1105
|
+
id?: string
|
|
1106
|
+
no?: number
|
|
1107
|
+
status?: string
|
|
1108
|
+
terminalAccess?: boolean
|
|
1109
|
+
name?: string | null
|
|
1110
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1111
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1112
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1113
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1114
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1115
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1116
|
+
autoincrement?: boolean
|
|
1117
|
+
namePrefix?: string | null
|
|
1118
|
+
createdAt?: Date | string
|
|
1119
|
+
updatedAt?: Date | string
|
|
1120
|
+
deletedAt?: Date | string | null
|
|
1121
|
+
updatedBy?: Prisma.UserCreateNestedOneWithoutPoleTemplateInput
|
|
1122
|
+
networkElement: Prisma.NetworkElementCreateNestedOneWithoutPoleTemplateInput
|
|
1123
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutPoleTemplateInput
|
|
1124
|
+
cluster?: Prisma.ClusterCreateNestedOneWithoutPoleTemplateInput
|
|
1125
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutPoleTemplateInput
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
export type PoleTemplateUncheckedCreateWithoutPoleInput = {
|
|
1129
|
+
id?: string
|
|
1130
|
+
no?: number
|
|
1131
|
+
status?: string
|
|
1132
|
+
terminalAccess?: boolean
|
|
1133
|
+
name?: string | null
|
|
1134
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1135
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1136
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1137
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1138
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1139
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1140
|
+
autoincrement?: boolean
|
|
1141
|
+
namePrefix?: string | null
|
|
1142
|
+
createdAt?: Date | string
|
|
1143
|
+
updatedAt?: Date | string
|
|
1144
|
+
deletedAt?: Date | string | null
|
|
1145
|
+
updatedById?: string | null
|
|
1146
|
+
networkElementId: string
|
|
1147
|
+
clusterId?: string | null
|
|
1148
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1149
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
export type PoleTemplateCreateOrConnectWithoutPoleInput = {
|
|
1153
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1154
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutPoleInput, Prisma.PoleTemplateUncheckedCreateWithoutPoleInput>
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
export type PoleTemplateUpsertWithoutPoleInput = {
|
|
1158
|
+
update: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutPoleInput, Prisma.PoleTemplateUncheckedUpdateWithoutPoleInput>
|
|
1159
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutPoleInput, Prisma.PoleTemplateUncheckedCreateWithoutPoleInput>
|
|
1160
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
export type PoleTemplateUpdateToOneWithWhereWithoutPoleInput = {
|
|
1164
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
1165
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutPoleInput, Prisma.PoleTemplateUncheckedUpdateWithoutPoleInput>
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export type PoleTemplateUpdateWithoutPoleInput = {
|
|
1169
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1170
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1171
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1172
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1173
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1174
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1175
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1176
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1177
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1178
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1179
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1180
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1181
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1182
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1183
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1184
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1185
|
+
updatedBy?: Prisma.UserUpdateOneWithoutPoleTemplateNestedInput
|
|
1186
|
+
networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutPoleTemplateNestedInput
|
|
1187
|
+
projects?: Prisma.ProjectUpdateManyWithoutPoleTemplateNestedInput
|
|
1188
|
+
cluster?: Prisma.ClusterUpdateOneWithoutPoleTemplateNestedInput
|
|
1189
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutPoleTemplateNestedInput
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
export type PoleTemplateUncheckedUpdateWithoutPoleInput = {
|
|
1193
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1194
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1195
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1196
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1197
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1198
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1199
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1200
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1201
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1202
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1203
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1204
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1205
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1206
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1207
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1208
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1209
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1210
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1211
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1212
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1213
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
export type PoleTemplateCreateWithoutClusterInput = {
|
|
1217
|
+
id?: string
|
|
1218
|
+
no?: number
|
|
1219
|
+
status?: string
|
|
1220
|
+
terminalAccess?: boolean
|
|
1221
|
+
name?: string | null
|
|
1222
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1223
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1224
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1225
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1226
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1227
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1228
|
+
autoincrement?: boolean
|
|
1229
|
+
namePrefix?: string | null
|
|
1230
|
+
createdAt?: Date | string
|
|
1231
|
+
updatedAt?: Date | string
|
|
1232
|
+
deletedAt?: Date | string | null
|
|
1233
|
+
updatedBy?: Prisma.UserCreateNestedOneWithoutPoleTemplateInput
|
|
1234
|
+
networkElement: Prisma.NetworkElementCreateNestedOneWithoutPoleTemplateInput
|
|
1235
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutPoleTemplateInput
|
|
1236
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateCreateNestedManyWithoutPoleTemplateInput
|
|
1237
|
+
Pole?: Prisma.PoleCreateNestedManyWithoutTemplateInput
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
export type PoleTemplateUncheckedCreateWithoutClusterInput = {
|
|
1241
|
+
id?: string
|
|
1242
|
+
no?: number
|
|
1243
|
+
status?: string
|
|
1244
|
+
terminalAccess?: boolean
|
|
1245
|
+
name?: string | null
|
|
1246
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1247
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1248
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1249
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1250
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1251
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1252
|
+
autoincrement?: boolean
|
|
1253
|
+
namePrefix?: string | null
|
|
1254
|
+
createdAt?: Date | string
|
|
1255
|
+
updatedAt?: Date | string
|
|
1256
|
+
deletedAt?: Date | string | null
|
|
1257
|
+
updatedById?: string | null
|
|
1258
|
+
networkElementId: string
|
|
1259
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1260
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1261
|
+
Pole?: Prisma.PoleUncheckedCreateNestedManyWithoutTemplateInput
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
export type PoleTemplateCreateOrConnectWithoutClusterInput = {
|
|
1265
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1266
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutClusterInput, Prisma.PoleTemplateUncheckedCreateWithoutClusterInput>
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
export type PoleTemplateCreateManyClusterInputEnvelope = {
|
|
1270
|
+
data: Prisma.PoleTemplateCreateManyClusterInput | Prisma.PoleTemplateCreateManyClusterInput[]
|
|
1271
|
+
skipDuplicates?: boolean
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export type PoleTemplateUpsertWithWhereUniqueWithoutClusterInput = {
|
|
1275
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1276
|
+
update: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutClusterInput, Prisma.PoleTemplateUncheckedUpdateWithoutClusterInput>
|
|
1277
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutClusterInput, Prisma.PoleTemplateUncheckedCreateWithoutClusterInput>
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
export type PoleTemplateUpdateWithWhereUniqueWithoutClusterInput = {
|
|
1281
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1282
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutClusterInput, Prisma.PoleTemplateUncheckedUpdateWithoutClusterInput>
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
export type PoleTemplateUpdateManyWithWhereWithoutClusterInput = {
|
|
1286
|
+
where: Prisma.PoleTemplateScalarWhereInput
|
|
1287
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateManyMutationInput, Prisma.PoleTemplateUncheckedUpdateManyWithoutClusterInput>
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
export type PoleTemplateCreateWithoutQrCodeTemplateInput = {
|
|
1291
|
+
id?: string
|
|
1292
|
+
no?: number
|
|
1293
|
+
status?: string
|
|
1294
|
+
terminalAccess?: boolean
|
|
1295
|
+
name?: string | null
|
|
1296
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1297
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1298
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1299
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1300
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1301
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1302
|
+
autoincrement?: boolean
|
|
1303
|
+
namePrefix?: string | null
|
|
1304
|
+
createdAt?: Date | string
|
|
1305
|
+
updatedAt?: Date | string
|
|
1306
|
+
deletedAt?: Date | string | null
|
|
1307
|
+
updatedBy?: Prisma.UserCreateNestedOneWithoutPoleTemplateInput
|
|
1308
|
+
networkElement: Prisma.NetworkElementCreateNestedOneWithoutPoleTemplateInput
|
|
1309
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutPoleTemplateInput
|
|
1310
|
+
cluster?: Prisma.ClusterCreateNestedOneWithoutPoleTemplateInput
|
|
1311
|
+
Pole?: Prisma.PoleCreateNestedManyWithoutTemplateInput
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
export type PoleTemplateUncheckedCreateWithoutQrCodeTemplateInput = {
|
|
1315
|
+
id?: string
|
|
1316
|
+
no?: number
|
|
1317
|
+
status?: string
|
|
1318
|
+
terminalAccess?: boolean
|
|
1319
|
+
name?: string | null
|
|
1320
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1321
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1322
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1323
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1324
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1325
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1326
|
+
autoincrement?: boolean
|
|
1327
|
+
namePrefix?: string | null
|
|
1328
|
+
createdAt?: Date | string
|
|
1329
|
+
updatedAt?: Date | string
|
|
1330
|
+
deletedAt?: Date | string | null
|
|
1331
|
+
updatedById?: string | null
|
|
1332
|
+
networkElementId: string
|
|
1333
|
+
clusterId?: string | null
|
|
1334
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutPoleTemplateInput
|
|
1335
|
+
Pole?: Prisma.PoleUncheckedCreateNestedManyWithoutTemplateInput
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
export type PoleTemplateCreateOrConnectWithoutQrCodeTemplateInput = {
|
|
1339
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
1340
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutQrCodeTemplateInput, Prisma.PoleTemplateUncheckedCreateWithoutQrCodeTemplateInput>
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
export type PoleTemplateUpsertWithoutQrCodeTemplateInput = {
|
|
1344
|
+
update: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutQrCodeTemplateInput, Prisma.PoleTemplateUncheckedUpdateWithoutQrCodeTemplateInput>
|
|
1345
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateWithoutQrCodeTemplateInput, Prisma.PoleTemplateUncheckedCreateWithoutQrCodeTemplateInput>
|
|
1346
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
export type PoleTemplateUpdateToOneWithWhereWithoutQrCodeTemplateInput = {
|
|
1350
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
1351
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateWithoutQrCodeTemplateInput, Prisma.PoleTemplateUncheckedUpdateWithoutQrCodeTemplateInput>
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
export type PoleTemplateUpdateWithoutQrCodeTemplateInput = {
|
|
1355
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1356
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1357
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1358
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1359
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1360
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1361
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1362
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1363
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1364
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1365
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1366
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1367
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1368
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1369
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1370
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1371
|
+
updatedBy?: Prisma.UserUpdateOneWithoutPoleTemplateNestedInput
|
|
1372
|
+
networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutPoleTemplateNestedInput
|
|
1373
|
+
projects?: Prisma.ProjectUpdateManyWithoutPoleTemplateNestedInput
|
|
1374
|
+
cluster?: Prisma.ClusterUpdateOneWithoutPoleTemplateNestedInput
|
|
1375
|
+
Pole?: Prisma.PoleUpdateManyWithoutTemplateNestedInput
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
export type PoleTemplateUncheckedUpdateWithoutQrCodeTemplateInput = {
|
|
1379
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1380
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1381
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1382
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1383
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1384
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1385
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1386
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1387
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1388
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1389
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1390
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1391
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1392
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1393
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1394
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1395
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1396
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1397
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1398
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1399
|
+
Pole?: Prisma.PoleUncheckedUpdateManyWithoutTemplateNestedInput
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
export type PoleTemplateCreateManyUpdatedByInput = {
|
|
1403
|
+
id?: string
|
|
1404
|
+
no?: number
|
|
1405
|
+
status?: string
|
|
1406
|
+
terminalAccess?: boolean
|
|
1407
|
+
name?: string | null
|
|
1408
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1409
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1410
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1411
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1412
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1413
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1414
|
+
autoincrement?: boolean
|
|
1415
|
+
namePrefix?: string | null
|
|
1416
|
+
createdAt?: Date | string
|
|
1417
|
+
updatedAt?: Date | string
|
|
1418
|
+
deletedAt?: Date | string | null
|
|
1419
|
+
networkElementId: string
|
|
1420
|
+
clusterId?: string | null
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
export type PoleTemplateUpdateWithoutUpdatedByInput = {
|
|
1424
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1425
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1426
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1427
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1428
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1429
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1430
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1431
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1432
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1433
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1434
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1435
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1436
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1437
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1438
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1439
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1440
|
+
networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutPoleTemplateNestedInput
|
|
1441
|
+
projects?: Prisma.ProjectUpdateManyWithoutPoleTemplateNestedInput
|
|
1442
|
+
cluster?: Prisma.ClusterUpdateOneWithoutPoleTemplateNestedInput
|
|
1443
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutPoleTemplateNestedInput
|
|
1444
|
+
Pole?: Prisma.PoleUpdateManyWithoutTemplateNestedInput
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
export type PoleTemplateUncheckedUpdateWithoutUpdatedByInput = {
|
|
1448
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1449
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1450
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1451
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1452
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1453
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1454
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1455
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1456
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1457
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1458
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1459
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1460
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1461
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1462
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1463
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1464
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1465
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1466
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1467
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1468
|
+
Pole?: Prisma.PoleUncheckedUpdateManyWithoutTemplateNestedInput
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
export type PoleTemplateUncheckedUpdateManyWithoutUpdatedByInput = {
|
|
1472
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1473
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1474
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1475
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1476
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1477
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1478
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1479
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1480
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1481
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1482
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1483
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1484
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1485
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1486
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1487
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1488
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1489
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
export type PoleTemplateUpdateWithoutProjectsInput = {
|
|
1493
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1494
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1495
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1496
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1497
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1498
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1499
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1500
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1501
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1502
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1503
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1504
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1505
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1506
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1507
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1508
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1509
|
+
updatedBy?: Prisma.UserUpdateOneWithoutPoleTemplateNestedInput
|
|
1510
|
+
networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutPoleTemplateNestedInput
|
|
1511
|
+
cluster?: Prisma.ClusterUpdateOneWithoutPoleTemplateNestedInput
|
|
1512
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutPoleTemplateNestedInput
|
|
1513
|
+
Pole?: Prisma.PoleUpdateManyWithoutTemplateNestedInput
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
export type PoleTemplateUncheckedUpdateWithoutProjectsInput = {
|
|
1517
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1518
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1519
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1520
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1521
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1522
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1523
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1524
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1525
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1526
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1527
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1528
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1529
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1530
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1531
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1532
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1533
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1534
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1535
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1536
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1537
|
+
Pole?: Prisma.PoleUncheckedUpdateManyWithoutTemplateNestedInput
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
export type PoleTemplateUncheckedUpdateManyWithoutProjectsInput = {
|
|
1541
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1542
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1543
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1544
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1545
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1546
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1547
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1548
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1549
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1550
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1551
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1552
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1553
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1554
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1555
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1556
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1557
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1558
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1559
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
export type PoleTemplateCreateManyNetworkElementInput = {
|
|
1563
|
+
id?: string
|
|
1564
|
+
no?: number
|
|
1565
|
+
status?: string
|
|
1566
|
+
terminalAccess?: boolean
|
|
1567
|
+
name?: string | null
|
|
1568
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1569
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1570
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1571
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1572
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1573
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1574
|
+
autoincrement?: boolean
|
|
1575
|
+
namePrefix?: string | null
|
|
1576
|
+
createdAt?: Date | string
|
|
1577
|
+
updatedAt?: Date | string
|
|
1578
|
+
deletedAt?: Date | string | null
|
|
1579
|
+
updatedById?: string | null
|
|
1580
|
+
clusterId?: string | null
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
export type PoleTemplateUpdateWithoutNetworkElementInput = {
|
|
1584
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1585
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1586
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1587
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1588
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1589
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1590
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1591
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1592
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1593
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1594
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1595
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1596
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1597
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1598
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1599
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1600
|
+
updatedBy?: Prisma.UserUpdateOneWithoutPoleTemplateNestedInput
|
|
1601
|
+
projects?: Prisma.ProjectUpdateManyWithoutPoleTemplateNestedInput
|
|
1602
|
+
cluster?: Prisma.ClusterUpdateOneWithoutPoleTemplateNestedInput
|
|
1603
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutPoleTemplateNestedInput
|
|
1604
|
+
Pole?: Prisma.PoleUpdateManyWithoutTemplateNestedInput
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
export type PoleTemplateUncheckedUpdateWithoutNetworkElementInput = {
|
|
1608
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1609
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1610
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1611
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1612
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1613
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1614
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1615
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1616
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1617
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1618
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1619
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1620
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1621
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1622
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1623
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1624
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1625
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1626
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1627
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1628
|
+
Pole?: Prisma.PoleUncheckedUpdateManyWithoutTemplateNestedInput
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
export type PoleTemplateUncheckedUpdateManyWithoutNetworkElementInput = {
|
|
1632
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1633
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1634
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1635
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1636
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1637
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1638
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1639
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1640
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1641
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1642
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1643
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1644
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1645
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1646
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1647
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1648
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1649
|
+
clusterId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
export type PoleTemplateCreateManyClusterInput = {
|
|
1653
|
+
id?: string
|
|
1654
|
+
no?: number
|
|
1655
|
+
status?: string
|
|
1656
|
+
terminalAccess?: boolean
|
|
1657
|
+
name?: string | null
|
|
1658
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1659
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1660
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1661
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1662
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1663
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1664
|
+
autoincrement?: boolean
|
|
1665
|
+
namePrefix?: string | null
|
|
1666
|
+
createdAt?: Date | string
|
|
1667
|
+
updatedAt?: Date | string
|
|
1668
|
+
deletedAt?: Date | string | null
|
|
1669
|
+
updatedById?: string | null
|
|
1670
|
+
networkElementId: string
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
export type PoleTemplateUpdateWithoutClusterInput = {
|
|
1674
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1675
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1676
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1677
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1678
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1679
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1680
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1681
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1682
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1683
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1684
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1685
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1686
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1687
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1688
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1689
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1690
|
+
updatedBy?: Prisma.UserUpdateOneWithoutPoleTemplateNestedInput
|
|
1691
|
+
networkElement?: Prisma.NetworkElementUpdateOneRequiredWithoutPoleTemplateNestedInput
|
|
1692
|
+
projects?: Prisma.ProjectUpdateManyWithoutPoleTemplateNestedInput
|
|
1693
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUpdateManyWithoutPoleTemplateNestedInput
|
|
1694
|
+
Pole?: Prisma.PoleUpdateManyWithoutTemplateNestedInput
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
export type PoleTemplateUncheckedUpdateWithoutClusterInput = {
|
|
1698
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1699
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1700
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1701
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1702
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1703
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1704
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1705
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1706
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1707
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1708
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1709
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1710
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1711
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1712
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1713
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1714
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1715
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1716
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1717
|
+
qrCodeTemplate?: Prisma.qrCodeTemplateUncheckedUpdateManyWithoutPoleTemplateNestedInput
|
|
1718
|
+
Pole?: Prisma.PoleUncheckedUpdateManyWithoutTemplateNestedInput
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
export type PoleTemplateUncheckedUpdateManyWithoutClusterInput = {
|
|
1722
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1723
|
+
no?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1724
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1725
|
+
terminalAccess?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1726
|
+
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1727
|
+
photos?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1728
|
+
texts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1729
|
+
files?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1730
|
+
zone?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1731
|
+
geometry?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1732
|
+
attributes?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
1733
|
+
autoincrement?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1734
|
+
namePrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1735
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1736
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1737
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1738
|
+
updatedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1739
|
+
networkElementId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* Count Type PoleTemplateCountOutputType
|
|
1745
|
+
*/
|
|
1746
|
+
|
|
1747
|
+
export type PoleTemplateCountOutputType = {
|
|
1748
|
+
projects: number
|
|
1749
|
+
qrCodeTemplate: number
|
|
1750
|
+
Pole: number
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
export type PoleTemplateCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1754
|
+
projects?: boolean | PoleTemplateCountOutputTypeCountProjectsArgs
|
|
1755
|
+
qrCodeTemplate?: boolean | PoleTemplateCountOutputTypeCountQrCodeTemplateArgs
|
|
1756
|
+
Pole?: boolean | PoleTemplateCountOutputTypeCountPoleArgs
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* PoleTemplateCountOutputType without action
|
|
1761
|
+
*/
|
|
1762
|
+
export type PoleTemplateCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1763
|
+
/**
|
|
1764
|
+
* Select specific fields to fetch from the PoleTemplateCountOutputType
|
|
1765
|
+
*/
|
|
1766
|
+
select?: Prisma.PoleTemplateCountOutputTypeSelect<ExtArgs> | null
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
/**
|
|
1770
|
+
* PoleTemplateCountOutputType without action
|
|
1771
|
+
*/
|
|
1772
|
+
export type PoleTemplateCountOutputTypeCountProjectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1773
|
+
where?: Prisma.ProjectWhereInput
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* PoleTemplateCountOutputType without action
|
|
1778
|
+
*/
|
|
1779
|
+
export type PoleTemplateCountOutputTypeCountQrCodeTemplateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1780
|
+
where?: Prisma.qrCodeTemplateWhereInput
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* PoleTemplateCountOutputType without action
|
|
1785
|
+
*/
|
|
1786
|
+
export type PoleTemplateCountOutputTypeCountPoleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1787
|
+
where?: Prisma.PoleWhereInput
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
export type PoleTemplateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1792
|
+
id?: boolean
|
|
1793
|
+
no?: boolean
|
|
1794
|
+
status?: boolean
|
|
1795
|
+
terminalAccess?: boolean
|
|
1796
|
+
name?: boolean
|
|
1797
|
+
photos?: boolean
|
|
1798
|
+
texts?: boolean
|
|
1799
|
+
files?: boolean
|
|
1800
|
+
zone?: boolean
|
|
1801
|
+
geometry?: boolean
|
|
1802
|
+
attributes?: boolean
|
|
1803
|
+
autoincrement?: boolean
|
|
1804
|
+
namePrefix?: boolean
|
|
1805
|
+
createdAt?: boolean
|
|
1806
|
+
updatedAt?: boolean
|
|
1807
|
+
deletedAt?: boolean
|
|
1808
|
+
updatedById?: boolean
|
|
1809
|
+
networkElementId?: boolean
|
|
1810
|
+
clusterId?: boolean
|
|
1811
|
+
updatedBy?: boolean | Prisma.PoleTemplate$updatedByArgs<ExtArgs>
|
|
1812
|
+
networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
|
|
1813
|
+
projects?: boolean | Prisma.PoleTemplate$projectsArgs<ExtArgs>
|
|
1814
|
+
cluster?: boolean | Prisma.PoleTemplate$clusterArgs<ExtArgs>
|
|
1815
|
+
qrCodeTemplate?: boolean | Prisma.PoleTemplate$qrCodeTemplateArgs<ExtArgs>
|
|
1816
|
+
Pole?: boolean | Prisma.PoleTemplate$PoleArgs<ExtArgs>
|
|
1817
|
+
_count?: boolean | Prisma.PoleTemplateCountOutputTypeDefaultArgs<ExtArgs>
|
|
1818
|
+
}, ExtArgs["result"]["poleTemplate"]>
|
|
1819
|
+
|
|
1820
|
+
export type PoleTemplateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1821
|
+
id?: boolean
|
|
1822
|
+
no?: boolean
|
|
1823
|
+
status?: boolean
|
|
1824
|
+
terminalAccess?: boolean
|
|
1825
|
+
name?: boolean
|
|
1826
|
+
photos?: boolean
|
|
1827
|
+
texts?: boolean
|
|
1828
|
+
files?: boolean
|
|
1829
|
+
zone?: boolean
|
|
1830
|
+
geometry?: boolean
|
|
1831
|
+
attributes?: boolean
|
|
1832
|
+
autoincrement?: boolean
|
|
1833
|
+
namePrefix?: boolean
|
|
1834
|
+
createdAt?: boolean
|
|
1835
|
+
updatedAt?: boolean
|
|
1836
|
+
deletedAt?: boolean
|
|
1837
|
+
updatedById?: boolean
|
|
1838
|
+
networkElementId?: boolean
|
|
1839
|
+
clusterId?: boolean
|
|
1840
|
+
updatedBy?: boolean | Prisma.PoleTemplate$updatedByArgs<ExtArgs>
|
|
1841
|
+
networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
|
|
1842
|
+
cluster?: boolean | Prisma.PoleTemplate$clusterArgs<ExtArgs>
|
|
1843
|
+
}, ExtArgs["result"]["poleTemplate"]>
|
|
1844
|
+
|
|
1845
|
+
export type PoleTemplateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1846
|
+
id?: boolean
|
|
1847
|
+
no?: boolean
|
|
1848
|
+
status?: boolean
|
|
1849
|
+
terminalAccess?: boolean
|
|
1850
|
+
name?: boolean
|
|
1851
|
+
photos?: boolean
|
|
1852
|
+
texts?: boolean
|
|
1853
|
+
files?: boolean
|
|
1854
|
+
zone?: boolean
|
|
1855
|
+
geometry?: boolean
|
|
1856
|
+
attributes?: boolean
|
|
1857
|
+
autoincrement?: boolean
|
|
1858
|
+
namePrefix?: boolean
|
|
1859
|
+
createdAt?: boolean
|
|
1860
|
+
updatedAt?: boolean
|
|
1861
|
+
deletedAt?: boolean
|
|
1862
|
+
updatedById?: boolean
|
|
1863
|
+
networkElementId?: boolean
|
|
1864
|
+
clusterId?: boolean
|
|
1865
|
+
updatedBy?: boolean | Prisma.PoleTemplate$updatedByArgs<ExtArgs>
|
|
1866
|
+
networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
|
|
1867
|
+
cluster?: boolean | Prisma.PoleTemplate$clusterArgs<ExtArgs>
|
|
1868
|
+
}, ExtArgs["result"]["poleTemplate"]>
|
|
1869
|
+
|
|
1870
|
+
export type PoleTemplateSelectScalar = {
|
|
1871
|
+
id?: boolean
|
|
1872
|
+
no?: boolean
|
|
1873
|
+
status?: boolean
|
|
1874
|
+
terminalAccess?: boolean
|
|
1875
|
+
name?: boolean
|
|
1876
|
+
photos?: boolean
|
|
1877
|
+
texts?: boolean
|
|
1878
|
+
files?: boolean
|
|
1879
|
+
zone?: boolean
|
|
1880
|
+
geometry?: boolean
|
|
1881
|
+
attributes?: boolean
|
|
1882
|
+
autoincrement?: boolean
|
|
1883
|
+
namePrefix?: boolean
|
|
1884
|
+
createdAt?: boolean
|
|
1885
|
+
updatedAt?: boolean
|
|
1886
|
+
deletedAt?: boolean
|
|
1887
|
+
updatedById?: boolean
|
|
1888
|
+
networkElementId?: boolean
|
|
1889
|
+
clusterId?: boolean
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
export type PoleTemplateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "no" | "status" | "terminalAccess" | "name" | "photos" | "texts" | "files" | "zone" | "geometry" | "attributes" | "autoincrement" | "namePrefix" | "createdAt" | "updatedAt" | "deletedAt" | "updatedById" | "networkElementId" | "clusterId", ExtArgs["result"]["poleTemplate"]>
|
|
1893
|
+
export type PoleTemplateInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1894
|
+
updatedBy?: boolean | Prisma.PoleTemplate$updatedByArgs<ExtArgs>
|
|
1895
|
+
networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
|
|
1896
|
+
projects?: boolean | Prisma.PoleTemplate$projectsArgs<ExtArgs>
|
|
1897
|
+
cluster?: boolean | Prisma.PoleTemplate$clusterArgs<ExtArgs>
|
|
1898
|
+
qrCodeTemplate?: boolean | Prisma.PoleTemplate$qrCodeTemplateArgs<ExtArgs>
|
|
1899
|
+
Pole?: boolean | Prisma.PoleTemplate$PoleArgs<ExtArgs>
|
|
1900
|
+
_count?: boolean | Prisma.PoleTemplateCountOutputTypeDefaultArgs<ExtArgs>
|
|
1901
|
+
}
|
|
1902
|
+
export type PoleTemplateIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1903
|
+
updatedBy?: boolean | Prisma.PoleTemplate$updatedByArgs<ExtArgs>
|
|
1904
|
+
networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
|
|
1905
|
+
cluster?: boolean | Prisma.PoleTemplate$clusterArgs<ExtArgs>
|
|
1906
|
+
}
|
|
1907
|
+
export type PoleTemplateIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1908
|
+
updatedBy?: boolean | Prisma.PoleTemplate$updatedByArgs<ExtArgs>
|
|
1909
|
+
networkElement?: boolean | Prisma.NetworkElementDefaultArgs<ExtArgs>
|
|
1910
|
+
cluster?: boolean | Prisma.PoleTemplate$clusterArgs<ExtArgs>
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
export type $PoleTemplatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1914
|
+
name: "PoleTemplate"
|
|
1915
|
+
objects: {
|
|
1916
|
+
updatedBy: Prisma.$UserPayload<ExtArgs> | null
|
|
1917
|
+
networkElement: Prisma.$NetworkElementPayload<ExtArgs>
|
|
1918
|
+
projects: Prisma.$ProjectPayload<ExtArgs>[]
|
|
1919
|
+
cluster: Prisma.$ClusterPayload<ExtArgs> | null
|
|
1920
|
+
qrCodeTemplate: Prisma.$qrCodeTemplatePayload<ExtArgs>[]
|
|
1921
|
+
Pole: Prisma.$PolePayload<ExtArgs>[]
|
|
1922
|
+
}
|
|
1923
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1924
|
+
id: string
|
|
1925
|
+
no: number
|
|
1926
|
+
status: string
|
|
1927
|
+
terminalAccess: boolean
|
|
1928
|
+
name: string | null
|
|
1929
|
+
photos: runtime.JsonValue | null
|
|
1930
|
+
texts: runtime.JsonValue | null
|
|
1931
|
+
files: runtime.JsonValue | null
|
|
1932
|
+
zone: runtime.JsonValue | null
|
|
1933
|
+
geometry: runtime.JsonValue | null
|
|
1934
|
+
attributes: runtime.JsonValue | null
|
|
1935
|
+
autoincrement: boolean
|
|
1936
|
+
namePrefix: string | null
|
|
1937
|
+
createdAt: Date
|
|
1938
|
+
updatedAt: Date
|
|
1939
|
+
deletedAt: Date | null
|
|
1940
|
+
updatedById: string | null
|
|
1941
|
+
networkElementId: string
|
|
1942
|
+
clusterId: string | null
|
|
1943
|
+
}, ExtArgs["result"]["poleTemplate"]>
|
|
1944
|
+
composites: {}
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
export type PoleTemplateGetPayload<S extends boolean | null | undefined | PoleTemplateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload, S>
|
|
1948
|
+
|
|
1949
|
+
export type PoleTemplateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1950
|
+
Omit<PoleTemplateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1951
|
+
select?: PoleTemplateCountAggregateInputType | true
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
export interface PoleTemplateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1955
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PoleTemplate'], meta: { name: 'PoleTemplate' } }
|
|
1956
|
+
/**
|
|
1957
|
+
* Find zero or one PoleTemplate that matches the filter.
|
|
1958
|
+
* @param {PoleTemplateFindUniqueArgs} args - Arguments to find a PoleTemplate
|
|
1959
|
+
* @example
|
|
1960
|
+
* // Get one PoleTemplate
|
|
1961
|
+
* const poleTemplate = await prisma.poleTemplate.findUnique({
|
|
1962
|
+
* where: {
|
|
1963
|
+
* // ... provide filter here
|
|
1964
|
+
* }
|
|
1965
|
+
* })
|
|
1966
|
+
*/
|
|
1967
|
+
findUnique<T extends PoleTemplateFindUniqueArgs>(args: Prisma.SelectSubset<T, PoleTemplateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* Find one PoleTemplate that matches the filter or throw an error with `error.code='P2025'`
|
|
1971
|
+
* if no matches were found.
|
|
1972
|
+
* @param {PoleTemplateFindUniqueOrThrowArgs} args - Arguments to find a PoleTemplate
|
|
1973
|
+
* @example
|
|
1974
|
+
* // Get one PoleTemplate
|
|
1975
|
+
* const poleTemplate = await prisma.poleTemplate.findUniqueOrThrow({
|
|
1976
|
+
* where: {
|
|
1977
|
+
* // ... provide filter here
|
|
1978
|
+
* }
|
|
1979
|
+
* })
|
|
1980
|
+
*/
|
|
1981
|
+
findUniqueOrThrow<T extends PoleTemplateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PoleTemplateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* Find the first PoleTemplate that matches the filter.
|
|
1985
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1986
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1987
|
+
* @param {PoleTemplateFindFirstArgs} args - Arguments to find a PoleTemplate
|
|
1988
|
+
* @example
|
|
1989
|
+
* // Get one PoleTemplate
|
|
1990
|
+
* const poleTemplate = await prisma.poleTemplate.findFirst({
|
|
1991
|
+
* where: {
|
|
1992
|
+
* // ... provide filter here
|
|
1993
|
+
* }
|
|
1994
|
+
* })
|
|
1995
|
+
*/
|
|
1996
|
+
findFirst<T extends PoleTemplateFindFirstArgs>(args?: Prisma.SelectSubset<T, PoleTemplateFindFirstArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* Find the first PoleTemplate that matches the filter or
|
|
2000
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2001
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2002
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2003
|
+
* @param {PoleTemplateFindFirstOrThrowArgs} args - Arguments to find a PoleTemplate
|
|
2004
|
+
* @example
|
|
2005
|
+
* // Get one PoleTemplate
|
|
2006
|
+
* const poleTemplate = await prisma.poleTemplate.findFirstOrThrow({
|
|
2007
|
+
* where: {
|
|
2008
|
+
* // ... provide filter here
|
|
2009
|
+
* }
|
|
2010
|
+
* })
|
|
2011
|
+
*/
|
|
2012
|
+
findFirstOrThrow<T extends PoleTemplateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PoleTemplateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* Find zero or more PoleTemplates that matches the filter.
|
|
2016
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2017
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2018
|
+
* @param {PoleTemplateFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2019
|
+
* @example
|
|
2020
|
+
* // Get all PoleTemplates
|
|
2021
|
+
* const poleTemplates = await prisma.poleTemplate.findMany()
|
|
2022
|
+
*
|
|
2023
|
+
* // Get first 10 PoleTemplates
|
|
2024
|
+
* const poleTemplates = await prisma.poleTemplate.findMany({ take: 10 })
|
|
2025
|
+
*
|
|
2026
|
+
* // Only select the `id`
|
|
2027
|
+
* const poleTemplateWithIdOnly = await prisma.poleTemplate.findMany({ select: { id: true } })
|
|
2028
|
+
*
|
|
2029
|
+
*/
|
|
2030
|
+
findMany<T extends PoleTemplateFindManyArgs>(args?: Prisma.SelectSubset<T, PoleTemplateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* Create a PoleTemplate.
|
|
2034
|
+
* @param {PoleTemplateCreateArgs} args - Arguments to create a PoleTemplate.
|
|
2035
|
+
* @example
|
|
2036
|
+
* // Create one PoleTemplate
|
|
2037
|
+
* const PoleTemplate = await prisma.poleTemplate.create({
|
|
2038
|
+
* data: {
|
|
2039
|
+
* // ... data to create a PoleTemplate
|
|
2040
|
+
* }
|
|
2041
|
+
* })
|
|
2042
|
+
*
|
|
2043
|
+
*/
|
|
2044
|
+
create<T extends PoleTemplateCreateArgs>(args: Prisma.SelectSubset<T, PoleTemplateCreateArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* Create many PoleTemplates.
|
|
2048
|
+
* @param {PoleTemplateCreateManyArgs} args - Arguments to create many PoleTemplates.
|
|
2049
|
+
* @example
|
|
2050
|
+
* // Create many PoleTemplates
|
|
2051
|
+
* const poleTemplate = await prisma.poleTemplate.createMany({
|
|
2052
|
+
* data: [
|
|
2053
|
+
* // ... provide data here
|
|
2054
|
+
* ]
|
|
2055
|
+
* })
|
|
2056
|
+
*
|
|
2057
|
+
*/
|
|
2058
|
+
createMany<T extends PoleTemplateCreateManyArgs>(args?: Prisma.SelectSubset<T, PoleTemplateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* Create many PoleTemplates and returns the data saved in the database.
|
|
2062
|
+
* @param {PoleTemplateCreateManyAndReturnArgs} args - Arguments to create many PoleTemplates.
|
|
2063
|
+
* @example
|
|
2064
|
+
* // Create many PoleTemplates
|
|
2065
|
+
* const poleTemplate = await prisma.poleTemplate.createManyAndReturn({
|
|
2066
|
+
* data: [
|
|
2067
|
+
* // ... provide data here
|
|
2068
|
+
* ]
|
|
2069
|
+
* })
|
|
2070
|
+
*
|
|
2071
|
+
* // Create many PoleTemplates and only return the `id`
|
|
2072
|
+
* const poleTemplateWithIdOnly = await prisma.poleTemplate.createManyAndReturn({
|
|
2073
|
+
* select: { id: true },
|
|
2074
|
+
* data: [
|
|
2075
|
+
* // ... provide data here
|
|
2076
|
+
* ]
|
|
2077
|
+
* })
|
|
2078
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2079
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2080
|
+
*
|
|
2081
|
+
*/
|
|
2082
|
+
createManyAndReturn<T extends PoleTemplateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PoleTemplateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* Delete a PoleTemplate.
|
|
2086
|
+
* @param {PoleTemplateDeleteArgs} args - Arguments to delete one PoleTemplate.
|
|
2087
|
+
* @example
|
|
2088
|
+
* // Delete one PoleTemplate
|
|
2089
|
+
* const PoleTemplate = await prisma.poleTemplate.delete({
|
|
2090
|
+
* where: {
|
|
2091
|
+
* // ... filter to delete one PoleTemplate
|
|
2092
|
+
* }
|
|
2093
|
+
* })
|
|
2094
|
+
*
|
|
2095
|
+
*/
|
|
2096
|
+
delete<T extends PoleTemplateDeleteArgs>(args: Prisma.SelectSubset<T, PoleTemplateDeleteArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2097
|
+
|
|
2098
|
+
/**
|
|
2099
|
+
* Update one PoleTemplate.
|
|
2100
|
+
* @param {PoleTemplateUpdateArgs} args - Arguments to update one PoleTemplate.
|
|
2101
|
+
* @example
|
|
2102
|
+
* // Update one PoleTemplate
|
|
2103
|
+
* const poleTemplate = await prisma.poleTemplate.update({
|
|
2104
|
+
* where: {
|
|
2105
|
+
* // ... provide filter here
|
|
2106
|
+
* },
|
|
2107
|
+
* data: {
|
|
2108
|
+
* // ... provide data here
|
|
2109
|
+
* }
|
|
2110
|
+
* })
|
|
2111
|
+
*
|
|
2112
|
+
*/
|
|
2113
|
+
update<T extends PoleTemplateUpdateArgs>(args: Prisma.SelectSubset<T, PoleTemplateUpdateArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* Delete zero or more PoleTemplates.
|
|
2117
|
+
* @param {PoleTemplateDeleteManyArgs} args - Arguments to filter PoleTemplates to delete.
|
|
2118
|
+
* @example
|
|
2119
|
+
* // Delete a few PoleTemplates
|
|
2120
|
+
* const { count } = await prisma.poleTemplate.deleteMany({
|
|
2121
|
+
* where: {
|
|
2122
|
+
* // ... provide filter here
|
|
2123
|
+
* }
|
|
2124
|
+
* })
|
|
2125
|
+
*
|
|
2126
|
+
*/
|
|
2127
|
+
deleteMany<T extends PoleTemplateDeleteManyArgs>(args?: Prisma.SelectSubset<T, PoleTemplateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2128
|
+
|
|
2129
|
+
/**
|
|
2130
|
+
* Update zero or more PoleTemplates.
|
|
2131
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2132
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2133
|
+
* @param {PoleTemplateUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2134
|
+
* @example
|
|
2135
|
+
* // Update many PoleTemplates
|
|
2136
|
+
* const poleTemplate = await prisma.poleTemplate.updateMany({
|
|
2137
|
+
* where: {
|
|
2138
|
+
* // ... provide filter here
|
|
2139
|
+
* },
|
|
2140
|
+
* data: {
|
|
2141
|
+
* // ... provide data here
|
|
2142
|
+
* }
|
|
2143
|
+
* })
|
|
2144
|
+
*
|
|
2145
|
+
*/
|
|
2146
|
+
updateMany<T extends PoleTemplateUpdateManyArgs>(args: Prisma.SelectSubset<T, PoleTemplateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* Update zero or more PoleTemplates and returns the data updated in the database.
|
|
2150
|
+
* @param {PoleTemplateUpdateManyAndReturnArgs} args - Arguments to update many PoleTemplates.
|
|
2151
|
+
* @example
|
|
2152
|
+
* // Update many PoleTemplates
|
|
2153
|
+
* const poleTemplate = await prisma.poleTemplate.updateManyAndReturn({
|
|
2154
|
+
* where: {
|
|
2155
|
+
* // ... provide filter here
|
|
2156
|
+
* },
|
|
2157
|
+
* data: [
|
|
2158
|
+
* // ... provide data here
|
|
2159
|
+
* ]
|
|
2160
|
+
* })
|
|
2161
|
+
*
|
|
2162
|
+
* // Update zero or more PoleTemplates and only return the `id`
|
|
2163
|
+
* const poleTemplateWithIdOnly = await prisma.poleTemplate.updateManyAndReturn({
|
|
2164
|
+
* select: { id: true },
|
|
2165
|
+
* where: {
|
|
2166
|
+
* // ... provide filter here
|
|
2167
|
+
* },
|
|
2168
|
+
* data: [
|
|
2169
|
+
* // ... provide data here
|
|
2170
|
+
* ]
|
|
2171
|
+
* })
|
|
2172
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2173
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2174
|
+
*
|
|
2175
|
+
*/
|
|
2176
|
+
updateManyAndReturn<T extends PoleTemplateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PoleTemplateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* Create or update one PoleTemplate.
|
|
2180
|
+
* @param {PoleTemplateUpsertArgs} args - Arguments to update or create a PoleTemplate.
|
|
2181
|
+
* @example
|
|
2182
|
+
* // Update or create a PoleTemplate
|
|
2183
|
+
* const poleTemplate = await prisma.poleTemplate.upsert({
|
|
2184
|
+
* create: {
|
|
2185
|
+
* // ... data to create a PoleTemplate
|
|
2186
|
+
* },
|
|
2187
|
+
* update: {
|
|
2188
|
+
* // ... in case it already exists, update
|
|
2189
|
+
* },
|
|
2190
|
+
* where: {
|
|
2191
|
+
* // ... the filter for the PoleTemplate we want to update
|
|
2192
|
+
* }
|
|
2193
|
+
* })
|
|
2194
|
+
*/
|
|
2195
|
+
upsert<T extends PoleTemplateUpsertArgs>(args: Prisma.SelectSubset<T, PoleTemplateUpsertArgs<ExtArgs>>): Prisma.Prisma__PoleTemplateClient<runtime.Types.Result.GetResult<Prisma.$PoleTemplatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* Count the number of PoleTemplates.
|
|
2200
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2201
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2202
|
+
* @param {PoleTemplateCountArgs} args - Arguments to filter PoleTemplates to count.
|
|
2203
|
+
* @example
|
|
2204
|
+
* // Count the number of PoleTemplates
|
|
2205
|
+
* const count = await prisma.poleTemplate.count({
|
|
2206
|
+
* where: {
|
|
2207
|
+
* // ... the filter for the PoleTemplates we want to count
|
|
2208
|
+
* }
|
|
2209
|
+
* })
|
|
2210
|
+
**/
|
|
2211
|
+
count<T extends PoleTemplateCountArgs>(
|
|
2212
|
+
args?: Prisma.Subset<T, PoleTemplateCountArgs>,
|
|
2213
|
+
): Prisma.PrismaPromise<
|
|
2214
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
2215
|
+
? T['select'] extends true
|
|
2216
|
+
? number
|
|
2217
|
+
: Prisma.GetScalarType<T['select'], PoleTemplateCountAggregateOutputType>
|
|
2218
|
+
: number
|
|
2219
|
+
>
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
* Allows you to perform aggregations operations on a PoleTemplate.
|
|
2223
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2224
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2225
|
+
* @param {PoleTemplateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2226
|
+
* @example
|
|
2227
|
+
* // Ordered by age ascending
|
|
2228
|
+
* // Where email contains prisma.io
|
|
2229
|
+
* // Limited to the 10 users
|
|
2230
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2231
|
+
* _avg: {
|
|
2232
|
+
* age: true,
|
|
2233
|
+
* },
|
|
2234
|
+
* where: {
|
|
2235
|
+
* email: {
|
|
2236
|
+
* contains: "prisma.io",
|
|
2237
|
+
* },
|
|
2238
|
+
* },
|
|
2239
|
+
* orderBy: {
|
|
2240
|
+
* age: "asc",
|
|
2241
|
+
* },
|
|
2242
|
+
* take: 10,
|
|
2243
|
+
* })
|
|
2244
|
+
**/
|
|
2245
|
+
aggregate<T extends PoleTemplateAggregateArgs>(args: Prisma.Subset<T, PoleTemplateAggregateArgs>): Prisma.PrismaPromise<GetPoleTemplateAggregateType<T>>
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Group by PoleTemplate.
|
|
2249
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2250
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2251
|
+
* @param {PoleTemplateGroupByArgs} args - Group by arguments.
|
|
2252
|
+
* @example
|
|
2253
|
+
* // Group by city, order by createdAt, get count
|
|
2254
|
+
* const result = await prisma.user.groupBy({
|
|
2255
|
+
* by: ['city', 'createdAt'],
|
|
2256
|
+
* orderBy: {
|
|
2257
|
+
* createdAt: true
|
|
2258
|
+
* },
|
|
2259
|
+
* _count: {
|
|
2260
|
+
* _all: true
|
|
2261
|
+
* },
|
|
2262
|
+
* })
|
|
2263
|
+
*
|
|
2264
|
+
**/
|
|
2265
|
+
groupBy<
|
|
2266
|
+
T extends PoleTemplateGroupByArgs,
|
|
2267
|
+
HasSelectOrTake extends Prisma.Or<
|
|
2268
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
2269
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
2270
|
+
>,
|
|
2271
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
2272
|
+
? { orderBy: PoleTemplateGroupByArgs['orderBy'] }
|
|
2273
|
+
: { orderBy?: PoleTemplateGroupByArgs['orderBy'] },
|
|
2274
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
2275
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
2276
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
2277
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
2278
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
2279
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
2280
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
2281
|
+
? `Error: "by" must not be empty.`
|
|
2282
|
+
: HavingValid extends Prisma.False
|
|
2283
|
+
? {
|
|
2284
|
+
[P in HavingFields]: P extends ByFields
|
|
2285
|
+
? never
|
|
2286
|
+
: P extends string
|
|
2287
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2288
|
+
: [
|
|
2289
|
+
Error,
|
|
2290
|
+
'Field ',
|
|
2291
|
+
P,
|
|
2292
|
+
` in "having" needs to be provided in "by"`,
|
|
2293
|
+
]
|
|
2294
|
+
}[HavingFields]
|
|
2295
|
+
: 'take' extends Prisma.Keys<T>
|
|
2296
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2297
|
+
? ByValid extends Prisma.True
|
|
2298
|
+
? {}
|
|
2299
|
+
: {
|
|
2300
|
+
[P in OrderFields]: P extends ByFields
|
|
2301
|
+
? never
|
|
2302
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2303
|
+
}[OrderFields]
|
|
2304
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2305
|
+
: 'skip' extends Prisma.Keys<T>
|
|
2306
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
2307
|
+
? ByValid extends Prisma.True
|
|
2308
|
+
? {}
|
|
2309
|
+
: {
|
|
2310
|
+
[P in OrderFields]: P extends ByFields
|
|
2311
|
+
? never
|
|
2312
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2313
|
+
}[OrderFields]
|
|
2314
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2315
|
+
: ByValid extends Prisma.True
|
|
2316
|
+
? {}
|
|
2317
|
+
: {
|
|
2318
|
+
[P in OrderFields]: P extends ByFields
|
|
2319
|
+
? never
|
|
2320
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2321
|
+
}[OrderFields]
|
|
2322
|
+
>(args: Prisma.SubsetIntersection<T, PoleTemplateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPoleTemplateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2323
|
+
/**
|
|
2324
|
+
* Fields of the PoleTemplate model
|
|
2325
|
+
*/
|
|
2326
|
+
readonly fields: PoleTemplateFieldRefs;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* The delegate class that acts as a "Promise-like" for PoleTemplate.
|
|
2331
|
+
* Why is this prefixed with `Prisma__`?
|
|
2332
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2333
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2334
|
+
*/
|
|
2335
|
+
export interface Prisma__PoleTemplateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2336
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2337
|
+
updatedBy<T extends Prisma.PoleTemplate$updatedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PoleTemplate$updatedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2338
|
+
networkElement<T extends Prisma.NetworkElementDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.NetworkElementDefaultArgs<ExtArgs>>): Prisma.Prisma__NetworkElementClient<runtime.Types.Result.GetResult<Prisma.$NetworkElementPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
2339
|
+
projects<T extends Prisma.PoleTemplate$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PoleTemplate$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2340
|
+
cluster<T extends Prisma.PoleTemplate$clusterArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PoleTemplate$clusterArgs<ExtArgs>>): Prisma.Prisma__ClusterClient<runtime.Types.Result.GetResult<Prisma.$ClusterPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2341
|
+
qrCodeTemplate<T extends Prisma.PoleTemplate$qrCodeTemplateArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PoleTemplate$qrCodeTemplateArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$qrCodeTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2342
|
+
Pole<T extends Prisma.PoleTemplate$PoleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PoleTemplate$PoleArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PolePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2343
|
+
/**
|
|
2344
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2345
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2346
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2347
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2348
|
+
*/
|
|
2349
|
+
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>
|
|
2350
|
+
/**
|
|
2351
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2352
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2353
|
+
* @returns A Promise for the completion of the callback.
|
|
2354
|
+
*/
|
|
2355
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
2356
|
+
/**
|
|
2357
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2358
|
+
* resolved value cannot be modified from the callback.
|
|
2359
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2360
|
+
* @returns A Promise for the completion of the callback.
|
|
2361
|
+
*/
|
|
2362
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
|
|
2366
|
+
|
|
2367
|
+
|
|
2368
|
+
/**
|
|
2369
|
+
* Fields of the PoleTemplate model
|
|
2370
|
+
*/
|
|
2371
|
+
export interface PoleTemplateFieldRefs {
|
|
2372
|
+
readonly id: Prisma.FieldRef<"PoleTemplate", 'String'>
|
|
2373
|
+
readonly no: Prisma.FieldRef<"PoleTemplate", 'Int'>
|
|
2374
|
+
readonly status: Prisma.FieldRef<"PoleTemplate", 'String'>
|
|
2375
|
+
readonly terminalAccess: Prisma.FieldRef<"PoleTemplate", 'Boolean'>
|
|
2376
|
+
readonly name: Prisma.FieldRef<"PoleTemplate", 'String'>
|
|
2377
|
+
readonly photos: Prisma.FieldRef<"PoleTemplate", 'Json'>
|
|
2378
|
+
readonly texts: Prisma.FieldRef<"PoleTemplate", 'Json'>
|
|
2379
|
+
readonly files: Prisma.FieldRef<"PoleTemplate", 'Json'>
|
|
2380
|
+
readonly zone: Prisma.FieldRef<"PoleTemplate", 'Json'>
|
|
2381
|
+
readonly geometry: Prisma.FieldRef<"PoleTemplate", 'Json'>
|
|
2382
|
+
readonly attributes: Prisma.FieldRef<"PoleTemplate", 'Json'>
|
|
2383
|
+
readonly autoincrement: Prisma.FieldRef<"PoleTemplate", 'Boolean'>
|
|
2384
|
+
readonly namePrefix: Prisma.FieldRef<"PoleTemplate", 'String'>
|
|
2385
|
+
readonly createdAt: Prisma.FieldRef<"PoleTemplate", 'DateTime'>
|
|
2386
|
+
readonly updatedAt: Prisma.FieldRef<"PoleTemplate", 'DateTime'>
|
|
2387
|
+
readonly deletedAt: Prisma.FieldRef<"PoleTemplate", 'DateTime'>
|
|
2388
|
+
readonly updatedById: Prisma.FieldRef<"PoleTemplate", 'String'>
|
|
2389
|
+
readonly networkElementId: Prisma.FieldRef<"PoleTemplate", 'String'>
|
|
2390
|
+
readonly clusterId: Prisma.FieldRef<"PoleTemplate", 'String'>
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
// Custom InputTypes
|
|
2395
|
+
/**
|
|
2396
|
+
* PoleTemplate findUnique
|
|
2397
|
+
*/
|
|
2398
|
+
export type PoleTemplateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2399
|
+
/**
|
|
2400
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2401
|
+
*/
|
|
2402
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2403
|
+
/**
|
|
2404
|
+
* Omit specific fields from the PoleTemplate
|
|
2405
|
+
*/
|
|
2406
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2407
|
+
/**
|
|
2408
|
+
* Choose, which related nodes to fetch as well
|
|
2409
|
+
*/
|
|
2410
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2411
|
+
/**
|
|
2412
|
+
* Filter, which PoleTemplate to fetch.
|
|
2413
|
+
*/
|
|
2414
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
/**
|
|
2418
|
+
* PoleTemplate findUniqueOrThrow
|
|
2419
|
+
*/
|
|
2420
|
+
export type PoleTemplateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2421
|
+
/**
|
|
2422
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2423
|
+
*/
|
|
2424
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2425
|
+
/**
|
|
2426
|
+
* Omit specific fields from the PoleTemplate
|
|
2427
|
+
*/
|
|
2428
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2429
|
+
/**
|
|
2430
|
+
* Choose, which related nodes to fetch as well
|
|
2431
|
+
*/
|
|
2432
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2433
|
+
/**
|
|
2434
|
+
* Filter, which PoleTemplate to fetch.
|
|
2435
|
+
*/
|
|
2436
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
/**
|
|
2440
|
+
* PoleTemplate findFirst
|
|
2441
|
+
*/
|
|
2442
|
+
export type PoleTemplateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2443
|
+
/**
|
|
2444
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2445
|
+
*/
|
|
2446
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2447
|
+
/**
|
|
2448
|
+
* Omit specific fields from the PoleTemplate
|
|
2449
|
+
*/
|
|
2450
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2451
|
+
/**
|
|
2452
|
+
* Choose, which related nodes to fetch as well
|
|
2453
|
+
*/
|
|
2454
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2455
|
+
/**
|
|
2456
|
+
* Filter, which PoleTemplate to fetch.
|
|
2457
|
+
*/
|
|
2458
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
2459
|
+
/**
|
|
2460
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2461
|
+
*
|
|
2462
|
+
* Determine the order of PoleTemplates to fetch.
|
|
2463
|
+
*/
|
|
2464
|
+
orderBy?: Prisma.PoleTemplateOrderByWithRelationInput | Prisma.PoleTemplateOrderByWithRelationInput[]
|
|
2465
|
+
/**
|
|
2466
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2467
|
+
*
|
|
2468
|
+
* Sets the position for searching for PoleTemplates.
|
|
2469
|
+
*/
|
|
2470
|
+
cursor?: Prisma.PoleTemplateWhereUniqueInput
|
|
2471
|
+
/**
|
|
2472
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2473
|
+
*
|
|
2474
|
+
* Take `±n` PoleTemplates from the position of the cursor.
|
|
2475
|
+
*/
|
|
2476
|
+
take?: number
|
|
2477
|
+
/**
|
|
2478
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2479
|
+
*
|
|
2480
|
+
* Skip the first `n` PoleTemplates.
|
|
2481
|
+
*/
|
|
2482
|
+
skip?: number
|
|
2483
|
+
/**
|
|
2484
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2485
|
+
*
|
|
2486
|
+
* Filter by unique combinations of PoleTemplates.
|
|
2487
|
+
*/
|
|
2488
|
+
distinct?: Prisma.PoleTemplateScalarFieldEnum | Prisma.PoleTemplateScalarFieldEnum[]
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* PoleTemplate findFirstOrThrow
|
|
2493
|
+
*/
|
|
2494
|
+
export type PoleTemplateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2495
|
+
/**
|
|
2496
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2497
|
+
*/
|
|
2498
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2499
|
+
/**
|
|
2500
|
+
* Omit specific fields from the PoleTemplate
|
|
2501
|
+
*/
|
|
2502
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2503
|
+
/**
|
|
2504
|
+
* Choose, which related nodes to fetch as well
|
|
2505
|
+
*/
|
|
2506
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2507
|
+
/**
|
|
2508
|
+
* Filter, which PoleTemplate to fetch.
|
|
2509
|
+
*/
|
|
2510
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
2511
|
+
/**
|
|
2512
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2513
|
+
*
|
|
2514
|
+
* Determine the order of PoleTemplates to fetch.
|
|
2515
|
+
*/
|
|
2516
|
+
orderBy?: Prisma.PoleTemplateOrderByWithRelationInput | Prisma.PoleTemplateOrderByWithRelationInput[]
|
|
2517
|
+
/**
|
|
2518
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2519
|
+
*
|
|
2520
|
+
* Sets the position for searching for PoleTemplates.
|
|
2521
|
+
*/
|
|
2522
|
+
cursor?: Prisma.PoleTemplateWhereUniqueInput
|
|
2523
|
+
/**
|
|
2524
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2525
|
+
*
|
|
2526
|
+
* Take `±n` PoleTemplates from the position of the cursor.
|
|
2527
|
+
*/
|
|
2528
|
+
take?: number
|
|
2529
|
+
/**
|
|
2530
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2531
|
+
*
|
|
2532
|
+
* Skip the first `n` PoleTemplates.
|
|
2533
|
+
*/
|
|
2534
|
+
skip?: number
|
|
2535
|
+
/**
|
|
2536
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2537
|
+
*
|
|
2538
|
+
* Filter by unique combinations of PoleTemplates.
|
|
2539
|
+
*/
|
|
2540
|
+
distinct?: Prisma.PoleTemplateScalarFieldEnum | Prisma.PoleTemplateScalarFieldEnum[]
|
|
2541
|
+
}
|
|
2542
|
+
|
|
2543
|
+
/**
|
|
2544
|
+
* PoleTemplate findMany
|
|
2545
|
+
*/
|
|
2546
|
+
export type PoleTemplateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2547
|
+
/**
|
|
2548
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2549
|
+
*/
|
|
2550
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2551
|
+
/**
|
|
2552
|
+
* Omit specific fields from the PoleTemplate
|
|
2553
|
+
*/
|
|
2554
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2555
|
+
/**
|
|
2556
|
+
* Choose, which related nodes to fetch as well
|
|
2557
|
+
*/
|
|
2558
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2559
|
+
/**
|
|
2560
|
+
* Filter, which PoleTemplates to fetch.
|
|
2561
|
+
*/
|
|
2562
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
2563
|
+
/**
|
|
2564
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2565
|
+
*
|
|
2566
|
+
* Determine the order of PoleTemplates to fetch.
|
|
2567
|
+
*/
|
|
2568
|
+
orderBy?: Prisma.PoleTemplateOrderByWithRelationInput | Prisma.PoleTemplateOrderByWithRelationInput[]
|
|
2569
|
+
/**
|
|
2570
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2571
|
+
*
|
|
2572
|
+
* Sets the position for listing PoleTemplates.
|
|
2573
|
+
*/
|
|
2574
|
+
cursor?: Prisma.PoleTemplateWhereUniqueInput
|
|
2575
|
+
/**
|
|
2576
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2577
|
+
*
|
|
2578
|
+
* Take `±n` PoleTemplates from the position of the cursor.
|
|
2579
|
+
*/
|
|
2580
|
+
take?: number
|
|
2581
|
+
/**
|
|
2582
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2583
|
+
*
|
|
2584
|
+
* Skip the first `n` PoleTemplates.
|
|
2585
|
+
*/
|
|
2586
|
+
skip?: number
|
|
2587
|
+
distinct?: Prisma.PoleTemplateScalarFieldEnum | Prisma.PoleTemplateScalarFieldEnum[]
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
/**
|
|
2591
|
+
* PoleTemplate create
|
|
2592
|
+
*/
|
|
2593
|
+
export type PoleTemplateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2594
|
+
/**
|
|
2595
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2596
|
+
*/
|
|
2597
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2598
|
+
/**
|
|
2599
|
+
* Omit specific fields from the PoleTemplate
|
|
2600
|
+
*/
|
|
2601
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2602
|
+
/**
|
|
2603
|
+
* Choose, which related nodes to fetch as well
|
|
2604
|
+
*/
|
|
2605
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2606
|
+
/**
|
|
2607
|
+
* The data needed to create a PoleTemplate.
|
|
2608
|
+
*/
|
|
2609
|
+
data: Prisma.XOR<Prisma.PoleTemplateCreateInput, Prisma.PoleTemplateUncheckedCreateInput>
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* PoleTemplate createMany
|
|
2614
|
+
*/
|
|
2615
|
+
export type PoleTemplateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2616
|
+
/**
|
|
2617
|
+
* The data used to create many PoleTemplates.
|
|
2618
|
+
*/
|
|
2619
|
+
data: Prisma.PoleTemplateCreateManyInput | Prisma.PoleTemplateCreateManyInput[]
|
|
2620
|
+
skipDuplicates?: boolean
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
/**
|
|
2624
|
+
* PoleTemplate createManyAndReturn
|
|
2625
|
+
*/
|
|
2626
|
+
export type PoleTemplateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2627
|
+
/**
|
|
2628
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2629
|
+
*/
|
|
2630
|
+
select?: Prisma.PoleTemplateSelectCreateManyAndReturn<ExtArgs> | null
|
|
2631
|
+
/**
|
|
2632
|
+
* Omit specific fields from the PoleTemplate
|
|
2633
|
+
*/
|
|
2634
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2635
|
+
/**
|
|
2636
|
+
* The data used to create many PoleTemplates.
|
|
2637
|
+
*/
|
|
2638
|
+
data: Prisma.PoleTemplateCreateManyInput | Prisma.PoleTemplateCreateManyInput[]
|
|
2639
|
+
skipDuplicates?: boolean
|
|
2640
|
+
/**
|
|
2641
|
+
* Choose, which related nodes to fetch as well
|
|
2642
|
+
*/
|
|
2643
|
+
include?: Prisma.PoleTemplateIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* PoleTemplate update
|
|
2648
|
+
*/
|
|
2649
|
+
export type PoleTemplateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2650
|
+
/**
|
|
2651
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2652
|
+
*/
|
|
2653
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2654
|
+
/**
|
|
2655
|
+
* Omit specific fields from the PoleTemplate
|
|
2656
|
+
*/
|
|
2657
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2658
|
+
/**
|
|
2659
|
+
* Choose, which related nodes to fetch as well
|
|
2660
|
+
*/
|
|
2661
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2662
|
+
/**
|
|
2663
|
+
* The data needed to update a PoleTemplate.
|
|
2664
|
+
*/
|
|
2665
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateInput, Prisma.PoleTemplateUncheckedUpdateInput>
|
|
2666
|
+
/**
|
|
2667
|
+
* Choose, which PoleTemplate to update.
|
|
2668
|
+
*/
|
|
2669
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* PoleTemplate updateMany
|
|
2674
|
+
*/
|
|
2675
|
+
export type PoleTemplateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2676
|
+
/**
|
|
2677
|
+
* The data used to update PoleTemplates.
|
|
2678
|
+
*/
|
|
2679
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateManyMutationInput, Prisma.PoleTemplateUncheckedUpdateManyInput>
|
|
2680
|
+
/**
|
|
2681
|
+
* Filter which PoleTemplates to update
|
|
2682
|
+
*/
|
|
2683
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
2684
|
+
/**
|
|
2685
|
+
* Limit how many PoleTemplates to update.
|
|
2686
|
+
*/
|
|
2687
|
+
limit?: number
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* PoleTemplate updateManyAndReturn
|
|
2692
|
+
*/
|
|
2693
|
+
export type PoleTemplateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2694
|
+
/**
|
|
2695
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2696
|
+
*/
|
|
2697
|
+
select?: Prisma.PoleTemplateSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2698
|
+
/**
|
|
2699
|
+
* Omit specific fields from the PoleTemplate
|
|
2700
|
+
*/
|
|
2701
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2702
|
+
/**
|
|
2703
|
+
* The data used to update PoleTemplates.
|
|
2704
|
+
*/
|
|
2705
|
+
data: Prisma.XOR<Prisma.PoleTemplateUpdateManyMutationInput, Prisma.PoleTemplateUncheckedUpdateManyInput>
|
|
2706
|
+
/**
|
|
2707
|
+
* Filter which PoleTemplates to update
|
|
2708
|
+
*/
|
|
2709
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
2710
|
+
/**
|
|
2711
|
+
* Limit how many PoleTemplates to update.
|
|
2712
|
+
*/
|
|
2713
|
+
limit?: number
|
|
2714
|
+
/**
|
|
2715
|
+
* Choose, which related nodes to fetch as well
|
|
2716
|
+
*/
|
|
2717
|
+
include?: Prisma.PoleTemplateIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* PoleTemplate upsert
|
|
2722
|
+
*/
|
|
2723
|
+
export type PoleTemplateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2724
|
+
/**
|
|
2725
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2726
|
+
*/
|
|
2727
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2728
|
+
/**
|
|
2729
|
+
* Omit specific fields from the PoleTemplate
|
|
2730
|
+
*/
|
|
2731
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2732
|
+
/**
|
|
2733
|
+
* Choose, which related nodes to fetch as well
|
|
2734
|
+
*/
|
|
2735
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2736
|
+
/**
|
|
2737
|
+
* The filter to search for the PoleTemplate to update in case it exists.
|
|
2738
|
+
*/
|
|
2739
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
2740
|
+
/**
|
|
2741
|
+
* In case the PoleTemplate found by the `where` argument doesn't exist, create a new PoleTemplate with this data.
|
|
2742
|
+
*/
|
|
2743
|
+
create: Prisma.XOR<Prisma.PoleTemplateCreateInput, Prisma.PoleTemplateUncheckedCreateInput>
|
|
2744
|
+
/**
|
|
2745
|
+
* In case the PoleTemplate was found with the provided `where` argument, update it with this data.
|
|
2746
|
+
*/
|
|
2747
|
+
update: Prisma.XOR<Prisma.PoleTemplateUpdateInput, Prisma.PoleTemplateUncheckedUpdateInput>
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2750
|
+
/**
|
|
2751
|
+
* PoleTemplate delete
|
|
2752
|
+
*/
|
|
2753
|
+
export type PoleTemplateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2754
|
+
/**
|
|
2755
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2756
|
+
*/
|
|
2757
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2758
|
+
/**
|
|
2759
|
+
* Omit specific fields from the PoleTemplate
|
|
2760
|
+
*/
|
|
2761
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2762
|
+
/**
|
|
2763
|
+
* Choose, which related nodes to fetch as well
|
|
2764
|
+
*/
|
|
2765
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2766
|
+
/**
|
|
2767
|
+
* Filter which PoleTemplate to delete.
|
|
2768
|
+
*/
|
|
2769
|
+
where: Prisma.PoleTemplateWhereUniqueInput
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* PoleTemplate deleteMany
|
|
2774
|
+
*/
|
|
2775
|
+
export type PoleTemplateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2776
|
+
/**
|
|
2777
|
+
* Filter which PoleTemplates to delete
|
|
2778
|
+
*/
|
|
2779
|
+
where?: Prisma.PoleTemplateWhereInput
|
|
2780
|
+
/**
|
|
2781
|
+
* Limit how many PoleTemplates to delete.
|
|
2782
|
+
*/
|
|
2783
|
+
limit?: number
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* PoleTemplate.updatedBy
|
|
2788
|
+
*/
|
|
2789
|
+
export type PoleTemplate$updatedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2790
|
+
/**
|
|
2791
|
+
* Select specific fields to fetch from the User
|
|
2792
|
+
*/
|
|
2793
|
+
select?: Prisma.UserSelect<ExtArgs> | null
|
|
2794
|
+
/**
|
|
2795
|
+
* Omit specific fields from the User
|
|
2796
|
+
*/
|
|
2797
|
+
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
2798
|
+
/**
|
|
2799
|
+
* Choose, which related nodes to fetch as well
|
|
2800
|
+
*/
|
|
2801
|
+
include?: Prisma.UserInclude<ExtArgs> | null
|
|
2802
|
+
where?: Prisma.UserWhereInput
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2805
|
+
/**
|
|
2806
|
+
* PoleTemplate.projects
|
|
2807
|
+
*/
|
|
2808
|
+
export type PoleTemplate$projectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2809
|
+
/**
|
|
2810
|
+
* Select specific fields to fetch from the Project
|
|
2811
|
+
*/
|
|
2812
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
2813
|
+
/**
|
|
2814
|
+
* Omit specific fields from the Project
|
|
2815
|
+
*/
|
|
2816
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2817
|
+
/**
|
|
2818
|
+
* Choose, which related nodes to fetch as well
|
|
2819
|
+
*/
|
|
2820
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
2821
|
+
where?: Prisma.ProjectWhereInput
|
|
2822
|
+
orderBy?: Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]
|
|
2823
|
+
cursor?: Prisma.ProjectWhereUniqueInput
|
|
2824
|
+
take?: number
|
|
2825
|
+
skip?: number
|
|
2826
|
+
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
/**
|
|
2830
|
+
* PoleTemplate.cluster
|
|
2831
|
+
*/
|
|
2832
|
+
export type PoleTemplate$clusterArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2833
|
+
/**
|
|
2834
|
+
* Select specific fields to fetch from the Cluster
|
|
2835
|
+
*/
|
|
2836
|
+
select?: Prisma.ClusterSelect<ExtArgs> | null
|
|
2837
|
+
/**
|
|
2838
|
+
* Omit specific fields from the Cluster
|
|
2839
|
+
*/
|
|
2840
|
+
omit?: Prisma.ClusterOmit<ExtArgs> | null
|
|
2841
|
+
/**
|
|
2842
|
+
* Choose, which related nodes to fetch as well
|
|
2843
|
+
*/
|
|
2844
|
+
include?: Prisma.ClusterInclude<ExtArgs> | null
|
|
2845
|
+
where?: Prisma.ClusterWhereInput
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* PoleTemplate.qrCodeTemplate
|
|
2850
|
+
*/
|
|
2851
|
+
export type PoleTemplate$qrCodeTemplateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2852
|
+
/**
|
|
2853
|
+
* Select specific fields to fetch from the qrCodeTemplate
|
|
2854
|
+
*/
|
|
2855
|
+
select?: Prisma.qrCodeTemplateSelect<ExtArgs> | null
|
|
2856
|
+
/**
|
|
2857
|
+
* Omit specific fields from the qrCodeTemplate
|
|
2858
|
+
*/
|
|
2859
|
+
omit?: Prisma.qrCodeTemplateOmit<ExtArgs> | null
|
|
2860
|
+
/**
|
|
2861
|
+
* Choose, which related nodes to fetch as well
|
|
2862
|
+
*/
|
|
2863
|
+
include?: Prisma.qrCodeTemplateInclude<ExtArgs> | null
|
|
2864
|
+
where?: Prisma.qrCodeTemplateWhereInput
|
|
2865
|
+
orderBy?: Prisma.qrCodeTemplateOrderByWithRelationInput | Prisma.qrCodeTemplateOrderByWithRelationInput[]
|
|
2866
|
+
cursor?: Prisma.qrCodeTemplateWhereUniqueInput
|
|
2867
|
+
take?: number
|
|
2868
|
+
skip?: number
|
|
2869
|
+
distinct?: Prisma.QrCodeTemplateScalarFieldEnum | Prisma.QrCodeTemplateScalarFieldEnum[]
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
/**
|
|
2873
|
+
* PoleTemplate.Pole
|
|
2874
|
+
*/
|
|
2875
|
+
export type PoleTemplate$PoleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2876
|
+
/**
|
|
2877
|
+
* Select specific fields to fetch from the Pole
|
|
2878
|
+
*/
|
|
2879
|
+
select?: Prisma.PoleSelect<ExtArgs> | null
|
|
2880
|
+
/**
|
|
2881
|
+
* Omit specific fields from the Pole
|
|
2882
|
+
*/
|
|
2883
|
+
omit?: Prisma.PoleOmit<ExtArgs> | null
|
|
2884
|
+
/**
|
|
2885
|
+
* Choose, which related nodes to fetch as well
|
|
2886
|
+
*/
|
|
2887
|
+
include?: Prisma.PoleInclude<ExtArgs> | null
|
|
2888
|
+
where?: Prisma.PoleWhereInput
|
|
2889
|
+
orderBy?: Prisma.PoleOrderByWithRelationInput | Prisma.PoleOrderByWithRelationInput[]
|
|
2890
|
+
cursor?: Prisma.PoleWhereUniqueInput
|
|
2891
|
+
take?: number
|
|
2892
|
+
skip?: number
|
|
2893
|
+
distinct?: Prisma.PoleScalarFieldEnum | Prisma.PoleScalarFieldEnum[]
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* PoleTemplate without action
|
|
2898
|
+
*/
|
|
2899
|
+
export type PoleTemplateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2900
|
+
/**
|
|
2901
|
+
* Select specific fields to fetch from the PoleTemplate
|
|
2902
|
+
*/
|
|
2903
|
+
select?: Prisma.PoleTemplateSelect<ExtArgs> | null
|
|
2904
|
+
/**
|
|
2905
|
+
* Omit specific fields from the PoleTemplate
|
|
2906
|
+
*/
|
|
2907
|
+
omit?: Prisma.PoleTemplateOmit<ExtArgs> | null
|
|
2908
|
+
/**
|
|
2909
|
+
* Choose, which related nodes to fetch as well
|
|
2910
|
+
*/
|
|
2911
|
+
include?: Prisma.PoleTemplateInclude<ExtArgs> | null
|
|
2912
|
+
}
|