@helloao/cli 0.2.0 → 0.3.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 +2772 -6200
- package/dist/cjs/index.cjs +2694 -6253
- package/dist/esm/cli.js +5699 -0
- package/dist/esm/cli.js.map +7 -0
- package/dist/esm/index.js +839 -6020
- package/dist/esm/index.js.map +4 -4
- package/dist/types/actions.d.ts +36 -1
- package/dist/types/db.d.ts +12 -8
- package/dist/types/ebible.d.ts +1 -1
- package/dist/types/files.d.ts +6 -1
- package/dist/types/prisma-gen/browser.d.ts +110 -0
- package/dist/types/prisma-gen/client.d.ts +129 -0
- package/dist/types/prisma-gen/commonInputTypes.d.ts +378 -0
- package/dist/types/prisma-gen/enums.d.ts +2 -0
- package/dist/types/prisma-gen/internal/class.d.ts +353 -0
- package/dist/types/prisma-gen/internal/prismaNamespace.d.ts +2273 -0
- package/dist/types/prisma-gen/internal/prismaNamespaceBrowser.d.ts +294 -0
- package/dist/types/prisma-gen/models/Book.d.ts +2197 -0
- package/dist/types/prisma-gen/models/Chapter.d.ts +1934 -0
- package/dist/types/prisma-gen/models/ChapterAudioTiming.d.ts +1414 -0
- package/dist/types/prisma-gen/models/ChapterAudioUrl.d.ts +1414 -0
- package/dist/types/prisma-gen/models/ChapterFootnote.d.ts +1642 -0
- package/dist/types/prisma-gen/models/ChapterVerse.d.ts +1653 -0
- package/dist/types/prisma-gen/models/ChapterWords.d.ts +1366 -0
- package/dist/types/prisma-gen/models/Commentary.d.ts +1711 -0
- package/dist/types/prisma-gen/models/CommentaryBook.d.ts +1622 -0
- package/dist/types/prisma-gen/models/CommentaryChapter.d.ts +1487 -0
- package/dist/types/prisma-gen/models/CommentaryChapterVerse.d.ts +1514 -0
- package/dist/types/prisma-gen/models/CommentaryProfile.d.ts +1451 -0
- package/dist/types/prisma-gen/models/Dataset.d.ts +1667 -0
- package/dist/types/prisma-gen/models/DatasetBook.d.ts +1565 -0
- package/dist/types/prisma-gen/models/DatasetChapter.d.ts +1553 -0
- package/dist/types/prisma-gen/models/DatasetChapterVerse.d.ts +1600 -0
- package/dist/types/prisma-gen/models/DatasetReference.d.ts +1789 -0
- package/dist/types/prisma-gen/models/EBibleSource.d.ts +1686 -0
- package/dist/types/prisma-gen/models/InputFile.d.ts +1039 -0
- package/dist/types/prisma-gen/models/InputFileWarning.d.ts +946 -0
- package/dist/types/prisma-gen/models/Translation.d.ts +2238 -0
- package/dist/types/prisma-gen/models.d.ts +23 -0
- package/dist/types/s3.d.ts +2 -0
- package/dist/types/uploads.d.ts +1 -1
- package/meta/ARBNAV.json +10 -10
- package/meta/BSB.json +10 -10
- package/meta/HBOMAS.json +10 -10
- package/meta/HINIRV.json +10 -10
- package/meta/eng_dra.json +10 -10
- package/migrations/20240420231455_initial/migration.sql +66 -66
- package/migrations/20240711173108_add_chapter_audio/migration.sql +13 -13
- package/migrations/20240724212651_add_hashing/migration.sql +25 -25
- package/migrations/20250625201152_add_extra_ebible_metadata/migration.sql +3 -3
- package/migrations/20250630200532_add_apocryhpa_flag/migration.sql +2 -2
- package/migrations/20250701195337_add_file_warnings/migration.sql +8 -8
- package/migrations/20251028135135_add_datasets/migration.sql +72 -72
- package/migrations/20251028144932_fix_dataset_types/migration.sql +50 -50
- package/migrations/20260217200934_add_license_notice/migration.sql +5 -5
- package/migrations/20260703000000_add_chapter_audio_timing/migration.sql +13 -0
- package/migrations/20260809000000_add_chapter_words/migration.sql +12 -0
- package/package.json +21 -18
- package/schema.prisma +41 -2
- package/prisma-gen/default.d.ts +0 -1
- package/prisma-gen/default.js +0 -1
- package/prisma-gen/edge.d.ts +0 -1
- package/prisma-gen/edge.js +0 -403
- package/prisma-gen/index-browser.js +0 -397
- package/prisma-gen/index.d.ts +0 -34011
- package/prisma-gen/index.js +0 -426
- package/prisma-gen/runtime/edge-esm.js +0 -31
- package/prisma-gen/runtime/edge.js +0 -31
- package/prisma-gen/runtime/index-browser.d.ts +0 -365
- package/prisma-gen/runtime/index-browser.js +0 -13
- package/prisma-gen/runtime/library.d.ts +0 -3403
- package/prisma-gen/runtime/library.js +0 -143
- package/prisma-gen/runtime/react-native.js +0 -80
- package/prisma-gen/runtime/wasm.js +0 -32
- package/prisma-gen/wasm.d.ts +0 -1
- package/prisma-gen/wasm.js +0 -397
|
@@ -0,0 +1,946 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model InputFileWarning
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type InputFileWarningModel = runtime.Types.Result.DefaultSelection<Prisma.$InputFileWarningPayload>;
|
|
8
|
+
export type AggregateInputFileWarning = {
|
|
9
|
+
_count: InputFileWarningCountAggregateOutputType | null;
|
|
10
|
+
_min: InputFileWarningMinAggregateOutputType | null;
|
|
11
|
+
_max: InputFileWarningMaxAggregateOutputType | null;
|
|
12
|
+
};
|
|
13
|
+
export type InputFileWarningMinAggregateOutputType = {
|
|
14
|
+
name: string | null;
|
|
15
|
+
type: string | null;
|
|
16
|
+
message: string | null;
|
|
17
|
+
};
|
|
18
|
+
export type InputFileWarningMaxAggregateOutputType = {
|
|
19
|
+
name: string | null;
|
|
20
|
+
type: string | null;
|
|
21
|
+
message: string | null;
|
|
22
|
+
};
|
|
23
|
+
export type InputFileWarningCountAggregateOutputType = {
|
|
24
|
+
name: number;
|
|
25
|
+
type: number;
|
|
26
|
+
message: number;
|
|
27
|
+
_all: number;
|
|
28
|
+
};
|
|
29
|
+
export type InputFileWarningMinAggregateInputType = {
|
|
30
|
+
name?: true;
|
|
31
|
+
type?: true;
|
|
32
|
+
message?: true;
|
|
33
|
+
};
|
|
34
|
+
export type InputFileWarningMaxAggregateInputType = {
|
|
35
|
+
name?: true;
|
|
36
|
+
type?: true;
|
|
37
|
+
message?: true;
|
|
38
|
+
};
|
|
39
|
+
export type InputFileWarningCountAggregateInputType = {
|
|
40
|
+
name?: true;
|
|
41
|
+
type?: true;
|
|
42
|
+
message?: true;
|
|
43
|
+
_all?: true;
|
|
44
|
+
};
|
|
45
|
+
export type InputFileWarningAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
46
|
+
/**
|
|
47
|
+
* Filter which InputFileWarning to aggregate.
|
|
48
|
+
*/
|
|
49
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
50
|
+
/**
|
|
51
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
52
|
+
*
|
|
53
|
+
* Determine the order of InputFileWarnings to fetch.
|
|
54
|
+
*/
|
|
55
|
+
orderBy?: Prisma.InputFileWarningOrderByWithRelationInput | Prisma.InputFileWarningOrderByWithRelationInput[];
|
|
56
|
+
/**
|
|
57
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
58
|
+
*
|
|
59
|
+
* Sets the start position
|
|
60
|
+
*/
|
|
61
|
+
cursor?: Prisma.InputFileWarningWhereUniqueInput;
|
|
62
|
+
/**
|
|
63
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
64
|
+
*
|
|
65
|
+
* Take `±n` InputFileWarnings from the position of the cursor.
|
|
66
|
+
*/
|
|
67
|
+
take?: number;
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
70
|
+
*
|
|
71
|
+
* Skip the first `n` InputFileWarnings.
|
|
72
|
+
*/
|
|
73
|
+
skip?: number;
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
76
|
+
*
|
|
77
|
+
* Count returned InputFileWarnings
|
|
78
|
+
**/
|
|
79
|
+
_count?: true | InputFileWarningCountAggregateInputType;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
82
|
+
*
|
|
83
|
+
* Select which fields to find the minimum value
|
|
84
|
+
**/
|
|
85
|
+
_min?: InputFileWarningMinAggregateInputType;
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
88
|
+
*
|
|
89
|
+
* Select which fields to find the maximum value
|
|
90
|
+
**/
|
|
91
|
+
_max?: InputFileWarningMaxAggregateInputType;
|
|
92
|
+
};
|
|
93
|
+
export type GetInputFileWarningAggregateType<T extends InputFileWarningAggregateArgs> = {
|
|
94
|
+
[P in keyof T & keyof AggregateInputFileWarning]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateInputFileWarning[P]> : Prisma.GetScalarType<T[P], AggregateInputFileWarning[P]>;
|
|
95
|
+
};
|
|
96
|
+
export type InputFileWarningGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
97
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
98
|
+
orderBy?: Prisma.InputFileWarningOrderByWithAggregationInput | Prisma.InputFileWarningOrderByWithAggregationInput[];
|
|
99
|
+
by: Prisma.InputFileWarningScalarFieldEnum[] | Prisma.InputFileWarningScalarFieldEnum;
|
|
100
|
+
having?: Prisma.InputFileWarningScalarWhereWithAggregatesInput;
|
|
101
|
+
take?: number;
|
|
102
|
+
skip?: number;
|
|
103
|
+
_count?: InputFileWarningCountAggregateInputType | true;
|
|
104
|
+
_min?: InputFileWarningMinAggregateInputType;
|
|
105
|
+
_max?: InputFileWarningMaxAggregateInputType;
|
|
106
|
+
};
|
|
107
|
+
export type InputFileWarningGroupByOutputType = {
|
|
108
|
+
name: string;
|
|
109
|
+
type: string;
|
|
110
|
+
message: string;
|
|
111
|
+
_count: InputFileWarningCountAggregateOutputType | null;
|
|
112
|
+
_min: InputFileWarningMinAggregateOutputType | null;
|
|
113
|
+
_max: InputFileWarningMaxAggregateOutputType | null;
|
|
114
|
+
};
|
|
115
|
+
export type GetInputFileWarningGroupByPayload<T extends InputFileWarningGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<InputFileWarningGroupByOutputType, T['by']> & {
|
|
116
|
+
[P in ((keyof T) & (keyof InputFileWarningGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], InputFileWarningGroupByOutputType[P]> : Prisma.GetScalarType<T[P], InputFileWarningGroupByOutputType[P]>;
|
|
117
|
+
}>>;
|
|
118
|
+
export type InputFileWarningWhereInput = {
|
|
119
|
+
AND?: Prisma.InputFileWarningWhereInput | Prisma.InputFileWarningWhereInput[];
|
|
120
|
+
OR?: Prisma.InputFileWarningWhereInput[];
|
|
121
|
+
NOT?: Prisma.InputFileWarningWhereInput | Prisma.InputFileWarningWhereInput[];
|
|
122
|
+
name?: Prisma.StringFilter<"InputFileWarning"> | string;
|
|
123
|
+
type?: Prisma.StringFilter<"InputFileWarning"> | string;
|
|
124
|
+
message?: Prisma.StringFilter<"InputFileWarning"> | string;
|
|
125
|
+
};
|
|
126
|
+
export type InputFileWarningOrderByWithRelationInput = {
|
|
127
|
+
name?: Prisma.SortOrder;
|
|
128
|
+
type?: Prisma.SortOrder;
|
|
129
|
+
message?: Prisma.SortOrder;
|
|
130
|
+
};
|
|
131
|
+
export type InputFileWarningWhereUniqueInput = Prisma.AtLeast<{
|
|
132
|
+
name_type_message?: Prisma.InputFileWarningNameTypeMessageCompoundUniqueInput;
|
|
133
|
+
AND?: Prisma.InputFileWarningWhereInput | Prisma.InputFileWarningWhereInput[];
|
|
134
|
+
OR?: Prisma.InputFileWarningWhereInput[];
|
|
135
|
+
NOT?: Prisma.InputFileWarningWhereInput | Prisma.InputFileWarningWhereInput[];
|
|
136
|
+
name?: Prisma.StringFilter<"InputFileWarning"> | string;
|
|
137
|
+
type?: Prisma.StringFilter<"InputFileWarning"> | string;
|
|
138
|
+
message?: Prisma.StringFilter<"InputFileWarning"> | string;
|
|
139
|
+
}, "name_type_message">;
|
|
140
|
+
export type InputFileWarningOrderByWithAggregationInput = {
|
|
141
|
+
name?: Prisma.SortOrder;
|
|
142
|
+
type?: Prisma.SortOrder;
|
|
143
|
+
message?: Prisma.SortOrder;
|
|
144
|
+
_count?: Prisma.InputFileWarningCountOrderByAggregateInput;
|
|
145
|
+
_max?: Prisma.InputFileWarningMaxOrderByAggregateInput;
|
|
146
|
+
_min?: Prisma.InputFileWarningMinOrderByAggregateInput;
|
|
147
|
+
};
|
|
148
|
+
export type InputFileWarningScalarWhereWithAggregatesInput = {
|
|
149
|
+
AND?: Prisma.InputFileWarningScalarWhereWithAggregatesInput | Prisma.InputFileWarningScalarWhereWithAggregatesInput[];
|
|
150
|
+
OR?: Prisma.InputFileWarningScalarWhereWithAggregatesInput[];
|
|
151
|
+
NOT?: Prisma.InputFileWarningScalarWhereWithAggregatesInput | Prisma.InputFileWarningScalarWhereWithAggregatesInput[];
|
|
152
|
+
name?: Prisma.StringWithAggregatesFilter<"InputFileWarning"> | string;
|
|
153
|
+
type?: Prisma.StringWithAggregatesFilter<"InputFileWarning"> | string;
|
|
154
|
+
message?: Prisma.StringWithAggregatesFilter<"InputFileWarning"> | string;
|
|
155
|
+
};
|
|
156
|
+
export type InputFileWarningCreateInput = {
|
|
157
|
+
name: string;
|
|
158
|
+
type: string;
|
|
159
|
+
message: string;
|
|
160
|
+
};
|
|
161
|
+
export type InputFileWarningUncheckedCreateInput = {
|
|
162
|
+
name: string;
|
|
163
|
+
type: string;
|
|
164
|
+
message: string;
|
|
165
|
+
};
|
|
166
|
+
export type InputFileWarningUpdateInput = {
|
|
167
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
168
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
169
|
+
message?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
170
|
+
};
|
|
171
|
+
export type InputFileWarningUncheckedUpdateInput = {
|
|
172
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
173
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
174
|
+
message?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
175
|
+
};
|
|
176
|
+
export type InputFileWarningCreateManyInput = {
|
|
177
|
+
name: string;
|
|
178
|
+
type: string;
|
|
179
|
+
message: string;
|
|
180
|
+
};
|
|
181
|
+
export type InputFileWarningUpdateManyMutationInput = {
|
|
182
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
183
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
184
|
+
message?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
185
|
+
};
|
|
186
|
+
export type InputFileWarningUncheckedUpdateManyInput = {
|
|
187
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
188
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
189
|
+
message?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
190
|
+
};
|
|
191
|
+
export type InputFileWarningNameTypeMessageCompoundUniqueInput = {
|
|
192
|
+
name: string;
|
|
193
|
+
type: string;
|
|
194
|
+
message: string;
|
|
195
|
+
};
|
|
196
|
+
export type InputFileWarningCountOrderByAggregateInput = {
|
|
197
|
+
name?: Prisma.SortOrder;
|
|
198
|
+
type?: Prisma.SortOrder;
|
|
199
|
+
message?: Prisma.SortOrder;
|
|
200
|
+
};
|
|
201
|
+
export type InputFileWarningMaxOrderByAggregateInput = {
|
|
202
|
+
name?: Prisma.SortOrder;
|
|
203
|
+
type?: Prisma.SortOrder;
|
|
204
|
+
message?: Prisma.SortOrder;
|
|
205
|
+
};
|
|
206
|
+
export type InputFileWarningMinOrderByAggregateInput = {
|
|
207
|
+
name?: Prisma.SortOrder;
|
|
208
|
+
type?: Prisma.SortOrder;
|
|
209
|
+
message?: Prisma.SortOrder;
|
|
210
|
+
};
|
|
211
|
+
export type InputFileWarningSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
212
|
+
name?: boolean;
|
|
213
|
+
type?: boolean;
|
|
214
|
+
message?: boolean;
|
|
215
|
+
}, ExtArgs["result"]["inputFileWarning"]>;
|
|
216
|
+
export type InputFileWarningSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
217
|
+
name?: boolean;
|
|
218
|
+
type?: boolean;
|
|
219
|
+
message?: boolean;
|
|
220
|
+
}, ExtArgs["result"]["inputFileWarning"]>;
|
|
221
|
+
export type InputFileWarningSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
222
|
+
name?: boolean;
|
|
223
|
+
type?: boolean;
|
|
224
|
+
message?: boolean;
|
|
225
|
+
}, ExtArgs["result"]["inputFileWarning"]>;
|
|
226
|
+
export type InputFileWarningSelectScalar = {
|
|
227
|
+
name?: boolean;
|
|
228
|
+
type?: boolean;
|
|
229
|
+
message?: boolean;
|
|
230
|
+
};
|
|
231
|
+
export type InputFileWarningOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"name" | "type" | "message", ExtArgs["result"]["inputFileWarning"]>;
|
|
232
|
+
export type $InputFileWarningPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
233
|
+
name: "InputFileWarning";
|
|
234
|
+
objects: {};
|
|
235
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
236
|
+
name: string;
|
|
237
|
+
type: string;
|
|
238
|
+
message: string;
|
|
239
|
+
}, ExtArgs["result"]["inputFileWarning"]>;
|
|
240
|
+
composites: {};
|
|
241
|
+
};
|
|
242
|
+
export type InputFileWarningGetPayload<S extends boolean | null | undefined | InputFileWarningDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload, S>;
|
|
243
|
+
export type InputFileWarningCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<InputFileWarningFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
244
|
+
select?: InputFileWarningCountAggregateInputType | true;
|
|
245
|
+
};
|
|
246
|
+
export interface InputFileWarningDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
247
|
+
[K: symbol]: {
|
|
248
|
+
types: Prisma.TypeMap<ExtArgs>['model']['InputFileWarning'];
|
|
249
|
+
meta: {
|
|
250
|
+
name: 'InputFileWarning';
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* Find zero or one InputFileWarning that matches the filter.
|
|
255
|
+
* @param {InputFileWarningFindUniqueArgs} args - Arguments to find a InputFileWarning
|
|
256
|
+
* @example
|
|
257
|
+
* // Get one InputFileWarning
|
|
258
|
+
* const inputFileWarning = await prisma.inputFileWarning.findUnique({
|
|
259
|
+
* where: {
|
|
260
|
+
* // ... provide filter here
|
|
261
|
+
* }
|
|
262
|
+
* })
|
|
263
|
+
*/
|
|
264
|
+
findUnique<T extends InputFileWarningFindUniqueArgs>(args: Prisma.SelectSubset<T, InputFileWarningFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
265
|
+
/**
|
|
266
|
+
* Find one InputFileWarning that matches the filter or throw an error with `error.code='P2025'`
|
|
267
|
+
* if no matches were found.
|
|
268
|
+
* @param {InputFileWarningFindUniqueOrThrowArgs} args - Arguments to find a InputFileWarning
|
|
269
|
+
* @example
|
|
270
|
+
* // Get one InputFileWarning
|
|
271
|
+
* const inputFileWarning = await prisma.inputFileWarning.findUniqueOrThrow({
|
|
272
|
+
* where: {
|
|
273
|
+
* // ... provide filter here
|
|
274
|
+
* }
|
|
275
|
+
* })
|
|
276
|
+
*/
|
|
277
|
+
findUniqueOrThrow<T extends InputFileWarningFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InputFileWarningFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
278
|
+
/**
|
|
279
|
+
* Find the first InputFileWarning that matches the filter.
|
|
280
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
281
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
282
|
+
* @param {InputFileWarningFindFirstArgs} args - Arguments to find a InputFileWarning
|
|
283
|
+
* @example
|
|
284
|
+
* // Get one InputFileWarning
|
|
285
|
+
* const inputFileWarning = await prisma.inputFileWarning.findFirst({
|
|
286
|
+
* where: {
|
|
287
|
+
* // ... provide filter here
|
|
288
|
+
* }
|
|
289
|
+
* })
|
|
290
|
+
*/
|
|
291
|
+
findFirst<T extends InputFileWarningFindFirstArgs>(args?: Prisma.SelectSubset<T, InputFileWarningFindFirstArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
292
|
+
/**
|
|
293
|
+
* Find the first InputFileWarning that matches the filter or
|
|
294
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
295
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
296
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
297
|
+
* @param {InputFileWarningFindFirstOrThrowArgs} args - Arguments to find a InputFileWarning
|
|
298
|
+
* @example
|
|
299
|
+
* // Get one InputFileWarning
|
|
300
|
+
* const inputFileWarning = await prisma.inputFileWarning.findFirstOrThrow({
|
|
301
|
+
* where: {
|
|
302
|
+
* // ... provide filter here
|
|
303
|
+
* }
|
|
304
|
+
* })
|
|
305
|
+
*/
|
|
306
|
+
findFirstOrThrow<T extends InputFileWarningFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InputFileWarningFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
307
|
+
/**
|
|
308
|
+
* Find zero or more InputFileWarnings that matches the filter.
|
|
309
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
310
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
311
|
+
* @param {InputFileWarningFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
312
|
+
* @example
|
|
313
|
+
* // Get all InputFileWarnings
|
|
314
|
+
* const inputFileWarnings = await prisma.inputFileWarning.findMany()
|
|
315
|
+
*
|
|
316
|
+
* // Get first 10 InputFileWarnings
|
|
317
|
+
* const inputFileWarnings = await prisma.inputFileWarning.findMany({ take: 10 })
|
|
318
|
+
*
|
|
319
|
+
* // Only select the `name`
|
|
320
|
+
* const inputFileWarningWithNameOnly = await prisma.inputFileWarning.findMany({ select: { name: true } })
|
|
321
|
+
*
|
|
322
|
+
*/
|
|
323
|
+
findMany<T extends InputFileWarningFindManyArgs>(args?: Prisma.SelectSubset<T, InputFileWarningFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
324
|
+
/**
|
|
325
|
+
* Create a InputFileWarning.
|
|
326
|
+
* @param {InputFileWarningCreateArgs} args - Arguments to create a InputFileWarning.
|
|
327
|
+
* @example
|
|
328
|
+
* // Create one InputFileWarning
|
|
329
|
+
* const InputFileWarning = await prisma.inputFileWarning.create({
|
|
330
|
+
* data: {
|
|
331
|
+
* // ... data to create a InputFileWarning
|
|
332
|
+
* }
|
|
333
|
+
* })
|
|
334
|
+
*
|
|
335
|
+
*/
|
|
336
|
+
create<T extends InputFileWarningCreateArgs>(args: Prisma.SelectSubset<T, InputFileWarningCreateArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
337
|
+
/**
|
|
338
|
+
* Create many InputFileWarnings.
|
|
339
|
+
* @param {InputFileWarningCreateManyArgs} args - Arguments to create many InputFileWarnings.
|
|
340
|
+
* @example
|
|
341
|
+
* // Create many InputFileWarnings
|
|
342
|
+
* const inputFileWarning = await prisma.inputFileWarning.createMany({
|
|
343
|
+
* data: [
|
|
344
|
+
* // ... provide data here
|
|
345
|
+
* ]
|
|
346
|
+
* })
|
|
347
|
+
*
|
|
348
|
+
*/
|
|
349
|
+
createMany<T extends InputFileWarningCreateManyArgs>(args?: Prisma.SelectSubset<T, InputFileWarningCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
350
|
+
/**
|
|
351
|
+
* Create many InputFileWarnings and returns the data saved in the database.
|
|
352
|
+
* @param {InputFileWarningCreateManyAndReturnArgs} args - Arguments to create many InputFileWarnings.
|
|
353
|
+
* @example
|
|
354
|
+
* // Create many InputFileWarnings
|
|
355
|
+
* const inputFileWarning = await prisma.inputFileWarning.createManyAndReturn({
|
|
356
|
+
* data: [
|
|
357
|
+
* // ... provide data here
|
|
358
|
+
* ]
|
|
359
|
+
* })
|
|
360
|
+
*
|
|
361
|
+
* // Create many InputFileWarnings and only return the `name`
|
|
362
|
+
* const inputFileWarningWithNameOnly = await prisma.inputFileWarning.createManyAndReturn({
|
|
363
|
+
* select: { name: true },
|
|
364
|
+
* data: [
|
|
365
|
+
* // ... provide data here
|
|
366
|
+
* ]
|
|
367
|
+
* })
|
|
368
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
369
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
370
|
+
*
|
|
371
|
+
*/
|
|
372
|
+
createManyAndReturn<T extends InputFileWarningCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, InputFileWarningCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
373
|
+
/**
|
|
374
|
+
* Delete a InputFileWarning.
|
|
375
|
+
* @param {InputFileWarningDeleteArgs} args - Arguments to delete one InputFileWarning.
|
|
376
|
+
* @example
|
|
377
|
+
* // Delete one InputFileWarning
|
|
378
|
+
* const InputFileWarning = await prisma.inputFileWarning.delete({
|
|
379
|
+
* where: {
|
|
380
|
+
* // ... filter to delete one InputFileWarning
|
|
381
|
+
* }
|
|
382
|
+
* })
|
|
383
|
+
*
|
|
384
|
+
*/
|
|
385
|
+
delete<T extends InputFileWarningDeleteArgs>(args: Prisma.SelectSubset<T, InputFileWarningDeleteArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
386
|
+
/**
|
|
387
|
+
* Update one InputFileWarning.
|
|
388
|
+
* @param {InputFileWarningUpdateArgs} args - Arguments to update one InputFileWarning.
|
|
389
|
+
* @example
|
|
390
|
+
* // Update one InputFileWarning
|
|
391
|
+
* const inputFileWarning = await prisma.inputFileWarning.update({
|
|
392
|
+
* where: {
|
|
393
|
+
* // ... provide filter here
|
|
394
|
+
* },
|
|
395
|
+
* data: {
|
|
396
|
+
* // ... provide data here
|
|
397
|
+
* }
|
|
398
|
+
* })
|
|
399
|
+
*
|
|
400
|
+
*/
|
|
401
|
+
update<T extends InputFileWarningUpdateArgs>(args: Prisma.SelectSubset<T, InputFileWarningUpdateArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
402
|
+
/**
|
|
403
|
+
* Delete zero or more InputFileWarnings.
|
|
404
|
+
* @param {InputFileWarningDeleteManyArgs} args - Arguments to filter InputFileWarnings to delete.
|
|
405
|
+
* @example
|
|
406
|
+
* // Delete a few InputFileWarnings
|
|
407
|
+
* const { count } = await prisma.inputFileWarning.deleteMany({
|
|
408
|
+
* where: {
|
|
409
|
+
* // ... provide filter here
|
|
410
|
+
* }
|
|
411
|
+
* })
|
|
412
|
+
*
|
|
413
|
+
*/
|
|
414
|
+
deleteMany<T extends InputFileWarningDeleteManyArgs>(args?: Prisma.SelectSubset<T, InputFileWarningDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
415
|
+
/**
|
|
416
|
+
* Update zero or more InputFileWarnings.
|
|
417
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
418
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
419
|
+
* @param {InputFileWarningUpdateManyArgs} args - Arguments to update one or more rows.
|
|
420
|
+
* @example
|
|
421
|
+
* // Update many InputFileWarnings
|
|
422
|
+
* const inputFileWarning = await prisma.inputFileWarning.updateMany({
|
|
423
|
+
* where: {
|
|
424
|
+
* // ... provide filter here
|
|
425
|
+
* },
|
|
426
|
+
* data: {
|
|
427
|
+
* // ... provide data here
|
|
428
|
+
* }
|
|
429
|
+
* })
|
|
430
|
+
*
|
|
431
|
+
*/
|
|
432
|
+
updateMany<T extends InputFileWarningUpdateManyArgs>(args: Prisma.SelectSubset<T, InputFileWarningUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
433
|
+
/**
|
|
434
|
+
* Update zero or more InputFileWarnings and returns the data updated in the database.
|
|
435
|
+
* @param {InputFileWarningUpdateManyAndReturnArgs} args - Arguments to update many InputFileWarnings.
|
|
436
|
+
* @example
|
|
437
|
+
* // Update many InputFileWarnings
|
|
438
|
+
* const inputFileWarning = await prisma.inputFileWarning.updateManyAndReturn({
|
|
439
|
+
* where: {
|
|
440
|
+
* // ... provide filter here
|
|
441
|
+
* },
|
|
442
|
+
* data: [
|
|
443
|
+
* // ... provide data here
|
|
444
|
+
* ]
|
|
445
|
+
* })
|
|
446
|
+
*
|
|
447
|
+
* // Update zero or more InputFileWarnings and only return the `name`
|
|
448
|
+
* const inputFileWarningWithNameOnly = await prisma.inputFileWarning.updateManyAndReturn({
|
|
449
|
+
* select: { name: true },
|
|
450
|
+
* where: {
|
|
451
|
+
* // ... provide filter here
|
|
452
|
+
* },
|
|
453
|
+
* data: [
|
|
454
|
+
* // ... provide data here
|
|
455
|
+
* ]
|
|
456
|
+
* })
|
|
457
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
458
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
459
|
+
*
|
|
460
|
+
*/
|
|
461
|
+
updateManyAndReturn<T extends InputFileWarningUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, InputFileWarningUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
462
|
+
/**
|
|
463
|
+
* Create or update one InputFileWarning.
|
|
464
|
+
* @param {InputFileWarningUpsertArgs} args - Arguments to update or create a InputFileWarning.
|
|
465
|
+
* @example
|
|
466
|
+
* // Update or create a InputFileWarning
|
|
467
|
+
* const inputFileWarning = await prisma.inputFileWarning.upsert({
|
|
468
|
+
* create: {
|
|
469
|
+
* // ... data to create a InputFileWarning
|
|
470
|
+
* },
|
|
471
|
+
* update: {
|
|
472
|
+
* // ... in case it already exists, update
|
|
473
|
+
* },
|
|
474
|
+
* where: {
|
|
475
|
+
* // ... the filter for the InputFileWarning we want to update
|
|
476
|
+
* }
|
|
477
|
+
* })
|
|
478
|
+
*/
|
|
479
|
+
upsert<T extends InputFileWarningUpsertArgs>(args: Prisma.SelectSubset<T, InputFileWarningUpsertArgs<ExtArgs>>): Prisma.Prisma__InputFileWarningClient<runtime.Types.Result.GetResult<Prisma.$InputFileWarningPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
480
|
+
/**
|
|
481
|
+
* Count the number of InputFileWarnings.
|
|
482
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
483
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
484
|
+
* @param {InputFileWarningCountArgs} args - Arguments to filter InputFileWarnings to count.
|
|
485
|
+
* @example
|
|
486
|
+
* // Count the number of InputFileWarnings
|
|
487
|
+
* const count = await prisma.inputFileWarning.count({
|
|
488
|
+
* where: {
|
|
489
|
+
* // ... the filter for the InputFileWarnings we want to count
|
|
490
|
+
* }
|
|
491
|
+
* })
|
|
492
|
+
**/
|
|
493
|
+
count<T extends InputFileWarningCountArgs>(args?: Prisma.Subset<T, InputFileWarningCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], InputFileWarningCountAggregateOutputType> : number>;
|
|
494
|
+
/**
|
|
495
|
+
* Allows you to perform aggregations operations on a InputFileWarning.
|
|
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 {InputFileWarningAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
499
|
+
* @example
|
|
500
|
+
* // Ordered by age ascending
|
|
501
|
+
* // Where email contains prisma.io
|
|
502
|
+
* // Limited to the 10 users
|
|
503
|
+
* const aggregations = await prisma.user.aggregate({
|
|
504
|
+
* _avg: {
|
|
505
|
+
* age: true,
|
|
506
|
+
* },
|
|
507
|
+
* where: {
|
|
508
|
+
* email: {
|
|
509
|
+
* contains: "prisma.io",
|
|
510
|
+
* },
|
|
511
|
+
* },
|
|
512
|
+
* orderBy: {
|
|
513
|
+
* age: "asc",
|
|
514
|
+
* },
|
|
515
|
+
* take: 10,
|
|
516
|
+
* })
|
|
517
|
+
**/
|
|
518
|
+
aggregate<T extends InputFileWarningAggregateArgs>(args: Prisma.Subset<T, InputFileWarningAggregateArgs>): Prisma.PrismaPromise<GetInputFileWarningAggregateType<T>>;
|
|
519
|
+
/**
|
|
520
|
+
* Group by InputFileWarning.
|
|
521
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
522
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
523
|
+
* @param {InputFileWarningGroupByArgs} args - Group by arguments.
|
|
524
|
+
* @example
|
|
525
|
+
* // Group by city, order by createdAt, get count
|
|
526
|
+
* const result = await prisma.user.groupBy({
|
|
527
|
+
* by: ['city', 'createdAt'],
|
|
528
|
+
* orderBy: {
|
|
529
|
+
* createdAt: true
|
|
530
|
+
* },
|
|
531
|
+
* _count: {
|
|
532
|
+
* _all: true
|
|
533
|
+
* },
|
|
534
|
+
* })
|
|
535
|
+
*
|
|
536
|
+
**/
|
|
537
|
+
groupBy<T extends InputFileWarningGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
538
|
+
orderBy: InputFileWarningGroupByArgs['orderBy'];
|
|
539
|
+
} : {
|
|
540
|
+
orderBy?: InputFileWarningGroupByArgs['orderBy'];
|
|
541
|
+
}, 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 ? {
|
|
542
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
543
|
+
Error,
|
|
544
|
+
'Field ',
|
|
545
|
+
P,
|
|
546
|
+
` in "having" needs to be provided in "by"`
|
|
547
|
+
];
|
|
548
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
549
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
550
|
+
}[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 ? {} : {
|
|
551
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
552
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
553
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
554
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, InputFileWarningGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInputFileWarningGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
555
|
+
/**
|
|
556
|
+
* Fields of the InputFileWarning model
|
|
557
|
+
*/
|
|
558
|
+
readonly fields: InputFileWarningFieldRefs;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* The delegate class that acts as a "Promise-like" for InputFileWarning.
|
|
562
|
+
* Why is this prefixed with `Prisma__`?
|
|
563
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
564
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
565
|
+
*/
|
|
566
|
+
export interface Prisma__InputFileWarningClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
567
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
568
|
+
/**
|
|
569
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
570
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
571
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
572
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
573
|
+
*/
|
|
574
|
+
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>;
|
|
575
|
+
/**
|
|
576
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
577
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
578
|
+
* @returns A Promise for the completion of the callback.
|
|
579
|
+
*/
|
|
580
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
581
|
+
/**
|
|
582
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
583
|
+
* resolved value cannot be modified from the callback.
|
|
584
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
585
|
+
* @returns A Promise for the completion of the callback.
|
|
586
|
+
*/
|
|
587
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* Fields of the InputFileWarning model
|
|
591
|
+
*/
|
|
592
|
+
export interface InputFileWarningFieldRefs {
|
|
593
|
+
readonly name: Prisma.FieldRef<"InputFileWarning", 'String'>;
|
|
594
|
+
readonly type: Prisma.FieldRef<"InputFileWarning", 'String'>;
|
|
595
|
+
readonly message: Prisma.FieldRef<"InputFileWarning", 'String'>;
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* InputFileWarning findUnique
|
|
599
|
+
*/
|
|
600
|
+
export type InputFileWarningFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
601
|
+
/**
|
|
602
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
603
|
+
*/
|
|
604
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
605
|
+
/**
|
|
606
|
+
* Omit specific fields from the InputFileWarning
|
|
607
|
+
*/
|
|
608
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
609
|
+
/**
|
|
610
|
+
* Filter, which InputFileWarning to fetch.
|
|
611
|
+
*/
|
|
612
|
+
where: Prisma.InputFileWarningWhereUniqueInput;
|
|
613
|
+
};
|
|
614
|
+
/**
|
|
615
|
+
* InputFileWarning findUniqueOrThrow
|
|
616
|
+
*/
|
|
617
|
+
export type InputFileWarningFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
618
|
+
/**
|
|
619
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
620
|
+
*/
|
|
621
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
622
|
+
/**
|
|
623
|
+
* Omit specific fields from the InputFileWarning
|
|
624
|
+
*/
|
|
625
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
626
|
+
/**
|
|
627
|
+
* Filter, which InputFileWarning to fetch.
|
|
628
|
+
*/
|
|
629
|
+
where: Prisma.InputFileWarningWhereUniqueInput;
|
|
630
|
+
};
|
|
631
|
+
/**
|
|
632
|
+
* InputFileWarning findFirst
|
|
633
|
+
*/
|
|
634
|
+
export type InputFileWarningFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
635
|
+
/**
|
|
636
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
637
|
+
*/
|
|
638
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
639
|
+
/**
|
|
640
|
+
* Omit specific fields from the InputFileWarning
|
|
641
|
+
*/
|
|
642
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
643
|
+
/**
|
|
644
|
+
* Filter, which InputFileWarning to fetch.
|
|
645
|
+
*/
|
|
646
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
647
|
+
/**
|
|
648
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
649
|
+
*
|
|
650
|
+
* Determine the order of InputFileWarnings to fetch.
|
|
651
|
+
*/
|
|
652
|
+
orderBy?: Prisma.InputFileWarningOrderByWithRelationInput | Prisma.InputFileWarningOrderByWithRelationInput[];
|
|
653
|
+
/**
|
|
654
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
655
|
+
*
|
|
656
|
+
* Sets the position for searching for InputFileWarnings.
|
|
657
|
+
*/
|
|
658
|
+
cursor?: Prisma.InputFileWarningWhereUniqueInput;
|
|
659
|
+
/**
|
|
660
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
661
|
+
*
|
|
662
|
+
* Take `±n` InputFileWarnings from the position of the cursor.
|
|
663
|
+
*/
|
|
664
|
+
take?: number;
|
|
665
|
+
/**
|
|
666
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
667
|
+
*
|
|
668
|
+
* Skip the first `n` InputFileWarnings.
|
|
669
|
+
*/
|
|
670
|
+
skip?: number;
|
|
671
|
+
/**
|
|
672
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
673
|
+
*
|
|
674
|
+
* Filter by unique combinations of InputFileWarnings.
|
|
675
|
+
*/
|
|
676
|
+
distinct?: Prisma.InputFileWarningScalarFieldEnum | Prisma.InputFileWarningScalarFieldEnum[];
|
|
677
|
+
};
|
|
678
|
+
/**
|
|
679
|
+
* InputFileWarning findFirstOrThrow
|
|
680
|
+
*/
|
|
681
|
+
export type InputFileWarningFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
682
|
+
/**
|
|
683
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
684
|
+
*/
|
|
685
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
686
|
+
/**
|
|
687
|
+
* Omit specific fields from the InputFileWarning
|
|
688
|
+
*/
|
|
689
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
690
|
+
/**
|
|
691
|
+
* Filter, which InputFileWarning to fetch.
|
|
692
|
+
*/
|
|
693
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
694
|
+
/**
|
|
695
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
696
|
+
*
|
|
697
|
+
* Determine the order of InputFileWarnings to fetch.
|
|
698
|
+
*/
|
|
699
|
+
orderBy?: Prisma.InputFileWarningOrderByWithRelationInput | Prisma.InputFileWarningOrderByWithRelationInput[];
|
|
700
|
+
/**
|
|
701
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
702
|
+
*
|
|
703
|
+
* Sets the position for searching for InputFileWarnings.
|
|
704
|
+
*/
|
|
705
|
+
cursor?: Prisma.InputFileWarningWhereUniqueInput;
|
|
706
|
+
/**
|
|
707
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
708
|
+
*
|
|
709
|
+
* Take `±n` InputFileWarnings from the position of the cursor.
|
|
710
|
+
*/
|
|
711
|
+
take?: number;
|
|
712
|
+
/**
|
|
713
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
714
|
+
*
|
|
715
|
+
* Skip the first `n` InputFileWarnings.
|
|
716
|
+
*/
|
|
717
|
+
skip?: number;
|
|
718
|
+
/**
|
|
719
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
720
|
+
*
|
|
721
|
+
* Filter by unique combinations of InputFileWarnings.
|
|
722
|
+
*/
|
|
723
|
+
distinct?: Prisma.InputFileWarningScalarFieldEnum | Prisma.InputFileWarningScalarFieldEnum[];
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* InputFileWarning findMany
|
|
727
|
+
*/
|
|
728
|
+
export type InputFileWarningFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
729
|
+
/**
|
|
730
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
731
|
+
*/
|
|
732
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
733
|
+
/**
|
|
734
|
+
* Omit specific fields from the InputFileWarning
|
|
735
|
+
*/
|
|
736
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
737
|
+
/**
|
|
738
|
+
* Filter, which InputFileWarnings to fetch.
|
|
739
|
+
*/
|
|
740
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
741
|
+
/**
|
|
742
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
743
|
+
*
|
|
744
|
+
* Determine the order of InputFileWarnings to fetch.
|
|
745
|
+
*/
|
|
746
|
+
orderBy?: Prisma.InputFileWarningOrderByWithRelationInput | Prisma.InputFileWarningOrderByWithRelationInput[];
|
|
747
|
+
/**
|
|
748
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
749
|
+
*
|
|
750
|
+
* Sets the position for listing InputFileWarnings.
|
|
751
|
+
*/
|
|
752
|
+
cursor?: Prisma.InputFileWarningWhereUniqueInput;
|
|
753
|
+
/**
|
|
754
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
755
|
+
*
|
|
756
|
+
* Take `±n` InputFileWarnings from the position of the cursor.
|
|
757
|
+
*/
|
|
758
|
+
take?: number;
|
|
759
|
+
/**
|
|
760
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
761
|
+
*
|
|
762
|
+
* Skip the first `n` InputFileWarnings.
|
|
763
|
+
*/
|
|
764
|
+
skip?: number;
|
|
765
|
+
/**
|
|
766
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
767
|
+
*
|
|
768
|
+
* Filter by unique combinations of InputFileWarnings.
|
|
769
|
+
*/
|
|
770
|
+
distinct?: Prisma.InputFileWarningScalarFieldEnum | Prisma.InputFileWarningScalarFieldEnum[];
|
|
771
|
+
};
|
|
772
|
+
/**
|
|
773
|
+
* InputFileWarning create
|
|
774
|
+
*/
|
|
775
|
+
export type InputFileWarningCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
776
|
+
/**
|
|
777
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
778
|
+
*/
|
|
779
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
780
|
+
/**
|
|
781
|
+
* Omit specific fields from the InputFileWarning
|
|
782
|
+
*/
|
|
783
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
784
|
+
/**
|
|
785
|
+
* The data needed to create a InputFileWarning.
|
|
786
|
+
*/
|
|
787
|
+
data: Prisma.XOR<Prisma.InputFileWarningCreateInput, Prisma.InputFileWarningUncheckedCreateInput>;
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* InputFileWarning createMany
|
|
791
|
+
*/
|
|
792
|
+
export type InputFileWarningCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
793
|
+
/**
|
|
794
|
+
* The data used to create many InputFileWarnings.
|
|
795
|
+
*/
|
|
796
|
+
data: Prisma.InputFileWarningCreateManyInput | Prisma.InputFileWarningCreateManyInput[];
|
|
797
|
+
};
|
|
798
|
+
/**
|
|
799
|
+
* InputFileWarning createManyAndReturn
|
|
800
|
+
*/
|
|
801
|
+
export type InputFileWarningCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
802
|
+
/**
|
|
803
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
804
|
+
*/
|
|
805
|
+
select?: Prisma.InputFileWarningSelectCreateManyAndReturn<ExtArgs> | null;
|
|
806
|
+
/**
|
|
807
|
+
* Omit specific fields from the InputFileWarning
|
|
808
|
+
*/
|
|
809
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
810
|
+
/**
|
|
811
|
+
* The data used to create many InputFileWarnings.
|
|
812
|
+
*/
|
|
813
|
+
data: Prisma.InputFileWarningCreateManyInput | Prisma.InputFileWarningCreateManyInput[];
|
|
814
|
+
};
|
|
815
|
+
/**
|
|
816
|
+
* InputFileWarning update
|
|
817
|
+
*/
|
|
818
|
+
export type InputFileWarningUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
819
|
+
/**
|
|
820
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
821
|
+
*/
|
|
822
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
823
|
+
/**
|
|
824
|
+
* Omit specific fields from the InputFileWarning
|
|
825
|
+
*/
|
|
826
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
827
|
+
/**
|
|
828
|
+
* The data needed to update a InputFileWarning.
|
|
829
|
+
*/
|
|
830
|
+
data: Prisma.XOR<Prisma.InputFileWarningUpdateInput, Prisma.InputFileWarningUncheckedUpdateInput>;
|
|
831
|
+
/**
|
|
832
|
+
* Choose, which InputFileWarning to update.
|
|
833
|
+
*/
|
|
834
|
+
where: Prisma.InputFileWarningWhereUniqueInput;
|
|
835
|
+
};
|
|
836
|
+
/**
|
|
837
|
+
* InputFileWarning updateMany
|
|
838
|
+
*/
|
|
839
|
+
export type InputFileWarningUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
840
|
+
/**
|
|
841
|
+
* The data used to update InputFileWarnings.
|
|
842
|
+
*/
|
|
843
|
+
data: Prisma.XOR<Prisma.InputFileWarningUpdateManyMutationInput, Prisma.InputFileWarningUncheckedUpdateManyInput>;
|
|
844
|
+
/**
|
|
845
|
+
* Filter which InputFileWarnings to update
|
|
846
|
+
*/
|
|
847
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
848
|
+
/**
|
|
849
|
+
* Limit how many InputFileWarnings to update.
|
|
850
|
+
*/
|
|
851
|
+
limit?: number;
|
|
852
|
+
};
|
|
853
|
+
/**
|
|
854
|
+
* InputFileWarning updateManyAndReturn
|
|
855
|
+
*/
|
|
856
|
+
export type InputFileWarningUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
857
|
+
/**
|
|
858
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
859
|
+
*/
|
|
860
|
+
select?: Prisma.InputFileWarningSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
861
|
+
/**
|
|
862
|
+
* Omit specific fields from the InputFileWarning
|
|
863
|
+
*/
|
|
864
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
865
|
+
/**
|
|
866
|
+
* The data used to update InputFileWarnings.
|
|
867
|
+
*/
|
|
868
|
+
data: Prisma.XOR<Prisma.InputFileWarningUpdateManyMutationInput, Prisma.InputFileWarningUncheckedUpdateManyInput>;
|
|
869
|
+
/**
|
|
870
|
+
* Filter which InputFileWarnings to update
|
|
871
|
+
*/
|
|
872
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
873
|
+
/**
|
|
874
|
+
* Limit how many InputFileWarnings to update.
|
|
875
|
+
*/
|
|
876
|
+
limit?: number;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* InputFileWarning upsert
|
|
880
|
+
*/
|
|
881
|
+
export type InputFileWarningUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
882
|
+
/**
|
|
883
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
884
|
+
*/
|
|
885
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
886
|
+
/**
|
|
887
|
+
* Omit specific fields from the InputFileWarning
|
|
888
|
+
*/
|
|
889
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
890
|
+
/**
|
|
891
|
+
* The filter to search for the InputFileWarning to update in case it exists.
|
|
892
|
+
*/
|
|
893
|
+
where: Prisma.InputFileWarningWhereUniqueInput;
|
|
894
|
+
/**
|
|
895
|
+
* In case the InputFileWarning found by the `where` argument doesn't exist, create a new InputFileWarning with this data.
|
|
896
|
+
*/
|
|
897
|
+
create: Prisma.XOR<Prisma.InputFileWarningCreateInput, Prisma.InputFileWarningUncheckedCreateInput>;
|
|
898
|
+
/**
|
|
899
|
+
* In case the InputFileWarning was found with the provided `where` argument, update it with this data.
|
|
900
|
+
*/
|
|
901
|
+
update: Prisma.XOR<Prisma.InputFileWarningUpdateInput, Prisma.InputFileWarningUncheckedUpdateInput>;
|
|
902
|
+
};
|
|
903
|
+
/**
|
|
904
|
+
* InputFileWarning delete
|
|
905
|
+
*/
|
|
906
|
+
export type InputFileWarningDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
907
|
+
/**
|
|
908
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
909
|
+
*/
|
|
910
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
911
|
+
/**
|
|
912
|
+
* Omit specific fields from the InputFileWarning
|
|
913
|
+
*/
|
|
914
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* Filter which InputFileWarning to delete.
|
|
917
|
+
*/
|
|
918
|
+
where: Prisma.InputFileWarningWhereUniqueInput;
|
|
919
|
+
};
|
|
920
|
+
/**
|
|
921
|
+
* InputFileWarning deleteMany
|
|
922
|
+
*/
|
|
923
|
+
export type InputFileWarningDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
924
|
+
/**
|
|
925
|
+
* Filter which InputFileWarnings to delete
|
|
926
|
+
*/
|
|
927
|
+
where?: Prisma.InputFileWarningWhereInput;
|
|
928
|
+
/**
|
|
929
|
+
* Limit how many InputFileWarnings to delete.
|
|
930
|
+
*/
|
|
931
|
+
limit?: number;
|
|
932
|
+
};
|
|
933
|
+
/**
|
|
934
|
+
* InputFileWarning without action
|
|
935
|
+
*/
|
|
936
|
+
export type InputFileWarningDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
937
|
+
/**
|
|
938
|
+
* Select specific fields to fetch from the InputFileWarning
|
|
939
|
+
*/
|
|
940
|
+
select?: Prisma.InputFileWarningSelect<ExtArgs> | null;
|
|
941
|
+
/**
|
|
942
|
+
* Omit specific fields from the InputFileWarning
|
|
943
|
+
*/
|
|
944
|
+
omit?: Prisma.InputFileWarningOmit<ExtArgs> | null;
|
|
945
|
+
};
|
|
946
|
+
//# sourceMappingURL=InputFileWarning.d.ts.map
|