@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.
Files changed (77) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/cli.cjs +2772 -6200
  3. package/dist/cjs/index.cjs +2694 -6253
  4. package/dist/esm/cli.js +5699 -0
  5. package/dist/esm/cli.js.map +7 -0
  6. package/dist/esm/index.js +839 -6020
  7. package/dist/esm/index.js.map +4 -4
  8. package/dist/types/actions.d.ts +36 -1
  9. package/dist/types/db.d.ts +12 -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 +110 -0
  13. package/dist/types/prisma-gen/client.d.ts +129 -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 +353 -0
  17. package/dist/types/prisma-gen/internal/prismaNamespace.d.ts +2273 -0
  18. package/dist/types/prisma-gen/internal/prismaNamespaceBrowser.d.ts +294 -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 +1667 -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/DatasetReference.d.ts +1789 -0
  36. package/dist/types/prisma-gen/models/EBibleSource.d.ts +1686 -0
  37. package/dist/types/prisma-gen/models/InputFile.d.ts +1039 -0
  38. package/dist/types/prisma-gen/models/InputFileWarning.d.ts +946 -0
  39. package/dist/types/prisma-gen/models/Translation.d.ts +2238 -0
  40. package/dist/types/prisma-gen/models.d.ts +23 -0
  41. package/dist/types/s3.d.ts +2 -0
  42. package/dist/types/uploads.d.ts +1 -1
  43. package/meta/ARBNAV.json +10 -10
  44. package/meta/BSB.json +10 -10
  45. package/meta/HBOMAS.json +10 -10
  46. package/meta/HINIRV.json +10 -10
  47. package/meta/eng_dra.json +10 -10
  48. package/migrations/20240420231455_initial/migration.sql +66 -66
  49. package/migrations/20240711173108_add_chapter_audio/migration.sql +13 -13
  50. package/migrations/20240724212651_add_hashing/migration.sql +25 -25
  51. package/migrations/20250625201152_add_extra_ebible_metadata/migration.sql +3 -3
  52. package/migrations/20250630200532_add_apocryhpa_flag/migration.sql +2 -2
  53. package/migrations/20250701195337_add_file_warnings/migration.sql +8 -8
  54. package/migrations/20251028135135_add_datasets/migration.sql +72 -72
  55. package/migrations/20251028144932_fix_dataset_types/migration.sql +50 -50
  56. package/migrations/20260217200934_add_license_notice/migration.sql +5 -5
  57. package/migrations/20260703000000_add_chapter_audio_timing/migration.sql +13 -0
  58. package/migrations/20260809000000_add_chapter_words/migration.sql +12 -0
  59. package/package.json +21 -18
  60. package/schema.prisma +41 -2
  61. package/prisma-gen/default.d.ts +0 -1
  62. package/prisma-gen/default.js +0 -1
  63. package/prisma-gen/edge.d.ts +0 -1
  64. package/prisma-gen/edge.js +0 -403
  65. package/prisma-gen/index-browser.js +0 -397
  66. package/prisma-gen/index.d.ts +0 -34011
  67. package/prisma-gen/index.js +0 -426
  68. package/prisma-gen/runtime/edge-esm.js +0 -31
  69. package/prisma-gen/runtime/edge.js +0 -31
  70. package/prisma-gen/runtime/index-browser.d.ts +0 -365
  71. package/prisma-gen/runtime/index-browser.js +0 -13
  72. package/prisma-gen/runtime/library.d.ts +0 -3403
  73. package/prisma-gen/runtime/library.js +0 -143
  74. package/prisma-gen/runtime/react-native.js +0 -80
  75. package/prisma-gen/runtime/wasm.js +0 -32
  76. package/prisma-gen/wasm.d.ts +0 -1
  77. package/prisma-gen/wasm.js +0 -397
@@ -0,0 +1,1565 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model DatasetBook
5
+ *
6
+ */
7
+ export type DatasetBookModel = runtime.Types.Result.DefaultSelection<Prisma.$DatasetBookPayload>;
8
+ export type AggregateDatasetBook = {
9
+ _count: DatasetBookCountAggregateOutputType | null;
10
+ _avg: DatasetBookAvgAggregateOutputType | null;
11
+ _sum: DatasetBookSumAggregateOutputType | null;
12
+ _min: DatasetBookMinAggregateOutputType | null;
13
+ _max: DatasetBookMaxAggregateOutputType | null;
14
+ };
15
+ export type DatasetBookAvgAggregateOutputType = {
16
+ order: number | null;
17
+ numberOfChapters: number | null;
18
+ };
19
+ export type DatasetBookSumAggregateOutputType = {
20
+ order: number | null;
21
+ numberOfChapters: number | null;
22
+ };
23
+ export type DatasetBookMinAggregateOutputType = {
24
+ id: string | null;
25
+ datasetId: string | null;
26
+ order: number | null;
27
+ numberOfChapters: number | null;
28
+ sha256: string | null;
29
+ };
30
+ export type DatasetBookMaxAggregateOutputType = {
31
+ id: string | null;
32
+ datasetId: string | null;
33
+ order: number | null;
34
+ numberOfChapters: number | null;
35
+ sha256: string | null;
36
+ };
37
+ export type DatasetBookCountAggregateOutputType = {
38
+ id: number;
39
+ datasetId: number;
40
+ order: number;
41
+ numberOfChapters: number;
42
+ sha256: number;
43
+ _all: number;
44
+ };
45
+ export type DatasetBookAvgAggregateInputType = {
46
+ order?: true;
47
+ numberOfChapters?: true;
48
+ };
49
+ export type DatasetBookSumAggregateInputType = {
50
+ order?: true;
51
+ numberOfChapters?: true;
52
+ };
53
+ export type DatasetBookMinAggregateInputType = {
54
+ id?: true;
55
+ datasetId?: true;
56
+ order?: true;
57
+ numberOfChapters?: true;
58
+ sha256?: true;
59
+ };
60
+ export type DatasetBookMaxAggregateInputType = {
61
+ id?: true;
62
+ datasetId?: true;
63
+ order?: true;
64
+ numberOfChapters?: true;
65
+ sha256?: true;
66
+ };
67
+ export type DatasetBookCountAggregateInputType = {
68
+ id?: true;
69
+ datasetId?: true;
70
+ order?: true;
71
+ numberOfChapters?: true;
72
+ sha256?: true;
73
+ _all?: true;
74
+ };
75
+ export type DatasetBookAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
76
+ /**
77
+ * Filter which DatasetBook to aggregate.
78
+ */
79
+ where?: Prisma.DatasetBookWhereInput;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
82
+ *
83
+ * Determine the order of DatasetBooks to fetch.
84
+ */
85
+ orderBy?: Prisma.DatasetBookOrderByWithRelationInput | Prisma.DatasetBookOrderByWithRelationInput[];
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
88
+ *
89
+ * Sets the start position
90
+ */
91
+ cursor?: Prisma.DatasetBookWhereUniqueInput;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
94
+ *
95
+ * Take `±n` DatasetBooks from the position of the cursor.
96
+ */
97
+ take?: number;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
100
+ *
101
+ * Skip the first `n` DatasetBooks.
102
+ */
103
+ skip?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Count returned DatasetBooks
108
+ **/
109
+ _count?: true | DatasetBookCountAggregateInputType;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Select which fields to average
114
+ **/
115
+ _avg?: DatasetBookAvgAggregateInputType;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
+ *
119
+ * Select which fields to sum
120
+ **/
121
+ _sum?: DatasetBookSumAggregateInputType;
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
124
+ *
125
+ * Select which fields to find the minimum value
126
+ **/
127
+ _min?: DatasetBookMinAggregateInputType;
128
+ /**
129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
130
+ *
131
+ * Select which fields to find the maximum value
132
+ **/
133
+ _max?: DatasetBookMaxAggregateInputType;
134
+ };
135
+ export type GetDatasetBookAggregateType<T extends DatasetBookAggregateArgs> = {
136
+ [P in keyof T & keyof AggregateDatasetBook]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDatasetBook[P]> : Prisma.GetScalarType<T[P], AggregateDatasetBook[P]>;
137
+ };
138
+ export type DatasetBookGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
139
+ where?: Prisma.DatasetBookWhereInput;
140
+ orderBy?: Prisma.DatasetBookOrderByWithAggregationInput | Prisma.DatasetBookOrderByWithAggregationInput[];
141
+ by: Prisma.DatasetBookScalarFieldEnum[] | Prisma.DatasetBookScalarFieldEnum;
142
+ having?: Prisma.DatasetBookScalarWhereWithAggregatesInput;
143
+ take?: number;
144
+ skip?: number;
145
+ _count?: DatasetBookCountAggregateInputType | true;
146
+ _avg?: DatasetBookAvgAggregateInputType;
147
+ _sum?: DatasetBookSumAggregateInputType;
148
+ _min?: DatasetBookMinAggregateInputType;
149
+ _max?: DatasetBookMaxAggregateInputType;
150
+ };
151
+ export type DatasetBookGroupByOutputType = {
152
+ id: string;
153
+ datasetId: string;
154
+ order: number;
155
+ numberOfChapters: number;
156
+ sha256: string | null;
157
+ _count: DatasetBookCountAggregateOutputType | null;
158
+ _avg: DatasetBookAvgAggregateOutputType | null;
159
+ _sum: DatasetBookSumAggregateOutputType | null;
160
+ _min: DatasetBookMinAggregateOutputType | null;
161
+ _max: DatasetBookMaxAggregateOutputType | null;
162
+ };
163
+ export type GetDatasetBookGroupByPayload<T extends DatasetBookGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<DatasetBookGroupByOutputType, T['by']> & {
164
+ [P in ((keyof T) & (keyof DatasetBookGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], DatasetBookGroupByOutputType[P]> : Prisma.GetScalarType<T[P], DatasetBookGroupByOutputType[P]>;
165
+ }>>;
166
+ export type DatasetBookWhereInput = {
167
+ AND?: Prisma.DatasetBookWhereInput | Prisma.DatasetBookWhereInput[];
168
+ OR?: Prisma.DatasetBookWhereInput[];
169
+ NOT?: Prisma.DatasetBookWhereInput | Prisma.DatasetBookWhereInput[];
170
+ id?: Prisma.StringFilter<"DatasetBook"> | string;
171
+ datasetId?: Prisma.StringFilter<"DatasetBook"> | string;
172
+ order?: Prisma.IntFilter<"DatasetBook"> | number;
173
+ numberOfChapters?: Prisma.IntFilter<"DatasetBook"> | number;
174
+ sha256?: Prisma.StringNullableFilter<"DatasetBook"> | string | null;
175
+ dataset?: Prisma.XOR<Prisma.DatasetScalarRelationFilter, Prisma.DatasetWhereInput>;
176
+ chapters?: Prisma.DatasetChapterListRelationFilter;
177
+ verses?: Prisma.DatasetChapterVerseListRelationFilter;
178
+ references?: Prisma.DatasetReferenceListRelationFilter;
179
+ };
180
+ export type DatasetBookOrderByWithRelationInput = {
181
+ id?: Prisma.SortOrder;
182
+ datasetId?: Prisma.SortOrder;
183
+ order?: Prisma.SortOrder;
184
+ numberOfChapters?: Prisma.SortOrder;
185
+ sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
186
+ dataset?: Prisma.DatasetOrderByWithRelationInput;
187
+ chapters?: Prisma.DatasetChapterOrderByRelationAggregateInput;
188
+ verses?: Prisma.DatasetChapterVerseOrderByRelationAggregateInput;
189
+ references?: Prisma.DatasetReferenceOrderByRelationAggregateInput;
190
+ };
191
+ export type DatasetBookWhereUniqueInput = Prisma.AtLeast<{
192
+ datasetId_id?: Prisma.DatasetBookDatasetIdIdCompoundUniqueInput;
193
+ AND?: Prisma.DatasetBookWhereInput | Prisma.DatasetBookWhereInput[];
194
+ OR?: Prisma.DatasetBookWhereInput[];
195
+ NOT?: Prisma.DatasetBookWhereInput | Prisma.DatasetBookWhereInput[];
196
+ id?: Prisma.StringFilter<"DatasetBook"> | string;
197
+ datasetId?: Prisma.StringFilter<"DatasetBook"> | string;
198
+ order?: Prisma.IntFilter<"DatasetBook"> | number;
199
+ numberOfChapters?: Prisma.IntFilter<"DatasetBook"> | number;
200
+ sha256?: Prisma.StringNullableFilter<"DatasetBook"> | string | null;
201
+ dataset?: Prisma.XOR<Prisma.DatasetScalarRelationFilter, Prisma.DatasetWhereInput>;
202
+ chapters?: Prisma.DatasetChapterListRelationFilter;
203
+ verses?: Prisma.DatasetChapterVerseListRelationFilter;
204
+ references?: Prisma.DatasetReferenceListRelationFilter;
205
+ }, "datasetId_id">;
206
+ export type DatasetBookOrderByWithAggregationInput = {
207
+ id?: Prisma.SortOrder;
208
+ datasetId?: Prisma.SortOrder;
209
+ order?: Prisma.SortOrder;
210
+ numberOfChapters?: Prisma.SortOrder;
211
+ sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
212
+ _count?: Prisma.DatasetBookCountOrderByAggregateInput;
213
+ _avg?: Prisma.DatasetBookAvgOrderByAggregateInput;
214
+ _max?: Prisma.DatasetBookMaxOrderByAggregateInput;
215
+ _min?: Prisma.DatasetBookMinOrderByAggregateInput;
216
+ _sum?: Prisma.DatasetBookSumOrderByAggregateInput;
217
+ };
218
+ export type DatasetBookScalarWhereWithAggregatesInput = {
219
+ AND?: Prisma.DatasetBookScalarWhereWithAggregatesInput | Prisma.DatasetBookScalarWhereWithAggregatesInput[];
220
+ OR?: Prisma.DatasetBookScalarWhereWithAggregatesInput[];
221
+ NOT?: Prisma.DatasetBookScalarWhereWithAggregatesInput | Prisma.DatasetBookScalarWhereWithAggregatesInput[];
222
+ id?: Prisma.StringWithAggregatesFilter<"DatasetBook"> | string;
223
+ datasetId?: Prisma.StringWithAggregatesFilter<"DatasetBook"> | string;
224
+ order?: Prisma.IntWithAggregatesFilter<"DatasetBook"> | number;
225
+ numberOfChapters?: Prisma.IntWithAggregatesFilter<"DatasetBook"> | number;
226
+ sha256?: Prisma.StringNullableWithAggregatesFilter<"DatasetBook"> | string | null;
227
+ };
228
+ export type DatasetBookCreateInput = {
229
+ id: string;
230
+ order: number;
231
+ numberOfChapters: number;
232
+ sha256?: string | null;
233
+ dataset: Prisma.DatasetCreateNestedOneWithoutBooksInput;
234
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutBookInput;
235
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutBookInput;
236
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutBookInput;
237
+ };
238
+ export type DatasetBookUncheckedCreateInput = {
239
+ id: string;
240
+ datasetId: string;
241
+ order: number;
242
+ numberOfChapters: number;
243
+ sha256?: string | null;
244
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutBookInput;
245
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutBookInput;
246
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutBookInput;
247
+ };
248
+ export type DatasetBookUpdateInput = {
249
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
250
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
251
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
252
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
253
+ dataset?: Prisma.DatasetUpdateOneRequiredWithoutBooksNestedInput;
254
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutBookNestedInput;
255
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutBookNestedInput;
256
+ references?: Prisma.DatasetReferenceUpdateManyWithoutBookNestedInput;
257
+ };
258
+ export type DatasetBookUncheckedUpdateInput = {
259
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
260
+ datasetId?: Prisma.StringFieldUpdateOperationsInput | string;
261
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
262
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
263
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
264
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutBookNestedInput;
265
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
266
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutBookNestedInput;
267
+ };
268
+ export type DatasetBookCreateManyInput = {
269
+ id: string;
270
+ datasetId: string;
271
+ order: number;
272
+ numberOfChapters: number;
273
+ sha256?: string | null;
274
+ };
275
+ export type DatasetBookUpdateManyMutationInput = {
276
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
278
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
279
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
280
+ };
281
+ export type DatasetBookUncheckedUpdateManyInput = {
282
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ datasetId?: Prisma.StringFieldUpdateOperationsInput | string;
284
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
285
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
286
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
287
+ };
288
+ export type DatasetBookListRelationFilter = {
289
+ every?: Prisma.DatasetBookWhereInput;
290
+ some?: Prisma.DatasetBookWhereInput;
291
+ none?: Prisma.DatasetBookWhereInput;
292
+ };
293
+ export type DatasetBookOrderByRelationAggregateInput = {
294
+ _count?: Prisma.SortOrder;
295
+ };
296
+ export type DatasetBookDatasetIdIdCompoundUniqueInput = {
297
+ datasetId: string;
298
+ id: string;
299
+ };
300
+ export type DatasetBookCountOrderByAggregateInput = {
301
+ id?: Prisma.SortOrder;
302
+ datasetId?: Prisma.SortOrder;
303
+ order?: Prisma.SortOrder;
304
+ numberOfChapters?: Prisma.SortOrder;
305
+ sha256?: Prisma.SortOrder;
306
+ };
307
+ export type DatasetBookAvgOrderByAggregateInput = {
308
+ order?: Prisma.SortOrder;
309
+ numberOfChapters?: Prisma.SortOrder;
310
+ };
311
+ export type DatasetBookMaxOrderByAggregateInput = {
312
+ id?: Prisma.SortOrder;
313
+ datasetId?: Prisma.SortOrder;
314
+ order?: Prisma.SortOrder;
315
+ numberOfChapters?: Prisma.SortOrder;
316
+ sha256?: Prisma.SortOrder;
317
+ };
318
+ export type DatasetBookMinOrderByAggregateInput = {
319
+ id?: Prisma.SortOrder;
320
+ datasetId?: Prisma.SortOrder;
321
+ order?: Prisma.SortOrder;
322
+ numberOfChapters?: Prisma.SortOrder;
323
+ sha256?: Prisma.SortOrder;
324
+ };
325
+ export type DatasetBookSumOrderByAggregateInput = {
326
+ order?: Prisma.SortOrder;
327
+ numberOfChapters?: Prisma.SortOrder;
328
+ };
329
+ export type DatasetBookScalarRelationFilter = {
330
+ is?: Prisma.DatasetBookWhereInput;
331
+ isNot?: Prisma.DatasetBookWhereInput;
332
+ };
333
+ export type DatasetBookCreateNestedManyWithoutDatasetInput = {
334
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutDatasetInput, Prisma.DatasetBookUncheckedCreateWithoutDatasetInput> | Prisma.DatasetBookCreateWithoutDatasetInput[] | Prisma.DatasetBookUncheckedCreateWithoutDatasetInput[];
335
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutDatasetInput | Prisma.DatasetBookCreateOrConnectWithoutDatasetInput[];
336
+ createMany?: Prisma.DatasetBookCreateManyDatasetInputEnvelope;
337
+ connect?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
338
+ };
339
+ export type DatasetBookUncheckedCreateNestedManyWithoutDatasetInput = {
340
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutDatasetInput, Prisma.DatasetBookUncheckedCreateWithoutDatasetInput> | Prisma.DatasetBookCreateWithoutDatasetInput[] | Prisma.DatasetBookUncheckedCreateWithoutDatasetInput[];
341
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutDatasetInput | Prisma.DatasetBookCreateOrConnectWithoutDatasetInput[];
342
+ createMany?: Prisma.DatasetBookCreateManyDatasetInputEnvelope;
343
+ connect?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
344
+ };
345
+ export type DatasetBookUpdateManyWithoutDatasetNestedInput = {
346
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutDatasetInput, Prisma.DatasetBookUncheckedCreateWithoutDatasetInput> | Prisma.DatasetBookCreateWithoutDatasetInput[] | Prisma.DatasetBookUncheckedCreateWithoutDatasetInput[];
347
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutDatasetInput | Prisma.DatasetBookCreateOrConnectWithoutDatasetInput[];
348
+ upsert?: Prisma.DatasetBookUpsertWithWhereUniqueWithoutDatasetInput | Prisma.DatasetBookUpsertWithWhereUniqueWithoutDatasetInput[];
349
+ createMany?: Prisma.DatasetBookCreateManyDatasetInputEnvelope;
350
+ set?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
351
+ disconnect?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
352
+ delete?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
353
+ connect?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
354
+ update?: Prisma.DatasetBookUpdateWithWhereUniqueWithoutDatasetInput | Prisma.DatasetBookUpdateWithWhereUniqueWithoutDatasetInput[];
355
+ updateMany?: Prisma.DatasetBookUpdateManyWithWhereWithoutDatasetInput | Prisma.DatasetBookUpdateManyWithWhereWithoutDatasetInput[];
356
+ deleteMany?: Prisma.DatasetBookScalarWhereInput | Prisma.DatasetBookScalarWhereInput[];
357
+ };
358
+ export type DatasetBookUncheckedUpdateManyWithoutDatasetNestedInput = {
359
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutDatasetInput, Prisma.DatasetBookUncheckedCreateWithoutDatasetInput> | Prisma.DatasetBookCreateWithoutDatasetInput[] | Prisma.DatasetBookUncheckedCreateWithoutDatasetInput[];
360
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutDatasetInput | Prisma.DatasetBookCreateOrConnectWithoutDatasetInput[];
361
+ upsert?: Prisma.DatasetBookUpsertWithWhereUniqueWithoutDatasetInput | Prisma.DatasetBookUpsertWithWhereUniqueWithoutDatasetInput[];
362
+ createMany?: Prisma.DatasetBookCreateManyDatasetInputEnvelope;
363
+ set?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
364
+ disconnect?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
365
+ delete?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
366
+ connect?: Prisma.DatasetBookWhereUniqueInput | Prisma.DatasetBookWhereUniqueInput[];
367
+ update?: Prisma.DatasetBookUpdateWithWhereUniqueWithoutDatasetInput | Prisma.DatasetBookUpdateWithWhereUniqueWithoutDatasetInput[];
368
+ updateMany?: Prisma.DatasetBookUpdateManyWithWhereWithoutDatasetInput | Prisma.DatasetBookUpdateManyWithWhereWithoutDatasetInput[];
369
+ deleteMany?: Prisma.DatasetBookScalarWhereInput | Prisma.DatasetBookScalarWhereInput[];
370
+ };
371
+ export type DatasetBookCreateNestedOneWithoutChaptersInput = {
372
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutChaptersInput, Prisma.DatasetBookUncheckedCreateWithoutChaptersInput>;
373
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutChaptersInput;
374
+ connect?: Prisma.DatasetBookWhereUniqueInput;
375
+ };
376
+ export type DatasetBookUpdateOneRequiredWithoutChaptersNestedInput = {
377
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutChaptersInput, Prisma.DatasetBookUncheckedCreateWithoutChaptersInput>;
378
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutChaptersInput;
379
+ upsert?: Prisma.DatasetBookUpsertWithoutChaptersInput;
380
+ connect?: Prisma.DatasetBookWhereUniqueInput;
381
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetBookUpdateToOneWithWhereWithoutChaptersInput, Prisma.DatasetBookUpdateWithoutChaptersInput>, Prisma.DatasetBookUncheckedUpdateWithoutChaptersInput>;
382
+ };
383
+ export type DatasetBookCreateNestedOneWithoutVersesInput = {
384
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutVersesInput, Prisma.DatasetBookUncheckedCreateWithoutVersesInput>;
385
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutVersesInput;
386
+ connect?: Prisma.DatasetBookWhereUniqueInput;
387
+ };
388
+ export type DatasetBookUpdateOneRequiredWithoutVersesNestedInput = {
389
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutVersesInput, Prisma.DatasetBookUncheckedCreateWithoutVersesInput>;
390
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutVersesInput;
391
+ upsert?: Prisma.DatasetBookUpsertWithoutVersesInput;
392
+ connect?: Prisma.DatasetBookWhereUniqueInput;
393
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetBookUpdateToOneWithWhereWithoutVersesInput, Prisma.DatasetBookUpdateWithoutVersesInput>, Prisma.DatasetBookUncheckedUpdateWithoutVersesInput>;
394
+ };
395
+ export type DatasetBookCreateNestedOneWithoutReferencesInput = {
396
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutReferencesInput, Prisma.DatasetBookUncheckedCreateWithoutReferencesInput>;
397
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutReferencesInput;
398
+ connect?: Prisma.DatasetBookWhereUniqueInput;
399
+ };
400
+ export type DatasetBookUpdateOneRequiredWithoutReferencesNestedInput = {
401
+ create?: Prisma.XOR<Prisma.DatasetBookCreateWithoutReferencesInput, Prisma.DatasetBookUncheckedCreateWithoutReferencesInput>;
402
+ connectOrCreate?: Prisma.DatasetBookCreateOrConnectWithoutReferencesInput;
403
+ upsert?: Prisma.DatasetBookUpsertWithoutReferencesInput;
404
+ connect?: Prisma.DatasetBookWhereUniqueInput;
405
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DatasetBookUpdateToOneWithWhereWithoutReferencesInput, Prisma.DatasetBookUpdateWithoutReferencesInput>, Prisma.DatasetBookUncheckedUpdateWithoutReferencesInput>;
406
+ };
407
+ export type DatasetBookCreateWithoutDatasetInput = {
408
+ id: string;
409
+ order: number;
410
+ numberOfChapters: number;
411
+ sha256?: string | null;
412
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutBookInput;
413
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutBookInput;
414
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutBookInput;
415
+ };
416
+ export type DatasetBookUncheckedCreateWithoutDatasetInput = {
417
+ id: string;
418
+ order: number;
419
+ numberOfChapters: number;
420
+ sha256?: string | null;
421
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutBookInput;
422
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutBookInput;
423
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutBookInput;
424
+ };
425
+ export type DatasetBookCreateOrConnectWithoutDatasetInput = {
426
+ where: Prisma.DatasetBookWhereUniqueInput;
427
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutDatasetInput, Prisma.DatasetBookUncheckedCreateWithoutDatasetInput>;
428
+ };
429
+ export type DatasetBookCreateManyDatasetInputEnvelope = {
430
+ data: Prisma.DatasetBookCreateManyDatasetInput | Prisma.DatasetBookCreateManyDatasetInput[];
431
+ };
432
+ export type DatasetBookUpsertWithWhereUniqueWithoutDatasetInput = {
433
+ where: Prisma.DatasetBookWhereUniqueInput;
434
+ update: Prisma.XOR<Prisma.DatasetBookUpdateWithoutDatasetInput, Prisma.DatasetBookUncheckedUpdateWithoutDatasetInput>;
435
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutDatasetInput, Prisma.DatasetBookUncheckedCreateWithoutDatasetInput>;
436
+ };
437
+ export type DatasetBookUpdateWithWhereUniqueWithoutDatasetInput = {
438
+ where: Prisma.DatasetBookWhereUniqueInput;
439
+ data: Prisma.XOR<Prisma.DatasetBookUpdateWithoutDatasetInput, Prisma.DatasetBookUncheckedUpdateWithoutDatasetInput>;
440
+ };
441
+ export type DatasetBookUpdateManyWithWhereWithoutDatasetInput = {
442
+ where: Prisma.DatasetBookScalarWhereInput;
443
+ data: Prisma.XOR<Prisma.DatasetBookUpdateManyMutationInput, Prisma.DatasetBookUncheckedUpdateManyWithoutDatasetInput>;
444
+ };
445
+ export type DatasetBookScalarWhereInput = {
446
+ AND?: Prisma.DatasetBookScalarWhereInput | Prisma.DatasetBookScalarWhereInput[];
447
+ OR?: Prisma.DatasetBookScalarWhereInput[];
448
+ NOT?: Prisma.DatasetBookScalarWhereInput | Prisma.DatasetBookScalarWhereInput[];
449
+ id?: Prisma.StringFilter<"DatasetBook"> | string;
450
+ datasetId?: Prisma.StringFilter<"DatasetBook"> | string;
451
+ order?: Prisma.IntFilter<"DatasetBook"> | number;
452
+ numberOfChapters?: Prisma.IntFilter<"DatasetBook"> | number;
453
+ sha256?: Prisma.StringNullableFilter<"DatasetBook"> | string | null;
454
+ };
455
+ export type DatasetBookCreateWithoutChaptersInput = {
456
+ id: string;
457
+ order: number;
458
+ numberOfChapters: number;
459
+ sha256?: string | null;
460
+ dataset: Prisma.DatasetCreateNestedOneWithoutBooksInput;
461
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutBookInput;
462
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutBookInput;
463
+ };
464
+ export type DatasetBookUncheckedCreateWithoutChaptersInput = {
465
+ id: string;
466
+ datasetId: string;
467
+ order: number;
468
+ numberOfChapters: number;
469
+ sha256?: string | null;
470
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutBookInput;
471
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutBookInput;
472
+ };
473
+ export type DatasetBookCreateOrConnectWithoutChaptersInput = {
474
+ where: Prisma.DatasetBookWhereUniqueInput;
475
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutChaptersInput, Prisma.DatasetBookUncheckedCreateWithoutChaptersInput>;
476
+ };
477
+ export type DatasetBookUpsertWithoutChaptersInput = {
478
+ update: Prisma.XOR<Prisma.DatasetBookUpdateWithoutChaptersInput, Prisma.DatasetBookUncheckedUpdateWithoutChaptersInput>;
479
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutChaptersInput, Prisma.DatasetBookUncheckedCreateWithoutChaptersInput>;
480
+ where?: Prisma.DatasetBookWhereInput;
481
+ };
482
+ export type DatasetBookUpdateToOneWithWhereWithoutChaptersInput = {
483
+ where?: Prisma.DatasetBookWhereInput;
484
+ data: Prisma.XOR<Prisma.DatasetBookUpdateWithoutChaptersInput, Prisma.DatasetBookUncheckedUpdateWithoutChaptersInput>;
485
+ };
486
+ export type DatasetBookUpdateWithoutChaptersInput = {
487
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
488
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
489
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
490
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
491
+ dataset?: Prisma.DatasetUpdateOneRequiredWithoutBooksNestedInput;
492
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutBookNestedInput;
493
+ references?: Prisma.DatasetReferenceUpdateManyWithoutBookNestedInput;
494
+ };
495
+ export type DatasetBookUncheckedUpdateWithoutChaptersInput = {
496
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
497
+ datasetId?: Prisma.StringFieldUpdateOperationsInput | string;
498
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
499
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
500
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
501
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
502
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutBookNestedInput;
503
+ };
504
+ export type DatasetBookCreateWithoutVersesInput = {
505
+ id: string;
506
+ order: number;
507
+ numberOfChapters: number;
508
+ sha256?: string | null;
509
+ dataset: Prisma.DatasetCreateNestedOneWithoutBooksInput;
510
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutBookInput;
511
+ references?: Prisma.DatasetReferenceCreateNestedManyWithoutBookInput;
512
+ };
513
+ export type DatasetBookUncheckedCreateWithoutVersesInput = {
514
+ id: string;
515
+ datasetId: string;
516
+ order: number;
517
+ numberOfChapters: number;
518
+ sha256?: string | null;
519
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutBookInput;
520
+ references?: Prisma.DatasetReferenceUncheckedCreateNestedManyWithoutBookInput;
521
+ };
522
+ export type DatasetBookCreateOrConnectWithoutVersesInput = {
523
+ where: Prisma.DatasetBookWhereUniqueInput;
524
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutVersesInput, Prisma.DatasetBookUncheckedCreateWithoutVersesInput>;
525
+ };
526
+ export type DatasetBookUpsertWithoutVersesInput = {
527
+ update: Prisma.XOR<Prisma.DatasetBookUpdateWithoutVersesInput, Prisma.DatasetBookUncheckedUpdateWithoutVersesInput>;
528
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutVersesInput, Prisma.DatasetBookUncheckedCreateWithoutVersesInput>;
529
+ where?: Prisma.DatasetBookWhereInput;
530
+ };
531
+ export type DatasetBookUpdateToOneWithWhereWithoutVersesInput = {
532
+ where?: Prisma.DatasetBookWhereInput;
533
+ data: Prisma.XOR<Prisma.DatasetBookUpdateWithoutVersesInput, Prisma.DatasetBookUncheckedUpdateWithoutVersesInput>;
534
+ };
535
+ export type DatasetBookUpdateWithoutVersesInput = {
536
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
537
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
538
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
539
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
540
+ dataset?: Prisma.DatasetUpdateOneRequiredWithoutBooksNestedInput;
541
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutBookNestedInput;
542
+ references?: Prisma.DatasetReferenceUpdateManyWithoutBookNestedInput;
543
+ };
544
+ export type DatasetBookUncheckedUpdateWithoutVersesInput = {
545
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
546
+ datasetId?: Prisma.StringFieldUpdateOperationsInput | string;
547
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
548
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
549
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
550
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutBookNestedInput;
551
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutBookNestedInput;
552
+ };
553
+ export type DatasetBookCreateWithoutReferencesInput = {
554
+ id: string;
555
+ order: number;
556
+ numberOfChapters: number;
557
+ sha256?: string | null;
558
+ dataset: Prisma.DatasetCreateNestedOneWithoutBooksInput;
559
+ chapters?: Prisma.DatasetChapterCreateNestedManyWithoutBookInput;
560
+ verses?: Prisma.DatasetChapterVerseCreateNestedManyWithoutBookInput;
561
+ };
562
+ export type DatasetBookUncheckedCreateWithoutReferencesInput = {
563
+ id: string;
564
+ datasetId: string;
565
+ order: number;
566
+ numberOfChapters: number;
567
+ sha256?: string | null;
568
+ chapters?: Prisma.DatasetChapterUncheckedCreateNestedManyWithoutBookInput;
569
+ verses?: Prisma.DatasetChapterVerseUncheckedCreateNestedManyWithoutBookInput;
570
+ };
571
+ export type DatasetBookCreateOrConnectWithoutReferencesInput = {
572
+ where: Prisma.DatasetBookWhereUniqueInput;
573
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutReferencesInput, Prisma.DatasetBookUncheckedCreateWithoutReferencesInput>;
574
+ };
575
+ export type DatasetBookUpsertWithoutReferencesInput = {
576
+ update: Prisma.XOR<Prisma.DatasetBookUpdateWithoutReferencesInput, Prisma.DatasetBookUncheckedUpdateWithoutReferencesInput>;
577
+ create: Prisma.XOR<Prisma.DatasetBookCreateWithoutReferencesInput, Prisma.DatasetBookUncheckedCreateWithoutReferencesInput>;
578
+ where?: Prisma.DatasetBookWhereInput;
579
+ };
580
+ export type DatasetBookUpdateToOneWithWhereWithoutReferencesInput = {
581
+ where?: Prisma.DatasetBookWhereInput;
582
+ data: Prisma.XOR<Prisma.DatasetBookUpdateWithoutReferencesInput, Prisma.DatasetBookUncheckedUpdateWithoutReferencesInput>;
583
+ };
584
+ export type DatasetBookUpdateWithoutReferencesInput = {
585
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
586
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
587
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
588
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
589
+ dataset?: Prisma.DatasetUpdateOneRequiredWithoutBooksNestedInput;
590
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutBookNestedInput;
591
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutBookNestedInput;
592
+ };
593
+ export type DatasetBookUncheckedUpdateWithoutReferencesInput = {
594
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
595
+ datasetId?: Prisma.StringFieldUpdateOperationsInput | string;
596
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
597
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
598
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
599
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutBookNestedInput;
600
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
601
+ };
602
+ export type DatasetBookCreateManyDatasetInput = {
603
+ id: string;
604
+ order: number;
605
+ numberOfChapters: number;
606
+ sha256?: string | null;
607
+ };
608
+ export type DatasetBookUpdateWithoutDatasetInput = {
609
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
610
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
611
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
612
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
613
+ chapters?: Prisma.DatasetChapterUpdateManyWithoutBookNestedInput;
614
+ verses?: Prisma.DatasetChapterVerseUpdateManyWithoutBookNestedInput;
615
+ references?: Prisma.DatasetReferenceUpdateManyWithoutBookNestedInput;
616
+ };
617
+ export type DatasetBookUncheckedUpdateWithoutDatasetInput = {
618
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
619
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
620
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
621
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
622
+ chapters?: Prisma.DatasetChapterUncheckedUpdateManyWithoutBookNestedInput;
623
+ verses?: Prisma.DatasetChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
624
+ references?: Prisma.DatasetReferenceUncheckedUpdateManyWithoutBookNestedInput;
625
+ };
626
+ export type DatasetBookUncheckedUpdateManyWithoutDatasetInput = {
627
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
628
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
629
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
630
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
631
+ };
632
+ /**
633
+ * Count Type DatasetBookCountOutputType
634
+ */
635
+ export type DatasetBookCountOutputType = {
636
+ chapters: number;
637
+ verses: number;
638
+ references: number;
639
+ };
640
+ export type DatasetBookCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
641
+ chapters?: boolean | DatasetBookCountOutputTypeCountChaptersArgs;
642
+ verses?: boolean | DatasetBookCountOutputTypeCountVersesArgs;
643
+ references?: boolean | DatasetBookCountOutputTypeCountReferencesArgs;
644
+ };
645
+ /**
646
+ * DatasetBookCountOutputType without action
647
+ */
648
+ export type DatasetBookCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
649
+ /**
650
+ * Select specific fields to fetch from the DatasetBookCountOutputType
651
+ */
652
+ select?: Prisma.DatasetBookCountOutputTypeSelect<ExtArgs> | null;
653
+ };
654
+ /**
655
+ * DatasetBookCountOutputType without action
656
+ */
657
+ export type DatasetBookCountOutputTypeCountChaptersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
658
+ where?: Prisma.DatasetChapterWhereInput;
659
+ };
660
+ /**
661
+ * DatasetBookCountOutputType without action
662
+ */
663
+ export type DatasetBookCountOutputTypeCountVersesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
664
+ where?: Prisma.DatasetChapterVerseWhereInput;
665
+ };
666
+ /**
667
+ * DatasetBookCountOutputType without action
668
+ */
669
+ export type DatasetBookCountOutputTypeCountReferencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
670
+ where?: Prisma.DatasetReferenceWhereInput;
671
+ };
672
+ export type DatasetBookSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
673
+ id?: boolean;
674
+ datasetId?: boolean;
675
+ order?: boolean;
676
+ numberOfChapters?: boolean;
677
+ sha256?: boolean;
678
+ dataset?: boolean | Prisma.DatasetDefaultArgs<ExtArgs>;
679
+ chapters?: boolean | Prisma.DatasetBook$chaptersArgs<ExtArgs>;
680
+ verses?: boolean | Prisma.DatasetBook$versesArgs<ExtArgs>;
681
+ references?: boolean | Prisma.DatasetBook$referencesArgs<ExtArgs>;
682
+ _count?: boolean | Prisma.DatasetBookCountOutputTypeDefaultArgs<ExtArgs>;
683
+ }, ExtArgs["result"]["datasetBook"]>;
684
+ export type DatasetBookSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
685
+ id?: boolean;
686
+ datasetId?: boolean;
687
+ order?: boolean;
688
+ numberOfChapters?: boolean;
689
+ sha256?: boolean;
690
+ dataset?: boolean | Prisma.DatasetDefaultArgs<ExtArgs>;
691
+ }, ExtArgs["result"]["datasetBook"]>;
692
+ export type DatasetBookSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
693
+ id?: boolean;
694
+ datasetId?: boolean;
695
+ order?: boolean;
696
+ numberOfChapters?: boolean;
697
+ sha256?: boolean;
698
+ dataset?: boolean | Prisma.DatasetDefaultArgs<ExtArgs>;
699
+ }, ExtArgs["result"]["datasetBook"]>;
700
+ export type DatasetBookSelectScalar = {
701
+ id?: boolean;
702
+ datasetId?: boolean;
703
+ order?: boolean;
704
+ numberOfChapters?: boolean;
705
+ sha256?: boolean;
706
+ };
707
+ export type DatasetBookOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "datasetId" | "order" | "numberOfChapters" | "sha256", ExtArgs["result"]["datasetBook"]>;
708
+ export type DatasetBookInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
709
+ dataset?: boolean | Prisma.DatasetDefaultArgs<ExtArgs>;
710
+ chapters?: boolean | Prisma.DatasetBook$chaptersArgs<ExtArgs>;
711
+ verses?: boolean | Prisma.DatasetBook$versesArgs<ExtArgs>;
712
+ references?: boolean | Prisma.DatasetBook$referencesArgs<ExtArgs>;
713
+ _count?: boolean | Prisma.DatasetBookCountOutputTypeDefaultArgs<ExtArgs>;
714
+ };
715
+ export type DatasetBookIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
716
+ dataset?: boolean | Prisma.DatasetDefaultArgs<ExtArgs>;
717
+ };
718
+ export type DatasetBookIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
719
+ dataset?: boolean | Prisma.DatasetDefaultArgs<ExtArgs>;
720
+ };
721
+ export type $DatasetBookPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
722
+ name: "DatasetBook";
723
+ objects: {
724
+ dataset: Prisma.$DatasetPayload<ExtArgs>;
725
+ chapters: Prisma.$DatasetChapterPayload<ExtArgs>[];
726
+ verses: Prisma.$DatasetChapterVersePayload<ExtArgs>[];
727
+ references: Prisma.$DatasetReferencePayload<ExtArgs>[];
728
+ };
729
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
730
+ id: string;
731
+ datasetId: string;
732
+ order: number;
733
+ numberOfChapters: number;
734
+ sha256: string | null;
735
+ }, ExtArgs["result"]["datasetBook"]>;
736
+ composites: {};
737
+ };
738
+ export type DatasetBookGetPayload<S extends boolean | null | undefined | DatasetBookDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload, S>;
739
+ export type DatasetBookCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<DatasetBookFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
740
+ select?: DatasetBookCountAggregateInputType | true;
741
+ };
742
+ export interface DatasetBookDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
743
+ [K: symbol]: {
744
+ types: Prisma.TypeMap<ExtArgs>['model']['DatasetBook'];
745
+ meta: {
746
+ name: 'DatasetBook';
747
+ };
748
+ };
749
+ /**
750
+ * Find zero or one DatasetBook that matches the filter.
751
+ * @param {DatasetBookFindUniqueArgs} args - Arguments to find a DatasetBook
752
+ * @example
753
+ * // Get one DatasetBook
754
+ * const datasetBook = await prisma.datasetBook.findUnique({
755
+ * where: {
756
+ * // ... provide filter here
757
+ * }
758
+ * })
759
+ */
760
+ findUnique<T extends DatasetBookFindUniqueArgs>(args: Prisma.SelectSubset<T, DatasetBookFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
761
+ /**
762
+ * Find one DatasetBook that matches the filter or throw an error with `error.code='P2025'`
763
+ * if no matches were found.
764
+ * @param {DatasetBookFindUniqueOrThrowArgs} args - Arguments to find a DatasetBook
765
+ * @example
766
+ * // Get one DatasetBook
767
+ * const datasetBook = await prisma.datasetBook.findUniqueOrThrow({
768
+ * where: {
769
+ * // ... provide filter here
770
+ * }
771
+ * })
772
+ */
773
+ findUniqueOrThrow<T extends DatasetBookFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DatasetBookFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
774
+ /**
775
+ * Find the first DatasetBook that matches the filter.
776
+ * Note, that providing `undefined` is treated as the value not being there.
777
+ * Read more here: https://pris.ly/d/null-undefined
778
+ * @param {DatasetBookFindFirstArgs} args - Arguments to find a DatasetBook
779
+ * @example
780
+ * // Get one DatasetBook
781
+ * const datasetBook = await prisma.datasetBook.findFirst({
782
+ * where: {
783
+ * // ... provide filter here
784
+ * }
785
+ * })
786
+ */
787
+ findFirst<T extends DatasetBookFindFirstArgs>(args?: Prisma.SelectSubset<T, DatasetBookFindFirstArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
788
+ /**
789
+ * Find the first DatasetBook that matches the filter or
790
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
791
+ * Note, that providing `undefined` is treated as the value not being there.
792
+ * Read more here: https://pris.ly/d/null-undefined
793
+ * @param {DatasetBookFindFirstOrThrowArgs} args - Arguments to find a DatasetBook
794
+ * @example
795
+ * // Get one DatasetBook
796
+ * const datasetBook = await prisma.datasetBook.findFirstOrThrow({
797
+ * where: {
798
+ * // ... provide filter here
799
+ * }
800
+ * })
801
+ */
802
+ findFirstOrThrow<T extends DatasetBookFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DatasetBookFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
803
+ /**
804
+ * Find zero or more DatasetBooks that matches the filter.
805
+ * Note, that providing `undefined` is treated as the value not being there.
806
+ * Read more here: https://pris.ly/d/null-undefined
807
+ * @param {DatasetBookFindManyArgs} args - Arguments to filter and select certain fields only.
808
+ * @example
809
+ * // Get all DatasetBooks
810
+ * const datasetBooks = await prisma.datasetBook.findMany()
811
+ *
812
+ * // Get first 10 DatasetBooks
813
+ * const datasetBooks = await prisma.datasetBook.findMany({ take: 10 })
814
+ *
815
+ * // Only select the `id`
816
+ * const datasetBookWithIdOnly = await prisma.datasetBook.findMany({ select: { id: true } })
817
+ *
818
+ */
819
+ findMany<T extends DatasetBookFindManyArgs>(args?: Prisma.SelectSubset<T, DatasetBookFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
820
+ /**
821
+ * Create a DatasetBook.
822
+ * @param {DatasetBookCreateArgs} args - Arguments to create a DatasetBook.
823
+ * @example
824
+ * // Create one DatasetBook
825
+ * const DatasetBook = await prisma.datasetBook.create({
826
+ * data: {
827
+ * // ... data to create a DatasetBook
828
+ * }
829
+ * })
830
+ *
831
+ */
832
+ create<T extends DatasetBookCreateArgs>(args: Prisma.SelectSubset<T, DatasetBookCreateArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
833
+ /**
834
+ * Create many DatasetBooks.
835
+ * @param {DatasetBookCreateManyArgs} args - Arguments to create many DatasetBooks.
836
+ * @example
837
+ * // Create many DatasetBooks
838
+ * const datasetBook = await prisma.datasetBook.createMany({
839
+ * data: [
840
+ * // ... provide data here
841
+ * ]
842
+ * })
843
+ *
844
+ */
845
+ createMany<T extends DatasetBookCreateManyArgs>(args?: Prisma.SelectSubset<T, DatasetBookCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
846
+ /**
847
+ * Create many DatasetBooks and returns the data saved in the database.
848
+ * @param {DatasetBookCreateManyAndReturnArgs} args - Arguments to create many DatasetBooks.
849
+ * @example
850
+ * // Create many DatasetBooks
851
+ * const datasetBook = await prisma.datasetBook.createManyAndReturn({
852
+ * data: [
853
+ * // ... provide data here
854
+ * ]
855
+ * })
856
+ *
857
+ * // Create many DatasetBooks and only return the `id`
858
+ * const datasetBookWithIdOnly = await prisma.datasetBook.createManyAndReturn({
859
+ * select: { id: true },
860
+ * data: [
861
+ * // ... provide data here
862
+ * ]
863
+ * })
864
+ * Note, that providing `undefined` is treated as the value not being there.
865
+ * Read more here: https://pris.ly/d/null-undefined
866
+ *
867
+ */
868
+ createManyAndReturn<T extends DatasetBookCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DatasetBookCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
869
+ /**
870
+ * Delete a DatasetBook.
871
+ * @param {DatasetBookDeleteArgs} args - Arguments to delete one DatasetBook.
872
+ * @example
873
+ * // Delete one DatasetBook
874
+ * const DatasetBook = await prisma.datasetBook.delete({
875
+ * where: {
876
+ * // ... filter to delete one DatasetBook
877
+ * }
878
+ * })
879
+ *
880
+ */
881
+ delete<T extends DatasetBookDeleteArgs>(args: Prisma.SelectSubset<T, DatasetBookDeleteArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
882
+ /**
883
+ * Update one DatasetBook.
884
+ * @param {DatasetBookUpdateArgs} args - Arguments to update one DatasetBook.
885
+ * @example
886
+ * // Update one DatasetBook
887
+ * const datasetBook = await prisma.datasetBook.update({
888
+ * where: {
889
+ * // ... provide filter here
890
+ * },
891
+ * data: {
892
+ * // ... provide data here
893
+ * }
894
+ * })
895
+ *
896
+ */
897
+ update<T extends DatasetBookUpdateArgs>(args: Prisma.SelectSubset<T, DatasetBookUpdateArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
898
+ /**
899
+ * Delete zero or more DatasetBooks.
900
+ * @param {DatasetBookDeleteManyArgs} args - Arguments to filter DatasetBooks to delete.
901
+ * @example
902
+ * // Delete a few DatasetBooks
903
+ * const { count } = await prisma.datasetBook.deleteMany({
904
+ * where: {
905
+ * // ... provide filter here
906
+ * }
907
+ * })
908
+ *
909
+ */
910
+ deleteMany<T extends DatasetBookDeleteManyArgs>(args?: Prisma.SelectSubset<T, DatasetBookDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
911
+ /**
912
+ * Update zero or more DatasetBooks.
913
+ * Note, that providing `undefined` is treated as the value not being there.
914
+ * Read more here: https://pris.ly/d/null-undefined
915
+ * @param {DatasetBookUpdateManyArgs} args - Arguments to update one or more rows.
916
+ * @example
917
+ * // Update many DatasetBooks
918
+ * const datasetBook = await prisma.datasetBook.updateMany({
919
+ * where: {
920
+ * // ... provide filter here
921
+ * },
922
+ * data: {
923
+ * // ... provide data here
924
+ * }
925
+ * })
926
+ *
927
+ */
928
+ updateMany<T extends DatasetBookUpdateManyArgs>(args: Prisma.SelectSubset<T, DatasetBookUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
929
+ /**
930
+ * Update zero or more DatasetBooks and returns the data updated in the database.
931
+ * @param {DatasetBookUpdateManyAndReturnArgs} args - Arguments to update many DatasetBooks.
932
+ * @example
933
+ * // Update many DatasetBooks
934
+ * const datasetBook = await prisma.datasetBook.updateManyAndReturn({
935
+ * where: {
936
+ * // ... provide filter here
937
+ * },
938
+ * data: [
939
+ * // ... provide data here
940
+ * ]
941
+ * })
942
+ *
943
+ * // Update zero or more DatasetBooks and only return the `id`
944
+ * const datasetBookWithIdOnly = await prisma.datasetBook.updateManyAndReturn({
945
+ * select: { id: true },
946
+ * where: {
947
+ * // ... provide filter here
948
+ * },
949
+ * data: [
950
+ * // ... provide data here
951
+ * ]
952
+ * })
953
+ * Note, that providing `undefined` is treated as the value not being there.
954
+ * Read more here: https://pris.ly/d/null-undefined
955
+ *
956
+ */
957
+ updateManyAndReturn<T extends DatasetBookUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DatasetBookUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
958
+ /**
959
+ * Create or update one DatasetBook.
960
+ * @param {DatasetBookUpsertArgs} args - Arguments to update or create a DatasetBook.
961
+ * @example
962
+ * // Update or create a DatasetBook
963
+ * const datasetBook = await prisma.datasetBook.upsert({
964
+ * create: {
965
+ * // ... data to create a DatasetBook
966
+ * },
967
+ * update: {
968
+ * // ... in case it already exists, update
969
+ * },
970
+ * where: {
971
+ * // ... the filter for the DatasetBook we want to update
972
+ * }
973
+ * })
974
+ */
975
+ upsert<T extends DatasetBookUpsertArgs>(args: Prisma.SelectSubset<T, DatasetBookUpsertArgs<ExtArgs>>): Prisma.Prisma__DatasetBookClient<runtime.Types.Result.GetResult<Prisma.$DatasetBookPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
976
+ /**
977
+ * Count the number of DatasetBooks.
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 {DatasetBookCountArgs} args - Arguments to filter DatasetBooks to count.
981
+ * @example
982
+ * // Count the number of DatasetBooks
983
+ * const count = await prisma.datasetBook.count({
984
+ * where: {
985
+ * // ... the filter for the DatasetBooks we want to count
986
+ * }
987
+ * })
988
+ **/
989
+ count<T extends DatasetBookCountArgs>(args?: Prisma.Subset<T, DatasetBookCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], DatasetBookCountAggregateOutputType> : number>;
990
+ /**
991
+ * Allows you to perform aggregations operations on a DatasetBook.
992
+ * Note, that providing `undefined` is treated as the value not being there.
993
+ * Read more here: https://pris.ly/d/null-undefined
994
+ * @param {DatasetBookAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
995
+ * @example
996
+ * // Ordered by age ascending
997
+ * // Where email contains prisma.io
998
+ * // Limited to the 10 users
999
+ * const aggregations = await prisma.user.aggregate({
1000
+ * _avg: {
1001
+ * age: true,
1002
+ * },
1003
+ * where: {
1004
+ * email: {
1005
+ * contains: "prisma.io",
1006
+ * },
1007
+ * },
1008
+ * orderBy: {
1009
+ * age: "asc",
1010
+ * },
1011
+ * take: 10,
1012
+ * })
1013
+ **/
1014
+ aggregate<T extends DatasetBookAggregateArgs>(args: Prisma.Subset<T, DatasetBookAggregateArgs>): Prisma.PrismaPromise<GetDatasetBookAggregateType<T>>;
1015
+ /**
1016
+ * Group by DatasetBook.
1017
+ * Note, that providing `undefined` is treated as the value not being there.
1018
+ * Read more here: https://pris.ly/d/null-undefined
1019
+ * @param {DatasetBookGroupByArgs} args - Group by arguments.
1020
+ * @example
1021
+ * // Group by city, order by createdAt, get count
1022
+ * const result = await prisma.user.groupBy({
1023
+ * by: ['city', 'createdAt'],
1024
+ * orderBy: {
1025
+ * createdAt: true
1026
+ * },
1027
+ * _count: {
1028
+ * _all: true
1029
+ * },
1030
+ * })
1031
+ *
1032
+ **/
1033
+ groupBy<T extends DatasetBookGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1034
+ orderBy: DatasetBookGroupByArgs['orderBy'];
1035
+ } : {
1036
+ orderBy?: DatasetBookGroupByArgs['orderBy'];
1037
+ }, 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 ? {
1038
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1039
+ Error,
1040
+ 'Field ',
1041
+ P,
1042
+ ` in "having" needs to be provided in "by"`
1043
+ ];
1044
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1045
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1046
+ }[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 ? {} : {
1047
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1048
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1049
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1050
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, DatasetBookGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDatasetBookGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1051
+ /**
1052
+ * Fields of the DatasetBook model
1053
+ */
1054
+ readonly fields: DatasetBookFieldRefs;
1055
+ }
1056
+ /**
1057
+ * The delegate class that acts as a "Promise-like" for DatasetBook.
1058
+ * Why is this prefixed with `Prisma__`?
1059
+ * Because we want to prevent naming conflicts as mentioned in
1060
+ * https://github.com/prisma/prisma-client-js/issues/707
1061
+ */
1062
+ export interface Prisma__DatasetBookClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1063
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1064
+ dataset<T extends Prisma.DatasetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DatasetDefaultArgs<ExtArgs>>): Prisma.Prisma__DatasetClient<runtime.Types.Result.GetResult<Prisma.$DatasetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1065
+ chapters<T extends Prisma.DatasetBook$chaptersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DatasetBook$chaptersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetChapterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1066
+ verses<T extends Prisma.DatasetBook$versesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DatasetBook$versesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetChapterVersePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1067
+ references<T extends Prisma.DatasetBook$referencesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DatasetBook$referencesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DatasetReferencePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1068
+ /**
1069
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1070
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1071
+ * @param onrejected The callback to execute when the Promise is rejected.
1072
+ * @returns A Promise for the completion of which ever callback is executed.
1073
+ */
1074
+ 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>;
1075
+ /**
1076
+ * Attaches a callback for only the rejection of the Promise.
1077
+ * @param onrejected The callback to execute when the Promise is rejected.
1078
+ * @returns A Promise for the completion of the callback.
1079
+ */
1080
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1081
+ /**
1082
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1083
+ * resolved value cannot be modified from the callback.
1084
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1085
+ * @returns A Promise for the completion of the callback.
1086
+ */
1087
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1088
+ }
1089
+ /**
1090
+ * Fields of the DatasetBook model
1091
+ */
1092
+ export interface DatasetBookFieldRefs {
1093
+ readonly id: Prisma.FieldRef<"DatasetBook", 'String'>;
1094
+ readonly datasetId: Prisma.FieldRef<"DatasetBook", 'String'>;
1095
+ readonly order: Prisma.FieldRef<"DatasetBook", 'Int'>;
1096
+ readonly numberOfChapters: Prisma.FieldRef<"DatasetBook", 'Int'>;
1097
+ readonly sha256: Prisma.FieldRef<"DatasetBook", 'String'>;
1098
+ }
1099
+ /**
1100
+ * DatasetBook findUnique
1101
+ */
1102
+ export type DatasetBookFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1103
+ /**
1104
+ * Select specific fields to fetch from the DatasetBook
1105
+ */
1106
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1107
+ /**
1108
+ * Omit specific fields from the DatasetBook
1109
+ */
1110
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1111
+ /**
1112
+ * Choose, which related nodes to fetch as well
1113
+ */
1114
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1115
+ /**
1116
+ * Filter, which DatasetBook to fetch.
1117
+ */
1118
+ where: Prisma.DatasetBookWhereUniqueInput;
1119
+ };
1120
+ /**
1121
+ * DatasetBook findUniqueOrThrow
1122
+ */
1123
+ export type DatasetBookFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1124
+ /**
1125
+ * Select specific fields to fetch from the DatasetBook
1126
+ */
1127
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1128
+ /**
1129
+ * Omit specific fields from the DatasetBook
1130
+ */
1131
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1132
+ /**
1133
+ * Choose, which related nodes to fetch as well
1134
+ */
1135
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1136
+ /**
1137
+ * Filter, which DatasetBook to fetch.
1138
+ */
1139
+ where: Prisma.DatasetBookWhereUniqueInput;
1140
+ };
1141
+ /**
1142
+ * DatasetBook findFirst
1143
+ */
1144
+ export type DatasetBookFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1145
+ /**
1146
+ * Select specific fields to fetch from the DatasetBook
1147
+ */
1148
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1149
+ /**
1150
+ * Omit specific fields from the DatasetBook
1151
+ */
1152
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1153
+ /**
1154
+ * Choose, which related nodes to fetch as well
1155
+ */
1156
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1157
+ /**
1158
+ * Filter, which DatasetBook to fetch.
1159
+ */
1160
+ where?: Prisma.DatasetBookWhereInput;
1161
+ /**
1162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1163
+ *
1164
+ * Determine the order of DatasetBooks to fetch.
1165
+ */
1166
+ orderBy?: Prisma.DatasetBookOrderByWithRelationInput | Prisma.DatasetBookOrderByWithRelationInput[];
1167
+ /**
1168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1169
+ *
1170
+ * Sets the position for searching for DatasetBooks.
1171
+ */
1172
+ cursor?: Prisma.DatasetBookWhereUniqueInput;
1173
+ /**
1174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1175
+ *
1176
+ * Take `±n` DatasetBooks from the position of the cursor.
1177
+ */
1178
+ take?: number;
1179
+ /**
1180
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1181
+ *
1182
+ * Skip the first `n` DatasetBooks.
1183
+ */
1184
+ skip?: number;
1185
+ /**
1186
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1187
+ *
1188
+ * Filter by unique combinations of DatasetBooks.
1189
+ */
1190
+ distinct?: Prisma.DatasetBookScalarFieldEnum | Prisma.DatasetBookScalarFieldEnum[];
1191
+ };
1192
+ /**
1193
+ * DatasetBook findFirstOrThrow
1194
+ */
1195
+ export type DatasetBookFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
+ /**
1197
+ * Select specific fields to fetch from the DatasetBook
1198
+ */
1199
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1200
+ /**
1201
+ * Omit specific fields from the DatasetBook
1202
+ */
1203
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1204
+ /**
1205
+ * Choose, which related nodes to fetch as well
1206
+ */
1207
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1208
+ /**
1209
+ * Filter, which DatasetBook to fetch.
1210
+ */
1211
+ where?: Prisma.DatasetBookWhereInput;
1212
+ /**
1213
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1214
+ *
1215
+ * Determine the order of DatasetBooks to fetch.
1216
+ */
1217
+ orderBy?: Prisma.DatasetBookOrderByWithRelationInput | Prisma.DatasetBookOrderByWithRelationInput[];
1218
+ /**
1219
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1220
+ *
1221
+ * Sets the position for searching for DatasetBooks.
1222
+ */
1223
+ cursor?: Prisma.DatasetBookWhereUniqueInput;
1224
+ /**
1225
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1226
+ *
1227
+ * Take `±n` DatasetBooks from the position of the cursor.
1228
+ */
1229
+ take?: number;
1230
+ /**
1231
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1232
+ *
1233
+ * Skip the first `n` DatasetBooks.
1234
+ */
1235
+ skip?: number;
1236
+ /**
1237
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1238
+ *
1239
+ * Filter by unique combinations of DatasetBooks.
1240
+ */
1241
+ distinct?: Prisma.DatasetBookScalarFieldEnum | Prisma.DatasetBookScalarFieldEnum[];
1242
+ };
1243
+ /**
1244
+ * DatasetBook findMany
1245
+ */
1246
+ export type DatasetBookFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1247
+ /**
1248
+ * Select specific fields to fetch from the DatasetBook
1249
+ */
1250
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1251
+ /**
1252
+ * Omit specific fields from the DatasetBook
1253
+ */
1254
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1255
+ /**
1256
+ * Choose, which related nodes to fetch as well
1257
+ */
1258
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1259
+ /**
1260
+ * Filter, which DatasetBooks to fetch.
1261
+ */
1262
+ where?: Prisma.DatasetBookWhereInput;
1263
+ /**
1264
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1265
+ *
1266
+ * Determine the order of DatasetBooks to fetch.
1267
+ */
1268
+ orderBy?: Prisma.DatasetBookOrderByWithRelationInput | Prisma.DatasetBookOrderByWithRelationInput[];
1269
+ /**
1270
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1271
+ *
1272
+ * Sets the position for listing DatasetBooks.
1273
+ */
1274
+ cursor?: Prisma.DatasetBookWhereUniqueInput;
1275
+ /**
1276
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1277
+ *
1278
+ * Take `±n` DatasetBooks from the position of the cursor.
1279
+ */
1280
+ take?: number;
1281
+ /**
1282
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1283
+ *
1284
+ * Skip the first `n` DatasetBooks.
1285
+ */
1286
+ skip?: number;
1287
+ /**
1288
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1289
+ *
1290
+ * Filter by unique combinations of DatasetBooks.
1291
+ */
1292
+ distinct?: Prisma.DatasetBookScalarFieldEnum | Prisma.DatasetBookScalarFieldEnum[];
1293
+ };
1294
+ /**
1295
+ * DatasetBook create
1296
+ */
1297
+ export type DatasetBookCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1298
+ /**
1299
+ * Select specific fields to fetch from the DatasetBook
1300
+ */
1301
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1302
+ /**
1303
+ * Omit specific fields from the DatasetBook
1304
+ */
1305
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1306
+ /**
1307
+ * Choose, which related nodes to fetch as well
1308
+ */
1309
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1310
+ /**
1311
+ * The data needed to create a DatasetBook.
1312
+ */
1313
+ data: Prisma.XOR<Prisma.DatasetBookCreateInput, Prisma.DatasetBookUncheckedCreateInput>;
1314
+ };
1315
+ /**
1316
+ * DatasetBook createMany
1317
+ */
1318
+ export type DatasetBookCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1319
+ /**
1320
+ * The data used to create many DatasetBooks.
1321
+ */
1322
+ data: Prisma.DatasetBookCreateManyInput | Prisma.DatasetBookCreateManyInput[];
1323
+ };
1324
+ /**
1325
+ * DatasetBook createManyAndReturn
1326
+ */
1327
+ export type DatasetBookCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1328
+ /**
1329
+ * Select specific fields to fetch from the DatasetBook
1330
+ */
1331
+ select?: Prisma.DatasetBookSelectCreateManyAndReturn<ExtArgs> | null;
1332
+ /**
1333
+ * Omit specific fields from the DatasetBook
1334
+ */
1335
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1336
+ /**
1337
+ * The data used to create many DatasetBooks.
1338
+ */
1339
+ data: Prisma.DatasetBookCreateManyInput | Prisma.DatasetBookCreateManyInput[];
1340
+ /**
1341
+ * Choose, which related nodes to fetch as well
1342
+ */
1343
+ include?: Prisma.DatasetBookIncludeCreateManyAndReturn<ExtArgs> | null;
1344
+ };
1345
+ /**
1346
+ * DatasetBook update
1347
+ */
1348
+ export type DatasetBookUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1349
+ /**
1350
+ * Select specific fields to fetch from the DatasetBook
1351
+ */
1352
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1353
+ /**
1354
+ * Omit specific fields from the DatasetBook
1355
+ */
1356
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1357
+ /**
1358
+ * Choose, which related nodes to fetch as well
1359
+ */
1360
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1361
+ /**
1362
+ * The data needed to update a DatasetBook.
1363
+ */
1364
+ data: Prisma.XOR<Prisma.DatasetBookUpdateInput, Prisma.DatasetBookUncheckedUpdateInput>;
1365
+ /**
1366
+ * Choose, which DatasetBook to update.
1367
+ */
1368
+ where: Prisma.DatasetBookWhereUniqueInput;
1369
+ };
1370
+ /**
1371
+ * DatasetBook updateMany
1372
+ */
1373
+ export type DatasetBookUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1374
+ /**
1375
+ * The data used to update DatasetBooks.
1376
+ */
1377
+ data: Prisma.XOR<Prisma.DatasetBookUpdateManyMutationInput, Prisma.DatasetBookUncheckedUpdateManyInput>;
1378
+ /**
1379
+ * Filter which DatasetBooks to update
1380
+ */
1381
+ where?: Prisma.DatasetBookWhereInput;
1382
+ /**
1383
+ * Limit how many DatasetBooks to update.
1384
+ */
1385
+ limit?: number;
1386
+ };
1387
+ /**
1388
+ * DatasetBook updateManyAndReturn
1389
+ */
1390
+ export type DatasetBookUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1391
+ /**
1392
+ * Select specific fields to fetch from the DatasetBook
1393
+ */
1394
+ select?: Prisma.DatasetBookSelectUpdateManyAndReturn<ExtArgs> | null;
1395
+ /**
1396
+ * Omit specific fields from the DatasetBook
1397
+ */
1398
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1399
+ /**
1400
+ * The data used to update DatasetBooks.
1401
+ */
1402
+ data: Prisma.XOR<Prisma.DatasetBookUpdateManyMutationInput, Prisma.DatasetBookUncheckedUpdateManyInput>;
1403
+ /**
1404
+ * Filter which DatasetBooks to update
1405
+ */
1406
+ where?: Prisma.DatasetBookWhereInput;
1407
+ /**
1408
+ * Limit how many DatasetBooks to update.
1409
+ */
1410
+ limit?: number;
1411
+ /**
1412
+ * Choose, which related nodes to fetch as well
1413
+ */
1414
+ include?: Prisma.DatasetBookIncludeUpdateManyAndReturn<ExtArgs> | null;
1415
+ };
1416
+ /**
1417
+ * DatasetBook upsert
1418
+ */
1419
+ export type DatasetBookUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1420
+ /**
1421
+ * Select specific fields to fetch from the DatasetBook
1422
+ */
1423
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1424
+ /**
1425
+ * Omit specific fields from the DatasetBook
1426
+ */
1427
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1428
+ /**
1429
+ * Choose, which related nodes to fetch as well
1430
+ */
1431
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1432
+ /**
1433
+ * The filter to search for the DatasetBook to update in case it exists.
1434
+ */
1435
+ where: Prisma.DatasetBookWhereUniqueInput;
1436
+ /**
1437
+ * In case the DatasetBook found by the `where` argument doesn't exist, create a new DatasetBook with this data.
1438
+ */
1439
+ create: Prisma.XOR<Prisma.DatasetBookCreateInput, Prisma.DatasetBookUncheckedCreateInput>;
1440
+ /**
1441
+ * In case the DatasetBook was found with the provided `where` argument, update it with this data.
1442
+ */
1443
+ update: Prisma.XOR<Prisma.DatasetBookUpdateInput, Prisma.DatasetBookUncheckedUpdateInput>;
1444
+ };
1445
+ /**
1446
+ * DatasetBook delete
1447
+ */
1448
+ export type DatasetBookDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1449
+ /**
1450
+ * Select specific fields to fetch from the DatasetBook
1451
+ */
1452
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1453
+ /**
1454
+ * Omit specific fields from the DatasetBook
1455
+ */
1456
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1457
+ /**
1458
+ * Choose, which related nodes to fetch as well
1459
+ */
1460
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1461
+ /**
1462
+ * Filter which DatasetBook to delete.
1463
+ */
1464
+ where: Prisma.DatasetBookWhereUniqueInput;
1465
+ };
1466
+ /**
1467
+ * DatasetBook deleteMany
1468
+ */
1469
+ export type DatasetBookDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1470
+ /**
1471
+ * Filter which DatasetBooks to delete
1472
+ */
1473
+ where?: Prisma.DatasetBookWhereInput;
1474
+ /**
1475
+ * Limit how many DatasetBooks to delete.
1476
+ */
1477
+ limit?: number;
1478
+ };
1479
+ /**
1480
+ * DatasetBook.chapters
1481
+ */
1482
+ export type DatasetBook$chaptersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1483
+ /**
1484
+ * Select specific fields to fetch from the DatasetChapter
1485
+ */
1486
+ select?: Prisma.DatasetChapterSelect<ExtArgs> | null;
1487
+ /**
1488
+ * Omit specific fields from the DatasetChapter
1489
+ */
1490
+ omit?: Prisma.DatasetChapterOmit<ExtArgs> | null;
1491
+ /**
1492
+ * Choose, which related nodes to fetch as well
1493
+ */
1494
+ include?: Prisma.DatasetChapterInclude<ExtArgs> | null;
1495
+ where?: Prisma.DatasetChapterWhereInput;
1496
+ orderBy?: Prisma.DatasetChapterOrderByWithRelationInput | Prisma.DatasetChapterOrderByWithRelationInput[];
1497
+ cursor?: Prisma.DatasetChapterWhereUniqueInput;
1498
+ take?: number;
1499
+ skip?: number;
1500
+ distinct?: Prisma.DatasetChapterScalarFieldEnum | Prisma.DatasetChapterScalarFieldEnum[];
1501
+ };
1502
+ /**
1503
+ * DatasetBook.verses
1504
+ */
1505
+ export type DatasetBook$versesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1506
+ /**
1507
+ * Select specific fields to fetch from the DatasetChapterVerse
1508
+ */
1509
+ select?: Prisma.DatasetChapterVerseSelect<ExtArgs> | null;
1510
+ /**
1511
+ * Omit specific fields from the DatasetChapterVerse
1512
+ */
1513
+ omit?: Prisma.DatasetChapterVerseOmit<ExtArgs> | null;
1514
+ /**
1515
+ * Choose, which related nodes to fetch as well
1516
+ */
1517
+ include?: Prisma.DatasetChapterVerseInclude<ExtArgs> | null;
1518
+ where?: Prisma.DatasetChapterVerseWhereInput;
1519
+ orderBy?: Prisma.DatasetChapterVerseOrderByWithRelationInput | Prisma.DatasetChapterVerseOrderByWithRelationInput[];
1520
+ cursor?: Prisma.DatasetChapterVerseWhereUniqueInput;
1521
+ take?: number;
1522
+ skip?: number;
1523
+ distinct?: Prisma.DatasetChapterVerseScalarFieldEnum | Prisma.DatasetChapterVerseScalarFieldEnum[];
1524
+ };
1525
+ /**
1526
+ * DatasetBook.references
1527
+ */
1528
+ export type DatasetBook$referencesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1529
+ /**
1530
+ * Select specific fields to fetch from the DatasetReference
1531
+ */
1532
+ select?: Prisma.DatasetReferenceSelect<ExtArgs> | null;
1533
+ /**
1534
+ * Omit specific fields from the DatasetReference
1535
+ */
1536
+ omit?: Prisma.DatasetReferenceOmit<ExtArgs> | null;
1537
+ /**
1538
+ * Choose, which related nodes to fetch as well
1539
+ */
1540
+ include?: Prisma.DatasetReferenceInclude<ExtArgs> | null;
1541
+ where?: Prisma.DatasetReferenceWhereInput;
1542
+ orderBy?: Prisma.DatasetReferenceOrderByWithRelationInput | Prisma.DatasetReferenceOrderByWithRelationInput[];
1543
+ cursor?: Prisma.DatasetReferenceWhereUniqueInput;
1544
+ take?: number;
1545
+ skip?: number;
1546
+ distinct?: Prisma.DatasetReferenceScalarFieldEnum | Prisma.DatasetReferenceScalarFieldEnum[];
1547
+ };
1548
+ /**
1549
+ * DatasetBook without action
1550
+ */
1551
+ export type DatasetBookDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1552
+ /**
1553
+ * Select specific fields to fetch from the DatasetBook
1554
+ */
1555
+ select?: Prisma.DatasetBookSelect<ExtArgs> | null;
1556
+ /**
1557
+ * Omit specific fields from the DatasetBook
1558
+ */
1559
+ omit?: Prisma.DatasetBookOmit<ExtArgs> | null;
1560
+ /**
1561
+ * Choose, which related nodes to fetch as well
1562
+ */
1563
+ include?: Prisma.DatasetBookInclude<ExtArgs> | null;
1564
+ };
1565
+ //# sourceMappingURL=DatasetBook.d.ts.map