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