@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,2197 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model Book
5
+ *
6
+ */
7
+ export type BookModel = runtime.Types.Result.DefaultSelection<Prisma.$BookPayload>;
8
+ export type AggregateBook = {
9
+ _count: BookCountAggregateOutputType | null;
10
+ _avg: BookAvgAggregateOutputType | null;
11
+ _sum: BookSumAggregateOutputType | null;
12
+ _min: BookMinAggregateOutputType | null;
13
+ _max: BookMaxAggregateOutputType | null;
14
+ };
15
+ export type BookAvgAggregateOutputType = {
16
+ order: number | null;
17
+ numberOfChapters: number | null;
18
+ };
19
+ export type BookSumAggregateOutputType = {
20
+ order: number | null;
21
+ numberOfChapters: number | null;
22
+ };
23
+ export type BookMinAggregateOutputType = {
24
+ id: string | null;
25
+ translationId: string | null;
26
+ name: string | null;
27
+ commonName: string | null;
28
+ title: string | null;
29
+ order: number | null;
30
+ numberOfChapters: number | null;
31
+ isApocryphal: boolean | null;
32
+ sha256: string | null;
33
+ };
34
+ export type BookMaxAggregateOutputType = {
35
+ id: string | null;
36
+ translationId: string | null;
37
+ name: string | null;
38
+ commonName: string | null;
39
+ title: string | null;
40
+ order: number | null;
41
+ numberOfChapters: number | null;
42
+ isApocryphal: boolean | null;
43
+ sha256: string | null;
44
+ };
45
+ export type BookCountAggregateOutputType = {
46
+ id: number;
47
+ translationId: number;
48
+ name: number;
49
+ commonName: number;
50
+ title: number;
51
+ order: number;
52
+ numberOfChapters: number;
53
+ isApocryphal: number;
54
+ sha256: number;
55
+ _all: number;
56
+ };
57
+ export type BookAvgAggregateInputType = {
58
+ order?: true;
59
+ numberOfChapters?: true;
60
+ };
61
+ export type BookSumAggregateInputType = {
62
+ order?: true;
63
+ numberOfChapters?: true;
64
+ };
65
+ export type BookMinAggregateInputType = {
66
+ id?: true;
67
+ translationId?: true;
68
+ name?: true;
69
+ commonName?: true;
70
+ title?: true;
71
+ order?: true;
72
+ numberOfChapters?: true;
73
+ isApocryphal?: true;
74
+ sha256?: true;
75
+ };
76
+ export type BookMaxAggregateInputType = {
77
+ id?: true;
78
+ translationId?: true;
79
+ name?: true;
80
+ commonName?: true;
81
+ title?: true;
82
+ order?: true;
83
+ numberOfChapters?: true;
84
+ isApocryphal?: true;
85
+ sha256?: true;
86
+ };
87
+ export type BookCountAggregateInputType = {
88
+ id?: true;
89
+ translationId?: true;
90
+ name?: true;
91
+ commonName?: true;
92
+ title?: true;
93
+ order?: true;
94
+ numberOfChapters?: true;
95
+ isApocryphal?: true;
96
+ sha256?: true;
97
+ _all?: true;
98
+ };
99
+ export type BookAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
100
+ /**
101
+ * Filter which Book to aggregate.
102
+ */
103
+ where?: Prisma.BookWhereInput;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
106
+ *
107
+ * Determine the order of Books to fetch.
108
+ */
109
+ orderBy?: Prisma.BookOrderByWithRelationInput | Prisma.BookOrderByWithRelationInput[];
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
112
+ *
113
+ * Sets the start position
114
+ */
115
+ cursor?: Prisma.BookWhereUniqueInput;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
118
+ *
119
+ * Take `±n` Books from the position of the cursor.
120
+ */
121
+ take?: number;
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
124
+ *
125
+ * Skip the first `n` Books.
126
+ */
127
+ skip?: number;
128
+ /**
129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
130
+ *
131
+ * Count returned Books
132
+ **/
133
+ _count?: true | BookCountAggregateInputType;
134
+ /**
135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
136
+ *
137
+ * Select which fields to average
138
+ **/
139
+ _avg?: BookAvgAggregateInputType;
140
+ /**
141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
142
+ *
143
+ * Select which fields to sum
144
+ **/
145
+ _sum?: BookSumAggregateInputType;
146
+ /**
147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
148
+ *
149
+ * Select which fields to find the minimum value
150
+ **/
151
+ _min?: BookMinAggregateInputType;
152
+ /**
153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
154
+ *
155
+ * Select which fields to find the maximum value
156
+ **/
157
+ _max?: BookMaxAggregateInputType;
158
+ };
159
+ export type GetBookAggregateType<T extends BookAggregateArgs> = {
160
+ [P in keyof T & keyof AggregateBook]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateBook[P]> : Prisma.GetScalarType<T[P], AggregateBook[P]>;
161
+ };
162
+ export type BookGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
163
+ where?: Prisma.BookWhereInput;
164
+ orderBy?: Prisma.BookOrderByWithAggregationInput | Prisma.BookOrderByWithAggregationInput[];
165
+ by: Prisma.BookScalarFieldEnum[] | Prisma.BookScalarFieldEnum;
166
+ having?: Prisma.BookScalarWhereWithAggregatesInput;
167
+ take?: number;
168
+ skip?: number;
169
+ _count?: BookCountAggregateInputType | true;
170
+ _avg?: BookAvgAggregateInputType;
171
+ _sum?: BookSumAggregateInputType;
172
+ _min?: BookMinAggregateInputType;
173
+ _max?: BookMaxAggregateInputType;
174
+ };
175
+ export type BookGroupByOutputType = {
176
+ id: string;
177
+ translationId: string;
178
+ name: string;
179
+ commonName: string;
180
+ title: string | null;
181
+ order: number;
182
+ numberOfChapters: number;
183
+ isApocryphal: boolean | null;
184
+ sha256: string | null;
185
+ _count: BookCountAggregateOutputType | null;
186
+ _avg: BookAvgAggregateOutputType | null;
187
+ _sum: BookSumAggregateOutputType | null;
188
+ _min: BookMinAggregateOutputType | null;
189
+ _max: BookMaxAggregateOutputType | null;
190
+ };
191
+ export type GetBookGroupByPayload<T extends BookGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<BookGroupByOutputType, T['by']> & {
192
+ [P in ((keyof T) & (keyof BookGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], BookGroupByOutputType[P]> : Prisma.GetScalarType<T[P], BookGroupByOutputType[P]>;
193
+ }>>;
194
+ export type BookWhereInput = {
195
+ AND?: Prisma.BookWhereInput | Prisma.BookWhereInput[];
196
+ OR?: Prisma.BookWhereInput[];
197
+ NOT?: Prisma.BookWhereInput | Prisma.BookWhereInput[];
198
+ id?: Prisma.StringFilter<"Book"> | string;
199
+ translationId?: Prisma.StringFilter<"Book"> | string;
200
+ name?: Prisma.StringFilter<"Book"> | string;
201
+ commonName?: Prisma.StringFilter<"Book"> | string;
202
+ title?: Prisma.StringNullableFilter<"Book"> | string | null;
203
+ order?: Prisma.IntFilter<"Book"> | number;
204
+ numberOfChapters?: Prisma.IntFilter<"Book"> | number;
205
+ isApocryphal?: Prisma.BoolNullableFilter<"Book"> | boolean | null;
206
+ sha256?: Prisma.StringNullableFilter<"Book"> | string | null;
207
+ translation?: Prisma.XOR<Prisma.TranslationScalarRelationFilter, Prisma.TranslationWhereInput>;
208
+ chapters?: Prisma.ChapterListRelationFilter;
209
+ verses?: Prisma.ChapterVerseListRelationFilter;
210
+ footnotes?: Prisma.ChapterFootnoteListRelationFilter;
211
+ audioUrls?: Prisma.ChapterAudioUrlListRelationFilter;
212
+ audioTimings?: Prisma.ChapterAudioTimingListRelationFilter;
213
+ words?: Prisma.ChapterWordsListRelationFilter;
214
+ };
215
+ export type BookOrderByWithRelationInput = {
216
+ id?: Prisma.SortOrder;
217
+ translationId?: Prisma.SortOrder;
218
+ name?: Prisma.SortOrder;
219
+ commonName?: Prisma.SortOrder;
220
+ title?: Prisma.SortOrderInput | Prisma.SortOrder;
221
+ order?: Prisma.SortOrder;
222
+ numberOfChapters?: Prisma.SortOrder;
223
+ isApocryphal?: Prisma.SortOrderInput | Prisma.SortOrder;
224
+ sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
225
+ translation?: Prisma.TranslationOrderByWithRelationInput;
226
+ chapters?: Prisma.ChapterOrderByRelationAggregateInput;
227
+ verses?: Prisma.ChapterVerseOrderByRelationAggregateInput;
228
+ footnotes?: Prisma.ChapterFootnoteOrderByRelationAggregateInput;
229
+ audioUrls?: Prisma.ChapterAudioUrlOrderByRelationAggregateInput;
230
+ audioTimings?: Prisma.ChapterAudioTimingOrderByRelationAggregateInput;
231
+ words?: Prisma.ChapterWordsOrderByRelationAggregateInput;
232
+ };
233
+ export type BookWhereUniqueInput = Prisma.AtLeast<{
234
+ translationId_id?: Prisma.BookTranslationIdIdCompoundUniqueInput;
235
+ AND?: Prisma.BookWhereInput | Prisma.BookWhereInput[];
236
+ OR?: Prisma.BookWhereInput[];
237
+ NOT?: Prisma.BookWhereInput | Prisma.BookWhereInput[];
238
+ id?: Prisma.StringFilter<"Book"> | string;
239
+ translationId?: Prisma.StringFilter<"Book"> | string;
240
+ name?: Prisma.StringFilter<"Book"> | string;
241
+ commonName?: Prisma.StringFilter<"Book"> | string;
242
+ title?: Prisma.StringNullableFilter<"Book"> | string | null;
243
+ order?: Prisma.IntFilter<"Book"> | number;
244
+ numberOfChapters?: Prisma.IntFilter<"Book"> | number;
245
+ isApocryphal?: Prisma.BoolNullableFilter<"Book"> | boolean | null;
246
+ sha256?: Prisma.StringNullableFilter<"Book"> | string | null;
247
+ translation?: Prisma.XOR<Prisma.TranslationScalarRelationFilter, Prisma.TranslationWhereInput>;
248
+ chapters?: Prisma.ChapterListRelationFilter;
249
+ verses?: Prisma.ChapterVerseListRelationFilter;
250
+ footnotes?: Prisma.ChapterFootnoteListRelationFilter;
251
+ audioUrls?: Prisma.ChapterAudioUrlListRelationFilter;
252
+ audioTimings?: Prisma.ChapterAudioTimingListRelationFilter;
253
+ words?: Prisma.ChapterWordsListRelationFilter;
254
+ }, "translationId_id">;
255
+ export type BookOrderByWithAggregationInput = {
256
+ id?: Prisma.SortOrder;
257
+ translationId?: Prisma.SortOrder;
258
+ name?: Prisma.SortOrder;
259
+ commonName?: Prisma.SortOrder;
260
+ title?: Prisma.SortOrderInput | Prisma.SortOrder;
261
+ order?: Prisma.SortOrder;
262
+ numberOfChapters?: Prisma.SortOrder;
263
+ isApocryphal?: Prisma.SortOrderInput | Prisma.SortOrder;
264
+ sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
265
+ _count?: Prisma.BookCountOrderByAggregateInput;
266
+ _avg?: Prisma.BookAvgOrderByAggregateInput;
267
+ _max?: Prisma.BookMaxOrderByAggregateInput;
268
+ _min?: Prisma.BookMinOrderByAggregateInput;
269
+ _sum?: Prisma.BookSumOrderByAggregateInput;
270
+ };
271
+ export type BookScalarWhereWithAggregatesInput = {
272
+ AND?: Prisma.BookScalarWhereWithAggregatesInput | Prisma.BookScalarWhereWithAggregatesInput[];
273
+ OR?: Prisma.BookScalarWhereWithAggregatesInput[];
274
+ NOT?: Prisma.BookScalarWhereWithAggregatesInput | Prisma.BookScalarWhereWithAggregatesInput[];
275
+ id?: Prisma.StringWithAggregatesFilter<"Book"> | string;
276
+ translationId?: Prisma.StringWithAggregatesFilter<"Book"> | string;
277
+ name?: Prisma.StringWithAggregatesFilter<"Book"> | string;
278
+ commonName?: Prisma.StringWithAggregatesFilter<"Book"> | string;
279
+ title?: Prisma.StringNullableWithAggregatesFilter<"Book"> | string | null;
280
+ order?: Prisma.IntWithAggregatesFilter<"Book"> | number;
281
+ numberOfChapters?: Prisma.IntWithAggregatesFilter<"Book"> | number;
282
+ isApocryphal?: Prisma.BoolNullableWithAggregatesFilter<"Book"> | boolean | null;
283
+ sha256?: Prisma.StringNullableWithAggregatesFilter<"Book"> | string | null;
284
+ };
285
+ export type BookCreateInput = {
286
+ id: string;
287
+ name: string;
288
+ commonName: string;
289
+ title?: string | null;
290
+ order: number;
291
+ numberOfChapters: number;
292
+ isApocryphal?: boolean | null;
293
+ sha256?: string | null;
294
+ translation: Prisma.TranslationCreateNestedOneWithoutBooksInput;
295
+ chapters?: Prisma.ChapterCreateNestedManyWithoutBookInput;
296
+ verses?: Prisma.ChapterVerseCreateNestedManyWithoutBookInput;
297
+ footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutBookInput;
298
+ audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutBookInput;
299
+ audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutBookInput;
300
+ words?: Prisma.ChapterWordsCreateNestedManyWithoutBookInput;
301
+ };
302
+ export type BookUncheckedCreateInput = {
303
+ id: string;
304
+ translationId: string;
305
+ name: string;
306
+ commonName: string;
307
+ title?: string | null;
308
+ order: number;
309
+ numberOfChapters: number;
310
+ isApocryphal?: boolean | null;
311
+ sha256?: string | null;
312
+ chapters?: Prisma.ChapterUncheckedCreateNestedManyWithoutBookInput;
313
+ verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutBookInput;
314
+ footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutBookInput;
315
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutBookInput;
316
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutBookInput;
317
+ words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutBookInput;
318
+ };
319
+ export type BookUpdateInput = {
320
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
321
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
322
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
323
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
324
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
325
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
326
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
327
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
328
+ translation?: Prisma.TranslationUpdateOneRequiredWithoutBooksNestedInput;
329
+ chapters?: Prisma.ChapterUpdateManyWithoutBookNestedInput;
330
+ verses?: Prisma.ChapterVerseUpdateManyWithoutBookNestedInput;
331
+ footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutBookNestedInput;
332
+ audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutBookNestedInput;
333
+ audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutBookNestedInput;
334
+ words?: Prisma.ChapterWordsUpdateManyWithoutBookNestedInput;
335
+ };
336
+ export type BookUncheckedUpdateInput = {
337
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
338
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
339
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
340
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
341
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
342
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
343
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
344
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
345
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
346
+ chapters?: Prisma.ChapterUncheckedUpdateManyWithoutBookNestedInput;
347
+ verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
348
+ footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutBookNestedInput;
349
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutBookNestedInput;
350
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutBookNestedInput;
351
+ words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutBookNestedInput;
352
+ };
353
+ export type BookCreateManyInput = {
354
+ id: string;
355
+ translationId: string;
356
+ name: string;
357
+ commonName: string;
358
+ title?: string | null;
359
+ order: number;
360
+ numberOfChapters: number;
361
+ isApocryphal?: boolean | null;
362
+ sha256?: string | null;
363
+ };
364
+ export type BookUpdateManyMutationInput = {
365
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
366
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
367
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
368
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
369
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
370
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
371
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
372
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
373
+ };
374
+ export type BookUncheckedUpdateManyInput = {
375
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
376
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
377
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
378
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
379
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
380
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
381
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
382
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
383
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
384
+ };
385
+ export type BookListRelationFilter = {
386
+ every?: Prisma.BookWhereInput;
387
+ some?: Prisma.BookWhereInput;
388
+ none?: Prisma.BookWhereInput;
389
+ };
390
+ export type BookOrderByRelationAggregateInput = {
391
+ _count?: Prisma.SortOrder;
392
+ };
393
+ export type BookTranslationIdIdCompoundUniqueInput = {
394
+ translationId: string;
395
+ id: string;
396
+ };
397
+ export type BookCountOrderByAggregateInput = {
398
+ id?: Prisma.SortOrder;
399
+ translationId?: Prisma.SortOrder;
400
+ name?: Prisma.SortOrder;
401
+ commonName?: Prisma.SortOrder;
402
+ title?: Prisma.SortOrder;
403
+ order?: Prisma.SortOrder;
404
+ numberOfChapters?: Prisma.SortOrder;
405
+ isApocryphal?: Prisma.SortOrder;
406
+ sha256?: Prisma.SortOrder;
407
+ };
408
+ export type BookAvgOrderByAggregateInput = {
409
+ order?: Prisma.SortOrder;
410
+ numberOfChapters?: Prisma.SortOrder;
411
+ };
412
+ export type BookMaxOrderByAggregateInput = {
413
+ id?: Prisma.SortOrder;
414
+ translationId?: Prisma.SortOrder;
415
+ name?: Prisma.SortOrder;
416
+ commonName?: Prisma.SortOrder;
417
+ title?: Prisma.SortOrder;
418
+ order?: Prisma.SortOrder;
419
+ numberOfChapters?: Prisma.SortOrder;
420
+ isApocryphal?: Prisma.SortOrder;
421
+ sha256?: Prisma.SortOrder;
422
+ };
423
+ export type BookMinOrderByAggregateInput = {
424
+ id?: Prisma.SortOrder;
425
+ translationId?: Prisma.SortOrder;
426
+ name?: Prisma.SortOrder;
427
+ commonName?: Prisma.SortOrder;
428
+ title?: Prisma.SortOrder;
429
+ order?: Prisma.SortOrder;
430
+ numberOfChapters?: Prisma.SortOrder;
431
+ isApocryphal?: Prisma.SortOrder;
432
+ sha256?: Prisma.SortOrder;
433
+ };
434
+ export type BookSumOrderByAggregateInput = {
435
+ order?: Prisma.SortOrder;
436
+ numberOfChapters?: Prisma.SortOrder;
437
+ };
438
+ export type BookScalarRelationFilter = {
439
+ is?: Prisma.BookWhereInput;
440
+ isNot?: Prisma.BookWhereInput;
441
+ };
442
+ export type BookCreateNestedManyWithoutTranslationInput = {
443
+ create?: Prisma.XOR<Prisma.BookCreateWithoutTranslationInput, Prisma.BookUncheckedCreateWithoutTranslationInput> | Prisma.BookCreateWithoutTranslationInput[] | Prisma.BookUncheckedCreateWithoutTranslationInput[];
444
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutTranslationInput | Prisma.BookCreateOrConnectWithoutTranslationInput[];
445
+ createMany?: Prisma.BookCreateManyTranslationInputEnvelope;
446
+ connect?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
447
+ };
448
+ export type BookUncheckedCreateNestedManyWithoutTranslationInput = {
449
+ create?: Prisma.XOR<Prisma.BookCreateWithoutTranslationInput, Prisma.BookUncheckedCreateWithoutTranslationInput> | Prisma.BookCreateWithoutTranslationInput[] | Prisma.BookUncheckedCreateWithoutTranslationInput[];
450
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutTranslationInput | Prisma.BookCreateOrConnectWithoutTranslationInput[];
451
+ createMany?: Prisma.BookCreateManyTranslationInputEnvelope;
452
+ connect?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
453
+ };
454
+ export type BookUpdateManyWithoutTranslationNestedInput = {
455
+ create?: Prisma.XOR<Prisma.BookCreateWithoutTranslationInput, Prisma.BookUncheckedCreateWithoutTranslationInput> | Prisma.BookCreateWithoutTranslationInput[] | Prisma.BookUncheckedCreateWithoutTranslationInput[];
456
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutTranslationInput | Prisma.BookCreateOrConnectWithoutTranslationInput[];
457
+ upsert?: Prisma.BookUpsertWithWhereUniqueWithoutTranslationInput | Prisma.BookUpsertWithWhereUniqueWithoutTranslationInput[];
458
+ createMany?: Prisma.BookCreateManyTranslationInputEnvelope;
459
+ set?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
460
+ disconnect?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
461
+ delete?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
462
+ connect?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
463
+ update?: Prisma.BookUpdateWithWhereUniqueWithoutTranslationInput | Prisma.BookUpdateWithWhereUniqueWithoutTranslationInput[];
464
+ updateMany?: Prisma.BookUpdateManyWithWhereWithoutTranslationInput | Prisma.BookUpdateManyWithWhereWithoutTranslationInput[];
465
+ deleteMany?: Prisma.BookScalarWhereInput | Prisma.BookScalarWhereInput[];
466
+ };
467
+ export type BookUncheckedUpdateManyWithoutTranslationNestedInput = {
468
+ create?: Prisma.XOR<Prisma.BookCreateWithoutTranslationInput, Prisma.BookUncheckedCreateWithoutTranslationInput> | Prisma.BookCreateWithoutTranslationInput[] | Prisma.BookUncheckedCreateWithoutTranslationInput[];
469
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutTranslationInput | Prisma.BookCreateOrConnectWithoutTranslationInput[];
470
+ upsert?: Prisma.BookUpsertWithWhereUniqueWithoutTranslationInput | Prisma.BookUpsertWithWhereUniqueWithoutTranslationInput[];
471
+ createMany?: Prisma.BookCreateManyTranslationInputEnvelope;
472
+ set?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
473
+ disconnect?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
474
+ delete?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
475
+ connect?: Prisma.BookWhereUniqueInput | Prisma.BookWhereUniqueInput[];
476
+ update?: Prisma.BookUpdateWithWhereUniqueWithoutTranslationInput | Prisma.BookUpdateWithWhereUniqueWithoutTranslationInput[];
477
+ updateMany?: Prisma.BookUpdateManyWithWhereWithoutTranslationInput | Prisma.BookUpdateManyWithWhereWithoutTranslationInput[];
478
+ deleteMany?: Prisma.BookScalarWhereInput | Prisma.BookScalarWhereInput[];
479
+ };
480
+ export type NullableBoolFieldUpdateOperationsInput = {
481
+ set?: boolean | null;
482
+ };
483
+ export type BookCreateNestedOneWithoutChaptersInput = {
484
+ create?: Prisma.XOR<Prisma.BookCreateWithoutChaptersInput, Prisma.BookUncheckedCreateWithoutChaptersInput>;
485
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutChaptersInput;
486
+ connect?: Prisma.BookWhereUniqueInput;
487
+ };
488
+ export type BookUpdateOneRequiredWithoutChaptersNestedInput = {
489
+ create?: Prisma.XOR<Prisma.BookCreateWithoutChaptersInput, Prisma.BookUncheckedCreateWithoutChaptersInput>;
490
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutChaptersInput;
491
+ upsert?: Prisma.BookUpsertWithoutChaptersInput;
492
+ connect?: Prisma.BookWhereUniqueInput;
493
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BookUpdateToOneWithWhereWithoutChaptersInput, Prisma.BookUpdateWithoutChaptersInput>, Prisma.BookUncheckedUpdateWithoutChaptersInput>;
494
+ };
495
+ export type BookCreateNestedOneWithoutAudioUrlsInput = {
496
+ create?: Prisma.XOR<Prisma.BookCreateWithoutAudioUrlsInput, Prisma.BookUncheckedCreateWithoutAudioUrlsInput>;
497
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutAudioUrlsInput;
498
+ connect?: Prisma.BookWhereUniqueInput;
499
+ };
500
+ export type BookUpdateOneRequiredWithoutAudioUrlsNestedInput = {
501
+ create?: Prisma.XOR<Prisma.BookCreateWithoutAudioUrlsInput, Prisma.BookUncheckedCreateWithoutAudioUrlsInput>;
502
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutAudioUrlsInput;
503
+ upsert?: Prisma.BookUpsertWithoutAudioUrlsInput;
504
+ connect?: Prisma.BookWhereUniqueInput;
505
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BookUpdateToOneWithWhereWithoutAudioUrlsInput, Prisma.BookUpdateWithoutAudioUrlsInput>, Prisma.BookUncheckedUpdateWithoutAudioUrlsInput>;
506
+ };
507
+ export type BookCreateNestedOneWithoutAudioTimingsInput = {
508
+ create?: Prisma.XOR<Prisma.BookCreateWithoutAudioTimingsInput, Prisma.BookUncheckedCreateWithoutAudioTimingsInput>;
509
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutAudioTimingsInput;
510
+ connect?: Prisma.BookWhereUniqueInput;
511
+ };
512
+ export type BookUpdateOneRequiredWithoutAudioTimingsNestedInput = {
513
+ create?: Prisma.XOR<Prisma.BookCreateWithoutAudioTimingsInput, Prisma.BookUncheckedCreateWithoutAudioTimingsInput>;
514
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutAudioTimingsInput;
515
+ upsert?: Prisma.BookUpsertWithoutAudioTimingsInput;
516
+ connect?: Prisma.BookWhereUniqueInput;
517
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BookUpdateToOneWithWhereWithoutAudioTimingsInput, Prisma.BookUpdateWithoutAudioTimingsInput>, Prisma.BookUncheckedUpdateWithoutAudioTimingsInput>;
518
+ };
519
+ export type BookCreateNestedOneWithoutWordsInput = {
520
+ create?: Prisma.XOR<Prisma.BookCreateWithoutWordsInput, Prisma.BookUncheckedCreateWithoutWordsInput>;
521
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutWordsInput;
522
+ connect?: Prisma.BookWhereUniqueInput;
523
+ };
524
+ export type BookUpdateOneRequiredWithoutWordsNestedInput = {
525
+ create?: Prisma.XOR<Prisma.BookCreateWithoutWordsInput, Prisma.BookUncheckedCreateWithoutWordsInput>;
526
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutWordsInput;
527
+ upsert?: Prisma.BookUpsertWithoutWordsInput;
528
+ connect?: Prisma.BookWhereUniqueInput;
529
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BookUpdateToOneWithWhereWithoutWordsInput, Prisma.BookUpdateWithoutWordsInput>, Prisma.BookUncheckedUpdateWithoutWordsInput>;
530
+ };
531
+ export type BookCreateNestedOneWithoutVersesInput = {
532
+ create?: Prisma.XOR<Prisma.BookCreateWithoutVersesInput, Prisma.BookUncheckedCreateWithoutVersesInput>;
533
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutVersesInput;
534
+ connect?: Prisma.BookWhereUniqueInput;
535
+ };
536
+ export type BookUpdateOneRequiredWithoutVersesNestedInput = {
537
+ create?: Prisma.XOR<Prisma.BookCreateWithoutVersesInput, Prisma.BookUncheckedCreateWithoutVersesInput>;
538
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutVersesInput;
539
+ upsert?: Prisma.BookUpsertWithoutVersesInput;
540
+ connect?: Prisma.BookWhereUniqueInput;
541
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BookUpdateToOneWithWhereWithoutVersesInput, Prisma.BookUpdateWithoutVersesInput>, Prisma.BookUncheckedUpdateWithoutVersesInput>;
542
+ };
543
+ export type BookCreateNestedOneWithoutFootnotesInput = {
544
+ create?: Prisma.XOR<Prisma.BookCreateWithoutFootnotesInput, Prisma.BookUncheckedCreateWithoutFootnotesInput>;
545
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutFootnotesInput;
546
+ connect?: Prisma.BookWhereUniqueInput;
547
+ };
548
+ export type BookUpdateOneRequiredWithoutFootnotesNestedInput = {
549
+ create?: Prisma.XOR<Prisma.BookCreateWithoutFootnotesInput, Prisma.BookUncheckedCreateWithoutFootnotesInput>;
550
+ connectOrCreate?: Prisma.BookCreateOrConnectWithoutFootnotesInput;
551
+ upsert?: Prisma.BookUpsertWithoutFootnotesInput;
552
+ connect?: Prisma.BookWhereUniqueInput;
553
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BookUpdateToOneWithWhereWithoutFootnotesInput, Prisma.BookUpdateWithoutFootnotesInput>, Prisma.BookUncheckedUpdateWithoutFootnotesInput>;
554
+ };
555
+ export type BookCreateWithoutTranslationInput = {
556
+ id: string;
557
+ name: string;
558
+ commonName: string;
559
+ title?: string | null;
560
+ order: number;
561
+ numberOfChapters: number;
562
+ isApocryphal?: boolean | null;
563
+ sha256?: string | null;
564
+ chapters?: Prisma.ChapterCreateNestedManyWithoutBookInput;
565
+ verses?: Prisma.ChapterVerseCreateNestedManyWithoutBookInput;
566
+ footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutBookInput;
567
+ audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutBookInput;
568
+ audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutBookInput;
569
+ words?: Prisma.ChapterWordsCreateNestedManyWithoutBookInput;
570
+ };
571
+ export type BookUncheckedCreateWithoutTranslationInput = {
572
+ id: string;
573
+ name: string;
574
+ commonName: string;
575
+ title?: string | null;
576
+ order: number;
577
+ numberOfChapters: number;
578
+ isApocryphal?: boolean | null;
579
+ sha256?: string | null;
580
+ chapters?: Prisma.ChapterUncheckedCreateNestedManyWithoutBookInput;
581
+ verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutBookInput;
582
+ footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutBookInput;
583
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutBookInput;
584
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutBookInput;
585
+ words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutBookInput;
586
+ };
587
+ export type BookCreateOrConnectWithoutTranslationInput = {
588
+ where: Prisma.BookWhereUniqueInput;
589
+ create: Prisma.XOR<Prisma.BookCreateWithoutTranslationInput, Prisma.BookUncheckedCreateWithoutTranslationInput>;
590
+ };
591
+ export type BookCreateManyTranslationInputEnvelope = {
592
+ data: Prisma.BookCreateManyTranslationInput | Prisma.BookCreateManyTranslationInput[];
593
+ };
594
+ export type BookUpsertWithWhereUniqueWithoutTranslationInput = {
595
+ where: Prisma.BookWhereUniqueInput;
596
+ update: Prisma.XOR<Prisma.BookUpdateWithoutTranslationInput, Prisma.BookUncheckedUpdateWithoutTranslationInput>;
597
+ create: Prisma.XOR<Prisma.BookCreateWithoutTranslationInput, Prisma.BookUncheckedCreateWithoutTranslationInput>;
598
+ };
599
+ export type BookUpdateWithWhereUniqueWithoutTranslationInput = {
600
+ where: Prisma.BookWhereUniqueInput;
601
+ data: Prisma.XOR<Prisma.BookUpdateWithoutTranslationInput, Prisma.BookUncheckedUpdateWithoutTranslationInput>;
602
+ };
603
+ export type BookUpdateManyWithWhereWithoutTranslationInput = {
604
+ where: Prisma.BookScalarWhereInput;
605
+ data: Prisma.XOR<Prisma.BookUpdateManyMutationInput, Prisma.BookUncheckedUpdateManyWithoutTranslationInput>;
606
+ };
607
+ export type BookScalarWhereInput = {
608
+ AND?: Prisma.BookScalarWhereInput | Prisma.BookScalarWhereInput[];
609
+ OR?: Prisma.BookScalarWhereInput[];
610
+ NOT?: Prisma.BookScalarWhereInput | Prisma.BookScalarWhereInput[];
611
+ id?: Prisma.StringFilter<"Book"> | string;
612
+ translationId?: Prisma.StringFilter<"Book"> | string;
613
+ name?: Prisma.StringFilter<"Book"> | string;
614
+ commonName?: Prisma.StringFilter<"Book"> | string;
615
+ title?: Prisma.StringNullableFilter<"Book"> | string | null;
616
+ order?: Prisma.IntFilter<"Book"> | number;
617
+ numberOfChapters?: Prisma.IntFilter<"Book"> | number;
618
+ isApocryphal?: Prisma.BoolNullableFilter<"Book"> | boolean | null;
619
+ sha256?: Prisma.StringNullableFilter<"Book"> | string | null;
620
+ };
621
+ export type BookCreateWithoutChaptersInput = {
622
+ id: string;
623
+ name: string;
624
+ commonName: string;
625
+ title?: string | null;
626
+ order: number;
627
+ numberOfChapters: number;
628
+ isApocryphal?: boolean | null;
629
+ sha256?: string | null;
630
+ translation: Prisma.TranslationCreateNestedOneWithoutBooksInput;
631
+ verses?: Prisma.ChapterVerseCreateNestedManyWithoutBookInput;
632
+ footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutBookInput;
633
+ audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutBookInput;
634
+ audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutBookInput;
635
+ words?: Prisma.ChapterWordsCreateNestedManyWithoutBookInput;
636
+ };
637
+ export type BookUncheckedCreateWithoutChaptersInput = {
638
+ id: string;
639
+ translationId: string;
640
+ name: string;
641
+ commonName: string;
642
+ title?: string | null;
643
+ order: number;
644
+ numberOfChapters: number;
645
+ isApocryphal?: boolean | null;
646
+ sha256?: string | null;
647
+ verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutBookInput;
648
+ footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutBookInput;
649
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutBookInput;
650
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutBookInput;
651
+ words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutBookInput;
652
+ };
653
+ export type BookCreateOrConnectWithoutChaptersInput = {
654
+ where: Prisma.BookWhereUniqueInput;
655
+ create: Prisma.XOR<Prisma.BookCreateWithoutChaptersInput, Prisma.BookUncheckedCreateWithoutChaptersInput>;
656
+ };
657
+ export type BookUpsertWithoutChaptersInput = {
658
+ update: Prisma.XOR<Prisma.BookUpdateWithoutChaptersInput, Prisma.BookUncheckedUpdateWithoutChaptersInput>;
659
+ create: Prisma.XOR<Prisma.BookCreateWithoutChaptersInput, Prisma.BookUncheckedCreateWithoutChaptersInput>;
660
+ where?: Prisma.BookWhereInput;
661
+ };
662
+ export type BookUpdateToOneWithWhereWithoutChaptersInput = {
663
+ where?: Prisma.BookWhereInput;
664
+ data: Prisma.XOR<Prisma.BookUpdateWithoutChaptersInput, Prisma.BookUncheckedUpdateWithoutChaptersInput>;
665
+ };
666
+ export type BookUpdateWithoutChaptersInput = {
667
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
668
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
669
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
670
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
671
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
672
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
673
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
674
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
675
+ translation?: Prisma.TranslationUpdateOneRequiredWithoutBooksNestedInput;
676
+ verses?: Prisma.ChapterVerseUpdateManyWithoutBookNestedInput;
677
+ footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutBookNestedInput;
678
+ audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutBookNestedInput;
679
+ audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutBookNestedInput;
680
+ words?: Prisma.ChapterWordsUpdateManyWithoutBookNestedInput;
681
+ };
682
+ export type BookUncheckedUpdateWithoutChaptersInput = {
683
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
684
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
685
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
686
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
687
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
688
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
689
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
690
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
691
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
692
+ verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
693
+ footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutBookNestedInput;
694
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutBookNestedInput;
695
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutBookNestedInput;
696
+ words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutBookNestedInput;
697
+ };
698
+ export type BookCreateWithoutAudioUrlsInput = {
699
+ id: string;
700
+ name: string;
701
+ commonName: string;
702
+ title?: string | null;
703
+ order: number;
704
+ numberOfChapters: number;
705
+ isApocryphal?: boolean | null;
706
+ sha256?: string | null;
707
+ translation: Prisma.TranslationCreateNestedOneWithoutBooksInput;
708
+ chapters?: Prisma.ChapterCreateNestedManyWithoutBookInput;
709
+ verses?: Prisma.ChapterVerseCreateNestedManyWithoutBookInput;
710
+ footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutBookInput;
711
+ audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutBookInput;
712
+ words?: Prisma.ChapterWordsCreateNestedManyWithoutBookInput;
713
+ };
714
+ export type BookUncheckedCreateWithoutAudioUrlsInput = {
715
+ id: string;
716
+ translationId: string;
717
+ name: string;
718
+ commonName: string;
719
+ title?: string | null;
720
+ order: number;
721
+ numberOfChapters: number;
722
+ isApocryphal?: boolean | null;
723
+ sha256?: string | null;
724
+ chapters?: Prisma.ChapterUncheckedCreateNestedManyWithoutBookInput;
725
+ verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutBookInput;
726
+ footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutBookInput;
727
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutBookInput;
728
+ words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutBookInput;
729
+ };
730
+ export type BookCreateOrConnectWithoutAudioUrlsInput = {
731
+ where: Prisma.BookWhereUniqueInput;
732
+ create: Prisma.XOR<Prisma.BookCreateWithoutAudioUrlsInput, Prisma.BookUncheckedCreateWithoutAudioUrlsInput>;
733
+ };
734
+ export type BookUpsertWithoutAudioUrlsInput = {
735
+ update: Prisma.XOR<Prisma.BookUpdateWithoutAudioUrlsInput, Prisma.BookUncheckedUpdateWithoutAudioUrlsInput>;
736
+ create: Prisma.XOR<Prisma.BookCreateWithoutAudioUrlsInput, Prisma.BookUncheckedCreateWithoutAudioUrlsInput>;
737
+ where?: Prisma.BookWhereInput;
738
+ };
739
+ export type BookUpdateToOneWithWhereWithoutAudioUrlsInput = {
740
+ where?: Prisma.BookWhereInput;
741
+ data: Prisma.XOR<Prisma.BookUpdateWithoutAudioUrlsInput, Prisma.BookUncheckedUpdateWithoutAudioUrlsInput>;
742
+ };
743
+ export type BookUpdateWithoutAudioUrlsInput = {
744
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
745
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
746
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
747
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
748
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
749
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
750
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
751
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
752
+ translation?: Prisma.TranslationUpdateOneRequiredWithoutBooksNestedInput;
753
+ chapters?: Prisma.ChapterUpdateManyWithoutBookNestedInput;
754
+ verses?: Prisma.ChapterVerseUpdateManyWithoutBookNestedInput;
755
+ footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutBookNestedInput;
756
+ audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutBookNestedInput;
757
+ words?: Prisma.ChapterWordsUpdateManyWithoutBookNestedInput;
758
+ };
759
+ export type BookUncheckedUpdateWithoutAudioUrlsInput = {
760
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
761
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
762
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
763
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
764
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
765
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
766
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
767
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
768
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
769
+ chapters?: Prisma.ChapterUncheckedUpdateManyWithoutBookNestedInput;
770
+ verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
771
+ footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutBookNestedInput;
772
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutBookNestedInput;
773
+ words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutBookNestedInput;
774
+ };
775
+ export type BookCreateWithoutAudioTimingsInput = {
776
+ id: string;
777
+ name: string;
778
+ commonName: string;
779
+ title?: string | null;
780
+ order: number;
781
+ numberOfChapters: number;
782
+ isApocryphal?: boolean | null;
783
+ sha256?: string | null;
784
+ translation: Prisma.TranslationCreateNestedOneWithoutBooksInput;
785
+ chapters?: Prisma.ChapterCreateNestedManyWithoutBookInput;
786
+ verses?: Prisma.ChapterVerseCreateNestedManyWithoutBookInput;
787
+ footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutBookInput;
788
+ audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutBookInput;
789
+ words?: Prisma.ChapterWordsCreateNestedManyWithoutBookInput;
790
+ };
791
+ export type BookUncheckedCreateWithoutAudioTimingsInput = {
792
+ id: string;
793
+ translationId: string;
794
+ name: string;
795
+ commonName: string;
796
+ title?: string | null;
797
+ order: number;
798
+ numberOfChapters: number;
799
+ isApocryphal?: boolean | null;
800
+ sha256?: string | null;
801
+ chapters?: Prisma.ChapterUncheckedCreateNestedManyWithoutBookInput;
802
+ verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutBookInput;
803
+ footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutBookInput;
804
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutBookInput;
805
+ words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutBookInput;
806
+ };
807
+ export type BookCreateOrConnectWithoutAudioTimingsInput = {
808
+ where: Prisma.BookWhereUniqueInput;
809
+ create: Prisma.XOR<Prisma.BookCreateWithoutAudioTimingsInput, Prisma.BookUncheckedCreateWithoutAudioTimingsInput>;
810
+ };
811
+ export type BookUpsertWithoutAudioTimingsInput = {
812
+ update: Prisma.XOR<Prisma.BookUpdateWithoutAudioTimingsInput, Prisma.BookUncheckedUpdateWithoutAudioTimingsInput>;
813
+ create: Prisma.XOR<Prisma.BookCreateWithoutAudioTimingsInput, Prisma.BookUncheckedCreateWithoutAudioTimingsInput>;
814
+ where?: Prisma.BookWhereInput;
815
+ };
816
+ export type BookUpdateToOneWithWhereWithoutAudioTimingsInput = {
817
+ where?: Prisma.BookWhereInput;
818
+ data: Prisma.XOR<Prisma.BookUpdateWithoutAudioTimingsInput, Prisma.BookUncheckedUpdateWithoutAudioTimingsInput>;
819
+ };
820
+ export type BookUpdateWithoutAudioTimingsInput = {
821
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
822
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
823
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
824
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
825
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
826
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
827
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
828
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
829
+ translation?: Prisma.TranslationUpdateOneRequiredWithoutBooksNestedInput;
830
+ chapters?: Prisma.ChapterUpdateManyWithoutBookNestedInput;
831
+ verses?: Prisma.ChapterVerseUpdateManyWithoutBookNestedInput;
832
+ footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutBookNestedInput;
833
+ audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutBookNestedInput;
834
+ words?: Prisma.ChapterWordsUpdateManyWithoutBookNestedInput;
835
+ };
836
+ export type BookUncheckedUpdateWithoutAudioTimingsInput = {
837
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
838
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
839
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
840
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
841
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
842
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
843
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
844
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
845
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
846
+ chapters?: Prisma.ChapterUncheckedUpdateManyWithoutBookNestedInput;
847
+ verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
848
+ footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutBookNestedInput;
849
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutBookNestedInput;
850
+ words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutBookNestedInput;
851
+ };
852
+ export type BookCreateWithoutWordsInput = {
853
+ id: string;
854
+ name: string;
855
+ commonName: string;
856
+ title?: string | null;
857
+ order: number;
858
+ numberOfChapters: number;
859
+ isApocryphal?: boolean | null;
860
+ sha256?: string | null;
861
+ translation: Prisma.TranslationCreateNestedOneWithoutBooksInput;
862
+ chapters?: Prisma.ChapterCreateNestedManyWithoutBookInput;
863
+ verses?: Prisma.ChapterVerseCreateNestedManyWithoutBookInput;
864
+ footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutBookInput;
865
+ audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutBookInput;
866
+ audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutBookInput;
867
+ };
868
+ export type BookUncheckedCreateWithoutWordsInput = {
869
+ id: string;
870
+ translationId: string;
871
+ name: string;
872
+ commonName: string;
873
+ title?: string | null;
874
+ order: number;
875
+ numberOfChapters: number;
876
+ isApocryphal?: boolean | null;
877
+ sha256?: string | null;
878
+ chapters?: Prisma.ChapterUncheckedCreateNestedManyWithoutBookInput;
879
+ verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutBookInput;
880
+ footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutBookInput;
881
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutBookInput;
882
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutBookInput;
883
+ };
884
+ export type BookCreateOrConnectWithoutWordsInput = {
885
+ where: Prisma.BookWhereUniqueInput;
886
+ create: Prisma.XOR<Prisma.BookCreateWithoutWordsInput, Prisma.BookUncheckedCreateWithoutWordsInput>;
887
+ };
888
+ export type BookUpsertWithoutWordsInput = {
889
+ update: Prisma.XOR<Prisma.BookUpdateWithoutWordsInput, Prisma.BookUncheckedUpdateWithoutWordsInput>;
890
+ create: Prisma.XOR<Prisma.BookCreateWithoutWordsInput, Prisma.BookUncheckedCreateWithoutWordsInput>;
891
+ where?: Prisma.BookWhereInput;
892
+ };
893
+ export type BookUpdateToOneWithWhereWithoutWordsInput = {
894
+ where?: Prisma.BookWhereInput;
895
+ data: Prisma.XOR<Prisma.BookUpdateWithoutWordsInput, Prisma.BookUncheckedUpdateWithoutWordsInput>;
896
+ };
897
+ export type BookUpdateWithoutWordsInput = {
898
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
899
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
900
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
901
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
902
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
903
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
904
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
905
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
906
+ translation?: Prisma.TranslationUpdateOneRequiredWithoutBooksNestedInput;
907
+ chapters?: Prisma.ChapterUpdateManyWithoutBookNestedInput;
908
+ verses?: Prisma.ChapterVerseUpdateManyWithoutBookNestedInput;
909
+ footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutBookNestedInput;
910
+ audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutBookNestedInput;
911
+ audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutBookNestedInput;
912
+ };
913
+ export type BookUncheckedUpdateWithoutWordsInput = {
914
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
915
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
916
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
917
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
918
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
919
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
920
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
921
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
922
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
923
+ chapters?: Prisma.ChapterUncheckedUpdateManyWithoutBookNestedInput;
924
+ verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
925
+ footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutBookNestedInput;
926
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutBookNestedInput;
927
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutBookNestedInput;
928
+ };
929
+ export type BookCreateWithoutVersesInput = {
930
+ id: string;
931
+ name: string;
932
+ commonName: string;
933
+ title?: string | null;
934
+ order: number;
935
+ numberOfChapters: number;
936
+ isApocryphal?: boolean | null;
937
+ sha256?: string | null;
938
+ translation: Prisma.TranslationCreateNestedOneWithoutBooksInput;
939
+ chapters?: Prisma.ChapterCreateNestedManyWithoutBookInput;
940
+ footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutBookInput;
941
+ audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutBookInput;
942
+ audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutBookInput;
943
+ words?: Prisma.ChapterWordsCreateNestedManyWithoutBookInput;
944
+ };
945
+ export type BookUncheckedCreateWithoutVersesInput = {
946
+ id: string;
947
+ translationId: string;
948
+ name: string;
949
+ commonName: string;
950
+ title?: string | null;
951
+ order: number;
952
+ numberOfChapters: number;
953
+ isApocryphal?: boolean | null;
954
+ sha256?: string | null;
955
+ chapters?: Prisma.ChapterUncheckedCreateNestedManyWithoutBookInput;
956
+ footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutBookInput;
957
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutBookInput;
958
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutBookInput;
959
+ words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutBookInput;
960
+ };
961
+ export type BookCreateOrConnectWithoutVersesInput = {
962
+ where: Prisma.BookWhereUniqueInput;
963
+ create: Prisma.XOR<Prisma.BookCreateWithoutVersesInput, Prisma.BookUncheckedCreateWithoutVersesInput>;
964
+ };
965
+ export type BookUpsertWithoutVersesInput = {
966
+ update: Prisma.XOR<Prisma.BookUpdateWithoutVersesInput, Prisma.BookUncheckedUpdateWithoutVersesInput>;
967
+ create: Prisma.XOR<Prisma.BookCreateWithoutVersesInput, Prisma.BookUncheckedCreateWithoutVersesInput>;
968
+ where?: Prisma.BookWhereInput;
969
+ };
970
+ export type BookUpdateToOneWithWhereWithoutVersesInput = {
971
+ where?: Prisma.BookWhereInput;
972
+ data: Prisma.XOR<Prisma.BookUpdateWithoutVersesInput, Prisma.BookUncheckedUpdateWithoutVersesInput>;
973
+ };
974
+ export type BookUpdateWithoutVersesInput = {
975
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
976
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
977
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
978
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
979
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
980
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
981
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
982
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
983
+ translation?: Prisma.TranslationUpdateOneRequiredWithoutBooksNestedInput;
984
+ chapters?: Prisma.ChapterUpdateManyWithoutBookNestedInput;
985
+ footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutBookNestedInput;
986
+ audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutBookNestedInput;
987
+ audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutBookNestedInput;
988
+ words?: Prisma.ChapterWordsUpdateManyWithoutBookNestedInput;
989
+ };
990
+ export type BookUncheckedUpdateWithoutVersesInput = {
991
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
992
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
993
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
994
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
995
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
996
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
997
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
998
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
999
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1000
+ chapters?: Prisma.ChapterUncheckedUpdateManyWithoutBookNestedInput;
1001
+ footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutBookNestedInput;
1002
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutBookNestedInput;
1003
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutBookNestedInput;
1004
+ words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutBookNestedInput;
1005
+ };
1006
+ export type BookCreateWithoutFootnotesInput = {
1007
+ id: string;
1008
+ name: string;
1009
+ commonName: string;
1010
+ title?: string | null;
1011
+ order: number;
1012
+ numberOfChapters: number;
1013
+ isApocryphal?: boolean | null;
1014
+ sha256?: string | null;
1015
+ translation: Prisma.TranslationCreateNestedOneWithoutBooksInput;
1016
+ chapters?: Prisma.ChapterCreateNestedManyWithoutBookInput;
1017
+ verses?: Prisma.ChapterVerseCreateNestedManyWithoutBookInput;
1018
+ audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutBookInput;
1019
+ audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutBookInput;
1020
+ words?: Prisma.ChapterWordsCreateNestedManyWithoutBookInput;
1021
+ };
1022
+ export type BookUncheckedCreateWithoutFootnotesInput = {
1023
+ id: string;
1024
+ translationId: string;
1025
+ name: string;
1026
+ commonName: string;
1027
+ title?: string | null;
1028
+ order: number;
1029
+ numberOfChapters: number;
1030
+ isApocryphal?: boolean | null;
1031
+ sha256?: string | null;
1032
+ chapters?: Prisma.ChapterUncheckedCreateNestedManyWithoutBookInput;
1033
+ verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutBookInput;
1034
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutBookInput;
1035
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutBookInput;
1036
+ words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutBookInput;
1037
+ };
1038
+ export type BookCreateOrConnectWithoutFootnotesInput = {
1039
+ where: Prisma.BookWhereUniqueInput;
1040
+ create: Prisma.XOR<Prisma.BookCreateWithoutFootnotesInput, Prisma.BookUncheckedCreateWithoutFootnotesInput>;
1041
+ };
1042
+ export type BookUpsertWithoutFootnotesInput = {
1043
+ update: Prisma.XOR<Prisma.BookUpdateWithoutFootnotesInput, Prisma.BookUncheckedUpdateWithoutFootnotesInput>;
1044
+ create: Prisma.XOR<Prisma.BookCreateWithoutFootnotesInput, Prisma.BookUncheckedCreateWithoutFootnotesInput>;
1045
+ where?: Prisma.BookWhereInput;
1046
+ };
1047
+ export type BookUpdateToOneWithWhereWithoutFootnotesInput = {
1048
+ where?: Prisma.BookWhereInput;
1049
+ data: Prisma.XOR<Prisma.BookUpdateWithoutFootnotesInput, Prisma.BookUncheckedUpdateWithoutFootnotesInput>;
1050
+ };
1051
+ export type BookUpdateWithoutFootnotesInput = {
1052
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1053
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1054
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
1055
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1056
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1057
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
1058
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1059
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1060
+ translation?: Prisma.TranslationUpdateOneRequiredWithoutBooksNestedInput;
1061
+ chapters?: Prisma.ChapterUpdateManyWithoutBookNestedInput;
1062
+ verses?: Prisma.ChapterVerseUpdateManyWithoutBookNestedInput;
1063
+ audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutBookNestedInput;
1064
+ audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutBookNestedInput;
1065
+ words?: Prisma.ChapterWordsUpdateManyWithoutBookNestedInput;
1066
+ };
1067
+ export type BookUncheckedUpdateWithoutFootnotesInput = {
1068
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1069
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
1070
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1071
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
1072
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1073
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1074
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
1075
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1076
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1077
+ chapters?: Prisma.ChapterUncheckedUpdateManyWithoutBookNestedInput;
1078
+ verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
1079
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutBookNestedInput;
1080
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutBookNestedInput;
1081
+ words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutBookNestedInput;
1082
+ };
1083
+ export type BookCreateManyTranslationInput = {
1084
+ id: string;
1085
+ name: string;
1086
+ commonName: string;
1087
+ title?: string | null;
1088
+ order: number;
1089
+ numberOfChapters: number;
1090
+ isApocryphal?: boolean | null;
1091
+ sha256?: string | null;
1092
+ };
1093
+ export type BookUpdateWithoutTranslationInput = {
1094
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1095
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1096
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
1097
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1098
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1099
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
1100
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1101
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1102
+ chapters?: Prisma.ChapterUpdateManyWithoutBookNestedInput;
1103
+ verses?: Prisma.ChapterVerseUpdateManyWithoutBookNestedInput;
1104
+ footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutBookNestedInput;
1105
+ audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutBookNestedInput;
1106
+ audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutBookNestedInput;
1107
+ words?: Prisma.ChapterWordsUpdateManyWithoutBookNestedInput;
1108
+ };
1109
+ export type BookUncheckedUpdateWithoutTranslationInput = {
1110
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1111
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1112
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
1113
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1114
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1115
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
1116
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1117
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1118
+ chapters?: Prisma.ChapterUncheckedUpdateManyWithoutBookNestedInput;
1119
+ verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutBookNestedInput;
1120
+ footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutBookNestedInput;
1121
+ audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutBookNestedInput;
1122
+ audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutBookNestedInput;
1123
+ words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutBookNestedInput;
1124
+ };
1125
+ export type BookUncheckedUpdateManyWithoutTranslationInput = {
1126
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1127
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1128
+ commonName?: Prisma.StringFieldUpdateOperationsInput | string;
1129
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1130
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1131
+ numberOfChapters?: Prisma.IntFieldUpdateOperationsInput | number;
1132
+ isApocryphal?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1133
+ sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1134
+ };
1135
+ /**
1136
+ * Count Type BookCountOutputType
1137
+ */
1138
+ export type BookCountOutputType = {
1139
+ chapters: number;
1140
+ verses: number;
1141
+ footnotes: number;
1142
+ audioUrls: number;
1143
+ audioTimings: number;
1144
+ words: number;
1145
+ };
1146
+ export type BookCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1147
+ chapters?: boolean | BookCountOutputTypeCountChaptersArgs;
1148
+ verses?: boolean | BookCountOutputTypeCountVersesArgs;
1149
+ footnotes?: boolean | BookCountOutputTypeCountFootnotesArgs;
1150
+ audioUrls?: boolean | BookCountOutputTypeCountAudioUrlsArgs;
1151
+ audioTimings?: boolean | BookCountOutputTypeCountAudioTimingsArgs;
1152
+ words?: boolean | BookCountOutputTypeCountWordsArgs;
1153
+ };
1154
+ /**
1155
+ * BookCountOutputType without action
1156
+ */
1157
+ export type BookCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1158
+ /**
1159
+ * Select specific fields to fetch from the BookCountOutputType
1160
+ */
1161
+ select?: Prisma.BookCountOutputTypeSelect<ExtArgs> | null;
1162
+ };
1163
+ /**
1164
+ * BookCountOutputType without action
1165
+ */
1166
+ export type BookCountOutputTypeCountChaptersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1167
+ where?: Prisma.ChapterWhereInput;
1168
+ };
1169
+ /**
1170
+ * BookCountOutputType without action
1171
+ */
1172
+ export type BookCountOutputTypeCountVersesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1173
+ where?: Prisma.ChapterVerseWhereInput;
1174
+ };
1175
+ /**
1176
+ * BookCountOutputType without action
1177
+ */
1178
+ export type BookCountOutputTypeCountFootnotesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1179
+ where?: Prisma.ChapterFootnoteWhereInput;
1180
+ };
1181
+ /**
1182
+ * BookCountOutputType without action
1183
+ */
1184
+ export type BookCountOutputTypeCountAudioUrlsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1185
+ where?: Prisma.ChapterAudioUrlWhereInput;
1186
+ };
1187
+ /**
1188
+ * BookCountOutputType without action
1189
+ */
1190
+ export type BookCountOutputTypeCountAudioTimingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1191
+ where?: Prisma.ChapterAudioTimingWhereInput;
1192
+ };
1193
+ /**
1194
+ * BookCountOutputType without action
1195
+ */
1196
+ export type BookCountOutputTypeCountWordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1197
+ where?: Prisma.ChapterWordsWhereInput;
1198
+ };
1199
+ export type BookSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1200
+ id?: boolean;
1201
+ translationId?: boolean;
1202
+ name?: boolean;
1203
+ commonName?: boolean;
1204
+ title?: boolean;
1205
+ order?: boolean;
1206
+ numberOfChapters?: boolean;
1207
+ isApocryphal?: boolean;
1208
+ sha256?: boolean;
1209
+ translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
1210
+ chapters?: boolean | Prisma.Book$chaptersArgs<ExtArgs>;
1211
+ verses?: boolean | Prisma.Book$versesArgs<ExtArgs>;
1212
+ footnotes?: boolean | Prisma.Book$footnotesArgs<ExtArgs>;
1213
+ audioUrls?: boolean | Prisma.Book$audioUrlsArgs<ExtArgs>;
1214
+ audioTimings?: boolean | Prisma.Book$audioTimingsArgs<ExtArgs>;
1215
+ words?: boolean | Prisma.Book$wordsArgs<ExtArgs>;
1216
+ _count?: boolean | Prisma.BookCountOutputTypeDefaultArgs<ExtArgs>;
1217
+ }, ExtArgs["result"]["book"]>;
1218
+ export type BookSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1219
+ id?: boolean;
1220
+ translationId?: boolean;
1221
+ name?: boolean;
1222
+ commonName?: boolean;
1223
+ title?: boolean;
1224
+ order?: boolean;
1225
+ numberOfChapters?: boolean;
1226
+ isApocryphal?: boolean;
1227
+ sha256?: boolean;
1228
+ translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
1229
+ }, ExtArgs["result"]["book"]>;
1230
+ export type BookSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1231
+ id?: boolean;
1232
+ translationId?: boolean;
1233
+ name?: boolean;
1234
+ commonName?: boolean;
1235
+ title?: boolean;
1236
+ order?: boolean;
1237
+ numberOfChapters?: boolean;
1238
+ isApocryphal?: boolean;
1239
+ sha256?: boolean;
1240
+ translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
1241
+ }, ExtArgs["result"]["book"]>;
1242
+ export type BookSelectScalar = {
1243
+ id?: boolean;
1244
+ translationId?: boolean;
1245
+ name?: boolean;
1246
+ commonName?: boolean;
1247
+ title?: boolean;
1248
+ order?: boolean;
1249
+ numberOfChapters?: boolean;
1250
+ isApocryphal?: boolean;
1251
+ sha256?: boolean;
1252
+ };
1253
+ export type BookOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "translationId" | "name" | "commonName" | "title" | "order" | "numberOfChapters" | "isApocryphal" | "sha256", ExtArgs["result"]["book"]>;
1254
+ export type BookInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1255
+ translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
1256
+ chapters?: boolean | Prisma.Book$chaptersArgs<ExtArgs>;
1257
+ verses?: boolean | Prisma.Book$versesArgs<ExtArgs>;
1258
+ footnotes?: boolean | Prisma.Book$footnotesArgs<ExtArgs>;
1259
+ audioUrls?: boolean | Prisma.Book$audioUrlsArgs<ExtArgs>;
1260
+ audioTimings?: boolean | Prisma.Book$audioTimingsArgs<ExtArgs>;
1261
+ words?: boolean | Prisma.Book$wordsArgs<ExtArgs>;
1262
+ _count?: boolean | Prisma.BookCountOutputTypeDefaultArgs<ExtArgs>;
1263
+ };
1264
+ export type BookIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1265
+ translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
1266
+ };
1267
+ export type BookIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1268
+ translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
1269
+ };
1270
+ export type $BookPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1271
+ name: "Book";
1272
+ objects: {
1273
+ translation: Prisma.$TranslationPayload<ExtArgs>;
1274
+ chapters: Prisma.$ChapterPayload<ExtArgs>[];
1275
+ verses: Prisma.$ChapterVersePayload<ExtArgs>[];
1276
+ footnotes: Prisma.$ChapterFootnotePayload<ExtArgs>[];
1277
+ audioUrls: Prisma.$ChapterAudioUrlPayload<ExtArgs>[];
1278
+ audioTimings: Prisma.$ChapterAudioTimingPayload<ExtArgs>[];
1279
+ words: Prisma.$ChapterWordsPayload<ExtArgs>[];
1280
+ };
1281
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1282
+ id: string;
1283
+ translationId: string;
1284
+ name: string;
1285
+ commonName: string;
1286
+ title: string | null;
1287
+ order: number;
1288
+ numberOfChapters: number;
1289
+ isApocryphal: boolean | null;
1290
+ sha256: string | null;
1291
+ }, ExtArgs["result"]["book"]>;
1292
+ composites: {};
1293
+ };
1294
+ export type BookGetPayload<S extends boolean | null | undefined | BookDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BookPayload, S>;
1295
+ export type BookCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<BookFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1296
+ select?: BookCountAggregateInputType | true;
1297
+ };
1298
+ export interface BookDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1299
+ [K: symbol]: {
1300
+ types: Prisma.TypeMap<ExtArgs>['model']['Book'];
1301
+ meta: {
1302
+ name: 'Book';
1303
+ };
1304
+ };
1305
+ /**
1306
+ * Find zero or one Book that matches the filter.
1307
+ * @param {BookFindUniqueArgs} args - Arguments to find a Book
1308
+ * @example
1309
+ * // Get one Book
1310
+ * const book = await prisma.book.findUnique({
1311
+ * where: {
1312
+ * // ... provide filter here
1313
+ * }
1314
+ * })
1315
+ */
1316
+ findUnique<T extends BookFindUniqueArgs>(args: Prisma.SelectSubset<T, BookFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1317
+ /**
1318
+ * Find one Book that matches the filter or throw an error with `error.code='P2025'`
1319
+ * if no matches were found.
1320
+ * @param {BookFindUniqueOrThrowArgs} args - Arguments to find a Book
1321
+ * @example
1322
+ * // Get one Book
1323
+ * const book = await prisma.book.findUniqueOrThrow({
1324
+ * where: {
1325
+ * // ... provide filter here
1326
+ * }
1327
+ * })
1328
+ */
1329
+ findUniqueOrThrow<T extends BookFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BookFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1330
+ /**
1331
+ * Find the first Book that matches the filter.
1332
+ * Note, that providing `undefined` is treated as the value not being there.
1333
+ * Read more here: https://pris.ly/d/null-undefined
1334
+ * @param {BookFindFirstArgs} args - Arguments to find a Book
1335
+ * @example
1336
+ * // Get one Book
1337
+ * const book = await prisma.book.findFirst({
1338
+ * where: {
1339
+ * // ... provide filter here
1340
+ * }
1341
+ * })
1342
+ */
1343
+ findFirst<T extends BookFindFirstArgs>(args?: Prisma.SelectSubset<T, BookFindFirstArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1344
+ /**
1345
+ * Find the first Book that matches the filter or
1346
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1347
+ * Note, that providing `undefined` is treated as the value not being there.
1348
+ * Read more here: https://pris.ly/d/null-undefined
1349
+ * @param {BookFindFirstOrThrowArgs} args - Arguments to find a Book
1350
+ * @example
1351
+ * // Get one Book
1352
+ * const book = await prisma.book.findFirstOrThrow({
1353
+ * where: {
1354
+ * // ... provide filter here
1355
+ * }
1356
+ * })
1357
+ */
1358
+ findFirstOrThrow<T extends BookFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BookFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1359
+ /**
1360
+ * Find zero or more Books that matches the filter.
1361
+ * Note, that providing `undefined` is treated as the value not being there.
1362
+ * Read more here: https://pris.ly/d/null-undefined
1363
+ * @param {BookFindManyArgs} args - Arguments to filter and select certain fields only.
1364
+ * @example
1365
+ * // Get all Books
1366
+ * const books = await prisma.book.findMany()
1367
+ *
1368
+ * // Get first 10 Books
1369
+ * const books = await prisma.book.findMany({ take: 10 })
1370
+ *
1371
+ * // Only select the `id`
1372
+ * const bookWithIdOnly = await prisma.book.findMany({ select: { id: true } })
1373
+ *
1374
+ */
1375
+ findMany<T extends BookFindManyArgs>(args?: Prisma.SelectSubset<T, BookFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1376
+ /**
1377
+ * Create a Book.
1378
+ * @param {BookCreateArgs} args - Arguments to create a Book.
1379
+ * @example
1380
+ * // Create one Book
1381
+ * const Book = await prisma.book.create({
1382
+ * data: {
1383
+ * // ... data to create a Book
1384
+ * }
1385
+ * })
1386
+ *
1387
+ */
1388
+ create<T extends BookCreateArgs>(args: Prisma.SelectSubset<T, BookCreateArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1389
+ /**
1390
+ * Create many Books.
1391
+ * @param {BookCreateManyArgs} args - Arguments to create many Books.
1392
+ * @example
1393
+ * // Create many Books
1394
+ * const book = await prisma.book.createMany({
1395
+ * data: [
1396
+ * // ... provide data here
1397
+ * ]
1398
+ * })
1399
+ *
1400
+ */
1401
+ createMany<T extends BookCreateManyArgs>(args?: Prisma.SelectSubset<T, BookCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1402
+ /**
1403
+ * Create many Books and returns the data saved in the database.
1404
+ * @param {BookCreateManyAndReturnArgs} args - Arguments to create many Books.
1405
+ * @example
1406
+ * // Create many Books
1407
+ * const book = await prisma.book.createManyAndReturn({
1408
+ * data: [
1409
+ * // ... provide data here
1410
+ * ]
1411
+ * })
1412
+ *
1413
+ * // Create many Books and only return the `id`
1414
+ * const bookWithIdOnly = await prisma.book.createManyAndReturn({
1415
+ * select: { id: true },
1416
+ * data: [
1417
+ * // ... provide data here
1418
+ * ]
1419
+ * })
1420
+ * Note, that providing `undefined` is treated as the value not being there.
1421
+ * Read more here: https://pris.ly/d/null-undefined
1422
+ *
1423
+ */
1424
+ createManyAndReturn<T extends BookCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BookCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1425
+ /**
1426
+ * Delete a Book.
1427
+ * @param {BookDeleteArgs} args - Arguments to delete one Book.
1428
+ * @example
1429
+ * // Delete one Book
1430
+ * const Book = await prisma.book.delete({
1431
+ * where: {
1432
+ * // ... filter to delete one Book
1433
+ * }
1434
+ * })
1435
+ *
1436
+ */
1437
+ delete<T extends BookDeleteArgs>(args: Prisma.SelectSubset<T, BookDeleteArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1438
+ /**
1439
+ * Update one Book.
1440
+ * @param {BookUpdateArgs} args - Arguments to update one Book.
1441
+ * @example
1442
+ * // Update one Book
1443
+ * const book = await prisma.book.update({
1444
+ * where: {
1445
+ * // ... provide filter here
1446
+ * },
1447
+ * data: {
1448
+ * // ... provide data here
1449
+ * }
1450
+ * })
1451
+ *
1452
+ */
1453
+ update<T extends BookUpdateArgs>(args: Prisma.SelectSubset<T, BookUpdateArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1454
+ /**
1455
+ * Delete zero or more Books.
1456
+ * @param {BookDeleteManyArgs} args - Arguments to filter Books to delete.
1457
+ * @example
1458
+ * // Delete a few Books
1459
+ * const { count } = await prisma.book.deleteMany({
1460
+ * where: {
1461
+ * // ... provide filter here
1462
+ * }
1463
+ * })
1464
+ *
1465
+ */
1466
+ deleteMany<T extends BookDeleteManyArgs>(args?: Prisma.SelectSubset<T, BookDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1467
+ /**
1468
+ * Update zero or more Books.
1469
+ * Note, that providing `undefined` is treated as the value not being there.
1470
+ * Read more here: https://pris.ly/d/null-undefined
1471
+ * @param {BookUpdateManyArgs} args - Arguments to update one or more rows.
1472
+ * @example
1473
+ * // Update many Books
1474
+ * const book = await prisma.book.updateMany({
1475
+ * where: {
1476
+ * // ... provide filter here
1477
+ * },
1478
+ * data: {
1479
+ * // ... provide data here
1480
+ * }
1481
+ * })
1482
+ *
1483
+ */
1484
+ updateMany<T extends BookUpdateManyArgs>(args: Prisma.SelectSubset<T, BookUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1485
+ /**
1486
+ * Update zero or more Books and returns the data updated in the database.
1487
+ * @param {BookUpdateManyAndReturnArgs} args - Arguments to update many Books.
1488
+ * @example
1489
+ * // Update many Books
1490
+ * const book = await prisma.book.updateManyAndReturn({
1491
+ * where: {
1492
+ * // ... provide filter here
1493
+ * },
1494
+ * data: [
1495
+ * // ... provide data here
1496
+ * ]
1497
+ * })
1498
+ *
1499
+ * // Update zero or more Books and only return the `id`
1500
+ * const bookWithIdOnly = await prisma.book.updateManyAndReturn({
1501
+ * select: { id: true },
1502
+ * where: {
1503
+ * // ... provide filter here
1504
+ * },
1505
+ * data: [
1506
+ * // ... provide data here
1507
+ * ]
1508
+ * })
1509
+ * Note, that providing `undefined` is treated as the value not being there.
1510
+ * Read more here: https://pris.ly/d/null-undefined
1511
+ *
1512
+ */
1513
+ updateManyAndReturn<T extends BookUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BookUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1514
+ /**
1515
+ * Create or update one Book.
1516
+ * @param {BookUpsertArgs} args - Arguments to update or create a Book.
1517
+ * @example
1518
+ * // Update or create a Book
1519
+ * const book = await prisma.book.upsert({
1520
+ * create: {
1521
+ * // ... data to create a Book
1522
+ * },
1523
+ * update: {
1524
+ * // ... in case it already exists, update
1525
+ * },
1526
+ * where: {
1527
+ * // ... the filter for the Book we want to update
1528
+ * }
1529
+ * })
1530
+ */
1531
+ upsert<T extends BookUpsertArgs>(args: Prisma.SelectSubset<T, BookUpsertArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1532
+ /**
1533
+ * Count the number of Books.
1534
+ * Note, that providing `undefined` is treated as the value not being there.
1535
+ * Read more here: https://pris.ly/d/null-undefined
1536
+ * @param {BookCountArgs} args - Arguments to filter Books to count.
1537
+ * @example
1538
+ * // Count the number of Books
1539
+ * const count = await prisma.book.count({
1540
+ * where: {
1541
+ * // ... the filter for the Books we want to count
1542
+ * }
1543
+ * })
1544
+ **/
1545
+ count<T extends BookCountArgs>(args?: Prisma.Subset<T, BookCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], BookCountAggregateOutputType> : number>;
1546
+ /**
1547
+ * Allows you to perform aggregations operations on a Book.
1548
+ * Note, that providing `undefined` is treated as the value not being there.
1549
+ * Read more here: https://pris.ly/d/null-undefined
1550
+ * @param {BookAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1551
+ * @example
1552
+ * // Ordered by age ascending
1553
+ * // Where email contains prisma.io
1554
+ * // Limited to the 10 users
1555
+ * const aggregations = await prisma.user.aggregate({
1556
+ * _avg: {
1557
+ * age: true,
1558
+ * },
1559
+ * where: {
1560
+ * email: {
1561
+ * contains: "prisma.io",
1562
+ * },
1563
+ * },
1564
+ * orderBy: {
1565
+ * age: "asc",
1566
+ * },
1567
+ * take: 10,
1568
+ * })
1569
+ **/
1570
+ aggregate<T extends BookAggregateArgs>(args: Prisma.Subset<T, BookAggregateArgs>): Prisma.PrismaPromise<GetBookAggregateType<T>>;
1571
+ /**
1572
+ * Group by Book.
1573
+ * Note, that providing `undefined` is treated as the value not being there.
1574
+ * Read more here: https://pris.ly/d/null-undefined
1575
+ * @param {BookGroupByArgs} args - Group by arguments.
1576
+ * @example
1577
+ * // Group by city, order by createdAt, get count
1578
+ * const result = await prisma.user.groupBy({
1579
+ * by: ['city', 'createdAt'],
1580
+ * orderBy: {
1581
+ * createdAt: true
1582
+ * },
1583
+ * _count: {
1584
+ * _all: true
1585
+ * },
1586
+ * })
1587
+ *
1588
+ **/
1589
+ groupBy<T extends BookGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1590
+ orderBy: BookGroupByArgs['orderBy'];
1591
+ } : {
1592
+ orderBy?: BookGroupByArgs['orderBy'];
1593
+ }, 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 ? {
1594
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1595
+ Error,
1596
+ 'Field ',
1597
+ P,
1598
+ ` in "having" needs to be provided in "by"`
1599
+ ];
1600
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1601
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1602
+ }[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 ? {} : {
1603
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1604
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1605
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1606
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, BookGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBookGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1607
+ /**
1608
+ * Fields of the Book model
1609
+ */
1610
+ readonly fields: BookFieldRefs;
1611
+ }
1612
+ /**
1613
+ * The delegate class that acts as a "Promise-like" for Book.
1614
+ * Why is this prefixed with `Prisma__`?
1615
+ * Because we want to prevent naming conflicts as mentioned in
1616
+ * https://github.com/prisma/prisma-client-js/issues/707
1617
+ */
1618
+ export interface Prisma__BookClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1619
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1620
+ 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>;
1621
+ chapters<T extends Prisma.Book$chaptersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Book$chaptersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1622
+ verses<T extends Prisma.Book$versesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Book$versesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterVersePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1623
+ footnotes<T extends Prisma.Book$footnotesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Book$footnotesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterFootnotePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1624
+ audioUrls<T extends Prisma.Book$audioUrlsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Book$audioUrlsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterAudioUrlPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1625
+ audioTimings<T extends Prisma.Book$audioTimingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Book$audioTimingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterAudioTimingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1626
+ words<T extends Prisma.Book$wordsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Book$wordsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1627
+ /**
1628
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1629
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1630
+ * @param onrejected The callback to execute when the Promise is rejected.
1631
+ * @returns A Promise for the completion of which ever callback is executed.
1632
+ */
1633
+ 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>;
1634
+ /**
1635
+ * Attaches a callback for only the rejection of the Promise.
1636
+ * @param onrejected The callback to execute when the Promise is rejected.
1637
+ * @returns A Promise for the completion of the callback.
1638
+ */
1639
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1640
+ /**
1641
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1642
+ * resolved value cannot be modified from the callback.
1643
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1644
+ * @returns A Promise for the completion of the callback.
1645
+ */
1646
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1647
+ }
1648
+ /**
1649
+ * Fields of the Book model
1650
+ */
1651
+ export interface BookFieldRefs {
1652
+ readonly id: Prisma.FieldRef<"Book", 'String'>;
1653
+ readonly translationId: Prisma.FieldRef<"Book", 'String'>;
1654
+ readonly name: Prisma.FieldRef<"Book", 'String'>;
1655
+ readonly commonName: Prisma.FieldRef<"Book", 'String'>;
1656
+ readonly title: Prisma.FieldRef<"Book", 'String'>;
1657
+ readonly order: Prisma.FieldRef<"Book", 'Int'>;
1658
+ readonly numberOfChapters: Prisma.FieldRef<"Book", 'Int'>;
1659
+ readonly isApocryphal: Prisma.FieldRef<"Book", 'Boolean'>;
1660
+ readonly sha256: Prisma.FieldRef<"Book", 'String'>;
1661
+ }
1662
+ /**
1663
+ * Book findUnique
1664
+ */
1665
+ export type BookFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1666
+ /**
1667
+ * Select specific fields to fetch from the Book
1668
+ */
1669
+ select?: Prisma.BookSelect<ExtArgs> | null;
1670
+ /**
1671
+ * Omit specific fields from the Book
1672
+ */
1673
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1674
+ /**
1675
+ * Choose, which related nodes to fetch as well
1676
+ */
1677
+ include?: Prisma.BookInclude<ExtArgs> | null;
1678
+ /**
1679
+ * Filter, which Book to fetch.
1680
+ */
1681
+ where: Prisma.BookWhereUniqueInput;
1682
+ };
1683
+ /**
1684
+ * Book findUniqueOrThrow
1685
+ */
1686
+ export type BookFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1687
+ /**
1688
+ * Select specific fields to fetch from the Book
1689
+ */
1690
+ select?: Prisma.BookSelect<ExtArgs> | null;
1691
+ /**
1692
+ * Omit specific fields from the Book
1693
+ */
1694
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1695
+ /**
1696
+ * Choose, which related nodes to fetch as well
1697
+ */
1698
+ include?: Prisma.BookInclude<ExtArgs> | null;
1699
+ /**
1700
+ * Filter, which Book to fetch.
1701
+ */
1702
+ where: Prisma.BookWhereUniqueInput;
1703
+ };
1704
+ /**
1705
+ * Book findFirst
1706
+ */
1707
+ export type BookFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1708
+ /**
1709
+ * Select specific fields to fetch from the Book
1710
+ */
1711
+ select?: Prisma.BookSelect<ExtArgs> | null;
1712
+ /**
1713
+ * Omit specific fields from the Book
1714
+ */
1715
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1716
+ /**
1717
+ * Choose, which related nodes to fetch as well
1718
+ */
1719
+ include?: Prisma.BookInclude<ExtArgs> | null;
1720
+ /**
1721
+ * Filter, which Book to fetch.
1722
+ */
1723
+ where?: Prisma.BookWhereInput;
1724
+ /**
1725
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1726
+ *
1727
+ * Determine the order of Books to fetch.
1728
+ */
1729
+ orderBy?: Prisma.BookOrderByWithRelationInput | Prisma.BookOrderByWithRelationInput[];
1730
+ /**
1731
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1732
+ *
1733
+ * Sets the position for searching for Books.
1734
+ */
1735
+ cursor?: Prisma.BookWhereUniqueInput;
1736
+ /**
1737
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1738
+ *
1739
+ * Take `±n` Books from the position of the cursor.
1740
+ */
1741
+ take?: number;
1742
+ /**
1743
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1744
+ *
1745
+ * Skip the first `n` Books.
1746
+ */
1747
+ skip?: number;
1748
+ /**
1749
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1750
+ *
1751
+ * Filter by unique combinations of Books.
1752
+ */
1753
+ distinct?: Prisma.BookScalarFieldEnum | Prisma.BookScalarFieldEnum[];
1754
+ };
1755
+ /**
1756
+ * Book findFirstOrThrow
1757
+ */
1758
+ export type BookFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1759
+ /**
1760
+ * Select specific fields to fetch from the Book
1761
+ */
1762
+ select?: Prisma.BookSelect<ExtArgs> | null;
1763
+ /**
1764
+ * Omit specific fields from the Book
1765
+ */
1766
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1767
+ /**
1768
+ * Choose, which related nodes to fetch as well
1769
+ */
1770
+ include?: Prisma.BookInclude<ExtArgs> | null;
1771
+ /**
1772
+ * Filter, which Book to fetch.
1773
+ */
1774
+ where?: Prisma.BookWhereInput;
1775
+ /**
1776
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1777
+ *
1778
+ * Determine the order of Books to fetch.
1779
+ */
1780
+ orderBy?: Prisma.BookOrderByWithRelationInput | Prisma.BookOrderByWithRelationInput[];
1781
+ /**
1782
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1783
+ *
1784
+ * Sets the position for searching for Books.
1785
+ */
1786
+ cursor?: Prisma.BookWhereUniqueInput;
1787
+ /**
1788
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1789
+ *
1790
+ * Take `±n` Books from the position of the cursor.
1791
+ */
1792
+ take?: number;
1793
+ /**
1794
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1795
+ *
1796
+ * Skip the first `n` Books.
1797
+ */
1798
+ skip?: number;
1799
+ /**
1800
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1801
+ *
1802
+ * Filter by unique combinations of Books.
1803
+ */
1804
+ distinct?: Prisma.BookScalarFieldEnum | Prisma.BookScalarFieldEnum[];
1805
+ };
1806
+ /**
1807
+ * Book findMany
1808
+ */
1809
+ export type BookFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1810
+ /**
1811
+ * Select specific fields to fetch from the Book
1812
+ */
1813
+ select?: Prisma.BookSelect<ExtArgs> | null;
1814
+ /**
1815
+ * Omit specific fields from the Book
1816
+ */
1817
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1818
+ /**
1819
+ * Choose, which related nodes to fetch as well
1820
+ */
1821
+ include?: Prisma.BookInclude<ExtArgs> | null;
1822
+ /**
1823
+ * Filter, which Books to fetch.
1824
+ */
1825
+ where?: Prisma.BookWhereInput;
1826
+ /**
1827
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1828
+ *
1829
+ * Determine the order of Books to fetch.
1830
+ */
1831
+ orderBy?: Prisma.BookOrderByWithRelationInput | Prisma.BookOrderByWithRelationInput[];
1832
+ /**
1833
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1834
+ *
1835
+ * Sets the position for listing Books.
1836
+ */
1837
+ cursor?: Prisma.BookWhereUniqueInput;
1838
+ /**
1839
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1840
+ *
1841
+ * Take `±n` Books from the position of the cursor.
1842
+ */
1843
+ take?: number;
1844
+ /**
1845
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1846
+ *
1847
+ * Skip the first `n` Books.
1848
+ */
1849
+ skip?: number;
1850
+ /**
1851
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1852
+ *
1853
+ * Filter by unique combinations of Books.
1854
+ */
1855
+ distinct?: Prisma.BookScalarFieldEnum | Prisma.BookScalarFieldEnum[];
1856
+ };
1857
+ /**
1858
+ * Book create
1859
+ */
1860
+ export type BookCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1861
+ /**
1862
+ * Select specific fields to fetch from the Book
1863
+ */
1864
+ select?: Prisma.BookSelect<ExtArgs> | null;
1865
+ /**
1866
+ * Omit specific fields from the Book
1867
+ */
1868
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1869
+ /**
1870
+ * Choose, which related nodes to fetch as well
1871
+ */
1872
+ include?: Prisma.BookInclude<ExtArgs> | null;
1873
+ /**
1874
+ * The data needed to create a Book.
1875
+ */
1876
+ data: Prisma.XOR<Prisma.BookCreateInput, Prisma.BookUncheckedCreateInput>;
1877
+ };
1878
+ /**
1879
+ * Book createMany
1880
+ */
1881
+ export type BookCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1882
+ /**
1883
+ * The data used to create many Books.
1884
+ */
1885
+ data: Prisma.BookCreateManyInput | Prisma.BookCreateManyInput[];
1886
+ };
1887
+ /**
1888
+ * Book createManyAndReturn
1889
+ */
1890
+ export type BookCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1891
+ /**
1892
+ * Select specific fields to fetch from the Book
1893
+ */
1894
+ select?: Prisma.BookSelectCreateManyAndReturn<ExtArgs> | null;
1895
+ /**
1896
+ * Omit specific fields from the Book
1897
+ */
1898
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1899
+ /**
1900
+ * The data used to create many Books.
1901
+ */
1902
+ data: Prisma.BookCreateManyInput | Prisma.BookCreateManyInput[];
1903
+ /**
1904
+ * Choose, which related nodes to fetch as well
1905
+ */
1906
+ include?: Prisma.BookIncludeCreateManyAndReturn<ExtArgs> | null;
1907
+ };
1908
+ /**
1909
+ * Book update
1910
+ */
1911
+ export type BookUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1912
+ /**
1913
+ * Select specific fields to fetch from the Book
1914
+ */
1915
+ select?: Prisma.BookSelect<ExtArgs> | null;
1916
+ /**
1917
+ * Omit specific fields from the Book
1918
+ */
1919
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1920
+ /**
1921
+ * Choose, which related nodes to fetch as well
1922
+ */
1923
+ include?: Prisma.BookInclude<ExtArgs> | null;
1924
+ /**
1925
+ * The data needed to update a Book.
1926
+ */
1927
+ data: Prisma.XOR<Prisma.BookUpdateInput, Prisma.BookUncheckedUpdateInput>;
1928
+ /**
1929
+ * Choose, which Book to update.
1930
+ */
1931
+ where: Prisma.BookWhereUniqueInput;
1932
+ };
1933
+ /**
1934
+ * Book updateMany
1935
+ */
1936
+ export type BookUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1937
+ /**
1938
+ * The data used to update Books.
1939
+ */
1940
+ data: Prisma.XOR<Prisma.BookUpdateManyMutationInput, Prisma.BookUncheckedUpdateManyInput>;
1941
+ /**
1942
+ * Filter which Books to update
1943
+ */
1944
+ where?: Prisma.BookWhereInput;
1945
+ /**
1946
+ * Limit how many Books to update.
1947
+ */
1948
+ limit?: number;
1949
+ };
1950
+ /**
1951
+ * Book updateManyAndReturn
1952
+ */
1953
+ export type BookUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1954
+ /**
1955
+ * Select specific fields to fetch from the Book
1956
+ */
1957
+ select?: Prisma.BookSelectUpdateManyAndReturn<ExtArgs> | null;
1958
+ /**
1959
+ * Omit specific fields from the Book
1960
+ */
1961
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1962
+ /**
1963
+ * The data used to update Books.
1964
+ */
1965
+ data: Prisma.XOR<Prisma.BookUpdateManyMutationInput, Prisma.BookUncheckedUpdateManyInput>;
1966
+ /**
1967
+ * Filter which Books to update
1968
+ */
1969
+ where?: Prisma.BookWhereInput;
1970
+ /**
1971
+ * Limit how many Books to update.
1972
+ */
1973
+ limit?: number;
1974
+ /**
1975
+ * Choose, which related nodes to fetch as well
1976
+ */
1977
+ include?: Prisma.BookIncludeUpdateManyAndReturn<ExtArgs> | null;
1978
+ };
1979
+ /**
1980
+ * Book upsert
1981
+ */
1982
+ export type BookUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1983
+ /**
1984
+ * Select specific fields to fetch from the Book
1985
+ */
1986
+ select?: Prisma.BookSelect<ExtArgs> | null;
1987
+ /**
1988
+ * Omit specific fields from the Book
1989
+ */
1990
+ omit?: Prisma.BookOmit<ExtArgs> | null;
1991
+ /**
1992
+ * Choose, which related nodes to fetch as well
1993
+ */
1994
+ include?: Prisma.BookInclude<ExtArgs> | null;
1995
+ /**
1996
+ * The filter to search for the Book to update in case it exists.
1997
+ */
1998
+ where: Prisma.BookWhereUniqueInput;
1999
+ /**
2000
+ * In case the Book found by the `where` argument doesn't exist, create a new Book with this data.
2001
+ */
2002
+ create: Prisma.XOR<Prisma.BookCreateInput, Prisma.BookUncheckedCreateInput>;
2003
+ /**
2004
+ * In case the Book was found with the provided `where` argument, update it with this data.
2005
+ */
2006
+ update: Prisma.XOR<Prisma.BookUpdateInput, Prisma.BookUncheckedUpdateInput>;
2007
+ };
2008
+ /**
2009
+ * Book delete
2010
+ */
2011
+ export type BookDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2012
+ /**
2013
+ * Select specific fields to fetch from the Book
2014
+ */
2015
+ select?: Prisma.BookSelect<ExtArgs> | null;
2016
+ /**
2017
+ * Omit specific fields from the Book
2018
+ */
2019
+ omit?: Prisma.BookOmit<ExtArgs> | null;
2020
+ /**
2021
+ * Choose, which related nodes to fetch as well
2022
+ */
2023
+ include?: Prisma.BookInclude<ExtArgs> | null;
2024
+ /**
2025
+ * Filter which Book to delete.
2026
+ */
2027
+ where: Prisma.BookWhereUniqueInput;
2028
+ };
2029
+ /**
2030
+ * Book deleteMany
2031
+ */
2032
+ export type BookDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2033
+ /**
2034
+ * Filter which Books to delete
2035
+ */
2036
+ where?: Prisma.BookWhereInput;
2037
+ /**
2038
+ * Limit how many Books to delete.
2039
+ */
2040
+ limit?: number;
2041
+ };
2042
+ /**
2043
+ * Book.chapters
2044
+ */
2045
+ export type Book$chaptersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2046
+ /**
2047
+ * Select specific fields to fetch from the Chapter
2048
+ */
2049
+ select?: Prisma.ChapterSelect<ExtArgs> | null;
2050
+ /**
2051
+ * Omit specific fields from the Chapter
2052
+ */
2053
+ omit?: Prisma.ChapterOmit<ExtArgs> | null;
2054
+ /**
2055
+ * Choose, which related nodes to fetch as well
2056
+ */
2057
+ include?: Prisma.ChapterInclude<ExtArgs> | null;
2058
+ where?: Prisma.ChapterWhereInput;
2059
+ orderBy?: Prisma.ChapterOrderByWithRelationInput | Prisma.ChapterOrderByWithRelationInput[];
2060
+ cursor?: Prisma.ChapterWhereUniqueInput;
2061
+ take?: number;
2062
+ skip?: number;
2063
+ distinct?: Prisma.ChapterScalarFieldEnum | Prisma.ChapterScalarFieldEnum[];
2064
+ };
2065
+ /**
2066
+ * Book.verses
2067
+ */
2068
+ export type Book$versesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2069
+ /**
2070
+ * Select specific fields to fetch from the ChapterVerse
2071
+ */
2072
+ select?: Prisma.ChapterVerseSelect<ExtArgs> | null;
2073
+ /**
2074
+ * Omit specific fields from the ChapterVerse
2075
+ */
2076
+ omit?: Prisma.ChapterVerseOmit<ExtArgs> | null;
2077
+ /**
2078
+ * Choose, which related nodes to fetch as well
2079
+ */
2080
+ include?: Prisma.ChapterVerseInclude<ExtArgs> | null;
2081
+ where?: Prisma.ChapterVerseWhereInput;
2082
+ orderBy?: Prisma.ChapterVerseOrderByWithRelationInput | Prisma.ChapterVerseOrderByWithRelationInput[];
2083
+ cursor?: Prisma.ChapterVerseWhereUniqueInput;
2084
+ take?: number;
2085
+ skip?: number;
2086
+ distinct?: Prisma.ChapterVerseScalarFieldEnum | Prisma.ChapterVerseScalarFieldEnum[];
2087
+ };
2088
+ /**
2089
+ * Book.footnotes
2090
+ */
2091
+ export type Book$footnotesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2092
+ /**
2093
+ * Select specific fields to fetch from the ChapterFootnote
2094
+ */
2095
+ select?: Prisma.ChapterFootnoteSelect<ExtArgs> | null;
2096
+ /**
2097
+ * Omit specific fields from the ChapterFootnote
2098
+ */
2099
+ omit?: Prisma.ChapterFootnoteOmit<ExtArgs> | null;
2100
+ /**
2101
+ * Choose, which related nodes to fetch as well
2102
+ */
2103
+ include?: Prisma.ChapterFootnoteInclude<ExtArgs> | null;
2104
+ where?: Prisma.ChapterFootnoteWhereInput;
2105
+ orderBy?: Prisma.ChapterFootnoteOrderByWithRelationInput | Prisma.ChapterFootnoteOrderByWithRelationInput[];
2106
+ cursor?: Prisma.ChapterFootnoteWhereUniqueInput;
2107
+ take?: number;
2108
+ skip?: number;
2109
+ distinct?: Prisma.ChapterFootnoteScalarFieldEnum | Prisma.ChapterFootnoteScalarFieldEnum[];
2110
+ };
2111
+ /**
2112
+ * Book.audioUrls
2113
+ */
2114
+ export type Book$audioUrlsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2115
+ /**
2116
+ * Select specific fields to fetch from the ChapterAudioUrl
2117
+ */
2118
+ select?: Prisma.ChapterAudioUrlSelect<ExtArgs> | null;
2119
+ /**
2120
+ * Omit specific fields from the ChapterAudioUrl
2121
+ */
2122
+ omit?: Prisma.ChapterAudioUrlOmit<ExtArgs> | null;
2123
+ /**
2124
+ * Choose, which related nodes to fetch as well
2125
+ */
2126
+ include?: Prisma.ChapterAudioUrlInclude<ExtArgs> | null;
2127
+ where?: Prisma.ChapterAudioUrlWhereInput;
2128
+ orderBy?: Prisma.ChapterAudioUrlOrderByWithRelationInput | Prisma.ChapterAudioUrlOrderByWithRelationInput[];
2129
+ cursor?: Prisma.ChapterAudioUrlWhereUniqueInput;
2130
+ take?: number;
2131
+ skip?: number;
2132
+ distinct?: Prisma.ChapterAudioUrlScalarFieldEnum | Prisma.ChapterAudioUrlScalarFieldEnum[];
2133
+ };
2134
+ /**
2135
+ * Book.audioTimings
2136
+ */
2137
+ export type Book$audioTimingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2138
+ /**
2139
+ * Select specific fields to fetch from the ChapterAudioTiming
2140
+ */
2141
+ select?: Prisma.ChapterAudioTimingSelect<ExtArgs> | null;
2142
+ /**
2143
+ * Omit specific fields from the ChapterAudioTiming
2144
+ */
2145
+ omit?: Prisma.ChapterAudioTimingOmit<ExtArgs> | null;
2146
+ /**
2147
+ * Choose, which related nodes to fetch as well
2148
+ */
2149
+ include?: Prisma.ChapterAudioTimingInclude<ExtArgs> | null;
2150
+ where?: Prisma.ChapterAudioTimingWhereInput;
2151
+ orderBy?: Prisma.ChapterAudioTimingOrderByWithRelationInput | Prisma.ChapterAudioTimingOrderByWithRelationInput[];
2152
+ cursor?: Prisma.ChapterAudioTimingWhereUniqueInput;
2153
+ take?: number;
2154
+ skip?: number;
2155
+ distinct?: Prisma.ChapterAudioTimingScalarFieldEnum | Prisma.ChapterAudioTimingScalarFieldEnum[];
2156
+ };
2157
+ /**
2158
+ * Book.words
2159
+ */
2160
+ export type Book$wordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2161
+ /**
2162
+ * Select specific fields to fetch from the ChapterWords
2163
+ */
2164
+ select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
2165
+ /**
2166
+ * Omit specific fields from the ChapterWords
2167
+ */
2168
+ omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
2169
+ /**
2170
+ * Choose, which related nodes to fetch as well
2171
+ */
2172
+ include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
2173
+ where?: Prisma.ChapterWordsWhereInput;
2174
+ orderBy?: Prisma.ChapterWordsOrderByWithRelationInput | Prisma.ChapterWordsOrderByWithRelationInput[];
2175
+ cursor?: Prisma.ChapterWordsWhereUniqueInput;
2176
+ take?: number;
2177
+ skip?: number;
2178
+ distinct?: Prisma.ChapterWordsScalarFieldEnum | Prisma.ChapterWordsScalarFieldEnum[];
2179
+ };
2180
+ /**
2181
+ * Book without action
2182
+ */
2183
+ export type BookDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2184
+ /**
2185
+ * Select specific fields to fetch from the Book
2186
+ */
2187
+ select?: Prisma.BookSelect<ExtArgs> | null;
2188
+ /**
2189
+ * Omit specific fields from the Book
2190
+ */
2191
+ omit?: Prisma.BookOmit<ExtArgs> | null;
2192
+ /**
2193
+ * Choose, which related nodes to fetch as well
2194
+ */
2195
+ include?: Prisma.BookInclude<ExtArgs> | null;
2196
+ };
2197
+ //# sourceMappingURL=Book.d.ts.map