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