/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `FileEntityLink` 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 FileEntityLink * Polymorphic link of a file to any entity (cross-cutting). `entityType` + * `entityId` address the target entity, `linkRole` is an optional role label * (e.g. "contract", "photo"). */ export type FileEntityLinkModel = runtime.Types.Result.DefaultSelection export type AggregateFileEntityLink = { _count: FileEntityLinkCountAggregateOutputType | null _min: FileEntityLinkMinAggregateOutputType | null _max: FileEntityLinkMaxAggregateOutputType | null } export type FileEntityLinkMinAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null createdByUserId: string | null fileId: string | null entityType: $Enums.FileEntityType | null entityId: string | null linkRole: string | null } export type FileEntityLinkMaxAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null createdByUserId: string | null fileId: string | null entityType: $Enums.FileEntityType | null entityId: string | null linkRole: string | null } export type FileEntityLinkCountAggregateOutputType = { id: number createdAt: number tenantId: number createdByUserId: number fileId: number entityType: number entityId: number linkRole: number _all: number } export type FileEntityLinkMinAggregateInputType = { id?: true createdAt?: true tenantId?: true createdByUserId?: true fileId?: true entityType?: true entityId?: true linkRole?: true } export type FileEntityLinkMaxAggregateInputType = { id?: true createdAt?: true tenantId?: true createdByUserId?: true fileId?: true entityType?: true entityId?: true linkRole?: true } export type FileEntityLinkCountAggregateInputType = { id?: true createdAt?: true tenantId?: true createdByUserId?: true fileId?: true entityType?: true entityId?: true linkRole?: true _all?: true } export type FileEntityLinkAggregateArgs = { /** * Filter which FileEntityLink to aggregate. */ where?: Prisma.FileEntityLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileEntityLinks to fetch. */ orderBy?: Prisma.FileEntityLinkOrderByWithRelationInput | Prisma.FileEntityLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.FileEntityLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileEntityLinks 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` FileEntityLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned FileEntityLinks **/ _count?: true | FileEntityLinkCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: FileEntityLinkMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: FileEntityLinkMaxAggregateInputType } export type GetFileEntityLinkAggregateType = { [P in keyof T & keyof AggregateFileEntityLink]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type FileEntityLinkGroupByArgs = { where?: Prisma.FileEntityLinkWhereInput orderBy?: Prisma.FileEntityLinkOrderByWithAggregationInput | Prisma.FileEntityLinkOrderByWithAggregationInput[] by: Prisma.FileEntityLinkScalarFieldEnum[] | Prisma.FileEntityLinkScalarFieldEnum having?: Prisma.FileEntityLinkScalarWhereWithAggregatesInput take?: number skip?: number _count?: FileEntityLinkCountAggregateInputType | true _min?: FileEntityLinkMinAggregateInputType _max?: FileEntityLinkMaxAggregateInputType } export type FileEntityLinkGroupByOutputType = { id: string createdAt: Date tenantId: string createdByUserId: string fileId: string entityType: $Enums.FileEntityType entityId: string linkRole: string | null _count: FileEntityLinkCountAggregateOutputType | null _min: FileEntityLinkMinAggregateOutputType | null _max: FileEntityLinkMaxAggregateOutputType | null } export type GetFileEntityLinkGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof FileEntityLinkGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type FileEntityLinkWhereInput = { AND?: Prisma.FileEntityLinkWhereInput | Prisma.FileEntityLinkWhereInput[] OR?: Prisma.FileEntityLinkWhereInput[] NOT?: Prisma.FileEntityLinkWhereInput | Prisma.FileEntityLinkWhereInput[] id?: Prisma.StringFilter<"FileEntityLink"> | string createdAt?: Prisma.DateTimeFilter<"FileEntityLink"> | Date | string tenantId?: Prisma.StringFilter<"FileEntityLink"> | string createdByUserId?: Prisma.StringFilter<"FileEntityLink"> | string fileId?: Prisma.StringFilter<"FileEntityLink"> | string entityType?: Prisma.EnumFileEntityTypeFilter<"FileEntityLink"> | $Enums.FileEntityType entityId?: Prisma.StringFilter<"FileEntityLink"> | string linkRole?: Prisma.StringNullableFilter<"FileEntityLink"> | string | null file?: Prisma.XOR } export type FileEntityLinkOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder fileId?: Prisma.SortOrder entityType?: Prisma.SortOrder entityId?: Prisma.SortOrder linkRole?: Prisma.SortOrderInput | Prisma.SortOrder file?: Prisma.FileOrderByWithRelationInput } export type FileEntityLinkWhereUniqueInput = Prisma.AtLeast<{ id?: string fileId_entityType_entityId?: Prisma.FileEntityLinkFileIdEntityTypeEntityIdCompoundUniqueInput AND?: Prisma.FileEntityLinkWhereInput | Prisma.FileEntityLinkWhereInput[] OR?: Prisma.FileEntityLinkWhereInput[] NOT?: Prisma.FileEntityLinkWhereInput | Prisma.FileEntityLinkWhereInput[] createdAt?: Prisma.DateTimeFilter<"FileEntityLink"> | Date | string tenantId?: Prisma.StringFilter<"FileEntityLink"> | string createdByUserId?: Prisma.StringFilter<"FileEntityLink"> | string fileId?: Prisma.StringFilter<"FileEntityLink"> | string entityType?: Prisma.EnumFileEntityTypeFilter<"FileEntityLink"> | $Enums.FileEntityType entityId?: Prisma.StringFilter<"FileEntityLink"> | string linkRole?: Prisma.StringNullableFilter<"FileEntityLink"> | string | null file?: Prisma.XOR }, "id" | "fileId_entityType_entityId"> export type FileEntityLinkOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder fileId?: Prisma.SortOrder entityType?: Prisma.SortOrder entityId?: Prisma.SortOrder linkRole?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.FileEntityLinkCountOrderByAggregateInput _max?: Prisma.FileEntityLinkMaxOrderByAggregateInput _min?: Prisma.FileEntityLinkMinOrderByAggregateInput } export type FileEntityLinkScalarWhereWithAggregatesInput = { AND?: Prisma.FileEntityLinkScalarWhereWithAggregatesInput | Prisma.FileEntityLinkScalarWhereWithAggregatesInput[] OR?: Prisma.FileEntityLinkScalarWhereWithAggregatesInput[] NOT?: Prisma.FileEntityLinkScalarWhereWithAggregatesInput | Prisma.FileEntityLinkScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"FileEntityLink"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"FileEntityLink"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"FileEntityLink"> | string createdByUserId?: Prisma.StringWithAggregatesFilter<"FileEntityLink"> | string fileId?: Prisma.StringWithAggregatesFilter<"FileEntityLink"> | string entityType?: Prisma.EnumFileEntityTypeWithAggregatesFilter<"FileEntityLink"> | $Enums.FileEntityType entityId?: Prisma.StringWithAggregatesFilter<"FileEntityLink"> | string linkRole?: Prisma.StringNullableWithAggregatesFilter<"FileEntityLink"> | string | null } export type FileEntityLinkCreateInput = { id?: string createdAt?: Date | string tenantId: string createdByUserId: string entityType: $Enums.FileEntityType entityId: string linkRole?: string | null file: Prisma.FileCreateNestedOneWithoutLinksInput } export type FileEntityLinkUncheckedCreateInput = { id?: string createdAt?: Date | string tenantId: string createdByUserId: string fileId: string entityType: $Enums.FileEntityType entityId: string linkRole?: string | null } export type FileEntityLinkUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string entityType?: Prisma.EnumFileEntityTypeFieldUpdateOperationsInput | $Enums.FileEntityType entityId?: Prisma.StringFieldUpdateOperationsInput | string linkRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null file?: Prisma.FileUpdateOneRequiredWithoutLinksNestedInput } export type FileEntityLinkUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string fileId?: Prisma.StringFieldUpdateOperationsInput | string entityType?: Prisma.EnumFileEntityTypeFieldUpdateOperationsInput | $Enums.FileEntityType entityId?: Prisma.StringFieldUpdateOperationsInput | string linkRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileEntityLinkCreateManyInput = { id?: string createdAt?: Date | string tenantId: string createdByUserId: string fileId: string entityType: $Enums.FileEntityType entityId: string linkRole?: string | null } export type FileEntityLinkUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string entityType?: Prisma.EnumFileEntityTypeFieldUpdateOperationsInput | $Enums.FileEntityType entityId?: Prisma.StringFieldUpdateOperationsInput | string linkRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileEntityLinkUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string fileId?: Prisma.StringFieldUpdateOperationsInput | string entityType?: Prisma.EnumFileEntityTypeFieldUpdateOperationsInput | $Enums.FileEntityType entityId?: Prisma.StringFieldUpdateOperationsInput | string linkRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileEntityLinkListRelationFilter = { every?: Prisma.FileEntityLinkWhereInput some?: Prisma.FileEntityLinkWhereInput none?: Prisma.FileEntityLinkWhereInput } export type FileEntityLinkOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type FileEntityLinkFileIdEntityTypeEntityIdCompoundUniqueInput = { fileId: string entityType: $Enums.FileEntityType entityId: string } export type FileEntityLinkCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder fileId?: Prisma.SortOrder entityType?: Prisma.SortOrder entityId?: Prisma.SortOrder linkRole?: Prisma.SortOrder } export type FileEntityLinkMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder fileId?: Prisma.SortOrder entityType?: Prisma.SortOrder entityId?: Prisma.SortOrder linkRole?: Prisma.SortOrder } export type FileEntityLinkMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder createdByUserId?: Prisma.SortOrder fileId?: Prisma.SortOrder entityType?: Prisma.SortOrder entityId?: Prisma.SortOrder linkRole?: Prisma.SortOrder } export type FileEntityLinkCreateNestedManyWithoutFileInput = { create?: Prisma.XOR | Prisma.FileEntityLinkCreateWithoutFileInput[] | Prisma.FileEntityLinkUncheckedCreateWithoutFileInput[] connectOrCreate?: Prisma.FileEntityLinkCreateOrConnectWithoutFileInput | Prisma.FileEntityLinkCreateOrConnectWithoutFileInput[] createMany?: Prisma.FileEntityLinkCreateManyFileInputEnvelope connect?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] } export type FileEntityLinkUncheckedCreateNestedManyWithoutFileInput = { create?: Prisma.XOR | Prisma.FileEntityLinkCreateWithoutFileInput[] | Prisma.FileEntityLinkUncheckedCreateWithoutFileInput[] connectOrCreate?: Prisma.FileEntityLinkCreateOrConnectWithoutFileInput | Prisma.FileEntityLinkCreateOrConnectWithoutFileInput[] createMany?: Prisma.FileEntityLinkCreateManyFileInputEnvelope connect?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] } export type FileEntityLinkUpdateManyWithoutFileNestedInput = { create?: Prisma.XOR | Prisma.FileEntityLinkCreateWithoutFileInput[] | Prisma.FileEntityLinkUncheckedCreateWithoutFileInput[] connectOrCreate?: Prisma.FileEntityLinkCreateOrConnectWithoutFileInput | Prisma.FileEntityLinkCreateOrConnectWithoutFileInput[] upsert?: Prisma.FileEntityLinkUpsertWithWhereUniqueWithoutFileInput | Prisma.FileEntityLinkUpsertWithWhereUniqueWithoutFileInput[] createMany?: Prisma.FileEntityLinkCreateManyFileInputEnvelope set?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] disconnect?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] delete?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] connect?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] update?: Prisma.FileEntityLinkUpdateWithWhereUniqueWithoutFileInput | Prisma.FileEntityLinkUpdateWithWhereUniqueWithoutFileInput[] updateMany?: Prisma.FileEntityLinkUpdateManyWithWhereWithoutFileInput | Prisma.FileEntityLinkUpdateManyWithWhereWithoutFileInput[] deleteMany?: Prisma.FileEntityLinkScalarWhereInput | Prisma.FileEntityLinkScalarWhereInput[] } export type FileEntityLinkUncheckedUpdateManyWithoutFileNestedInput = { create?: Prisma.XOR | Prisma.FileEntityLinkCreateWithoutFileInput[] | Prisma.FileEntityLinkUncheckedCreateWithoutFileInput[] connectOrCreate?: Prisma.FileEntityLinkCreateOrConnectWithoutFileInput | Prisma.FileEntityLinkCreateOrConnectWithoutFileInput[] upsert?: Prisma.FileEntityLinkUpsertWithWhereUniqueWithoutFileInput | Prisma.FileEntityLinkUpsertWithWhereUniqueWithoutFileInput[] createMany?: Prisma.FileEntityLinkCreateManyFileInputEnvelope set?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] disconnect?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] delete?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] connect?: Prisma.FileEntityLinkWhereUniqueInput | Prisma.FileEntityLinkWhereUniqueInput[] update?: Prisma.FileEntityLinkUpdateWithWhereUniqueWithoutFileInput | Prisma.FileEntityLinkUpdateWithWhereUniqueWithoutFileInput[] updateMany?: Prisma.FileEntityLinkUpdateManyWithWhereWithoutFileInput | Prisma.FileEntityLinkUpdateManyWithWhereWithoutFileInput[] deleteMany?: Prisma.FileEntityLinkScalarWhereInput | Prisma.FileEntityLinkScalarWhereInput[] } export type EnumFileEntityTypeFieldUpdateOperationsInput = { set?: $Enums.FileEntityType } export type FileEntityLinkCreateWithoutFileInput = { id?: string createdAt?: Date | string tenantId: string createdByUserId: string entityType: $Enums.FileEntityType entityId: string linkRole?: string | null } export type FileEntityLinkUncheckedCreateWithoutFileInput = { id?: string createdAt?: Date | string tenantId: string createdByUserId: string entityType: $Enums.FileEntityType entityId: string linkRole?: string | null } export type FileEntityLinkCreateOrConnectWithoutFileInput = { where: Prisma.FileEntityLinkWhereUniqueInput create: Prisma.XOR } export type FileEntityLinkCreateManyFileInputEnvelope = { data: Prisma.FileEntityLinkCreateManyFileInput | Prisma.FileEntityLinkCreateManyFileInput[] skipDuplicates?: boolean } export type FileEntityLinkUpsertWithWhereUniqueWithoutFileInput = { where: Prisma.FileEntityLinkWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type FileEntityLinkUpdateWithWhereUniqueWithoutFileInput = { where: Prisma.FileEntityLinkWhereUniqueInput data: Prisma.XOR } export type FileEntityLinkUpdateManyWithWhereWithoutFileInput = { where: Prisma.FileEntityLinkScalarWhereInput data: Prisma.XOR } export type FileEntityLinkScalarWhereInput = { AND?: Prisma.FileEntityLinkScalarWhereInput | Prisma.FileEntityLinkScalarWhereInput[] OR?: Prisma.FileEntityLinkScalarWhereInput[] NOT?: Prisma.FileEntityLinkScalarWhereInput | Prisma.FileEntityLinkScalarWhereInput[] id?: Prisma.StringFilter<"FileEntityLink"> | string createdAt?: Prisma.DateTimeFilter<"FileEntityLink"> | Date | string tenantId?: Prisma.StringFilter<"FileEntityLink"> | string createdByUserId?: Prisma.StringFilter<"FileEntityLink"> | string fileId?: Prisma.StringFilter<"FileEntityLink"> | string entityType?: Prisma.EnumFileEntityTypeFilter<"FileEntityLink"> | $Enums.FileEntityType entityId?: Prisma.StringFilter<"FileEntityLink"> | string linkRole?: Prisma.StringNullableFilter<"FileEntityLink"> | string | null } export type FileEntityLinkCreateManyFileInput = { id?: string createdAt?: Date | string tenantId: string createdByUserId: string entityType: $Enums.FileEntityType entityId: string linkRole?: string | null } export type FileEntityLinkUpdateWithoutFileInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string entityType?: Prisma.EnumFileEntityTypeFieldUpdateOperationsInput | $Enums.FileEntityType entityId?: Prisma.StringFieldUpdateOperationsInput | string linkRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileEntityLinkUncheckedUpdateWithoutFileInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string entityType?: Prisma.EnumFileEntityTypeFieldUpdateOperationsInput | $Enums.FileEntityType entityId?: Prisma.StringFieldUpdateOperationsInput | string linkRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileEntityLinkUncheckedUpdateManyWithoutFileInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string entityType?: Prisma.EnumFileEntityTypeFieldUpdateOperationsInput | $Enums.FileEntityType entityId?: Prisma.StringFieldUpdateOperationsInput | string linkRole?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type FileEntityLinkSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean createdByUserId?: boolean fileId?: boolean entityType?: boolean entityId?: boolean linkRole?: boolean file?: boolean | Prisma.FileDefaultArgs }, ExtArgs["result"]["fileEntityLink"]> export type FileEntityLinkSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean createdByUserId?: boolean fileId?: boolean entityType?: boolean entityId?: boolean linkRole?: boolean file?: boolean | Prisma.FileDefaultArgs }, ExtArgs["result"]["fileEntityLink"]> export type FileEntityLinkSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean createdByUserId?: boolean fileId?: boolean entityType?: boolean entityId?: boolean linkRole?: boolean file?: boolean | Prisma.FileDefaultArgs }, ExtArgs["result"]["fileEntityLink"]> export type FileEntityLinkSelectScalar = { id?: boolean createdAt?: boolean tenantId?: boolean createdByUserId?: boolean fileId?: boolean entityType?: boolean entityId?: boolean linkRole?: boolean } export type FileEntityLinkOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "createdByUserId" | "fileId" | "entityType" | "entityId" | "linkRole", ExtArgs["result"]["fileEntityLink"]> export type FileEntityLinkInclude = { file?: boolean | Prisma.FileDefaultArgs } export type FileEntityLinkIncludeCreateManyAndReturn = { file?: boolean | Prisma.FileDefaultArgs } export type FileEntityLinkIncludeUpdateManyAndReturn = { file?: boolean | Prisma.FileDefaultArgs } export type $FileEntityLinkPayload = { name: "FileEntityLink" objects: { file: Prisma.$FilePayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date tenantId: string createdByUserId: string fileId: string entityType: $Enums.FileEntityType entityId: string linkRole: string | null }, ExtArgs["result"]["fileEntityLink"]> composites: {} } export type FileEntityLinkGetPayload = runtime.Types.Result.GetResult export type FileEntityLinkCountArgs = Omit & { select?: FileEntityLinkCountAggregateInputType | true } export interface FileEntityLinkDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['FileEntityLink'], meta: { name: 'FileEntityLink' } } /** * Find zero or one FileEntityLink that matches the filter. * @param {FileEntityLinkFindUniqueArgs} args - Arguments to find a FileEntityLink * @example * // Get one FileEntityLink * const fileEntityLink = await prisma.fileEntityLink.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one FileEntityLink that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {FileEntityLinkFindUniqueOrThrowArgs} args - Arguments to find a FileEntityLink * @example * // Get one FileEntityLink * const fileEntityLink = await prisma.fileEntityLink.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first FileEntityLink 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 {FileEntityLinkFindFirstArgs} args - Arguments to find a FileEntityLink * @example * // Get one FileEntityLink * const fileEntityLink = await prisma.fileEntityLink.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first FileEntityLink 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 {FileEntityLinkFindFirstOrThrowArgs} args - Arguments to find a FileEntityLink * @example * // Get one FileEntityLink * const fileEntityLink = await prisma.fileEntityLink.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more FileEntityLinks 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 {FileEntityLinkFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all FileEntityLinks * const fileEntityLinks = await prisma.fileEntityLink.findMany() * * // Get first 10 FileEntityLinks * const fileEntityLinks = await prisma.fileEntityLink.findMany({ take: 10 }) * * // Only select the `id` * const fileEntityLinkWithIdOnly = await prisma.fileEntityLink.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a FileEntityLink. * @param {FileEntityLinkCreateArgs} args - Arguments to create a FileEntityLink. * @example * // Create one FileEntityLink * const FileEntityLink = await prisma.fileEntityLink.create({ * data: { * // ... data to create a FileEntityLink * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many FileEntityLinks. * @param {FileEntityLinkCreateManyArgs} args - Arguments to create many FileEntityLinks. * @example * // Create many FileEntityLinks * const fileEntityLink = await prisma.fileEntityLink.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many FileEntityLinks and returns the data saved in the database. * @param {FileEntityLinkCreateManyAndReturnArgs} args - Arguments to create many FileEntityLinks. * @example * // Create many FileEntityLinks * const fileEntityLink = await prisma.fileEntityLink.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many FileEntityLinks and only return the `id` * const fileEntityLinkWithIdOnly = await prisma.fileEntityLink.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 FileEntityLink. * @param {FileEntityLinkDeleteArgs} args - Arguments to delete one FileEntityLink. * @example * // Delete one FileEntityLink * const FileEntityLink = await prisma.fileEntityLink.delete({ * where: { * // ... filter to delete one FileEntityLink * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one FileEntityLink. * @param {FileEntityLinkUpdateArgs} args - Arguments to update one FileEntityLink. * @example * // Update one FileEntityLink * const fileEntityLink = await prisma.fileEntityLink.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more FileEntityLinks. * @param {FileEntityLinkDeleteManyArgs} args - Arguments to filter FileEntityLinks to delete. * @example * // Delete a few FileEntityLinks * const { count } = await prisma.fileEntityLink.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FileEntityLinks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileEntityLinkUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many FileEntityLinks * const fileEntityLink = await prisma.fileEntityLink.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FileEntityLinks and returns the data updated in the database. * @param {FileEntityLinkUpdateManyAndReturnArgs} args - Arguments to update many FileEntityLinks. * @example * // Update many FileEntityLinks * const fileEntityLink = await prisma.fileEntityLink.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more FileEntityLinks and only return the `id` * const fileEntityLinkWithIdOnly = await prisma.fileEntityLink.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 FileEntityLink. * @param {FileEntityLinkUpsertArgs} args - Arguments to update or create a FileEntityLink. * @example * // Update or create a FileEntityLink * const fileEntityLink = await prisma.fileEntityLink.upsert({ * create: { * // ... data to create a FileEntityLink * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the FileEntityLink we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__FileEntityLinkClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of FileEntityLinks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileEntityLinkCountArgs} args - Arguments to filter FileEntityLinks to count. * @example * // Count the number of FileEntityLinks * const count = await prisma.fileEntityLink.count({ * where: { * // ... the filter for the FileEntityLinks 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 FileEntityLink. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileEntityLinkAggregateArgs} 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 FileEntityLink. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileEntityLinkGroupByArgs} 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 FileEntityLinkGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: FileEntityLinkGroupByArgs['orderBy'] } : { orderBy?: FileEntityLinkGroupByArgs['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 ? GetFileEntityLinkGroupByPayload : Prisma.PrismaPromise /** * Fields of the FileEntityLink model */ readonly fields: FileEntityLinkFieldRefs; } /** * The delegate class that acts as a "Promise-like" for FileEntityLink. * 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__FileEntityLinkClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" file = {}>(args?: Prisma.Subset>): Prisma.Prisma__FileClient, 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 FileEntityLink model */ export interface FileEntityLinkFieldRefs { readonly id: Prisma.FieldRef<"FileEntityLink", 'String'> readonly createdAt: Prisma.FieldRef<"FileEntityLink", 'DateTime'> readonly tenantId: Prisma.FieldRef<"FileEntityLink", 'String'> readonly createdByUserId: Prisma.FieldRef<"FileEntityLink", 'String'> readonly fileId: Prisma.FieldRef<"FileEntityLink", 'String'> readonly entityType: Prisma.FieldRef<"FileEntityLink", 'FileEntityType'> readonly entityId: Prisma.FieldRef<"FileEntityLink", 'String'> readonly linkRole: Prisma.FieldRef<"FileEntityLink", 'String'> } // Custom InputTypes /** * FileEntityLink findUnique */ export type FileEntityLinkFindUniqueArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * Filter, which FileEntityLink to fetch. */ where: Prisma.FileEntityLinkWhereUniqueInput } /** * FileEntityLink findUniqueOrThrow */ export type FileEntityLinkFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * Filter, which FileEntityLink to fetch. */ where: Prisma.FileEntityLinkWhereUniqueInput } /** * FileEntityLink findFirst */ export type FileEntityLinkFindFirstArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * Filter, which FileEntityLink to fetch. */ where?: Prisma.FileEntityLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileEntityLinks to fetch. */ orderBy?: Prisma.FileEntityLinkOrderByWithRelationInput | Prisma.FileEntityLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FileEntityLinks. */ cursor?: Prisma.FileEntityLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileEntityLinks 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` FileEntityLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileEntityLinks. */ distinct?: Prisma.FileEntityLinkScalarFieldEnum | Prisma.FileEntityLinkScalarFieldEnum[] } /** * FileEntityLink findFirstOrThrow */ export type FileEntityLinkFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * Filter, which FileEntityLink to fetch. */ where?: Prisma.FileEntityLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileEntityLinks to fetch. */ orderBy?: Prisma.FileEntityLinkOrderByWithRelationInput | Prisma.FileEntityLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FileEntityLinks. */ cursor?: Prisma.FileEntityLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileEntityLinks 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` FileEntityLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileEntityLinks. */ distinct?: Prisma.FileEntityLinkScalarFieldEnum | Prisma.FileEntityLinkScalarFieldEnum[] } /** * FileEntityLink findMany */ export type FileEntityLinkFindManyArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * Filter, which FileEntityLinks to fetch. */ where?: Prisma.FileEntityLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileEntityLinks to fetch. */ orderBy?: Prisma.FileEntityLinkOrderByWithRelationInput | Prisma.FileEntityLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing FileEntityLinks. */ cursor?: Prisma.FileEntityLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileEntityLinks 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` FileEntityLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileEntityLinks. */ distinct?: Prisma.FileEntityLinkScalarFieldEnum | Prisma.FileEntityLinkScalarFieldEnum[] } /** * FileEntityLink create */ export type FileEntityLinkCreateArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * The data needed to create a FileEntityLink. */ data: Prisma.XOR } /** * FileEntityLink createMany */ export type FileEntityLinkCreateManyArgs = { /** * The data used to create many FileEntityLinks. */ data: Prisma.FileEntityLinkCreateManyInput | Prisma.FileEntityLinkCreateManyInput[] skipDuplicates?: boolean } /** * FileEntityLink createManyAndReturn */ export type FileEntityLinkCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelectCreateManyAndReturn | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * The data used to create many FileEntityLinks. */ data: Prisma.FileEntityLinkCreateManyInput | Prisma.FileEntityLinkCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkIncludeCreateManyAndReturn | null } /** * FileEntityLink update */ export type FileEntityLinkUpdateArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * The data needed to update a FileEntityLink. */ data: Prisma.XOR /** * Choose, which FileEntityLink to update. */ where: Prisma.FileEntityLinkWhereUniqueInput } /** * FileEntityLink updateMany */ export type FileEntityLinkUpdateManyArgs = { /** * The data used to update FileEntityLinks. */ data: Prisma.XOR /** * Filter which FileEntityLinks to update */ where?: Prisma.FileEntityLinkWhereInput /** * Limit how many FileEntityLinks to update. */ limit?: number } /** * FileEntityLink updateManyAndReturn */ export type FileEntityLinkUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelectUpdateManyAndReturn | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * The data used to update FileEntityLinks. */ data: Prisma.XOR /** * Filter which FileEntityLinks to update */ where?: Prisma.FileEntityLinkWhereInput /** * Limit how many FileEntityLinks to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkIncludeUpdateManyAndReturn | null } /** * FileEntityLink upsert */ export type FileEntityLinkUpsertArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * The filter to search for the FileEntityLink to update in case it exists. */ where: Prisma.FileEntityLinkWhereUniqueInput /** * In case the FileEntityLink found by the `where` argument doesn't exist, create a new FileEntityLink with this data. */ create: Prisma.XOR /** * In case the FileEntityLink was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * FileEntityLink delete */ export type FileEntityLinkDeleteArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null /** * Filter which FileEntityLink to delete. */ where: Prisma.FileEntityLinkWhereUniqueInput } /** * FileEntityLink deleteMany */ export type FileEntityLinkDeleteManyArgs = { /** * Filter which FileEntityLinks to delete */ where?: Prisma.FileEntityLinkWhereInput /** * Limit how many FileEntityLinks to delete. */ limit?: number } /** * FileEntityLink without action */ export type FileEntityLinkDefaultArgs = { /** * Select specific fields to fetch from the FileEntityLink */ select?: Prisma.FileEntityLinkSelect | null /** * Omit specific fields from the FileEntityLink */ omit?: Prisma.FileEntityLinkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileEntityLinkInclude | null }