@valentine-efagene/qshelter-common 2.0.21 → 2.0.24
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/dist/generated/client/browser.d.ts +45 -30
- package/dist/generated/client/client.d.ts +45 -30
- package/dist/generated/client/commonInputTypes.d.ts +40 -0
- package/dist/generated/client/internal/class.d.ts +93 -60
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +1058 -720
- package/dist/generated/client/internal/prismaNamespace.js +321 -190
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +352 -215
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +321 -190
- package/dist/generated/client/models/Amenity.d.ts +168 -1
- package/dist/generated/client/models/Contract.d.ts +2390 -309
- package/dist/generated/client/models/ContractDocument.d.ts +299 -12
- package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
- package/dist/generated/client/models/ContractEvent.js +1 -0
- package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
- package/dist/generated/client/models/ContractInstallment.js +1 -0
- package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
- package/dist/generated/client/models/ContractPayment.js +1 -0
- package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
- package/dist/generated/client/models/ContractPhase.js +1 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
- package/dist/generated/client/models/ContractPhaseStep.js +1 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
- package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
- package/dist/generated/client/models/ContractTransition.js +1 -0
- package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
- package/dist/generated/client/models/DomainEvent.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +467 -971
- package/dist/generated/client/models/Property.d.ts +372 -626
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1714 -0
- package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
- package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
- package/dist/generated/client/models/PropertyUnit.js +1 -0
- package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
- package/dist/generated/client/models/PropertyVariant.js +1 -0
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
- package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
- package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +482 -0
- package/dist/generated/client/models/User.d.ts +684 -427
- package/dist/generated/client/models/index.d.ts +15 -12
- package/dist/generated/client/models/index.js +15 -12
- package/dist/generated/client/models.d.ts +15 -12
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +2 -0
- package/dist/src/middleware/error-handler.d.ts +6 -0
- package/dist/src/middleware/error-handler.js +26 -0
- package/dist/src/middleware/index.d.ts +3 -0
- package/dist/src/middleware/index.js +3 -0
- package/dist/src/middleware/request-logger.d.ts +6 -0
- package/dist/src/middleware/request-logger.js +17 -0
- package/dist/src/middleware/tenant.d.ts +61 -0
- package/dist/src/middleware/tenant.js +85 -0
- package/dist/src/prisma/tenant.d.ts +51 -0
- package/dist/src/prisma/tenant.js +211 -0
- package/package.json +16 -2
- package/prisma/migrations/20251230104059_add_property_variants/migration.sql +622 -0
- package/prisma/migrations/20251230113413_add_multitenancy/migration.sql +54 -0
- package/prisma/schema.prisma +561 -267
|
@@ -0,0 +1,1189 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model PropertyVariantMedia
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type PropertyVariantMediaModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyVariantMediaPayload>;
|
|
8
|
+
export type AggregatePropertyVariantMedia = {
|
|
9
|
+
_count: PropertyVariantMediaCountAggregateOutputType | null;
|
|
10
|
+
_avg: PropertyVariantMediaAvgAggregateOutputType | null;
|
|
11
|
+
_sum: PropertyVariantMediaSumAggregateOutputType | null;
|
|
12
|
+
_min: PropertyVariantMediaMinAggregateOutputType | null;
|
|
13
|
+
_max: PropertyVariantMediaMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type PropertyVariantMediaAvgAggregateOutputType = {
|
|
16
|
+
order: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type PropertyVariantMediaSumAggregateOutputType = {
|
|
19
|
+
order: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type PropertyVariantMediaMinAggregateOutputType = {
|
|
22
|
+
id: string | null;
|
|
23
|
+
variantId: string | null;
|
|
24
|
+
url: string | null;
|
|
25
|
+
type: string | null;
|
|
26
|
+
caption: string | null;
|
|
27
|
+
order: number | null;
|
|
28
|
+
createdAt: Date | null;
|
|
29
|
+
updatedAt: Date | null;
|
|
30
|
+
};
|
|
31
|
+
export type PropertyVariantMediaMaxAggregateOutputType = {
|
|
32
|
+
id: string | null;
|
|
33
|
+
variantId: string | null;
|
|
34
|
+
url: string | null;
|
|
35
|
+
type: string | null;
|
|
36
|
+
caption: string | null;
|
|
37
|
+
order: number | null;
|
|
38
|
+
createdAt: Date | null;
|
|
39
|
+
updatedAt: Date | null;
|
|
40
|
+
};
|
|
41
|
+
export type PropertyVariantMediaCountAggregateOutputType = {
|
|
42
|
+
id: number;
|
|
43
|
+
variantId: number;
|
|
44
|
+
url: number;
|
|
45
|
+
type: number;
|
|
46
|
+
caption: number;
|
|
47
|
+
order: number;
|
|
48
|
+
createdAt: number;
|
|
49
|
+
updatedAt: number;
|
|
50
|
+
_all: number;
|
|
51
|
+
};
|
|
52
|
+
export type PropertyVariantMediaAvgAggregateInputType = {
|
|
53
|
+
order?: true;
|
|
54
|
+
};
|
|
55
|
+
export type PropertyVariantMediaSumAggregateInputType = {
|
|
56
|
+
order?: true;
|
|
57
|
+
};
|
|
58
|
+
export type PropertyVariantMediaMinAggregateInputType = {
|
|
59
|
+
id?: true;
|
|
60
|
+
variantId?: true;
|
|
61
|
+
url?: true;
|
|
62
|
+
type?: true;
|
|
63
|
+
caption?: true;
|
|
64
|
+
order?: true;
|
|
65
|
+
createdAt?: true;
|
|
66
|
+
updatedAt?: true;
|
|
67
|
+
};
|
|
68
|
+
export type PropertyVariantMediaMaxAggregateInputType = {
|
|
69
|
+
id?: true;
|
|
70
|
+
variantId?: true;
|
|
71
|
+
url?: true;
|
|
72
|
+
type?: true;
|
|
73
|
+
caption?: true;
|
|
74
|
+
order?: true;
|
|
75
|
+
createdAt?: true;
|
|
76
|
+
updatedAt?: true;
|
|
77
|
+
};
|
|
78
|
+
export type PropertyVariantMediaCountAggregateInputType = {
|
|
79
|
+
id?: true;
|
|
80
|
+
variantId?: true;
|
|
81
|
+
url?: true;
|
|
82
|
+
type?: true;
|
|
83
|
+
caption?: true;
|
|
84
|
+
order?: true;
|
|
85
|
+
createdAt?: true;
|
|
86
|
+
updatedAt?: true;
|
|
87
|
+
_all?: true;
|
|
88
|
+
};
|
|
89
|
+
export type PropertyVariantMediaAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
90
|
+
/**
|
|
91
|
+
* Filter which PropertyVariantMedia to aggregate.
|
|
92
|
+
*/
|
|
93
|
+
where?: Prisma.PropertyVariantMediaWhereInput;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
96
|
+
*
|
|
97
|
+
* Determine the order of PropertyVariantMedias to fetch.
|
|
98
|
+
*/
|
|
99
|
+
orderBy?: Prisma.PropertyVariantMediaOrderByWithRelationInput | Prisma.PropertyVariantMediaOrderByWithRelationInput[];
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
102
|
+
*
|
|
103
|
+
* Sets the start position
|
|
104
|
+
*/
|
|
105
|
+
cursor?: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Take `±n` PropertyVariantMedias from the position of the cursor.
|
|
110
|
+
*/
|
|
111
|
+
take?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
114
|
+
*
|
|
115
|
+
* Skip the first `n` PropertyVariantMedias.
|
|
116
|
+
*/
|
|
117
|
+
skip?: number;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Count returned PropertyVariantMedias
|
|
122
|
+
**/
|
|
123
|
+
_count?: true | PropertyVariantMediaCountAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to average
|
|
128
|
+
**/
|
|
129
|
+
_avg?: PropertyVariantMediaAvgAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to sum
|
|
134
|
+
**/
|
|
135
|
+
_sum?: PropertyVariantMediaSumAggregateInputType;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
138
|
+
*
|
|
139
|
+
* Select which fields to find the minimum value
|
|
140
|
+
**/
|
|
141
|
+
_min?: PropertyVariantMediaMinAggregateInputType;
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
144
|
+
*
|
|
145
|
+
* Select which fields to find the maximum value
|
|
146
|
+
**/
|
|
147
|
+
_max?: PropertyVariantMediaMaxAggregateInputType;
|
|
148
|
+
};
|
|
149
|
+
export type GetPropertyVariantMediaAggregateType<T extends PropertyVariantMediaAggregateArgs> = {
|
|
150
|
+
[P in keyof T & keyof AggregatePropertyVariantMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePropertyVariantMedia[P]> : Prisma.GetScalarType<T[P], AggregatePropertyVariantMedia[P]>;
|
|
151
|
+
};
|
|
152
|
+
export type PropertyVariantMediaGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
153
|
+
where?: Prisma.PropertyVariantMediaWhereInput;
|
|
154
|
+
orderBy?: Prisma.PropertyVariantMediaOrderByWithAggregationInput | Prisma.PropertyVariantMediaOrderByWithAggregationInput[];
|
|
155
|
+
by: Prisma.PropertyVariantMediaScalarFieldEnum[] | Prisma.PropertyVariantMediaScalarFieldEnum;
|
|
156
|
+
having?: Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput;
|
|
157
|
+
take?: number;
|
|
158
|
+
skip?: number;
|
|
159
|
+
_count?: PropertyVariantMediaCountAggregateInputType | true;
|
|
160
|
+
_avg?: PropertyVariantMediaAvgAggregateInputType;
|
|
161
|
+
_sum?: PropertyVariantMediaSumAggregateInputType;
|
|
162
|
+
_min?: PropertyVariantMediaMinAggregateInputType;
|
|
163
|
+
_max?: PropertyVariantMediaMaxAggregateInputType;
|
|
164
|
+
};
|
|
165
|
+
export type PropertyVariantMediaGroupByOutputType = {
|
|
166
|
+
id: string;
|
|
167
|
+
variantId: string;
|
|
168
|
+
url: string;
|
|
169
|
+
type: string;
|
|
170
|
+
caption: string | null;
|
|
171
|
+
order: number;
|
|
172
|
+
createdAt: Date;
|
|
173
|
+
updatedAt: Date;
|
|
174
|
+
_count: PropertyVariantMediaCountAggregateOutputType | null;
|
|
175
|
+
_avg: PropertyVariantMediaAvgAggregateOutputType | null;
|
|
176
|
+
_sum: PropertyVariantMediaSumAggregateOutputType | null;
|
|
177
|
+
_min: PropertyVariantMediaMinAggregateOutputType | null;
|
|
178
|
+
_max: PropertyVariantMediaMaxAggregateOutputType | null;
|
|
179
|
+
};
|
|
180
|
+
type GetPropertyVariantMediaGroupByPayload<T extends PropertyVariantMediaGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PropertyVariantMediaGroupByOutputType, T['by']> & {
|
|
181
|
+
[P in ((keyof T) & (keyof PropertyVariantMediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PropertyVariantMediaGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PropertyVariantMediaGroupByOutputType[P]>;
|
|
182
|
+
}>>;
|
|
183
|
+
export type PropertyVariantMediaWhereInput = {
|
|
184
|
+
AND?: Prisma.PropertyVariantMediaWhereInput | Prisma.PropertyVariantMediaWhereInput[];
|
|
185
|
+
OR?: Prisma.PropertyVariantMediaWhereInput[];
|
|
186
|
+
NOT?: Prisma.PropertyVariantMediaWhereInput | Prisma.PropertyVariantMediaWhereInput[];
|
|
187
|
+
id?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
188
|
+
variantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
189
|
+
url?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
190
|
+
type?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
191
|
+
caption?: Prisma.StringNullableFilter<"PropertyVariantMedia"> | string | null;
|
|
192
|
+
order?: Prisma.IntFilter<"PropertyVariantMedia"> | number;
|
|
193
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
194
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
195
|
+
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
196
|
+
};
|
|
197
|
+
export type PropertyVariantMediaOrderByWithRelationInput = {
|
|
198
|
+
id?: Prisma.SortOrder;
|
|
199
|
+
variantId?: Prisma.SortOrder;
|
|
200
|
+
url?: Prisma.SortOrder;
|
|
201
|
+
type?: Prisma.SortOrder;
|
|
202
|
+
caption?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
203
|
+
order?: Prisma.SortOrder;
|
|
204
|
+
createdAt?: Prisma.SortOrder;
|
|
205
|
+
updatedAt?: Prisma.SortOrder;
|
|
206
|
+
variant?: Prisma.PropertyVariantOrderByWithRelationInput;
|
|
207
|
+
_relevance?: Prisma.PropertyVariantMediaOrderByRelevanceInput;
|
|
208
|
+
};
|
|
209
|
+
export type PropertyVariantMediaWhereUniqueInput = Prisma.AtLeast<{
|
|
210
|
+
id?: string;
|
|
211
|
+
AND?: Prisma.PropertyVariantMediaWhereInput | Prisma.PropertyVariantMediaWhereInput[];
|
|
212
|
+
OR?: Prisma.PropertyVariantMediaWhereInput[];
|
|
213
|
+
NOT?: Prisma.PropertyVariantMediaWhereInput | Prisma.PropertyVariantMediaWhereInput[];
|
|
214
|
+
variantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
215
|
+
url?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
216
|
+
type?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
217
|
+
caption?: Prisma.StringNullableFilter<"PropertyVariantMedia"> | string | null;
|
|
218
|
+
order?: Prisma.IntFilter<"PropertyVariantMedia"> | number;
|
|
219
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
220
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
221
|
+
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
222
|
+
}, "id">;
|
|
223
|
+
export type PropertyVariantMediaOrderByWithAggregationInput = {
|
|
224
|
+
id?: Prisma.SortOrder;
|
|
225
|
+
variantId?: Prisma.SortOrder;
|
|
226
|
+
url?: Prisma.SortOrder;
|
|
227
|
+
type?: Prisma.SortOrder;
|
|
228
|
+
caption?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
229
|
+
order?: Prisma.SortOrder;
|
|
230
|
+
createdAt?: Prisma.SortOrder;
|
|
231
|
+
updatedAt?: Prisma.SortOrder;
|
|
232
|
+
_count?: Prisma.PropertyVariantMediaCountOrderByAggregateInput;
|
|
233
|
+
_avg?: Prisma.PropertyVariantMediaAvgOrderByAggregateInput;
|
|
234
|
+
_max?: Prisma.PropertyVariantMediaMaxOrderByAggregateInput;
|
|
235
|
+
_min?: Prisma.PropertyVariantMediaMinOrderByAggregateInput;
|
|
236
|
+
_sum?: Prisma.PropertyVariantMediaSumOrderByAggregateInput;
|
|
237
|
+
};
|
|
238
|
+
export type PropertyVariantMediaScalarWhereWithAggregatesInput = {
|
|
239
|
+
AND?: Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput | Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput[];
|
|
240
|
+
OR?: Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput[];
|
|
241
|
+
NOT?: Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput | Prisma.PropertyVariantMediaScalarWhereWithAggregatesInput[];
|
|
242
|
+
id?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
243
|
+
variantId?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
244
|
+
url?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
245
|
+
type?: Prisma.StringWithAggregatesFilter<"PropertyVariantMedia"> | string;
|
|
246
|
+
caption?: Prisma.StringNullableWithAggregatesFilter<"PropertyVariantMedia"> | string | null;
|
|
247
|
+
order?: Prisma.IntWithAggregatesFilter<"PropertyVariantMedia"> | number;
|
|
248
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyVariantMedia"> | Date | string;
|
|
249
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyVariantMedia"> | Date | string;
|
|
250
|
+
};
|
|
251
|
+
export type PropertyVariantMediaCreateInput = {
|
|
252
|
+
id?: string;
|
|
253
|
+
url: string;
|
|
254
|
+
type: string;
|
|
255
|
+
caption?: string | null;
|
|
256
|
+
order?: number;
|
|
257
|
+
createdAt?: Date | string;
|
|
258
|
+
updatedAt?: Date | string;
|
|
259
|
+
variant: Prisma.PropertyVariantCreateNestedOneWithoutMediaInput;
|
|
260
|
+
};
|
|
261
|
+
export type PropertyVariantMediaUncheckedCreateInput = {
|
|
262
|
+
id?: string;
|
|
263
|
+
variantId: string;
|
|
264
|
+
url: string;
|
|
265
|
+
type: string;
|
|
266
|
+
caption?: string | null;
|
|
267
|
+
order?: number;
|
|
268
|
+
createdAt?: Date | string;
|
|
269
|
+
updatedAt?: Date | string;
|
|
270
|
+
};
|
|
271
|
+
export type PropertyVariantMediaUpdateInput = {
|
|
272
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
274
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
275
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
276
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
277
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
278
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
279
|
+
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutMediaNestedInput;
|
|
280
|
+
};
|
|
281
|
+
export type PropertyVariantMediaUncheckedUpdateInput = {
|
|
282
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
285
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
286
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
287
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
288
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
289
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
290
|
+
};
|
|
291
|
+
export type PropertyVariantMediaCreateManyInput = {
|
|
292
|
+
id?: string;
|
|
293
|
+
variantId: string;
|
|
294
|
+
url: string;
|
|
295
|
+
type: string;
|
|
296
|
+
caption?: string | null;
|
|
297
|
+
order?: number;
|
|
298
|
+
createdAt?: Date | string;
|
|
299
|
+
updatedAt?: Date | string;
|
|
300
|
+
};
|
|
301
|
+
export type PropertyVariantMediaUpdateManyMutationInput = {
|
|
302
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
303
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
304
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
305
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
306
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
307
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
308
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
309
|
+
};
|
|
310
|
+
export type PropertyVariantMediaUncheckedUpdateManyInput = {
|
|
311
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
312
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
313
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
314
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
315
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
316
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
317
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
318
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
319
|
+
};
|
|
320
|
+
export type PropertyVariantMediaListRelationFilter = {
|
|
321
|
+
every?: Prisma.PropertyVariantMediaWhereInput;
|
|
322
|
+
some?: Prisma.PropertyVariantMediaWhereInput;
|
|
323
|
+
none?: Prisma.PropertyVariantMediaWhereInput;
|
|
324
|
+
};
|
|
325
|
+
export type PropertyVariantMediaOrderByRelationAggregateInput = {
|
|
326
|
+
_count?: Prisma.SortOrder;
|
|
327
|
+
};
|
|
328
|
+
export type PropertyVariantMediaOrderByRelevanceInput = {
|
|
329
|
+
fields: Prisma.PropertyVariantMediaOrderByRelevanceFieldEnum | Prisma.PropertyVariantMediaOrderByRelevanceFieldEnum[];
|
|
330
|
+
sort: Prisma.SortOrder;
|
|
331
|
+
search: string;
|
|
332
|
+
};
|
|
333
|
+
export type PropertyVariantMediaCountOrderByAggregateInput = {
|
|
334
|
+
id?: Prisma.SortOrder;
|
|
335
|
+
variantId?: Prisma.SortOrder;
|
|
336
|
+
url?: Prisma.SortOrder;
|
|
337
|
+
type?: Prisma.SortOrder;
|
|
338
|
+
caption?: Prisma.SortOrder;
|
|
339
|
+
order?: Prisma.SortOrder;
|
|
340
|
+
createdAt?: Prisma.SortOrder;
|
|
341
|
+
updatedAt?: Prisma.SortOrder;
|
|
342
|
+
};
|
|
343
|
+
export type PropertyVariantMediaAvgOrderByAggregateInput = {
|
|
344
|
+
order?: Prisma.SortOrder;
|
|
345
|
+
};
|
|
346
|
+
export type PropertyVariantMediaMaxOrderByAggregateInput = {
|
|
347
|
+
id?: Prisma.SortOrder;
|
|
348
|
+
variantId?: Prisma.SortOrder;
|
|
349
|
+
url?: Prisma.SortOrder;
|
|
350
|
+
type?: Prisma.SortOrder;
|
|
351
|
+
caption?: Prisma.SortOrder;
|
|
352
|
+
order?: Prisma.SortOrder;
|
|
353
|
+
createdAt?: Prisma.SortOrder;
|
|
354
|
+
updatedAt?: Prisma.SortOrder;
|
|
355
|
+
};
|
|
356
|
+
export type PropertyVariantMediaMinOrderByAggregateInput = {
|
|
357
|
+
id?: Prisma.SortOrder;
|
|
358
|
+
variantId?: Prisma.SortOrder;
|
|
359
|
+
url?: Prisma.SortOrder;
|
|
360
|
+
type?: Prisma.SortOrder;
|
|
361
|
+
caption?: Prisma.SortOrder;
|
|
362
|
+
order?: Prisma.SortOrder;
|
|
363
|
+
createdAt?: Prisma.SortOrder;
|
|
364
|
+
updatedAt?: Prisma.SortOrder;
|
|
365
|
+
};
|
|
366
|
+
export type PropertyVariantMediaSumOrderByAggregateInput = {
|
|
367
|
+
order?: Prisma.SortOrder;
|
|
368
|
+
};
|
|
369
|
+
export type PropertyVariantMediaCreateNestedManyWithoutVariantInput = {
|
|
370
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantMediaCreateWithoutVariantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput[];
|
|
371
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput[];
|
|
372
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyVariantInputEnvelope;
|
|
373
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
374
|
+
};
|
|
375
|
+
export type PropertyVariantMediaUncheckedCreateNestedManyWithoutVariantInput = {
|
|
376
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantMediaCreateWithoutVariantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput[];
|
|
377
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput[];
|
|
378
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyVariantInputEnvelope;
|
|
379
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
380
|
+
};
|
|
381
|
+
export type PropertyVariantMediaUpdateManyWithoutVariantNestedInput = {
|
|
382
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantMediaCreateWithoutVariantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput[];
|
|
383
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput[];
|
|
384
|
+
upsert?: Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutVariantInput[];
|
|
385
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyVariantInputEnvelope;
|
|
386
|
+
set?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
387
|
+
disconnect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
388
|
+
delete?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
389
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
390
|
+
update?: Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutVariantInput[];
|
|
391
|
+
updateMany?: Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput[];
|
|
392
|
+
deleteMany?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
393
|
+
};
|
|
394
|
+
export type PropertyVariantMediaUncheckedUpdateManyWithoutVariantNestedInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantMediaCreateWithoutVariantInput[] | Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput[];
|
|
396
|
+
connectOrCreate?: Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantMediaCreateOrConnectWithoutVariantInput[];
|
|
397
|
+
upsert?: Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantMediaUpsertWithWhereUniqueWithoutVariantInput[];
|
|
398
|
+
createMany?: Prisma.PropertyVariantMediaCreateManyVariantInputEnvelope;
|
|
399
|
+
set?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
400
|
+
disconnect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
401
|
+
delete?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
402
|
+
connect?: Prisma.PropertyVariantMediaWhereUniqueInput | Prisma.PropertyVariantMediaWhereUniqueInput[];
|
|
403
|
+
update?: Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantMediaUpdateWithWhereUniqueWithoutVariantInput[];
|
|
404
|
+
updateMany?: Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput[];
|
|
405
|
+
deleteMany?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
406
|
+
};
|
|
407
|
+
export type PropertyVariantMediaCreateWithoutVariantInput = {
|
|
408
|
+
id?: string;
|
|
409
|
+
url: string;
|
|
410
|
+
type: string;
|
|
411
|
+
caption?: string | null;
|
|
412
|
+
order?: number;
|
|
413
|
+
createdAt?: Date | string;
|
|
414
|
+
updatedAt?: Date | string;
|
|
415
|
+
};
|
|
416
|
+
export type PropertyVariantMediaUncheckedCreateWithoutVariantInput = {
|
|
417
|
+
id?: string;
|
|
418
|
+
url: string;
|
|
419
|
+
type: string;
|
|
420
|
+
caption?: string | null;
|
|
421
|
+
order?: number;
|
|
422
|
+
createdAt?: Date | string;
|
|
423
|
+
updatedAt?: Date | string;
|
|
424
|
+
};
|
|
425
|
+
export type PropertyVariantMediaCreateOrConnectWithoutVariantInput = {
|
|
426
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
427
|
+
create: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput>;
|
|
428
|
+
};
|
|
429
|
+
export type PropertyVariantMediaCreateManyVariantInputEnvelope = {
|
|
430
|
+
data: Prisma.PropertyVariantMediaCreateManyVariantInput | Prisma.PropertyVariantMediaCreateManyVariantInput[];
|
|
431
|
+
skipDuplicates?: boolean;
|
|
432
|
+
};
|
|
433
|
+
export type PropertyVariantMediaUpsertWithWhereUniqueWithoutVariantInput = {
|
|
434
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
435
|
+
update: Prisma.XOR<Prisma.PropertyVariantMediaUpdateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedUpdateWithoutVariantInput>;
|
|
436
|
+
create: Prisma.XOR<Prisma.PropertyVariantMediaCreateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedCreateWithoutVariantInput>;
|
|
437
|
+
};
|
|
438
|
+
export type PropertyVariantMediaUpdateWithWhereUniqueWithoutVariantInput = {
|
|
439
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
440
|
+
data: Prisma.XOR<Prisma.PropertyVariantMediaUpdateWithoutVariantInput, Prisma.PropertyVariantMediaUncheckedUpdateWithoutVariantInput>;
|
|
441
|
+
};
|
|
442
|
+
export type PropertyVariantMediaUpdateManyWithWhereWithoutVariantInput = {
|
|
443
|
+
where: Prisma.PropertyVariantMediaScalarWhereInput;
|
|
444
|
+
data: Prisma.XOR<Prisma.PropertyVariantMediaUpdateManyMutationInput, Prisma.PropertyVariantMediaUncheckedUpdateManyWithoutVariantInput>;
|
|
445
|
+
};
|
|
446
|
+
export type PropertyVariantMediaScalarWhereInput = {
|
|
447
|
+
AND?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
448
|
+
OR?: Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
449
|
+
NOT?: Prisma.PropertyVariantMediaScalarWhereInput | Prisma.PropertyVariantMediaScalarWhereInput[];
|
|
450
|
+
id?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
451
|
+
variantId?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
452
|
+
url?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
453
|
+
type?: Prisma.StringFilter<"PropertyVariantMedia"> | string;
|
|
454
|
+
caption?: Prisma.StringNullableFilter<"PropertyVariantMedia"> | string | null;
|
|
455
|
+
order?: Prisma.IntFilter<"PropertyVariantMedia"> | number;
|
|
456
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
457
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyVariantMedia"> | Date | string;
|
|
458
|
+
};
|
|
459
|
+
export type PropertyVariantMediaCreateManyVariantInput = {
|
|
460
|
+
id?: string;
|
|
461
|
+
url: string;
|
|
462
|
+
type: string;
|
|
463
|
+
caption?: string | null;
|
|
464
|
+
order?: number;
|
|
465
|
+
createdAt?: Date | string;
|
|
466
|
+
updatedAt?: Date | string;
|
|
467
|
+
};
|
|
468
|
+
export type PropertyVariantMediaUpdateWithoutVariantInput = {
|
|
469
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
470
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
471
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
472
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
473
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
474
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
475
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
476
|
+
};
|
|
477
|
+
export type PropertyVariantMediaUncheckedUpdateWithoutVariantInput = {
|
|
478
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
479
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
480
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
482
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
483
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
484
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
485
|
+
};
|
|
486
|
+
export type PropertyVariantMediaUncheckedUpdateManyWithoutVariantInput = {
|
|
487
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
488
|
+
url?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
489
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
490
|
+
caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
491
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
492
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
493
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
494
|
+
};
|
|
495
|
+
export type PropertyVariantMediaSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
496
|
+
id?: boolean;
|
|
497
|
+
variantId?: boolean;
|
|
498
|
+
url?: boolean;
|
|
499
|
+
type?: boolean;
|
|
500
|
+
caption?: boolean;
|
|
501
|
+
order?: boolean;
|
|
502
|
+
createdAt?: boolean;
|
|
503
|
+
updatedAt?: boolean;
|
|
504
|
+
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
505
|
+
}, ExtArgs["result"]["propertyVariantMedia"]>;
|
|
506
|
+
export type PropertyVariantMediaSelectScalar = {
|
|
507
|
+
id?: boolean;
|
|
508
|
+
variantId?: boolean;
|
|
509
|
+
url?: boolean;
|
|
510
|
+
type?: boolean;
|
|
511
|
+
caption?: boolean;
|
|
512
|
+
order?: boolean;
|
|
513
|
+
createdAt?: boolean;
|
|
514
|
+
updatedAt?: boolean;
|
|
515
|
+
};
|
|
516
|
+
export type PropertyVariantMediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "variantId" | "url" | "type" | "caption" | "order" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyVariantMedia"]>;
|
|
517
|
+
export type PropertyVariantMediaInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
518
|
+
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
519
|
+
};
|
|
520
|
+
export type $PropertyVariantMediaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
521
|
+
name: "PropertyVariantMedia";
|
|
522
|
+
objects: {
|
|
523
|
+
variant: Prisma.$PropertyVariantPayload<ExtArgs>;
|
|
524
|
+
};
|
|
525
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
526
|
+
id: string;
|
|
527
|
+
variantId: string;
|
|
528
|
+
url: string;
|
|
529
|
+
type: string;
|
|
530
|
+
caption: string | null;
|
|
531
|
+
order: number;
|
|
532
|
+
createdAt: Date;
|
|
533
|
+
updatedAt: Date;
|
|
534
|
+
}, ExtArgs["result"]["propertyVariantMedia"]>;
|
|
535
|
+
composites: {};
|
|
536
|
+
};
|
|
537
|
+
export type PropertyVariantMediaGetPayload<S extends boolean | null | undefined | PropertyVariantMediaDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload, S>;
|
|
538
|
+
export type PropertyVariantMediaCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PropertyVariantMediaFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
539
|
+
select?: PropertyVariantMediaCountAggregateInputType | true;
|
|
540
|
+
};
|
|
541
|
+
export interface PropertyVariantMediaDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
542
|
+
[K: symbol]: {
|
|
543
|
+
types: Prisma.TypeMap<ExtArgs>['model']['PropertyVariantMedia'];
|
|
544
|
+
meta: {
|
|
545
|
+
name: 'PropertyVariantMedia';
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
/**
|
|
549
|
+
* Find zero or one PropertyVariantMedia that matches the filter.
|
|
550
|
+
* @param {PropertyVariantMediaFindUniqueArgs} args - Arguments to find a PropertyVariantMedia
|
|
551
|
+
* @example
|
|
552
|
+
* // Get one PropertyVariantMedia
|
|
553
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.findUnique({
|
|
554
|
+
* where: {
|
|
555
|
+
* // ... provide filter here
|
|
556
|
+
* }
|
|
557
|
+
* })
|
|
558
|
+
*/
|
|
559
|
+
findUnique<T extends PropertyVariantMediaFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyVariantMediaFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
560
|
+
/**
|
|
561
|
+
* Find one PropertyVariantMedia that matches the filter or throw an error with `error.code='P2025'`
|
|
562
|
+
* if no matches were found.
|
|
563
|
+
* @param {PropertyVariantMediaFindUniqueOrThrowArgs} args - Arguments to find a PropertyVariantMedia
|
|
564
|
+
* @example
|
|
565
|
+
* // Get one PropertyVariantMedia
|
|
566
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.findUniqueOrThrow({
|
|
567
|
+
* where: {
|
|
568
|
+
* // ... provide filter here
|
|
569
|
+
* }
|
|
570
|
+
* })
|
|
571
|
+
*/
|
|
572
|
+
findUniqueOrThrow<T extends PropertyVariantMediaFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyVariantMediaFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
573
|
+
/**
|
|
574
|
+
* Find the first PropertyVariantMedia that matches the filter.
|
|
575
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
576
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
577
|
+
* @param {PropertyVariantMediaFindFirstArgs} args - Arguments to find a PropertyVariantMedia
|
|
578
|
+
* @example
|
|
579
|
+
* // Get one PropertyVariantMedia
|
|
580
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.findFirst({
|
|
581
|
+
* where: {
|
|
582
|
+
* // ... provide filter here
|
|
583
|
+
* }
|
|
584
|
+
* })
|
|
585
|
+
*/
|
|
586
|
+
findFirst<T extends PropertyVariantMediaFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyVariantMediaFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
587
|
+
/**
|
|
588
|
+
* Find the first PropertyVariantMedia that matches the filter or
|
|
589
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
590
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
591
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
592
|
+
* @param {PropertyVariantMediaFindFirstOrThrowArgs} args - Arguments to find a PropertyVariantMedia
|
|
593
|
+
* @example
|
|
594
|
+
* // Get one PropertyVariantMedia
|
|
595
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.findFirstOrThrow({
|
|
596
|
+
* where: {
|
|
597
|
+
* // ... provide filter here
|
|
598
|
+
* }
|
|
599
|
+
* })
|
|
600
|
+
*/
|
|
601
|
+
findFirstOrThrow<T extends PropertyVariantMediaFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyVariantMediaFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
602
|
+
/**
|
|
603
|
+
* Find zero or more PropertyVariantMedias that matches the filter.
|
|
604
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
605
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
606
|
+
* @param {PropertyVariantMediaFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
607
|
+
* @example
|
|
608
|
+
* // Get all PropertyVariantMedias
|
|
609
|
+
* const propertyVariantMedias = await prisma.propertyVariantMedia.findMany()
|
|
610
|
+
*
|
|
611
|
+
* // Get first 10 PropertyVariantMedias
|
|
612
|
+
* const propertyVariantMedias = await prisma.propertyVariantMedia.findMany({ take: 10 })
|
|
613
|
+
*
|
|
614
|
+
* // Only select the `id`
|
|
615
|
+
* const propertyVariantMediaWithIdOnly = await prisma.propertyVariantMedia.findMany({ select: { id: true } })
|
|
616
|
+
*
|
|
617
|
+
*/
|
|
618
|
+
findMany<T extends PropertyVariantMediaFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyVariantMediaFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
619
|
+
/**
|
|
620
|
+
* Create a PropertyVariantMedia.
|
|
621
|
+
* @param {PropertyVariantMediaCreateArgs} args - Arguments to create a PropertyVariantMedia.
|
|
622
|
+
* @example
|
|
623
|
+
* // Create one PropertyVariantMedia
|
|
624
|
+
* const PropertyVariantMedia = await prisma.propertyVariantMedia.create({
|
|
625
|
+
* data: {
|
|
626
|
+
* // ... data to create a PropertyVariantMedia
|
|
627
|
+
* }
|
|
628
|
+
* })
|
|
629
|
+
*
|
|
630
|
+
*/
|
|
631
|
+
create<T extends PropertyVariantMediaCreateArgs>(args: Prisma.SelectSubset<T, PropertyVariantMediaCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
632
|
+
/**
|
|
633
|
+
* Create many PropertyVariantMedias.
|
|
634
|
+
* @param {PropertyVariantMediaCreateManyArgs} args - Arguments to create many PropertyVariantMedias.
|
|
635
|
+
* @example
|
|
636
|
+
* // Create many PropertyVariantMedias
|
|
637
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.createMany({
|
|
638
|
+
* data: [
|
|
639
|
+
* // ... provide data here
|
|
640
|
+
* ]
|
|
641
|
+
* })
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
createMany<T extends PropertyVariantMediaCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyVariantMediaCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
645
|
+
/**
|
|
646
|
+
* Delete a PropertyVariantMedia.
|
|
647
|
+
* @param {PropertyVariantMediaDeleteArgs} args - Arguments to delete one PropertyVariantMedia.
|
|
648
|
+
* @example
|
|
649
|
+
* // Delete one PropertyVariantMedia
|
|
650
|
+
* const PropertyVariantMedia = await prisma.propertyVariantMedia.delete({
|
|
651
|
+
* where: {
|
|
652
|
+
* // ... filter to delete one PropertyVariantMedia
|
|
653
|
+
* }
|
|
654
|
+
* })
|
|
655
|
+
*
|
|
656
|
+
*/
|
|
657
|
+
delete<T extends PropertyVariantMediaDeleteArgs>(args: Prisma.SelectSubset<T, PropertyVariantMediaDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
658
|
+
/**
|
|
659
|
+
* Update one PropertyVariantMedia.
|
|
660
|
+
* @param {PropertyVariantMediaUpdateArgs} args - Arguments to update one PropertyVariantMedia.
|
|
661
|
+
* @example
|
|
662
|
+
* // Update one PropertyVariantMedia
|
|
663
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.update({
|
|
664
|
+
* where: {
|
|
665
|
+
* // ... provide filter here
|
|
666
|
+
* },
|
|
667
|
+
* data: {
|
|
668
|
+
* // ... provide data here
|
|
669
|
+
* }
|
|
670
|
+
* })
|
|
671
|
+
*
|
|
672
|
+
*/
|
|
673
|
+
update<T extends PropertyVariantMediaUpdateArgs>(args: Prisma.SelectSubset<T, PropertyVariantMediaUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
674
|
+
/**
|
|
675
|
+
* Delete zero or more PropertyVariantMedias.
|
|
676
|
+
* @param {PropertyVariantMediaDeleteManyArgs} args - Arguments to filter PropertyVariantMedias to delete.
|
|
677
|
+
* @example
|
|
678
|
+
* // Delete a few PropertyVariantMedias
|
|
679
|
+
* const { count } = await prisma.propertyVariantMedia.deleteMany({
|
|
680
|
+
* where: {
|
|
681
|
+
* // ... provide filter here
|
|
682
|
+
* }
|
|
683
|
+
* })
|
|
684
|
+
*
|
|
685
|
+
*/
|
|
686
|
+
deleteMany<T extends PropertyVariantMediaDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyVariantMediaDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
687
|
+
/**
|
|
688
|
+
* Update zero or more PropertyVariantMedias.
|
|
689
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
690
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
691
|
+
* @param {PropertyVariantMediaUpdateManyArgs} args - Arguments to update one or more rows.
|
|
692
|
+
* @example
|
|
693
|
+
* // Update many PropertyVariantMedias
|
|
694
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.updateMany({
|
|
695
|
+
* where: {
|
|
696
|
+
* // ... provide filter here
|
|
697
|
+
* },
|
|
698
|
+
* data: {
|
|
699
|
+
* // ... provide data here
|
|
700
|
+
* }
|
|
701
|
+
* })
|
|
702
|
+
*
|
|
703
|
+
*/
|
|
704
|
+
updateMany<T extends PropertyVariantMediaUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyVariantMediaUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
705
|
+
/**
|
|
706
|
+
* Create or update one PropertyVariantMedia.
|
|
707
|
+
* @param {PropertyVariantMediaUpsertArgs} args - Arguments to update or create a PropertyVariantMedia.
|
|
708
|
+
* @example
|
|
709
|
+
* // Update or create a PropertyVariantMedia
|
|
710
|
+
* const propertyVariantMedia = await prisma.propertyVariantMedia.upsert({
|
|
711
|
+
* create: {
|
|
712
|
+
* // ... data to create a PropertyVariantMedia
|
|
713
|
+
* },
|
|
714
|
+
* update: {
|
|
715
|
+
* // ... in case it already exists, update
|
|
716
|
+
* },
|
|
717
|
+
* where: {
|
|
718
|
+
* // ... the filter for the PropertyVariantMedia we want to update
|
|
719
|
+
* }
|
|
720
|
+
* })
|
|
721
|
+
*/
|
|
722
|
+
upsert<T extends PropertyVariantMediaUpsertArgs>(args: Prisma.SelectSubset<T, PropertyVariantMediaUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantMediaPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
723
|
+
/**
|
|
724
|
+
* Count the number of PropertyVariantMedias.
|
|
725
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
726
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
727
|
+
* @param {PropertyVariantMediaCountArgs} args - Arguments to filter PropertyVariantMedias to count.
|
|
728
|
+
* @example
|
|
729
|
+
* // Count the number of PropertyVariantMedias
|
|
730
|
+
* const count = await prisma.propertyVariantMedia.count({
|
|
731
|
+
* where: {
|
|
732
|
+
* // ... the filter for the PropertyVariantMedias we want to count
|
|
733
|
+
* }
|
|
734
|
+
* })
|
|
735
|
+
**/
|
|
736
|
+
count<T extends PropertyVariantMediaCountArgs>(args?: Prisma.Subset<T, PropertyVariantMediaCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PropertyVariantMediaCountAggregateOutputType> : number>;
|
|
737
|
+
/**
|
|
738
|
+
* Allows you to perform aggregations operations on a PropertyVariantMedia.
|
|
739
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
740
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
741
|
+
* @param {PropertyVariantMediaAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
742
|
+
* @example
|
|
743
|
+
* // Ordered by age ascending
|
|
744
|
+
* // Where email contains prisma.io
|
|
745
|
+
* // Limited to the 10 users
|
|
746
|
+
* const aggregations = await prisma.user.aggregate({
|
|
747
|
+
* _avg: {
|
|
748
|
+
* age: true,
|
|
749
|
+
* },
|
|
750
|
+
* where: {
|
|
751
|
+
* email: {
|
|
752
|
+
* contains: "prisma.io",
|
|
753
|
+
* },
|
|
754
|
+
* },
|
|
755
|
+
* orderBy: {
|
|
756
|
+
* age: "asc",
|
|
757
|
+
* },
|
|
758
|
+
* take: 10,
|
|
759
|
+
* })
|
|
760
|
+
**/
|
|
761
|
+
aggregate<T extends PropertyVariantMediaAggregateArgs>(args: Prisma.Subset<T, PropertyVariantMediaAggregateArgs>): Prisma.PrismaPromise<GetPropertyVariantMediaAggregateType<T>>;
|
|
762
|
+
/**
|
|
763
|
+
* Group by PropertyVariantMedia.
|
|
764
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
765
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
766
|
+
* @param {PropertyVariantMediaGroupByArgs} args - Group by arguments.
|
|
767
|
+
* @example
|
|
768
|
+
* // Group by city, order by createdAt, get count
|
|
769
|
+
* const result = await prisma.user.groupBy({
|
|
770
|
+
* by: ['city', 'createdAt'],
|
|
771
|
+
* orderBy: {
|
|
772
|
+
* createdAt: true
|
|
773
|
+
* },
|
|
774
|
+
* _count: {
|
|
775
|
+
* _all: true
|
|
776
|
+
* },
|
|
777
|
+
* })
|
|
778
|
+
*
|
|
779
|
+
**/
|
|
780
|
+
groupBy<T extends PropertyVariantMediaGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
781
|
+
orderBy: PropertyVariantMediaGroupByArgs['orderBy'];
|
|
782
|
+
} : {
|
|
783
|
+
orderBy?: PropertyVariantMediaGroupByArgs['orderBy'];
|
|
784
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
785
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
786
|
+
Error,
|
|
787
|
+
'Field ',
|
|
788
|
+
P,
|
|
789
|
+
` in "having" needs to be provided in "by"`
|
|
790
|
+
];
|
|
791
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
792
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
793
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
794
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
795
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
796
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
797
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PropertyVariantMediaGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyVariantMediaGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
798
|
+
/**
|
|
799
|
+
* Fields of the PropertyVariantMedia model
|
|
800
|
+
*/
|
|
801
|
+
readonly fields: PropertyVariantMediaFieldRefs;
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* The delegate class that acts as a "Promise-like" for PropertyVariantMedia.
|
|
805
|
+
* Why is this prefixed with `Prisma__`?
|
|
806
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
807
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
808
|
+
*/
|
|
809
|
+
export interface Prisma__PropertyVariantMediaClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
810
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
811
|
+
variant<T extends Prisma.PropertyVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
812
|
+
/**
|
|
813
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
814
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
815
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
816
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
817
|
+
*/
|
|
818
|
+
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>;
|
|
819
|
+
/**
|
|
820
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
821
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
822
|
+
* @returns A Promise for the completion of the callback.
|
|
823
|
+
*/
|
|
824
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
825
|
+
/**
|
|
826
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
827
|
+
* resolved value cannot be modified from the callback.
|
|
828
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
829
|
+
* @returns A Promise for the completion of the callback.
|
|
830
|
+
*/
|
|
831
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Fields of the PropertyVariantMedia model
|
|
835
|
+
*/
|
|
836
|
+
export interface PropertyVariantMediaFieldRefs {
|
|
837
|
+
readonly id: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
838
|
+
readonly variantId: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
839
|
+
readonly url: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
840
|
+
readonly type: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
841
|
+
readonly caption: Prisma.FieldRef<"PropertyVariantMedia", 'String'>;
|
|
842
|
+
readonly order: Prisma.FieldRef<"PropertyVariantMedia", 'Int'>;
|
|
843
|
+
readonly createdAt: Prisma.FieldRef<"PropertyVariantMedia", 'DateTime'>;
|
|
844
|
+
readonly updatedAt: Prisma.FieldRef<"PropertyVariantMedia", 'DateTime'>;
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* PropertyVariantMedia findUnique
|
|
848
|
+
*/
|
|
849
|
+
export type PropertyVariantMediaFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
850
|
+
/**
|
|
851
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
852
|
+
*/
|
|
853
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
854
|
+
/**
|
|
855
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
856
|
+
*/
|
|
857
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
858
|
+
/**
|
|
859
|
+
* Choose, which related nodes to fetch as well
|
|
860
|
+
*/
|
|
861
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
862
|
+
/**
|
|
863
|
+
* Filter, which PropertyVariantMedia to fetch.
|
|
864
|
+
*/
|
|
865
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
866
|
+
};
|
|
867
|
+
/**
|
|
868
|
+
* PropertyVariantMedia findUniqueOrThrow
|
|
869
|
+
*/
|
|
870
|
+
export type PropertyVariantMediaFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
871
|
+
/**
|
|
872
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
873
|
+
*/
|
|
874
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
875
|
+
/**
|
|
876
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
877
|
+
*/
|
|
878
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
879
|
+
/**
|
|
880
|
+
* Choose, which related nodes to fetch as well
|
|
881
|
+
*/
|
|
882
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
883
|
+
/**
|
|
884
|
+
* Filter, which PropertyVariantMedia to fetch.
|
|
885
|
+
*/
|
|
886
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* PropertyVariantMedia findFirst
|
|
890
|
+
*/
|
|
891
|
+
export type PropertyVariantMediaFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
892
|
+
/**
|
|
893
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
894
|
+
*/
|
|
895
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
896
|
+
/**
|
|
897
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
898
|
+
*/
|
|
899
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* Choose, which related nodes to fetch as well
|
|
902
|
+
*/
|
|
903
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
904
|
+
/**
|
|
905
|
+
* Filter, which PropertyVariantMedia to fetch.
|
|
906
|
+
*/
|
|
907
|
+
where?: Prisma.PropertyVariantMediaWhereInput;
|
|
908
|
+
/**
|
|
909
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
910
|
+
*
|
|
911
|
+
* Determine the order of PropertyVariantMedias to fetch.
|
|
912
|
+
*/
|
|
913
|
+
orderBy?: Prisma.PropertyVariantMediaOrderByWithRelationInput | Prisma.PropertyVariantMediaOrderByWithRelationInput[];
|
|
914
|
+
/**
|
|
915
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
916
|
+
*
|
|
917
|
+
* Sets the position for searching for PropertyVariantMedias.
|
|
918
|
+
*/
|
|
919
|
+
cursor?: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
920
|
+
/**
|
|
921
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
922
|
+
*
|
|
923
|
+
* Take `±n` PropertyVariantMedias from the position of the cursor.
|
|
924
|
+
*/
|
|
925
|
+
take?: number;
|
|
926
|
+
/**
|
|
927
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
928
|
+
*
|
|
929
|
+
* Skip the first `n` PropertyVariantMedias.
|
|
930
|
+
*/
|
|
931
|
+
skip?: number;
|
|
932
|
+
/**
|
|
933
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
934
|
+
*
|
|
935
|
+
* Filter by unique combinations of PropertyVariantMedias.
|
|
936
|
+
*/
|
|
937
|
+
distinct?: Prisma.PropertyVariantMediaScalarFieldEnum | Prisma.PropertyVariantMediaScalarFieldEnum[];
|
|
938
|
+
};
|
|
939
|
+
/**
|
|
940
|
+
* PropertyVariantMedia findFirstOrThrow
|
|
941
|
+
*/
|
|
942
|
+
export type PropertyVariantMediaFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
943
|
+
/**
|
|
944
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
945
|
+
*/
|
|
946
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
947
|
+
/**
|
|
948
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
949
|
+
*/
|
|
950
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
951
|
+
/**
|
|
952
|
+
* Choose, which related nodes to fetch as well
|
|
953
|
+
*/
|
|
954
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
955
|
+
/**
|
|
956
|
+
* Filter, which PropertyVariantMedia to fetch.
|
|
957
|
+
*/
|
|
958
|
+
where?: Prisma.PropertyVariantMediaWhereInput;
|
|
959
|
+
/**
|
|
960
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
961
|
+
*
|
|
962
|
+
* Determine the order of PropertyVariantMedias to fetch.
|
|
963
|
+
*/
|
|
964
|
+
orderBy?: Prisma.PropertyVariantMediaOrderByWithRelationInput | Prisma.PropertyVariantMediaOrderByWithRelationInput[];
|
|
965
|
+
/**
|
|
966
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
967
|
+
*
|
|
968
|
+
* Sets the position for searching for PropertyVariantMedias.
|
|
969
|
+
*/
|
|
970
|
+
cursor?: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
971
|
+
/**
|
|
972
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
973
|
+
*
|
|
974
|
+
* Take `±n` PropertyVariantMedias from the position of the cursor.
|
|
975
|
+
*/
|
|
976
|
+
take?: number;
|
|
977
|
+
/**
|
|
978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
979
|
+
*
|
|
980
|
+
* Skip the first `n` PropertyVariantMedias.
|
|
981
|
+
*/
|
|
982
|
+
skip?: number;
|
|
983
|
+
/**
|
|
984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
985
|
+
*
|
|
986
|
+
* Filter by unique combinations of PropertyVariantMedias.
|
|
987
|
+
*/
|
|
988
|
+
distinct?: Prisma.PropertyVariantMediaScalarFieldEnum | Prisma.PropertyVariantMediaScalarFieldEnum[];
|
|
989
|
+
};
|
|
990
|
+
/**
|
|
991
|
+
* PropertyVariantMedia findMany
|
|
992
|
+
*/
|
|
993
|
+
export type PropertyVariantMediaFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
994
|
+
/**
|
|
995
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
996
|
+
*/
|
|
997
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
998
|
+
/**
|
|
999
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
1000
|
+
*/
|
|
1001
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* Choose, which related nodes to fetch as well
|
|
1004
|
+
*/
|
|
1005
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Filter, which PropertyVariantMedias to fetch.
|
|
1008
|
+
*/
|
|
1009
|
+
where?: Prisma.PropertyVariantMediaWhereInput;
|
|
1010
|
+
/**
|
|
1011
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1012
|
+
*
|
|
1013
|
+
* Determine the order of PropertyVariantMedias to fetch.
|
|
1014
|
+
*/
|
|
1015
|
+
orderBy?: Prisma.PropertyVariantMediaOrderByWithRelationInput | Prisma.PropertyVariantMediaOrderByWithRelationInput[];
|
|
1016
|
+
/**
|
|
1017
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1018
|
+
*
|
|
1019
|
+
* Sets the position for listing PropertyVariantMedias.
|
|
1020
|
+
*/
|
|
1021
|
+
cursor?: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
1022
|
+
/**
|
|
1023
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1024
|
+
*
|
|
1025
|
+
* Take `±n` PropertyVariantMedias from the position of the cursor.
|
|
1026
|
+
*/
|
|
1027
|
+
take?: number;
|
|
1028
|
+
/**
|
|
1029
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1030
|
+
*
|
|
1031
|
+
* Skip the first `n` PropertyVariantMedias.
|
|
1032
|
+
*/
|
|
1033
|
+
skip?: number;
|
|
1034
|
+
distinct?: Prisma.PropertyVariantMediaScalarFieldEnum | Prisma.PropertyVariantMediaScalarFieldEnum[];
|
|
1035
|
+
};
|
|
1036
|
+
/**
|
|
1037
|
+
* PropertyVariantMedia create
|
|
1038
|
+
*/
|
|
1039
|
+
export type PropertyVariantMediaCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1040
|
+
/**
|
|
1041
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
1042
|
+
*/
|
|
1043
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
1044
|
+
/**
|
|
1045
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
1046
|
+
*/
|
|
1047
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Choose, which related nodes to fetch as well
|
|
1050
|
+
*/
|
|
1051
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* The data needed to create a PropertyVariantMedia.
|
|
1054
|
+
*/
|
|
1055
|
+
data: Prisma.XOR<Prisma.PropertyVariantMediaCreateInput, Prisma.PropertyVariantMediaUncheckedCreateInput>;
|
|
1056
|
+
};
|
|
1057
|
+
/**
|
|
1058
|
+
* PropertyVariantMedia createMany
|
|
1059
|
+
*/
|
|
1060
|
+
export type PropertyVariantMediaCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1061
|
+
/**
|
|
1062
|
+
* The data used to create many PropertyVariantMedias.
|
|
1063
|
+
*/
|
|
1064
|
+
data: Prisma.PropertyVariantMediaCreateManyInput | Prisma.PropertyVariantMediaCreateManyInput[];
|
|
1065
|
+
skipDuplicates?: boolean;
|
|
1066
|
+
};
|
|
1067
|
+
/**
|
|
1068
|
+
* PropertyVariantMedia update
|
|
1069
|
+
*/
|
|
1070
|
+
export type PropertyVariantMediaUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
+
/**
|
|
1072
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
1073
|
+
*/
|
|
1074
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
1075
|
+
/**
|
|
1076
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
1077
|
+
*/
|
|
1078
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
1079
|
+
/**
|
|
1080
|
+
* Choose, which related nodes to fetch as well
|
|
1081
|
+
*/
|
|
1082
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
1083
|
+
/**
|
|
1084
|
+
* The data needed to update a PropertyVariantMedia.
|
|
1085
|
+
*/
|
|
1086
|
+
data: Prisma.XOR<Prisma.PropertyVariantMediaUpdateInput, Prisma.PropertyVariantMediaUncheckedUpdateInput>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Choose, which PropertyVariantMedia to update.
|
|
1089
|
+
*/
|
|
1090
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
1091
|
+
};
|
|
1092
|
+
/**
|
|
1093
|
+
* PropertyVariantMedia updateMany
|
|
1094
|
+
*/
|
|
1095
|
+
export type PropertyVariantMediaUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1096
|
+
/**
|
|
1097
|
+
* The data used to update PropertyVariantMedias.
|
|
1098
|
+
*/
|
|
1099
|
+
data: Prisma.XOR<Prisma.PropertyVariantMediaUpdateManyMutationInput, Prisma.PropertyVariantMediaUncheckedUpdateManyInput>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Filter which PropertyVariantMedias to update
|
|
1102
|
+
*/
|
|
1103
|
+
where?: Prisma.PropertyVariantMediaWhereInput;
|
|
1104
|
+
/**
|
|
1105
|
+
* Limit how many PropertyVariantMedias to update.
|
|
1106
|
+
*/
|
|
1107
|
+
limit?: number;
|
|
1108
|
+
};
|
|
1109
|
+
/**
|
|
1110
|
+
* PropertyVariantMedia upsert
|
|
1111
|
+
*/
|
|
1112
|
+
export type PropertyVariantMediaUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1113
|
+
/**
|
|
1114
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
1115
|
+
*/
|
|
1116
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
1117
|
+
/**
|
|
1118
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
1119
|
+
*/
|
|
1120
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
1121
|
+
/**
|
|
1122
|
+
* Choose, which related nodes to fetch as well
|
|
1123
|
+
*/
|
|
1124
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* The filter to search for the PropertyVariantMedia to update in case it exists.
|
|
1127
|
+
*/
|
|
1128
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
1129
|
+
/**
|
|
1130
|
+
* In case the PropertyVariantMedia found by the `where` argument doesn't exist, create a new PropertyVariantMedia with this data.
|
|
1131
|
+
*/
|
|
1132
|
+
create: Prisma.XOR<Prisma.PropertyVariantMediaCreateInput, Prisma.PropertyVariantMediaUncheckedCreateInput>;
|
|
1133
|
+
/**
|
|
1134
|
+
* In case the PropertyVariantMedia was found with the provided `where` argument, update it with this data.
|
|
1135
|
+
*/
|
|
1136
|
+
update: Prisma.XOR<Prisma.PropertyVariantMediaUpdateInput, Prisma.PropertyVariantMediaUncheckedUpdateInput>;
|
|
1137
|
+
};
|
|
1138
|
+
/**
|
|
1139
|
+
* PropertyVariantMedia delete
|
|
1140
|
+
*/
|
|
1141
|
+
export type PropertyVariantMediaDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1142
|
+
/**
|
|
1143
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
1144
|
+
*/
|
|
1145
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
1146
|
+
/**
|
|
1147
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
1148
|
+
*/
|
|
1149
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
1150
|
+
/**
|
|
1151
|
+
* Choose, which related nodes to fetch as well
|
|
1152
|
+
*/
|
|
1153
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
1154
|
+
/**
|
|
1155
|
+
* Filter which PropertyVariantMedia to delete.
|
|
1156
|
+
*/
|
|
1157
|
+
where: Prisma.PropertyVariantMediaWhereUniqueInput;
|
|
1158
|
+
};
|
|
1159
|
+
/**
|
|
1160
|
+
* PropertyVariantMedia deleteMany
|
|
1161
|
+
*/
|
|
1162
|
+
export type PropertyVariantMediaDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1163
|
+
/**
|
|
1164
|
+
* Filter which PropertyVariantMedias to delete
|
|
1165
|
+
*/
|
|
1166
|
+
where?: Prisma.PropertyVariantMediaWhereInput;
|
|
1167
|
+
/**
|
|
1168
|
+
* Limit how many PropertyVariantMedias to delete.
|
|
1169
|
+
*/
|
|
1170
|
+
limit?: number;
|
|
1171
|
+
};
|
|
1172
|
+
/**
|
|
1173
|
+
* PropertyVariantMedia without action
|
|
1174
|
+
*/
|
|
1175
|
+
export type PropertyVariantMediaDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1176
|
+
/**
|
|
1177
|
+
* Select specific fields to fetch from the PropertyVariantMedia
|
|
1178
|
+
*/
|
|
1179
|
+
select?: Prisma.PropertyVariantMediaSelect<ExtArgs> | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* Omit specific fields from the PropertyVariantMedia
|
|
1182
|
+
*/
|
|
1183
|
+
omit?: Prisma.PropertyVariantMediaOmit<ExtArgs> | null;
|
|
1184
|
+
/**
|
|
1185
|
+
* Choose, which related nodes to fetch as well
|
|
1186
|
+
*/
|
|
1187
|
+
include?: Prisma.PropertyVariantMediaInclude<ExtArgs> | null;
|
|
1188
|
+
};
|
|
1189
|
+
export {};
|