@helloao/cli 0.2.0 → 0.3.0

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