@helloao/cli 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/cjs/cli.cjs +2772 -6200
- package/dist/cjs/index.cjs +2694 -6253
- package/dist/esm/cli.js +5699 -0
- package/dist/esm/cli.js.map +7 -0
- package/dist/esm/index.js +839 -6020
- package/dist/esm/index.js.map +4 -4
- package/dist/types/actions.d.ts +36 -1
- package/dist/types/db.d.ts +12 -8
- package/dist/types/ebible.d.ts +1 -1
- package/dist/types/files.d.ts +6 -1
- 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 +1 -1
- package/meta/ARBNAV.json +10 -10
- package/meta/BSB.json +10 -10
- package/meta/HBOMAS.json +10 -10
- package/meta/HINIRV.json +10 -10
- package/meta/eng_dra.json +10 -10
- package/migrations/20240420231455_initial/migration.sql +66 -66
- package/migrations/20240711173108_add_chapter_audio/migration.sql +13 -13
- package/migrations/20240724212651_add_hashing/migration.sql +25 -25
- package/migrations/20250625201152_add_extra_ebible_metadata/migration.sql +3 -3
- package/migrations/20250630200532_add_apocryhpa_flag/migration.sql +2 -2
- package/migrations/20250701195337_add_file_warnings/migration.sql +8 -8
- package/migrations/20251028135135_add_datasets/migration.sql +72 -72
- package/migrations/20251028144932_fix_dataset_types/migration.sql +50 -50
- package/migrations/20260217200934_add_license_notice/migration.sql +5 -5
- package/migrations/20260703000000_add_chapter_audio_timing/migration.sql +13 -0
- package/migrations/20260809000000_add_chapter_words/migration.sql +12 -0
- package/package.json +21 -18
- package/schema.prisma +41 -2
- 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 -403
- package/prisma-gen/index-browser.js +0 -397
- package/prisma-gen/index.d.ts +0 -34011
- package/prisma-gen/index.js +0 -426
- 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 -397
|
@@ -0,0 +1,1366 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace";
|
|
3
|
+
/**
|
|
4
|
+
* Model ChapterWords
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ChapterWordsModel = runtime.Types.Result.DefaultSelection<Prisma.$ChapterWordsPayload>;
|
|
8
|
+
export type AggregateChapterWords = {
|
|
9
|
+
_count: ChapterWordsCountAggregateOutputType | null;
|
|
10
|
+
_avg: ChapterWordsAvgAggregateOutputType | null;
|
|
11
|
+
_sum: ChapterWordsSumAggregateOutputType | null;
|
|
12
|
+
_min: ChapterWordsMinAggregateOutputType | null;
|
|
13
|
+
_max: ChapterWordsMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type ChapterWordsAvgAggregateOutputType = {
|
|
16
|
+
number: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type ChapterWordsSumAggregateOutputType = {
|
|
19
|
+
number: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type ChapterWordsMinAggregateOutputType = {
|
|
22
|
+
number: number | null;
|
|
23
|
+
bookId: string | null;
|
|
24
|
+
translationId: string | null;
|
|
25
|
+
wordsJson: string | null;
|
|
26
|
+
};
|
|
27
|
+
export type ChapterWordsMaxAggregateOutputType = {
|
|
28
|
+
number: number | null;
|
|
29
|
+
bookId: string | null;
|
|
30
|
+
translationId: string | null;
|
|
31
|
+
wordsJson: string | null;
|
|
32
|
+
};
|
|
33
|
+
export type ChapterWordsCountAggregateOutputType = {
|
|
34
|
+
number: number;
|
|
35
|
+
bookId: number;
|
|
36
|
+
translationId: number;
|
|
37
|
+
wordsJson: number;
|
|
38
|
+
_all: number;
|
|
39
|
+
};
|
|
40
|
+
export type ChapterWordsAvgAggregateInputType = {
|
|
41
|
+
number?: true;
|
|
42
|
+
};
|
|
43
|
+
export type ChapterWordsSumAggregateInputType = {
|
|
44
|
+
number?: true;
|
|
45
|
+
};
|
|
46
|
+
export type ChapterWordsMinAggregateInputType = {
|
|
47
|
+
number?: true;
|
|
48
|
+
bookId?: true;
|
|
49
|
+
translationId?: true;
|
|
50
|
+
wordsJson?: true;
|
|
51
|
+
};
|
|
52
|
+
export type ChapterWordsMaxAggregateInputType = {
|
|
53
|
+
number?: true;
|
|
54
|
+
bookId?: true;
|
|
55
|
+
translationId?: true;
|
|
56
|
+
wordsJson?: true;
|
|
57
|
+
};
|
|
58
|
+
export type ChapterWordsCountAggregateInputType = {
|
|
59
|
+
number?: true;
|
|
60
|
+
bookId?: true;
|
|
61
|
+
translationId?: true;
|
|
62
|
+
wordsJson?: true;
|
|
63
|
+
_all?: true;
|
|
64
|
+
};
|
|
65
|
+
export type ChapterWordsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
66
|
+
/**
|
|
67
|
+
* Filter which ChapterWords to aggregate.
|
|
68
|
+
*/
|
|
69
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
72
|
+
*
|
|
73
|
+
* Determine the order of ChapterWords to fetch.
|
|
74
|
+
*/
|
|
75
|
+
orderBy?: Prisma.ChapterWordsOrderByWithRelationInput | Prisma.ChapterWordsOrderByWithRelationInput[];
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
78
|
+
*
|
|
79
|
+
* Sets the start position
|
|
80
|
+
*/
|
|
81
|
+
cursor?: Prisma.ChapterWordsWhereUniqueInput;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Take `±n` ChapterWords from the position of the cursor.
|
|
86
|
+
*/
|
|
87
|
+
take?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Skip the first `n` ChapterWords.
|
|
92
|
+
*/
|
|
93
|
+
skip?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Count returned ChapterWords
|
|
98
|
+
**/
|
|
99
|
+
_count?: true | ChapterWordsCountAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to average
|
|
104
|
+
**/
|
|
105
|
+
_avg?: ChapterWordsAvgAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to sum
|
|
110
|
+
**/
|
|
111
|
+
_sum?: ChapterWordsSumAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to find the minimum value
|
|
116
|
+
**/
|
|
117
|
+
_min?: ChapterWordsMinAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to find the maximum value
|
|
122
|
+
**/
|
|
123
|
+
_max?: ChapterWordsMaxAggregateInputType;
|
|
124
|
+
};
|
|
125
|
+
export type GetChapterWordsAggregateType<T extends ChapterWordsAggregateArgs> = {
|
|
126
|
+
[P in keyof T & keyof AggregateChapterWords]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateChapterWords[P]> : Prisma.GetScalarType<T[P], AggregateChapterWords[P]>;
|
|
127
|
+
};
|
|
128
|
+
export type ChapterWordsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
129
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
130
|
+
orderBy?: Prisma.ChapterWordsOrderByWithAggregationInput | Prisma.ChapterWordsOrderByWithAggregationInput[];
|
|
131
|
+
by: Prisma.ChapterWordsScalarFieldEnum[] | Prisma.ChapterWordsScalarFieldEnum;
|
|
132
|
+
having?: Prisma.ChapterWordsScalarWhereWithAggregatesInput;
|
|
133
|
+
take?: number;
|
|
134
|
+
skip?: number;
|
|
135
|
+
_count?: ChapterWordsCountAggregateInputType | true;
|
|
136
|
+
_avg?: ChapterWordsAvgAggregateInputType;
|
|
137
|
+
_sum?: ChapterWordsSumAggregateInputType;
|
|
138
|
+
_min?: ChapterWordsMinAggregateInputType;
|
|
139
|
+
_max?: ChapterWordsMaxAggregateInputType;
|
|
140
|
+
};
|
|
141
|
+
export type ChapterWordsGroupByOutputType = {
|
|
142
|
+
number: number;
|
|
143
|
+
bookId: string;
|
|
144
|
+
translationId: string;
|
|
145
|
+
wordsJson: string;
|
|
146
|
+
_count: ChapterWordsCountAggregateOutputType | null;
|
|
147
|
+
_avg: ChapterWordsAvgAggregateOutputType | null;
|
|
148
|
+
_sum: ChapterWordsSumAggregateOutputType | null;
|
|
149
|
+
_min: ChapterWordsMinAggregateOutputType | null;
|
|
150
|
+
_max: ChapterWordsMaxAggregateOutputType | null;
|
|
151
|
+
};
|
|
152
|
+
export type GetChapterWordsGroupByPayload<T extends ChapterWordsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ChapterWordsGroupByOutputType, T['by']> & {
|
|
153
|
+
[P in ((keyof T) & (keyof ChapterWordsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ChapterWordsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ChapterWordsGroupByOutputType[P]>;
|
|
154
|
+
}>>;
|
|
155
|
+
export type ChapterWordsWhereInput = {
|
|
156
|
+
AND?: Prisma.ChapterWordsWhereInput | Prisma.ChapterWordsWhereInput[];
|
|
157
|
+
OR?: Prisma.ChapterWordsWhereInput[];
|
|
158
|
+
NOT?: Prisma.ChapterWordsWhereInput | Prisma.ChapterWordsWhereInput[];
|
|
159
|
+
number?: Prisma.IntFilter<"ChapterWords"> | number;
|
|
160
|
+
bookId?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
161
|
+
translationId?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
162
|
+
wordsJson?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
163
|
+
book?: Prisma.XOR<Prisma.BookScalarRelationFilter, Prisma.BookWhereInput>;
|
|
164
|
+
translation?: Prisma.XOR<Prisma.TranslationScalarRelationFilter, Prisma.TranslationWhereInput>;
|
|
165
|
+
chapter?: Prisma.XOR<Prisma.ChapterScalarRelationFilter, Prisma.ChapterWhereInput>;
|
|
166
|
+
};
|
|
167
|
+
export type ChapterWordsOrderByWithRelationInput = {
|
|
168
|
+
number?: Prisma.SortOrder;
|
|
169
|
+
bookId?: Prisma.SortOrder;
|
|
170
|
+
translationId?: Prisma.SortOrder;
|
|
171
|
+
wordsJson?: Prisma.SortOrder;
|
|
172
|
+
book?: Prisma.BookOrderByWithRelationInput;
|
|
173
|
+
translation?: Prisma.TranslationOrderByWithRelationInput;
|
|
174
|
+
chapter?: Prisma.ChapterOrderByWithRelationInput;
|
|
175
|
+
};
|
|
176
|
+
export type ChapterWordsWhereUniqueInput = Prisma.AtLeast<{
|
|
177
|
+
translationId_bookId_number?: Prisma.ChapterWordsTranslationIdBookIdNumberCompoundUniqueInput;
|
|
178
|
+
AND?: Prisma.ChapterWordsWhereInput | Prisma.ChapterWordsWhereInput[];
|
|
179
|
+
OR?: Prisma.ChapterWordsWhereInput[];
|
|
180
|
+
NOT?: Prisma.ChapterWordsWhereInput | Prisma.ChapterWordsWhereInput[];
|
|
181
|
+
number?: Prisma.IntFilter<"ChapterWords"> | number;
|
|
182
|
+
bookId?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
183
|
+
translationId?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
184
|
+
wordsJson?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
185
|
+
book?: Prisma.XOR<Prisma.BookScalarRelationFilter, Prisma.BookWhereInput>;
|
|
186
|
+
translation?: Prisma.XOR<Prisma.TranslationScalarRelationFilter, Prisma.TranslationWhereInput>;
|
|
187
|
+
chapter?: Prisma.XOR<Prisma.ChapterScalarRelationFilter, Prisma.ChapterWhereInput>;
|
|
188
|
+
}, "translationId_bookId_number">;
|
|
189
|
+
export type ChapterWordsOrderByWithAggregationInput = {
|
|
190
|
+
number?: Prisma.SortOrder;
|
|
191
|
+
bookId?: Prisma.SortOrder;
|
|
192
|
+
translationId?: Prisma.SortOrder;
|
|
193
|
+
wordsJson?: Prisma.SortOrder;
|
|
194
|
+
_count?: Prisma.ChapterWordsCountOrderByAggregateInput;
|
|
195
|
+
_avg?: Prisma.ChapterWordsAvgOrderByAggregateInput;
|
|
196
|
+
_max?: Prisma.ChapterWordsMaxOrderByAggregateInput;
|
|
197
|
+
_min?: Prisma.ChapterWordsMinOrderByAggregateInput;
|
|
198
|
+
_sum?: Prisma.ChapterWordsSumOrderByAggregateInput;
|
|
199
|
+
};
|
|
200
|
+
export type ChapterWordsScalarWhereWithAggregatesInput = {
|
|
201
|
+
AND?: Prisma.ChapterWordsScalarWhereWithAggregatesInput | Prisma.ChapterWordsScalarWhereWithAggregatesInput[];
|
|
202
|
+
OR?: Prisma.ChapterWordsScalarWhereWithAggregatesInput[];
|
|
203
|
+
NOT?: Prisma.ChapterWordsScalarWhereWithAggregatesInput | Prisma.ChapterWordsScalarWhereWithAggregatesInput[];
|
|
204
|
+
number?: Prisma.IntWithAggregatesFilter<"ChapterWords"> | number;
|
|
205
|
+
bookId?: Prisma.StringWithAggregatesFilter<"ChapterWords"> | string;
|
|
206
|
+
translationId?: Prisma.StringWithAggregatesFilter<"ChapterWords"> | string;
|
|
207
|
+
wordsJson?: Prisma.StringWithAggregatesFilter<"ChapterWords"> | string;
|
|
208
|
+
};
|
|
209
|
+
export type ChapterWordsCreateInput = {
|
|
210
|
+
wordsJson: string;
|
|
211
|
+
book: Prisma.BookCreateNestedOneWithoutWordsInput;
|
|
212
|
+
translation: Prisma.TranslationCreateNestedOneWithoutWordsInput;
|
|
213
|
+
chapter: Prisma.ChapterCreateNestedOneWithoutWordsInput;
|
|
214
|
+
};
|
|
215
|
+
export type ChapterWordsUncheckedCreateInput = {
|
|
216
|
+
number: number;
|
|
217
|
+
bookId: string;
|
|
218
|
+
translationId: string;
|
|
219
|
+
wordsJson: string;
|
|
220
|
+
};
|
|
221
|
+
export type ChapterWordsUpdateInput = {
|
|
222
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
223
|
+
book?: Prisma.BookUpdateOneRequiredWithoutWordsNestedInput;
|
|
224
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutWordsNestedInput;
|
|
225
|
+
chapter?: Prisma.ChapterUpdateOneRequiredWithoutWordsNestedInput;
|
|
226
|
+
};
|
|
227
|
+
export type ChapterWordsUncheckedUpdateInput = {
|
|
228
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
229
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
230
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
231
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
232
|
+
};
|
|
233
|
+
export type ChapterWordsCreateManyInput = {
|
|
234
|
+
number: number;
|
|
235
|
+
bookId: string;
|
|
236
|
+
translationId: string;
|
|
237
|
+
wordsJson: string;
|
|
238
|
+
};
|
|
239
|
+
export type ChapterWordsUpdateManyMutationInput = {
|
|
240
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
241
|
+
};
|
|
242
|
+
export type ChapterWordsUncheckedUpdateManyInput = {
|
|
243
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
244
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
245
|
+
translationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
246
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
|
+
};
|
|
248
|
+
export type ChapterWordsListRelationFilter = {
|
|
249
|
+
every?: Prisma.ChapterWordsWhereInput;
|
|
250
|
+
some?: Prisma.ChapterWordsWhereInput;
|
|
251
|
+
none?: Prisma.ChapterWordsWhereInput;
|
|
252
|
+
};
|
|
253
|
+
export type ChapterWordsOrderByRelationAggregateInput = {
|
|
254
|
+
_count?: Prisma.SortOrder;
|
|
255
|
+
};
|
|
256
|
+
export type ChapterWordsTranslationIdBookIdNumberCompoundUniqueInput = {
|
|
257
|
+
translationId: string;
|
|
258
|
+
bookId: string;
|
|
259
|
+
number: number;
|
|
260
|
+
};
|
|
261
|
+
export type ChapterWordsCountOrderByAggregateInput = {
|
|
262
|
+
number?: Prisma.SortOrder;
|
|
263
|
+
bookId?: Prisma.SortOrder;
|
|
264
|
+
translationId?: Prisma.SortOrder;
|
|
265
|
+
wordsJson?: Prisma.SortOrder;
|
|
266
|
+
};
|
|
267
|
+
export type ChapterWordsAvgOrderByAggregateInput = {
|
|
268
|
+
number?: Prisma.SortOrder;
|
|
269
|
+
};
|
|
270
|
+
export type ChapterWordsMaxOrderByAggregateInput = {
|
|
271
|
+
number?: Prisma.SortOrder;
|
|
272
|
+
bookId?: Prisma.SortOrder;
|
|
273
|
+
translationId?: Prisma.SortOrder;
|
|
274
|
+
wordsJson?: Prisma.SortOrder;
|
|
275
|
+
};
|
|
276
|
+
export type ChapterWordsMinOrderByAggregateInput = {
|
|
277
|
+
number?: Prisma.SortOrder;
|
|
278
|
+
bookId?: Prisma.SortOrder;
|
|
279
|
+
translationId?: Prisma.SortOrder;
|
|
280
|
+
wordsJson?: Prisma.SortOrder;
|
|
281
|
+
};
|
|
282
|
+
export type ChapterWordsSumOrderByAggregateInput = {
|
|
283
|
+
number?: Prisma.SortOrder;
|
|
284
|
+
};
|
|
285
|
+
export type ChapterWordsCreateNestedManyWithoutTranslationInput = {
|
|
286
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutTranslationInput, Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput> | Prisma.ChapterWordsCreateWithoutTranslationInput[] | Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput[];
|
|
287
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput | Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput[];
|
|
288
|
+
createMany?: Prisma.ChapterWordsCreateManyTranslationInputEnvelope;
|
|
289
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
290
|
+
};
|
|
291
|
+
export type ChapterWordsUncheckedCreateNestedManyWithoutTranslationInput = {
|
|
292
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutTranslationInput, Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput> | Prisma.ChapterWordsCreateWithoutTranslationInput[] | Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput[];
|
|
293
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput | Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput[];
|
|
294
|
+
createMany?: Prisma.ChapterWordsCreateManyTranslationInputEnvelope;
|
|
295
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
296
|
+
};
|
|
297
|
+
export type ChapterWordsUpdateManyWithoutTranslationNestedInput = {
|
|
298
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutTranslationInput, Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput> | Prisma.ChapterWordsCreateWithoutTranslationInput[] | Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput[];
|
|
299
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput | Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput[];
|
|
300
|
+
upsert?: Prisma.ChapterWordsUpsertWithWhereUniqueWithoutTranslationInput | Prisma.ChapterWordsUpsertWithWhereUniqueWithoutTranslationInput[];
|
|
301
|
+
createMany?: Prisma.ChapterWordsCreateManyTranslationInputEnvelope;
|
|
302
|
+
set?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
303
|
+
disconnect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
304
|
+
delete?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
305
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
306
|
+
update?: Prisma.ChapterWordsUpdateWithWhereUniqueWithoutTranslationInput | Prisma.ChapterWordsUpdateWithWhereUniqueWithoutTranslationInput[];
|
|
307
|
+
updateMany?: Prisma.ChapterWordsUpdateManyWithWhereWithoutTranslationInput | Prisma.ChapterWordsUpdateManyWithWhereWithoutTranslationInput[];
|
|
308
|
+
deleteMany?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
309
|
+
};
|
|
310
|
+
export type ChapterWordsUncheckedUpdateManyWithoutTranslationNestedInput = {
|
|
311
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutTranslationInput, Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput> | Prisma.ChapterWordsCreateWithoutTranslationInput[] | Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput[];
|
|
312
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput | Prisma.ChapterWordsCreateOrConnectWithoutTranslationInput[];
|
|
313
|
+
upsert?: Prisma.ChapterWordsUpsertWithWhereUniqueWithoutTranslationInput | Prisma.ChapterWordsUpsertWithWhereUniqueWithoutTranslationInput[];
|
|
314
|
+
createMany?: Prisma.ChapterWordsCreateManyTranslationInputEnvelope;
|
|
315
|
+
set?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
316
|
+
disconnect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
317
|
+
delete?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
318
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
319
|
+
update?: Prisma.ChapterWordsUpdateWithWhereUniqueWithoutTranslationInput | Prisma.ChapterWordsUpdateWithWhereUniqueWithoutTranslationInput[];
|
|
320
|
+
updateMany?: Prisma.ChapterWordsUpdateManyWithWhereWithoutTranslationInput | Prisma.ChapterWordsUpdateManyWithWhereWithoutTranslationInput[];
|
|
321
|
+
deleteMany?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
322
|
+
};
|
|
323
|
+
export type ChapterWordsCreateNestedManyWithoutBookInput = {
|
|
324
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutBookInput, Prisma.ChapterWordsUncheckedCreateWithoutBookInput> | Prisma.ChapterWordsCreateWithoutBookInput[] | Prisma.ChapterWordsUncheckedCreateWithoutBookInput[];
|
|
325
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutBookInput | Prisma.ChapterWordsCreateOrConnectWithoutBookInput[];
|
|
326
|
+
createMany?: Prisma.ChapterWordsCreateManyBookInputEnvelope;
|
|
327
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
328
|
+
};
|
|
329
|
+
export type ChapterWordsUncheckedCreateNestedManyWithoutBookInput = {
|
|
330
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutBookInput, Prisma.ChapterWordsUncheckedCreateWithoutBookInput> | Prisma.ChapterWordsCreateWithoutBookInput[] | Prisma.ChapterWordsUncheckedCreateWithoutBookInput[];
|
|
331
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutBookInput | Prisma.ChapterWordsCreateOrConnectWithoutBookInput[];
|
|
332
|
+
createMany?: Prisma.ChapterWordsCreateManyBookInputEnvelope;
|
|
333
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
334
|
+
};
|
|
335
|
+
export type ChapterWordsUpdateManyWithoutBookNestedInput = {
|
|
336
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutBookInput, Prisma.ChapterWordsUncheckedCreateWithoutBookInput> | Prisma.ChapterWordsCreateWithoutBookInput[] | Prisma.ChapterWordsUncheckedCreateWithoutBookInput[];
|
|
337
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutBookInput | Prisma.ChapterWordsCreateOrConnectWithoutBookInput[];
|
|
338
|
+
upsert?: Prisma.ChapterWordsUpsertWithWhereUniqueWithoutBookInput | Prisma.ChapterWordsUpsertWithWhereUniqueWithoutBookInput[];
|
|
339
|
+
createMany?: Prisma.ChapterWordsCreateManyBookInputEnvelope;
|
|
340
|
+
set?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
341
|
+
disconnect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
342
|
+
delete?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
343
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
344
|
+
update?: Prisma.ChapterWordsUpdateWithWhereUniqueWithoutBookInput | Prisma.ChapterWordsUpdateWithWhereUniqueWithoutBookInput[];
|
|
345
|
+
updateMany?: Prisma.ChapterWordsUpdateManyWithWhereWithoutBookInput | Prisma.ChapterWordsUpdateManyWithWhereWithoutBookInput[];
|
|
346
|
+
deleteMany?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
347
|
+
};
|
|
348
|
+
export type ChapterWordsUncheckedUpdateManyWithoutBookNestedInput = {
|
|
349
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutBookInput, Prisma.ChapterWordsUncheckedCreateWithoutBookInput> | Prisma.ChapterWordsCreateWithoutBookInput[] | Prisma.ChapterWordsUncheckedCreateWithoutBookInput[];
|
|
350
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutBookInput | Prisma.ChapterWordsCreateOrConnectWithoutBookInput[];
|
|
351
|
+
upsert?: Prisma.ChapterWordsUpsertWithWhereUniqueWithoutBookInput | Prisma.ChapterWordsUpsertWithWhereUniqueWithoutBookInput[];
|
|
352
|
+
createMany?: Prisma.ChapterWordsCreateManyBookInputEnvelope;
|
|
353
|
+
set?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
354
|
+
disconnect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
355
|
+
delete?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
356
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
357
|
+
update?: Prisma.ChapterWordsUpdateWithWhereUniqueWithoutBookInput | Prisma.ChapterWordsUpdateWithWhereUniqueWithoutBookInput[];
|
|
358
|
+
updateMany?: Prisma.ChapterWordsUpdateManyWithWhereWithoutBookInput | Prisma.ChapterWordsUpdateManyWithWhereWithoutBookInput[];
|
|
359
|
+
deleteMany?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
360
|
+
};
|
|
361
|
+
export type ChapterWordsCreateNestedManyWithoutChapterInput = {
|
|
362
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutChapterInput, Prisma.ChapterWordsUncheckedCreateWithoutChapterInput> | Prisma.ChapterWordsCreateWithoutChapterInput[] | Prisma.ChapterWordsUncheckedCreateWithoutChapterInput[];
|
|
363
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutChapterInput | Prisma.ChapterWordsCreateOrConnectWithoutChapterInput[];
|
|
364
|
+
createMany?: Prisma.ChapterWordsCreateManyChapterInputEnvelope;
|
|
365
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
366
|
+
};
|
|
367
|
+
export type ChapterWordsUncheckedCreateNestedManyWithoutChapterInput = {
|
|
368
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutChapterInput, Prisma.ChapterWordsUncheckedCreateWithoutChapterInput> | Prisma.ChapterWordsCreateWithoutChapterInput[] | Prisma.ChapterWordsUncheckedCreateWithoutChapterInput[];
|
|
369
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutChapterInput | Prisma.ChapterWordsCreateOrConnectWithoutChapterInput[];
|
|
370
|
+
createMany?: Prisma.ChapterWordsCreateManyChapterInputEnvelope;
|
|
371
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
372
|
+
};
|
|
373
|
+
export type ChapterWordsUpdateManyWithoutChapterNestedInput = {
|
|
374
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutChapterInput, Prisma.ChapterWordsUncheckedCreateWithoutChapterInput> | Prisma.ChapterWordsCreateWithoutChapterInput[] | Prisma.ChapterWordsUncheckedCreateWithoutChapterInput[];
|
|
375
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutChapterInput | Prisma.ChapterWordsCreateOrConnectWithoutChapterInput[];
|
|
376
|
+
upsert?: Prisma.ChapterWordsUpsertWithWhereUniqueWithoutChapterInput | Prisma.ChapterWordsUpsertWithWhereUniqueWithoutChapterInput[];
|
|
377
|
+
createMany?: Prisma.ChapterWordsCreateManyChapterInputEnvelope;
|
|
378
|
+
set?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
379
|
+
disconnect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
380
|
+
delete?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
381
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
382
|
+
update?: Prisma.ChapterWordsUpdateWithWhereUniqueWithoutChapterInput | Prisma.ChapterWordsUpdateWithWhereUniqueWithoutChapterInput[];
|
|
383
|
+
updateMany?: Prisma.ChapterWordsUpdateManyWithWhereWithoutChapterInput | Prisma.ChapterWordsUpdateManyWithWhereWithoutChapterInput[];
|
|
384
|
+
deleteMany?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
385
|
+
};
|
|
386
|
+
export type ChapterWordsUncheckedUpdateManyWithoutChapterNestedInput = {
|
|
387
|
+
create?: Prisma.XOR<Prisma.ChapterWordsCreateWithoutChapterInput, Prisma.ChapterWordsUncheckedCreateWithoutChapterInput> | Prisma.ChapterWordsCreateWithoutChapterInput[] | Prisma.ChapterWordsUncheckedCreateWithoutChapterInput[];
|
|
388
|
+
connectOrCreate?: Prisma.ChapterWordsCreateOrConnectWithoutChapterInput | Prisma.ChapterWordsCreateOrConnectWithoutChapterInput[];
|
|
389
|
+
upsert?: Prisma.ChapterWordsUpsertWithWhereUniqueWithoutChapterInput | Prisma.ChapterWordsUpsertWithWhereUniqueWithoutChapterInput[];
|
|
390
|
+
createMany?: Prisma.ChapterWordsCreateManyChapterInputEnvelope;
|
|
391
|
+
set?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
392
|
+
disconnect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
393
|
+
delete?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
394
|
+
connect?: Prisma.ChapterWordsWhereUniqueInput | Prisma.ChapterWordsWhereUniqueInput[];
|
|
395
|
+
update?: Prisma.ChapterWordsUpdateWithWhereUniqueWithoutChapterInput | Prisma.ChapterWordsUpdateWithWhereUniqueWithoutChapterInput[];
|
|
396
|
+
updateMany?: Prisma.ChapterWordsUpdateManyWithWhereWithoutChapterInput | Prisma.ChapterWordsUpdateManyWithWhereWithoutChapterInput[];
|
|
397
|
+
deleteMany?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
398
|
+
};
|
|
399
|
+
export type ChapterWordsCreateWithoutTranslationInput = {
|
|
400
|
+
wordsJson: string;
|
|
401
|
+
book: Prisma.BookCreateNestedOneWithoutWordsInput;
|
|
402
|
+
chapter: Prisma.ChapterCreateNestedOneWithoutWordsInput;
|
|
403
|
+
};
|
|
404
|
+
export type ChapterWordsUncheckedCreateWithoutTranslationInput = {
|
|
405
|
+
number: number;
|
|
406
|
+
bookId: string;
|
|
407
|
+
wordsJson: string;
|
|
408
|
+
};
|
|
409
|
+
export type ChapterWordsCreateOrConnectWithoutTranslationInput = {
|
|
410
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
411
|
+
create: Prisma.XOR<Prisma.ChapterWordsCreateWithoutTranslationInput, Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput>;
|
|
412
|
+
};
|
|
413
|
+
export type ChapterWordsCreateManyTranslationInputEnvelope = {
|
|
414
|
+
data: Prisma.ChapterWordsCreateManyTranslationInput | Prisma.ChapterWordsCreateManyTranslationInput[];
|
|
415
|
+
};
|
|
416
|
+
export type ChapterWordsUpsertWithWhereUniqueWithoutTranslationInput = {
|
|
417
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
418
|
+
update: Prisma.XOR<Prisma.ChapterWordsUpdateWithoutTranslationInput, Prisma.ChapterWordsUncheckedUpdateWithoutTranslationInput>;
|
|
419
|
+
create: Prisma.XOR<Prisma.ChapterWordsCreateWithoutTranslationInput, Prisma.ChapterWordsUncheckedCreateWithoutTranslationInput>;
|
|
420
|
+
};
|
|
421
|
+
export type ChapterWordsUpdateWithWhereUniqueWithoutTranslationInput = {
|
|
422
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
423
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateWithoutTranslationInput, Prisma.ChapterWordsUncheckedUpdateWithoutTranslationInput>;
|
|
424
|
+
};
|
|
425
|
+
export type ChapterWordsUpdateManyWithWhereWithoutTranslationInput = {
|
|
426
|
+
where: Prisma.ChapterWordsScalarWhereInput;
|
|
427
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateManyMutationInput, Prisma.ChapterWordsUncheckedUpdateManyWithoutTranslationInput>;
|
|
428
|
+
};
|
|
429
|
+
export type ChapterWordsScalarWhereInput = {
|
|
430
|
+
AND?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
431
|
+
OR?: Prisma.ChapterWordsScalarWhereInput[];
|
|
432
|
+
NOT?: Prisma.ChapterWordsScalarWhereInput | Prisma.ChapterWordsScalarWhereInput[];
|
|
433
|
+
number?: Prisma.IntFilter<"ChapterWords"> | number;
|
|
434
|
+
bookId?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
435
|
+
translationId?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
436
|
+
wordsJson?: Prisma.StringFilter<"ChapterWords"> | string;
|
|
437
|
+
};
|
|
438
|
+
export type ChapterWordsCreateWithoutBookInput = {
|
|
439
|
+
wordsJson: string;
|
|
440
|
+
translation: Prisma.TranslationCreateNestedOneWithoutWordsInput;
|
|
441
|
+
chapter: Prisma.ChapterCreateNestedOneWithoutWordsInput;
|
|
442
|
+
};
|
|
443
|
+
export type ChapterWordsUncheckedCreateWithoutBookInput = {
|
|
444
|
+
number: number;
|
|
445
|
+
wordsJson: string;
|
|
446
|
+
};
|
|
447
|
+
export type ChapterWordsCreateOrConnectWithoutBookInput = {
|
|
448
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
449
|
+
create: Prisma.XOR<Prisma.ChapterWordsCreateWithoutBookInput, Prisma.ChapterWordsUncheckedCreateWithoutBookInput>;
|
|
450
|
+
};
|
|
451
|
+
export type ChapterWordsCreateManyBookInputEnvelope = {
|
|
452
|
+
data: Prisma.ChapterWordsCreateManyBookInput | Prisma.ChapterWordsCreateManyBookInput[];
|
|
453
|
+
};
|
|
454
|
+
export type ChapterWordsUpsertWithWhereUniqueWithoutBookInput = {
|
|
455
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
456
|
+
update: Prisma.XOR<Prisma.ChapterWordsUpdateWithoutBookInput, Prisma.ChapterWordsUncheckedUpdateWithoutBookInput>;
|
|
457
|
+
create: Prisma.XOR<Prisma.ChapterWordsCreateWithoutBookInput, Prisma.ChapterWordsUncheckedCreateWithoutBookInput>;
|
|
458
|
+
};
|
|
459
|
+
export type ChapterWordsUpdateWithWhereUniqueWithoutBookInput = {
|
|
460
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
461
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateWithoutBookInput, Prisma.ChapterWordsUncheckedUpdateWithoutBookInput>;
|
|
462
|
+
};
|
|
463
|
+
export type ChapterWordsUpdateManyWithWhereWithoutBookInput = {
|
|
464
|
+
where: Prisma.ChapterWordsScalarWhereInput;
|
|
465
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateManyMutationInput, Prisma.ChapterWordsUncheckedUpdateManyWithoutBookInput>;
|
|
466
|
+
};
|
|
467
|
+
export type ChapterWordsCreateWithoutChapterInput = {
|
|
468
|
+
wordsJson: string;
|
|
469
|
+
book: Prisma.BookCreateNestedOneWithoutWordsInput;
|
|
470
|
+
translation: Prisma.TranslationCreateNestedOneWithoutWordsInput;
|
|
471
|
+
};
|
|
472
|
+
export type ChapterWordsUncheckedCreateWithoutChapterInput = {
|
|
473
|
+
wordsJson: string;
|
|
474
|
+
};
|
|
475
|
+
export type ChapterWordsCreateOrConnectWithoutChapterInput = {
|
|
476
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
477
|
+
create: Prisma.XOR<Prisma.ChapterWordsCreateWithoutChapterInput, Prisma.ChapterWordsUncheckedCreateWithoutChapterInput>;
|
|
478
|
+
};
|
|
479
|
+
export type ChapterWordsCreateManyChapterInputEnvelope = {
|
|
480
|
+
data: Prisma.ChapterWordsCreateManyChapterInput | Prisma.ChapterWordsCreateManyChapterInput[];
|
|
481
|
+
};
|
|
482
|
+
export type ChapterWordsUpsertWithWhereUniqueWithoutChapterInput = {
|
|
483
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
484
|
+
update: Prisma.XOR<Prisma.ChapterWordsUpdateWithoutChapterInput, Prisma.ChapterWordsUncheckedUpdateWithoutChapterInput>;
|
|
485
|
+
create: Prisma.XOR<Prisma.ChapterWordsCreateWithoutChapterInput, Prisma.ChapterWordsUncheckedCreateWithoutChapterInput>;
|
|
486
|
+
};
|
|
487
|
+
export type ChapterWordsUpdateWithWhereUniqueWithoutChapterInput = {
|
|
488
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
489
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateWithoutChapterInput, Prisma.ChapterWordsUncheckedUpdateWithoutChapterInput>;
|
|
490
|
+
};
|
|
491
|
+
export type ChapterWordsUpdateManyWithWhereWithoutChapterInput = {
|
|
492
|
+
where: Prisma.ChapterWordsScalarWhereInput;
|
|
493
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateManyMutationInput, Prisma.ChapterWordsUncheckedUpdateManyWithoutChapterInput>;
|
|
494
|
+
};
|
|
495
|
+
export type ChapterWordsCreateManyTranslationInput = {
|
|
496
|
+
number: number;
|
|
497
|
+
bookId: string;
|
|
498
|
+
wordsJson: string;
|
|
499
|
+
};
|
|
500
|
+
export type ChapterWordsUpdateWithoutTranslationInput = {
|
|
501
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
502
|
+
book?: Prisma.BookUpdateOneRequiredWithoutWordsNestedInput;
|
|
503
|
+
chapter?: Prisma.ChapterUpdateOneRequiredWithoutWordsNestedInput;
|
|
504
|
+
};
|
|
505
|
+
export type ChapterWordsUncheckedUpdateWithoutTranslationInput = {
|
|
506
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
507
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
508
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
509
|
+
};
|
|
510
|
+
export type ChapterWordsUncheckedUpdateManyWithoutTranslationInput = {
|
|
511
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
512
|
+
bookId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
513
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
514
|
+
};
|
|
515
|
+
export type ChapterWordsCreateManyBookInput = {
|
|
516
|
+
number: number;
|
|
517
|
+
wordsJson: string;
|
|
518
|
+
};
|
|
519
|
+
export type ChapterWordsUpdateWithoutBookInput = {
|
|
520
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
521
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutWordsNestedInput;
|
|
522
|
+
chapter?: Prisma.ChapterUpdateOneRequiredWithoutWordsNestedInput;
|
|
523
|
+
};
|
|
524
|
+
export type ChapterWordsUncheckedUpdateWithoutBookInput = {
|
|
525
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
526
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
527
|
+
};
|
|
528
|
+
export type ChapterWordsUncheckedUpdateManyWithoutBookInput = {
|
|
529
|
+
number?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
530
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
531
|
+
};
|
|
532
|
+
export type ChapterWordsCreateManyChapterInput = {
|
|
533
|
+
wordsJson: string;
|
|
534
|
+
};
|
|
535
|
+
export type ChapterWordsUpdateWithoutChapterInput = {
|
|
536
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
537
|
+
book?: Prisma.BookUpdateOneRequiredWithoutWordsNestedInput;
|
|
538
|
+
translation?: Prisma.TranslationUpdateOneRequiredWithoutWordsNestedInput;
|
|
539
|
+
};
|
|
540
|
+
export type ChapterWordsUncheckedUpdateWithoutChapterInput = {
|
|
541
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
542
|
+
};
|
|
543
|
+
export type ChapterWordsUncheckedUpdateManyWithoutChapterInput = {
|
|
544
|
+
wordsJson?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
545
|
+
};
|
|
546
|
+
export type ChapterWordsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
547
|
+
number?: boolean;
|
|
548
|
+
bookId?: boolean;
|
|
549
|
+
translationId?: boolean;
|
|
550
|
+
wordsJson?: boolean;
|
|
551
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
552
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
553
|
+
chapter?: boolean | Prisma.ChapterDefaultArgs<ExtArgs>;
|
|
554
|
+
}, ExtArgs["result"]["chapterWords"]>;
|
|
555
|
+
export type ChapterWordsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
556
|
+
number?: boolean;
|
|
557
|
+
bookId?: boolean;
|
|
558
|
+
translationId?: boolean;
|
|
559
|
+
wordsJson?: boolean;
|
|
560
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
561
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
562
|
+
chapter?: boolean | Prisma.ChapterDefaultArgs<ExtArgs>;
|
|
563
|
+
}, ExtArgs["result"]["chapterWords"]>;
|
|
564
|
+
export type ChapterWordsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
565
|
+
number?: boolean;
|
|
566
|
+
bookId?: boolean;
|
|
567
|
+
translationId?: boolean;
|
|
568
|
+
wordsJson?: boolean;
|
|
569
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
570
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
571
|
+
chapter?: boolean | Prisma.ChapterDefaultArgs<ExtArgs>;
|
|
572
|
+
}, ExtArgs["result"]["chapterWords"]>;
|
|
573
|
+
export type ChapterWordsSelectScalar = {
|
|
574
|
+
number?: boolean;
|
|
575
|
+
bookId?: boolean;
|
|
576
|
+
translationId?: boolean;
|
|
577
|
+
wordsJson?: boolean;
|
|
578
|
+
};
|
|
579
|
+
export type ChapterWordsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"number" | "bookId" | "translationId" | "wordsJson", ExtArgs["result"]["chapterWords"]>;
|
|
580
|
+
export type ChapterWordsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
581
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
582
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
583
|
+
chapter?: boolean | Prisma.ChapterDefaultArgs<ExtArgs>;
|
|
584
|
+
};
|
|
585
|
+
export type ChapterWordsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
586
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
587
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
588
|
+
chapter?: boolean | Prisma.ChapterDefaultArgs<ExtArgs>;
|
|
589
|
+
};
|
|
590
|
+
export type ChapterWordsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
591
|
+
book?: boolean | Prisma.BookDefaultArgs<ExtArgs>;
|
|
592
|
+
translation?: boolean | Prisma.TranslationDefaultArgs<ExtArgs>;
|
|
593
|
+
chapter?: boolean | Prisma.ChapterDefaultArgs<ExtArgs>;
|
|
594
|
+
};
|
|
595
|
+
export type $ChapterWordsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
596
|
+
name: "ChapterWords";
|
|
597
|
+
objects: {
|
|
598
|
+
book: Prisma.$BookPayload<ExtArgs>;
|
|
599
|
+
translation: Prisma.$TranslationPayload<ExtArgs>;
|
|
600
|
+
chapter: Prisma.$ChapterPayload<ExtArgs>;
|
|
601
|
+
};
|
|
602
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
603
|
+
number: number;
|
|
604
|
+
bookId: string;
|
|
605
|
+
translationId: string;
|
|
606
|
+
wordsJson: string;
|
|
607
|
+
}, ExtArgs["result"]["chapterWords"]>;
|
|
608
|
+
composites: {};
|
|
609
|
+
};
|
|
610
|
+
export type ChapterWordsGetPayload<S extends boolean | null | undefined | ChapterWordsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload, S>;
|
|
611
|
+
export type ChapterWordsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ChapterWordsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
612
|
+
select?: ChapterWordsCountAggregateInputType | true;
|
|
613
|
+
};
|
|
614
|
+
export interface ChapterWordsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
615
|
+
[K: symbol]: {
|
|
616
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ChapterWords'];
|
|
617
|
+
meta: {
|
|
618
|
+
name: 'ChapterWords';
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
/**
|
|
622
|
+
* Find zero or one ChapterWords that matches the filter.
|
|
623
|
+
* @param {ChapterWordsFindUniqueArgs} args - Arguments to find a ChapterWords
|
|
624
|
+
* @example
|
|
625
|
+
* // Get one ChapterWords
|
|
626
|
+
* const chapterWords = await prisma.chapterWords.findUnique({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... provide filter here
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
*/
|
|
632
|
+
findUnique<T extends ChapterWordsFindUniqueArgs>(args: Prisma.SelectSubset<T, ChapterWordsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
633
|
+
/**
|
|
634
|
+
* Find one ChapterWords that matches the filter or throw an error with `error.code='P2025'`
|
|
635
|
+
* if no matches were found.
|
|
636
|
+
* @param {ChapterWordsFindUniqueOrThrowArgs} args - Arguments to find a ChapterWords
|
|
637
|
+
* @example
|
|
638
|
+
* // Get one ChapterWords
|
|
639
|
+
* const chapterWords = await prisma.chapterWords.findUniqueOrThrow({
|
|
640
|
+
* where: {
|
|
641
|
+
* // ... provide filter here
|
|
642
|
+
* }
|
|
643
|
+
* })
|
|
644
|
+
*/
|
|
645
|
+
findUniqueOrThrow<T extends ChapterWordsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ChapterWordsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
646
|
+
/**
|
|
647
|
+
* Find the first ChapterWords that matches the filter.
|
|
648
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
649
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
650
|
+
* @param {ChapterWordsFindFirstArgs} args - Arguments to find a ChapterWords
|
|
651
|
+
* @example
|
|
652
|
+
* // Get one ChapterWords
|
|
653
|
+
* const chapterWords = await prisma.chapterWords.findFirst({
|
|
654
|
+
* where: {
|
|
655
|
+
* // ... provide filter here
|
|
656
|
+
* }
|
|
657
|
+
* })
|
|
658
|
+
*/
|
|
659
|
+
findFirst<T extends ChapterWordsFindFirstArgs>(args?: Prisma.SelectSubset<T, ChapterWordsFindFirstArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
660
|
+
/**
|
|
661
|
+
* Find the first ChapterWords that matches the filter or
|
|
662
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
663
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
664
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
665
|
+
* @param {ChapterWordsFindFirstOrThrowArgs} args - Arguments to find a ChapterWords
|
|
666
|
+
* @example
|
|
667
|
+
* // Get one ChapterWords
|
|
668
|
+
* const chapterWords = await prisma.chapterWords.findFirstOrThrow({
|
|
669
|
+
* where: {
|
|
670
|
+
* // ... provide filter here
|
|
671
|
+
* }
|
|
672
|
+
* })
|
|
673
|
+
*/
|
|
674
|
+
findFirstOrThrow<T extends ChapterWordsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ChapterWordsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
675
|
+
/**
|
|
676
|
+
* Find zero or more ChapterWords that matches the filter.
|
|
677
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
678
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
679
|
+
* @param {ChapterWordsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
680
|
+
* @example
|
|
681
|
+
* // Get all ChapterWords
|
|
682
|
+
* const chapterWords = await prisma.chapterWords.findMany()
|
|
683
|
+
*
|
|
684
|
+
* // Get first 10 ChapterWords
|
|
685
|
+
* const chapterWords = await prisma.chapterWords.findMany({ take: 10 })
|
|
686
|
+
*
|
|
687
|
+
* // Only select the `number`
|
|
688
|
+
* const chapterWordsWithNumberOnly = await prisma.chapterWords.findMany({ select: { number: true } })
|
|
689
|
+
*
|
|
690
|
+
*/
|
|
691
|
+
findMany<T extends ChapterWordsFindManyArgs>(args?: Prisma.SelectSubset<T, ChapterWordsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
692
|
+
/**
|
|
693
|
+
* Create a ChapterWords.
|
|
694
|
+
* @param {ChapterWordsCreateArgs} args - Arguments to create a ChapterWords.
|
|
695
|
+
* @example
|
|
696
|
+
* // Create one ChapterWords
|
|
697
|
+
* const ChapterWords = await prisma.chapterWords.create({
|
|
698
|
+
* data: {
|
|
699
|
+
* // ... data to create a ChapterWords
|
|
700
|
+
* }
|
|
701
|
+
* })
|
|
702
|
+
*
|
|
703
|
+
*/
|
|
704
|
+
create<T extends ChapterWordsCreateArgs>(args: Prisma.SelectSubset<T, ChapterWordsCreateArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
705
|
+
/**
|
|
706
|
+
* Create many ChapterWords.
|
|
707
|
+
* @param {ChapterWordsCreateManyArgs} args - Arguments to create many ChapterWords.
|
|
708
|
+
* @example
|
|
709
|
+
* // Create many ChapterWords
|
|
710
|
+
* const chapterWords = await prisma.chapterWords.createMany({
|
|
711
|
+
* data: [
|
|
712
|
+
* // ... provide data here
|
|
713
|
+
* ]
|
|
714
|
+
* })
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
createMany<T extends ChapterWordsCreateManyArgs>(args?: Prisma.SelectSubset<T, ChapterWordsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
718
|
+
/**
|
|
719
|
+
* Create many ChapterWords and returns the data saved in the database.
|
|
720
|
+
* @param {ChapterWordsCreateManyAndReturnArgs} args - Arguments to create many ChapterWords.
|
|
721
|
+
* @example
|
|
722
|
+
* // Create many ChapterWords
|
|
723
|
+
* const chapterWords = await prisma.chapterWords.createManyAndReturn({
|
|
724
|
+
* data: [
|
|
725
|
+
* // ... provide data here
|
|
726
|
+
* ]
|
|
727
|
+
* })
|
|
728
|
+
*
|
|
729
|
+
* // Create many ChapterWords and only return the `number`
|
|
730
|
+
* const chapterWordsWithNumberOnly = await prisma.chapterWords.createManyAndReturn({
|
|
731
|
+
* select: { number: true },
|
|
732
|
+
* data: [
|
|
733
|
+
* // ... provide data here
|
|
734
|
+
* ]
|
|
735
|
+
* })
|
|
736
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
737
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
738
|
+
*
|
|
739
|
+
*/
|
|
740
|
+
createManyAndReturn<T extends ChapterWordsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ChapterWordsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
741
|
+
/**
|
|
742
|
+
* Delete a ChapterWords.
|
|
743
|
+
* @param {ChapterWordsDeleteArgs} args - Arguments to delete one ChapterWords.
|
|
744
|
+
* @example
|
|
745
|
+
* // Delete one ChapterWords
|
|
746
|
+
* const ChapterWords = await prisma.chapterWords.delete({
|
|
747
|
+
* where: {
|
|
748
|
+
* // ... filter to delete one ChapterWords
|
|
749
|
+
* }
|
|
750
|
+
* })
|
|
751
|
+
*
|
|
752
|
+
*/
|
|
753
|
+
delete<T extends ChapterWordsDeleteArgs>(args: Prisma.SelectSubset<T, ChapterWordsDeleteArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
754
|
+
/**
|
|
755
|
+
* Update one ChapterWords.
|
|
756
|
+
* @param {ChapterWordsUpdateArgs} args - Arguments to update one ChapterWords.
|
|
757
|
+
* @example
|
|
758
|
+
* // Update one ChapterWords
|
|
759
|
+
* const chapterWords = await prisma.chapterWords.update({
|
|
760
|
+
* where: {
|
|
761
|
+
* // ... provide filter here
|
|
762
|
+
* },
|
|
763
|
+
* data: {
|
|
764
|
+
* // ... provide data here
|
|
765
|
+
* }
|
|
766
|
+
* })
|
|
767
|
+
*
|
|
768
|
+
*/
|
|
769
|
+
update<T extends ChapterWordsUpdateArgs>(args: Prisma.SelectSubset<T, ChapterWordsUpdateArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
770
|
+
/**
|
|
771
|
+
* Delete zero or more ChapterWords.
|
|
772
|
+
* @param {ChapterWordsDeleteManyArgs} args - Arguments to filter ChapterWords to delete.
|
|
773
|
+
* @example
|
|
774
|
+
* // Delete a few ChapterWords
|
|
775
|
+
* const { count } = await prisma.chapterWords.deleteMany({
|
|
776
|
+
* where: {
|
|
777
|
+
* // ... provide filter here
|
|
778
|
+
* }
|
|
779
|
+
* })
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
deleteMany<T extends ChapterWordsDeleteManyArgs>(args?: Prisma.SelectSubset<T, ChapterWordsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
783
|
+
/**
|
|
784
|
+
* Update zero or more ChapterWords.
|
|
785
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
786
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
787
|
+
* @param {ChapterWordsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
788
|
+
* @example
|
|
789
|
+
* // Update many ChapterWords
|
|
790
|
+
* const chapterWords = await prisma.chapterWords.updateMany({
|
|
791
|
+
* where: {
|
|
792
|
+
* // ... provide filter here
|
|
793
|
+
* },
|
|
794
|
+
* data: {
|
|
795
|
+
* // ... provide data here
|
|
796
|
+
* }
|
|
797
|
+
* })
|
|
798
|
+
*
|
|
799
|
+
*/
|
|
800
|
+
updateMany<T extends ChapterWordsUpdateManyArgs>(args: Prisma.SelectSubset<T, ChapterWordsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
801
|
+
/**
|
|
802
|
+
* Update zero or more ChapterWords and returns the data updated in the database.
|
|
803
|
+
* @param {ChapterWordsUpdateManyAndReturnArgs} args - Arguments to update many ChapterWords.
|
|
804
|
+
* @example
|
|
805
|
+
* // Update many ChapterWords
|
|
806
|
+
* const chapterWords = await prisma.chapterWords.updateManyAndReturn({
|
|
807
|
+
* where: {
|
|
808
|
+
* // ... provide filter here
|
|
809
|
+
* },
|
|
810
|
+
* data: [
|
|
811
|
+
* // ... provide data here
|
|
812
|
+
* ]
|
|
813
|
+
* })
|
|
814
|
+
*
|
|
815
|
+
* // Update zero or more ChapterWords and only return the `number`
|
|
816
|
+
* const chapterWordsWithNumberOnly = await prisma.chapterWords.updateManyAndReturn({
|
|
817
|
+
* select: { number: true },
|
|
818
|
+
* where: {
|
|
819
|
+
* // ... provide filter here
|
|
820
|
+
* },
|
|
821
|
+
* data: [
|
|
822
|
+
* // ... provide data here
|
|
823
|
+
* ]
|
|
824
|
+
* })
|
|
825
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
826
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
827
|
+
*
|
|
828
|
+
*/
|
|
829
|
+
updateManyAndReturn<T extends ChapterWordsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ChapterWordsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
830
|
+
/**
|
|
831
|
+
* Create or update one ChapterWords.
|
|
832
|
+
* @param {ChapterWordsUpsertArgs} args - Arguments to update or create a ChapterWords.
|
|
833
|
+
* @example
|
|
834
|
+
* // Update or create a ChapterWords
|
|
835
|
+
* const chapterWords = await prisma.chapterWords.upsert({
|
|
836
|
+
* create: {
|
|
837
|
+
* // ... data to create a ChapterWords
|
|
838
|
+
* },
|
|
839
|
+
* update: {
|
|
840
|
+
* // ... in case it already exists, update
|
|
841
|
+
* },
|
|
842
|
+
* where: {
|
|
843
|
+
* // ... the filter for the ChapterWords we want to update
|
|
844
|
+
* }
|
|
845
|
+
* })
|
|
846
|
+
*/
|
|
847
|
+
upsert<T extends ChapterWordsUpsertArgs>(args: Prisma.SelectSubset<T, ChapterWordsUpsertArgs<ExtArgs>>): Prisma.Prisma__ChapterWordsClient<runtime.Types.Result.GetResult<Prisma.$ChapterWordsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
848
|
+
/**
|
|
849
|
+
* Count the number of ChapterWords.
|
|
850
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
851
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
852
|
+
* @param {ChapterWordsCountArgs} args - Arguments to filter ChapterWords to count.
|
|
853
|
+
* @example
|
|
854
|
+
* // Count the number of ChapterWords
|
|
855
|
+
* const count = await prisma.chapterWords.count({
|
|
856
|
+
* where: {
|
|
857
|
+
* // ... the filter for the ChapterWords we want to count
|
|
858
|
+
* }
|
|
859
|
+
* })
|
|
860
|
+
**/
|
|
861
|
+
count<T extends ChapterWordsCountArgs>(args?: Prisma.Subset<T, ChapterWordsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ChapterWordsCountAggregateOutputType> : number>;
|
|
862
|
+
/**
|
|
863
|
+
* Allows you to perform aggregations operations on a ChapterWords.
|
|
864
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
865
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
866
|
+
* @param {ChapterWordsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
867
|
+
* @example
|
|
868
|
+
* // Ordered by age ascending
|
|
869
|
+
* // Where email contains prisma.io
|
|
870
|
+
* // Limited to the 10 users
|
|
871
|
+
* const aggregations = await prisma.user.aggregate({
|
|
872
|
+
* _avg: {
|
|
873
|
+
* age: true,
|
|
874
|
+
* },
|
|
875
|
+
* where: {
|
|
876
|
+
* email: {
|
|
877
|
+
* contains: "prisma.io",
|
|
878
|
+
* },
|
|
879
|
+
* },
|
|
880
|
+
* orderBy: {
|
|
881
|
+
* age: "asc",
|
|
882
|
+
* },
|
|
883
|
+
* take: 10,
|
|
884
|
+
* })
|
|
885
|
+
**/
|
|
886
|
+
aggregate<T extends ChapterWordsAggregateArgs>(args: Prisma.Subset<T, ChapterWordsAggregateArgs>): Prisma.PrismaPromise<GetChapterWordsAggregateType<T>>;
|
|
887
|
+
/**
|
|
888
|
+
* Group by ChapterWords.
|
|
889
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
890
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
891
|
+
* @param {ChapterWordsGroupByArgs} args - Group by arguments.
|
|
892
|
+
* @example
|
|
893
|
+
* // Group by city, order by createdAt, get count
|
|
894
|
+
* const result = await prisma.user.groupBy({
|
|
895
|
+
* by: ['city', 'createdAt'],
|
|
896
|
+
* orderBy: {
|
|
897
|
+
* createdAt: true
|
|
898
|
+
* },
|
|
899
|
+
* _count: {
|
|
900
|
+
* _all: true
|
|
901
|
+
* },
|
|
902
|
+
* })
|
|
903
|
+
*
|
|
904
|
+
**/
|
|
905
|
+
groupBy<T extends ChapterWordsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
906
|
+
orderBy: ChapterWordsGroupByArgs['orderBy'];
|
|
907
|
+
} : {
|
|
908
|
+
orderBy?: ChapterWordsGroupByArgs['orderBy'];
|
|
909
|
+
}, 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 ? {
|
|
910
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
911
|
+
Error,
|
|
912
|
+
'Field ',
|
|
913
|
+
P,
|
|
914
|
+
` in "having" needs to be provided in "by"`
|
|
915
|
+
];
|
|
916
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
917
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
918
|
+
}[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 ? {} : {
|
|
919
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
920
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
921
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
922
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ChapterWordsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetChapterWordsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
923
|
+
/**
|
|
924
|
+
* Fields of the ChapterWords model
|
|
925
|
+
*/
|
|
926
|
+
readonly fields: ChapterWordsFieldRefs;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* The delegate class that acts as a "Promise-like" for ChapterWords.
|
|
930
|
+
* Why is this prefixed with `Prisma__`?
|
|
931
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
932
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
933
|
+
*/
|
|
934
|
+
export interface Prisma__ChapterWordsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
935
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
936
|
+
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>;
|
|
937
|
+
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>;
|
|
938
|
+
chapter<T extends Prisma.ChapterDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ChapterDefaultArgs<ExtArgs>>): Prisma.Prisma__ChapterClient<runtime.Types.Result.GetResult<Prisma.$ChapterPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
939
|
+
/**
|
|
940
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
941
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
942
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
943
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
944
|
+
*/
|
|
945
|
+
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>;
|
|
946
|
+
/**
|
|
947
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
948
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
949
|
+
* @returns A Promise for the completion of the callback.
|
|
950
|
+
*/
|
|
951
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
952
|
+
/**
|
|
953
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
954
|
+
* resolved value cannot be modified from the callback.
|
|
955
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
956
|
+
* @returns A Promise for the completion of the callback.
|
|
957
|
+
*/
|
|
958
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
959
|
+
}
|
|
960
|
+
/**
|
|
961
|
+
* Fields of the ChapterWords model
|
|
962
|
+
*/
|
|
963
|
+
export interface ChapterWordsFieldRefs {
|
|
964
|
+
readonly number: Prisma.FieldRef<"ChapterWords", 'Int'>;
|
|
965
|
+
readonly bookId: Prisma.FieldRef<"ChapterWords", 'String'>;
|
|
966
|
+
readonly translationId: Prisma.FieldRef<"ChapterWords", 'String'>;
|
|
967
|
+
readonly wordsJson: Prisma.FieldRef<"ChapterWords", 'String'>;
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* ChapterWords findUnique
|
|
971
|
+
*/
|
|
972
|
+
export type ChapterWordsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
973
|
+
/**
|
|
974
|
+
* Select specific fields to fetch from the ChapterWords
|
|
975
|
+
*/
|
|
976
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
977
|
+
/**
|
|
978
|
+
* Omit specific fields from the ChapterWords
|
|
979
|
+
*/
|
|
980
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
981
|
+
/**
|
|
982
|
+
* Choose, which related nodes to fetch as well
|
|
983
|
+
*/
|
|
984
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
985
|
+
/**
|
|
986
|
+
* Filter, which ChapterWords to fetch.
|
|
987
|
+
*/
|
|
988
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
989
|
+
};
|
|
990
|
+
/**
|
|
991
|
+
* ChapterWords findUniqueOrThrow
|
|
992
|
+
*/
|
|
993
|
+
export type ChapterWordsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
994
|
+
/**
|
|
995
|
+
* Select specific fields to fetch from the ChapterWords
|
|
996
|
+
*/
|
|
997
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
998
|
+
/**
|
|
999
|
+
* Omit specific fields from the ChapterWords
|
|
1000
|
+
*/
|
|
1001
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* Choose, which related nodes to fetch as well
|
|
1004
|
+
*/
|
|
1005
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1006
|
+
/**
|
|
1007
|
+
* Filter, which ChapterWords to fetch.
|
|
1008
|
+
*/
|
|
1009
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
1010
|
+
};
|
|
1011
|
+
/**
|
|
1012
|
+
* ChapterWords findFirst
|
|
1013
|
+
*/
|
|
1014
|
+
export type ChapterWordsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1015
|
+
/**
|
|
1016
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1017
|
+
*/
|
|
1018
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1019
|
+
/**
|
|
1020
|
+
* Omit specific fields from the ChapterWords
|
|
1021
|
+
*/
|
|
1022
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Choose, which related nodes to fetch as well
|
|
1025
|
+
*/
|
|
1026
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1027
|
+
/**
|
|
1028
|
+
* Filter, which ChapterWords to fetch.
|
|
1029
|
+
*/
|
|
1030
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
1031
|
+
/**
|
|
1032
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1033
|
+
*
|
|
1034
|
+
* Determine the order of ChapterWords to fetch.
|
|
1035
|
+
*/
|
|
1036
|
+
orderBy?: Prisma.ChapterWordsOrderByWithRelationInput | Prisma.ChapterWordsOrderByWithRelationInput[];
|
|
1037
|
+
/**
|
|
1038
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1039
|
+
*
|
|
1040
|
+
* Sets the position for searching for ChapterWords.
|
|
1041
|
+
*/
|
|
1042
|
+
cursor?: Prisma.ChapterWordsWhereUniqueInput;
|
|
1043
|
+
/**
|
|
1044
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1045
|
+
*
|
|
1046
|
+
* Take `±n` ChapterWords from the position of the cursor.
|
|
1047
|
+
*/
|
|
1048
|
+
take?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1051
|
+
*
|
|
1052
|
+
* Skip the first `n` ChapterWords.
|
|
1053
|
+
*/
|
|
1054
|
+
skip?: number;
|
|
1055
|
+
/**
|
|
1056
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1057
|
+
*
|
|
1058
|
+
* Filter by unique combinations of ChapterWords.
|
|
1059
|
+
*/
|
|
1060
|
+
distinct?: Prisma.ChapterWordsScalarFieldEnum | Prisma.ChapterWordsScalarFieldEnum[];
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* ChapterWords findFirstOrThrow
|
|
1064
|
+
*/
|
|
1065
|
+
export type ChapterWordsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the ChapterWords
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* Choose, which related nodes to fetch as well
|
|
1076
|
+
*/
|
|
1077
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* Filter, which ChapterWords to fetch.
|
|
1080
|
+
*/
|
|
1081
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
1082
|
+
/**
|
|
1083
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1084
|
+
*
|
|
1085
|
+
* Determine the order of ChapterWords to fetch.
|
|
1086
|
+
*/
|
|
1087
|
+
orderBy?: Prisma.ChapterWordsOrderByWithRelationInput | Prisma.ChapterWordsOrderByWithRelationInput[];
|
|
1088
|
+
/**
|
|
1089
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1090
|
+
*
|
|
1091
|
+
* Sets the position for searching for ChapterWords.
|
|
1092
|
+
*/
|
|
1093
|
+
cursor?: Prisma.ChapterWordsWhereUniqueInput;
|
|
1094
|
+
/**
|
|
1095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1096
|
+
*
|
|
1097
|
+
* Take `±n` ChapterWords from the position of the cursor.
|
|
1098
|
+
*/
|
|
1099
|
+
take?: number;
|
|
1100
|
+
/**
|
|
1101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1102
|
+
*
|
|
1103
|
+
* Skip the first `n` ChapterWords.
|
|
1104
|
+
*/
|
|
1105
|
+
skip?: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1108
|
+
*
|
|
1109
|
+
* Filter by unique combinations of ChapterWords.
|
|
1110
|
+
*/
|
|
1111
|
+
distinct?: Prisma.ChapterWordsScalarFieldEnum | Prisma.ChapterWordsScalarFieldEnum[];
|
|
1112
|
+
};
|
|
1113
|
+
/**
|
|
1114
|
+
* ChapterWords findMany
|
|
1115
|
+
*/
|
|
1116
|
+
export type ChapterWordsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1117
|
+
/**
|
|
1118
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1119
|
+
*/
|
|
1120
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1121
|
+
/**
|
|
1122
|
+
* Omit specific fields from the ChapterWords
|
|
1123
|
+
*/
|
|
1124
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* Choose, which related nodes to fetch as well
|
|
1127
|
+
*/
|
|
1128
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* Filter, which ChapterWords to fetch.
|
|
1131
|
+
*/
|
|
1132
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
1133
|
+
/**
|
|
1134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1135
|
+
*
|
|
1136
|
+
* Determine the order of ChapterWords to fetch.
|
|
1137
|
+
*/
|
|
1138
|
+
orderBy?: Prisma.ChapterWordsOrderByWithRelationInput | Prisma.ChapterWordsOrderByWithRelationInput[];
|
|
1139
|
+
/**
|
|
1140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1141
|
+
*
|
|
1142
|
+
* Sets the position for listing ChapterWords.
|
|
1143
|
+
*/
|
|
1144
|
+
cursor?: Prisma.ChapterWordsWhereUniqueInput;
|
|
1145
|
+
/**
|
|
1146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1147
|
+
*
|
|
1148
|
+
* Take `±n` ChapterWords from the position of the cursor.
|
|
1149
|
+
*/
|
|
1150
|
+
take?: number;
|
|
1151
|
+
/**
|
|
1152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1153
|
+
*
|
|
1154
|
+
* Skip the first `n` ChapterWords.
|
|
1155
|
+
*/
|
|
1156
|
+
skip?: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1159
|
+
*
|
|
1160
|
+
* Filter by unique combinations of ChapterWords.
|
|
1161
|
+
*/
|
|
1162
|
+
distinct?: Prisma.ChapterWordsScalarFieldEnum | Prisma.ChapterWordsScalarFieldEnum[];
|
|
1163
|
+
};
|
|
1164
|
+
/**
|
|
1165
|
+
* ChapterWords create
|
|
1166
|
+
*/
|
|
1167
|
+
export type ChapterWordsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1168
|
+
/**
|
|
1169
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1170
|
+
*/
|
|
1171
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1172
|
+
/**
|
|
1173
|
+
* Omit specific fields from the ChapterWords
|
|
1174
|
+
*/
|
|
1175
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1176
|
+
/**
|
|
1177
|
+
* Choose, which related nodes to fetch as well
|
|
1178
|
+
*/
|
|
1179
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1180
|
+
/**
|
|
1181
|
+
* The data needed to create a ChapterWords.
|
|
1182
|
+
*/
|
|
1183
|
+
data: Prisma.XOR<Prisma.ChapterWordsCreateInput, Prisma.ChapterWordsUncheckedCreateInput>;
|
|
1184
|
+
};
|
|
1185
|
+
/**
|
|
1186
|
+
* ChapterWords createMany
|
|
1187
|
+
*/
|
|
1188
|
+
export type ChapterWordsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1189
|
+
/**
|
|
1190
|
+
* The data used to create many ChapterWords.
|
|
1191
|
+
*/
|
|
1192
|
+
data: Prisma.ChapterWordsCreateManyInput | Prisma.ChapterWordsCreateManyInput[];
|
|
1193
|
+
};
|
|
1194
|
+
/**
|
|
1195
|
+
* ChapterWords createManyAndReturn
|
|
1196
|
+
*/
|
|
1197
|
+
export type ChapterWordsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1198
|
+
/**
|
|
1199
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1200
|
+
*/
|
|
1201
|
+
select?: Prisma.ChapterWordsSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* Omit specific fields from the ChapterWords
|
|
1204
|
+
*/
|
|
1205
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* The data used to create many ChapterWords.
|
|
1208
|
+
*/
|
|
1209
|
+
data: Prisma.ChapterWordsCreateManyInput | Prisma.ChapterWordsCreateManyInput[];
|
|
1210
|
+
/**
|
|
1211
|
+
* Choose, which related nodes to fetch as well
|
|
1212
|
+
*/
|
|
1213
|
+
include?: Prisma.ChapterWordsIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* ChapterWords update
|
|
1217
|
+
*/
|
|
1218
|
+
export type ChapterWordsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1219
|
+
/**
|
|
1220
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1221
|
+
*/
|
|
1222
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1223
|
+
/**
|
|
1224
|
+
* Omit specific fields from the ChapterWords
|
|
1225
|
+
*/
|
|
1226
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1227
|
+
/**
|
|
1228
|
+
* Choose, which related nodes to fetch as well
|
|
1229
|
+
*/
|
|
1230
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1231
|
+
/**
|
|
1232
|
+
* The data needed to update a ChapterWords.
|
|
1233
|
+
*/
|
|
1234
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateInput, Prisma.ChapterWordsUncheckedUpdateInput>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Choose, which ChapterWords to update.
|
|
1237
|
+
*/
|
|
1238
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
1239
|
+
};
|
|
1240
|
+
/**
|
|
1241
|
+
* ChapterWords updateMany
|
|
1242
|
+
*/
|
|
1243
|
+
export type ChapterWordsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1244
|
+
/**
|
|
1245
|
+
* The data used to update ChapterWords.
|
|
1246
|
+
*/
|
|
1247
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateManyMutationInput, Prisma.ChapterWordsUncheckedUpdateManyInput>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Filter which ChapterWords to update
|
|
1250
|
+
*/
|
|
1251
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
1252
|
+
/**
|
|
1253
|
+
* Limit how many ChapterWords to update.
|
|
1254
|
+
*/
|
|
1255
|
+
limit?: number;
|
|
1256
|
+
};
|
|
1257
|
+
/**
|
|
1258
|
+
* ChapterWords updateManyAndReturn
|
|
1259
|
+
*/
|
|
1260
|
+
export type ChapterWordsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1261
|
+
/**
|
|
1262
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1263
|
+
*/
|
|
1264
|
+
select?: Prisma.ChapterWordsSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Omit specific fields from the ChapterWords
|
|
1267
|
+
*/
|
|
1268
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1269
|
+
/**
|
|
1270
|
+
* The data used to update ChapterWords.
|
|
1271
|
+
*/
|
|
1272
|
+
data: Prisma.XOR<Prisma.ChapterWordsUpdateManyMutationInput, Prisma.ChapterWordsUncheckedUpdateManyInput>;
|
|
1273
|
+
/**
|
|
1274
|
+
* Filter which ChapterWords to update
|
|
1275
|
+
*/
|
|
1276
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
1277
|
+
/**
|
|
1278
|
+
* Limit how many ChapterWords to update.
|
|
1279
|
+
*/
|
|
1280
|
+
limit?: number;
|
|
1281
|
+
/**
|
|
1282
|
+
* Choose, which related nodes to fetch as well
|
|
1283
|
+
*/
|
|
1284
|
+
include?: Prisma.ChapterWordsIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1285
|
+
};
|
|
1286
|
+
/**
|
|
1287
|
+
* ChapterWords upsert
|
|
1288
|
+
*/
|
|
1289
|
+
export type ChapterWordsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1290
|
+
/**
|
|
1291
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1292
|
+
*/
|
|
1293
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* Omit specific fields from the ChapterWords
|
|
1296
|
+
*/
|
|
1297
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1298
|
+
/**
|
|
1299
|
+
* Choose, which related nodes to fetch as well
|
|
1300
|
+
*/
|
|
1301
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1302
|
+
/**
|
|
1303
|
+
* The filter to search for the ChapterWords to update in case it exists.
|
|
1304
|
+
*/
|
|
1305
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
1306
|
+
/**
|
|
1307
|
+
* In case the ChapterWords found by the `where` argument doesn't exist, create a new ChapterWords with this data.
|
|
1308
|
+
*/
|
|
1309
|
+
create: Prisma.XOR<Prisma.ChapterWordsCreateInput, Prisma.ChapterWordsUncheckedCreateInput>;
|
|
1310
|
+
/**
|
|
1311
|
+
* In case the ChapterWords was found with the provided `where` argument, update it with this data.
|
|
1312
|
+
*/
|
|
1313
|
+
update: Prisma.XOR<Prisma.ChapterWordsUpdateInput, Prisma.ChapterWordsUncheckedUpdateInput>;
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* ChapterWords delete
|
|
1317
|
+
*/
|
|
1318
|
+
export type ChapterWordsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1319
|
+
/**
|
|
1320
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1321
|
+
*/
|
|
1322
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* Omit specific fields from the ChapterWords
|
|
1325
|
+
*/
|
|
1326
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1327
|
+
/**
|
|
1328
|
+
* Choose, which related nodes to fetch as well
|
|
1329
|
+
*/
|
|
1330
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1331
|
+
/**
|
|
1332
|
+
* Filter which ChapterWords to delete.
|
|
1333
|
+
*/
|
|
1334
|
+
where: Prisma.ChapterWordsWhereUniqueInput;
|
|
1335
|
+
};
|
|
1336
|
+
/**
|
|
1337
|
+
* ChapterWords deleteMany
|
|
1338
|
+
*/
|
|
1339
|
+
export type ChapterWordsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1340
|
+
/**
|
|
1341
|
+
* Filter which ChapterWords to delete
|
|
1342
|
+
*/
|
|
1343
|
+
where?: Prisma.ChapterWordsWhereInput;
|
|
1344
|
+
/**
|
|
1345
|
+
* Limit how many ChapterWords to delete.
|
|
1346
|
+
*/
|
|
1347
|
+
limit?: number;
|
|
1348
|
+
};
|
|
1349
|
+
/**
|
|
1350
|
+
* ChapterWords without action
|
|
1351
|
+
*/
|
|
1352
|
+
export type ChapterWordsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1353
|
+
/**
|
|
1354
|
+
* Select specific fields to fetch from the ChapterWords
|
|
1355
|
+
*/
|
|
1356
|
+
select?: Prisma.ChapterWordsSelect<ExtArgs> | null;
|
|
1357
|
+
/**
|
|
1358
|
+
* Omit specific fields from the ChapterWords
|
|
1359
|
+
*/
|
|
1360
|
+
omit?: Prisma.ChapterWordsOmit<ExtArgs> | null;
|
|
1361
|
+
/**
|
|
1362
|
+
* Choose, which related nodes to fetch as well
|
|
1363
|
+
*/
|
|
1364
|
+
include?: Prisma.ChapterWordsInclude<ExtArgs> | null;
|
|
1365
|
+
};
|
|
1366
|
+
//# sourceMappingURL=ChapterWords.d.ts.map
|