/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `RecentFileItem` model and its related types. * * 🟢 You can import this file directly. */ import type * as PJTG from '../pjtg'; 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 RecentFileItem * */ export type RecentFileItemModel = runtime.Types.Result.DefaultSelection export type AggregateRecentFileItem = { _count: RecentFileItemCountAggregateOutputType | null _min: RecentFileItemMinAggregateOutputType | null _max: RecentFileItemMaxAggregateOutputType | null } export type RecentFileItemMinAggregateOutputType = { id: string | null userId: string | null projectId: string | null assetId: string | null viewedAt: Date | null } export type RecentFileItemMaxAggregateOutputType = { id: string | null userId: string | null projectId: string | null assetId: string | null viewedAt: Date | null } export type RecentFileItemCountAggregateOutputType = { id: number userId: number projectId: number assetId: number viewedAt: number _all: number } export type RecentFileItemMinAggregateInputType = { id?: true userId?: true projectId?: true assetId?: true viewedAt?: true } export type RecentFileItemMaxAggregateInputType = { id?: true userId?: true projectId?: true assetId?: true viewedAt?: true } export type RecentFileItemCountAggregateInputType = { id?: true userId?: true projectId?: true assetId?: true viewedAt?: true _all?: true } export type RecentFileItemAggregateArgs = { /** * Filter which RecentFileItem to aggregate. */ where?: Prisma.RecentFileItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RecentFileItems to fetch. */ orderBy?: Prisma.RecentFileItemOrderByWithRelationInput | Prisma.RecentFileItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.RecentFileItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RecentFileItems 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` RecentFileItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned RecentFileItems **/ _count?: true | RecentFileItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RecentFileItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RecentFileItemMaxAggregateInputType } export type GetRecentFileItemAggregateType = { [P in keyof T & keyof AggregateRecentFileItem]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type RecentFileItemGroupByArgs = { where?: Prisma.RecentFileItemWhereInput orderBy?: Prisma.RecentFileItemOrderByWithAggregationInput | Prisma.RecentFileItemOrderByWithAggregationInput[] by: Prisma.RecentFileItemScalarFieldEnum[] | Prisma.RecentFileItemScalarFieldEnum having?: Prisma.RecentFileItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: RecentFileItemCountAggregateInputType | true _min?: RecentFileItemMinAggregateInputType _max?: RecentFileItemMaxAggregateInputType } export type RecentFileItemGroupByOutputType = { id: string userId: string projectId: string assetId: string viewedAt: Date _count: RecentFileItemCountAggregateOutputType | null _min: RecentFileItemMinAggregateOutputType | null _max: RecentFileItemMaxAggregateOutputType | null } export type GetRecentFileItemGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof RecentFileItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type RecentFileItemWhereInput = { AND?: Prisma.RecentFileItemWhereInput | Prisma.RecentFileItemWhereInput[] OR?: Prisma.RecentFileItemWhereInput[] NOT?: Prisma.RecentFileItemWhereInput | Prisma.RecentFileItemWhereInput[] id?: Prisma.StringFilter<"RecentFileItem"> | string userId?: Prisma.StringFilter<"RecentFileItem"> | string projectId?: Prisma.StringFilter<"RecentFileItem"> | string assetId?: Prisma.StringFilter<"RecentFileItem"> | string viewedAt?: Prisma.DateTimeFilter<"RecentFileItem"> | Date | string user?: Prisma.XOR project?: Prisma.XOR asset?: Prisma.XOR } export type RecentFileItemOrderByWithRelationInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder projectId?: Prisma.SortOrder assetId?: Prisma.SortOrder viewedAt?: Prisma.SortOrder user?: Prisma.UserOrderByWithRelationInput project?: Prisma.ProjectOrderByWithRelationInput asset?: Prisma.AssetOrderByWithRelationInput } export type RecentFileItemWhereUniqueInput = Prisma.AtLeast<{ id?: string userIdProjectIdAssetId?: Prisma.RecentFileItemUserIdProjectIdAssetIdCompoundUniqueInput AND?: Prisma.RecentFileItemWhereInput | Prisma.RecentFileItemWhereInput[] OR?: Prisma.RecentFileItemWhereInput[] NOT?: Prisma.RecentFileItemWhereInput | Prisma.RecentFileItemWhereInput[] userId?: Prisma.StringFilter<"RecentFileItem"> | string projectId?: Prisma.StringFilter<"RecentFileItem"> | string assetId?: Prisma.StringFilter<"RecentFileItem"> | string viewedAt?: Prisma.DateTimeFilter<"RecentFileItem"> | Date | string user?: Prisma.XOR project?: Prisma.XOR asset?: Prisma.XOR }, "id" | "userIdProjectIdAssetId"> export type RecentFileItemOrderByWithAggregationInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder projectId?: Prisma.SortOrder assetId?: Prisma.SortOrder viewedAt?: Prisma.SortOrder _count?: Prisma.RecentFileItemCountOrderByAggregateInput _max?: Prisma.RecentFileItemMaxOrderByAggregateInput _min?: Prisma.RecentFileItemMinOrderByAggregateInput } export type RecentFileItemScalarWhereWithAggregatesInput = { AND?: Prisma.RecentFileItemScalarWhereWithAggregatesInput | Prisma.RecentFileItemScalarWhereWithAggregatesInput[] OR?: Prisma.RecentFileItemScalarWhereWithAggregatesInput[] NOT?: Prisma.RecentFileItemScalarWhereWithAggregatesInput | Prisma.RecentFileItemScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"RecentFileItem"> | string userId?: Prisma.StringWithAggregatesFilter<"RecentFileItem"> | string projectId?: Prisma.StringWithAggregatesFilter<"RecentFileItem"> | string assetId?: Prisma.StringWithAggregatesFilter<"RecentFileItem"> | string viewedAt?: Prisma.DateTimeWithAggregatesFilter<"RecentFileItem"> | Date | string } export type RecentFileItemCreateInput = { id?: string viewedAt?: Date | string user: Prisma.UserCreateNestedOneWithoutRecentFilesInput project: Prisma.ProjectCreateNestedOneWithoutRecentFilesInput asset: Prisma.AssetCreateNestedOneWithoutRecentFilesInput } export type RecentFileItemUncheckedCreateInput = { id?: string userId: string projectId: string assetId: string viewedAt?: Date | string } export type RecentFileItemUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutRecentFilesNestedInput project?: Prisma.ProjectUpdateOneRequiredWithoutRecentFilesNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutRecentFilesNestedInput } export type RecentFileItemUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemCreateManyInput = { id?: string userId: string projectId: string assetId: string viewedAt?: Date | string } export type RecentFileItemUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemListRelationFilter = { every?: Prisma.RecentFileItemWhereInput some?: Prisma.RecentFileItemWhereInput none?: Prisma.RecentFileItemWhereInput } export type RecentFileItemOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type RecentFileItemUserIdProjectIdAssetIdCompoundUniqueInput = { userId: string projectId: string assetId: string } export type RecentFileItemCountOrderByAggregateInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder projectId?: Prisma.SortOrder assetId?: Prisma.SortOrder viewedAt?: Prisma.SortOrder } export type RecentFileItemMaxOrderByAggregateInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder projectId?: Prisma.SortOrder assetId?: Prisma.SortOrder viewedAt?: Prisma.SortOrder } export type RecentFileItemMinOrderByAggregateInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder projectId?: Prisma.SortOrder assetId?: Prisma.SortOrder viewedAt?: Prisma.SortOrder } export type RecentFileItemCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutUserInput[] | Prisma.RecentFileItemUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutUserInput | Prisma.RecentFileItemCreateOrConnectWithoutUserInput[] createMany?: Prisma.RecentFileItemCreateManyUserInputEnvelope connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] } export type RecentFileItemUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutUserInput[] | Prisma.RecentFileItemUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutUserInput | Prisma.RecentFileItemCreateOrConnectWithoutUserInput[] createMany?: Prisma.RecentFileItemCreateManyUserInputEnvelope connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] } export type RecentFileItemUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutUserInput[] | Prisma.RecentFileItemUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutUserInput | Prisma.RecentFileItemCreateOrConnectWithoutUserInput[] upsert?: Prisma.RecentFileItemUpsertWithWhereUniqueWithoutUserInput | Prisma.RecentFileItemUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.RecentFileItemCreateManyUserInputEnvelope set?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] disconnect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] delete?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] update?: Prisma.RecentFileItemUpdateWithWhereUniqueWithoutUserInput | Prisma.RecentFileItemUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.RecentFileItemUpdateManyWithWhereWithoutUserInput | Prisma.RecentFileItemUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] } export type RecentFileItemUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutUserInput[] | Prisma.RecentFileItemUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutUserInput | Prisma.RecentFileItemCreateOrConnectWithoutUserInput[] upsert?: Prisma.RecentFileItemUpsertWithWhereUniqueWithoutUserInput | Prisma.RecentFileItemUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.RecentFileItemCreateManyUserInputEnvelope set?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] disconnect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] delete?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] update?: Prisma.RecentFileItemUpdateWithWhereUniqueWithoutUserInput | Prisma.RecentFileItemUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.RecentFileItemUpdateManyWithWhereWithoutUserInput | Prisma.RecentFileItemUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] } export type RecentFileItemCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutProjectInput[] | Prisma.RecentFileItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutProjectInput | Prisma.RecentFileItemCreateOrConnectWithoutProjectInput[] createMany?: Prisma.RecentFileItemCreateManyProjectInputEnvelope connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] } export type RecentFileItemUncheckedCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutProjectInput[] | Prisma.RecentFileItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutProjectInput | Prisma.RecentFileItemCreateOrConnectWithoutProjectInput[] createMany?: Prisma.RecentFileItemCreateManyProjectInputEnvelope connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] } export type RecentFileItemUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutProjectInput[] | Prisma.RecentFileItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutProjectInput | Prisma.RecentFileItemCreateOrConnectWithoutProjectInput[] upsert?: Prisma.RecentFileItemUpsertWithWhereUniqueWithoutProjectInput | Prisma.RecentFileItemUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.RecentFileItemCreateManyProjectInputEnvelope set?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] disconnect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] delete?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] update?: Prisma.RecentFileItemUpdateWithWhereUniqueWithoutProjectInput | Prisma.RecentFileItemUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.RecentFileItemUpdateManyWithWhereWithoutProjectInput | Prisma.RecentFileItemUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] } export type RecentFileItemUncheckedUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutProjectInput[] | Prisma.RecentFileItemUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutProjectInput | Prisma.RecentFileItemCreateOrConnectWithoutProjectInput[] upsert?: Prisma.RecentFileItemUpsertWithWhereUniqueWithoutProjectInput | Prisma.RecentFileItemUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.RecentFileItemCreateManyProjectInputEnvelope set?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] disconnect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] delete?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] update?: Prisma.RecentFileItemUpdateWithWhereUniqueWithoutProjectInput | Prisma.RecentFileItemUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.RecentFileItemUpdateManyWithWhereWithoutProjectInput | Prisma.RecentFileItemUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] } export type RecentFileItemCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutAssetInput[] | Prisma.RecentFileItemUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutAssetInput | Prisma.RecentFileItemCreateOrConnectWithoutAssetInput[] createMany?: Prisma.RecentFileItemCreateManyAssetInputEnvelope connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] } export type RecentFileItemUncheckedCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutAssetInput[] | Prisma.RecentFileItemUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutAssetInput | Prisma.RecentFileItemCreateOrConnectWithoutAssetInput[] createMany?: Prisma.RecentFileItemCreateManyAssetInputEnvelope connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] } export type RecentFileItemUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutAssetInput[] | Prisma.RecentFileItemUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutAssetInput | Prisma.RecentFileItemCreateOrConnectWithoutAssetInput[] upsert?: Prisma.RecentFileItemUpsertWithWhereUniqueWithoutAssetInput | Prisma.RecentFileItemUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.RecentFileItemCreateManyAssetInputEnvelope set?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] disconnect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] delete?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] update?: Prisma.RecentFileItemUpdateWithWhereUniqueWithoutAssetInput | Prisma.RecentFileItemUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.RecentFileItemUpdateManyWithWhereWithoutAssetInput | Prisma.RecentFileItemUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] } export type RecentFileItemUncheckedUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.RecentFileItemCreateWithoutAssetInput[] | Prisma.RecentFileItemUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.RecentFileItemCreateOrConnectWithoutAssetInput | Prisma.RecentFileItemCreateOrConnectWithoutAssetInput[] upsert?: Prisma.RecentFileItemUpsertWithWhereUniqueWithoutAssetInput | Prisma.RecentFileItemUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.RecentFileItemCreateManyAssetInputEnvelope set?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] disconnect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] delete?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] connect?: Prisma.RecentFileItemWhereUniqueInput | Prisma.RecentFileItemWhereUniqueInput[] update?: Prisma.RecentFileItemUpdateWithWhereUniqueWithoutAssetInput | Prisma.RecentFileItemUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.RecentFileItemUpdateManyWithWhereWithoutAssetInput | Prisma.RecentFileItemUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] } export type RecentFileItemCreateWithoutUserInput = { id?: string viewedAt?: Date | string project: Prisma.ProjectCreateNestedOneWithoutRecentFilesInput asset: Prisma.AssetCreateNestedOneWithoutRecentFilesInput } export type RecentFileItemUncheckedCreateWithoutUserInput = { id?: string projectId: string assetId: string viewedAt?: Date | string } export type RecentFileItemCreateOrConnectWithoutUserInput = { where: Prisma.RecentFileItemWhereUniqueInput create: Prisma.XOR } export type RecentFileItemCreateManyUserInputEnvelope = { data: Prisma.RecentFileItemCreateManyUserInput | Prisma.RecentFileItemCreateManyUserInput[] skipDuplicates?: boolean } export type RecentFileItemUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.RecentFileItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type RecentFileItemUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.RecentFileItemWhereUniqueInput data: Prisma.XOR } export type RecentFileItemUpdateManyWithWhereWithoutUserInput = { where: Prisma.RecentFileItemScalarWhereInput data: Prisma.XOR } export type RecentFileItemScalarWhereInput = { AND?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] OR?: Prisma.RecentFileItemScalarWhereInput[] NOT?: Prisma.RecentFileItemScalarWhereInput | Prisma.RecentFileItemScalarWhereInput[] id?: Prisma.StringFilter<"RecentFileItem"> | string userId?: Prisma.StringFilter<"RecentFileItem"> | string projectId?: Prisma.StringFilter<"RecentFileItem"> | string assetId?: Prisma.StringFilter<"RecentFileItem"> | string viewedAt?: Prisma.DateTimeFilter<"RecentFileItem"> | Date | string } export type RecentFileItemCreateWithoutProjectInput = { id?: string viewedAt?: Date | string user: Prisma.UserCreateNestedOneWithoutRecentFilesInput asset: Prisma.AssetCreateNestedOneWithoutRecentFilesInput } export type RecentFileItemUncheckedCreateWithoutProjectInput = { id?: string userId: string assetId: string viewedAt?: Date | string } export type RecentFileItemCreateOrConnectWithoutProjectInput = { where: Prisma.RecentFileItemWhereUniqueInput create: Prisma.XOR } export type RecentFileItemCreateManyProjectInputEnvelope = { data: Prisma.RecentFileItemCreateManyProjectInput | Prisma.RecentFileItemCreateManyProjectInput[] skipDuplicates?: boolean } export type RecentFileItemUpsertWithWhereUniqueWithoutProjectInput = { where: Prisma.RecentFileItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type RecentFileItemUpdateWithWhereUniqueWithoutProjectInput = { where: Prisma.RecentFileItemWhereUniqueInput data: Prisma.XOR } export type RecentFileItemUpdateManyWithWhereWithoutProjectInput = { where: Prisma.RecentFileItemScalarWhereInput data: Prisma.XOR } export type RecentFileItemCreateWithoutAssetInput = { id?: string viewedAt?: Date | string user: Prisma.UserCreateNestedOneWithoutRecentFilesInput project: Prisma.ProjectCreateNestedOneWithoutRecentFilesInput } export type RecentFileItemUncheckedCreateWithoutAssetInput = { id?: string userId: string projectId: string viewedAt?: Date | string } export type RecentFileItemCreateOrConnectWithoutAssetInput = { where: Prisma.RecentFileItemWhereUniqueInput create: Prisma.XOR } export type RecentFileItemCreateManyAssetInputEnvelope = { data: Prisma.RecentFileItemCreateManyAssetInput | Prisma.RecentFileItemCreateManyAssetInput[] skipDuplicates?: boolean } export type RecentFileItemUpsertWithWhereUniqueWithoutAssetInput = { where: Prisma.RecentFileItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type RecentFileItemUpdateWithWhereUniqueWithoutAssetInput = { where: Prisma.RecentFileItemWhereUniqueInput data: Prisma.XOR } export type RecentFileItemUpdateManyWithWhereWithoutAssetInput = { where: Prisma.RecentFileItemScalarWhereInput data: Prisma.XOR } export type RecentFileItemCreateManyUserInput = { id?: string projectId: string assetId: string viewedAt?: Date | string } export type RecentFileItemUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string project?: Prisma.ProjectUpdateOneRequiredWithoutRecentFilesNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutRecentFilesNestedInput } export type RecentFileItemUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemCreateManyProjectInput = { id?: string userId: string assetId: string viewedAt?: Date | string } export type RecentFileItemUpdateWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutRecentFilesNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutRecentFilesNestedInput } export type RecentFileItemUncheckedUpdateWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemUncheckedUpdateManyWithoutProjectInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemCreateManyAssetInput = { id?: string userId: string projectId: string viewedAt?: Date | string } export type RecentFileItemUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutRecentFilesNestedInput project?: Prisma.ProjectUpdateOneRequiredWithoutRecentFilesNestedInput } export type RecentFileItemUncheckedUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemUncheckedUpdateManyWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.StringFieldUpdateOperationsInput | string viewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type RecentFileItemSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean userId?: boolean projectId?: boolean assetId?: boolean viewedAt?: boolean user?: boolean | Prisma.UserDefaultArgs project?: boolean | Prisma.ProjectDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["recentFileItem"]> export type RecentFileItemSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean userId?: boolean projectId?: boolean assetId?: boolean viewedAt?: boolean user?: boolean | Prisma.UserDefaultArgs project?: boolean | Prisma.ProjectDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["recentFileItem"]> export type RecentFileItemSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean userId?: boolean projectId?: boolean assetId?: boolean viewedAt?: boolean user?: boolean | Prisma.UserDefaultArgs project?: boolean | Prisma.ProjectDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["recentFileItem"]> export type RecentFileItemSelectScalar = { id?: boolean userId?: boolean projectId?: boolean assetId?: boolean viewedAt?: boolean } export type RecentFileItemOmit = runtime.Types.Extensions.GetOmit<"id" | "userId" | "projectId" | "assetId" | "viewedAt", ExtArgs["result"]["recentFileItem"]> export type RecentFileItemInclude = { user?: boolean | Prisma.UserDefaultArgs project?: boolean | Prisma.ProjectDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs } export type RecentFileItemIncludeCreateManyAndReturn = { user?: boolean | Prisma.UserDefaultArgs project?: boolean | Prisma.ProjectDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs } export type RecentFileItemIncludeUpdateManyAndReturn = { user?: boolean | Prisma.UserDefaultArgs project?: boolean | Prisma.ProjectDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs } export type $RecentFileItemPayload = { name: "RecentFileItem" objects: { user: Prisma.$UserPayload project: Prisma.$ProjectPayload asset: Prisma.$AssetPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string userId: string projectId: string assetId: string viewedAt: Date }, ExtArgs["result"]["recentFileItem"]> composites: {} } export type RecentFileItemGetPayload = runtime.Types.Result.GetResult export type RecentFileItemCountArgs = Omit & { select?: RecentFileItemCountAggregateInputType | true } export interface RecentFileItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['RecentFileItem'], meta: { name: 'RecentFileItem' } } /** * Find zero or one RecentFileItem that matches the filter. * @param {RecentFileItemFindUniqueArgs} args - Arguments to find a RecentFileItem * @example * // Get one RecentFileItem * const recentFileItem = await prisma.recentFileItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one RecentFileItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RecentFileItemFindUniqueOrThrowArgs} args - Arguments to find a RecentFileItem * @example * // Get one RecentFileItem * const recentFileItem = await prisma.recentFileItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first RecentFileItem 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 {RecentFileItemFindFirstArgs} args - Arguments to find a RecentFileItem * @example * // Get one RecentFileItem * const recentFileItem = await prisma.recentFileItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first RecentFileItem 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 {RecentFileItemFindFirstOrThrowArgs} args - Arguments to find a RecentFileItem * @example * // Get one RecentFileItem * const recentFileItem = await prisma.recentFileItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more RecentFileItems 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 {RecentFileItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all RecentFileItems * const recentFileItems = await prisma.recentFileItem.findMany() * * // Get first 10 RecentFileItems * const recentFileItems = await prisma.recentFileItem.findMany({ take: 10 }) * * // Only select the `id` * const recentFileItemWithIdOnly = await prisma.recentFileItem.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a RecentFileItem. * @param {RecentFileItemCreateArgs} args - Arguments to create a RecentFileItem. * @example * // Create one RecentFileItem * const RecentFileItem = await prisma.recentFileItem.create({ * data: { * // ... data to create a RecentFileItem * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many RecentFileItems. * @param {RecentFileItemCreateManyArgs} args - Arguments to create many RecentFileItems. * @example * // Create many RecentFileItems * const recentFileItem = await prisma.recentFileItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many RecentFileItems and returns the data saved in the database. * @param {RecentFileItemCreateManyAndReturnArgs} args - Arguments to create many RecentFileItems. * @example * // Create many RecentFileItems * const recentFileItem = await prisma.recentFileItem.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many RecentFileItems and only return the `id` * const recentFileItemWithIdOnly = await prisma.recentFileItem.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 RecentFileItem. * @param {RecentFileItemDeleteArgs} args - Arguments to delete one RecentFileItem. * @example * // Delete one RecentFileItem * const RecentFileItem = await prisma.recentFileItem.delete({ * where: { * // ... filter to delete one RecentFileItem * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one RecentFileItem. * @param {RecentFileItemUpdateArgs} args - Arguments to update one RecentFileItem. * @example * // Update one RecentFileItem * const recentFileItem = await prisma.recentFileItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more RecentFileItems. * @param {RecentFileItemDeleteManyArgs} args - Arguments to filter RecentFileItems to delete. * @example * // Delete a few RecentFileItems * const { count } = await prisma.recentFileItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RecentFileItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RecentFileItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many RecentFileItems * const recentFileItem = await prisma.recentFileItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RecentFileItems and returns the data updated in the database. * @param {RecentFileItemUpdateManyAndReturnArgs} args - Arguments to update many RecentFileItems. * @example * // Update many RecentFileItems * const recentFileItem = await prisma.recentFileItem.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more RecentFileItems and only return the `id` * const recentFileItemWithIdOnly = await prisma.recentFileItem.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 RecentFileItem. * @param {RecentFileItemUpsertArgs} args - Arguments to update or create a RecentFileItem. * @example * // Update or create a RecentFileItem * const recentFileItem = await prisma.recentFileItem.upsert({ * create: { * // ... data to create a RecentFileItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the RecentFileItem we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__RecentFileItemClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of RecentFileItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RecentFileItemCountArgs} args - Arguments to filter RecentFileItems to count. * @example * // Count the number of RecentFileItems * const count = await prisma.recentFileItem.count({ * where: { * // ... the filter for the RecentFileItems 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 RecentFileItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RecentFileItemAggregateArgs} 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 RecentFileItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RecentFileItemGroupByArgs} 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 RecentFileItemGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: RecentFileItemGroupByArgs['orderBy'] } : { orderBy?: RecentFileItemGroupByArgs['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 ? GetRecentFileItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the RecentFileItem model */ readonly fields: RecentFileItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for RecentFileItem. * 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__RecentFileItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> asset = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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 RecentFileItem model */ export interface RecentFileItemFieldRefs { readonly id: Prisma.FieldRef<"RecentFileItem", 'String'> readonly userId: Prisma.FieldRef<"RecentFileItem", 'String'> readonly projectId: Prisma.FieldRef<"RecentFileItem", 'String'> readonly assetId: Prisma.FieldRef<"RecentFileItem", 'String'> readonly viewedAt: Prisma.FieldRef<"RecentFileItem", 'DateTime'> } // Custom InputTypes /** * RecentFileItem findUnique */ export type RecentFileItemFindUniqueArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * Filter, which RecentFileItem to fetch. */ where: Prisma.RecentFileItemWhereUniqueInput } /** * RecentFileItem findUniqueOrThrow */ export type RecentFileItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * Filter, which RecentFileItem to fetch. */ where: Prisma.RecentFileItemWhereUniqueInput } /** * RecentFileItem findFirst */ export type RecentFileItemFindFirstArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * Filter, which RecentFileItem to fetch. */ where?: Prisma.RecentFileItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RecentFileItems to fetch. */ orderBy?: Prisma.RecentFileItemOrderByWithRelationInput | Prisma.RecentFileItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RecentFileItems. */ cursor?: Prisma.RecentFileItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RecentFileItems 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` RecentFileItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RecentFileItems. */ distinct?: Prisma.RecentFileItemScalarFieldEnum | Prisma.RecentFileItemScalarFieldEnum[] } /** * RecentFileItem findFirstOrThrow */ export type RecentFileItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * Filter, which RecentFileItem to fetch. */ where?: Prisma.RecentFileItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RecentFileItems to fetch. */ orderBy?: Prisma.RecentFileItemOrderByWithRelationInput | Prisma.RecentFileItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RecentFileItems. */ cursor?: Prisma.RecentFileItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RecentFileItems 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` RecentFileItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RecentFileItems. */ distinct?: Prisma.RecentFileItemScalarFieldEnum | Prisma.RecentFileItemScalarFieldEnum[] } /** * RecentFileItem findMany */ export type RecentFileItemFindManyArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * Filter, which RecentFileItems to fetch. */ where?: Prisma.RecentFileItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RecentFileItems to fetch. */ orderBy?: Prisma.RecentFileItemOrderByWithRelationInput | Prisma.RecentFileItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing RecentFileItems. */ cursor?: Prisma.RecentFileItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RecentFileItems 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` RecentFileItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RecentFileItems. */ distinct?: Prisma.RecentFileItemScalarFieldEnum | Prisma.RecentFileItemScalarFieldEnum[] } /** * RecentFileItem create */ export type RecentFileItemCreateArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * The data needed to create a RecentFileItem. */ data: Prisma.XOR } /** * RecentFileItem createMany */ export type RecentFileItemCreateManyArgs = { /** * The data used to create many RecentFileItems. */ data: Prisma.RecentFileItemCreateManyInput | Prisma.RecentFileItemCreateManyInput[] skipDuplicates?: boolean } /** * RecentFileItem createManyAndReturn */ export type RecentFileItemCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelectCreateManyAndReturn | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * The data used to create many RecentFileItems. */ data: Prisma.RecentFileItemCreateManyInput | Prisma.RecentFileItemCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemIncludeCreateManyAndReturn | null } /** * RecentFileItem update */ export type RecentFileItemUpdateArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * The data needed to update a RecentFileItem. */ data: Prisma.XOR /** * Choose, which RecentFileItem to update. */ where: Prisma.RecentFileItemWhereUniqueInput } /** * RecentFileItem updateMany */ export type RecentFileItemUpdateManyArgs = { /** * The data used to update RecentFileItems. */ data: Prisma.XOR /** * Filter which RecentFileItems to update */ where?: Prisma.RecentFileItemWhereInput /** * Limit how many RecentFileItems to update. */ limit?: number } /** * RecentFileItem updateManyAndReturn */ export type RecentFileItemUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelectUpdateManyAndReturn | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * The data used to update RecentFileItems. */ data: Prisma.XOR /** * Filter which RecentFileItems to update */ where?: Prisma.RecentFileItemWhereInput /** * Limit how many RecentFileItems to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemIncludeUpdateManyAndReturn | null } /** * RecentFileItem upsert */ export type RecentFileItemUpsertArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * The filter to search for the RecentFileItem to update in case it exists. */ where: Prisma.RecentFileItemWhereUniqueInput /** * In case the RecentFileItem found by the `where` argument doesn't exist, create a new RecentFileItem with this data. */ create: Prisma.XOR /** * In case the RecentFileItem was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * RecentFileItem delete */ export type RecentFileItemDeleteArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null /** * Filter which RecentFileItem to delete. */ where: Prisma.RecentFileItemWhereUniqueInput } /** * RecentFileItem deleteMany */ export type RecentFileItemDeleteManyArgs = { /** * Filter which RecentFileItems to delete */ where?: Prisma.RecentFileItemWhereInput /** * Limit how many RecentFileItems to delete. */ limit?: number } /** * RecentFileItem without action */ export type RecentFileItemDefaultArgs = { /** * Select specific fields to fetch from the RecentFileItem */ select?: Prisma.RecentFileItemSelect | null /** * Omit specific fields from the RecentFileItem */ omit?: Prisma.RecentFileItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RecentFileItemInclude | null }