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