@helloao/cli 0.2.0 → 0.4.0

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