@yimingliao/cms 0.0.179 → 0.0.181

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/types/prisma/generated/client.d.ts +69 -0
  2. package/dist/types/prisma/generated/client.d.ts.map +1 -0
  3. package/dist/types/prisma/generated/commonInputTypes.d.ts +546 -0
  4. package/dist/types/prisma/generated/commonInputTypes.d.ts.map +1 -0
  5. package/dist/types/prisma/generated/enums.d.ts +24 -0
  6. package/dist/types/prisma/generated/enums.d.ts.map +1 -0
  7. package/dist/types/prisma/generated/internal/class.d.ts +219 -0
  8. package/dist/types/prisma/generated/internal/class.d.ts.map +1 -0
  9. package/dist/types/prisma/generated/internal/prismaNamespace.d.ts +1382 -0
  10. package/dist/types/prisma/generated/internal/prismaNamespace.d.ts.map +1 -0
  11. package/dist/types/prisma/generated/models/Admin.d.ts +1756 -0
  12. package/dist/types/prisma/generated/models/Admin.d.ts.map +1 -0
  13. package/dist/types/prisma/generated/models/AdminRefreshToken.d.ts +1276 -0
  14. package/dist/types/prisma/generated/models/AdminRefreshToken.d.ts.map +1 -0
  15. package/dist/types/prisma/generated/models/AdminTranslation.d.ts +1498 -0
  16. package/dist/types/prisma/generated/models/AdminTranslation.d.ts.map +1 -0
  17. package/dist/types/prisma/generated/models/File.d.ts +3624 -0
  18. package/dist/types/prisma/generated/models/File.d.ts.map +1 -0
  19. package/dist/types/prisma/generated/models/FileTranslation.d.ts +1252 -0
  20. package/dist/types/prisma/generated/models/FileTranslation.d.ts.map +1 -0
  21. package/dist/types/prisma/generated/models/Folder.d.ts +1513 -0
  22. package/dist/types/prisma/generated/models/Folder.d.ts.map +1 -0
  23. package/dist/types/prisma/generated/models/Post.d.ts +9300 -0
  24. package/dist/types/prisma/generated/models/Post.d.ts.map +1 -0
  25. package/dist/types/prisma/generated/models/PostTranslation.d.ts +2073 -0
  26. package/dist/types/prisma/generated/models/PostTranslation.d.ts.map +1 -0
  27. package/dist/types/prisma/generated/models/SeoMetadata.d.ts +2183 -0
  28. package/dist/types/prisma/generated/models/SeoMetadata.d.ts.map +1 -0
  29. package/dist/types/prisma/generated/models.d.ts +11 -0
  30. package/dist/types/prisma/generated/models.d.ts.map +1 -0
  31. package/dist/types/src/client/interfaces/components/resources/post/post-list.d.ts +1 -2
  32. package/dist/types/src/client/interfaces/components/resources/post/post-list.d.ts.map +1 -1
  33. package/dist/types/src/server/applications/auth/create-auth-use-cases.d.ts +1 -1
  34. package/dist/types/src/server/applications/auth/create-auth-use-cases.d.ts.map +1 -1
  35. package/dist/types/src/server/infrastructure/database/admin/command/create-admin-command-repository.d.ts +1 -1
  36. package/dist/types/src/server/infrastructure/database/admin/command/create-admin-command-repository.d.ts.map +1 -1
  37. package/dist/types/src/server/infrastructure/database/admin/query/create-admin-query-repository.d.ts +1 -1
  38. package/dist/types/src/server/infrastructure/database/admin/query/create-admin-query-repository.d.ts.map +1 -1
  39. package/dist/types/src/server/infrastructure/database/admin-refresh-token/command/create-admin-refresh-token-command-repository.d.ts +1 -1
  40. package/dist/types/src/server/infrastructure/database/admin-refresh-token/command/create-admin-refresh-token-command-repository.d.ts.map +1 -1
  41. package/dist/types/src/server/infrastructure/database/admin-refresh-token/query/create-admin-refresh-token-query-repository.d.ts +1 -1
  42. package/dist/types/src/server/infrastructure/database/admin-refresh-token/query/create-admin-refresh-token-query-repository.d.ts.map +1 -1
  43. package/dist/types/src/server/infrastructure/database/file/command/create-file-command-repository.d.ts +1 -1
  44. package/dist/types/src/server/infrastructure/database/file/command/create-file-command-repository.d.ts.map +1 -1
  45. package/dist/types/src/server/infrastructure/database/file/query/create-file-query-repository.d.ts +1 -1
  46. package/dist/types/src/server/infrastructure/database/file/query/create-file-query-repository.d.ts.map +1 -1
  47. package/dist/types/src/server/infrastructure/database/folder/command/create-folder-command-repository.d.ts +1 -1
  48. package/dist/types/src/server/infrastructure/database/folder/command/create-folder-command-repository.d.ts.map +1 -1
  49. package/dist/types/src/server/infrastructure/database/folder/query/create-folder-query-repository.d.ts +1 -1
  50. package/dist/types/src/server/infrastructure/database/folder/query/create-folder-query-repository.d.ts.map +1 -1
  51. package/dist/types/src/server/infrastructure/database/post/command/create-post-command-repository.d.ts +1 -1
  52. package/dist/types/src/server/infrastructure/database/post/command/create-post-command-repository.d.ts.map +1 -1
  53. package/dist/types/src/server/infrastructure/database/post/query/create-post-query-repository.d.ts +1 -1
  54. package/dist/types/src/server/infrastructure/database/post/query/create-post-query-repository.d.ts.map +1 -1
  55. package/dist/types/src/server/infrastructure/database/seo-metadata/command/create-seo-metadata-command-repository.d.ts +1 -1
  56. package/dist/types/src/server/infrastructure/database/seo-metadata/command/create-seo-metadata-command-repository.d.ts.map +1 -1
  57. package/dist/types/src/server/infrastructure/zod/rules/exist.d.ts +1 -1
  58. package/dist/types/src/server/infrastructure/zod/rules/exist.d.ts.map +1 -1
  59. package/dist/types/src/server/infrastructure/zod/rules/unique.d.ts +1 -1
  60. package/dist/types/src/server/infrastructure/zod/rules/unique.d.ts.map +1 -1
  61. package/package.json +12 -8
  62. package/prisma/schema/Post/SeoMetadata.prisma +5 -9
  63. package/prisma/schema/schema.prisma +2 -23
  64. package/prisma/.DS_Store +0 -0
  65. /package/prisma/schema/Post/{post.prisma → Post.prisma} +0 -0
@@ -0,0 +1,1513 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model Folder
5
+ *
6
+ */
7
+ export type FolderModel = runtime.Types.Result.DefaultSelection<Prisma.$FolderPayload>;
8
+ export type AggregateFolder = {
9
+ _count: FolderCountAggregateOutputType | null;
10
+ _min: FolderMinAggregateOutputType | null;
11
+ _max: FolderMaxAggregateOutputType | null;
12
+ };
13
+ export type FolderMinAggregateOutputType = {
14
+ id: string | null;
15
+ key: string | null;
16
+ name: string | null;
17
+ isLocked: boolean | null;
18
+ parentFolderId: string | null;
19
+ createdAt: Date | null;
20
+ updatedAt: Date | null;
21
+ };
22
+ export type FolderMaxAggregateOutputType = {
23
+ id: string | null;
24
+ key: string | null;
25
+ name: string | null;
26
+ isLocked: boolean | null;
27
+ parentFolderId: string | null;
28
+ createdAt: Date | null;
29
+ updatedAt: Date | null;
30
+ };
31
+ export type FolderCountAggregateOutputType = {
32
+ id: number;
33
+ key: number;
34
+ name: number;
35
+ isLocked: number;
36
+ parentFolderId: number;
37
+ createdAt: number;
38
+ updatedAt: number;
39
+ _all: number;
40
+ };
41
+ export type FolderMinAggregateInputType = {
42
+ id?: true;
43
+ key?: true;
44
+ name?: true;
45
+ isLocked?: true;
46
+ parentFolderId?: true;
47
+ createdAt?: true;
48
+ updatedAt?: true;
49
+ };
50
+ export type FolderMaxAggregateInputType = {
51
+ id?: true;
52
+ key?: true;
53
+ name?: true;
54
+ isLocked?: true;
55
+ parentFolderId?: true;
56
+ createdAt?: true;
57
+ updatedAt?: true;
58
+ };
59
+ export type FolderCountAggregateInputType = {
60
+ id?: true;
61
+ key?: true;
62
+ name?: true;
63
+ isLocked?: true;
64
+ parentFolderId?: true;
65
+ createdAt?: true;
66
+ updatedAt?: true;
67
+ _all?: true;
68
+ };
69
+ export type FolderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
70
+ /**
71
+ * Filter which Folder to aggregate.
72
+ */
73
+ where?: Prisma.FolderWhereInput;
74
+ /**
75
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
76
+ *
77
+ * Determine the order of Folders to fetch.
78
+ */
79
+ orderBy?: Prisma.FolderOrderByWithRelationInput | Prisma.FolderOrderByWithRelationInput[];
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
82
+ *
83
+ * Sets the start position
84
+ */
85
+ cursor?: Prisma.FolderWhereUniqueInput;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
88
+ *
89
+ * Take `±n` Folders from the position of the cursor.
90
+ */
91
+ take?: number;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
94
+ *
95
+ * Skip the first `n` Folders.
96
+ */
97
+ skip?: number;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
100
+ *
101
+ * Count returned Folders
102
+ **/
103
+ _count?: true | FolderCountAggregateInputType;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Select which fields to find the minimum value
108
+ **/
109
+ _min?: FolderMinAggregateInputType;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Select which fields to find the maximum value
114
+ **/
115
+ _max?: FolderMaxAggregateInputType;
116
+ };
117
+ export type GetFolderAggregateType<T extends FolderAggregateArgs> = {
118
+ [P in keyof T & keyof AggregateFolder]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFolder[P]> : Prisma.GetScalarType<T[P], AggregateFolder[P]>;
119
+ };
120
+ export type FolderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
+ where?: Prisma.FolderWhereInput;
122
+ orderBy?: Prisma.FolderOrderByWithAggregationInput | Prisma.FolderOrderByWithAggregationInput[];
123
+ by: Prisma.FolderScalarFieldEnum[] | Prisma.FolderScalarFieldEnum;
124
+ having?: Prisma.FolderScalarWhereWithAggregatesInput;
125
+ take?: number;
126
+ skip?: number;
127
+ _count?: FolderCountAggregateInputType | true;
128
+ _min?: FolderMinAggregateInputType;
129
+ _max?: FolderMaxAggregateInputType;
130
+ };
131
+ export type FolderGroupByOutputType = {
132
+ id: string;
133
+ key: string;
134
+ name: string;
135
+ isLocked: boolean;
136
+ parentFolderId: string | null;
137
+ createdAt: Date;
138
+ updatedAt: Date;
139
+ _count: FolderCountAggregateOutputType | null;
140
+ _min: FolderMinAggregateOutputType | null;
141
+ _max: FolderMaxAggregateOutputType | null;
142
+ };
143
+ type GetFolderGroupByPayload<T extends FolderGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FolderGroupByOutputType, T['by']> & {
144
+ [P in ((keyof T) & (keyof FolderGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FolderGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FolderGroupByOutputType[P]>;
145
+ }>>;
146
+ export type FolderWhereInput = {
147
+ AND?: Prisma.FolderWhereInput | Prisma.FolderWhereInput[];
148
+ OR?: Prisma.FolderWhereInput[];
149
+ NOT?: Prisma.FolderWhereInput | Prisma.FolderWhereInput[];
150
+ id?: Prisma.StringFilter<"Folder"> | string;
151
+ key?: Prisma.StringFilter<"Folder"> | string;
152
+ name?: Prisma.StringFilter<"Folder"> | string;
153
+ isLocked?: Prisma.BoolFilter<"Folder"> | boolean;
154
+ parentFolderId?: Prisma.StringNullableFilter<"Folder"> | string | null;
155
+ createdAt?: Prisma.DateTimeFilter<"Folder"> | Date | string;
156
+ updatedAt?: Prisma.DateTimeFilter<"Folder"> | Date | string;
157
+ parentFolder?: Prisma.XOR<Prisma.FolderNullableScalarRelationFilter, Prisma.FolderWhereInput> | null;
158
+ subFolders?: Prisma.FolderListRelationFilter;
159
+ files?: Prisma.FileListRelationFilter;
160
+ };
161
+ export type FolderOrderByWithRelationInput = {
162
+ id?: Prisma.SortOrder;
163
+ key?: Prisma.SortOrder;
164
+ name?: Prisma.SortOrder;
165
+ isLocked?: Prisma.SortOrder;
166
+ parentFolderId?: Prisma.SortOrderInput | Prisma.SortOrder;
167
+ createdAt?: Prisma.SortOrder;
168
+ updatedAt?: Prisma.SortOrder;
169
+ parentFolder?: Prisma.FolderOrderByWithRelationInput;
170
+ subFolders?: Prisma.FolderOrderByRelationAggregateInput;
171
+ files?: Prisma.FileOrderByRelationAggregateInput;
172
+ };
173
+ export type FolderWhereUniqueInput = Prisma.AtLeast<{
174
+ id?: string;
175
+ key?: string;
176
+ AND?: Prisma.FolderWhereInput | Prisma.FolderWhereInput[];
177
+ OR?: Prisma.FolderWhereInput[];
178
+ NOT?: Prisma.FolderWhereInput | Prisma.FolderWhereInput[];
179
+ name?: Prisma.StringFilter<"Folder"> | string;
180
+ isLocked?: Prisma.BoolFilter<"Folder"> | boolean;
181
+ parentFolderId?: Prisma.StringNullableFilter<"Folder"> | string | null;
182
+ createdAt?: Prisma.DateTimeFilter<"Folder"> | Date | string;
183
+ updatedAt?: Prisma.DateTimeFilter<"Folder"> | Date | string;
184
+ parentFolder?: Prisma.XOR<Prisma.FolderNullableScalarRelationFilter, Prisma.FolderWhereInput> | null;
185
+ subFolders?: Prisma.FolderListRelationFilter;
186
+ files?: Prisma.FileListRelationFilter;
187
+ }, "id" | "key">;
188
+ export type FolderOrderByWithAggregationInput = {
189
+ id?: Prisma.SortOrder;
190
+ key?: Prisma.SortOrder;
191
+ name?: Prisma.SortOrder;
192
+ isLocked?: Prisma.SortOrder;
193
+ parentFolderId?: Prisma.SortOrderInput | Prisma.SortOrder;
194
+ createdAt?: Prisma.SortOrder;
195
+ updatedAt?: Prisma.SortOrder;
196
+ _count?: Prisma.FolderCountOrderByAggregateInput;
197
+ _max?: Prisma.FolderMaxOrderByAggregateInput;
198
+ _min?: Prisma.FolderMinOrderByAggregateInput;
199
+ };
200
+ export type FolderScalarWhereWithAggregatesInput = {
201
+ AND?: Prisma.FolderScalarWhereWithAggregatesInput | Prisma.FolderScalarWhereWithAggregatesInput[];
202
+ OR?: Prisma.FolderScalarWhereWithAggregatesInput[];
203
+ NOT?: Prisma.FolderScalarWhereWithAggregatesInput | Prisma.FolderScalarWhereWithAggregatesInput[];
204
+ id?: Prisma.StringWithAggregatesFilter<"Folder"> | string;
205
+ key?: Prisma.StringWithAggregatesFilter<"Folder"> | string;
206
+ name?: Prisma.StringWithAggregatesFilter<"Folder"> | string;
207
+ isLocked?: Prisma.BoolWithAggregatesFilter<"Folder"> | boolean;
208
+ parentFolderId?: Prisma.StringNullableWithAggregatesFilter<"Folder"> | string | null;
209
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Folder"> | Date | string;
210
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Folder"> | Date | string;
211
+ };
212
+ export type FolderCreateInput = {
213
+ id?: string;
214
+ key: string;
215
+ name: string;
216
+ isLocked?: boolean;
217
+ createdAt?: Date | string;
218
+ updatedAt?: Date | string;
219
+ parentFolder?: Prisma.FolderCreateNestedOneWithoutSubFoldersInput;
220
+ subFolders?: Prisma.FolderCreateNestedManyWithoutParentFolderInput;
221
+ files?: Prisma.FileCreateNestedManyWithoutFolderInput;
222
+ };
223
+ export type FolderUncheckedCreateInput = {
224
+ id?: string;
225
+ key: string;
226
+ name: string;
227
+ isLocked?: boolean;
228
+ parentFolderId?: string | null;
229
+ createdAt?: Date | string;
230
+ updatedAt?: Date | string;
231
+ subFolders?: Prisma.FolderUncheckedCreateNestedManyWithoutParentFolderInput;
232
+ files?: Prisma.FileUncheckedCreateNestedManyWithoutFolderInput;
233
+ };
234
+ export type FolderUpdateInput = {
235
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
236
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
237
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
238
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
239
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
240
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
241
+ parentFolder?: Prisma.FolderUpdateOneWithoutSubFoldersNestedInput;
242
+ subFolders?: Prisma.FolderUpdateManyWithoutParentFolderNestedInput;
243
+ files?: Prisma.FileUpdateManyWithoutFolderNestedInput;
244
+ };
245
+ export type FolderUncheckedUpdateInput = {
246
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
247
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
248
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
249
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
250
+ parentFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
251
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
252
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
253
+ subFolders?: Prisma.FolderUncheckedUpdateManyWithoutParentFolderNestedInput;
254
+ files?: Prisma.FileUncheckedUpdateManyWithoutFolderNestedInput;
255
+ };
256
+ export type FolderCreateManyInput = {
257
+ id?: string;
258
+ key: string;
259
+ name: string;
260
+ isLocked?: boolean;
261
+ parentFolderId?: string | null;
262
+ createdAt?: Date | string;
263
+ updatedAt?: Date | string;
264
+ };
265
+ export type FolderUpdateManyMutationInput = {
266
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
267
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
268
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
269
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
270
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
271
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
272
+ };
273
+ export type FolderUncheckedUpdateManyInput = {
274
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
275
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
276
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
278
+ parentFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
279
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
280
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
281
+ };
282
+ export type FolderNullableScalarRelationFilter = {
283
+ is?: Prisma.FolderWhereInput | null;
284
+ isNot?: Prisma.FolderWhereInput | null;
285
+ };
286
+ export type FolderListRelationFilter = {
287
+ every?: Prisma.FolderWhereInput;
288
+ some?: Prisma.FolderWhereInput;
289
+ none?: Prisma.FolderWhereInput;
290
+ };
291
+ export type FolderOrderByRelationAggregateInput = {
292
+ _count?: Prisma.SortOrder;
293
+ };
294
+ export type FolderCountOrderByAggregateInput = {
295
+ id?: Prisma.SortOrder;
296
+ key?: Prisma.SortOrder;
297
+ name?: Prisma.SortOrder;
298
+ isLocked?: Prisma.SortOrder;
299
+ parentFolderId?: Prisma.SortOrder;
300
+ createdAt?: Prisma.SortOrder;
301
+ updatedAt?: Prisma.SortOrder;
302
+ };
303
+ export type FolderMaxOrderByAggregateInput = {
304
+ id?: Prisma.SortOrder;
305
+ key?: Prisma.SortOrder;
306
+ name?: Prisma.SortOrder;
307
+ isLocked?: Prisma.SortOrder;
308
+ parentFolderId?: Prisma.SortOrder;
309
+ createdAt?: Prisma.SortOrder;
310
+ updatedAt?: Prisma.SortOrder;
311
+ };
312
+ export type FolderMinOrderByAggregateInput = {
313
+ id?: Prisma.SortOrder;
314
+ key?: Prisma.SortOrder;
315
+ name?: Prisma.SortOrder;
316
+ isLocked?: Prisma.SortOrder;
317
+ parentFolderId?: Prisma.SortOrder;
318
+ createdAt?: Prisma.SortOrder;
319
+ updatedAt?: Prisma.SortOrder;
320
+ };
321
+ export type FolderCreateNestedOneWithoutFilesInput = {
322
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutFilesInput, Prisma.FolderUncheckedCreateWithoutFilesInput>;
323
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutFilesInput;
324
+ connect?: Prisma.FolderWhereUniqueInput;
325
+ };
326
+ export type FolderUpdateOneWithoutFilesNestedInput = {
327
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutFilesInput, Prisma.FolderUncheckedCreateWithoutFilesInput>;
328
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutFilesInput;
329
+ upsert?: Prisma.FolderUpsertWithoutFilesInput;
330
+ disconnect?: Prisma.FolderWhereInput | boolean;
331
+ delete?: Prisma.FolderWhereInput | boolean;
332
+ connect?: Prisma.FolderWhereUniqueInput;
333
+ update?: Prisma.XOR<Prisma.XOR<Prisma.FolderUpdateToOneWithWhereWithoutFilesInput, Prisma.FolderUpdateWithoutFilesInput>, Prisma.FolderUncheckedUpdateWithoutFilesInput>;
334
+ };
335
+ export type FolderCreateNestedOneWithoutSubFoldersInput = {
336
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutSubFoldersInput, Prisma.FolderUncheckedCreateWithoutSubFoldersInput>;
337
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutSubFoldersInput;
338
+ connect?: Prisma.FolderWhereUniqueInput;
339
+ };
340
+ export type FolderCreateNestedManyWithoutParentFolderInput = {
341
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutParentFolderInput, Prisma.FolderUncheckedCreateWithoutParentFolderInput> | Prisma.FolderCreateWithoutParentFolderInput[] | Prisma.FolderUncheckedCreateWithoutParentFolderInput[];
342
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutParentFolderInput | Prisma.FolderCreateOrConnectWithoutParentFolderInput[];
343
+ createMany?: Prisma.FolderCreateManyParentFolderInputEnvelope;
344
+ connect?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
345
+ };
346
+ export type FolderUncheckedCreateNestedManyWithoutParentFolderInput = {
347
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutParentFolderInput, Prisma.FolderUncheckedCreateWithoutParentFolderInput> | Prisma.FolderCreateWithoutParentFolderInput[] | Prisma.FolderUncheckedCreateWithoutParentFolderInput[];
348
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutParentFolderInput | Prisma.FolderCreateOrConnectWithoutParentFolderInput[];
349
+ createMany?: Prisma.FolderCreateManyParentFolderInputEnvelope;
350
+ connect?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
351
+ };
352
+ export type FolderUpdateOneWithoutSubFoldersNestedInput = {
353
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutSubFoldersInput, Prisma.FolderUncheckedCreateWithoutSubFoldersInput>;
354
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutSubFoldersInput;
355
+ upsert?: Prisma.FolderUpsertWithoutSubFoldersInput;
356
+ disconnect?: Prisma.FolderWhereInput | boolean;
357
+ delete?: Prisma.FolderWhereInput | boolean;
358
+ connect?: Prisma.FolderWhereUniqueInput;
359
+ update?: Prisma.XOR<Prisma.XOR<Prisma.FolderUpdateToOneWithWhereWithoutSubFoldersInput, Prisma.FolderUpdateWithoutSubFoldersInput>, Prisma.FolderUncheckedUpdateWithoutSubFoldersInput>;
360
+ };
361
+ export type FolderUpdateManyWithoutParentFolderNestedInput = {
362
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutParentFolderInput, Prisma.FolderUncheckedCreateWithoutParentFolderInput> | Prisma.FolderCreateWithoutParentFolderInput[] | Prisma.FolderUncheckedCreateWithoutParentFolderInput[];
363
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutParentFolderInput | Prisma.FolderCreateOrConnectWithoutParentFolderInput[];
364
+ upsert?: Prisma.FolderUpsertWithWhereUniqueWithoutParentFolderInput | Prisma.FolderUpsertWithWhereUniqueWithoutParentFolderInput[];
365
+ createMany?: Prisma.FolderCreateManyParentFolderInputEnvelope;
366
+ set?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
367
+ disconnect?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
368
+ delete?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
369
+ connect?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
370
+ update?: Prisma.FolderUpdateWithWhereUniqueWithoutParentFolderInput | Prisma.FolderUpdateWithWhereUniqueWithoutParentFolderInput[];
371
+ updateMany?: Prisma.FolderUpdateManyWithWhereWithoutParentFolderInput | Prisma.FolderUpdateManyWithWhereWithoutParentFolderInput[];
372
+ deleteMany?: Prisma.FolderScalarWhereInput | Prisma.FolderScalarWhereInput[];
373
+ };
374
+ export type FolderUncheckedUpdateManyWithoutParentFolderNestedInput = {
375
+ create?: Prisma.XOR<Prisma.FolderCreateWithoutParentFolderInput, Prisma.FolderUncheckedCreateWithoutParentFolderInput> | Prisma.FolderCreateWithoutParentFolderInput[] | Prisma.FolderUncheckedCreateWithoutParentFolderInput[];
376
+ connectOrCreate?: Prisma.FolderCreateOrConnectWithoutParentFolderInput | Prisma.FolderCreateOrConnectWithoutParentFolderInput[];
377
+ upsert?: Prisma.FolderUpsertWithWhereUniqueWithoutParentFolderInput | Prisma.FolderUpsertWithWhereUniqueWithoutParentFolderInput[];
378
+ createMany?: Prisma.FolderCreateManyParentFolderInputEnvelope;
379
+ set?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
380
+ disconnect?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
381
+ delete?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
382
+ connect?: Prisma.FolderWhereUniqueInput | Prisma.FolderWhereUniqueInput[];
383
+ update?: Prisma.FolderUpdateWithWhereUniqueWithoutParentFolderInput | Prisma.FolderUpdateWithWhereUniqueWithoutParentFolderInput[];
384
+ updateMany?: Prisma.FolderUpdateManyWithWhereWithoutParentFolderInput | Prisma.FolderUpdateManyWithWhereWithoutParentFolderInput[];
385
+ deleteMany?: Prisma.FolderScalarWhereInput | Prisma.FolderScalarWhereInput[];
386
+ };
387
+ export type FolderCreateWithoutFilesInput = {
388
+ id?: string;
389
+ key: string;
390
+ name: string;
391
+ isLocked?: boolean;
392
+ createdAt?: Date | string;
393
+ updatedAt?: Date | string;
394
+ parentFolder?: Prisma.FolderCreateNestedOneWithoutSubFoldersInput;
395
+ subFolders?: Prisma.FolderCreateNestedManyWithoutParentFolderInput;
396
+ };
397
+ export type FolderUncheckedCreateWithoutFilesInput = {
398
+ id?: string;
399
+ key: string;
400
+ name: string;
401
+ isLocked?: boolean;
402
+ parentFolderId?: string | null;
403
+ createdAt?: Date | string;
404
+ updatedAt?: Date | string;
405
+ subFolders?: Prisma.FolderUncheckedCreateNestedManyWithoutParentFolderInput;
406
+ };
407
+ export type FolderCreateOrConnectWithoutFilesInput = {
408
+ where: Prisma.FolderWhereUniqueInput;
409
+ create: Prisma.XOR<Prisma.FolderCreateWithoutFilesInput, Prisma.FolderUncheckedCreateWithoutFilesInput>;
410
+ };
411
+ export type FolderUpsertWithoutFilesInput = {
412
+ update: Prisma.XOR<Prisma.FolderUpdateWithoutFilesInput, Prisma.FolderUncheckedUpdateWithoutFilesInput>;
413
+ create: Prisma.XOR<Prisma.FolderCreateWithoutFilesInput, Prisma.FolderUncheckedCreateWithoutFilesInput>;
414
+ where?: Prisma.FolderWhereInput;
415
+ };
416
+ export type FolderUpdateToOneWithWhereWithoutFilesInput = {
417
+ where?: Prisma.FolderWhereInput;
418
+ data: Prisma.XOR<Prisma.FolderUpdateWithoutFilesInput, Prisma.FolderUncheckedUpdateWithoutFilesInput>;
419
+ };
420
+ export type FolderUpdateWithoutFilesInput = {
421
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
422
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
423
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
424
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
425
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
426
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
427
+ parentFolder?: Prisma.FolderUpdateOneWithoutSubFoldersNestedInput;
428
+ subFolders?: Prisma.FolderUpdateManyWithoutParentFolderNestedInput;
429
+ };
430
+ export type FolderUncheckedUpdateWithoutFilesInput = {
431
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
432
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
433
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
434
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
435
+ parentFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
436
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
437
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
438
+ subFolders?: Prisma.FolderUncheckedUpdateManyWithoutParentFolderNestedInput;
439
+ };
440
+ export type FolderCreateWithoutSubFoldersInput = {
441
+ id?: string;
442
+ key: string;
443
+ name: string;
444
+ isLocked?: boolean;
445
+ createdAt?: Date | string;
446
+ updatedAt?: Date | string;
447
+ parentFolder?: Prisma.FolderCreateNestedOneWithoutSubFoldersInput;
448
+ files?: Prisma.FileCreateNestedManyWithoutFolderInput;
449
+ };
450
+ export type FolderUncheckedCreateWithoutSubFoldersInput = {
451
+ id?: string;
452
+ key: string;
453
+ name: string;
454
+ isLocked?: boolean;
455
+ parentFolderId?: string | null;
456
+ createdAt?: Date | string;
457
+ updatedAt?: Date | string;
458
+ files?: Prisma.FileUncheckedCreateNestedManyWithoutFolderInput;
459
+ };
460
+ export type FolderCreateOrConnectWithoutSubFoldersInput = {
461
+ where: Prisma.FolderWhereUniqueInput;
462
+ create: Prisma.XOR<Prisma.FolderCreateWithoutSubFoldersInput, Prisma.FolderUncheckedCreateWithoutSubFoldersInput>;
463
+ };
464
+ export type FolderCreateWithoutParentFolderInput = {
465
+ id?: string;
466
+ key: string;
467
+ name: string;
468
+ isLocked?: boolean;
469
+ createdAt?: Date | string;
470
+ updatedAt?: Date | string;
471
+ subFolders?: Prisma.FolderCreateNestedManyWithoutParentFolderInput;
472
+ files?: Prisma.FileCreateNestedManyWithoutFolderInput;
473
+ };
474
+ export type FolderUncheckedCreateWithoutParentFolderInput = {
475
+ id?: string;
476
+ key: string;
477
+ name: string;
478
+ isLocked?: boolean;
479
+ createdAt?: Date | string;
480
+ updatedAt?: Date | string;
481
+ subFolders?: Prisma.FolderUncheckedCreateNestedManyWithoutParentFolderInput;
482
+ files?: Prisma.FileUncheckedCreateNestedManyWithoutFolderInput;
483
+ };
484
+ export type FolderCreateOrConnectWithoutParentFolderInput = {
485
+ where: Prisma.FolderWhereUniqueInput;
486
+ create: Prisma.XOR<Prisma.FolderCreateWithoutParentFolderInput, Prisma.FolderUncheckedCreateWithoutParentFolderInput>;
487
+ };
488
+ export type FolderCreateManyParentFolderInputEnvelope = {
489
+ data: Prisma.FolderCreateManyParentFolderInput | Prisma.FolderCreateManyParentFolderInput[];
490
+ skipDuplicates?: boolean;
491
+ };
492
+ export type FolderUpsertWithoutSubFoldersInput = {
493
+ update: Prisma.XOR<Prisma.FolderUpdateWithoutSubFoldersInput, Prisma.FolderUncheckedUpdateWithoutSubFoldersInput>;
494
+ create: Prisma.XOR<Prisma.FolderCreateWithoutSubFoldersInput, Prisma.FolderUncheckedCreateWithoutSubFoldersInput>;
495
+ where?: Prisma.FolderWhereInput;
496
+ };
497
+ export type FolderUpdateToOneWithWhereWithoutSubFoldersInput = {
498
+ where?: Prisma.FolderWhereInput;
499
+ data: Prisma.XOR<Prisma.FolderUpdateWithoutSubFoldersInput, Prisma.FolderUncheckedUpdateWithoutSubFoldersInput>;
500
+ };
501
+ export type FolderUpdateWithoutSubFoldersInput = {
502
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
503
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
504
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
505
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
506
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
507
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
508
+ parentFolder?: Prisma.FolderUpdateOneWithoutSubFoldersNestedInput;
509
+ files?: Prisma.FileUpdateManyWithoutFolderNestedInput;
510
+ };
511
+ export type FolderUncheckedUpdateWithoutSubFoldersInput = {
512
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
513
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
514
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
515
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
516
+ parentFolderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
517
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
518
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
519
+ files?: Prisma.FileUncheckedUpdateManyWithoutFolderNestedInput;
520
+ };
521
+ export type FolderUpsertWithWhereUniqueWithoutParentFolderInput = {
522
+ where: Prisma.FolderWhereUniqueInput;
523
+ update: Prisma.XOR<Prisma.FolderUpdateWithoutParentFolderInput, Prisma.FolderUncheckedUpdateWithoutParentFolderInput>;
524
+ create: Prisma.XOR<Prisma.FolderCreateWithoutParentFolderInput, Prisma.FolderUncheckedCreateWithoutParentFolderInput>;
525
+ };
526
+ export type FolderUpdateWithWhereUniqueWithoutParentFolderInput = {
527
+ where: Prisma.FolderWhereUniqueInput;
528
+ data: Prisma.XOR<Prisma.FolderUpdateWithoutParentFolderInput, Prisma.FolderUncheckedUpdateWithoutParentFolderInput>;
529
+ };
530
+ export type FolderUpdateManyWithWhereWithoutParentFolderInput = {
531
+ where: Prisma.FolderScalarWhereInput;
532
+ data: Prisma.XOR<Prisma.FolderUpdateManyMutationInput, Prisma.FolderUncheckedUpdateManyWithoutParentFolderInput>;
533
+ };
534
+ export type FolderScalarWhereInput = {
535
+ AND?: Prisma.FolderScalarWhereInput | Prisma.FolderScalarWhereInput[];
536
+ OR?: Prisma.FolderScalarWhereInput[];
537
+ NOT?: Prisma.FolderScalarWhereInput | Prisma.FolderScalarWhereInput[];
538
+ id?: Prisma.StringFilter<"Folder"> | string;
539
+ key?: Prisma.StringFilter<"Folder"> | string;
540
+ name?: Prisma.StringFilter<"Folder"> | string;
541
+ isLocked?: Prisma.BoolFilter<"Folder"> | boolean;
542
+ parentFolderId?: Prisma.StringNullableFilter<"Folder"> | string | null;
543
+ createdAt?: Prisma.DateTimeFilter<"Folder"> | Date | string;
544
+ updatedAt?: Prisma.DateTimeFilter<"Folder"> | Date | string;
545
+ };
546
+ export type FolderCreateManyParentFolderInput = {
547
+ id?: string;
548
+ key: string;
549
+ name: string;
550
+ isLocked?: boolean;
551
+ createdAt?: Date | string;
552
+ updatedAt?: Date | string;
553
+ };
554
+ export type FolderUpdateWithoutParentFolderInput = {
555
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
556
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
557
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
558
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
559
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
560
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
561
+ subFolders?: Prisma.FolderUpdateManyWithoutParentFolderNestedInput;
562
+ files?: Prisma.FileUpdateManyWithoutFolderNestedInput;
563
+ };
564
+ export type FolderUncheckedUpdateWithoutParentFolderInput = {
565
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
566
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
567
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
568
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
569
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
570
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
571
+ subFolders?: Prisma.FolderUncheckedUpdateManyWithoutParentFolderNestedInput;
572
+ files?: Prisma.FileUncheckedUpdateManyWithoutFolderNestedInput;
573
+ };
574
+ export type FolderUncheckedUpdateManyWithoutParentFolderInput = {
575
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
576
+ key?: Prisma.StringFieldUpdateOperationsInput | string;
577
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
578
+ isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
579
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
580
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
581
+ };
582
+ /**
583
+ * Count Type FolderCountOutputType
584
+ */
585
+ export type FolderCountOutputType = {
586
+ subFolders: number;
587
+ files: number;
588
+ };
589
+ export type FolderCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
590
+ subFolders?: boolean | FolderCountOutputTypeCountSubFoldersArgs;
591
+ files?: boolean | FolderCountOutputTypeCountFilesArgs;
592
+ };
593
+ /**
594
+ * FolderCountOutputType without action
595
+ */
596
+ export type FolderCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
597
+ /**
598
+ * Select specific fields to fetch from the FolderCountOutputType
599
+ */
600
+ select?: Prisma.FolderCountOutputTypeSelect<ExtArgs> | null;
601
+ };
602
+ /**
603
+ * FolderCountOutputType without action
604
+ */
605
+ export type FolderCountOutputTypeCountSubFoldersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
606
+ where?: Prisma.FolderWhereInput;
607
+ };
608
+ /**
609
+ * FolderCountOutputType without action
610
+ */
611
+ export type FolderCountOutputTypeCountFilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
612
+ where?: Prisma.FileWhereInput;
613
+ };
614
+ export type FolderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
615
+ id?: boolean;
616
+ key?: boolean;
617
+ name?: boolean;
618
+ isLocked?: boolean;
619
+ parentFolderId?: boolean;
620
+ createdAt?: boolean;
621
+ updatedAt?: boolean;
622
+ parentFolder?: boolean | Prisma.Folder$parentFolderArgs<ExtArgs>;
623
+ subFolders?: boolean | Prisma.Folder$subFoldersArgs<ExtArgs>;
624
+ files?: boolean | Prisma.Folder$filesArgs<ExtArgs>;
625
+ _count?: boolean | Prisma.FolderCountOutputTypeDefaultArgs<ExtArgs>;
626
+ }, ExtArgs["result"]["folder"]>;
627
+ export type FolderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
628
+ id?: boolean;
629
+ key?: boolean;
630
+ name?: boolean;
631
+ isLocked?: boolean;
632
+ parentFolderId?: boolean;
633
+ createdAt?: boolean;
634
+ updatedAt?: boolean;
635
+ parentFolder?: boolean | Prisma.Folder$parentFolderArgs<ExtArgs>;
636
+ }, ExtArgs["result"]["folder"]>;
637
+ export type FolderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
638
+ id?: boolean;
639
+ key?: boolean;
640
+ name?: boolean;
641
+ isLocked?: boolean;
642
+ parentFolderId?: boolean;
643
+ createdAt?: boolean;
644
+ updatedAt?: boolean;
645
+ parentFolder?: boolean | Prisma.Folder$parentFolderArgs<ExtArgs>;
646
+ }, ExtArgs["result"]["folder"]>;
647
+ export type FolderSelectScalar = {
648
+ id?: boolean;
649
+ key?: boolean;
650
+ name?: boolean;
651
+ isLocked?: boolean;
652
+ parentFolderId?: boolean;
653
+ createdAt?: boolean;
654
+ updatedAt?: boolean;
655
+ };
656
+ export type FolderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "name" | "isLocked" | "parentFolderId" | "createdAt" | "updatedAt", ExtArgs["result"]["folder"]>;
657
+ export type FolderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
658
+ parentFolder?: boolean | Prisma.Folder$parentFolderArgs<ExtArgs>;
659
+ subFolders?: boolean | Prisma.Folder$subFoldersArgs<ExtArgs>;
660
+ files?: boolean | Prisma.Folder$filesArgs<ExtArgs>;
661
+ _count?: boolean | Prisma.FolderCountOutputTypeDefaultArgs<ExtArgs>;
662
+ };
663
+ export type FolderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
664
+ parentFolder?: boolean | Prisma.Folder$parentFolderArgs<ExtArgs>;
665
+ };
666
+ export type FolderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
667
+ parentFolder?: boolean | Prisma.Folder$parentFolderArgs<ExtArgs>;
668
+ };
669
+ export type $FolderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
670
+ name: "Folder";
671
+ objects: {
672
+ parentFolder: Prisma.$FolderPayload<ExtArgs> | null;
673
+ subFolders: Prisma.$FolderPayload<ExtArgs>[];
674
+ files: Prisma.$FilePayload<ExtArgs>[];
675
+ };
676
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
677
+ id: string;
678
+ key: string;
679
+ name: string;
680
+ isLocked: boolean;
681
+ parentFolderId: string | null;
682
+ createdAt: Date;
683
+ updatedAt: Date;
684
+ }, ExtArgs["result"]["folder"]>;
685
+ composites: {};
686
+ };
687
+ export type FolderGetPayload<S extends boolean | null | undefined | FolderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FolderPayload, S>;
688
+ export type FolderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FolderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
689
+ select?: FolderCountAggregateInputType | true;
690
+ };
691
+ export interface FolderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
692
+ [K: symbol]: {
693
+ types: Prisma.TypeMap<ExtArgs>['model']['Folder'];
694
+ meta: {
695
+ name: 'Folder';
696
+ };
697
+ };
698
+ /**
699
+ * Find zero or one Folder that matches the filter.
700
+ * @param {FolderFindUniqueArgs} args - Arguments to find a Folder
701
+ * @example
702
+ * // Get one Folder
703
+ * const folder = await prisma.folder.findUnique({
704
+ * where: {
705
+ * // ... provide filter here
706
+ * }
707
+ * })
708
+ */
709
+ findUnique<T extends FolderFindUniqueArgs>(args: Prisma.SelectSubset<T, FolderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
710
+ /**
711
+ * Find one Folder that matches the filter or throw an error with `error.code='P2025'`
712
+ * if no matches were found.
713
+ * @param {FolderFindUniqueOrThrowArgs} args - Arguments to find a Folder
714
+ * @example
715
+ * // Get one Folder
716
+ * const folder = await prisma.folder.findUniqueOrThrow({
717
+ * where: {
718
+ * // ... provide filter here
719
+ * }
720
+ * })
721
+ */
722
+ findUniqueOrThrow<T extends FolderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FolderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
723
+ /**
724
+ * Find the first Folder that matches the filter.
725
+ * Note, that providing `undefined` is treated as the value not being there.
726
+ * Read more here: https://pris.ly/d/null-undefined
727
+ * @param {FolderFindFirstArgs} args - Arguments to find a Folder
728
+ * @example
729
+ * // Get one Folder
730
+ * const folder = await prisma.folder.findFirst({
731
+ * where: {
732
+ * // ... provide filter here
733
+ * }
734
+ * })
735
+ */
736
+ findFirst<T extends FolderFindFirstArgs>(args?: Prisma.SelectSubset<T, FolderFindFirstArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
737
+ /**
738
+ * Find the first Folder that matches the filter or
739
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
740
+ * Note, that providing `undefined` is treated as the value not being there.
741
+ * Read more here: https://pris.ly/d/null-undefined
742
+ * @param {FolderFindFirstOrThrowArgs} args - Arguments to find a Folder
743
+ * @example
744
+ * // Get one Folder
745
+ * const folder = await prisma.folder.findFirstOrThrow({
746
+ * where: {
747
+ * // ... provide filter here
748
+ * }
749
+ * })
750
+ */
751
+ findFirstOrThrow<T extends FolderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FolderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
752
+ /**
753
+ * Find zero or more Folders that matches the filter.
754
+ * Note, that providing `undefined` is treated as the value not being there.
755
+ * Read more here: https://pris.ly/d/null-undefined
756
+ * @param {FolderFindManyArgs} args - Arguments to filter and select certain fields only.
757
+ * @example
758
+ * // Get all Folders
759
+ * const folders = await prisma.folder.findMany()
760
+ *
761
+ * // Get first 10 Folders
762
+ * const folders = await prisma.folder.findMany({ take: 10 })
763
+ *
764
+ * // Only select the `id`
765
+ * const folderWithIdOnly = await prisma.folder.findMany({ select: { id: true } })
766
+ *
767
+ */
768
+ findMany<T extends FolderFindManyArgs>(args?: Prisma.SelectSubset<T, FolderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
769
+ /**
770
+ * Create a Folder.
771
+ * @param {FolderCreateArgs} args - Arguments to create a Folder.
772
+ * @example
773
+ * // Create one Folder
774
+ * const Folder = await prisma.folder.create({
775
+ * data: {
776
+ * // ... data to create a Folder
777
+ * }
778
+ * })
779
+ *
780
+ */
781
+ create<T extends FolderCreateArgs>(args: Prisma.SelectSubset<T, FolderCreateArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
782
+ /**
783
+ * Create many Folders.
784
+ * @param {FolderCreateManyArgs} args - Arguments to create many Folders.
785
+ * @example
786
+ * // Create many Folders
787
+ * const folder = await prisma.folder.createMany({
788
+ * data: [
789
+ * // ... provide data here
790
+ * ]
791
+ * })
792
+ *
793
+ */
794
+ createMany<T extends FolderCreateManyArgs>(args?: Prisma.SelectSubset<T, FolderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
795
+ /**
796
+ * Create many Folders and returns the data saved in the database.
797
+ * @param {FolderCreateManyAndReturnArgs} args - Arguments to create many Folders.
798
+ * @example
799
+ * // Create many Folders
800
+ * const folder = await prisma.folder.createManyAndReturn({
801
+ * data: [
802
+ * // ... provide data here
803
+ * ]
804
+ * })
805
+ *
806
+ * // Create many Folders and only return the `id`
807
+ * const folderWithIdOnly = await prisma.folder.createManyAndReturn({
808
+ * select: { id: true },
809
+ * data: [
810
+ * // ... provide data here
811
+ * ]
812
+ * })
813
+ * Note, that providing `undefined` is treated as the value not being there.
814
+ * Read more here: https://pris.ly/d/null-undefined
815
+ *
816
+ */
817
+ createManyAndReturn<T extends FolderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FolderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
818
+ /**
819
+ * Delete a Folder.
820
+ * @param {FolderDeleteArgs} args - Arguments to delete one Folder.
821
+ * @example
822
+ * // Delete one Folder
823
+ * const Folder = await prisma.folder.delete({
824
+ * where: {
825
+ * // ... filter to delete one Folder
826
+ * }
827
+ * })
828
+ *
829
+ */
830
+ delete<T extends FolderDeleteArgs>(args: Prisma.SelectSubset<T, FolderDeleteArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
831
+ /**
832
+ * Update one Folder.
833
+ * @param {FolderUpdateArgs} args - Arguments to update one Folder.
834
+ * @example
835
+ * // Update one Folder
836
+ * const folder = await prisma.folder.update({
837
+ * where: {
838
+ * // ... provide filter here
839
+ * },
840
+ * data: {
841
+ * // ... provide data here
842
+ * }
843
+ * })
844
+ *
845
+ */
846
+ update<T extends FolderUpdateArgs>(args: Prisma.SelectSubset<T, FolderUpdateArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
847
+ /**
848
+ * Delete zero or more Folders.
849
+ * @param {FolderDeleteManyArgs} args - Arguments to filter Folders to delete.
850
+ * @example
851
+ * // Delete a few Folders
852
+ * const { count } = await prisma.folder.deleteMany({
853
+ * where: {
854
+ * // ... provide filter here
855
+ * }
856
+ * })
857
+ *
858
+ */
859
+ deleteMany<T extends FolderDeleteManyArgs>(args?: Prisma.SelectSubset<T, FolderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
860
+ /**
861
+ * Update zero or more Folders.
862
+ * Note, that providing `undefined` is treated as the value not being there.
863
+ * Read more here: https://pris.ly/d/null-undefined
864
+ * @param {FolderUpdateManyArgs} args - Arguments to update one or more rows.
865
+ * @example
866
+ * // Update many Folders
867
+ * const folder = await prisma.folder.updateMany({
868
+ * where: {
869
+ * // ... provide filter here
870
+ * },
871
+ * data: {
872
+ * // ... provide data here
873
+ * }
874
+ * })
875
+ *
876
+ */
877
+ updateMany<T extends FolderUpdateManyArgs>(args: Prisma.SelectSubset<T, FolderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
878
+ /**
879
+ * Update zero or more Folders and returns the data updated in the database.
880
+ * @param {FolderUpdateManyAndReturnArgs} args - Arguments to update many Folders.
881
+ * @example
882
+ * // Update many Folders
883
+ * const folder = await prisma.folder.updateManyAndReturn({
884
+ * where: {
885
+ * // ... provide filter here
886
+ * },
887
+ * data: [
888
+ * // ... provide data here
889
+ * ]
890
+ * })
891
+ *
892
+ * // Update zero or more Folders and only return the `id`
893
+ * const folderWithIdOnly = await prisma.folder.updateManyAndReturn({
894
+ * select: { id: true },
895
+ * where: {
896
+ * // ... provide filter here
897
+ * },
898
+ * data: [
899
+ * // ... provide data here
900
+ * ]
901
+ * })
902
+ * Note, that providing `undefined` is treated as the value not being there.
903
+ * Read more here: https://pris.ly/d/null-undefined
904
+ *
905
+ */
906
+ updateManyAndReturn<T extends FolderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FolderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
907
+ /**
908
+ * Create or update one Folder.
909
+ * @param {FolderUpsertArgs} args - Arguments to update or create a Folder.
910
+ * @example
911
+ * // Update or create a Folder
912
+ * const folder = await prisma.folder.upsert({
913
+ * create: {
914
+ * // ... data to create a Folder
915
+ * },
916
+ * update: {
917
+ * // ... in case it already exists, update
918
+ * },
919
+ * where: {
920
+ * // ... the filter for the Folder we want to update
921
+ * }
922
+ * })
923
+ */
924
+ upsert<T extends FolderUpsertArgs>(args: Prisma.SelectSubset<T, FolderUpsertArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
925
+ /**
926
+ * Count the number of Folders.
927
+ * Note, that providing `undefined` is treated as the value not being there.
928
+ * Read more here: https://pris.ly/d/null-undefined
929
+ * @param {FolderCountArgs} args - Arguments to filter Folders to count.
930
+ * @example
931
+ * // Count the number of Folders
932
+ * const count = await prisma.folder.count({
933
+ * where: {
934
+ * // ... the filter for the Folders we want to count
935
+ * }
936
+ * })
937
+ **/
938
+ count<T extends FolderCountArgs>(args?: Prisma.Subset<T, FolderCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FolderCountAggregateOutputType> : number>;
939
+ /**
940
+ * Allows you to perform aggregations operations on a Folder.
941
+ * Note, that providing `undefined` is treated as the value not being there.
942
+ * Read more here: https://pris.ly/d/null-undefined
943
+ * @param {FolderAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
944
+ * @example
945
+ * // Ordered by age ascending
946
+ * // Where email contains prisma.io
947
+ * // Limited to the 10 users
948
+ * const aggregations = await prisma.user.aggregate({
949
+ * _avg: {
950
+ * age: true,
951
+ * },
952
+ * where: {
953
+ * email: {
954
+ * contains: "prisma.io",
955
+ * },
956
+ * },
957
+ * orderBy: {
958
+ * age: "asc",
959
+ * },
960
+ * take: 10,
961
+ * })
962
+ **/
963
+ aggregate<T extends FolderAggregateArgs>(args: Prisma.Subset<T, FolderAggregateArgs>): Prisma.PrismaPromise<GetFolderAggregateType<T>>;
964
+ /**
965
+ * Group by Folder.
966
+ * Note, that providing `undefined` is treated as the value not being there.
967
+ * Read more here: https://pris.ly/d/null-undefined
968
+ * @param {FolderGroupByArgs} args - Group by arguments.
969
+ * @example
970
+ * // Group by city, order by createdAt, get count
971
+ * const result = await prisma.user.groupBy({
972
+ * by: ['city', 'createdAt'],
973
+ * orderBy: {
974
+ * createdAt: true
975
+ * },
976
+ * _count: {
977
+ * _all: true
978
+ * },
979
+ * })
980
+ *
981
+ **/
982
+ groupBy<T extends FolderGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
983
+ orderBy: FolderGroupByArgs['orderBy'];
984
+ } : {
985
+ orderBy?: FolderGroupByArgs['orderBy'];
986
+ }, 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 ? {
987
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
988
+ Error,
989
+ 'Field ',
990
+ P,
991
+ ` in "having" needs to be provided in "by"`
992
+ ];
993
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
994
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
995
+ }[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 ? {} : {
996
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
997
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
998
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
999
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, FolderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFolderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1000
+ /**
1001
+ * Fields of the Folder model
1002
+ */
1003
+ readonly fields: FolderFieldRefs;
1004
+ }
1005
+ /**
1006
+ * The delegate class that acts as a "Promise-like" for Folder.
1007
+ * Why is this prefixed with `Prisma__`?
1008
+ * Because we want to prevent naming conflicts as mentioned in
1009
+ * https://github.com/prisma/prisma-client-js/issues/707
1010
+ */
1011
+ export interface Prisma__FolderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1012
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1013
+ parentFolder<T extends Prisma.Folder$parentFolderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Folder$parentFolderArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1014
+ subFolders<T extends Prisma.Folder$subFoldersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Folder$subFoldersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1015
+ files<T extends Prisma.Folder$filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Folder$filesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1016
+ /**
1017
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1018
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1019
+ * @param onrejected The callback to execute when the Promise is rejected.
1020
+ * @returns A Promise for the completion of which ever callback is executed.
1021
+ */
1022
+ 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>;
1023
+ /**
1024
+ * Attaches a callback for only the rejection of the Promise.
1025
+ * @param onrejected The callback to execute when the Promise is rejected.
1026
+ * @returns A Promise for the completion of the callback.
1027
+ */
1028
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1029
+ /**
1030
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1031
+ * resolved value cannot be modified from the callback.
1032
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1033
+ * @returns A Promise for the completion of the callback.
1034
+ */
1035
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1036
+ }
1037
+ /**
1038
+ * Fields of the Folder model
1039
+ */
1040
+ export interface FolderFieldRefs {
1041
+ readonly id: Prisma.FieldRef<"Folder", 'String'>;
1042
+ readonly key: Prisma.FieldRef<"Folder", 'String'>;
1043
+ readonly name: Prisma.FieldRef<"Folder", 'String'>;
1044
+ readonly isLocked: Prisma.FieldRef<"Folder", 'Boolean'>;
1045
+ readonly parentFolderId: Prisma.FieldRef<"Folder", 'String'>;
1046
+ readonly createdAt: Prisma.FieldRef<"Folder", 'DateTime'>;
1047
+ readonly updatedAt: Prisma.FieldRef<"Folder", 'DateTime'>;
1048
+ }
1049
+ /**
1050
+ * Folder findUnique
1051
+ */
1052
+ export type FolderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1053
+ /**
1054
+ * Select specific fields to fetch from the Folder
1055
+ */
1056
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1057
+ /**
1058
+ * Omit specific fields from the Folder
1059
+ */
1060
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1061
+ /**
1062
+ * Choose, which related nodes to fetch as well
1063
+ */
1064
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1065
+ /**
1066
+ * Filter, which Folder to fetch.
1067
+ */
1068
+ where: Prisma.FolderWhereUniqueInput;
1069
+ };
1070
+ /**
1071
+ * Folder findUniqueOrThrow
1072
+ */
1073
+ export type FolderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1074
+ /**
1075
+ * Select specific fields to fetch from the Folder
1076
+ */
1077
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1078
+ /**
1079
+ * Omit specific fields from the Folder
1080
+ */
1081
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1082
+ /**
1083
+ * Choose, which related nodes to fetch as well
1084
+ */
1085
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1086
+ /**
1087
+ * Filter, which Folder to fetch.
1088
+ */
1089
+ where: Prisma.FolderWhereUniqueInput;
1090
+ };
1091
+ /**
1092
+ * Folder findFirst
1093
+ */
1094
+ export type FolderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1095
+ /**
1096
+ * Select specific fields to fetch from the Folder
1097
+ */
1098
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1099
+ /**
1100
+ * Omit specific fields from the Folder
1101
+ */
1102
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1103
+ /**
1104
+ * Choose, which related nodes to fetch as well
1105
+ */
1106
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1107
+ /**
1108
+ * Filter, which Folder to fetch.
1109
+ */
1110
+ where?: Prisma.FolderWhereInput;
1111
+ /**
1112
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1113
+ *
1114
+ * Determine the order of Folders to fetch.
1115
+ */
1116
+ orderBy?: Prisma.FolderOrderByWithRelationInput | Prisma.FolderOrderByWithRelationInput[];
1117
+ /**
1118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1119
+ *
1120
+ * Sets the position for searching for Folders.
1121
+ */
1122
+ cursor?: Prisma.FolderWhereUniqueInput;
1123
+ /**
1124
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1125
+ *
1126
+ * Take `±n` Folders from the position of the cursor.
1127
+ */
1128
+ take?: number;
1129
+ /**
1130
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1131
+ *
1132
+ * Skip the first `n` Folders.
1133
+ */
1134
+ skip?: number;
1135
+ /**
1136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1137
+ *
1138
+ * Filter by unique combinations of Folders.
1139
+ */
1140
+ distinct?: Prisma.FolderScalarFieldEnum | Prisma.FolderScalarFieldEnum[];
1141
+ };
1142
+ /**
1143
+ * Folder findFirstOrThrow
1144
+ */
1145
+ export type FolderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1146
+ /**
1147
+ * Select specific fields to fetch from the Folder
1148
+ */
1149
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1150
+ /**
1151
+ * Omit specific fields from the Folder
1152
+ */
1153
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1154
+ /**
1155
+ * Choose, which related nodes to fetch as well
1156
+ */
1157
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1158
+ /**
1159
+ * Filter, which Folder to fetch.
1160
+ */
1161
+ where?: Prisma.FolderWhereInput;
1162
+ /**
1163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1164
+ *
1165
+ * Determine the order of Folders to fetch.
1166
+ */
1167
+ orderBy?: Prisma.FolderOrderByWithRelationInput | Prisma.FolderOrderByWithRelationInput[];
1168
+ /**
1169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1170
+ *
1171
+ * Sets the position for searching for Folders.
1172
+ */
1173
+ cursor?: Prisma.FolderWhereUniqueInput;
1174
+ /**
1175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1176
+ *
1177
+ * Take `±n` Folders from the position of the cursor.
1178
+ */
1179
+ take?: number;
1180
+ /**
1181
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1182
+ *
1183
+ * Skip the first `n` Folders.
1184
+ */
1185
+ skip?: number;
1186
+ /**
1187
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1188
+ *
1189
+ * Filter by unique combinations of Folders.
1190
+ */
1191
+ distinct?: Prisma.FolderScalarFieldEnum | Prisma.FolderScalarFieldEnum[];
1192
+ };
1193
+ /**
1194
+ * Folder findMany
1195
+ */
1196
+ export type FolderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1197
+ /**
1198
+ * Select specific fields to fetch from the Folder
1199
+ */
1200
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1201
+ /**
1202
+ * Omit specific fields from the Folder
1203
+ */
1204
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1205
+ /**
1206
+ * Choose, which related nodes to fetch as well
1207
+ */
1208
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1209
+ /**
1210
+ * Filter, which Folders to fetch.
1211
+ */
1212
+ where?: Prisma.FolderWhereInput;
1213
+ /**
1214
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1215
+ *
1216
+ * Determine the order of Folders to fetch.
1217
+ */
1218
+ orderBy?: Prisma.FolderOrderByWithRelationInput | Prisma.FolderOrderByWithRelationInput[];
1219
+ /**
1220
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1221
+ *
1222
+ * Sets the position for listing Folders.
1223
+ */
1224
+ cursor?: Prisma.FolderWhereUniqueInput;
1225
+ /**
1226
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1227
+ *
1228
+ * Take `±n` Folders from the position of the cursor.
1229
+ */
1230
+ take?: number;
1231
+ /**
1232
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1233
+ *
1234
+ * Skip the first `n` Folders.
1235
+ */
1236
+ skip?: number;
1237
+ /**
1238
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1239
+ *
1240
+ * Filter by unique combinations of Folders.
1241
+ */
1242
+ distinct?: Prisma.FolderScalarFieldEnum | Prisma.FolderScalarFieldEnum[];
1243
+ };
1244
+ /**
1245
+ * Folder create
1246
+ */
1247
+ export type FolderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1248
+ /**
1249
+ * Select specific fields to fetch from the Folder
1250
+ */
1251
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1252
+ /**
1253
+ * Omit specific fields from the Folder
1254
+ */
1255
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1256
+ /**
1257
+ * Choose, which related nodes to fetch as well
1258
+ */
1259
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1260
+ /**
1261
+ * The data needed to create a Folder.
1262
+ */
1263
+ data: Prisma.XOR<Prisma.FolderCreateInput, Prisma.FolderUncheckedCreateInput>;
1264
+ };
1265
+ /**
1266
+ * Folder createMany
1267
+ */
1268
+ export type FolderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * The data used to create many Folders.
1271
+ */
1272
+ data: Prisma.FolderCreateManyInput | Prisma.FolderCreateManyInput[];
1273
+ skipDuplicates?: boolean;
1274
+ };
1275
+ /**
1276
+ * Folder createManyAndReturn
1277
+ */
1278
+ export type FolderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1279
+ /**
1280
+ * Select specific fields to fetch from the Folder
1281
+ */
1282
+ select?: Prisma.FolderSelectCreateManyAndReturn<ExtArgs> | null;
1283
+ /**
1284
+ * Omit specific fields from the Folder
1285
+ */
1286
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1287
+ /**
1288
+ * The data used to create many Folders.
1289
+ */
1290
+ data: Prisma.FolderCreateManyInput | Prisma.FolderCreateManyInput[];
1291
+ skipDuplicates?: boolean;
1292
+ /**
1293
+ * Choose, which related nodes to fetch as well
1294
+ */
1295
+ include?: Prisma.FolderIncludeCreateManyAndReturn<ExtArgs> | null;
1296
+ };
1297
+ /**
1298
+ * Folder update
1299
+ */
1300
+ export type FolderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1301
+ /**
1302
+ * Select specific fields to fetch from the Folder
1303
+ */
1304
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1305
+ /**
1306
+ * Omit specific fields from the Folder
1307
+ */
1308
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1309
+ /**
1310
+ * Choose, which related nodes to fetch as well
1311
+ */
1312
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1313
+ /**
1314
+ * The data needed to update a Folder.
1315
+ */
1316
+ data: Prisma.XOR<Prisma.FolderUpdateInput, Prisma.FolderUncheckedUpdateInput>;
1317
+ /**
1318
+ * Choose, which Folder to update.
1319
+ */
1320
+ where: Prisma.FolderWhereUniqueInput;
1321
+ };
1322
+ /**
1323
+ * Folder updateMany
1324
+ */
1325
+ export type FolderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1326
+ /**
1327
+ * The data used to update Folders.
1328
+ */
1329
+ data: Prisma.XOR<Prisma.FolderUpdateManyMutationInput, Prisma.FolderUncheckedUpdateManyInput>;
1330
+ /**
1331
+ * Filter which Folders to update
1332
+ */
1333
+ where?: Prisma.FolderWhereInput;
1334
+ /**
1335
+ * Limit how many Folders to update.
1336
+ */
1337
+ limit?: number;
1338
+ };
1339
+ /**
1340
+ * Folder updateManyAndReturn
1341
+ */
1342
+ export type FolderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1343
+ /**
1344
+ * Select specific fields to fetch from the Folder
1345
+ */
1346
+ select?: Prisma.FolderSelectUpdateManyAndReturn<ExtArgs> | null;
1347
+ /**
1348
+ * Omit specific fields from the Folder
1349
+ */
1350
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1351
+ /**
1352
+ * The data used to update Folders.
1353
+ */
1354
+ data: Prisma.XOR<Prisma.FolderUpdateManyMutationInput, Prisma.FolderUncheckedUpdateManyInput>;
1355
+ /**
1356
+ * Filter which Folders to update
1357
+ */
1358
+ where?: Prisma.FolderWhereInput;
1359
+ /**
1360
+ * Limit how many Folders to update.
1361
+ */
1362
+ limit?: number;
1363
+ /**
1364
+ * Choose, which related nodes to fetch as well
1365
+ */
1366
+ include?: Prisma.FolderIncludeUpdateManyAndReturn<ExtArgs> | null;
1367
+ };
1368
+ /**
1369
+ * Folder upsert
1370
+ */
1371
+ export type FolderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1372
+ /**
1373
+ * Select specific fields to fetch from the Folder
1374
+ */
1375
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1376
+ /**
1377
+ * Omit specific fields from the Folder
1378
+ */
1379
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1380
+ /**
1381
+ * Choose, which related nodes to fetch as well
1382
+ */
1383
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1384
+ /**
1385
+ * The filter to search for the Folder to update in case it exists.
1386
+ */
1387
+ where: Prisma.FolderWhereUniqueInput;
1388
+ /**
1389
+ * In case the Folder found by the `where` argument doesn't exist, create a new Folder with this data.
1390
+ */
1391
+ create: Prisma.XOR<Prisma.FolderCreateInput, Prisma.FolderUncheckedCreateInput>;
1392
+ /**
1393
+ * In case the Folder was found with the provided `where` argument, update it with this data.
1394
+ */
1395
+ update: Prisma.XOR<Prisma.FolderUpdateInput, Prisma.FolderUncheckedUpdateInput>;
1396
+ };
1397
+ /**
1398
+ * Folder delete
1399
+ */
1400
+ export type FolderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1401
+ /**
1402
+ * Select specific fields to fetch from the Folder
1403
+ */
1404
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1405
+ /**
1406
+ * Omit specific fields from the Folder
1407
+ */
1408
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1409
+ /**
1410
+ * Choose, which related nodes to fetch as well
1411
+ */
1412
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1413
+ /**
1414
+ * Filter which Folder to delete.
1415
+ */
1416
+ where: Prisma.FolderWhereUniqueInput;
1417
+ };
1418
+ /**
1419
+ * Folder deleteMany
1420
+ */
1421
+ export type FolderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1422
+ /**
1423
+ * Filter which Folders to delete
1424
+ */
1425
+ where?: Prisma.FolderWhereInput;
1426
+ /**
1427
+ * Limit how many Folders to delete.
1428
+ */
1429
+ limit?: number;
1430
+ };
1431
+ /**
1432
+ * Folder.parentFolder
1433
+ */
1434
+ export type Folder$parentFolderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1435
+ /**
1436
+ * Select specific fields to fetch from the Folder
1437
+ */
1438
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1439
+ /**
1440
+ * Omit specific fields from the Folder
1441
+ */
1442
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1443
+ /**
1444
+ * Choose, which related nodes to fetch as well
1445
+ */
1446
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1447
+ where?: Prisma.FolderWhereInput;
1448
+ };
1449
+ /**
1450
+ * Folder.subFolders
1451
+ */
1452
+ export type Folder$subFoldersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1453
+ /**
1454
+ * Select specific fields to fetch from the Folder
1455
+ */
1456
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1457
+ /**
1458
+ * Omit specific fields from the Folder
1459
+ */
1460
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1461
+ /**
1462
+ * Choose, which related nodes to fetch as well
1463
+ */
1464
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1465
+ where?: Prisma.FolderWhereInput;
1466
+ orderBy?: Prisma.FolderOrderByWithRelationInput | Prisma.FolderOrderByWithRelationInput[];
1467
+ cursor?: Prisma.FolderWhereUniqueInput;
1468
+ take?: number;
1469
+ skip?: number;
1470
+ distinct?: Prisma.FolderScalarFieldEnum | Prisma.FolderScalarFieldEnum[];
1471
+ };
1472
+ /**
1473
+ * Folder.files
1474
+ */
1475
+ export type Folder$filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1476
+ /**
1477
+ * Select specific fields to fetch from the File
1478
+ */
1479
+ select?: Prisma.FileSelect<ExtArgs> | null;
1480
+ /**
1481
+ * Omit specific fields from the File
1482
+ */
1483
+ omit?: Prisma.FileOmit<ExtArgs> | null;
1484
+ /**
1485
+ * Choose, which related nodes to fetch as well
1486
+ */
1487
+ include?: Prisma.FileInclude<ExtArgs> | null;
1488
+ where?: Prisma.FileWhereInput;
1489
+ orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
1490
+ cursor?: Prisma.FileWhereUniqueInput;
1491
+ take?: number;
1492
+ skip?: number;
1493
+ distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
1494
+ };
1495
+ /**
1496
+ * Folder without action
1497
+ */
1498
+ export type FolderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1499
+ /**
1500
+ * Select specific fields to fetch from the Folder
1501
+ */
1502
+ select?: Prisma.FolderSelect<ExtArgs> | null;
1503
+ /**
1504
+ * Omit specific fields from the Folder
1505
+ */
1506
+ omit?: Prisma.FolderOmit<ExtArgs> | null;
1507
+ /**
1508
+ * Choose, which related nodes to fetch as well
1509
+ */
1510
+ include?: Prisma.FolderInclude<ExtArgs> | null;
1511
+ };
1512
+ export {};
1513
+ //# sourceMappingURL=Folder.d.ts.map