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