@helloao/cli 0.2.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.
Files changed (79) hide show
  1. package/README.md +4 -0
  2. package/dist/cjs/cli.cjs +7361 -8421
  3. package/dist/cjs/index.cjs +7663 -8857
  4. package/dist/esm/cli.js +6118 -0
  5. package/dist/esm/cli.js.map +7 -0
  6. package/dist/esm/index.js +1272 -6039
  7. package/dist/esm/index.js.map +4 -4
  8. package/dist/types/actions.d.ts +43 -1
  9. package/dist/types/db.d.ts +19 -8
  10. package/dist/types/ebible.d.ts +1 -1
  11. package/dist/types/files.d.ts +6 -1
  12. package/dist/types/prisma-gen/browser.d.ts +115 -0
  13. package/dist/types/prisma-gen/client.d.ts +134 -0
  14. package/dist/types/prisma-gen/commonInputTypes.d.ts +378 -0
  15. package/dist/types/prisma-gen/enums.d.ts +2 -0
  16. package/dist/types/prisma-gen/internal/class.d.ts +364 -0
  17. package/dist/types/prisma-gen/internal/prismaNamespace.d.ts +2358 -0
  18. package/dist/types/prisma-gen/internal/prismaNamespaceBrowser.d.ts +304 -0
  19. package/dist/types/prisma-gen/models/Book.d.ts +2197 -0
  20. package/dist/types/prisma-gen/models/Chapter.d.ts +1934 -0
  21. package/dist/types/prisma-gen/models/ChapterAudioTiming.d.ts +1414 -0
  22. package/dist/types/prisma-gen/models/ChapterAudioUrl.d.ts +1414 -0
  23. package/dist/types/prisma-gen/models/ChapterFootnote.d.ts +1642 -0
  24. package/dist/types/prisma-gen/models/ChapterVerse.d.ts +1653 -0
  25. package/dist/types/prisma-gen/models/ChapterWords.d.ts +1366 -0
  26. package/dist/types/prisma-gen/models/Commentary.d.ts +1711 -0
  27. package/dist/types/prisma-gen/models/CommentaryBook.d.ts +1622 -0
  28. package/dist/types/prisma-gen/models/CommentaryChapter.d.ts +1487 -0
  29. package/dist/types/prisma-gen/models/CommentaryChapterVerse.d.ts +1514 -0
  30. package/dist/types/prisma-gen/models/CommentaryProfile.d.ts +1451 -0
  31. package/dist/types/prisma-gen/models/Dataset.d.ts +1810 -0
  32. package/dist/types/prisma-gen/models/DatasetBook.d.ts +1565 -0
  33. package/dist/types/prisma-gen/models/DatasetChapter.d.ts +1553 -0
  34. package/dist/types/prisma-gen/models/DatasetChapterVerse.d.ts +1600 -0
  35. package/dist/types/prisma-gen/models/DatasetEntity.d.ts +1214 -0
  36. package/dist/types/prisma-gen/models/DatasetReference.d.ts +1789 -0
  37. package/dist/types/prisma-gen/models/EBibleSource.d.ts +1686 -0
  38. package/dist/types/prisma-gen/models/InputFile.d.ts +1039 -0
  39. package/dist/types/prisma-gen/models/InputFileWarning.d.ts +946 -0
  40. package/dist/types/prisma-gen/models/Translation.d.ts +2238 -0
  41. package/dist/types/prisma-gen/models.d.ts +24 -0
  42. package/dist/types/s3.d.ts +2 -0
  43. package/dist/types/uploads.d.ts +1 -1
  44. package/meta/ARBNAV.json +10 -10
  45. package/meta/BSB.json +10 -10
  46. package/meta/HBOMAS.json +10 -10
  47. package/meta/HINIRV.json +10 -10
  48. package/meta/eng_dra.json +10 -10
  49. package/migrations/20240420231455_initial/migration.sql +66 -66
  50. package/migrations/20240711173108_add_chapter_audio/migration.sql +13 -13
  51. package/migrations/20240724212651_add_hashing/migration.sql +25 -25
  52. package/migrations/20250625201152_add_extra_ebible_metadata/migration.sql +3 -3
  53. package/migrations/20250630200532_add_apocryhpa_flag/migration.sql +2 -2
  54. package/migrations/20250701195337_add_file_warnings/migration.sql +8 -8
  55. package/migrations/20251028135135_add_datasets/migration.sql +72 -72
  56. package/migrations/20251028144932_fix_dataset_types/migration.sql +50 -50
  57. package/migrations/20260217200934_add_license_notice/migration.sql +5 -5
  58. package/migrations/20260703000000_add_chapter_audio_timing/migration.sql +13 -0
  59. package/migrations/20260809000000_add_chapter_words/migration.sql +12 -0
  60. package/migrations/20260829000000_add_dataset_entities/migration.sql +12 -0
  61. package/package.json +21 -18
  62. package/schema.prisma +65 -2
  63. package/prisma-gen/default.d.ts +0 -1
  64. package/prisma-gen/default.js +0 -1
  65. package/prisma-gen/edge.d.ts +0 -1
  66. package/prisma-gen/edge.js +0 -403
  67. package/prisma-gen/index-browser.js +0 -397
  68. package/prisma-gen/index.d.ts +0 -34011
  69. package/prisma-gen/index.js +0 -426
  70. package/prisma-gen/runtime/edge-esm.js +0 -31
  71. package/prisma-gen/runtime/edge.js +0 -31
  72. package/prisma-gen/runtime/index-browser.d.ts +0 -365
  73. package/prisma-gen/runtime/index-browser.js +0 -13
  74. package/prisma-gen/runtime/library.d.ts +0 -3403
  75. package/prisma-gen/runtime/library.js +0 -143
  76. package/prisma-gen/runtime/react-native.js +0 -80
  77. package/prisma-gen/runtime/wasm.js +0 -32
  78. package/prisma-gen/wasm.d.ts +0 -1
  79. package/prisma-gen/wasm.js +0 -397
@@ -0,0 +1,1810 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model Dataset
5
+ *
6
+ */
7
+ export type DatasetModel = runtime.Types.Result.DefaultSelection<Prisma.$DatasetPayload>;
8
+ export type AggregateDataset = {
9
+ _count: DatasetCountAggregateOutputType | null;
10
+ _min: DatasetMinAggregateOutputType | null;
11
+ _max: DatasetMaxAggregateOutputType | null;
12
+ };
13
+ export type DatasetMinAggregateOutputType = {
14
+ id: string | null;
15
+ name: string | null;
16
+ website: string | null;
17
+ licenseUrl: string | null;
18
+ licenseNotes: string | null;
19
+ englishName: string | null;
20
+ language: string | null;
21
+ textDirection: string | null;
22
+ sha256: string | null;
23
+ };
24
+ export type DatasetMaxAggregateOutputType = {
25
+ id: string | null;
26
+ name: string | null;
27
+ website: string | null;
28
+ licenseUrl: string | null;
29
+ licenseNotes: string | null;
30
+ englishName: string | null;
31
+ language: string | null;
32
+ textDirection: string | null;
33
+ sha256: string | null;
34
+ };
35
+ export type DatasetCountAggregateOutputType = {
36
+ id: number;
37
+ name: number;
38
+ website: number;
39
+ licenseUrl: number;
40
+ licenseNotes: number;
41
+ englishName: number;
42
+ language: number;
43
+ textDirection: number;
44
+ sha256: number;
45
+ _all: number;
46
+ };
47
+ export type DatasetMinAggregateInputType = {
48
+ id?: true;
49
+ name?: true;
50
+ website?: true;
51
+ licenseUrl?: true;
52
+ licenseNotes?: true;
53
+ englishName?: true;
54
+ language?: true;
55
+ textDirection?: true;
56
+ sha256?: true;
57
+ };
58
+ export type DatasetMaxAggregateInputType = {
59
+ id?: true;
60
+ name?: true;
61
+ website?: true;
62
+ licenseUrl?: true;
63
+ licenseNotes?: true;
64
+ englishName?: true;
65
+ language?: true;
66
+ textDirection?: true;
67
+ sha256?: true;
68
+ };
69
+ export type DatasetCountAggregateInputType = {
70
+ id?: true;
71
+ name?: true;
72
+ website?: true;
73
+ licenseUrl?: true;
74
+ licenseNotes?: true;
75
+ englishName?: true;
76
+ language?: true;
77
+ textDirection?: true;
78
+ sha256?: true;
79
+ _all?: true;
80
+ };
81
+ export type DatasetAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
82
+ /**
83
+ * Filter which Dataset to aggregate.
84
+ */
85
+ where?: Prisma.DatasetWhereInput;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
88
+ *
89
+ * Determine the order of Datasets to fetch.
90
+ */
91
+ orderBy?: Prisma.DatasetOrderByWithRelationInput | Prisma.DatasetOrderByWithRelationInput[];
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
94
+ *
95
+ * Sets the start position
96
+ */
97
+ cursor?: Prisma.DatasetWhereUniqueInput;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
100
+ *
101
+ * Take `±n` Datasets from the position of the cursor.
102
+ */
103
+ take?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
106
+ *
107
+ * Skip the first `n` Datasets.
108
+ */
109
+ skip?: number;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Count returned Datasets
114
+ **/
115
+ _count?: true | DatasetCountAggregateInputType;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
+ *
119
+ * Select which fields to find the minimum value
120
+ **/
121
+ _min?: DatasetMinAggregateInputType;
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
124
+ *
125
+ * Select which fields to find the maximum value
126
+ **/
127
+ _max?: DatasetMaxAggregateInputType;
128
+ };
129
+ export type GetDatasetAggregateType<T extends DatasetAggregateArgs> = {
130
+ [P in keyof T & keyof AggregateDataset]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDataset[P]> : Prisma.GetScalarType<T[P], AggregateDataset[P]>;
131
+ };
132
+ export type DatasetGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
133
+ where?: Prisma.DatasetWhereInput;
134
+ orderBy?: Prisma.DatasetOrderByWithAggregationInput | Prisma.DatasetOrderByWithAggregationInput[];
135
+ by: Prisma.DatasetScalarFieldEnum[] | Prisma.DatasetScalarFieldEnum;
136
+ having?: Prisma.DatasetScalarWhereWithAggregatesInput;
137
+ take?: number;
138
+ skip?: number;
139
+ _count?: DatasetCountAggregateInputType | true;
140
+ _min?: DatasetMinAggregateInputType;
141
+ _max?: DatasetMaxAggregateInputType;
142
+ };
143
+ export type DatasetGroupByOutputType = {
144
+ id: string;
145
+ name: string;
146
+ website: string;
147
+ licenseUrl: string;
148
+ licenseNotes: string | null;
149
+ englishName: string;
150
+ language: string;
151
+ textDirection: string;
152
+ sha256: string | null;
153
+ _count: DatasetCountAggregateOutputType | null;
154
+ _min: DatasetMinAggregateOutputType | null;
155
+ _max: DatasetMaxAggregateOutputType | null;
156
+ };
157
+ export type GetDatasetGroupByPayload<T extends DatasetGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DatasetGroupByOutputType, T['by']> & {
158
+ [P in ((keyof T) & (keyof DatasetGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DatasetGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DatasetGroupByOutputType[P]>;
159
+ }>>;
160
+ export type DatasetWhereInput = {
161
+ AND?: Prisma.DatasetWhereInput | Prisma.DatasetWhereInput[];
162
+ OR?: Prisma.DatasetWhereInput[];
163
+ NOT?: Prisma.DatasetWhereInput | Prisma.DatasetWhereInput[];
164
+ id?: Prisma.StringFilter<"Dataset"> | string;
165
+ name?: Prisma.StringFilter<"Dataset"> | string;
166
+ website?: Prisma.StringFilter<"Dataset"> | string;
167
+ licenseUrl?: Prisma.StringFilter<"Dataset"> | string;
168
+ licenseNotes?: Prisma.StringNullableFilter<"Dataset"> | string | null;
169
+ englishName?: Prisma.StringFilter<"Dataset"> | string;
170
+ language?: Prisma.StringFilter<"Dataset"> | string;
171
+ textDirection?: Prisma.StringFilter<"Dataset"> | string;
172
+ sha256?: Prisma.StringNullableFilter<"Dataset"> | string | null;
173
+ books?: Prisma.DatasetBookListRelationFilter;
174
+ chapters?: Prisma.DatasetChapterListRelationFilter;
175
+ verses?: Prisma.DatasetChapterVerseListRelationFilter;
176
+ references?: Prisma.DatasetReferenceListRelationFilter;
177
+ entities?: Prisma.DatasetEntityListRelationFilter;
178
+ };
179
+ export type DatasetOrderByWithRelationInput = {
180
+ id?: Prisma.SortOrder;
181
+ name?: Prisma.SortOrder;
182
+ website?: Prisma.SortOrder;
183
+ licenseUrl?: Prisma.SortOrder;
184
+ licenseNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
185
+ englishName?: Prisma.SortOrder;
186
+ language?: Prisma.SortOrder;
187
+ textDirection?: Prisma.SortOrder;
188
+ sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
189
+ books?: Prisma.DatasetBookOrderByRelationAggregateInput;
190
+ chapters?: Prisma.DatasetChapterOrderByRelationAggregateInput;
191
+ verses?: Prisma.DatasetChapterVerseOrderByRelationAggregateInput;
192
+ references?: Prisma.DatasetReferenceOrderByRelationAggregateInput;
193
+ entities?: Prisma.DatasetEntityOrderByRelationAggregateInput;
194
+ };
195
+ export type DatasetWhereUniqueInput = Prisma.AtLeast<{
196
+ id?: string;
197
+ AND?: Prisma.DatasetWhereInput | Prisma.DatasetWhereInput[];
198
+ OR?: Prisma.DatasetWhereInput[];
199
+ NOT?: Prisma.DatasetWhereInput | Prisma.DatasetWhereInput[];
200
+ name?: Prisma.StringFilter<"Dataset"> | string;
201
+ website?: Prisma.StringFilter<"Dataset"> | string;
202
+ licenseUrl?: Prisma.StringFilter<"Dataset"> | string;
203
+ licenseNotes?: Prisma.StringNullableFilter<"Dataset"> | string | null;
204
+ englishName?: Prisma.StringFilter<"Dataset"> | string;
205
+ language?: Prisma.StringFilter<"Dataset"> | string;
206
+ textDirection?: Prisma.StringFilter<"Dataset"> | string;
207
+ sha256?: Prisma.StringNullableFilter<"Dataset"> | string | null;
208
+ books?: Prisma.DatasetBookListRelationFilter;
209
+ chapters?: Prisma.DatasetChapterListRelationFilter;
210
+ verses?: Prisma.DatasetChapterVerseListRelationFilter;
211
+ references?: Prisma.DatasetReferenceListRelationFilter;
212
+ entities?: Prisma.DatasetEntityListRelationFilter;
213
+ }, "id">;
214
+ export type DatasetOrderByWithAggregationInput = {
215
+ id?: Prisma.SortOrder;
216
+ name?: Prisma.SortOrder;
217
+ website?: Prisma.SortOrder;
218
+ licenseUrl?: Prisma.SortOrder;
219
+ licenseNotes?: Prisma.SortOrderInput | Prisma.SortOrder;
220
+ englishName?: Prisma.SortOrder;
221
+ language?: Prisma.SortOrder;
222
+ textDirection?: Prisma.SortOrder;
223
+ sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
224
+ _count?: Prisma.DatasetCountOrderByAggregateInput;
225
+ _max?: Prisma.DatasetMaxOrderByAggregateInput;
226
+ _min?: Prisma.DatasetMinOrderByAggregateInput;
227
+ };
228
+ export type DatasetScalarWhereWithAggregatesInput = {
229
+ AND?: Prisma.DatasetScalarWhereWithAggregatesInput | Prisma.DatasetScalarWhereWithAggregatesInput[];
230
+ OR?: Prisma.DatasetScalarWhereWithAggregatesInput[];
231
+ NOT?: Prisma.DatasetScalarWhereWithAggregatesInput | Prisma.DatasetScalarWhereWithAggregatesInput[];
232
+ id?: Prisma.StringWithAggregatesFilter<"Dataset"> | string;
233
+ name?: Prisma.StringWithAggregatesFilter<"Dataset"> | string;
234
+ website?: Prisma.StringWithAggregatesFilter<"Dataset"> | string;
235
+ licenseUrl?: Prisma.StringWithAggregatesFilter<"Dataset"> | string;
236
+ licenseNotes?: Prisma.StringNullableWithAggregatesFilter<"Dataset"> | string | null;
237
+ englishName?: Prisma.StringWithAggregatesFilter<"Dataset"> | string;
238
+ language?: Prisma.StringWithAggregatesFilter<"Dataset"> | string;
239
+ textDirection?: Prisma.StringWithAggregatesFilter<"Dataset"> | string;
240
+ sha256?: Prisma.StringNullableWithAggregatesFilter<"Dataset"> | string | null;
241
+ };
242
+ export type DatasetCreateInput = {
243
+ id: string;
244
+ name: string;
245
+ website: string;
246
+ licenseUrl: string;
247
+ licenseNotes?: string | null;
248
+ englishName: string;
249
+ language: string;
250
+ textDirection: string;
251
+ sha256?: string | null;
252
+ books?: Prisma.DatasetBookCreateNestedManyWithoutDatasetInput;
253
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutDatasetInput;
254
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutDatasetInput;
255
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutDatasetInput;
256
+ entities?: Prisma.DatasetEntityCreateNestedManyWithoutDatasetInput;
257
+ };
258
+ export type DatasetUncheckedCreateInput = {
259
+ id: string;
260
+ name: string;
261
+ website: string;
262
+ licenseUrl: string;
263
+ licenseNotes?: string | null;
264
+ englishName: string;
265
+ language: string;
266
+ textDirection: string;
267
+ sha256?: string | null;
268
+ books?: Prisma.DatasetBookUncheckedCreateNestedManyWithoutDatasetInput;
269
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutDatasetInput;
270
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutDatasetInput;
271
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutDatasetInput;
272
+ entities?: Prisma.DatasetEntityUncheckedCreateNestedManyWithoutDatasetInput;
273
+ };
274
+ export type DatasetUpdateInput = {
275
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
276
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
278
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
279
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
280
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
281
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
282
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
284
+ books?: Prisma.DatasetBookUpdateManyWithoutDatasetNestedInput;
285
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutDatasetNestedInput;
286
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutDatasetNestedInput;
287
+ references?: Prisma.DatasetReferenceUpdateManyWithoutDatasetNestedInput;
288
+ entities?: Prisma.DatasetEntityUpdateManyWithoutDatasetNestedInput;
289
+ };
290
+ export type DatasetUncheckedUpdateInput = {
291
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
292
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
293
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
294
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
295
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
296
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
297
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
298
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
299
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
300
+ books?: Prisma.DatasetBookUncheckedUpdateManyWithoutDatasetNestedInput;
301
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutDatasetNestedInput;
302
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutDatasetNestedInput;
303
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutDatasetNestedInput;
304
+ entities?: Prisma.DatasetEntityUncheckedUpdateManyWithoutDatasetNestedInput;
305
+ };
306
+ export type DatasetCreateManyInput = {
307
+ id: string;
308
+ name: string;
309
+ website: string;
310
+ licenseUrl: string;
311
+ licenseNotes?: string | null;
312
+ englishName: string;
313
+ language: string;
314
+ textDirection: string;
315
+ sha256?: string | null;
316
+ };
317
+ export type DatasetUpdateManyMutationInput = {
318
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
319
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
320
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
321
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
322
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
323
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
324
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
325
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
326
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
327
+ };
328
+ export type DatasetUncheckedUpdateManyInput = {
329
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
330
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
331
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
332
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
333
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
334
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
335
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
336
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
337
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
338
+ };
339
+ export type DatasetCountOrderByAggregateInput = {
340
+ id?: Prisma.SortOrder;
341
+ name?: Prisma.SortOrder;
342
+ website?: Prisma.SortOrder;
343
+ licenseUrl?: Prisma.SortOrder;
344
+ licenseNotes?: Prisma.SortOrder;
345
+ englishName?: Prisma.SortOrder;
346
+ language?: Prisma.SortOrder;
347
+ textDirection?: Prisma.SortOrder;
348
+ sha256?: Prisma.SortOrder;
349
+ };
350
+ export type DatasetMaxOrderByAggregateInput = {
351
+ id?: Prisma.SortOrder;
352
+ name?: Prisma.SortOrder;
353
+ website?: Prisma.SortOrder;
354
+ licenseUrl?: Prisma.SortOrder;
355
+ licenseNotes?: Prisma.SortOrder;
356
+ englishName?: Prisma.SortOrder;
357
+ language?: Prisma.SortOrder;
358
+ textDirection?: Prisma.SortOrder;
359
+ sha256?: Prisma.SortOrder;
360
+ };
361
+ export type DatasetMinOrderByAggregateInput = {
362
+ id?: Prisma.SortOrder;
363
+ name?: Prisma.SortOrder;
364
+ website?: Prisma.SortOrder;
365
+ licenseUrl?: Prisma.SortOrder;
366
+ licenseNotes?: Prisma.SortOrder;
367
+ englishName?: Prisma.SortOrder;
368
+ language?: Prisma.SortOrder;
369
+ textDirection?: Prisma.SortOrder;
370
+ sha256?: Prisma.SortOrder;
371
+ };
372
+ export type DatasetScalarRelationFilter = {
373
+ is?: Prisma.DatasetWhereInput;
374
+ isNot?: Prisma.DatasetWhereInput;
375
+ };
376
+ export type DatasetCreateNestedOneWithoutEntitiesInput = {
377
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutEntitiesInput, Prisma.DatasetUncheckedCreateWithoutEntitiesInput>;
378
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutEntitiesInput;
379
+ connect?: Prisma.DatasetWhereUniqueInput;
380
+ };
381
+ export type DatasetUpdateOneRequiredWithoutEntitiesNestedInput = {
382
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutEntitiesInput, Prisma.DatasetUncheckedCreateWithoutEntitiesInput>;
383
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutEntitiesInput;
384
+ upsert?: Prisma.DatasetUpsertWithoutEntitiesInput;
385
+ connect?: Prisma.DatasetWhereUniqueInput;
386
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetUpdateToOneWithWhereWithoutEntitiesInput, Prisma.DatasetUpdateWithoutEntitiesInput>, Prisma.DatasetUncheckedUpdateWithoutEntitiesInput>;
387
+ };
388
+ export type DatasetCreateNestedOneWithoutBooksInput = {
389
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutBooksInput, Prisma.DatasetUncheckedCreateWithoutBooksInput>;
390
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutBooksInput;
391
+ connect?: Prisma.DatasetWhereUniqueInput;
392
+ };
393
+ export type DatasetUpdateOneRequiredWithoutBooksNestedInput = {
394
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutBooksInput, Prisma.DatasetUncheckedCreateWithoutBooksInput>;
395
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutBooksInput;
396
+ upsert?: Prisma.DatasetUpsertWithoutBooksInput;
397
+ connect?: Prisma.DatasetWhereUniqueInput;
398
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetUpdateToOneWithWhereWithoutBooksInput, Prisma.DatasetUpdateWithoutBooksInput>, Prisma.DatasetUncheckedUpdateWithoutBooksInput>;
399
+ };
400
+ export type DatasetCreateNestedOneWithoutChaptersInput = {
401
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutChaptersInput, Prisma.DatasetUncheckedCreateWithoutChaptersInput>;
402
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutChaptersInput;
403
+ connect?: Prisma.DatasetWhereUniqueInput;
404
+ };
405
+ export type DatasetUpdateOneRequiredWithoutChaptersNestedInput = {
406
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutChaptersInput, Prisma.DatasetUncheckedCreateWithoutChaptersInput>;
407
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutChaptersInput;
408
+ upsert?: Prisma.DatasetUpsertWithoutChaptersInput;
409
+ connect?: Prisma.DatasetWhereUniqueInput;
410
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetUpdateToOneWithWhereWithoutChaptersInput, Prisma.DatasetUpdateWithoutChaptersInput>, Prisma.DatasetUncheckedUpdateWithoutChaptersInput>;
411
+ };
412
+ export type DatasetCreateNestedOneWithoutVersesInput = {
413
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutVersesInput, Prisma.DatasetUncheckedCreateWithoutVersesInput>;
414
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutVersesInput;
415
+ connect?: Prisma.DatasetWhereUniqueInput;
416
+ };
417
+ export type DatasetUpdateOneRequiredWithoutVersesNestedInput = {
418
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutVersesInput, Prisma.DatasetUncheckedCreateWithoutVersesInput>;
419
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutVersesInput;
420
+ upsert?: Prisma.DatasetUpsertWithoutVersesInput;
421
+ connect?: Prisma.DatasetWhereUniqueInput;
422
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetUpdateToOneWithWhereWithoutVersesInput, Prisma.DatasetUpdateWithoutVersesInput>, Prisma.DatasetUncheckedUpdateWithoutVersesInput>;
423
+ };
424
+ export type DatasetCreateNestedOneWithoutReferencesInput = {
425
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutReferencesInput, Prisma.DatasetUncheckedCreateWithoutReferencesInput>;
426
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutReferencesInput;
427
+ connect?: Prisma.DatasetWhereUniqueInput;
428
+ };
429
+ export type DatasetUpdateOneRequiredWithoutReferencesNestedInput = {
430
+ create?: Prisma.XOR<Prisma.DatasetCreateWithoutReferencesInput, Prisma.DatasetUncheckedCreateWithoutReferencesInput>;
431
+ connectOrCreate?: Prisma.DatasetCreateOrConnectWithoutReferencesInput;
432
+ upsert?: Prisma.DatasetUpsertWithoutReferencesInput;
433
+ connect?: Prisma.DatasetWhereUniqueInput;
434
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetUpdateToOneWithWhereWithoutReferencesInput, Prisma.DatasetUpdateWithoutReferencesInput>, Prisma.DatasetUncheckedUpdateWithoutReferencesInput>;
435
+ };
436
+ export type DatasetCreateWithoutEntitiesInput = {
437
+ id: string;
438
+ name: string;
439
+ website: string;
440
+ licenseUrl: string;
441
+ licenseNotes?: string | null;
442
+ englishName: string;
443
+ language: string;
444
+ textDirection: string;
445
+ sha256?: string | null;
446
+ books?: Prisma.DatasetBookCreateNestedManyWithoutDatasetInput;
447
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutDatasetInput;
448
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutDatasetInput;
449
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutDatasetInput;
450
+ };
451
+ export type DatasetUncheckedCreateWithoutEntitiesInput = {
452
+ id: string;
453
+ name: string;
454
+ website: string;
455
+ licenseUrl: string;
456
+ licenseNotes?: string | null;
457
+ englishName: string;
458
+ language: string;
459
+ textDirection: string;
460
+ sha256?: string | null;
461
+ books?: Prisma.DatasetBookUncheckedCreateNestedManyWithoutDatasetInput;
462
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutDatasetInput;
463
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutDatasetInput;
464
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutDatasetInput;
465
+ };
466
+ export type DatasetCreateOrConnectWithoutEntitiesInput = {
467
+ where: Prisma.DatasetWhereUniqueInput;
468
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutEntitiesInput, Prisma.DatasetUncheckedCreateWithoutEntitiesInput>;
469
+ };
470
+ export type DatasetUpsertWithoutEntitiesInput = {
471
+ update: Prisma.XOR<Prisma.DatasetUpdateWithoutEntitiesInput, Prisma.DatasetUncheckedUpdateWithoutEntitiesInput>;
472
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutEntitiesInput, Prisma.DatasetUncheckedCreateWithoutEntitiesInput>;
473
+ where?: Prisma.DatasetWhereInput;
474
+ };
475
+ export type DatasetUpdateToOneWithWhereWithoutEntitiesInput = {
476
+ where?: Prisma.DatasetWhereInput;
477
+ data: Prisma.XOR<Prisma.DatasetUpdateWithoutEntitiesInput, Prisma.DatasetUncheckedUpdateWithoutEntitiesInput>;
478
+ };
479
+ export type DatasetUpdateWithoutEntitiesInput = {
480
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
481
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
482
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
483
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
484
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
485
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
486
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
487
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
488
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
489
+ books?: Prisma.DatasetBookUpdateManyWithoutDatasetNestedInput;
490
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutDatasetNestedInput;
491
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutDatasetNestedInput;
492
+ references?: Prisma.DatasetReferenceUpdateManyWithoutDatasetNestedInput;
493
+ };
494
+ export type DatasetUncheckedUpdateWithoutEntitiesInput = {
495
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
496
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
497
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
498
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
499
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
500
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
501
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
502
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
503
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
504
+ books?: Prisma.DatasetBookUncheckedUpdateManyWithoutDatasetNestedInput;
505
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutDatasetNestedInput;
506
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutDatasetNestedInput;
507
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutDatasetNestedInput;
508
+ };
509
+ export type DatasetCreateWithoutBooksInput = {
510
+ id: string;
511
+ name: string;
512
+ website: string;
513
+ licenseUrl: string;
514
+ licenseNotes?: string | null;
515
+ englishName: string;
516
+ language: string;
517
+ textDirection: string;
518
+ sha256?: string | null;
519
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutDatasetInput;
520
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutDatasetInput;
521
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutDatasetInput;
522
+ entities?: Prisma.DatasetEntityCreateNestedManyWithoutDatasetInput;
523
+ };
524
+ export type DatasetUncheckedCreateWithoutBooksInput = {
525
+ id: string;
526
+ name: string;
527
+ website: string;
528
+ licenseUrl: string;
529
+ licenseNotes?: string | null;
530
+ englishName: string;
531
+ language: string;
532
+ textDirection: string;
533
+ sha256?: string | null;
534
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutDatasetInput;
535
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutDatasetInput;
536
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutDatasetInput;
537
+ entities?: Prisma.DatasetEntityUncheckedCreateNestedManyWithoutDatasetInput;
538
+ };
539
+ export type DatasetCreateOrConnectWithoutBooksInput = {
540
+ where: Prisma.DatasetWhereUniqueInput;
541
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutBooksInput, Prisma.DatasetUncheckedCreateWithoutBooksInput>;
542
+ };
543
+ export type DatasetUpsertWithoutBooksInput = {
544
+ update: Prisma.XOR<Prisma.DatasetUpdateWithoutBooksInput, Prisma.DatasetUncheckedUpdateWithoutBooksInput>;
545
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutBooksInput, Prisma.DatasetUncheckedCreateWithoutBooksInput>;
546
+ where?: Prisma.DatasetWhereInput;
547
+ };
548
+ export type DatasetUpdateToOneWithWhereWithoutBooksInput = {
549
+ where?: Prisma.DatasetWhereInput;
550
+ data: Prisma.XOR<Prisma.DatasetUpdateWithoutBooksInput, Prisma.DatasetUncheckedUpdateWithoutBooksInput>;
551
+ };
552
+ export type DatasetUpdateWithoutBooksInput = {
553
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
554
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
555
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
556
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
557
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
558
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
559
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
560
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
561
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
562
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutDatasetNestedInput;
563
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutDatasetNestedInput;
564
+ references?: Prisma.DatasetReferenceUpdateManyWithoutDatasetNestedInput;
565
+ entities?: Prisma.DatasetEntityUpdateManyWithoutDatasetNestedInput;
566
+ };
567
+ export type DatasetUncheckedUpdateWithoutBooksInput = {
568
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
569
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
570
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
571
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
572
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
573
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
574
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
575
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
576
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
577
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutDatasetNestedInput;
578
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutDatasetNestedInput;
579
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutDatasetNestedInput;
580
+ entities?: Prisma.DatasetEntityUncheckedUpdateManyWithoutDatasetNestedInput;
581
+ };
582
+ export type DatasetCreateWithoutChaptersInput = {
583
+ id: string;
584
+ name: string;
585
+ website: string;
586
+ licenseUrl: string;
587
+ licenseNotes?: string | null;
588
+ englishName: string;
589
+ language: string;
590
+ textDirection: string;
591
+ sha256?: string | null;
592
+ books?: Prisma.DatasetBookCreateNestedManyWithoutDatasetInput;
593
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutDatasetInput;
594
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutDatasetInput;
595
+ entities?: Prisma.DatasetEntityCreateNestedManyWithoutDatasetInput;
596
+ };
597
+ export type DatasetUncheckedCreateWithoutChaptersInput = {
598
+ id: string;
599
+ name: string;
600
+ website: string;
601
+ licenseUrl: string;
602
+ licenseNotes?: string | null;
603
+ englishName: string;
604
+ language: string;
605
+ textDirection: string;
606
+ sha256?: string | null;
607
+ books?: Prisma.DatasetBookUncheckedCreateNestedManyWithoutDatasetInput;
608
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutDatasetInput;
609
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutDatasetInput;
610
+ entities?: Prisma.DatasetEntityUncheckedCreateNestedManyWithoutDatasetInput;
611
+ };
612
+ export type DatasetCreateOrConnectWithoutChaptersInput = {
613
+ where: Prisma.DatasetWhereUniqueInput;
614
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutChaptersInput, Prisma.DatasetUncheckedCreateWithoutChaptersInput>;
615
+ };
616
+ export type DatasetUpsertWithoutChaptersInput = {
617
+ update: Prisma.XOR<Prisma.DatasetUpdateWithoutChaptersInput, Prisma.DatasetUncheckedUpdateWithoutChaptersInput>;
618
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutChaptersInput, Prisma.DatasetUncheckedCreateWithoutChaptersInput>;
619
+ where?: Prisma.DatasetWhereInput;
620
+ };
621
+ export type DatasetUpdateToOneWithWhereWithoutChaptersInput = {
622
+ where?: Prisma.DatasetWhereInput;
623
+ data: Prisma.XOR<Prisma.DatasetUpdateWithoutChaptersInput, Prisma.DatasetUncheckedUpdateWithoutChaptersInput>;
624
+ };
625
+ export type DatasetUpdateWithoutChaptersInput = {
626
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
627
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
628
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
629
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
630
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
631
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
632
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
633
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
634
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
635
+ books?: Prisma.DatasetBookUpdateManyWithoutDatasetNestedInput;
636
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutDatasetNestedInput;
637
+ references?: Prisma.DatasetReferenceUpdateManyWithoutDatasetNestedInput;
638
+ entities?: Prisma.DatasetEntityUpdateManyWithoutDatasetNestedInput;
639
+ };
640
+ export type DatasetUncheckedUpdateWithoutChaptersInput = {
641
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
642
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
643
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
644
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
645
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
646
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
647
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
648
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
649
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
650
+ books?: Prisma.DatasetBookUncheckedUpdateManyWithoutDatasetNestedInput;
651
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutDatasetNestedInput;
652
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutDatasetNestedInput;
653
+ entities?: Prisma.DatasetEntityUncheckedUpdateManyWithoutDatasetNestedInput;
654
+ };
655
+ export type DatasetCreateWithoutVersesInput = {
656
+ id: string;
657
+ name: string;
658
+ website: string;
659
+ licenseUrl: string;
660
+ licenseNotes?: string | null;
661
+ englishName: string;
662
+ language: string;
663
+ textDirection: string;
664
+ sha256?: string | null;
665
+ books?: Prisma.DatasetBookCreateNestedManyWithoutDatasetInput;
666
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutDatasetInput;
667
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutDatasetInput;
668
+ entities?: Prisma.DatasetEntityCreateNestedManyWithoutDatasetInput;
669
+ };
670
+ export type DatasetUncheckedCreateWithoutVersesInput = {
671
+ id: string;
672
+ name: string;
673
+ website: string;
674
+ licenseUrl: string;
675
+ licenseNotes?: string | null;
676
+ englishName: string;
677
+ language: string;
678
+ textDirection: string;
679
+ sha256?: string | null;
680
+ books?: Prisma.DatasetBookUncheckedCreateNestedManyWithoutDatasetInput;
681
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutDatasetInput;
682
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutDatasetInput;
683
+ entities?: Prisma.DatasetEntityUncheckedCreateNestedManyWithoutDatasetInput;
684
+ };
685
+ export type DatasetCreateOrConnectWithoutVersesInput = {
686
+ where: Prisma.DatasetWhereUniqueInput;
687
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutVersesInput, Prisma.DatasetUncheckedCreateWithoutVersesInput>;
688
+ };
689
+ export type DatasetUpsertWithoutVersesInput = {
690
+ update: Prisma.XOR<Prisma.DatasetUpdateWithoutVersesInput, Prisma.DatasetUncheckedUpdateWithoutVersesInput>;
691
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutVersesInput, Prisma.DatasetUncheckedCreateWithoutVersesInput>;
692
+ where?: Prisma.DatasetWhereInput;
693
+ };
694
+ export type DatasetUpdateToOneWithWhereWithoutVersesInput = {
695
+ where?: Prisma.DatasetWhereInput;
696
+ data: Prisma.XOR<Prisma.DatasetUpdateWithoutVersesInput, Prisma.DatasetUncheckedUpdateWithoutVersesInput>;
697
+ };
698
+ export type DatasetUpdateWithoutVersesInput = {
699
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
700
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
701
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
702
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
703
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
704
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
705
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
706
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
707
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
708
+ books?: Prisma.DatasetBookUpdateManyWithoutDatasetNestedInput;
709
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutDatasetNestedInput;
710
+ references?: Prisma.DatasetReferenceUpdateManyWithoutDatasetNestedInput;
711
+ entities?: Prisma.DatasetEntityUpdateManyWithoutDatasetNestedInput;
712
+ };
713
+ export type DatasetUncheckedUpdateWithoutVersesInput = {
714
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
715
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
716
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
717
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
718
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
719
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
720
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
721
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
722
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
723
+ books?: Prisma.DatasetBookUncheckedUpdateManyWithoutDatasetNestedInput;
724
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutDatasetNestedInput;
725
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutDatasetNestedInput;
726
+ entities?: Prisma.DatasetEntityUncheckedUpdateManyWithoutDatasetNestedInput;
727
+ };
728
+ export type DatasetCreateWithoutReferencesInput = {
729
+ id: string;
730
+ name: string;
731
+ website: string;
732
+ licenseUrl: string;
733
+ licenseNotes?: string | null;
734
+ englishName: string;
735
+ language: string;
736
+ textDirection: string;
737
+ sha256?: string | null;
738
+ books?: Prisma.DatasetBookCreateNestedManyWithoutDatasetInput;
739
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutDatasetInput;
740
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutDatasetInput;
741
+ entities?: Prisma.DatasetEntityCreateNestedManyWithoutDatasetInput;
742
+ };
743
+ export type DatasetUncheckedCreateWithoutReferencesInput = {
744
+ id: string;
745
+ name: string;
746
+ website: string;
747
+ licenseUrl: string;
748
+ licenseNotes?: string | null;
749
+ englishName: string;
750
+ language: string;
751
+ textDirection: string;
752
+ sha256?: string | null;
753
+ books?: Prisma.DatasetBookUncheckedCreateNestedManyWithoutDatasetInput;
754
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutDatasetInput;
755
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutDatasetInput;
756
+ entities?: Prisma.DatasetEntityUncheckedCreateNestedManyWithoutDatasetInput;
757
+ };
758
+ export type DatasetCreateOrConnectWithoutReferencesInput = {
759
+ where: Prisma.DatasetWhereUniqueInput;
760
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutReferencesInput, Prisma.DatasetUncheckedCreateWithoutReferencesInput>;
761
+ };
762
+ export type DatasetUpsertWithoutReferencesInput = {
763
+ update: Prisma.XOR<Prisma.DatasetUpdateWithoutReferencesInput, Prisma.DatasetUncheckedUpdateWithoutReferencesInput>;
764
+ create: Prisma.XOR<Prisma.DatasetCreateWithoutReferencesInput, Prisma.DatasetUncheckedCreateWithoutReferencesInput>;
765
+ where?: Prisma.DatasetWhereInput;
766
+ };
767
+ export type DatasetUpdateToOneWithWhereWithoutReferencesInput = {
768
+ where?: Prisma.DatasetWhereInput;
769
+ data: Prisma.XOR<Prisma.DatasetUpdateWithoutReferencesInput, Prisma.DatasetUncheckedUpdateWithoutReferencesInput>;
770
+ };
771
+ export type DatasetUpdateWithoutReferencesInput = {
772
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
773
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
774
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
775
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
776
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
777
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
778
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
779
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
780
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
781
+ books?: Prisma.DatasetBookUpdateManyWithoutDatasetNestedInput;
782
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutDatasetNestedInput;
783
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutDatasetNestedInput;
784
+ entities?: Prisma.DatasetEntityUpdateManyWithoutDatasetNestedInput;
785
+ };
786
+ export type DatasetUncheckedUpdateWithoutReferencesInput = {
787
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
788
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
789
+ website?: Prisma.StringFieldUpdateOperationsInput | string;
790
+ licenseUrl?: Prisma.StringFieldUpdateOperationsInput | string;
791
+ licenseNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
792
+ englishName?: Prisma.StringFieldUpdateOperationsInput | string;
793
+ language?: Prisma.StringFieldUpdateOperationsInput | string;
794
+ textDirection?: Prisma.StringFieldUpdateOperationsInput | string;
795
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
796
+ books?: Prisma.DatasetBookUncheckedUpdateManyWithoutDatasetNestedInput;
797
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutDatasetNestedInput;
798
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutDatasetNestedInput;
799
+ entities?: Prisma.DatasetEntityUncheckedUpdateManyWithoutDatasetNestedInput;
800
+ };
801
+ /**
802
+ * Count Type DatasetCountOutputType
803
+ */
804
+ export type DatasetCountOutputType = {
805
+ books: number;
806
+ chapters: number;
807
+ verses: number;
808
+ references: number;
809
+ entities: number;
810
+ };
811
+ export type DatasetCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
812
+ books?: boolean | DatasetCountOutputTypeCountBooksArgs;
813
+ chapters?: boolean | DatasetCountOutputTypeCountChaptersArgs;
814
+ verses?: boolean | DatasetCountOutputTypeCountVersesArgs;
815
+ references?: boolean | DatasetCountOutputTypeCountReferencesArgs;
816
+ entities?: boolean | DatasetCountOutputTypeCountEntitiesArgs;
817
+ };
818
+ /**
819
+ * DatasetCountOutputType without action
820
+ */
821
+ export type DatasetCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
822
+ /**
823
+ * Select specific fields to fetch from the DatasetCountOutputType
824
+ */
825
+ select?: Prisma.DatasetCountOutputTypeSelect<ExtArgs> | null;
826
+ };
827
+ /**
828
+ * DatasetCountOutputType without action
829
+ */
830
+ export type DatasetCountOutputTypeCountBooksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
831
+ where?: Prisma.DatasetBookWhereInput;
832
+ };
833
+ /**
834
+ * DatasetCountOutputType without action
835
+ */
836
+ export type DatasetCountOutputTypeCountChaptersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
837
+ where?: Prisma.DatasetChapterWhereInput;
838
+ };
839
+ /**
840
+ * DatasetCountOutputType without action
841
+ */
842
+ export type DatasetCountOutputTypeCountVersesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
843
+ where?: Prisma.DatasetChapterVerseWhereInput;
844
+ };
845
+ /**
846
+ * DatasetCountOutputType without action
847
+ */
848
+ export type DatasetCountOutputTypeCountReferencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
849
+ where?: Prisma.DatasetReferenceWhereInput;
850
+ };
851
+ /**
852
+ * DatasetCountOutputType without action
853
+ */
854
+ export type DatasetCountOutputTypeCountEntitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
855
+ where?: Prisma.DatasetEntityWhereInput;
856
+ };
857
+ export type DatasetSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
858
+ id?: boolean;
859
+ name?: boolean;
860
+ website?: boolean;
861
+ licenseUrl?: boolean;
862
+ licenseNotes?: boolean;
863
+ englishName?: boolean;
864
+ language?: boolean;
865
+ textDirection?: boolean;
866
+ sha256?: boolean;
867
+ books?: boolean | Prisma.Dataset$booksArgs<ExtArgs>;
868
+ chapters?: boolean | Prisma.Dataset$chaptersArgs<ExtArgs>;
869
+ verses?: boolean | Prisma.Dataset$versesArgs<ExtArgs>;
870
+ references?: boolean | Prisma.Dataset$referencesArgs<ExtArgs>;
871
+ entities?: boolean | Prisma.Dataset$entitiesArgs<ExtArgs>;
872
+ _count?: boolean | Prisma.DatasetCountOutputTypeDefaultArgs<ExtArgs>;
873
+ }, ExtArgs["result"]["dataset"]>;
874
+ export type DatasetSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
875
+ id?: boolean;
876
+ name?: boolean;
877
+ website?: boolean;
878
+ licenseUrl?: boolean;
879
+ licenseNotes?: boolean;
880
+ englishName?: boolean;
881
+ language?: boolean;
882
+ textDirection?: boolean;
883
+ sha256?: boolean;
884
+ }, ExtArgs["result"]["dataset"]>;
885
+ export type DatasetSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
886
+ id?: boolean;
887
+ name?: boolean;
888
+ website?: boolean;
889
+ licenseUrl?: boolean;
890
+ licenseNotes?: boolean;
891
+ englishName?: boolean;
892
+ language?: boolean;
893
+ textDirection?: boolean;
894
+ sha256?: boolean;
895
+ }, ExtArgs["result"]["dataset"]>;
896
+ export type DatasetSelectScalar = {
897
+ id?: boolean;
898
+ name?: boolean;
899
+ website?: boolean;
900
+ licenseUrl?: boolean;
901
+ licenseNotes?: boolean;
902
+ englishName?: boolean;
903
+ language?: boolean;
904
+ textDirection?: boolean;
905
+ sha256?: boolean;
906
+ };
907
+ export type DatasetOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "website" | "licenseUrl" | "licenseNotes" | "englishName" | "language" | "textDirection" | "sha256", ExtArgs["result"]["dataset"]>;
908
+ export type DatasetInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
909
+ books?: boolean | Prisma.Dataset$booksArgs<ExtArgs>;
910
+ chapters?: boolean | Prisma.Dataset$chaptersArgs<ExtArgs>;
911
+ verses?: boolean | Prisma.Dataset$versesArgs<ExtArgs>;
912
+ references?: boolean | Prisma.Dataset$referencesArgs<ExtArgs>;
913
+ entities?: boolean | Prisma.Dataset$entitiesArgs<ExtArgs>;
914
+ _count?: boolean | Prisma.DatasetCountOutputTypeDefaultArgs<ExtArgs>;
915
+ };
916
+ export type DatasetIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
917
+ export type DatasetIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
918
+ export type $DatasetPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
919
+ name: "Dataset";
920
+ objects: {
921
+ books: Prisma.$DatasetBookPayload<ExtArgs>[];
922
+ chapters: Prisma.$DatasetChapterPayload<ExtArgs>[];
923
+ verses: Prisma.$DatasetChapterVersePayload<ExtArgs>[];
924
+ references: Prisma.$DatasetReferencePayload<ExtArgs>[];
925
+ entities: Prisma.$DatasetEntityPayload<ExtArgs>[];
926
+ };
927
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
928
+ id: string;
929
+ name: string;
930
+ website: string;
931
+ licenseUrl: string;
932
+ licenseNotes: string | null;
933
+ englishName: string;
934
+ language: string;
935
+ textDirection: string;
936
+ sha256: string | null;
937
+ }, ExtArgs["result"]["dataset"]>;
938
+ composites: {};
939
+ };
940
+ export type DatasetGetPayload<S extends boolean | null | undefined | DatasetDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DatasetPayload, S>;
941
+ export type DatasetCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DatasetFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
942
+ select?: DatasetCountAggregateInputType | true;
943
+ };
944
+ export interface DatasetDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
945
+ [K: symbol]: {
946
+ types: Prisma.TypeMap<ExtArgs>['model']['Dataset'];
947
+ meta: {
948
+ name: 'Dataset';
949
+ };
950
+ };
951
+ /**
952
+ * Find zero or one Dataset that matches the filter.
953
+ * @param {DatasetFindUniqueArgs} args - Arguments to find a Dataset
954
+ * @example
955
+ * // Get one Dataset
956
+ * const dataset = await prisma.dataset.findUnique({
957
+ * where: {
958
+ * // ... provide filter here
959
+ * }
960
+ * })
961
+ */
962
+ findUnique<T extends DatasetFindUniqueArgs>(args: Prisma.SelectSubset<T, DatasetFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
963
+ /**
964
+ * Find one Dataset that matches the filter or throw an error with `error.code='P2025'`
965
+ * if no matches were found.
966
+ * @param {DatasetFindUniqueOrThrowArgs} args - Arguments to find a Dataset
967
+ * @example
968
+ * // Get one Dataset
969
+ * const dataset = await prisma.dataset.findUniqueOrThrow({
970
+ * where: {
971
+ * // ... provide filter here
972
+ * }
973
+ * })
974
+ */
975
+ findUniqueOrThrow<T extends DatasetFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DatasetFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
976
+ /**
977
+ * Find the first Dataset that matches the filter.
978
+ * Note, that providing `undefined` is treated as the value not being there.
979
+ * Read more here: https://pris.ly/d/null-undefined
980
+ * @param {DatasetFindFirstArgs} args - Arguments to find a Dataset
981
+ * @example
982
+ * // Get one Dataset
983
+ * const dataset = await prisma.dataset.findFirst({
984
+ * where: {
985
+ * // ... provide filter here
986
+ * }
987
+ * })
988
+ */
989
+ findFirst<T extends DatasetFindFirstArgs>(args?: Prisma.SelectSubset<T, DatasetFindFirstArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
990
+ /**
991
+ * Find the first Dataset that matches the filter or
992
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
993
+ * Note, that providing `undefined` is treated as the value not being there.
994
+ * Read more here: https://pris.ly/d/null-undefined
995
+ * @param {DatasetFindFirstOrThrowArgs} args - Arguments to find a Dataset
996
+ * @example
997
+ * // Get one Dataset
998
+ * const dataset = await prisma.dataset.findFirstOrThrow({
999
+ * where: {
1000
+ * // ... provide filter here
1001
+ * }
1002
+ * })
1003
+ */
1004
+ findFirstOrThrow<T extends DatasetFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DatasetFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1005
+ /**
1006
+ * Find zero or more Datasets that matches the filter.
1007
+ * Note, that providing `undefined` is treated as the value not being there.
1008
+ * Read more here: https://pris.ly/d/null-undefined
1009
+ * @param {DatasetFindManyArgs} args - Arguments to filter and select certain fields only.
1010
+ * @example
1011
+ * // Get all Datasets
1012
+ * const datasets = await prisma.dataset.findMany()
1013
+ *
1014
+ * // Get first 10 Datasets
1015
+ * const datasets = await prisma.dataset.findMany({ take: 10 })
1016
+ *
1017
+ * // Only select the `id`
1018
+ * const datasetWithIdOnly = await prisma.dataset.findMany({ select: { id: true } })
1019
+ *
1020
+ */
1021
+ findMany<T extends DatasetFindManyArgs>(args?: Prisma.SelectSubset<T, DatasetFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1022
+ /**
1023
+ * Create a Dataset.
1024
+ * @param {DatasetCreateArgs} args - Arguments to create a Dataset.
1025
+ * @example
1026
+ * // Create one Dataset
1027
+ * const Dataset = await prisma.dataset.create({
1028
+ * data: {
1029
+ * // ... data to create a Dataset
1030
+ * }
1031
+ * })
1032
+ *
1033
+ */
1034
+ create<T extends DatasetCreateArgs>(args: Prisma.SelectSubset<T, DatasetCreateArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1035
+ /**
1036
+ * Create many Datasets.
1037
+ * @param {DatasetCreateManyArgs} args - Arguments to create many Datasets.
1038
+ * @example
1039
+ * // Create many Datasets
1040
+ * const dataset = await prisma.dataset.createMany({
1041
+ * data: [
1042
+ * // ... provide data here
1043
+ * ]
1044
+ * })
1045
+ *
1046
+ */
1047
+ createMany<T extends DatasetCreateManyArgs>(args?: Prisma.SelectSubset<T, DatasetCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1048
+ /**
1049
+ * Create many Datasets and returns the data saved in the database.
1050
+ * @param {DatasetCreateManyAndReturnArgs} args - Arguments to create many Datasets.
1051
+ * @example
1052
+ * // Create many Datasets
1053
+ * const dataset = await prisma.dataset.createManyAndReturn({
1054
+ * data: [
1055
+ * // ... provide data here
1056
+ * ]
1057
+ * })
1058
+ *
1059
+ * // Create many Datasets and only return the `id`
1060
+ * const datasetWithIdOnly = await prisma.dataset.createManyAndReturn({
1061
+ * select: { id: true },
1062
+ * data: [
1063
+ * // ... provide data here
1064
+ * ]
1065
+ * })
1066
+ * Note, that providing `undefined` is treated as the value not being there.
1067
+ * Read more here: https://pris.ly/d/null-undefined
1068
+ *
1069
+ */
1070
+ createManyAndReturn<T extends DatasetCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DatasetCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1071
+ /**
1072
+ * Delete a Dataset.
1073
+ * @param {DatasetDeleteArgs} args - Arguments to delete one Dataset.
1074
+ * @example
1075
+ * // Delete one Dataset
1076
+ * const Dataset = await prisma.dataset.delete({
1077
+ * where: {
1078
+ * // ... filter to delete one Dataset
1079
+ * }
1080
+ * })
1081
+ *
1082
+ */
1083
+ delete<T extends DatasetDeleteArgs>(args: Prisma.SelectSubset<T, DatasetDeleteArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1084
+ /**
1085
+ * Update one Dataset.
1086
+ * @param {DatasetUpdateArgs} args - Arguments to update one Dataset.
1087
+ * @example
1088
+ * // Update one Dataset
1089
+ * const dataset = await prisma.dataset.update({
1090
+ * where: {
1091
+ * // ... provide filter here
1092
+ * },
1093
+ * data: {
1094
+ * // ... provide data here
1095
+ * }
1096
+ * })
1097
+ *
1098
+ */
1099
+ update<T extends DatasetUpdateArgs>(args: Prisma.SelectSubset<T, DatasetUpdateArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1100
+ /**
1101
+ * Delete zero or more Datasets.
1102
+ * @param {DatasetDeleteManyArgs} args - Arguments to filter Datasets to delete.
1103
+ * @example
1104
+ * // Delete a few Datasets
1105
+ * const { count } = await prisma.dataset.deleteMany({
1106
+ * where: {
1107
+ * // ... provide filter here
1108
+ * }
1109
+ * })
1110
+ *
1111
+ */
1112
+ deleteMany<T extends DatasetDeleteManyArgs>(args?: Prisma.SelectSubset<T, DatasetDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1113
+ /**
1114
+ * Update zero or more Datasets.
1115
+ * Note, that providing `undefined` is treated as the value not being there.
1116
+ * Read more here: https://pris.ly/d/null-undefined
1117
+ * @param {DatasetUpdateManyArgs} args - Arguments to update one or more rows.
1118
+ * @example
1119
+ * // Update many Datasets
1120
+ * const dataset = await prisma.dataset.updateMany({
1121
+ * where: {
1122
+ * // ... provide filter here
1123
+ * },
1124
+ * data: {
1125
+ * // ... provide data here
1126
+ * }
1127
+ * })
1128
+ *
1129
+ */
1130
+ updateMany<T extends DatasetUpdateManyArgs>(args: Prisma.SelectSubset<T, DatasetUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1131
+ /**
1132
+ * Update zero or more Datasets and returns the data updated in the database.
1133
+ * @param {DatasetUpdateManyAndReturnArgs} args - Arguments to update many Datasets.
1134
+ * @example
1135
+ * // Update many Datasets
1136
+ * const dataset = await prisma.dataset.updateManyAndReturn({
1137
+ * where: {
1138
+ * // ... provide filter here
1139
+ * },
1140
+ * data: [
1141
+ * // ... provide data here
1142
+ * ]
1143
+ * })
1144
+ *
1145
+ * // Update zero or more Datasets and only return the `id`
1146
+ * const datasetWithIdOnly = await prisma.dataset.updateManyAndReturn({
1147
+ * select: { id: true },
1148
+ * where: {
1149
+ * // ... provide filter here
1150
+ * },
1151
+ * data: [
1152
+ * // ... provide data here
1153
+ * ]
1154
+ * })
1155
+ * Note, that providing `undefined` is treated as the value not being there.
1156
+ * Read more here: https://pris.ly/d/null-undefined
1157
+ *
1158
+ */
1159
+ updateManyAndReturn<T extends DatasetUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DatasetUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1160
+ /**
1161
+ * Create or update one Dataset.
1162
+ * @param {DatasetUpsertArgs} args - Arguments to update or create a Dataset.
1163
+ * @example
1164
+ * // Update or create a Dataset
1165
+ * const dataset = await prisma.dataset.upsert({
1166
+ * create: {
1167
+ * // ... data to create a Dataset
1168
+ * },
1169
+ * update: {
1170
+ * // ... in case it already exists, update
1171
+ * },
1172
+ * where: {
1173
+ * // ... the filter for the Dataset we want to update
1174
+ * }
1175
+ * })
1176
+ */
1177
+ upsert<T extends DatasetUpsertArgs>(args: Prisma.SelectSubset<T, DatasetUpsertArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1178
+ /**
1179
+ * Count the number of Datasets.
1180
+ * Note, that providing `undefined` is treated as the value not being there.
1181
+ * Read more here: https://pris.ly/d/null-undefined
1182
+ * @param {DatasetCountArgs} args - Arguments to filter Datasets to count.
1183
+ * @example
1184
+ * // Count the number of Datasets
1185
+ * const count = await prisma.dataset.count({
1186
+ * where: {
1187
+ * // ... the filter for the Datasets we want to count
1188
+ * }
1189
+ * })
1190
+ **/
1191
+ count<T extends DatasetCountArgs>(args?: Prisma.Subset<T, DatasetCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DatasetCountAggregateOutputType> : number>;
1192
+ /**
1193
+ * Allows you to perform aggregations operations on a Dataset.
1194
+ * Note, that providing `undefined` is treated as the value not being there.
1195
+ * Read more here: https://pris.ly/d/null-undefined
1196
+ * @param {DatasetAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1197
+ * @example
1198
+ * // Ordered by age ascending
1199
+ * // Where email contains prisma.io
1200
+ * // Limited to the 10 users
1201
+ * const aggregations = await prisma.user.aggregate({
1202
+ * _avg: {
1203
+ * age: true,
1204
+ * },
1205
+ * where: {
1206
+ * email: {
1207
+ * contains: "prisma.io",
1208
+ * },
1209
+ * },
1210
+ * orderBy: {
1211
+ * age: "asc",
1212
+ * },
1213
+ * take: 10,
1214
+ * })
1215
+ **/
1216
+ aggregate<T extends DatasetAggregateArgs>(args: Prisma.Subset<T, DatasetAggregateArgs>): Prisma.PrismaPromise<GetDatasetAggregateType<T>>;
1217
+ /**
1218
+ * Group by Dataset.
1219
+ * Note, that providing `undefined` is treated as the value not being there.
1220
+ * Read more here: https://pris.ly/d/null-undefined
1221
+ * @param {DatasetGroupByArgs} args - Group by arguments.
1222
+ * @example
1223
+ * // Group by city, order by createdAt, get count
1224
+ * const result = await prisma.user.groupBy({
1225
+ * by: ['city', 'createdAt'],
1226
+ * orderBy: {
1227
+ * createdAt: true
1228
+ * },
1229
+ * _count: {
1230
+ * _all: true
1231
+ * },
1232
+ * })
1233
+ *
1234
+ **/
1235
+ groupBy<T extends DatasetGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1236
+ orderBy: DatasetGroupByArgs['orderBy'];
1237
+ } : {
1238
+ orderBy?: DatasetGroupByArgs['orderBy'];
1239
+ }, 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 ? {
1240
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1241
+ Error,
1242
+ 'Field ',
1243
+ P,
1244
+ ` in "having" needs to be provided in "by"`
1245
+ ];
1246
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1247
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1248
+ }[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 ? {} : {
1249
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1250
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1251
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1252
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, DatasetGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDatasetGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1253
+ /**
1254
+ * Fields of the Dataset model
1255
+ */
1256
+ readonly fields: DatasetFieldRefs;
1257
+ }
1258
+ /**
1259
+ * The delegate class that acts as a "Promise-like" for Dataset.
1260
+ * Why is this prefixed with `Prisma__`?
1261
+ * Because we want to prevent naming conflicts as mentioned in
1262
+ * https://github.com/prisma/prisma-client-js/issues/707
1263
+ */
1264
+ export interface Prisma__DatasetClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1265
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1266
+ books<T extends Prisma.Dataset$booksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Dataset$booksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1267
+ chapters<T extends Prisma.Dataset$chaptersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Dataset$chaptersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetChapterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1268
+ verses<T extends Prisma.Dataset$versesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Dataset$versesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetChapterVersePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1269
+ references<T extends Prisma.Dataset$referencesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Dataset$referencesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetReferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1270
+ entities<T extends Prisma.Dataset$entitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Dataset$entitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetEntityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1271
+ /**
1272
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1273
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1274
+ * @param onrejected The callback to execute when the Promise is rejected.
1275
+ * @returns A Promise for the completion of which ever callback is executed.
1276
+ */
1277
+ 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>;
1278
+ /**
1279
+ * Attaches a callback for only the rejection of the Promise.
1280
+ * @param onrejected The callback to execute when the Promise is rejected.
1281
+ * @returns A Promise for the completion of the callback.
1282
+ */
1283
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1284
+ /**
1285
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1286
+ * resolved value cannot be modified from the callback.
1287
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1288
+ * @returns A Promise for the completion of the callback.
1289
+ */
1290
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1291
+ }
1292
+ /**
1293
+ * Fields of the Dataset model
1294
+ */
1295
+ export interface DatasetFieldRefs {
1296
+ readonly id: Prisma.FieldRef<"Dataset", 'String'>;
1297
+ readonly name: Prisma.FieldRef<"Dataset", 'String'>;
1298
+ readonly website: Prisma.FieldRef<"Dataset", 'String'>;
1299
+ readonly licenseUrl: Prisma.FieldRef<"Dataset", 'String'>;
1300
+ readonly licenseNotes: Prisma.FieldRef<"Dataset", 'String'>;
1301
+ readonly englishName: Prisma.FieldRef<"Dataset", 'String'>;
1302
+ readonly language: Prisma.FieldRef<"Dataset", 'String'>;
1303
+ readonly textDirection: Prisma.FieldRef<"Dataset", 'String'>;
1304
+ readonly sha256: Prisma.FieldRef<"Dataset", 'String'>;
1305
+ }
1306
+ /**
1307
+ * Dataset findUnique
1308
+ */
1309
+ export type DatasetFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1310
+ /**
1311
+ * Select specific fields to fetch from the Dataset
1312
+ */
1313
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1314
+ /**
1315
+ * Omit specific fields from the Dataset
1316
+ */
1317
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1318
+ /**
1319
+ * Choose, which related nodes to fetch as well
1320
+ */
1321
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1322
+ /**
1323
+ * Filter, which Dataset to fetch.
1324
+ */
1325
+ where: Prisma.DatasetWhereUniqueInput;
1326
+ };
1327
+ /**
1328
+ * Dataset findUniqueOrThrow
1329
+ */
1330
+ export type DatasetFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1331
+ /**
1332
+ * Select specific fields to fetch from the Dataset
1333
+ */
1334
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1335
+ /**
1336
+ * Omit specific fields from the Dataset
1337
+ */
1338
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1339
+ /**
1340
+ * Choose, which related nodes to fetch as well
1341
+ */
1342
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1343
+ /**
1344
+ * Filter, which Dataset to fetch.
1345
+ */
1346
+ where: Prisma.DatasetWhereUniqueInput;
1347
+ };
1348
+ /**
1349
+ * Dataset findFirst
1350
+ */
1351
+ export type DatasetFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1352
+ /**
1353
+ * Select specific fields to fetch from the Dataset
1354
+ */
1355
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1356
+ /**
1357
+ * Omit specific fields from the Dataset
1358
+ */
1359
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1360
+ /**
1361
+ * Choose, which related nodes to fetch as well
1362
+ */
1363
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1364
+ /**
1365
+ * Filter, which Dataset to fetch.
1366
+ */
1367
+ where?: Prisma.DatasetWhereInput;
1368
+ /**
1369
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1370
+ *
1371
+ * Determine the order of Datasets to fetch.
1372
+ */
1373
+ orderBy?: Prisma.DatasetOrderByWithRelationInput | Prisma.DatasetOrderByWithRelationInput[];
1374
+ /**
1375
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1376
+ *
1377
+ * Sets the position for searching for Datasets.
1378
+ */
1379
+ cursor?: Prisma.DatasetWhereUniqueInput;
1380
+ /**
1381
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1382
+ *
1383
+ * Take `±n` Datasets from the position of the cursor.
1384
+ */
1385
+ take?: number;
1386
+ /**
1387
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1388
+ *
1389
+ * Skip the first `n` Datasets.
1390
+ */
1391
+ skip?: number;
1392
+ /**
1393
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1394
+ *
1395
+ * Filter by unique combinations of Datasets.
1396
+ */
1397
+ distinct?: Prisma.DatasetScalarFieldEnum | Prisma.DatasetScalarFieldEnum[];
1398
+ };
1399
+ /**
1400
+ * Dataset findFirstOrThrow
1401
+ */
1402
+ export type DatasetFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1403
+ /**
1404
+ * Select specific fields to fetch from the Dataset
1405
+ */
1406
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1407
+ /**
1408
+ * Omit specific fields from the Dataset
1409
+ */
1410
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1411
+ /**
1412
+ * Choose, which related nodes to fetch as well
1413
+ */
1414
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1415
+ /**
1416
+ * Filter, which Dataset to fetch.
1417
+ */
1418
+ where?: Prisma.DatasetWhereInput;
1419
+ /**
1420
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1421
+ *
1422
+ * Determine the order of Datasets to fetch.
1423
+ */
1424
+ orderBy?: Prisma.DatasetOrderByWithRelationInput | Prisma.DatasetOrderByWithRelationInput[];
1425
+ /**
1426
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1427
+ *
1428
+ * Sets the position for searching for Datasets.
1429
+ */
1430
+ cursor?: Prisma.DatasetWhereUniqueInput;
1431
+ /**
1432
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1433
+ *
1434
+ * Take `±n` Datasets from the position of the cursor.
1435
+ */
1436
+ take?: number;
1437
+ /**
1438
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1439
+ *
1440
+ * Skip the first `n` Datasets.
1441
+ */
1442
+ skip?: number;
1443
+ /**
1444
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1445
+ *
1446
+ * Filter by unique combinations of Datasets.
1447
+ */
1448
+ distinct?: Prisma.DatasetScalarFieldEnum | Prisma.DatasetScalarFieldEnum[];
1449
+ };
1450
+ /**
1451
+ * Dataset findMany
1452
+ */
1453
+ export type DatasetFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1454
+ /**
1455
+ * Select specific fields to fetch from the Dataset
1456
+ */
1457
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1458
+ /**
1459
+ * Omit specific fields from the Dataset
1460
+ */
1461
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1462
+ /**
1463
+ * Choose, which related nodes to fetch as well
1464
+ */
1465
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1466
+ /**
1467
+ * Filter, which Datasets to fetch.
1468
+ */
1469
+ where?: Prisma.DatasetWhereInput;
1470
+ /**
1471
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1472
+ *
1473
+ * Determine the order of Datasets to fetch.
1474
+ */
1475
+ orderBy?: Prisma.DatasetOrderByWithRelationInput | Prisma.DatasetOrderByWithRelationInput[];
1476
+ /**
1477
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1478
+ *
1479
+ * Sets the position for listing Datasets.
1480
+ */
1481
+ cursor?: Prisma.DatasetWhereUniqueInput;
1482
+ /**
1483
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1484
+ *
1485
+ * Take `±n` Datasets from the position of the cursor.
1486
+ */
1487
+ take?: number;
1488
+ /**
1489
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1490
+ *
1491
+ * Skip the first `n` Datasets.
1492
+ */
1493
+ skip?: number;
1494
+ /**
1495
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1496
+ *
1497
+ * Filter by unique combinations of Datasets.
1498
+ */
1499
+ distinct?: Prisma.DatasetScalarFieldEnum | Prisma.DatasetScalarFieldEnum[];
1500
+ };
1501
+ /**
1502
+ * Dataset create
1503
+ */
1504
+ export type DatasetCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1505
+ /**
1506
+ * Select specific fields to fetch from the Dataset
1507
+ */
1508
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1509
+ /**
1510
+ * Omit specific fields from the Dataset
1511
+ */
1512
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1513
+ /**
1514
+ * Choose, which related nodes to fetch as well
1515
+ */
1516
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1517
+ /**
1518
+ * The data needed to create a Dataset.
1519
+ */
1520
+ data: Prisma.XOR<Prisma.DatasetCreateInput, Prisma.DatasetUncheckedCreateInput>;
1521
+ };
1522
+ /**
1523
+ * Dataset createMany
1524
+ */
1525
+ export type DatasetCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1526
+ /**
1527
+ * The data used to create many Datasets.
1528
+ */
1529
+ data: Prisma.DatasetCreateManyInput | Prisma.DatasetCreateManyInput[];
1530
+ };
1531
+ /**
1532
+ * Dataset createManyAndReturn
1533
+ */
1534
+ export type DatasetCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1535
+ /**
1536
+ * Select specific fields to fetch from the Dataset
1537
+ */
1538
+ select?: Prisma.DatasetSelectCreateManyAndReturn<ExtArgs> | null;
1539
+ /**
1540
+ * Omit specific fields from the Dataset
1541
+ */
1542
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1543
+ /**
1544
+ * The data used to create many Datasets.
1545
+ */
1546
+ data: Prisma.DatasetCreateManyInput | Prisma.DatasetCreateManyInput[];
1547
+ };
1548
+ /**
1549
+ * Dataset update
1550
+ */
1551
+ export type DatasetUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1552
+ /**
1553
+ * Select specific fields to fetch from the Dataset
1554
+ */
1555
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1556
+ /**
1557
+ * Omit specific fields from the Dataset
1558
+ */
1559
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1560
+ /**
1561
+ * Choose, which related nodes to fetch as well
1562
+ */
1563
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1564
+ /**
1565
+ * The data needed to update a Dataset.
1566
+ */
1567
+ data: Prisma.XOR<Prisma.DatasetUpdateInput, Prisma.DatasetUncheckedUpdateInput>;
1568
+ /**
1569
+ * Choose, which Dataset to update.
1570
+ */
1571
+ where: Prisma.DatasetWhereUniqueInput;
1572
+ };
1573
+ /**
1574
+ * Dataset updateMany
1575
+ */
1576
+ export type DatasetUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1577
+ /**
1578
+ * The data used to update Datasets.
1579
+ */
1580
+ data: Prisma.XOR<Prisma.DatasetUpdateManyMutationInput, Prisma.DatasetUncheckedUpdateManyInput>;
1581
+ /**
1582
+ * Filter which Datasets to update
1583
+ */
1584
+ where?: Prisma.DatasetWhereInput;
1585
+ /**
1586
+ * Limit how many Datasets to update.
1587
+ */
1588
+ limit?: number;
1589
+ };
1590
+ /**
1591
+ * Dataset updateManyAndReturn
1592
+ */
1593
+ export type DatasetUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1594
+ /**
1595
+ * Select specific fields to fetch from the Dataset
1596
+ */
1597
+ select?: Prisma.DatasetSelectUpdateManyAndReturn<ExtArgs> | null;
1598
+ /**
1599
+ * Omit specific fields from the Dataset
1600
+ */
1601
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1602
+ /**
1603
+ * The data used to update Datasets.
1604
+ */
1605
+ data: Prisma.XOR<Prisma.DatasetUpdateManyMutationInput, Prisma.DatasetUncheckedUpdateManyInput>;
1606
+ /**
1607
+ * Filter which Datasets to update
1608
+ */
1609
+ where?: Prisma.DatasetWhereInput;
1610
+ /**
1611
+ * Limit how many Datasets to update.
1612
+ */
1613
+ limit?: number;
1614
+ };
1615
+ /**
1616
+ * Dataset upsert
1617
+ */
1618
+ export type DatasetUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1619
+ /**
1620
+ * Select specific fields to fetch from the Dataset
1621
+ */
1622
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1623
+ /**
1624
+ * Omit specific fields from the Dataset
1625
+ */
1626
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1627
+ /**
1628
+ * Choose, which related nodes to fetch as well
1629
+ */
1630
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1631
+ /**
1632
+ * The filter to search for the Dataset to update in case it exists.
1633
+ */
1634
+ where: Prisma.DatasetWhereUniqueInput;
1635
+ /**
1636
+ * In case the Dataset found by the `where` argument doesn't exist, create a new Dataset with this data.
1637
+ */
1638
+ create: Prisma.XOR<Prisma.DatasetCreateInput, Prisma.DatasetUncheckedCreateInput>;
1639
+ /**
1640
+ * In case the Dataset was found with the provided `where` argument, update it with this data.
1641
+ */
1642
+ update: Prisma.XOR<Prisma.DatasetUpdateInput, Prisma.DatasetUncheckedUpdateInput>;
1643
+ };
1644
+ /**
1645
+ * Dataset delete
1646
+ */
1647
+ export type DatasetDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1648
+ /**
1649
+ * Select specific fields to fetch from the Dataset
1650
+ */
1651
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1652
+ /**
1653
+ * Omit specific fields from the Dataset
1654
+ */
1655
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1656
+ /**
1657
+ * Choose, which related nodes to fetch as well
1658
+ */
1659
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1660
+ /**
1661
+ * Filter which Dataset to delete.
1662
+ */
1663
+ where: Prisma.DatasetWhereUniqueInput;
1664
+ };
1665
+ /**
1666
+ * Dataset deleteMany
1667
+ */
1668
+ export type DatasetDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1669
+ /**
1670
+ * Filter which Datasets to delete
1671
+ */
1672
+ where?: Prisma.DatasetWhereInput;
1673
+ /**
1674
+ * Limit how many Datasets to delete.
1675
+ */
1676
+ limit?: number;
1677
+ };
1678
+ /**
1679
+ * Dataset.books
1680
+ */
1681
+ export type Dataset$booksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1682
+ /**
1683
+ * Select specific fields to fetch from the DatasetBook
1684
+ */
1685
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1686
+ /**
1687
+ * Omit specific fields from the DatasetBook
1688
+ */
1689
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1690
+ /**
1691
+ * Choose, which related nodes to fetch as well
1692
+ */
1693
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1694
+ where?: Prisma.DatasetBookWhereInput;
1695
+ orderBy?: Prisma.DatasetBookOrderByWithRelationInput | Prisma.DatasetBookOrderByWithRelationInput[];
1696
+ cursor?: Prisma.DatasetBookWhereUniqueInput;
1697
+ take?: number;
1698
+ skip?: number;
1699
+ distinct?: Prisma.DatasetBookScalarFieldEnum | Prisma.DatasetBookScalarFieldEnum[];
1700
+ };
1701
+ /**
1702
+ * Dataset.chapters
1703
+ */
1704
+ export type Dataset$chaptersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1705
+ /**
1706
+ * Select specific fields to fetch from the DatasetChapter
1707
+ */
1708
+ select?: Prisma.DatasetChapterSelect<ExtArgs> | null;
1709
+ /**
1710
+ * Omit specific fields from the DatasetChapter
1711
+ */
1712
+ omit?: Prisma.DatasetChapterOmit<ExtArgs> | null;
1713
+ /**
1714
+ * Choose, which related nodes to fetch as well
1715
+ */
1716
+ include?: Prisma.DatasetChapterInclude<ExtArgs> | null;
1717
+ where?: Prisma.DatasetChapterWhereInput;
1718
+ orderBy?: Prisma.DatasetChapterOrderByWithRelationInput | Prisma.DatasetChapterOrderByWithRelationInput[];
1719
+ cursor?: Prisma.DatasetChapterWhereUniqueInput;
1720
+ take?: number;
1721
+ skip?: number;
1722
+ distinct?: Prisma.DatasetChapterScalarFieldEnum | Prisma.DatasetChapterScalarFieldEnum[];
1723
+ };
1724
+ /**
1725
+ * Dataset.verses
1726
+ */
1727
+ export type Dataset$versesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1728
+ /**
1729
+ * Select specific fields to fetch from the DatasetChapterVerse
1730
+ */
1731
+ select?: Prisma.DatasetChapterVerseSelect<ExtArgs> | null;
1732
+ /**
1733
+ * Omit specific fields from the DatasetChapterVerse
1734
+ */
1735
+ omit?: Prisma.DatasetChapterVerseOmit<ExtArgs> | null;
1736
+ /**
1737
+ * Choose, which related nodes to fetch as well
1738
+ */
1739
+ include?: Prisma.DatasetChapterVerseInclude<ExtArgs> | null;
1740
+ where?: Prisma.DatasetChapterVerseWhereInput;
1741
+ orderBy?: Prisma.DatasetChapterVerseOrderByWithRelationInput | Prisma.DatasetChapterVerseOrderByWithRelationInput[];
1742
+ cursor?: Prisma.DatasetChapterVerseWhereUniqueInput;
1743
+ take?: number;
1744
+ skip?: number;
1745
+ distinct?: Prisma.DatasetChapterVerseScalarFieldEnum | Prisma.DatasetChapterVerseScalarFieldEnum[];
1746
+ };
1747
+ /**
1748
+ * Dataset.references
1749
+ */
1750
+ export type Dataset$referencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1751
+ /**
1752
+ * Select specific fields to fetch from the DatasetReference
1753
+ */
1754
+ select?: Prisma.DatasetReferenceSelect<ExtArgs> | null;
1755
+ /**
1756
+ * Omit specific fields from the DatasetReference
1757
+ */
1758
+ omit?: Prisma.DatasetReferenceOmit<ExtArgs> | null;
1759
+ /**
1760
+ * Choose, which related nodes to fetch as well
1761
+ */
1762
+ include?: Prisma.DatasetReferenceInclude<ExtArgs> | null;
1763
+ where?: Prisma.DatasetReferenceWhereInput;
1764
+ orderBy?: Prisma.DatasetReferenceOrderByWithRelationInput | Prisma.DatasetReferenceOrderByWithRelationInput[];
1765
+ cursor?: Prisma.DatasetReferenceWhereUniqueInput;
1766
+ take?: number;
1767
+ skip?: number;
1768
+ distinct?: Prisma.DatasetReferenceScalarFieldEnum | Prisma.DatasetReferenceScalarFieldEnum[];
1769
+ };
1770
+ /**
1771
+ * Dataset.entities
1772
+ */
1773
+ export type Dataset$entitiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1774
+ /**
1775
+ * Select specific fields to fetch from the DatasetEntity
1776
+ */
1777
+ select?: Prisma.DatasetEntitySelect<ExtArgs> | null;
1778
+ /**
1779
+ * Omit specific fields from the DatasetEntity
1780
+ */
1781
+ omit?: Prisma.DatasetEntityOmit<ExtArgs> | null;
1782
+ /**
1783
+ * Choose, which related nodes to fetch as well
1784
+ */
1785
+ include?: Prisma.DatasetEntityInclude<ExtArgs> | null;
1786
+ where?: Prisma.DatasetEntityWhereInput;
1787
+ orderBy?: Prisma.DatasetEntityOrderByWithRelationInput | Prisma.DatasetEntityOrderByWithRelationInput[];
1788
+ cursor?: Prisma.DatasetEntityWhereUniqueInput;
1789
+ take?: number;
1790
+ skip?: number;
1791
+ distinct?: Prisma.DatasetEntityScalarFieldEnum | Prisma.DatasetEntityScalarFieldEnum[];
1792
+ };
1793
+ /**
1794
+ * Dataset without action
1795
+ */
1796
+ export type DatasetDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1797
+ /**
1798
+ * Select specific fields to fetch from the Dataset
1799
+ */
1800
+ select?: Prisma.DatasetSelect<ExtArgs> | null;
1801
+ /**
1802
+ * Omit specific fields from the Dataset
1803
+ */
1804
+ omit?: Prisma.DatasetOmit<ExtArgs> | null;
1805
+ /**
1806
+ * Choose, which related nodes to fetch as well
1807
+ */
1808
+ include?: Prisma.DatasetInclude<ExtArgs> | null;
1809
+ };
1810
+ //# sourceMappingURL=Dataset.d.ts.map