/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `FileUploadProgress` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model FileUploadProgress * */ export type FileUploadProgressModel = runtime.Types.Result.DefaultSelection export type AggregateFileUploadProgress = { _count: FileUploadProgressCountAggregateOutputType | null _avg: FileUploadProgressAvgAggregateOutputType | null _sum: FileUploadProgressSumAggregateOutputType | null _min: FileUploadProgressMinAggregateOutputType | null _max: FileUploadProgressMaxAggregateOutputType | null } export type FileUploadProgressAvgAggregateOutputType = { progressServer: number | null progressStorage: number | null } export type FileUploadProgressSumAggregateOutputType = { progressServer: number | null progressStorage: number | null } export type FileUploadProgressMinAggregateOutputType = { id: string | null fileName: string | null progressServer: number | null progressStorage: number | null url: string | null error: string | null } export type FileUploadProgressMaxAggregateOutputType = { id: string | null fileName: string | null progressServer: number | null progressStorage: number | null url: string | null error: string | null } export type FileUploadProgressCountAggregateOutputType = { id: number fileName: number progressServer: number progressStorage: number url: number error: number _all: number } export type FileUploadProgressAvgAggregateInputType = { progressServer?: true progressStorage?: true } export type FileUploadProgressSumAggregateInputType = { progressServer?: true progressStorage?: true } export type FileUploadProgressMinAggregateInputType = { id?: true fileName?: true progressServer?: true progressStorage?: true url?: true error?: true } export type FileUploadProgressMaxAggregateInputType = { id?: true fileName?: true progressServer?: true progressStorage?: true url?: true error?: true } export type FileUploadProgressCountAggregateInputType = { id?: true fileName?: true progressServer?: true progressStorage?: true url?: true error?: true _all?: true } export type FileUploadProgressAggregateArgs = { /** * Filter which FileUploadProgress to aggregate. */ where?: Prisma.FileUploadProgressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadProgresses to fetch. */ orderBy?: Prisma.FileUploadProgressOrderByWithRelationInput | Prisma.FileUploadProgressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.FileUploadProgressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadProgresses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` FileUploadProgresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned FileUploadProgresses **/ _count?: true | FileUploadProgressCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: FileUploadProgressAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: FileUploadProgressSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: FileUploadProgressMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: FileUploadProgressMaxAggregateInputType } export type GetFileUploadProgressAggregateType = { [P in keyof T & keyof AggregateFileUploadProgress]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type FileUploadProgressGroupByArgs = { where?: Prisma.FileUploadProgressWhereInput orderBy?: Prisma.FileUploadProgressOrderByWithAggregationInput | Prisma.FileUploadProgressOrderByWithAggregationInput[] by: Prisma.FileUploadProgressScalarFieldEnum[] | Prisma.FileUploadProgressScalarFieldEnum having?: Prisma.FileUploadProgressScalarWhereWithAggregatesInput take?: number skip?: number _count?: FileUploadProgressCountAggregateInputType | true _avg?: FileUploadProgressAvgAggregateInputType _sum?: FileUploadProgressSumAggregateInputType _min?: FileUploadProgressMinAggregateInputType _max?: FileUploadProgressMaxAggregateInputType } export type FileUploadProgressGroupByOutputType = { id: string fileName: string progressServer: number progressStorage: number url: string | null error: string | null _count: FileUploadProgressCountAggregateOutputType | null _avg: FileUploadProgressAvgAggregateOutputType | null _sum: FileUploadProgressSumAggregateOutputType | null _min: FileUploadProgressMinAggregateOutputType | null _max: FileUploadProgressMaxAggregateOutputType | null } export type GetFileUploadProgressGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof FileUploadProgressGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type FileUploadProgressWhereInput = { AND?: Prisma.FileUploadProgressWhereInput | Prisma.FileUploadProgressWhereInput[] OR?: Prisma.FileUploadProgressWhereInput[] NOT?: Prisma.FileUploadProgressWhereInput | Prisma.FileUploadProgressWhereInput[] id?: Prisma.StringFilter<"FileUploadProgress"> | string fileName?: Prisma.StringFilter<"FileUploadProgress"> | string progressServer?: Prisma.IntFilter<"FileUploadProgress"> | number progressStorage?: Prisma.IntFilter<"FileUploadProgress"> | number url?: Prisma.StringNullableFilter<"FileUploadProgress"> | string | null error?: Prisma.StringNullableFilter<"FileUploadProgress"> | string | null chunks?: Prisma.FileChunkListRelationFilter } export type FileUploadProgressOrderByWithRelationInput = { id?: Prisma.SortOrder fileName?: Prisma.SortOrder progressServer?: Prisma.SortOrder progressStorage?: Prisma.SortOrder url?: Prisma.SortOrderInput | Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder chunks?: Prisma.FileChunkOrderByRelationAggregateInput } export type FileUploadProgressWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.FileUploadProgressWhereInput | Prisma.FileUploadProgressWhereInput[] OR?: Prisma.FileUploadProgressWhereInput[] NOT?: Prisma.FileUploadProgressWhereInput | Prisma.FileUploadProgressWhereInput[] fileName?: Prisma.StringFilter<"FileUploadProgress"> | string progressServer?: Prisma.IntFilter<"FileUploadProgress"> | number progressStorage?: Prisma.IntFilter<"FileUploadProgress"> | number url?: Prisma.StringNullableFilter<"FileUploadProgress"> | string | null error?: Prisma.StringNullableFilter<"FileUploadProgress"> | string | null chunks?: Prisma.FileChunkListRelationFilter }, "id"> export type FileUploadProgressOrderByWithAggregationInput = { id?: Prisma.SortOrder fileName?: Prisma.SortOrder progressServer?: Prisma.SortOrder progressStorage?: Prisma.SortOrder url?: Prisma.SortOrderInput | Prisma.SortOrder error?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.FileUploadProgressCountOrderByAggregateInput _avg?: Prisma.FileUploadProgressAvgOrderByAggregateInput _max?: Prisma.FileUploadProgressMaxOrderByAggregateInput _min?: Prisma.FileUploadProgressMinOrderByAggregateInput _sum?: Prisma.FileUploadProgressSumOrderByAggregateInput } export type FileUploadProgressScalarWhereWithAggregatesInput = { AND?: Prisma.FileUploadProgressScalarWhereWithAggregatesInput | Prisma.FileUploadProgressScalarWhereWithAggregatesInput[] OR?: Prisma.FileUploadProgressScalarWhereWithAggregatesInput[] NOT?: Prisma.FileUploadProgressScalarWhereWithAggregatesInput | Prisma.FileUploadProgressScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"FileUploadProgress"> | string fileName?: Prisma.StringWithAggregatesFilter<"FileUploadProgress"> | string progressServer?: Prisma.IntWithAggregatesFilter<"FileUploadProgress"> | number progressStorage?: Prisma.IntWithAggregatesFilter<"FileUploadProgress"> | number url?: Prisma.StringNullableWithAggregatesFilter<"FileUploadProgress"> | string | null error?: Prisma.StringNullableWithAggregatesFilter<"FileUploadProgress"> | string | null } export type FileUploadProgressCreateInput = { id?: string fileName: string progressServer: number progressStorage: number url?: string | null error?: string | null chunks?: Prisma.FileChunkCreateNestedManyWithoutFileUploadInput } export type FileUploadProgressUncheckedCreateInput = { id?: string fileName: string progressServer: number progressStorage: number url?: string | null error?: string | null chunks?: Prisma.FileChunkUncheckedCreateNestedManyWithoutFileUploadInput } export type FileUploadProgressUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.StringFieldUpdateOperationsInput | string progressServer?: Prisma.IntFieldUpdateOperationsInput | number progressStorage?: Prisma.IntFieldUpdateOperationsInput | number url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null chunks?: Prisma.FileChunkUpdateManyWithoutFileUploadNestedInput } export type FileUploadProgressUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.StringFieldUpdateOperationsInput | string progressServer?: Prisma.IntFieldUpdateOperationsInput | number progressStorage?: Prisma.IntFieldUpdateOperationsInput | number url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null chunks?: Prisma.FileChunkUncheckedUpdateManyWithoutFileUploadNestedInput } export type FileUploadProgressCreateManyInput = { id?: string fileName: string progressServer: number progressStorage: number url?: string | null error?: string | null } export type FileUploadProgressUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.StringFieldUpdateOperationsInput | string progressServer?: Prisma.IntFieldUpdateOperationsInput | number progressStorage?: Prisma.IntFieldUpdateOperationsInput | number url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileUploadProgressUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.StringFieldUpdateOperationsInput | string progressServer?: Prisma.IntFieldUpdateOperationsInput | number progressStorage?: Prisma.IntFieldUpdateOperationsInput | number url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileUploadProgressCountOrderByAggregateInput = { id?: Prisma.SortOrder fileName?: Prisma.SortOrder progressServer?: Prisma.SortOrder progressStorage?: Prisma.SortOrder url?: Prisma.SortOrder error?: Prisma.SortOrder } export type FileUploadProgressAvgOrderByAggregateInput = { progressServer?: Prisma.SortOrder progressStorage?: Prisma.SortOrder } export type FileUploadProgressMaxOrderByAggregateInput = { id?: Prisma.SortOrder fileName?: Prisma.SortOrder progressServer?: Prisma.SortOrder progressStorage?: Prisma.SortOrder url?: Prisma.SortOrder error?: Prisma.SortOrder } export type FileUploadProgressMinOrderByAggregateInput = { id?: Prisma.SortOrder fileName?: Prisma.SortOrder progressServer?: Prisma.SortOrder progressStorage?: Prisma.SortOrder url?: Prisma.SortOrder error?: Prisma.SortOrder } export type FileUploadProgressSumOrderByAggregateInput = { progressServer?: Prisma.SortOrder progressStorage?: Prisma.SortOrder } export type FileUploadProgressScalarRelationFilter = { is?: Prisma.FileUploadProgressWhereInput isNot?: Prisma.FileUploadProgressWhereInput } export type FileUploadProgressCreateNestedOneWithoutChunksInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FileUploadProgressCreateOrConnectWithoutChunksInput connect?: Prisma.FileUploadProgressWhereUniqueInput } export type FileUploadProgressUpdateOneRequiredWithoutChunksNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.FileUploadProgressCreateOrConnectWithoutChunksInput upsert?: Prisma.FileUploadProgressUpsertWithoutChunksInput connect?: Prisma.FileUploadProgressWhereUniqueInput update?: Prisma.XOR, Prisma.FileUploadProgressUncheckedUpdateWithoutChunksInput> } export type FileUploadProgressCreateWithoutChunksInput = { id?: string fileName: string progressServer: number progressStorage: number url?: string | null error?: string | null } export type FileUploadProgressUncheckedCreateWithoutChunksInput = { id?: string fileName: string progressServer: number progressStorage: number url?: string | null error?: string | null } export type FileUploadProgressCreateOrConnectWithoutChunksInput = { where: Prisma.FileUploadProgressWhereUniqueInput create: Prisma.XOR } export type FileUploadProgressUpsertWithoutChunksInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.FileUploadProgressWhereInput } export type FileUploadProgressUpdateToOneWithWhereWithoutChunksInput = { where?: Prisma.FileUploadProgressWhereInput data: Prisma.XOR } export type FileUploadProgressUpdateWithoutChunksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.StringFieldUpdateOperationsInput | string progressServer?: Prisma.IntFieldUpdateOperationsInput | number progressStorage?: Prisma.IntFieldUpdateOperationsInput | number url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileUploadProgressUncheckedUpdateWithoutChunksInput = { id?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.StringFieldUpdateOperationsInput | string progressServer?: Prisma.IntFieldUpdateOperationsInput | number progressStorage?: Prisma.IntFieldUpdateOperationsInput | number url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type FileUploadProgressCountOutputType */ export type FileUploadProgressCountOutputType = { chunks: number } export type FileUploadProgressCountOutputTypeSelect = { chunks?: boolean | FileUploadProgressCountOutputTypeCountChunksArgs } /** * FileUploadProgressCountOutputType without action */ export type FileUploadProgressCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the FileUploadProgressCountOutputType */ select?: Prisma.FileUploadProgressCountOutputTypeSelect | null } /** * FileUploadProgressCountOutputType without action */ export type FileUploadProgressCountOutputTypeCountChunksArgs = { where?: Prisma.FileChunkWhereInput } export type FileUploadProgressSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean fileName?: boolean progressServer?: boolean progressStorage?: boolean url?: boolean error?: boolean chunks?: boolean | Prisma.FileUploadProgress$chunksArgs _count?: boolean | Prisma.FileUploadProgressCountOutputTypeDefaultArgs }, ExtArgs["result"]["fileUploadProgress"]> export type FileUploadProgressSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean fileName?: boolean progressServer?: boolean progressStorage?: boolean url?: boolean error?: boolean }, ExtArgs["result"]["fileUploadProgress"]> export type FileUploadProgressSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean fileName?: boolean progressServer?: boolean progressStorage?: boolean url?: boolean error?: boolean }, ExtArgs["result"]["fileUploadProgress"]> export type FileUploadProgressSelectScalar = { id?: boolean fileName?: boolean progressServer?: boolean progressStorage?: boolean url?: boolean error?: boolean } export type FileUploadProgressOmit = runtime.Types.Extensions.GetOmit<"id" | "fileName" | "progressServer" | "progressStorage" | "url" | "error", ExtArgs["result"]["fileUploadProgress"]> export type FileUploadProgressInclude = { chunks?: boolean | Prisma.FileUploadProgress$chunksArgs _count?: boolean | Prisma.FileUploadProgressCountOutputTypeDefaultArgs } export type FileUploadProgressIncludeCreateManyAndReturn = {} export type FileUploadProgressIncludeUpdateManyAndReturn = {} export type $FileUploadProgressPayload = { name: "FileUploadProgress" objects: { chunks: Prisma.$FileChunkPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string fileName: string progressServer: number progressStorage: number url: string | null error: string | null }, ExtArgs["result"]["fileUploadProgress"]> composites: {} } export type FileUploadProgressGetPayload = runtime.Types.Result.GetResult export type FileUploadProgressCountArgs = Omit & { select?: FileUploadProgressCountAggregateInputType | true } export interface FileUploadProgressDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['FileUploadProgress'], meta: { name: 'FileUploadProgress' } } /** * Find zero or one FileUploadProgress that matches the filter. * @param {FileUploadProgressFindUniqueArgs} args - Arguments to find a FileUploadProgress * @example * // Get one FileUploadProgress * const fileUploadProgress = await prisma.fileUploadProgress.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one FileUploadProgress that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {FileUploadProgressFindUniqueOrThrowArgs} args - Arguments to find a FileUploadProgress * @example * // Get one FileUploadProgress * const fileUploadProgress = await prisma.fileUploadProgress.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first FileUploadProgress that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadProgressFindFirstArgs} args - Arguments to find a FileUploadProgress * @example * // Get one FileUploadProgress * const fileUploadProgress = await prisma.fileUploadProgress.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first FileUploadProgress that matches the filter or * throw `PrismaKnownClientError` with `P2025` code if no matches were found. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadProgressFindFirstOrThrowArgs} args - Arguments to find a FileUploadProgress * @example * // Get one FileUploadProgress * const fileUploadProgress = await prisma.fileUploadProgress.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more FileUploadProgresses that matches the filter. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadProgressFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all FileUploadProgresses * const fileUploadProgresses = await prisma.fileUploadProgress.findMany() * * // Get first 10 FileUploadProgresses * const fileUploadProgresses = await prisma.fileUploadProgress.findMany({ take: 10 }) * * // Only select the `id` * const fileUploadProgressWithIdOnly = await prisma.fileUploadProgress.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a FileUploadProgress. * @param {FileUploadProgressCreateArgs} args - Arguments to create a FileUploadProgress. * @example * // Create one FileUploadProgress * const FileUploadProgress = await prisma.fileUploadProgress.create({ * data: { * // ... data to create a FileUploadProgress * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many FileUploadProgresses. * @param {FileUploadProgressCreateManyArgs} args - Arguments to create many FileUploadProgresses. * @example * // Create many FileUploadProgresses * const fileUploadProgress = await prisma.fileUploadProgress.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many FileUploadProgresses and returns the data saved in the database. * @param {FileUploadProgressCreateManyAndReturnArgs} args - Arguments to create many FileUploadProgresses. * @example * // Create many FileUploadProgresses * const fileUploadProgress = await prisma.fileUploadProgress.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many FileUploadProgresses and only return the `id` * const fileUploadProgressWithIdOnly = await prisma.fileUploadProgress.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a FileUploadProgress. * @param {FileUploadProgressDeleteArgs} args - Arguments to delete one FileUploadProgress. * @example * // Delete one FileUploadProgress * const FileUploadProgress = await prisma.fileUploadProgress.delete({ * where: { * // ... filter to delete one FileUploadProgress * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one FileUploadProgress. * @param {FileUploadProgressUpdateArgs} args - Arguments to update one FileUploadProgress. * @example * // Update one FileUploadProgress * const fileUploadProgress = await prisma.fileUploadProgress.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more FileUploadProgresses. * @param {FileUploadProgressDeleteManyArgs} args - Arguments to filter FileUploadProgresses to delete. * @example * // Delete a few FileUploadProgresses * const { count } = await prisma.fileUploadProgress.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FileUploadProgresses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadProgressUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many FileUploadProgresses * const fileUploadProgress = await prisma.fileUploadProgress.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FileUploadProgresses and returns the data updated in the database. * @param {FileUploadProgressUpdateManyAndReturnArgs} args - Arguments to update many FileUploadProgresses. * @example * // Update many FileUploadProgresses * const fileUploadProgress = await prisma.fileUploadProgress.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more FileUploadProgresses and only return the `id` * const fileUploadProgressWithIdOnly = await prisma.fileUploadProgress.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one FileUploadProgress. * @param {FileUploadProgressUpsertArgs} args - Arguments to update or create a FileUploadProgress. * @example * // Update or create a FileUploadProgress * const fileUploadProgress = await prisma.fileUploadProgress.upsert({ * create: { * // ... data to create a FileUploadProgress * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the FileUploadProgress we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadProgressClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of FileUploadProgresses. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadProgressCountArgs} args - Arguments to filter FileUploadProgresses to count. * @example * // Count the number of FileUploadProgresses * const count = await prisma.fileUploadProgress.count({ * where: { * // ... the filter for the FileUploadProgresses we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a FileUploadProgress. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadProgressAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by FileUploadProgress. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadProgressGroupByArgs} args - Group by arguments. * @example * // Group by city, order by createdAt, get count * const result = await prisma.user.groupBy({ * by: ['city', 'createdAt'], * orderBy: { * createdAt: true * }, * _count: { * _all: true * }, * }) * **/ groupBy< T extends FileUploadProgressGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: FileUploadProgressGroupByArgs['orderBy'] } : { orderBy?: FileUploadProgressGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetFileUploadProgressGroupByPayload : Prisma.PrismaPromise /** * Fields of the FileUploadProgress model */ readonly fields: FileUploadProgressFieldRefs; } /** * The delegate class that acts as a "Promise-like" for FileUploadProgress. * Why is this prefixed with `Prisma__`? * Because we want to prevent naming conflicts as mentioned in * https://github.com/prisma/prisma-client-js/issues/707 */ export interface Prisma__FileUploadProgressClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" chunks = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the FileUploadProgress model */ export interface FileUploadProgressFieldRefs { readonly id: Prisma.FieldRef<"FileUploadProgress", 'String'> readonly fileName: Prisma.FieldRef<"FileUploadProgress", 'String'> readonly progressServer: Prisma.FieldRef<"FileUploadProgress", 'Int'> readonly progressStorage: Prisma.FieldRef<"FileUploadProgress", 'Int'> readonly url: Prisma.FieldRef<"FileUploadProgress", 'String'> readonly error: Prisma.FieldRef<"FileUploadProgress", 'String'> } // Custom InputTypes /** * FileUploadProgress findUnique */ export type FileUploadProgressFindUniqueArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * Filter, which FileUploadProgress to fetch. */ where: Prisma.FileUploadProgressWhereUniqueInput } /** * FileUploadProgress findUniqueOrThrow */ export type FileUploadProgressFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * Filter, which FileUploadProgress to fetch. */ where: Prisma.FileUploadProgressWhereUniqueInput } /** * FileUploadProgress findFirst */ export type FileUploadProgressFindFirstArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * Filter, which FileUploadProgress to fetch. */ where?: Prisma.FileUploadProgressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadProgresses to fetch. */ orderBy?: Prisma.FileUploadProgressOrderByWithRelationInput | Prisma.FileUploadProgressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FileUploadProgresses. */ cursor?: Prisma.FileUploadProgressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadProgresses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` FileUploadProgresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileUploadProgresses. */ distinct?: Prisma.FileUploadProgressScalarFieldEnum | Prisma.FileUploadProgressScalarFieldEnum[] } /** * FileUploadProgress findFirstOrThrow */ export type FileUploadProgressFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * Filter, which FileUploadProgress to fetch. */ where?: Prisma.FileUploadProgressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadProgresses to fetch. */ orderBy?: Prisma.FileUploadProgressOrderByWithRelationInput | Prisma.FileUploadProgressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FileUploadProgresses. */ cursor?: Prisma.FileUploadProgressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadProgresses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` FileUploadProgresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileUploadProgresses. */ distinct?: Prisma.FileUploadProgressScalarFieldEnum | Prisma.FileUploadProgressScalarFieldEnum[] } /** * FileUploadProgress findMany */ export type FileUploadProgressFindManyArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * Filter, which FileUploadProgresses to fetch. */ where?: Prisma.FileUploadProgressWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadProgresses to fetch. */ orderBy?: Prisma.FileUploadProgressOrderByWithRelationInput | Prisma.FileUploadProgressOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing FileUploadProgresses. */ cursor?: Prisma.FileUploadProgressWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadProgresses from the position of the cursor. */ take?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` FileUploadProgresses. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileUploadProgresses. */ distinct?: Prisma.FileUploadProgressScalarFieldEnum | Prisma.FileUploadProgressScalarFieldEnum[] } /** * FileUploadProgress create */ export type FileUploadProgressCreateArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * The data needed to create a FileUploadProgress. */ data: Prisma.XOR } /** * FileUploadProgress createMany */ export type FileUploadProgressCreateManyArgs = { /** * The data used to create many FileUploadProgresses. */ data: Prisma.FileUploadProgressCreateManyInput | Prisma.FileUploadProgressCreateManyInput[] skipDuplicates?: boolean } /** * FileUploadProgress createManyAndReturn */ export type FileUploadProgressCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelectCreateManyAndReturn | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * The data used to create many FileUploadProgresses. */ data: Prisma.FileUploadProgressCreateManyInput | Prisma.FileUploadProgressCreateManyInput[] skipDuplicates?: boolean } /** * FileUploadProgress update */ export type FileUploadProgressUpdateArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * The data needed to update a FileUploadProgress. */ data: Prisma.XOR /** * Choose, which FileUploadProgress to update. */ where: Prisma.FileUploadProgressWhereUniqueInput } /** * FileUploadProgress updateMany */ export type FileUploadProgressUpdateManyArgs = { /** * The data used to update FileUploadProgresses. */ data: Prisma.XOR /** * Filter which FileUploadProgresses to update */ where?: Prisma.FileUploadProgressWhereInput /** * Limit how many FileUploadProgresses to update. */ limit?: number } /** * FileUploadProgress updateManyAndReturn */ export type FileUploadProgressUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelectUpdateManyAndReturn | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * The data used to update FileUploadProgresses. */ data: Prisma.XOR /** * Filter which FileUploadProgresses to update */ where?: Prisma.FileUploadProgressWhereInput /** * Limit how many FileUploadProgresses to update. */ limit?: number } /** * FileUploadProgress upsert */ export type FileUploadProgressUpsertArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * The filter to search for the FileUploadProgress to update in case it exists. */ where: Prisma.FileUploadProgressWhereUniqueInput /** * In case the FileUploadProgress found by the `where` argument doesn't exist, create a new FileUploadProgress with this data. */ create: Prisma.XOR /** * In case the FileUploadProgress was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * FileUploadProgress delete */ export type FileUploadProgressDeleteArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null /** * Filter which FileUploadProgress to delete. */ where: Prisma.FileUploadProgressWhereUniqueInput } /** * FileUploadProgress deleteMany */ export type FileUploadProgressDeleteManyArgs = { /** * Filter which FileUploadProgresses to delete */ where?: Prisma.FileUploadProgressWhereInput /** * Limit how many FileUploadProgresses to delete. */ limit?: number } /** * FileUploadProgress.chunks */ export type FileUploadProgress$chunksArgs = { /** * Select specific fields to fetch from the FileChunk */ select?: Prisma.FileChunkSelect | null /** * Omit specific fields from the FileChunk */ omit?: Prisma.FileChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileChunkInclude | null where?: Prisma.FileChunkWhereInput orderBy?: Prisma.FileChunkOrderByWithRelationInput | Prisma.FileChunkOrderByWithRelationInput[] cursor?: Prisma.FileChunkWhereUniqueInput take?: number skip?: number distinct?: Prisma.FileChunkScalarFieldEnum | Prisma.FileChunkScalarFieldEnum[] } /** * FileUploadProgress without action */ export type FileUploadProgressDefaultArgs = { /** * Select specific fields to fetch from the FileUploadProgress */ select?: Prisma.FileUploadProgressSelect | null /** * Omit specific fields from the FileUploadProgress */ omit?: Prisma.FileUploadProgressOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadProgressInclude | null }