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