@helloao/cli 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +138 -136
- package/dist/cjs/cli.cjs +8049 -12681
- package/dist/cjs/index.cjs +7628 -12571
- package/dist/esm/cli.js +5699 -0
- package/dist/esm/cli.js.map +7 -0
- package/dist/esm/index.js +1972 -6262
- package/dist/esm/index.js.map +4 -4
- package/dist/types/actions.d.ts +71 -0
- package/dist/types/db.d.ts +12 -8
- package/dist/types/ebible.d.ts +1 -1
- package/dist/types/files.d.ts +12 -1
- package/dist/types/openapi.d.ts +2 -0
- package/dist/types/prisma-gen/browser.d.ts +110 -0
- package/dist/types/prisma-gen/client.d.ts +129 -0
- package/dist/types/prisma-gen/commonInputTypes.d.ts +378 -0
- package/dist/types/prisma-gen/enums.d.ts +2 -0
- package/dist/types/prisma-gen/internal/class.d.ts +353 -0
- package/dist/types/prisma-gen/internal/prismaNamespace.d.ts +2273 -0
- package/dist/types/prisma-gen/internal/prismaNamespaceBrowser.d.ts +294 -0
- package/dist/types/prisma-gen/models/Book.d.ts +2197 -0
- package/dist/types/prisma-gen/models/Chapter.d.ts +1934 -0
- package/dist/types/prisma-gen/models/ChapterAudioTiming.d.ts +1414 -0
- package/dist/types/prisma-gen/models/ChapterAudioUrl.d.ts +1414 -0
- package/dist/types/prisma-gen/models/ChapterFootnote.d.ts +1642 -0
- package/dist/types/prisma-gen/models/ChapterVerse.d.ts +1653 -0
- package/dist/types/prisma-gen/models/ChapterWords.d.ts +1366 -0
- package/dist/types/prisma-gen/models/Commentary.d.ts +1711 -0
- package/dist/types/prisma-gen/models/CommentaryBook.d.ts +1622 -0
- package/dist/types/prisma-gen/models/CommentaryChapter.d.ts +1487 -0
- package/dist/types/prisma-gen/models/CommentaryChapterVerse.d.ts +1514 -0
- package/dist/types/prisma-gen/models/CommentaryProfile.d.ts +1451 -0
- package/dist/types/prisma-gen/models/Dataset.d.ts +1667 -0
- package/dist/types/prisma-gen/models/DatasetBook.d.ts +1565 -0
- package/dist/types/prisma-gen/models/DatasetChapter.d.ts +1553 -0
- package/dist/types/prisma-gen/models/DatasetChapterVerse.d.ts +1600 -0
- package/dist/types/prisma-gen/models/DatasetReference.d.ts +1789 -0
- package/dist/types/prisma-gen/models/EBibleSource.d.ts +1686 -0
- package/dist/types/prisma-gen/models/InputFile.d.ts +1039 -0
- package/dist/types/prisma-gen/models/InputFileWarning.d.ts +946 -0
- package/dist/types/prisma-gen/models/Translation.d.ts +2238 -0
- package/dist/types/prisma-gen/models.d.ts +23 -0
- package/dist/types/s3.d.ts +2 -0
- package/dist/types/uploads.d.ts +7 -1
- package/migrations/20260217200934_add_license_notice/migration.sql +5 -0
- package/migrations/20260703000000_add_chapter_audio_timing/migration.sql +13 -0
- package/migrations/20260809000000_add_chapter_words/migration.sql +12 -0
- package/package.json +23 -17
- package/schema.prisma +43 -2
- package/prisma-gen/client.d.ts +0 -1
- package/prisma-gen/client.js +0 -4
- package/prisma-gen/default.d.ts +0 -1
- package/prisma-gen/default.js +0 -1
- package/prisma-gen/edge.d.ts +0 -1
- package/prisma-gen/edge.js +0 -401
- package/prisma-gen/index-browser.js +0 -395
- package/prisma-gen/index.d.ts +0 -33919
- package/prisma-gen/index.js +0 -424
- package/prisma-gen/runtime/edge-esm.js +0 -31
- package/prisma-gen/runtime/edge.js +0 -31
- package/prisma-gen/runtime/index-browser.d.ts +0 -365
- package/prisma-gen/runtime/index-browser.js +0 -13
- package/prisma-gen/runtime/library.d.ts +0 -3403
- package/prisma-gen/runtime/library.js +0 -143
- package/prisma-gen/runtime/react-native.js +0 -80
- package/prisma-gen/runtime/wasm.js +0 -32
- package/prisma-gen/wasm.d.ts +0 -1
- package/prisma-gen/wasm.js +0 -395
|
@@ -0,0 +1,1934 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model Chapter
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ChapterModel = runtime.Types.Result.DefaultSelection<Prisma.$ChapterPayload>;
|
|
8
|
+
export type AggregateChapter = {
|
|
9
|
+
_count: ChapterCountAggregateOutputType | null;
|
|
10
|
+
_avg: ChapterAvgAggregateOutputType | null;
|
|
11
|
+
_sum: ChapterSumAggregateOutputType | null;
|
|
12
|
+
_min: ChapterMinAggregateOutputType | null;
|
|
13
|
+
_max: ChapterMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type ChapterAvgAggregateOutputType = {
|
|
16
|
+
number: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type ChapterSumAggregateOutputType = {
|
|
19
|
+
number: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type ChapterMinAggregateOutputType = {
|
|
22
|
+
number: number | null;
|
|
23
|
+
bookId: string | null;
|
|
24
|
+
translationId: string | null;
|
|
25
|
+
json: string | null;
|
|
26
|
+
sha256: string | null;
|
|
27
|
+
};
|
|
28
|
+
export type ChapterMaxAggregateOutputType = {
|
|
29
|
+
number: number | null;
|
|
30
|
+
bookId: string | null;
|
|
31
|
+
translationId: string | null;
|
|
32
|
+
json: string | null;
|
|
33
|
+
sha256: string | null;
|
|
34
|
+
};
|
|
35
|
+
export type ChapterCountAggregateOutputType = {
|
|
36
|
+
number: number;
|
|
37
|
+
bookId: number;
|
|
38
|
+
translationId: number;
|
|
39
|
+
json: number;
|
|
40
|
+
sha256: number;
|
|
41
|
+
_all: number;
|
|
42
|
+
};
|
|
43
|
+
export type ChapterAvgAggregateInputType = {
|
|
44
|
+
number?: true;
|
|
45
|
+
};
|
|
46
|
+
export type ChapterSumAggregateInputType = {
|
|
47
|
+
number?: true;
|
|
48
|
+
};
|
|
49
|
+
export type ChapterMinAggregateInputType = {
|
|
50
|
+
number?: true;
|
|
51
|
+
bookId?: true;
|
|
52
|
+
translationId?: true;
|
|
53
|
+
json?: true;
|
|
54
|
+
sha256?: true;
|
|
55
|
+
};
|
|
56
|
+
export type ChapterMaxAggregateInputType = {
|
|
57
|
+
number?: true;
|
|
58
|
+
bookId?: true;
|
|
59
|
+
translationId?: true;
|
|
60
|
+
json?: true;
|
|
61
|
+
sha256?: true;
|
|
62
|
+
};
|
|
63
|
+
export type ChapterCountAggregateInputType = {
|
|
64
|
+
number?: true;
|
|
65
|
+
bookId?: true;
|
|
66
|
+
translationId?: true;
|
|
67
|
+
json?: true;
|
|
68
|
+
sha256?: true;
|
|
69
|
+
_all?: true;
|
|
70
|
+
};
|
|
71
|
+
export type ChapterAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
72
|
+
/**
|
|
73
|
+
* Filter which Chapter to aggregate.
|
|
74
|
+
*/
|
|
75
|
+
where?: Prisma.ChapterWhereInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
78
|
+
*
|
|
79
|
+
* Determine the order of Chapters to fetch.
|
|
80
|
+
*/
|
|
81
|
+
orderBy?: Prisma.ChapterOrderByWithRelationInput | Prisma.ChapterOrderByWithRelationInput[];
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
84
|
+
*
|
|
85
|
+
* Sets the start position
|
|
86
|
+
*/
|
|
87
|
+
cursor?: Prisma.ChapterWhereUniqueInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Take `±n` Chapters from the position of the cursor.
|
|
92
|
+
*/
|
|
93
|
+
take?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
+
*
|
|
97
|
+
* Skip the first `n` Chapters.
|
|
98
|
+
*/
|
|
99
|
+
skip?: number;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Count returned Chapters
|
|
104
|
+
**/
|
|
105
|
+
_count?: true | ChapterCountAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to average
|
|
110
|
+
**/
|
|
111
|
+
_avg?: ChapterAvgAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to sum
|
|
116
|
+
**/
|
|
117
|
+
_sum?: ChapterSumAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to find the minimum value
|
|
122
|
+
**/
|
|
123
|
+
_min?: ChapterMinAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to find the maximum value
|
|
128
|
+
**/
|
|
129
|
+
_max?: ChapterMaxAggregateInputType;
|
|
130
|
+
};
|
|
131
|
+
export type GetChapterAggregateType<T extends ChapterAggregateArgs> = {
|
|
132
|
+
[P in keyof T & keyof AggregateChapter]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateChapter[P]> : Prisma.GetScalarType<T[P], AggregateChapter[P]>;
|
|
133
|
+
};
|
|
134
|
+
export type ChapterGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
+
where?: Prisma.ChapterWhereInput;
|
|
136
|
+
orderBy?: Prisma.ChapterOrderByWithAggregationInput | Prisma.ChapterOrderByWithAggregationInput[];
|
|
137
|
+
by: Prisma.ChapterScalarFieldEnum[] | Prisma.ChapterScalarFieldEnum;
|
|
138
|
+
having?: Prisma.ChapterScalarWhereWithAggregatesInput;
|
|
139
|
+
take?: number;
|
|
140
|
+
skip?: number;
|
|
141
|
+
_count?: ChapterCountAggregateInputType | true;
|
|
142
|
+
_avg?: ChapterAvgAggregateInputType;
|
|
143
|
+
_sum?: ChapterSumAggregateInputType;
|
|
144
|
+
_min?: ChapterMinAggregateInputType;
|
|
145
|
+
_max?: ChapterMaxAggregateInputType;
|
|
146
|
+
};
|
|
147
|
+
export type ChapterGroupByOutputType = {
|
|
148
|
+
number: number;
|
|
149
|
+
bookId: string;
|
|
150
|
+
translationId: string;
|
|
151
|
+
json: string;
|
|
152
|
+
sha256: string | null;
|
|
153
|
+
_count: ChapterCountAggregateOutputType | null;
|
|
154
|
+
_avg: ChapterAvgAggregateOutputType | null;
|
|
155
|
+
_sum: ChapterSumAggregateOutputType | null;
|
|
156
|
+
_min: ChapterMinAggregateOutputType | null;
|
|
157
|
+
_max: ChapterMaxAggregateOutputType | null;
|
|
158
|
+
};
|
|
159
|
+
export type GetChapterGroupByPayload<T extends ChapterGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ChapterGroupByOutputType, T['by']> & {
|
|
160
|
+
[P in ((keyof T) & (keyof ChapterGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ChapterGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ChapterGroupByOutputType[P]>;
|
|
161
|
+
}>>;
|
|
162
|
+
export type ChapterWhereInput = {
|
|
163
|
+
AND?: Prisma.ChapterWhereInput | Prisma.ChapterWhereInput[];
|
|
164
|
+
OR?: Prisma.ChapterWhereInput[];
|
|
165
|
+
NOT?: Prisma.ChapterWhereInput | Prisma.ChapterWhereInput[];
|
|
166
|
+
number?: Prisma.IntFilter<"Chapter"> | number;
|
|
167
|
+
bookId?: Prisma.StringFilter<"Chapter"> | string;
|
|
168
|
+
translationId?: Prisma.StringFilter<"Chapter"> | string;
|
|
169
|
+
json?: Prisma.StringFilter<"Chapter"> | string;
|
|
170
|
+
sha256?: Prisma.StringNullableFilter<"Chapter"> | string | null;
|
|
171
|
+
book?: Prisma.XOR<Prisma.BookScalarRelationFilter, Prisma.BookWhereInput>;
|
|
172
|
+
translation?: Prisma.XOR<Prisma.TranslationScalarRelationFilter, Prisma.TranslationWhereInput>;
|
|
173
|
+
verses?: Prisma.ChapterVerseListRelationFilter;
|
|
174
|
+
footnotes?: Prisma.ChapterFootnoteListRelationFilter;
|
|
175
|
+
audioUrls?: Prisma.ChapterAudioUrlListRelationFilter;
|
|
176
|
+
audioTimings?: Prisma.ChapterAudioTimingListRelationFilter;
|
|
177
|
+
words?: Prisma.ChapterWordsListRelationFilter;
|
|
178
|
+
};
|
|
179
|
+
export type ChapterOrderByWithRelationInput = {
|
|
180
|
+
number?: Prisma.SortOrder;
|
|
181
|
+
bookId?: Prisma.SortOrder;
|
|
182
|
+
translationId?: Prisma.SortOrder;
|
|
183
|
+
json?: Prisma.SortOrder;
|
|
184
|
+
sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
185
|
+
book?: Prisma.BookOrderByWithRelationInput;
|
|
186
|
+
translation?: Prisma.TranslationOrderByWithRelationInput;
|
|
187
|
+
verses?: Prisma.ChapterVerseOrderByRelationAggregateInput;
|
|
188
|
+
footnotes?: Prisma.ChapterFootnoteOrderByRelationAggregateInput;
|
|
189
|
+
audioUrls?: Prisma.ChapterAudioUrlOrderByRelationAggregateInput;
|
|
190
|
+
audioTimings?: Prisma.ChapterAudioTimingOrderByRelationAggregateInput;
|
|
191
|
+
words?: Prisma.ChapterWordsOrderByRelationAggregateInput;
|
|
192
|
+
};
|
|
193
|
+
export type ChapterWhereUniqueInput = Prisma.AtLeast<{
|
|
194
|
+
translationId_bookId_number?: Prisma.ChapterTranslationIdBookIdNumberCompoundUniqueInput;
|
|
195
|
+
AND?: Prisma.ChapterWhereInput | Prisma.ChapterWhereInput[];
|
|
196
|
+
OR?: Prisma.ChapterWhereInput[];
|
|
197
|
+
NOT?: Prisma.ChapterWhereInput | Prisma.ChapterWhereInput[];
|
|
198
|
+
number?: Prisma.IntFilter<"Chapter"> | number;
|
|
199
|
+
bookId?: Prisma.StringFilter<"Chapter"> | string;
|
|
200
|
+
translationId?: Prisma.StringFilter<"Chapter"> | string;
|
|
201
|
+
json?: Prisma.StringFilter<"Chapter"> | string;
|
|
202
|
+
sha256?: Prisma.StringNullableFilter<"Chapter"> | string | null;
|
|
203
|
+
book?: Prisma.XOR<Prisma.BookScalarRelationFilter, Prisma.BookWhereInput>;
|
|
204
|
+
translation?: Prisma.XOR<Prisma.TranslationScalarRelationFilter, Prisma.TranslationWhereInput>;
|
|
205
|
+
verses?: Prisma.ChapterVerseListRelationFilter;
|
|
206
|
+
footnotes?: Prisma.ChapterFootnoteListRelationFilter;
|
|
207
|
+
audioUrls?: Prisma.ChapterAudioUrlListRelationFilter;
|
|
208
|
+
audioTimings?: Prisma.ChapterAudioTimingListRelationFilter;
|
|
209
|
+
words?: Prisma.ChapterWordsListRelationFilter;
|
|
210
|
+
}, "translationId_bookId_number">;
|
|
211
|
+
export type ChapterOrderByWithAggregationInput = {
|
|
212
|
+
number?: Prisma.SortOrder;
|
|
213
|
+
bookId?: Prisma.SortOrder;
|
|
214
|
+
translationId?: Prisma.SortOrder;
|
|
215
|
+
json?: Prisma.SortOrder;
|
|
216
|
+
sha256?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
217
|
+
_count?: Prisma.ChapterCountOrderByAggregateInput;
|
|
218
|
+
_avg?: Prisma.ChapterAvgOrderByAggregateInput;
|
|
219
|
+
_max?: Prisma.ChapterMaxOrderByAggregateInput;
|
|
220
|
+
_min?: Prisma.ChapterMinOrderByAggregateInput;
|
|
221
|
+
_sum?: Prisma.ChapterSumOrderByAggregateInput;
|
|
222
|
+
};
|
|
223
|
+
export type ChapterScalarWhereWithAggregatesInput = {
|
|
224
|
+
AND?: Prisma.ChapterScalarWhereWithAggregatesInput | Prisma.ChapterScalarWhereWithAggregatesInput[];
|
|
225
|
+
OR?: Prisma.ChapterScalarWhereWithAggregatesInput[];
|
|
226
|
+
NOT?: Prisma.ChapterScalarWhereWithAggregatesInput | Prisma.ChapterScalarWhereWithAggregatesInput[];
|
|
227
|
+
number?: Prisma.IntWithAggregatesFilter<"Chapter"> | number;
|
|
228
|
+
bookId?: Prisma.StringWithAggregatesFilter<"Chapter"> | string;
|
|
229
|
+
translationId?: Prisma.StringWithAggregatesFilter<"Chapter"> | string;
|
|
230
|
+
json?: Prisma.StringWithAggregatesFilter<"Chapter"> | string;
|
|
231
|
+
sha256?: Prisma.StringNullableWithAggregatesFilter<"Chapter"> | string | null;
|
|
232
|
+
};
|
|
233
|
+
export type ChapterCreateInput = {
|
|
234
|
+
number: number;
|
|
235
|
+
json: string;
|
|
236
|
+
sha256?: string | null;
|
|
237
|
+
book: Prisma.BookCreateNestedOneWithoutChaptersInput;
|
|
238
|
+
translation: Prisma.TranslationCreateNestedOneWithoutChaptersInput;
|
|
239
|
+
verses?: Prisma.ChapterVerseCreateNestedManyWithoutChapterInput;
|
|
240
|
+
footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutChapterInput;
|
|
241
|
+
audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutChapterInput;
|
|
242
|
+
audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutChapterInput;
|
|
243
|
+
words?: Prisma.ChapterWordsCreateNestedManyWithoutChapterInput;
|
|
244
|
+
};
|
|
245
|
+
export type ChapterUncheckedCreateInput = {
|
|
246
|
+
number: number;
|
|
247
|
+
bookId: string;
|
|
248
|
+
translationId: string;
|
|
249
|
+
json: string;
|
|
250
|
+
sha256?: string | null;
|
|
251
|
+
verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutChapterInput;
|
|
252
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutChapterInput;
|
|
253
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutChapterInput;
|
|
254
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutChapterInput;
|
|
255
|
+
words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutChapterInput;
|
|
256
|
+
};
|
|
257
|
+
export type ChapterUpdateInput = {
|
|
258
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
259
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
260
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
261
|
+
book?: Prisma.BookUpdateOneRequiredWithoutChaptersNestedInput;
|
|
262
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutChaptersNestedInput;
|
|
263
|
+
verses?: Prisma.ChapterVerseUpdateManyWithoutChapterNestedInput;
|
|
264
|
+
footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutChapterNestedInput;
|
|
265
|
+
audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutChapterNestedInput;
|
|
266
|
+
audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutChapterNestedInput;
|
|
267
|
+
words?: Prisma.ChapterWordsUpdateManyWithoutChapterNestedInput;
|
|
268
|
+
};
|
|
269
|
+
export type ChapterUncheckedUpdateInput = {
|
|
270
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
271
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
273
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
274
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
275
|
+
verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutChapterNestedInput;
|
|
276
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutChapterNestedInput;
|
|
277
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutChapterNestedInput;
|
|
278
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutChapterNestedInput;
|
|
279
|
+
words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput;
|
|
280
|
+
};
|
|
281
|
+
export type ChapterCreateManyInput = {
|
|
282
|
+
number: number;
|
|
283
|
+
bookId: string;
|
|
284
|
+
translationId: string;
|
|
285
|
+
json: string;
|
|
286
|
+
sha256?: string | null;
|
|
287
|
+
};
|
|
288
|
+
export type ChapterUpdateManyMutationInput = {
|
|
289
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
290
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
291
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
292
|
+
};
|
|
293
|
+
export type ChapterUncheckedUpdateManyInput = {
|
|
294
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
295
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
296
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
297
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
298
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
299
|
+
};
|
|
300
|
+
export type ChapterListRelationFilter = {
|
|
301
|
+
every?: Prisma.ChapterWhereInput;
|
|
302
|
+
some?: Prisma.ChapterWhereInput;
|
|
303
|
+
none?: Prisma.ChapterWhereInput;
|
|
304
|
+
};
|
|
305
|
+
export type ChapterOrderByRelationAggregateInput = {
|
|
306
|
+
_count?: Prisma.SortOrder;
|
|
307
|
+
};
|
|
308
|
+
export type ChapterTranslationIdBookIdNumberCompoundUniqueInput = {
|
|
309
|
+
translationId: string;
|
|
310
|
+
bookId: string;
|
|
311
|
+
number: number;
|
|
312
|
+
};
|
|
313
|
+
export type ChapterCountOrderByAggregateInput = {
|
|
314
|
+
number?: Prisma.SortOrder;
|
|
315
|
+
bookId?: Prisma.SortOrder;
|
|
316
|
+
translationId?: Prisma.SortOrder;
|
|
317
|
+
json?: Prisma.SortOrder;
|
|
318
|
+
sha256?: Prisma.SortOrder;
|
|
319
|
+
};
|
|
320
|
+
export type ChapterAvgOrderByAggregateInput = {
|
|
321
|
+
number?: Prisma.SortOrder;
|
|
322
|
+
};
|
|
323
|
+
export type ChapterMaxOrderByAggregateInput = {
|
|
324
|
+
number?: Prisma.SortOrder;
|
|
325
|
+
bookId?: Prisma.SortOrder;
|
|
326
|
+
translationId?: Prisma.SortOrder;
|
|
327
|
+
json?: Prisma.SortOrder;
|
|
328
|
+
sha256?: Prisma.SortOrder;
|
|
329
|
+
};
|
|
330
|
+
export type ChapterMinOrderByAggregateInput = {
|
|
331
|
+
number?: Prisma.SortOrder;
|
|
332
|
+
bookId?: Prisma.SortOrder;
|
|
333
|
+
translationId?: Prisma.SortOrder;
|
|
334
|
+
json?: Prisma.SortOrder;
|
|
335
|
+
sha256?: Prisma.SortOrder;
|
|
336
|
+
};
|
|
337
|
+
export type ChapterSumOrderByAggregateInput = {
|
|
338
|
+
number?: Prisma.SortOrder;
|
|
339
|
+
};
|
|
340
|
+
export type ChapterScalarRelationFilter = {
|
|
341
|
+
is?: Prisma.ChapterWhereInput;
|
|
342
|
+
isNot?: Prisma.ChapterWhereInput;
|
|
343
|
+
};
|
|
344
|
+
export type ChapterCreateNestedManyWithoutTranslationInput = {
|
|
345
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutTranslationInput, Prisma.ChapterUncheckedCreateWithoutTranslationInput> | Prisma.ChapterCreateWithoutTranslationInput[] | Prisma.ChapterUncheckedCreateWithoutTranslationInput[];
|
|
346
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutTranslationInput | Prisma.ChapterCreateOrConnectWithoutTranslationInput[];
|
|
347
|
+
createMany?: Prisma.ChapterCreateManyTranslationInputEnvelope;
|
|
348
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
349
|
+
};
|
|
350
|
+
export type ChapterUncheckedCreateNestedManyWithoutTranslationInput = {
|
|
351
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutTranslationInput, Prisma.ChapterUncheckedCreateWithoutTranslationInput> | Prisma.ChapterCreateWithoutTranslationInput[] | Prisma.ChapterUncheckedCreateWithoutTranslationInput[];
|
|
352
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutTranslationInput | Prisma.ChapterCreateOrConnectWithoutTranslationInput[];
|
|
353
|
+
createMany?: Prisma.ChapterCreateManyTranslationInputEnvelope;
|
|
354
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
355
|
+
};
|
|
356
|
+
export type ChapterUpdateManyWithoutTranslationNestedInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutTranslationInput, Prisma.ChapterUncheckedCreateWithoutTranslationInput> | Prisma.ChapterCreateWithoutTranslationInput[] | Prisma.ChapterUncheckedCreateWithoutTranslationInput[];
|
|
358
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutTranslationInput | Prisma.ChapterCreateOrConnectWithoutTranslationInput[];
|
|
359
|
+
upsert?: Prisma.ChapterUpsertWithWhereUniqueWithoutTranslationInput | Prisma.ChapterUpsertWithWhereUniqueWithoutTranslationInput[];
|
|
360
|
+
createMany?: Prisma.ChapterCreateManyTranslationInputEnvelope;
|
|
361
|
+
set?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
362
|
+
disconnect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
363
|
+
delete?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
364
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
365
|
+
update?: Prisma.ChapterUpdateWithWhereUniqueWithoutTranslationInput | Prisma.ChapterUpdateWithWhereUniqueWithoutTranslationInput[];
|
|
366
|
+
updateMany?: Prisma.ChapterUpdateManyWithWhereWithoutTranslationInput | Prisma.ChapterUpdateManyWithWhereWithoutTranslationInput[];
|
|
367
|
+
deleteMany?: Prisma.ChapterScalarWhereInput | Prisma.ChapterScalarWhereInput[];
|
|
368
|
+
};
|
|
369
|
+
export type ChapterUncheckedUpdateManyWithoutTranslationNestedInput = {
|
|
370
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutTranslationInput, Prisma.ChapterUncheckedCreateWithoutTranslationInput> | Prisma.ChapterCreateWithoutTranslationInput[] | Prisma.ChapterUncheckedCreateWithoutTranslationInput[];
|
|
371
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutTranslationInput | Prisma.ChapterCreateOrConnectWithoutTranslationInput[];
|
|
372
|
+
upsert?: Prisma.ChapterUpsertWithWhereUniqueWithoutTranslationInput | Prisma.ChapterUpsertWithWhereUniqueWithoutTranslationInput[];
|
|
373
|
+
createMany?: Prisma.ChapterCreateManyTranslationInputEnvelope;
|
|
374
|
+
set?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
375
|
+
disconnect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
376
|
+
delete?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
377
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
378
|
+
update?: Prisma.ChapterUpdateWithWhereUniqueWithoutTranslationInput | Prisma.ChapterUpdateWithWhereUniqueWithoutTranslationInput[];
|
|
379
|
+
updateMany?: Prisma.ChapterUpdateManyWithWhereWithoutTranslationInput | Prisma.ChapterUpdateManyWithWhereWithoutTranslationInput[];
|
|
380
|
+
deleteMany?: Prisma.ChapterScalarWhereInput | Prisma.ChapterScalarWhereInput[];
|
|
381
|
+
};
|
|
382
|
+
export type ChapterCreateNestedManyWithoutBookInput = {
|
|
383
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutBookInput, Prisma.ChapterUncheckedCreateWithoutBookInput> | Prisma.ChapterCreateWithoutBookInput[] | Prisma.ChapterUncheckedCreateWithoutBookInput[];
|
|
384
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutBookInput | Prisma.ChapterCreateOrConnectWithoutBookInput[];
|
|
385
|
+
createMany?: Prisma.ChapterCreateManyBookInputEnvelope;
|
|
386
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
387
|
+
};
|
|
388
|
+
export type ChapterUncheckedCreateNestedManyWithoutBookInput = {
|
|
389
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutBookInput, Prisma.ChapterUncheckedCreateWithoutBookInput> | Prisma.ChapterCreateWithoutBookInput[] | Prisma.ChapterUncheckedCreateWithoutBookInput[];
|
|
390
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutBookInput | Prisma.ChapterCreateOrConnectWithoutBookInput[];
|
|
391
|
+
createMany?: Prisma.ChapterCreateManyBookInputEnvelope;
|
|
392
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
393
|
+
};
|
|
394
|
+
export type ChapterUpdateManyWithoutBookNestedInput = {
|
|
395
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutBookInput, Prisma.ChapterUncheckedCreateWithoutBookInput> | Prisma.ChapterCreateWithoutBookInput[] | Prisma.ChapterUncheckedCreateWithoutBookInput[];
|
|
396
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutBookInput | Prisma.ChapterCreateOrConnectWithoutBookInput[];
|
|
397
|
+
upsert?: Prisma.ChapterUpsertWithWhereUniqueWithoutBookInput | Prisma.ChapterUpsertWithWhereUniqueWithoutBookInput[];
|
|
398
|
+
createMany?: Prisma.ChapterCreateManyBookInputEnvelope;
|
|
399
|
+
set?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
400
|
+
disconnect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
401
|
+
delete?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
402
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
403
|
+
update?: Prisma.ChapterUpdateWithWhereUniqueWithoutBookInput | Prisma.ChapterUpdateWithWhereUniqueWithoutBookInput[];
|
|
404
|
+
updateMany?: Prisma.ChapterUpdateManyWithWhereWithoutBookInput | Prisma.ChapterUpdateManyWithWhereWithoutBookInput[];
|
|
405
|
+
deleteMany?: Prisma.ChapterScalarWhereInput | Prisma.ChapterScalarWhereInput[];
|
|
406
|
+
};
|
|
407
|
+
export type ChapterUncheckedUpdateManyWithoutBookNestedInput = {
|
|
408
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutBookInput, Prisma.ChapterUncheckedCreateWithoutBookInput> | Prisma.ChapterCreateWithoutBookInput[] | Prisma.ChapterUncheckedCreateWithoutBookInput[];
|
|
409
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutBookInput | Prisma.ChapterCreateOrConnectWithoutBookInput[];
|
|
410
|
+
upsert?: Prisma.ChapterUpsertWithWhereUniqueWithoutBookInput | Prisma.ChapterUpsertWithWhereUniqueWithoutBookInput[];
|
|
411
|
+
createMany?: Prisma.ChapterCreateManyBookInputEnvelope;
|
|
412
|
+
set?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
413
|
+
disconnect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
414
|
+
delete?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
415
|
+
connect?: Prisma.ChapterWhereUniqueInput | Prisma.ChapterWhereUniqueInput[];
|
|
416
|
+
update?: Prisma.ChapterUpdateWithWhereUniqueWithoutBookInput | Prisma.ChapterUpdateWithWhereUniqueWithoutBookInput[];
|
|
417
|
+
updateMany?: Prisma.ChapterUpdateManyWithWhereWithoutBookInput | Prisma.ChapterUpdateManyWithWhereWithoutBookInput[];
|
|
418
|
+
deleteMany?: Prisma.ChapterScalarWhereInput | Prisma.ChapterScalarWhereInput[];
|
|
419
|
+
};
|
|
420
|
+
export type ChapterCreateNestedOneWithoutAudioUrlsInput = {
|
|
421
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutAudioUrlsInput, Prisma.ChapterUncheckedCreateWithoutAudioUrlsInput>;
|
|
422
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutAudioUrlsInput;
|
|
423
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
424
|
+
};
|
|
425
|
+
export type ChapterUpdateOneRequiredWithoutAudioUrlsNestedInput = {
|
|
426
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutAudioUrlsInput, Prisma.ChapterUncheckedCreateWithoutAudioUrlsInput>;
|
|
427
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutAudioUrlsInput;
|
|
428
|
+
upsert?: Prisma.ChapterUpsertWithoutAudioUrlsInput;
|
|
429
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
430
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ChapterUpdateToOneWithWhereWithoutAudioUrlsInput, Prisma.ChapterUpdateWithoutAudioUrlsInput>, Prisma.ChapterUncheckedUpdateWithoutAudioUrlsInput>;
|
|
431
|
+
};
|
|
432
|
+
export type ChapterCreateNestedOneWithoutAudioTimingsInput = {
|
|
433
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutAudioTimingsInput, Prisma.ChapterUncheckedCreateWithoutAudioTimingsInput>;
|
|
434
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutAudioTimingsInput;
|
|
435
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
436
|
+
};
|
|
437
|
+
export type ChapterUpdateOneRequiredWithoutAudioTimingsNestedInput = {
|
|
438
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutAudioTimingsInput, Prisma.ChapterUncheckedCreateWithoutAudioTimingsInput>;
|
|
439
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutAudioTimingsInput;
|
|
440
|
+
upsert?: Prisma.ChapterUpsertWithoutAudioTimingsInput;
|
|
441
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
442
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ChapterUpdateToOneWithWhereWithoutAudioTimingsInput, Prisma.ChapterUpdateWithoutAudioTimingsInput>, Prisma.ChapterUncheckedUpdateWithoutAudioTimingsInput>;
|
|
443
|
+
};
|
|
444
|
+
export type ChapterCreateNestedOneWithoutWordsInput = {
|
|
445
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutWordsInput, Prisma.ChapterUncheckedCreateWithoutWordsInput>;
|
|
446
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutWordsInput;
|
|
447
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
448
|
+
};
|
|
449
|
+
export type ChapterUpdateOneRequiredWithoutWordsNestedInput = {
|
|
450
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutWordsInput, Prisma.ChapterUncheckedCreateWithoutWordsInput>;
|
|
451
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutWordsInput;
|
|
452
|
+
upsert?: Prisma.ChapterUpsertWithoutWordsInput;
|
|
453
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
454
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ChapterUpdateToOneWithWhereWithoutWordsInput, Prisma.ChapterUpdateWithoutWordsInput>, Prisma.ChapterUncheckedUpdateWithoutWordsInput>;
|
|
455
|
+
};
|
|
456
|
+
export type ChapterCreateNestedOneWithoutVersesInput = {
|
|
457
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutVersesInput, Prisma.ChapterUncheckedCreateWithoutVersesInput>;
|
|
458
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutVersesInput;
|
|
459
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
460
|
+
};
|
|
461
|
+
export type ChapterUpdateOneRequiredWithoutVersesNestedInput = {
|
|
462
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutVersesInput, Prisma.ChapterUncheckedCreateWithoutVersesInput>;
|
|
463
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutVersesInput;
|
|
464
|
+
upsert?: Prisma.ChapterUpsertWithoutVersesInput;
|
|
465
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
466
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ChapterUpdateToOneWithWhereWithoutVersesInput, Prisma.ChapterUpdateWithoutVersesInput>, Prisma.ChapterUncheckedUpdateWithoutVersesInput>;
|
|
467
|
+
};
|
|
468
|
+
export type ChapterCreateNestedOneWithoutFootnotesInput = {
|
|
469
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutFootnotesInput, Prisma.ChapterUncheckedCreateWithoutFootnotesInput>;
|
|
470
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutFootnotesInput;
|
|
471
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
472
|
+
};
|
|
473
|
+
export type ChapterUpdateOneRequiredWithoutFootnotesNestedInput = {
|
|
474
|
+
create?: Prisma.XOR<Prisma.ChapterCreateWithoutFootnotesInput, Prisma.ChapterUncheckedCreateWithoutFootnotesInput>;
|
|
475
|
+
connectOrCreate?: Prisma.ChapterCreateOrConnectWithoutFootnotesInput;
|
|
476
|
+
upsert?: Prisma.ChapterUpsertWithoutFootnotesInput;
|
|
477
|
+
connect?: Prisma.ChapterWhereUniqueInput;
|
|
478
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ChapterUpdateToOneWithWhereWithoutFootnotesInput, Prisma.ChapterUpdateWithoutFootnotesInput>, Prisma.ChapterUncheckedUpdateWithoutFootnotesInput>;
|
|
479
|
+
};
|
|
480
|
+
export type ChapterCreateWithoutTranslationInput = {
|
|
481
|
+
number: number;
|
|
482
|
+
json: string;
|
|
483
|
+
sha256?: string | null;
|
|
484
|
+
book: Prisma.BookCreateNestedOneWithoutChaptersInput;
|
|
485
|
+
verses?: Prisma.ChapterVerseCreateNestedManyWithoutChapterInput;
|
|
486
|
+
footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutChapterInput;
|
|
487
|
+
audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutChapterInput;
|
|
488
|
+
audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutChapterInput;
|
|
489
|
+
words?: Prisma.ChapterWordsCreateNestedManyWithoutChapterInput;
|
|
490
|
+
};
|
|
491
|
+
export type ChapterUncheckedCreateWithoutTranslationInput = {
|
|
492
|
+
number: number;
|
|
493
|
+
bookId: string;
|
|
494
|
+
json: string;
|
|
495
|
+
sha256?: string | null;
|
|
496
|
+
verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutChapterInput;
|
|
497
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutChapterInput;
|
|
498
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutChapterInput;
|
|
499
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutChapterInput;
|
|
500
|
+
words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutChapterInput;
|
|
501
|
+
};
|
|
502
|
+
export type ChapterCreateOrConnectWithoutTranslationInput = {
|
|
503
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
504
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutTranslationInput, Prisma.ChapterUncheckedCreateWithoutTranslationInput>;
|
|
505
|
+
};
|
|
506
|
+
export type ChapterCreateManyTranslationInputEnvelope = {
|
|
507
|
+
data: Prisma.ChapterCreateManyTranslationInput | Prisma.ChapterCreateManyTranslationInput[];
|
|
508
|
+
};
|
|
509
|
+
export type ChapterUpsertWithWhereUniqueWithoutTranslationInput = {
|
|
510
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
511
|
+
update: Prisma.XOR<Prisma.ChapterUpdateWithoutTranslationInput, Prisma.ChapterUncheckedUpdateWithoutTranslationInput>;
|
|
512
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutTranslationInput, Prisma.ChapterUncheckedCreateWithoutTranslationInput>;
|
|
513
|
+
};
|
|
514
|
+
export type ChapterUpdateWithWhereUniqueWithoutTranslationInput = {
|
|
515
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
516
|
+
data: Prisma.XOR<Prisma.ChapterUpdateWithoutTranslationInput, Prisma.ChapterUncheckedUpdateWithoutTranslationInput>;
|
|
517
|
+
};
|
|
518
|
+
export type ChapterUpdateManyWithWhereWithoutTranslationInput = {
|
|
519
|
+
where: Prisma.ChapterScalarWhereInput;
|
|
520
|
+
data: Prisma.XOR<Prisma.ChapterUpdateManyMutationInput, Prisma.ChapterUncheckedUpdateManyWithoutTranslationInput>;
|
|
521
|
+
};
|
|
522
|
+
export type ChapterScalarWhereInput = {
|
|
523
|
+
AND?: Prisma.ChapterScalarWhereInput | Prisma.ChapterScalarWhereInput[];
|
|
524
|
+
OR?: Prisma.ChapterScalarWhereInput[];
|
|
525
|
+
NOT?: Prisma.ChapterScalarWhereInput | Prisma.ChapterScalarWhereInput[];
|
|
526
|
+
number?: Prisma.IntFilter<"Chapter"> | number;
|
|
527
|
+
bookId?: Prisma.StringFilter<"Chapter"> | string;
|
|
528
|
+
translationId?: Prisma.StringFilter<"Chapter"> | string;
|
|
529
|
+
json?: Prisma.StringFilter<"Chapter"> | string;
|
|
530
|
+
sha256?: Prisma.StringNullableFilter<"Chapter"> | string | null;
|
|
531
|
+
};
|
|
532
|
+
export type ChapterCreateWithoutBookInput = {
|
|
533
|
+
number: number;
|
|
534
|
+
json: string;
|
|
535
|
+
sha256?: string | null;
|
|
536
|
+
translation: Prisma.TranslationCreateNestedOneWithoutChaptersInput;
|
|
537
|
+
verses?: Prisma.ChapterVerseCreateNestedManyWithoutChapterInput;
|
|
538
|
+
footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutChapterInput;
|
|
539
|
+
audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutChapterInput;
|
|
540
|
+
audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutChapterInput;
|
|
541
|
+
words?: Prisma.ChapterWordsCreateNestedManyWithoutChapterInput;
|
|
542
|
+
};
|
|
543
|
+
export type ChapterUncheckedCreateWithoutBookInput = {
|
|
544
|
+
number: number;
|
|
545
|
+
json: string;
|
|
546
|
+
sha256?: string | null;
|
|
547
|
+
verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutChapterInput;
|
|
548
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutChapterInput;
|
|
549
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutChapterInput;
|
|
550
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutChapterInput;
|
|
551
|
+
words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutChapterInput;
|
|
552
|
+
};
|
|
553
|
+
export type ChapterCreateOrConnectWithoutBookInput = {
|
|
554
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
555
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutBookInput, Prisma.ChapterUncheckedCreateWithoutBookInput>;
|
|
556
|
+
};
|
|
557
|
+
export type ChapterCreateManyBookInputEnvelope = {
|
|
558
|
+
data: Prisma.ChapterCreateManyBookInput | Prisma.ChapterCreateManyBookInput[];
|
|
559
|
+
};
|
|
560
|
+
export type ChapterUpsertWithWhereUniqueWithoutBookInput = {
|
|
561
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
562
|
+
update: Prisma.XOR<Prisma.ChapterUpdateWithoutBookInput, Prisma.ChapterUncheckedUpdateWithoutBookInput>;
|
|
563
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutBookInput, Prisma.ChapterUncheckedCreateWithoutBookInput>;
|
|
564
|
+
};
|
|
565
|
+
export type ChapterUpdateWithWhereUniqueWithoutBookInput = {
|
|
566
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
567
|
+
data: Prisma.XOR<Prisma.ChapterUpdateWithoutBookInput, Prisma.ChapterUncheckedUpdateWithoutBookInput>;
|
|
568
|
+
};
|
|
569
|
+
export type ChapterUpdateManyWithWhereWithoutBookInput = {
|
|
570
|
+
where: Prisma.ChapterScalarWhereInput;
|
|
571
|
+
data: Prisma.XOR<Prisma.ChapterUpdateManyMutationInput, Prisma.ChapterUncheckedUpdateManyWithoutBookInput>;
|
|
572
|
+
};
|
|
573
|
+
export type ChapterCreateWithoutAudioUrlsInput = {
|
|
574
|
+
number: number;
|
|
575
|
+
json: string;
|
|
576
|
+
sha256?: string | null;
|
|
577
|
+
book: Prisma.BookCreateNestedOneWithoutChaptersInput;
|
|
578
|
+
translation: Prisma.TranslationCreateNestedOneWithoutChaptersInput;
|
|
579
|
+
verses?: Prisma.ChapterVerseCreateNestedManyWithoutChapterInput;
|
|
580
|
+
footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutChapterInput;
|
|
581
|
+
audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutChapterInput;
|
|
582
|
+
words?: Prisma.ChapterWordsCreateNestedManyWithoutChapterInput;
|
|
583
|
+
};
|
|
584
|
+
export type ChapterUncheckedCreateWithoutAudioUrlsInput = {
|
|
585
|
+
number: number;
|
|
586
|
+
bookId: string;
|
|
587
|
+
translationId: string;
|
|
588
|
+
json: string;
|
|
589
|
+
sha256?: string | null;
|
|
590
|
+
verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutChapterInput;
|
|
591
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutChapterInput;
|
|
592
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutChapterInput;
|
|
593
|
+
words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutChapterInput;
|
|
594
|
+
};
|
|
595
|
+
export type ChapterCreateOrConnectWithoutAudioUrlsInput = {
|
|
596
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
597
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutAudioUrlsInput, Prisma.ChapterUncheckedCreateWithoutAudioUrlsInput>;
|
|
598
|
+
};
|
|
599
|
+
export type ChapterUpsertWithoutAudioUrlsInput = {
|
|
600
|
+
update: Prisma.XOR<Prisma.ChapterUpdateWithoutAudioUrlsInput, Prisma.ChapterUncheckedUpdateWithoutAudioUrlsInput>;
|
|
601
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutAudioUrlsInput, Prisma.ChapterUncheckedCreateWithoutAudioUrlsInput>;
|
|
602
|
+
where?: Prisma.ChapterWhereInput;
|
|
603
|
+
};
|
|
604
|
+
export type ChapterUpdateToOneWithWhereWithoutAudioUrlsInput = {
|
|
605
|
+
where?: Prisma.ChapterWhereInput;
|
|
606
|
+
data: Prisma.XOR<Prisma.ChapterUpdateWithoutAudioUrlsInput, Prisma.ChapterUncheckedUpdateWithoutAudioUrlsInput>;
|
|
607
|
+
};
|
|
608
|
+
export type ChapterUpdateWithoutAudioUrlsInput = {
|
|
609
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
610
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
611
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
612
|
+
book?: Prisma.BookUpdateOneRequiredWithoutChaptersNestedInput;
|
|
613
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutChaptersNestedInput;
|
|
614
|
+
verses?: Prisma.ChapterVerseUpdateManyWithoutChapterNestedInput;
|
|
615
|
+
footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutChapterNestedInput;
|
|
616
|
+
audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutChapterNestedInput;
|
|
617
|
+
words?: Prisma.ChapterWordsUpdateManyWithoutChapterNestedInput;
|
|
618
|
+
};
|
|
619
|
+
export type ChapterUncheckedUpdateWithoutAudioUrlsInput = {
|
|
620
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
621
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
622
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
623
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
624
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
625
|
+
verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutChapterNestedInput;
|
|
626
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutChapterNestedInput;
|
|
627
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutChapterNestedInput;
|
|
628
|
+
words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput;
|
|
629
|
+
};
|
|
630
|
+
export type ChapterCreateWithoutAudioTimingsInput = {
|
|
631
|
+
number: number;
|
|
632
|
+
json: string;
|
|
633
|
+
sha256?: string | null;
|
|
634
|
+
book: Prisma.BookCreateNestedOneWithoutChaptersInput;
|
|
635
|
+
translation: Prisma.TranslationCreateNestedOneWithoutChaptersInput;
|
|
636
|
+
verses?: Prisma.ChapterVerseCreateNestedManyWithoutChapterInput;
|
|
637
|
+
footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutChapterInput;
|
|
638
|
+
audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutChapterInput;
|
|
639
|
+
words?: Prisma.ChapterWordsCreateNestedManyWithoutChapterInput;
|
|
640
|
+
};
|
|
641
|
+
export type ChapterUncheckedCreateWithoutAudioTimingsInput = {
|
|
642
|
+
number: number;
|
|
643
|
+
bookId: string;
|
|
644
|
+
translationId: string;
|
|
645
|
+
json: string;
|
|
646
|
+
sha256?: string | null;
|
|
647
|
+
verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutChapterInput;
|
|
648
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutChapterInput;
|
|
649
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutChapterInput;
|
|
650
|
+
words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutChapterInput;
|
|
651
|
+
};
|
|
652
|
+
export type ChapterCreateOrConnectWithoutAudioTimingsInput = {
|
|
653
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
654
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutAudioTimingsInput, Prisma.ChapterUncheckedCreateWithoutAudioTimingsInput>;
|
|
655
|
+
};
|
|
656
|
+
export type ChapterUpsertWithoutAudioTimingsInput = {
|
|
657
|
+
update: Prisma.XOR<Prisma.ChapterUpdateWithoutAudioTimingsInput, Prisma.ChapterUncheckedUpdateWithoutAudioTimingsInput>;
|
|
658
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutAudioTimingsInput, Prisma.ChapterUncheckedCreateWithoutAudioTimingsInput>;
|
|
659
|
+
where?: Prisma.ChapterWhereInput;
|
|
660
|
+
};
|
|
661
|
+
export type ChapterUpdateToOneWithWhereWithoutAudioTimingsInput = {
|
|
662
|
+
where?: Prisma.ChapterWhereInput;
|
|
663
|
+
data: Prisma.XOR<Prisma.ChapterUpdateWithoutAudioTimingsInput, Prisma.ChapterUncheckedUpdateWithoutAudioTimingsInput>;
|
|
664
|
+
};
|
|
665
|
+
export type ChapterUpdateWithoutAudioTimingsInput = {
|
|
666
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
667
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
668
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
669
|
+
book?: Prisma.BookUpdateOneRequiredWithoutChaptersNestedInput;
|
|
670
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutChaptersNestedInput;
|
|
671
|
+
verses?: Prisma.ChapterVerseUpdateManyWithoutChapterNestedInput;
|
|
672
|
+
footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutChapterNestedInput;
|
|
673
|
+
audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutChapterNestedInput;
|
|
674
|
+
words?: Prisma.ChapterWordsUpdateManyWithoutChapterNestedInput;
|
|
675
|
+
};
|
|
676
|
+
export type ChapterUncheckedUpdateWithoutAudioTimingsInput = {
|
|
677
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
678
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
679
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
680
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
681
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
682
|
+
verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutChapterNestedInput;
|
|
683
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutChapterNestedInput;
|
|
684
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutChapterNestedInput;
|
|
685
|
+
words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput;
|
|
686
|
+
};
|
|
687
|
+
export type ChapterCreateWithoutWordsInput = {
|
|
688
|
+
number: number;
|
|
689
|
+
json: string;
|
|
690
|
+
sha256?: string | null;
|
|
691
|
+
book: Prisma.BookCreateNestedOneWithoutChaptersInput;
|
|
692
|
+
translation: Prisma.TranslationCreateNestedOneWithoutChaptersInput;
|
|
693
|
+
verses?: Prisma.ChapterVerseCreateNestedManyWithoutChapterInput;
|
|
694
|
+
footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutChapterInput;
|
|
695
|
+
audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutChapterInput;
|
|
696
|
+
audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutChapterInput;
|
|
697
|
+
};
|
|
698
|
+
export type ChapterUncheckedCreateWithoutWordsInput = {
|
|
699
|
+
number: number;
|
|
700
|
+
bookId: string;
|
|
701
|
+
translationId: string;
|
|
702
|
+
json: string;
|
|
703
|
+
sha256?: string | null;
|
|
704
|
+
verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutChapterInput;
|
|
705
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutChapterInput;
|
|
706
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutChapterInput;
|
|
707
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutChapterInput;
|
|
708
|
+
};
|
|
709
|
+
export type ChapterCreateOrConnectWithoutWordsInput = {
|
|
710
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
711
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutWordsInput, Prisma.ChapterUncheckedCreateWithoutWordsInput>;
|
|
712
|
+
};
|
|
713
|
+
export type ChapterUpsertWithoutWordsInput = {
|
|
714
|
+
update: Prisma.XOR<Prisma.ChapterUpdateWithoutWordsInput, Prisma.ChapterUncheckedUpdateWithoutWordsInput>;
|
|
715
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutWordsInput, Prisma.ChapterUncheckedCreateWithoutWordsInput>;
|
|
716
|
+
where?: Prisma.ChapterWhereInput;
|
|
717
|
+
};
|
|
718
|
+
export type ChapterUpdateToOneWithWhereWithoutWordsInput = {
|
|
719
|
+
where?: Prisma.ChapterWhereInput;
|
|
720
|
+
data: Prisma.XOR<Prisma.ChapterUpdateWithoutWordsInput, Prisma.ChapterUncheckedUpdateWithoutWordsInput>;
|
|
721
|
+
};
|
|
722
|
+
export type ChapterUpdateWithoutWordsInput = {
|
|
723
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
724
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
725
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
726
|
+
book?: Prisma.BookUpdateOneRequiredWithoutChaptersNestedInput;
|
|
727
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutChaptersNestedInput;
|
|
728
|
+
verses?: Prisma.ChapterVerseUpdateManyWithoutChapterNestedInput;
|
|
729
|
+
footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutChapterNestedInput;
|
|
730
|
+
audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutChapterNestedInput;
|
|
731
|
+
audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutChapterNestedInput;
|
|
732
|
+
};
|
|
733
|
+
export type ChapterUncheckedUpdateWithoutWordsInput = {
|
|
734
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
735
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
736
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
737
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
738
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
739
|
+
verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutChapterNestedInput;
|
|
740
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutChapterNestedInput;
|
|
741
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutChapterNestedInput;
|
|
742
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutChapterNestedInput;
|
|
743
|
+
};
|
|
744
|
+
export type ChapterCreateWithoutVersesInput = {
|
|
745
|
+
number: number;
|
|
746
|
+
json: string;
|
|
747
|
+
sha256?: string | null;
|
|
748
|
+
book: Prisma.BookCreateNestedOneWithoutChaptersInput;
|
|
749
|
+
translation: Prisma.TranslationCreateNestedOneWithoutChaptersInput;
|
|
750
|
+
footnotes?: Prisma.ChapterFootnoteCreateNestedManyWithoutChapterInput;
|
|
751
|
+
audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutChapterInput;
|
|
752
|
+
audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutChapterInput;
|
|
753
|
+
words?: Prisma.ChapterWordsCreateNestedManyWithoutChapterInput;
|
|
754
|
+
};
|
|
755
|
+
export type ChapterUncheckedCreateWithoutVersesInput = {
|
|
756
|
+
number: number;
|
|
757
|
+
bookId: string;
|
|
758
|
+
translationId: string;
|
|
759
|
+
json: string;
|
|
760
|
+
sha256?: string | null;
|
|
761
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedCreateNestedManyWithoutChapterInput;
|
|
762
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutChapterInput;
|
|
763
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutChapterInput;
|
|
764
|
+
words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutChapterInput;
|
|
765
|
+
};
|
|
766
|
+
export type ChapterCreateOrConnectWithoutVersesInput = {
|
|
767
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
768
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutVersesInput, Prisma.ChapterUncheckedCreateWithoutVersesInput>;
|
|
769
|
+
};
|
|
770
|
+
export type ChapterUpsertWithoutVersesInput = {
|
|
771
|
+
update: Prisma.XOR<Prisma.ChapterUpdateWithoutVersesInput, Prisma.ChapterUncheckedUpdateWithoutVersesInput>;
|
|
772
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutVersesInput, Prisma.ChapterUncheckedCreateWithoutVersesInput>;
|
|
773
|
+
where?: Prisma.ChapterWhereInput;
|
|
774
|
+
};
|
|
775
|
+
export type ChapterUpdateToOneWithWhereWithoutVersesInput = {
|
|
776
|
+
where?: Prisma.ChapterWhereInput;
|
|
777
|
+
data: Prisma.XOR<Prisma.ChapterUpdateWithoutVersesInput, Prisma.ChapterUncheckedUpdateWithoutVersesInput>;
|
|
778
|
+
};
|
|
779
|
+
export type ChapterUpdateWithoutVersesInput = {
|
|
780
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
781
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
782
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
783
|
+
book?: Prisma.BookUpdateOneRequiredWithoutChaptersNestedInput;
|
|
784
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutChaptersNestedInput;
|
|
785
|
+
footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutChapterNestedInput;
|
|
786
|
+
audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutChapterNestedInput;
|
|
787
|
+
audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutChapterNestedInput;
|
|
788
|
+
words?: Prisma.ChapterWordsUpdateManyWithoutChapterNestedInput;
|
|
789
|
+
};
|
|
790
|
+
export type ChapterUncheckedUpdateWithoutVersesInput = {
|
|
791
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
792
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
793
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
794
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
795
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
796
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutChapterNestedInput;
|
|
797
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutChapterNestedInput;
|
|
798
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutChapterNestedInput;
|
|
799
|
+
words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput;
|
|
800
|
+
};
|
|
801
|
+
export type ChapterCreateWithoutFootnotesInput = {
|
|
802
|
+
number: number;
|
|
803
|
+
json: string;
|
|
804
|
+
sha256?: string | null;
|
|
805
|
+
book: Prisma.BookCreateNestedOneWithoutChaptersInput;
|
|
806
|
+
translation: Prisma.TranslationCreateNestedOneWithoutChaptersInput;
|
|
807
|
+
verses?: Prisma.ChapterVerseCreateNestedManyWithoutChapterInput;
|
|
808
|
+
audioUrls?: Prisma.ChapterAudioUrlCreateNestedManyWithoutChapterInput;
|
|
809
|
+
audioTimings?: Prisma.ChapterAudioTimingCreateNestedManyWithoutChapterInput;
|
|
810
|
+
words?: Prisma.ChapterWordsCreateNestedManyWithoutChapterInput;
|
|
811
|
+
};
|
|
812
|
+
export type ChapterUncheckedCreateWithoutFootnotesInput = {
|
|
813
|
+
number: number;
|
|
814
|
+
bookId: string;
|
|
815
|
+
translationId: string;
|
|
816
|
+
json: string;
|
|
817
|
+
sha256?: string | null;
|
|
818
|
+
verses?: Prisma.ChapterVerseUncheckedCreateNestedManyWithoutChapterInput;
|
|
819
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedCreateNestedManyWithoutChapterInput;
|
|
820
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedCreateNestedManyWithoutChapterInput;
|
|
821
|
+
words?: Prisma.ChapterWordsUncheckedCreateNestedManyWithoutChapterInput;
|
|
822
|
+
};
|
|
823
|
+
export type ChapterCreateOrConnectWithoutFootnotesInput = {
|
|
824
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
825
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutFootnotesInput, Prisma.ChapterUncheckedCreateWithoutFootnotesInput>;
|
|
826
|
+
};
|
|
827
|
+
export type ChapterUpsertWithoutFootnotesInput = {
|
|
828
|
+
update: Prisma.XOR<Prisma.ChapterUpdateWithoutFootnotesInput, Prisma.ChapterUncheckedUpdateWithoutFootnotesInput>;
|
|
829
|
+
create: Prisma.XOR<Prisma.ChapterCreateWithoutFootnotesInput, Prisma.ChapterUncheckedCreateWithoutFootnotesInput>;
|
|
830
|
+
where?: Prisma.ChapterWhereInput;
|
|
831
|
+
};
|
|
832
|
+
export type ChapterUpdateToOneWithWhereWithoutFootnotesInput = {
|
|
833
|
+
where?: Prisma.ChapterWhereInput;
|
|
834
|
+
data: Prisma.XOR<Prisma.ChapterUpdateWithoutFootnotesInput, Prisma.ChapterUncheckedUpdateWithoutFootnotesInput>;
|
|
835
|
+
};
|
|
836
|
+
export type ChapterUpdateWithoutFootnotesInput = {
|
|
837
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
838
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
839
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
840
|
+
book?: Prisma.BookUpdateOneRequiredWithoutChaptersNestedInput;
|
|
841
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutChaptersNestedInput;
|
|
842
|
+
verses?: Prisma.ChapterVerseUpdateManyWithoutChapterNestedInput;
|
|
843
|
+
audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutChapterNestedInput;
|
|
844
|
+
audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutChapterNestedInput;
|
|
845
|
+
words?: Prisma.ChapterWordsUpdateManyWithoutChapterNestedInput;
|
|
846
|
+
};
|
|
847
|
+
export type ChapterUncheckedUpdateWithoutFootnotesInput = {
|
|
848
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
849
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
850
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
851
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
852
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
853
|
+
verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutChapterNestedInput;
|
|
854
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutChapterNestedInput;
|
|
855
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutChapterNestedInput;
|
|
856
|
+
words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput;
|
|
857
|
+
};
|
|
858
|
+
export type ChapterCreateManyTranslationInput = {
|
|
859
|
+
number: number;
|
|
860
|
+
bookId: string;
|
|
861
|
+
json: string;
|
|
862
|
+
sha256?: string | null;
|
|
863
|
+
};
|
|
864
|
+
export type ChapterUpdateWithoutTranslationInput = {
|
|
865
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
866
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
867
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
868
|
+
book?: Prisma.BookUpdateOneRequiredWithoutChaptersNestedInput;
|
|
869
|
+
verses?: Prisma.ChapterVerseUpdateManyWithoutChapterNestedInput;
|
|
870
|
+
footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutChapterNestedInput;
|
|
871
|
+
audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutChapterNestedInput;
|
|
872
|
+
audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutChapterNestedInput;
|
|
873
|
+
words?: Prisma.ChapterWordsUpdateManyWithoutChapterNestedInput;
|
|
874
|
+
};
|
|
875
|
+
export type ChapterUncheckedUpdateWithoutTranslationInput = {
|
|
876
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
877
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
878
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
879
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
880
|
+
verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutChapterNestedInput;
|
|
881
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutChapterNestedInput;
|
|
882
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutChapterNestedInput;
|
|
883
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutChapterNestedInput;
|
|
884
|
+
words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput;
|
|
885
|
+
};
|
|
886
|
+
export type ChapterUncheckedUpdateManyWithoutTranslationInput = {
|
|
887
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
888
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
889
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
890
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
891
|
+
};
|
|
892
|
+
export type ChapterCreateManyBookInput = {
|
|
893
|
+
number: number;
|
|
894
|
+
json: string;
|
|
895
|
+
sha256?: string | null;
|
|
896
|
+
};
|
|
897
|
+
export type ChapterUpdateWithoutBookInput = {
|
|
898
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
899
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
900
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
901
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutChaptersNestedInput;
|
|
902
|
+
verses?: Prisma.ChapterVerseUpdateManyWithoutChapterNestedInput;
|
|
903
|
+
footnotes?: Prisma.ChapterFootnoteUpdateManyWithoutChapterNestedInput;
|
|
904
|
+
audioUrls?: Prisma.ChapterAudioUrlUpdateManyWithoutChapterNestedInput;
|
|
905
|
+
audioTimings?: Prisma.ChapterAudioTimingUpdateManyWithoutChapterNestedInput;
|
|
906
|
+
words?: Prisma.ChapterWordsUpdateManyWithoutChapterNestedInput;
|
|
907
|
+
};
|
|
908
|
+
export type ChapterUncheckedUpdateWithoutBookInput = {
|
|
909
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
910
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
911
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
912
|
+
verses?: Prisma.ChapterVerseUncheckedUpdateManyWithoutChapterNestedInput;
|
|
913
|
+
footnotes?: Prisma.ChapterFootnoteUncheckedUpdateManyWithoutChapterNestedInput;
|
|
914
|
+
audioUrls?: Prisma.ChapterAudioUrlUncheckedUpdateManyWithoutChapterNestedInput;
|
|
915
|
+
audioTimings?: Prisma.ChapterAudioTimingUncheckedUpdateManyWithoutChapterNestedInput;
|
|
916
|
+
words?: Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput;
|
|
917
|
+
};
|
|
918
|
+
export type ChapterUncheckedUpdateManyWithoutBookInput = {
|
|
919
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
920
|
+
json?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
921
|
+
sha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* Count Type ChapterCountOutputType
|
|
925
|
+
*/
|
|
926
|
+
export type ChapterCountOutputType = {
|
|
927
|
+
verses: number;
|
|
928
|
+
footnotes: number;
|
|
929
|
+
audioUrls: number;
|
|
930
|
+
audioTimings: number;
|
|
931
|
+
words: number;
|
|
932
|
+
};
|
|
933
|
+
export type ChapterCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
934
|
+
verses?: boolean | ChapterCountOutputTypeCountVersesArgs;
|
|
935
|
+
footnotes?: boolean | ChapterCountOutputTypeCountFootnotesArgs;
|
|
936
|
+
audioUrls?: boolean | ChapterCountOutputTypeCountAudioUrlsArgs;
|
|
937
|
+
audioTimings?: boolean | ChapterCountOutputTypeCountAudioTimingsArgs;
|
|
938
|
+
words?: boolean | ChapterCountOutputTypeCountWordsArgs;
|
|
939
|
+
};
|
|
940
|
+
/**
|
|
941
|
+
* ChapterCountOutputType without action
|
|
942
|
+
*/
|
|
943
|
+
export type ChapterCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
944
|
+
/**
|
|
945
|
+
* Select specific fields to fetch from the ChapterCountOutputType
|
|
946
|
+
*/
|
|
947
|
+
select?: Prisma.ChapterCountOutputTypeSelect<ExtArgs> | null;
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* ChapterCountOutputType without action
|
|
951
|
+
*/
|
|
952
|
+
export type ChapterCountOutputTypeCountVersesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
953
|
+
where?: Prisma.ChapterVerseWhereInput;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* ChapterCountOutputType without action
|
|
957
|
+
*/
|
|
958
|
+
export type ChapterCountOutputTypeCountFootnotesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
where?: Prisma.ChapterFootnoteWhereInput;
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* ChapterCountOutputType without action
|
|
963
|
+
*/
|
|
964
|
+
export type ChapterCountOutputTypeCountAudioUrlsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
965
|
+
where?: Prisma.ChapterAudioUrlWhereInput;
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* ChapterCountOutputType without action
|
|
969
|
+
*/
|
|
970
|
+
export type ChapterCountOutputTypeCountAudioTimingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
+
where?: Prisma.ChapterAudioTimingWhereInput;
|
|
972
|
+
};
|
|
973
|
+
/**
|
|
974
|
+
* ChapterCountOutputType without action
|
|
975
|
+
*/
|
|
976
|
+
export type ChapterCountOutputTypeCountWordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
977
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
978
|
+
};
|
|
979
|
+
export type ChapterSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
980
|
+
number?: boolean;
|
|
981
|
+
bookId?: boolean;
|
|
982
|
+
translationId?: boolean;
|
|
983
|
+
json?: boolean;
|
|
984
|
+
sha256?: boolean;
|
|
985
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
986
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
987
|
+
verses?: boolean | Prisma.Chapter$versesArgs<ExtArgs>;
|
|
988
|
+
footnotes?: boolean | Prisma.Chapter$footnotesArgs<ExtArgs>;
|
|
989
|
+
audioUrls?: boolean | Prisma.Chapter$audioUrlsArgs<ExtArgs>;
|
|
990
|
+
audioTimings?: boolean | Prisma.Chapter$audioTimingsArgs<ExtArgs>;
|
|
991
|
+
words?: boolean | Prisma.Chapter$wordsArgs<ExtArgs>;
|
|
992
|
+
_count?: boolean | Prisma.ChapterCountOutputTypeDefaultArgs<ExtArgs>;
|
|
993
|
+
}, ExtArgs["result"]["chapter"]>;
|
|
994
|
+
export type ChapterSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
995
|
+
number?: boolean;
|
|
996
|
+
bookId?: boolean;
|
|
997
|
+
translationId?: boolean;
|
|
998
|
+
json?: boolean;
|
|
999
|
+
sha256?: boolean;
|
|
1000
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
1001
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
1002
|
+
}, ExtArgs["result"]["chapter"]>;
|
|
1003
|
+
export type ChapterSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1004
|
+
number?: boolean;
|
|
1005
|
+
bookId?: boolean;
|
|
1006
|
+
translationId?: boolean;
|
|
1007
|
+
json?: boolean;
|
|
1008
|
+
sha256?: boolean;
|
|
1009
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
1010
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
1011
|
+
}, ExtArgs["result"]["chapter"]>;
|
|
1012
|
+
export type ChapterSelectScalar = {
|
|
1013
|
+
number?: boolean;
|
|
1014
|
+
bookId?: boolean;
|
|
1015
|
+
translationId?: boolean;
|
|
1016
|
+
json?: boolean;
|
|
1017
|
+
sha256?: boolean;
|
|
1018
|
+
};
|
|
1019
|
+
export type ChapterOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"number" | "bookId" | "translationId" | "json" | "sha256", ExtArgs["result"]["chapter"]>;
|
|
1020
|
+
export type ChapterInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1021
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
1022
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
1023
|
+
verses?: boolean | Prisma.Chapter$versesArgs<ExtArgs>;
|
|
1024
|
+
footnotes?: boolean | Prisma.Chapter$footnotesArgs<ExtArgs>;
|
|
1025
|
+
audioUrls?: boolean | Prisma.Chapter$audioUrlsArgs<ExtArgs>;
|
|
1026
|
+
audioTimings?: boolean | Prisma.Chapter$audioTimingsArgs<ExtArgs>;
|
|
1027
|
+
words?: boolean | Prisma.Chapter$wordsArgs<ExtArgs>;
|
|
1028
|
+
_count?: boolean | Prisma.ChapterCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1029
|
+
};
|
|
1030
|
+
export type ChapterIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1031
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
1032
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
1033
|
+
};
|
|
1034
|
+
export type ChapterIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1035
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
1036
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
1037
|
+
};
|
|
1038
|
+
export type $ChapterPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1039
|
+
name: "Chapter";
|
|
1040
|
+
objects: {
|
|
1041
|
+
book: Prisma.$BookPayload<ExtArgs>;
|
|
1042
|
+
translation: Prisma.$TranslationPayload<ExtArgs>;
|
|
1043
|
+
verses: Prisma.$ChapterVersePayload<ExtArgs>[];
|
|
1044
|
+
footnotes: Prisma.$ChapterFootnotePayload<ExtArgs>[];
|
|
1045
|
+
audioUrls: Prisma.$ChapterAudioUrlPayload<ExtArgs>[];
|
|
1046
|
+
audioTimings: Prisma.$ChapterAudioTimingPayload<ExtArgs>[];
|
|
1047
|
+
words: Prisma.$ChapterWordsPayload<ExtArgs>[];
|
|
1048
|
+
};
|
|
1049
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1050
|
+
number: number;
|
|
1051
|
+
bookId: string;
|
|
1052
|
+
translationId: string;
|
|
1053
|
+
json: string;
|
|
1054
|
+
sha256: string | null;
|
|
1055
|
+
}, ExtArgs["result"]["chapter"]>;
|
|
1056
|
+
composites: {};
|
|
1057
|
+
};
|
|
1058
|
+
export type ChapterGetPayload<S extends boolean | null | undefined | ChapterDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ChapterPayload, S>;
|
|
1059
|
+
export type ChapterCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ChapterFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1060
|
+
select?: ChapterCountAggregateInputType | true;
|
|
1061
|
+
};
|
|
1062
|
+
export interface ChapterDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1063
|
+
[K: symbol]: {
|
|
1064
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Chapter'];
|
|
1065
|
+
meta: {
|
|
1066
|
+
name: 'Chapter';
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
/**
|
|
1070
|
+
* Find zero or one Chapter that matches the filter.
|
|
1071
|
+
* @param {ChapterFindUniqueArgs} args - Arguments to find a Chapter
|
|
1072
|
+
* @example
|
|
1073
|
+
* // Get one Chapter
|
|
1074
|
+
* const chapter = await prisma.chapter.findUnique({
|
|
1075
|
+
* where: {
|
|
1076
|
+
* // ... provide filter here
|
|
1077
|
+
* }
|
|
1078
|
+
* })
|
|
1079
|
+
*/
|
|
1080
|
+
findUnique<T extends ChapterFindUniqueArgs>(args: Prisma.SelectSubset<T, ChapterFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1081
|
+
/**
|
|
1082
|
+
* Find one Chapter that matches the filter or throw an error with `error.code='P2025'`
|
|
1083
|
+
* if no matches were found.
|
|
1084
|
+
* @param {ChapterFindUniqueOrThrowArgs} args - Arguments to find a Chapter
|
|
1085
|
+
* @example
|
|
1086
|
+
* // Get one Chapter
|
|
1087
|
+
* const chapter = await prisma.chapter.findUniqueOrThrow({
|
|
1088
|
+
* where: {
|
|
1089
|
+
* // ... provide filter here
|
|
1090
|
+
* }
|
|
1091
|
+
* })
|
|
1092
|
+
*/
|
|
1093
|
+
findUniqueOrThrow<T extends ChapterFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ChapterFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Find the first Chapter that matches the filter.
|
|
1096
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1097
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1098
|
+
* @param {ChapterFindFirstArgs} args - Arguments to find a Chapter
|
|
1099
|
+
* @example
|
|
1100
|
+
* // Get one Chapter
|
|
1101
|
+
* const chapter = await prisma.chapter.findFirst({
|
|
1102
|
+
* where: {
|
|
1103
|
+
* // ... provide filter here
|
|
1104
|
+
* }
|
|
1105
|
+
* })
|
|
1106
|
+
*/
|
|
1107
|
+
findFirst<T extends ChapterFindFirstArgs>(args?: Prisma.SelectSubset<T, ChapterFindFirstArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Find the first Chapter that matches the filter or
|
|
1110
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1111
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1112
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1113
|
+
* @param {ChapterFindFirstOrThrowArgs} args - Arguments to find a Chapter
|
|
1114
|
+
* @example
|
|
1115
|
+
* // Get one Chapter
|
|
1116
|
+
* const chapter = await prisma.chapter.findFirstOrThrow({
|
|
1117
|
+
* where: {
|
|
1118
|
+
* // ... provide filter here
|
|
1119
|
+
* }
|
|
1120
|
+
* })
|
|
1121
|
+
*/
|
|
1122
|
+
findFirstOrThrow<T extends ChapterFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ChapterFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1123
|
+
/**
|
|
1124
|
+
* Find zero or more Chapters that matches the filter.
|
|
1125
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1126
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1127
|
+
* @param {ChapterFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1128
|
+
* @example
|
|
1129
|
+
* // Get all Chapters
|
|
1130
|
+
* const chapters = await prisma.chapter.findMany()
|
|
1131
|
+
*
|
|
1132
|
+
* // Get first 10 Chapters
|
|
1133
|
+
* const chapters = await prisma.chapter.findMany({ take: 10 })
|
|
1134
|
+
*
|
|
1135
|
+
* // Only select the `number`
|
|
1136
|
+
* const chapterWithNumberOnly = await prisma.chapter.findMany({ select: { number: true } })
|
|
1137
|
+
*
|
|
1138
|
+
*/
|
|
1139
|
+
findMany<T extends ChapterFindManyArgs>(args?: Prisma.SelectSubset<T, ChapterFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Create a Chapter.
|
|
1142
|
+
* @param {ChapterCreateArgs} args - Arguments to create a Chapter.
|
|
1143
|
+
* @example
|
|
1144
|
+
* // Create one Chapter
|
|
1145
|
+
* const Chapter = await prisma.chapter.create({
|
|
1146
|
+
* data: {
|
|
1147
|
+
* // ... data to create a Chapter
|
|
1148
|
+
* }
|
|
1149
|
+
* })
|
|
1150
|
+
*
|
|
1151
|
+
*/
|
|
1152
|
+
create<T extends ChapterCreateArgs>(args: Prisma.SelectSubset<T, ChapterCreateArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Create many Chapters.
|
|
1155
|
+
* @param {ChapterCreateManyArgs} args - Arguments to create many Chapters.
|
|
1156
|
+
* @example
|
|
1157
|
+
* // Create many Chapters
|
|
1158
|
+
* const chapter = await prisma.chapter.createMany({
|
|
1159
|
+
* data: [
|
|
1160
|
+
* // ... provide data here
|
|
1161
|
+
* ]
|
|
1162
|
+
* })
|
|
1163
|
+
*
|
|
1164
|
+
*/
|
|
1165
|
+
createMany<T extends ChapterCreateManyArgs>(args?: Prisma.SelectSubset<T, ChapterCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1166
|
+
/**
|
|
1167
|
+
* Create many Chapters and returns the data saved in the database.
|
|
1168
|
+
* @param {ChapterCreateManyAndReturnArgs} args - Arguments to create many Chapters.
|
|
1169
|
+
* @example
|
|
1170
|
+
* // Create many Chapters
|
|
1171
|
+
* const chapter = await prisma.chapter.createManyAndReturn({
|
|
1172
|
+
* data: [
|
|
1173
|
+
* // ... provide data here
|
|
1174
|
+
* ]
|
|
1175
|
+
* })
|
|
1176
|
+
*
|
|
1177
|
+
* // Create many Chapters and only return the `number`
|
|
1178
|
+
* const chapterWithNumberOnly = await prisma.chapter.createManyAndReturn({
|
|
1179
|
+
* select: { number: true },
|
|
1180
|
+
* data: [
|
|
1181
|
+
* // ... provide data here
|
|
1182
|
+
* ]
|
|
1183
|
+
* })
|
|
1184
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1185
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1186
|
+
*
|
|
1187
|
+
*/
|
|
1188
|
+
createManyAndReturn<T extends ChapterCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ChapterCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Delete a Chapter.
|
|
1191
|
+
* @param {ChapterDeleteArgs} args - Arguments to delete one Chapter.
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Delete one Chapter
|
|
1194
|
+
* const Chapter = await prisma.chapter.delete({
|
|
1195
|
+
* where: {
|
|
1196
|
+
* // ... filter to delete one Chapter
|
|
1197
|
+
* }
|
|
1198
|
+
* })
|
|
1199
|
+
*
|
|
1200
|
+
*/
|
|
1201
|
+
delete<T extends ChapterDeleteArgs>(args: Prisma.SelectSubset<T, ChapterDeleteArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1202
|
+
/**
|
|
1203
|
+
* Update one Chapter.
|
|
1204
|
+
* @param {ChapterUpdateArgs} args - Arguments to update one Chapter.
|
|
1205
|
+
* @example
|
|
1206
|
+
* // Update one Chapter
|
|
1207
|
+
* const chapter = await prisma.chapter.update({
|
|
1208
|
+
* where: {
|
|
1209
|
+
* // ... provide filter here
|
|
1210
|
+
* },
|
|
1211
|
+
* data: {
|
|
1212
|
+
* // ... provide data here
|
|
1213
|
+
* }
|
|
1214
|
+
* })
|
|
1215
|
+
*
|
|
1216
|
+
*/
|
|
1217
|
+
update<T extends ChapterUpdateArgs>(args: Prisma.SelectSubset<T, ChapterUpdateArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1218
|
+
/**
|
|
1219
|
+
* Delete zero or more Chapters.
|
|
1220
|
+
* @param {ChapterDeleteManyArgs} args - Arguments to filter Chapters to delete.
|
|
1221
|
+
* @example
|
|
1222
|
+
* // Delete a few Chapters
|
|
1223
|
+
* const { count } = await prisma.chapter.deleteMany({
|
|
1224
|
+
* where: {
|
|
1225
|
+
* // ... provide filter here
|
|
1226
|
+
* }
|
|
1227
|
+
* })
|
|
1228
|
+
*
|
|
1229
|
+
*/
|
|
1230
|
+
deleteMany<T extends ChapterDeleteManyArgs>(args?: Prisma.SelectSubset<T, ChapterDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Update zero or more Chapters.
|
|
1233
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1234
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1235
|
+
* @param {ChapterUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1236
|
+
* @example
|
|
1237
|
+
* // Update many Chapters
|
|
1238
|
+
* const chapter = await prisma.chapter.updateMany({
|
|
1239
|
+
* where: {
|
|
1240
|
+
* // ... provide filter here
|
|
1241
|
+
* },
|
|
1242
|
+
* data: {
|
|
1243
|
+
* // ... provide data here
|
|
1244
|
+
* }
|
|
1245
|
+
* })
|
|
1246
|
+
*
|
|
1247
|
+
*/
|
|
1248
|
+
updateMany<T extends ChapterUpdateManyArgs>(args: Prisma.SelectSubset<T, ChapterUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Update zero or more Chapters and returns the data updated in the database.
|
|
1251
|
+
* @param {ChapterUpdateManyAndReturnArgs} args - Arguments to update many Chapters.
|
|
1252
|
+
* @example
|
|
1253
|
+
* // Update many Chapters
|
|
1254
|
+
* const chapter = await prisma.chapter.updateManyAndReturn({
|
|
1255
|
+
* where: {
|
|
1256
|
+
* // ... provide filter here
|
|
1257
|
+
* },
|
|
1258
|
+
* data: [
|
|
1259
|
+
* // ... provide data here
|
|
1260
|
+
* ]
|
|
1261
|
+
* })
|
|
1262
|
+
*
|
|
1263
|
+
* // Update zero or more Chapters and only return the `number`
|
|
1264
|
+
* const chapterWithNumberOnly = await prisma.chapter.updateManyAndReturn({
|
|
1265
|
+
* select: { number: true },
|
|
1266
|
+
* where: {
|
|
1267
|
+
* // ... provide filter here
|
|
1268
|
+
* },
|
|
1269
|
+
* data: [
|
|
1270
|
+
* // ... provide data here
|
|
1271
|
+
* ]
|
|
1272
|
+
* })
|
|
1273
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1274
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1275
|
+
*
|
|
1276
|
+
*/
|
|
1277
|
+
updateManyAndReturn<T extends ChapterUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ChapterUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1278
|
+
/**
|
|
1279
|
+
* Create or update one Chapter.
|
|
1280
|
+
* @param {ChapterUpsertArgs} args - Arguments to update or create a Chapter.
|
|
1281
|
+
* @example
|
|
1282
|
+
* // Update or create a Chapter
|
|
1283
|
+
* const chapter = await prisma.chapter.upsert({
|
|
1284
|
+
* create: {
|
|
1285
|
+
* // ... data to create a Chapter
|
|
1286
|
+
* },
|
|
1287
|
+
* update: {
|
|
1288
|
+
* // ... in case it already exists, update
|
|
1289
|
+
* },
|
|
1290
|
+
* where: {
|
|
1291
|
+
* // ... the filter for the Chapter we want to update
|
|
1292
|
+
* }
|
|
1293
|
+
* })
|
|
1294
|
+
*/
|
|
1295
|
+
upsert<T extends ChapterUpsertArgs>(args: Prisma.SelectSubset<T, ChapterUpsertArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Count the number of Chapters.
|
|
1298
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1299
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1300
|
+
* @param {ChapterCountArgs} args - Arguments to filter Chapters to count.
|
|
1301
|
+
* @example
|
|
1302
|
+
* // Count the number of Chapters
|
|
1303
|
+
* const count = await prisma.chapter.count({
|
|
1304
|
+
* where: {
|
|
1305
|
+
* // ... the filter for the Chapters we want to count
|
|
1306
|
+
* }
|
|
1307
|
+
* })
|
|
1308
|
+
**/
|
|
1309
|
+
count<T extends ChapterCountArgs>(args?: Prisma.Subset<T, ChapterCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ChapterCountAggregateOutputType> : number>;
|
|
1310
|
+
/**
|
|
1311
|
+
* Allows you to perform aggregations operations on a Chapter.
|
|
1312
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1313
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1314
|
+
* @param {ChapterAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1315
|
+
* @example
|
|
1316
|
+
* // Ordered by age ascending
|
|
1317
|
+
* // Where email contains prisma.io
|
|
1318
|
+
* // Limited to the 10 users
|
|
1319
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1320
|
+
* _avg: {
|
|
1321
|
+
* age: true,
|
|
1322
|
+
* },
|
|
1323
|
+
* where: {
|
|
1324
|
+
* email: {
|
|
1325
|
+
* contains: "prisma.io",
|
|
1326
|
+
* },
|
|
1327
|
+
* },
|
|
1328
|
+
* orderBy: {
|
|
1329
|
+
* age: "asc",
|
|
1330
|
+
* },
|
|
1331
|
+
* take: 10,
|
|
1332
|
+
* })
|
|
1333
|
+
**/
|
|
1334
|
+
aggregate<T extends ChapterAggregateArgs>(args: Prisma.Subset<T, ChapterAggregateArgs>): Prisma.PrismaPromise<GetChapterAggregateType<T>>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Group by Chapter.
|
|
1337
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1338
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1339
|
+
* @param {ChapterGroupByArgs} args - Group by arguments.
|
|
1340
|
+
* @example
|
|
1341
|
+
* // Group by city, order by createdAt, get count
|
|
1342
|
+
* const result = await prisma.user.groupBy({
|
|
1343
|
+
* by: ['city', 'createdAt'],
|
|
1344
|
+
* orderBy: {
|
|
1345
|
+
* createdAt: true
|
|
1346
|
+
* },
|
|
1347
|
+
* _count: {
|
|
1348
|
+
* _all: true
|
|
1349
|
+
* },
|
|
1350
|
+
* })
|
|
1351
|
+
*
|
|
1352
|
+
**/
|
|
1353
|
+
groupBy<T extends ChapterGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1354
|
+
orderBy: ChapterGroupByArgs['orderBy'];
|
|
1355
|
+
} : {
|
|
1356
|
+
orderBy?: ChapterGroupByArgs['orderBy'];
|
|
1357
|
+
}, 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 ? {
|
|
1358
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1359
|
+
Error,
|
|
1360
|
+
'Field ',
|
|
1361
|
+
P,
|
|
1362
|
+
` in "having" needs to be provided in "by"`
|
|
1363
|
+
];
|
|
1364
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1365
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1366
|
+
}[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 ? {} : {
|
|
1367
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1368
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1369
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1370
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ChapterGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChapterGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Fields of the Chapter model
|
|
1373
|
+
*/
|
|
1374
|
+
readonly fields: ChapterFieldRefs;
|
|
1375
|
+
}
|
|
1376
|
+
/**
|
|
1377
|
+
* The delegate class that acts as a "Promise-like" for Chapter.
|
|
1378
|
+
* Why is this prefixed with `Prisma__`?
|
|
1379
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1380
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1381
|
+
*/
|
|
1382
|
+
export interface Prisma__ChapterClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1383
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1384
|
+
book<T extends Prisma.BookDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BookDefaultArgs<ExtArgs>>): Prisma.Prisma__BookClient<runtime.Types.Result.GetResult<Prisma.$BookPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1385
|
+
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>;
|
|
1386
|
+
verses<T extends Prisma.Chapter$versesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Chapter$versesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterVersePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1387
|
+
footnotes<T extends Prisma.Chapter$footnotesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Chapter$footnotesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterFootnotePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1388
|
+
audioUrls<T extends Prisma.Chapter$audioUrlsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Chapter$audioUrlsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterAudioUrlPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1389
|
+
audioTimings<T extends Prisma.Chapter$audioTimingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Chapter$audioTimingsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterAudioTimingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1390
|
+
words<T extends Prisma.Chapter$wordsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Chapter$wordsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1391
|
+
/**
|
|
1392
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1393
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1394
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1395
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1396
|
+
*/
|
|
1397
|
+
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>;
|
|
1398
|
+
/**
|
|
1399
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1400
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1401
|
+
* @returns A Promise for the completion of the callback.
|
|
1402
|
+
*/
|
|
1403
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1406
|
+
* resolved value cannot be modified from the callback.
|
|
1407
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1408
|
+
* @returns A Promise for the completion of the callback.
|
|
1409
|
+
*/
|
|
1410
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
* Fields of the Chapter model
|
|
1414
|
+
*/
|
|
1415
|
+
export interface ChapterFieldRefs {
|
|
1416
|
+
readonly number: Prisma.FieldRef<"Chapter", 'Int'>;
|
|
1417
|
+
readonly bookId: Prisma.FieldRef<"Chapter", 'String'>;
|
|
1418
|
+
readonly translationId: Prisma.FieldRef<"Chapter", 'String'>;
|
|
1419
|
+
readonly json: Prisma.FieldRef<"Chapter", 'String'>;
|
|
1420
|
+
readonly sha256: Prisma.FieldRef<"Chapter", 'String'>;
|
|
1421
|
+
}
|
|
1422
|
+
/**
|
|
1423
|
+
* Chapter findUnique
|
|
1424
|
+
*/
|
|
1425
|
+
export type ChapterFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1426
|
+
/**
|
|
1427
|
+
* Select specific fields to fetch from the Chapter
|
|
1428
|
+
*/
|
|
1429
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1430
|
+
/**
|
|
1431
|
+
* Omit specific fields from the Chapter
|
|
1432
|
+
*/
|
|
1433
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1434
|
+
/**
|
|
1435
|
+
* Choose, which related nodes to fetch as well
|
|
1436
|
+
*/
|
|
1437
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* Filter, which Chapter to fetch.
|
|
1440
|
+
*/
|
|
1441
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
1442
|
+
};
|
|
1443
|
+
/**
|
|
1444
|
+
* Chapter findUniqueOrThrow
|
|
1445
|
+
*/
|
|
1446
|
+
export type ChapterFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1447
|
+
/**
|
|
1448
|
+
* Select specific fields to fetch from the Chapter
|
|
1449
|
+
*/
|
|
1450
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1451
|
+
/**
|
|
1452
|
+
* Omit specific fields from the Chapter
|
|
1453
|
+
*/
|
|
1454
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1455
|
+
/**
|
|
1456
|
+
* Choose, which related nodes to fetch as well
|
|
1457
|
+
*/
|
|
1458
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1459
|
+
/**
|
|
1460
|
+
* Filter, which Chapter to fetch.
|
|
1461
|
+
*/
|
|
1462
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
1463
|
+
};
|
|
1464
|
+
/**
|
|
1465
|
+
* Chapter findFirst
|
|
1466
|
+
*/
|
|
1467
|
+
export type ChapterFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1468
|
+
/**
|
|
1469
|
+
* Select specific fields to fetch from the Chapter
|
|
1470
|
+
*/
|
|
1471
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1472
|
+
/**
|
|
1473
|
+
* Omit specific fields from the Chapter
|
|
1474
|
+
*/
|
|
1475
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which related nodes to fetch as well
|
|
1478
|
+
*/
|
|
1479
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Filter, which Chapter to fetch.
|
|
1482
|
+
*/
|
|
1483
|
+
where?: Prisma.ChapterWhereInput;
|
|
1484
|
+
/**
|
|
1485
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1486
|
+
*
|
|
1487
|
+
* Determine the order of Chapters to fetch.
|
|
1488
|
+
*/
|
|
1489
|
+
orderBy?: Prisma.ChapterOrderByWithRelationInput | Prisma.ChapterOrderByWithRelationInput[];
|
|
1490
|
+
/**
|
|
1491
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1492
|
+
*
|
|
1493
|
+
* Sets the position for searching for Chapters.
|
|
1494
|
+
*/
|
|
1495
|
+
cursor?: Prisma.ChapterWhereUniqueInput;
|
|
1496
|
+
/**
|
|
1497
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1498
|
+
*
|
|
1499
|
+
* Take `±n` Chapters from the position of the cursor.
|
|
1500
|
+
*/
|
|
1501
|
+
take?: number;
|
|
1502
|
+
/**
|
|
1503
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1504
|
+
*
|
|
1505
|
+
* Skip the first `n` Chapters.
|
|
1506
|
+
*/
|
|
1507
|
+
skip?: number;
|
|
1508
|
+
/**
|
|
1509
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1510
|
+
*
|
|
1511
|
+
* Filter by unique combinations of Chapters.
|
|
1512
|
+
*/
|
|
1513
|
+
distinct?: Prisma.ChapterScalarFieldEnum | Prisma.ChapterScalarFieldEnum[];
|
|
1514
|
+
};
|
|
1515
|
+
/**
|
|
1516
|
+
* Chapter findFirstOrThrow
|
|
1517
|
+
*/
|
|
1518
|
+
export type ChapterFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1519
|
+
/**
|
|
1520
|
+
* Select specific fields to fetch from the Chapter
|
|
1521
|
+
*/
|
|
1522
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1523
|
+
/**
|
|
1524
|
+
* Omit specific fields from the Chapter
|
|
1525
|
+
*/
|
|
1526
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1527
|
+
/**
|
|
1528
|
+
* Choose, which related nodes to fetch as well
|
|
1529
|
+
*/
|
|
1530
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1531
|
+
/**
|
|
1532
|
+
* Filter, which Chapter to fetch.
|
|
1533
|
+
*/
|
|
1534
|
+
where?: Prisma.ChapterWhereInput;
|
|
1535
|
+
/**
|
|
1536
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1537
|
+
*
|
|
1538
|
+
* Determine the order of Chapters to fetch.
|
|
1539
|
+
*/
|
|
1540
|
+
orderBy?: Prisma.ChapterOrderByWithRelationInput | Prisma.ChapterOrderByWithRelationInput[];
|
|
1541
|
+
/**
|
|
1542
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1543
|
+
*
|
|
1544
|
+
* Sets the position for searching for Chapters.
|
|
1545
|
+
*/
|
|
1546
|
+
cursor?: Prisma.ChapterWhereUniqueInput;
|
|
1547
|
+
/**
|
|
1548
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1549
|
+
*
|
|
1550
|
+
* Take `±n` Chapters from the position of the cursor.
|
|
1551
|
+
*/
|
|
1552
|
+
take?: number;
|
|
1553
|
+
/**
|
|
1554
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1555
|
+
*
|
|
1556
|
+
* Skip the first `n` Chapters.
|
|
1557
|
+
*/
|
|
1558
|
+
skip?: number;
|
|
1559
|
+
/**
|
|
1560
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1561
|
+
*
|
|
1562
|
+
* Filter by unique combinations of Chapters.
|
|
1563
|
+
*/
|
|
1564
|
+
distinct?: Prisma.ChapterScalarFieldEnum | Prisma.ChapterScalarFieldEnum[];
|
|
1565
|
+
};
|
|
1566
|
+
/**
|
|
1567
|
+
* Chapter findMany
|
|
1568
|
+
*/
|
|
1569
|
+
export type ChapterFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1570
|
+
/**
|
|
1571
|
+
* Select specific fields to fetch from the Chapter
|
|
1572
|
+
*/
|
|
1573
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1574
|
+
/**
|
|
1575
|
+
* Omit specific fields from the Chapter
|
|
1576
|
+
*/
|
|
1577
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1578
|
+
/**
|
|
1579
|
+
* Choose, which related nodes to fetch as well
|
|
1580
|
+
*/
|
|
1581
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1582
|
+
/**
|
|
1583
|
+
* Filter, which Chapters to fetch.
|
|
1584
|
+
*/
|
|
1585
|
+
where?: Prisma.ChapterWhereInput;
|
|
1586
|
+
/**
|
|
1587
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1588
|
+
*
|
|
1589
|
+
* Determine the order of Chapters to fetch.
|
|
1590
|
+
*/
|
|
1591
|
+
orderBy?: Prisma.ChapterOrderByWithRelationInput | Prisma.ChapterOrderByWithRelationInput[];
|
|
1592
|
+
/**
|
|
1593
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1594
|
+
*
|
|
1595
|
+
* Sets the position for listing Chapters.
|
|
1596
|
+
*/
|
|
1597
|
+
cursor?: Prisma.ChapterWhereUniqueInput;
|
|
1598
|
+
/**
|
|
1599
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1600
|
+
*
|
|
1601
|
+
* Take `±n` Chapters from the position of the cursor.
|
|
1602
|
+
*/
|
|
1603
|
+
take?: number;
|
|
1604
|
+
/**
|
|
1605
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1606
|
+
*
|
|
1607
|
+
* Skip the first `n` Chapters.
|
|
1608
|
+
*/
|
|
1609
|
+
skip?: number;
|
|
1610
|
+
/**
|
|
1611
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1612
|
+
*
|
|
1613
|
+
* Filter by unique combinations of Chapters.
|
|
1614
|
+
*/
|
|
1615
|
+
distinct?: Prisma.ChapterScalarFieldEnum | Prisma.ChapterScalarFieldEnum[];
|
|
1616
|
+
};
|
|
1617
|
+
/**
|
|
1618
|
+
* Chapter create
|
|
1619
|
+
*/
|
|
1620
|
+
export type ChapterCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1621
|
+
/**
|
|
1622
|
+
* Select specific fields to fetch from the Chapter
|
|
1623
|
+
*/
|
|
1624
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1625
|
+
/**
|
|
1626
|
+
* Omit specific fields from the Chapter
|
|
1627
|
+
*/
|
|
1628
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1629
|
+
/**
|
|
1630
|
+
* Choose, which related nodes to fetch as well
|
|
1631
|
+
*/
|
|
1632
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1633
|
+
/**
|
|
1634
|
+
* The data needed to create a Chapter.
|
|
1635
|
+
*/
|
|
1636
|
+
data: Prisma.XOR<Prisma.ChapterCreateInput, Prisma.ChapterUncheckedCreateInput>;
|
|
1637
|
+
};
|
|
1638
|
+
/**
|
|
1639
|
+
* Chapter createMany
|
|
1640
|
+
*/
|
|
1641
|
+
export type ChapterCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1642
|
+
/**
|
|
1643
|
+
* The data used to create many Chapters.
|
|
1644
|
+
*/
|
|
1645
|
+
data: Prisma.ChapterCreateManyInput | Prisma.ChapterCreateManyInput[];
|
|
1646
|
+
};
|
|
1647
|
+
/**
|
|
1648
|
+
* Chapter createManyAndReturn
|
|
1649
|
+
*/
|
|
1650
|
+
export type ChapterCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1651
|
+
/**
|
|
1652
|
+
* Select specific fields to fetch from the Chapter
|
|
1653
|
+
*/
|
|
1654
|
+
select?: Prisma.ChapterSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1655
|
+
/**
|
|
1656
|
+
* Omit specific fields from the Chapter
|
|
1657
|
+
*/
|
|
1658
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1659
|
+
/**
|
|
1660
|
+
* The data used to create many Chapters.
|
|
1661
|
+
*/
|
|
1662
|
+
data: Prisma.ChapterCreateManyInput | Prisma.ChapterCreateManyInput[];
|
|
1663
|
+
/**
|
|
1664
|
+
* Choose, which related nodes to fetch as well
|
|
1665
|
+
*/
|
|
1666
|
+
include?: Prisma.ChapterIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1667
|
+
};
|
|
1668
|
+
/**
|
|
1669
|
+
* Chapter update
|
|
1670
|
+
*/
|
|
1671
|
+
export type ChapterUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1672
|
+
/**
|
|
1673
|
+
* Select specific fields to fetch from the Chapter
|
|
1674
|
+
*/
|
|
1675
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1676
|
+
/**
|
|
1677
|
+
* Omit specific fields from the Chapter
|
|
1678
|
+
*/
|
|
1679
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1680
|
+
/**
|
|
1681
|
+
* Choose, which related nodes to fetch as well
|
|
1682
|
+
*/
|
|
1683
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1684
|
+
/**
|
|
1685
|
+
* The data needed to update a Chapter.
|
|
1686
|
+
*/
|
|
1687
|
+
data: Prisma.XOR<Prisma.ChapterUpdateInput, Prisma.ChapterUncheckedUpdateInput>;
|
|
1688
|
+
/**
|
|
1689
|
+
* Choose, which Chapter to update.
|
|
1690
|
+
*/
|
|
1691
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
1692
|
+
};
|
|
1693
|
+
/**
|
|
1694
|
+
* Chapter updateMany
|
|
1695
|
+
*/
|
|
1696
|
+
export type ChapterUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1697
|
+
/**
|
|
1698
|
+
* The data used to update Chapters.
|
|
1699
|
+
*/
|
|
1700
|
+
data: Prisma.XOR<Prisma.ChapterUpdateManyMutationInput, Prisma.ChapterUncheckedUpdateManyInput>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Filter which Chapters to update
|
|
1703
|
+
*/
|
|
1704
|
+
where?: Prisma.ChapterWhereInput;
|
|
1705
|
+
/**
|
|
1706
|
+
* Limit how many Chapters to update.
|
|
1707
|
+
*/
|
|
1708
|
+
limit?: number;
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* Chapter updateManyAndReturn
|
|
1712
|
+
*/
|
|
1713
|
+
export type ChapterUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1714
|
+
/**
|
|
1715
|
+
* Select specific fields to fetch from the Chapter
|
|
1716
|
+
*/
|
|
1717
|
+
select?: Prisma.ChapterSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1718
|
+
/**
|
|
1719
|
+
* Omit specific fields from the Chapter
|
|
1720
|
+
*/
|
|
1721
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1722
|
+
/**
|
|
1723
|
+
* The data used to update Chapters.
|
|
1724
|
+
*/
|
|
1725
|
+
data: Prisma.XOR<Prisma.ChapterUpdateManyMutationInput, Prisma.ChapterUncheckedUpdateManyInput>;
|
|
1726
|
+
/**
|
|
1727
|
+
* Filter which Chapters to update
|
|
1728
|
+
*/
|
|
1729
|
+
where?: Prisma.ChapterWhereInput;
|
|
1730
|
+
/**
|
|
1731
|
+
* Limit how many Chapters to update.
|
|
1732
|
+
*/
|
|
1733
|
+
limit?: number;
|
|
1734
|
+
/**
|
|
1735
|
+
* Choose, which related nodes to fetch as well
|
|
1736
|
+
*/
|
|
1737
|
+
include?: Prisma.ChapterIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1738
|
+
};
|
|
1739
|
+
/**
|
|
1740
|
+
* Chapter upsert
|
|
1741
|
+
*/
|
|
1742
|
+
export type ChapterUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1743
|
+
/**
|
|
1744
|
+
* Select specific fields to fetch from the Chapter
|
|
1745
|
+
*/
|
|
1746
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1747
|
+
/**
|
|
1748
|
+
* Omit specific fields from the Chapter
|
|
1749
|
+
*/
|
|
1750
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1751
|
+
/**
|
|
1752
|
+
* Choose, which related nodes to fetch as well
|
|
1753
|
+
*/
|
|
1754
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1755
|
+
/**
|
|
1756
|
+
* The filter to search for the Chapter to update in case it exists.
|
|
1757
|
+
*/
|
|
1758
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
1759
|
+
/**
|
|
1760
|
+
* In case the Chapter found by the `where` argument doesn't exist, create a new Chapter with this data.
|
|
1761
|
+
*/
|
|
1762
|
+
create: Prisma.XOR<Prisma.ChapterCreateInput, Prisma.ChapterUncheckedCreateInput>;
|
|
1763
|
+
/**
|
|
1764
|
+
* In case the Chapter was found with the provided `where` argument, update it with this data.
|
|
1765
|
+
*/
|
|
1766
|
+
update: Prisma.XOR<Prisma.ChapterUpdateInput, Prisma.ChapterUncheckedUpdateInput>;
|
|
1767
|
+
};
|
|
1768
|
+
/**
|
|
1769
|
+
* Chapter delete
|
|
1770
|
+
*/
|
|
1771
|
+
export type ChapterDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1772
|
+
/**
|
|
1773
|
+
* Select specific fields to fetch from the Chapter
|
|
1774
|
+
*/
|
|
1775
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1776
|
+
/**
|
|
1777
|
+
* Omit specific fields from the Chapter
|
|
1778
|
+
*/
|
|
1779
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1780
|
+
/**
|
|
1781
|
+
* Choose, which related nodes to fetch as well
|
|
1782
|
+
*/
|
|
1783
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1784
|
+
/**
|
|
1785
|
+
* Filter which Chapter to delete.
|
|
1786
|
+
*/
|
|
1787
|
+
where: Prisma.ChapterWhereUniqueInput;
|
|
1788
|
+
};
|
|
1789
|
+
/**
|
|
1790
|
+
* Chapter deleteMany
|
|
1791
|
+
*/
|
|
1792
|
+
export type ChapterDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1793
|
+
/**
|
|
1794
|
+
* Filter which Chapters to delete
|
|
1795
|
+
*/
|
|
1796
|
+
where?: Prisma.ChapterWhereInput;
|
|
1797
|
+
/**
|
|
1798
|
+
* Limit how many Chapters to delete.
|
|
1799
|
+
*/
|
|
1800
|
+
limit?: number;
|
|
1801
|
+
};
|
|
1802
|
+
/**
|
|
1803
|
+
* Chapter.verses
|
|
1804
|
+
*/
|
|
1805
|
+
export type Chapter$versesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1806
|
+
/**
|
|
1807
|
+
* Select specific fields to fetch from the ChapterVerse
|
|
1808
|
+
*/
|
|
1809
|
+
select?: Prisma.ChapterVerseSelect<ExtArgs> | null;
|
|
1810
|
+
/**
|
|
1811
|
+
* Omit specific fields from the ChapterVerse
|
|
1812
|
+
*/
|
|
1813
|
+
omit?: Prisma.ChapterVerseOmit<ExtArgs> | null;
|
|
1814
|
+
/**
|
|
1815
|
+
* Choose, which related nodes to fetch as well
|
|
1816
|
+
*/
|
|
1817
|
+
include?: Prisma.ChapterVerseInclude<ExtArgs> | null;
|
|
1818
|
+
where?: Prisma.ChapterVerseWhereInput;
|
|
1819
|
+
orderBy?: Prisma.ChapterVerseOrderByWithRelationInput | Prisma.ChapterVerseOrderByWithRelationInput[];
|
|
1820
|
+
cursor?: Prisma.ChapterVerseWhereUniqueInput;
|
|
1821
|
+
take?: number;
|
|
1822
|
+
skip?: number;
|
|
1823
|
+
distinct?: Prisma.ChapterVerseScalarFieldEnum | Prisma.ChapterVerseScalarFieldEnum[];
|
|
1824
|
+
};
|
|
1825
|
+
/**
|
|
1826
|
+
* Chapter.footnotes
|
|
1827
|
+
*/
|
|
1828
|
+
export type Chapter$footnotesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1829
|
+
/**
|
|
1830
|
+
* Select specific fields to fetch from the ChapterFootnote
|
|
1831
|
+
*/
|
|
1832
|
+
select?: Prisma.ChapterFootnoteSelect<ExtArgs> | null;
|
|
1833
|
+
/**
|
|
1834
|
+
* Omit specific fields from the ChapterFootnote
|
|
1835
|
+
*/
|
|
1836
|
+
omit?: Prisma.ChapterFootnoteOmit<ExtArgs> | null;
|
|
1837
|
+
/**
|
|
1838
|
+
* Choose, which related nodes to fetch as well
|
|
1839
|
+
*/
|
|
1840
|
+
include?: Prisma.ChapterFootnoteInclude<ExtArgs> | null;
|
|
1841
|
+
where?: Prisma.ChapterFootnoteWhereInput;
|
|
1842
|
+
orderBy?: Prisma.ChapterFootnoteOrderByWithRelationInput | Prisma.ChapterFootnoteOrderByWithRelationInput[];
|
|
1843
|
+
cursor?: Prisma.ChapterFootnoteWhereUniqueInput;
|
|
1844
|
+
take?: number;
|
|
1845
|
+
skip?: number;
|
|
1846
|
+
distinct?: Prisma.ChapterFootnoteScalarFieldEnum | Prisma.ChapterFootnoteScalarFieldEnum[];
|
|
1847
|
+
};
|
|
1848
|
+
/**
|
|
1849
|
+
* Chapter.audioUrls
|
|
1850
|
+
*/
|
|
1851
|
+
export type Chapter$audioUrlsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1852
|
+
/**
|
|
1853
|
+
* Select specific fields to fetch from the ChapterAudioUrl
|
|
1854
|
+
*/
|
|
1855
|
+
select?: Prisma.ChapterAudioUrlSelect<ExtArgs> | null;
|
|
1856
|
+
/**
|
|
1857
|
+
* Omit specific fields from the ChapterAudioUrl
|
|
1858
|
+
*/
|
|
1859
|
+
omit?: Prisma.ChapterAudioUrlOmit<ExtArgs> | null;
|
|
1860
|
+
/**
|
|
1861
|
+
* Choose, which related nodes to fetch as well
|
|
1862
|
+
*/
|
|
1863
|
+
include?: Prisma.ChapterAudioUrlInclude<ExtArgs> | null;
|
|
1864
|
+
where?: Prisma.ChapterAudioUrlWhereInput;
|
|
1865
|
+
orderBy?: Prisma.ChapterAudioUrlOrderByWithRelationInput | Prisma.ChapterAudioUrlOrderByWithRelationInput[];
|
|
1866
|
+
cursor?: Prisma.ChapterAudioUrlWhereUniqueInput;
|
|
1867
|
+
take?: number;
|
|
1868
|
+
skip?: number;
|
|
1869
|
+
distinct?: Prisma.ChapterAudioUrlScalarFieldEnum | Prisma.ChapterAudioUrlScalarFieldEnum[];
|
|
1870
|
+
};
|
|
1871
|
+
/**
|
|
1872
|
+
* Chapter.audioTimings
|
|
1873
|
+
*/
|
|
1874
|
+
export type Chapter$audioTimingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1875
|
+
/**
|
|
1876
|
+
* Select specific fields to fetch from the ChapterAudioTiming
|
|
1877
|
+
*/
|
|
1878
|
+
select?: Prisma.ChapterAudioTimingSelect<ExtArgs> | null;
|
|
1879
|
+
/**
|
|
1880
|
+
* Omit specific fields from the ChapterAudioTiming
|
|
1881
|
+
*/
|
|
1882
|
+
omit?: Prisma.ChapterAudioTimingOmit<ExtArgs> | null;
|
|
1883
|
+
/**
|
|
1884
|
+
* Choose, which related nodes to fetch as well
|
|
1885
|
+
*/
|
|
1886
|
+
include?: Prisma.ChapterAudioTimingInclude<ExtArgs> | null;
|
|
1887
|
+
where?: Prisma.ChapterAudioTimingWhereInput;
|
|
1888
|
+
orderBy?: Prisma.ChapterAudioTimingOrderByWithRelationInput | Prisma.ChapterAudioTimingOrderByWithRelationInput[];
|
|
1889
|
+
cursor?: Prisma.ChapterAudioTimingWhereUniqueInput;
|
|
1890
|
+
take?: number;
|
|
1891
|
+
skip?: number;
|
|
1892
|
+
distinct?: Prisma.ChapterAudioTimingScalarFieldEnum | Prisma.ChapterAudioTimingScalarFieldEnum[];
|
|
1893
|
+
};
|
|
1894
|
+
/**
|
|
1895
|
+
* Chapter.words
|
|
1896
|
+
*/
|
|
1897
|
+
export type Chapter$wordsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1898
|
+
/**
|
|
1899
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1900
|
+
*/
|
|
1901
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1902
|
+
/**
|
|
1903
|
+
* Omit specific fields from the ChapterWords
|
|
1904
|
+
*/
|
|
1905
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1906
|
+
/**
|
|
1907
|
+
* Choose, which related nodes to fetch as well
|
|
1908
|
+
*/
|
|
1909
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1910
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
1911
|
+
orderBy?: Prisma.ChapterWordsOrderByWithRelationInput | Prisma.ChapterWordsOrderByWithRelationInput[];
|
|
1912
|
+
cursor?: Prisma.ChapterWordsWhereUniqueInput;
|
|
1913
|
+
take?: number;
|
|
1914
|
+
skip?: number;
|
|
1915
|
+
distinct?: Prisma.ChapterWordsScalarFieldEnum | Prisma.ChapterWordsScalarFieldEnum[];
|
|
1916
|
+
};
|
|
1917
|
+
/**
|
|
1918
|
+
* Chapter without action
|
|
1919
|
+
*/
|
|
1920
|
+
export type ChapterDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1921
|
+
/**
|
|
1922
|
+
* Select specific fields to fetch from the Chapter
|
|
1923
|
+
*/
|
|
1924
|
+
select?: Prisma.ChapterSelect<ExtArgs> | null;
|
|
1925
|
+
/**
|
|
1926
|
+
* Omit specific fields from the Chapter
|
|
1927
|
+
*/
|
|
1928
|
+
omit?: Prisma.ChapterOmit<ExtArgs> | null;
|
|
1929
|
+
/**
|
|
1930
|
+
* Choose, which related nodes to fetch as well
|
|
1931
|
+
*/
|
|
1932
|
+
include?: Prisma.ChapterInclude<ExtArgs> | null;
|
|
1933
|
+
};
|
|
1934
|
+
//# sourceMappingURL=Chapter.d.ts.map
|