/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AssetCommentAttachment` 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 AssetCommentAttachment * */ export type AssetCommentAttachmentModel = runtime.Types.Result.DefaultSelection export type AggregateAssetCommentAttachment = { _count: AssetCommentAttachmentCountAggregateOutputType | null _min: AssetCommentAttachmentMinAggregateOutputType | null _max: AssetCommentAttachmentMaxAggregateOutputType | null } export type AssetCommentAttachmentMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null commentId: string | null assetId: string | null } export type AssetCommentAttachmentMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null commentId: string | null assetId: string | null } export type AssetCommentAttachmentCountAggregateOutputType = { id: number createdAt: number updatedAt: number commentId: number assetId: number _all: number } export type AssetCommentAttachmentMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true commentId?: true assetId?: true } export type AssetCommentAttachmentMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true commentId?: true assetId?: true } export type AssetCommentAttachmentCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true commentId?: true assetId?: true _all?: true } export type AssetCommentAttachmentAggregateArgs = { /** * Filter which AssetCommentAttachment to aggregate. */ where?: Prisma.AssetCommentAttachmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetCommentAttachments to fetch. */ orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetCommentAttachments 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` AssetCommentAttachments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AssetCommentAttachments **/ _count?: true | AssetCommentAttachmentCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AssetCommentAttachmentMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AssetCommentAttachmentMaxAggregateInputType } export type GetAssetCommentAttachmentAggregateType = { [P in keyof T & keyof AggregateAssetCommentAttachment]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AssetCommentAttachmentGroupByArgs = { where?: Prisma.AssetCommentAttachmentWhereInput orderBy?: Prisma.AssetCommentAttachmentOrderByWithAggregationInput | Prisma.AssetCommentAttachmentOrderByWithAggregationInput[] by: Prisma.AssetCommentAttachmentScalarFieldEnum[] | Prisma.AssetCommentAttachmentScalarFieldEnum having?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput take?: number skip?: number _count?: AssetCommentAttachmentCountAggregateInputType | true _min?: AssetCommentAttachmentMinAggregateInputType _max?: AssetCommentAttachmentMaxAggregateInputType } export type AssetCommentAttachmentGroupByOutputType = { id: string createdAt: Date updatedAt: Date commentId: string assetId: string _count: AssetCommentAttachmentCountAggregateOutputType | null _min: AssetCommentAttachmentMinAggregateOutputType | null _max: AssetCommentAttachmentMaxAggregateOutputType | null } export type GetAssetCommentAttachmentGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AssetCommentAttachmentGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AssetCommentAttachmentWhereInput = { AND?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] OR?: Prisma.AssetCommentAttachmentWhereInput[] NOT?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] id?: Prisma.StringFilter<"AssetCommentAttachment"> | string createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string comment?: Prisma.XOR asset?: Prisma.XOR } export type AssetCommentAttachmentOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder commentId?: Prisma.SortOrder assetId?: Prisma.SortOrder comment?: Prisma.AssetCommentOrderByWithRelationInput asset?: Prisma.AssetOrderByWithRelationInput } export type AssetCommentAttachmentWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] OR?: Prisma.AssetCommentAttachmentWhereInput[] NOT?: Prisma.AssetCommentAttachmentWhereInput | Prisma.AssetCommentAttachmentWhereInput[] createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string comment?: Prisma.XOR asset?: Prisma.XOR }, "id"> export type AssetCommentAttachmentOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder commentId?: Prisma.SortOrder assetId?: Prisma.SortOrder _count?: Prisma.AssetCommentAttachmentCountOrderByAggregateInput _max?: Prisma.AssetCommentAttachmentMaxOrderByAggregateInput _min?: Prisma.AssetCommentAttachmentMinOrderByAggregateInput } export type AssetCommentAttachmentScalarWhereWithAggregatesInput = { AND?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput | Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[] OR?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[] NOT?: Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput | Prisma.AssetCommentAttachmentScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AssetCommentAttachment"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AssetCommentAttachment"> | Date | string commentId?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string assetId?: Prisma.StringWithAggregatesFilter<"AssetCommentAttachment"> | string } export type AssetCommentAttachmentCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string comment: Prisma.AssetCommentCreateNestedOneWithoutAttachmentsInput asset: Prisma.AssetCreateNestedOneWithoutCommentAttachmentsInput } export type AssetCommentAttachmentUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string commentId: string assetId: string } export type AssetCommentAttachmentUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string comment?: Prisma.AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput asset?: Prisma.AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput } export type AssetCommentAttachmentUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string commentId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string } export type AssetCommentAttachmentCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string commentId: string assetId: string } export type AssetCommentAttachmentUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type AssetCommentAttachmentUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string commentId?: Prisma.StringFieldUpdateOperationsInput | string assetId?: Prisma.StringFieldUpdateOperationsInput | string } export type AssetCommentAttachmentListRelationFilter = { every?: Prisma.AssetCommentAttachmentWhereInput some?: Prisma.AssetCommentAttachmentWhereInput none?: Prisma.AssetCommentAttachmentWhereInput } export type AssetCommentAttachmentOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AssetCommentAttachmentCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder commentId?: Prisma.SortOrder assetId?: Prisma.SortOrder } export type AssetCommentAttachmentMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder commentId?: Prisma.SortOrder assetId?: Prisma.SortOrder } export type AssetCommentAttachmentMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder commentId?: Prisma.SortOrder assetId?: Prisma.SortOrder } export type AssetCommentAttachmentCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] } export type AssetCommentAttachmentUncheckedCreateNestedManyWithoutAssetInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] } export type AssetCommentAttachmentUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] } export type AssetCommentAttachmentUncheckedUpdateManyWithoutAssetNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutAssetInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutAssetInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutAssetInput[] upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyAssetInputEnvelope set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput[] updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput[] deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] } export type AssetCommentAttachmentCreateNestedManyWithoutCommentInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] } export type AssetCommentAttachmentUncheckedCreateNestedManyWithoutCommentInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] } export type AssetCommentAttachmentUpdateManyWithoutCommentNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput[] updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput[] deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] } export type AssetCommentAttachmentUncheckedUpdateManyWithoutCommentNestedInput = { create?: Prisma.XOR | Prisma.AssetCommentAttachmentCreateWithoutCommentInput[] | Prisma.AssetCommentAttachmentUncheckedCreateWithoutCommentInput[] connectOrCreate?: Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput | Prisma.AssetCommentAttachmentCreateOrConnectWithoutCommentInput[] upsert?: Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput[] createMany?: Prisma.AssetCommentAttachmentCreateManyCommentInputEnvelope set?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] disconnect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] delete?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] connect?: Prisma.AssetCommentAttachmentWhereUniqueInput | Prisma.AssetCommentAttachmentWhereUniqueInput[] update?: Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput[] updateMany?: Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput | Prisma.AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput[] deleteMany?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] } export type AssetCommentAttachmentCreateWithoutAssetInput = { id?: string createdAt?: Date | string updatedAt?: Date | string comment: Prisma.AssetCommentCreateNestedOneWithoutAttachmentsInput } export type AssetCommentAttachmentUncheckedCreateWithoutAssetInput = { id?: string createdAt?: Date | string updatedAt?: Date | string commentId: string } export type AssetCommentAttachmentCreateOrConnectWithoutAssetInput = { where: Prisma.AssetCommentAttachmentWhereUniqueInput create: Prisma.XOR } export type AssetCommentAttachmentCreateManyAssetInputEnvelope = { data: Prisma.AssetCommentAttachmentCreateManyAssetInput | Prisma.AssetCommentAttachmentCreateManyAssetInput[] skipDuplicates?: boolean } export type AssetCommentAttachmentUpsertWithWhereUniqueWithoutAssetInput = { where: Prisma.AssetCommentAttachmentWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AssetCommentAttachmentUpdateWithWhereUniqueWithoutAssetInput = { where: Prisma.AssetCommentAttachmentWhereUniqueInput data: Prisma.XOR } export type AssetCommentAttachmentUpdateManyWithWhereWithoutAssetInput = { where: Prisma.AssetCommentAttachmentScalarWhereInput data: Prisma.XOR } export type AssetCommentAttachmentScalarWhereInput = { AND?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] OR?: Prisma.AssetCommentAttachmentScalarWhereInput[] NOT?: Prisma.AssetCommentAttachmentScalarWhereInput | Prisma.AssetCommentAttachmentScalarWhereInput[] id?: Prisma.StringFilter<"AssetCommentAttachment"> | string createdAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string updatedAt?: Prisma.DateTimeFilter<"AssetCommentAttachment"> | Date | string commentId?: Prisma.StringFilter<"AssetCommentAttachment"> | string assetId?: Prisma.StringFilter<"AssetCommentAttachment"> | string } export type AssetCommentAttachmentCreateWithoutCommentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string asset: Prisma.AssetCreateNestedOneWithoutCommentAttachmentsInput } export type AssetCommentAttachmentUncheckedCreateWithoutCommentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string assetId: string } export type AssetCommentAttachmentCreateOrConnectWithoutCommentInput = { where: Prisma.AssetCommentAttachmentWhereUniqueInput create: Prisma.XOR } export type AssetCommentAttachmentCreateManyCommentInputEnvelope = { data: Prisma.AssetCommentAttachmentCreateManyCommentInput | Prisma.AssetCommentAttachmentCreateManyCommentInput[] skipDuplicates?: boolean } export type AssetCommentAttachmentUpsertWithWhereUniqueWithoutCommentInput = { where: Prisma.AssetCommentAttachmentWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AssetCommentAttachmentUpdateWithWhereUniqueWithoutCommentInput = { where: Prisma.AssetCommentAttachmentWhereUniqueInput data: Prisma.XOR } export type AssetCommentAttachmentUpdateManyWithWhereWithoutCommentInput = { where: Prisma.AssetCommentAttachmentScalarWhereInput data: Prisma.XOR } export type AssetCommentAttachmentCreateManyAssetInput = { id?: string createdAt?: Date | string updatedAt?: Date | string commentId: string } export type AssetCommentAttachmentUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string comment?: Prisma.AssetCommentUpdateOneRequiredWithoutAttachmentsNestedInput } export type AssetCommentAttachmentUncheckedUpdateWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string commentId?: Prisma.StringFieldUpdateOperationsInput | string } export type AssetCommentAttachmentUncheckedUpdateManyWithoutAssetInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string commentId?: Prisma.StringFieldUpdateOperationsInput | string } export type AssetCommentAttachmentCreateManyCommentInput = { id?: string createdAt?: Date | string updatedAt?: Date | string assetId: string } export type AssetCommentAttachmentUpdateWithoutCommentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string asset?: Prisma.AssetUpdateOneRequiredWithoutCommentAttachmentsNestedInput } export type AssetCommentAttachmentUncheckedUpdateWithoutCommentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string } export type AssetCommentAttachmentUncheckedUpdateManyWithoutCommentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string assetId?: Prisma.StringFieldUpdateOperationsInput | string } export type AssetCommentAttachmentSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean commentId?: boolean assetId?: boolean comment?: boolean | Prisma.AssetCommentDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["assetCommentAttachment"]> export type AssetCommentAttachmentSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean commentId?: boolean assetId?: boolean comment?: boolean | Prisma.AssetCommentDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["assetCommentAttachment"]> export type AssetCommentAttachmentSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean commentId?: boolean assetId?: boolean comment?: boolean | Prisma.AssetCommentDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs }, ExtArgs["result"]["assetCommentAttachment"]> export type AssetCommentAttachmentSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean commentId?: boolean assetId?: boolean } export type AssetCommentAttachmentOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "commentId" | "assetId", ExtArgs["result"]["assetCommentAttachment"]> export type AssetCommentAttachmentInclude = { comment?: boolean | Prisma.AssetCommentDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs } export type AssetCommentAttachmentIncludeCreateManyAndReturn = { comment?: boolean | Prisma.AssetCommentDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs } export type AssetCommentAttachmentIncludeUpdateManyAndReturn = { comment?: boolean | Prisma.AssetCommentDefaultArgs asset?: boolean | Prisma.AssetDefaultArgs } export type $AssetCommentAttachmentPayload = { name: "AssetCommentAttachment" objects: { comment: Prisma.$AssetCommentPayload asset: Prisma.$AssetPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date commentId: string assetId: string }, ExtArgs["result"]["assetCommentAttachment"]> composites: {} } export type AssetCommentAttachmentGetPayload = runtime.Types.Result.GetResult export type AssetCommentAttachmentCountArgs = Omit & { select?: AssetCommentAttachmentCountAggregateInputType | true } export interface AssetCommentAttachmentDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AssetCommentAttachment'], meta: { name: 'AssetCommentAttachment' } } /** * Find zero or one AssetCommentAttachment that matches the filter. * @param {AssetCommentAttachmentFindUniqueArgs} args - Arguments to find a AssetCommentAttachment * @example * // Get one AssetCommentAttachment * const assetCommentAttachment = await prisma.assetCommentAttachment.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AssetCommentAttachment that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AssetCommentAttachmentFindUniqueOrThrowArgs} args - Arguments to find a AssetCommentAttachment * @example * // Get one AssetCommentAttachment * const assetCommentAttachment = await prisma.assetCommentAttachment.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AssetCommentAttachment 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 {AssetCommentAttachmentFindFirstArgs} args - Arguments to find a AssetCommentAttachment * @example * // Get one AssetCommentAttachment * const assetCommentAttachment = await prisma.assetCommentAttachment.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AssetCommentAttachment 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 {AssetCommentAttachmentFindFirstOrThrowArgs} args - Arguments to find a AssetCommentAttachment * @example * // Get one AssetCommentAttachment * const assetCommentAttachment = await prisma.assetCommentAttachment.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AssetCommentAttachments 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 {AssetCommentAttachmentFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AssetCommentAttachments * const assetCommentAttachments = await prisma.assetCommentAttachment.findMany() * * // Get first 10 AssetCommentAttachments * const assetCommentAttachments = await prisma.assetCommentAttachment.findMany({ take: 10 }) * * // Only select the `id` * const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AssetCommentAttachment. * @param {AssetCommentAttachmentCreateArgs} args - Arguments to create a AssetCommentAttachment. * @example * // Create one AssetCommentAttachment * const AssetCommentAttachment = await prisma.assetCommentAttachment.create({ * data: { * // ... data to create a AssetCommentAttachment * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AssetCommentAttachments. * @param {AssetCommentAttachmentCreateManyArgs} args - Arguments to create many AssetCommentAttachments. * @example * // Create many AssetCommentAttachments * const assetCommentAttachment = await prisma.assetCommentAttachment.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AssetCommentAttachments and returns the data saved in the database. * @param {AssetCommentAttachmentCreateManyAndReturnArgs} args - Arguments to create many AssetCommentAttachments. * @example * // Create many AssetCommentAttachments * const assetCommentAttachment = await prisma.assetCommentAttachment.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AssetCommentAttachments and only return the `id` * const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.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 AssetCommentAttachment. * @param {AssetCommentAttachmentDeleteArgs} args - Arguments to delete one AssetCommentAttachment. * @example * // Delete one AssetCommentAttachment * const AssetCommentAttachment = await prisma.assetCommentAttachment.delete({ * where: { * // ... filter to delete one AssetCommentAttachment * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AssetCommentAttachment. * @param {AssetCommentAttachmentUpdateArgs} args - Arguments to update one AssetCommentAttachment. * @example * // Update one AssetCommentAttachment * const assetCommentAttachment = await prisma.assetCommentAttachment.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AssetCommentAttachments. * @param {AssetCommentAttachmentDeleteManyArgs} args - Arguments to filter AssetCommentAttachments to delete. * @example * // Delete a few AssetCommentAttachments * const { count } = await prisma.assetCommentAttachment.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AssetCommentAttachments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentAttachmentUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AssetCommentAttachments * const assetCommentAttachment = await prisma.assetCommentAttachment.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AssetCommentAttachments and returns the data updated in the database. * @param {AssetCommentAttachmentUpdateManyAndReturnArgs} args - Arguments to update many AssetCommentAttachments. * @example * // Update many AssetCommentAttachments * const assetCommentAttachment = await prisma.assetCommentAttachment.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AssetCommentAttachments and only return the `id` * const assetCommentAttachmentWithIdOnly = await prisma.assetCommentAttachment.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 AssetCommentAttachment. * @param {AssetCommentAttachmentUpsertArgs} args - Arguments to update or create a AssetCommentAttachment. * @example * // Update or create a AssetCommentAttachment * const assetCommentAttachment = await prisma.assetCommentAttachment.upsert({ * create: { * // ... data to create a AssetCommentAttachment * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AssetCommentAttachment we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AssetCommentAttachmentClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AssetCommentAttachments. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentAttachmentCountArgs} args - Arguments to filter AssetCommentAttachments to count. * @example * // Count the number of AssetCommentAttachments * const count = await prisma.assetCommentAttachment.count({ * where: { * // ... the filter for the AssetCommentAttachments 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 AssetCommentAttachment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentAttachmentAggregateArgs} 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 AssetCommentAttachment. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AssetCommentAttachmentGroupByArgs} 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 AssetCommentAttachmentGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AssetCommentAttachmentGroupByArgs['orderBy'] } : { orderBy?: AssetCommentAttachmentGroupByArgs['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 ? GetAssetCommentAttachmentGroupByPayload : Prisma.PrismaPromise /** * Fields of the AssetCommentAttachment model */ readonly fields: AssetCommentAttachmentFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AssetCommentAttachment. * 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__AssetCommentAttachmentClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" comment = {}>(args?: Prisma.Subset>): Prisma.Prisma__AssetCommentClient, 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 AssetCommentAttachment model */ export interface AssetCommentAttachmentFieldRefs { readonly id: Prisma.FieldRef<"AssetCommentAttachment", 'String'> readonly createdAt: Prisma.FieldRef<"AssetCommentAttachment", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"AssetCommentAttachment", 'DateTime'> readonly commentId: Prisma.FieldRef<"AssetCommentAttachment", 'String'> readonly assetId: Prisma.FieldRef<"AssetCommentAttachment", 'String'> } // Custom InputTypes /** * AssetCommentAttachment findUnique */ export type AssetCommentAttachmentFindUniqueArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * Filter, which AssetCommentAttachment to fetch. */ where: Prisma.AssetCommentAttachmentWhereUniqueInput } /** * AssetCommentAttachment findUniqueOrThrow */ export type AssetCommentAttachmentFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * Filter, which AssetCommentAttachment to fetch. */ where: Prisma.AssetCommentAttachmentWhereUniqueInput } /** * AssetCommentAttachment findFirst */ export type AssetCommentAttachmentFindFirstArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * Filter, which AssetCommentAttachment to fetch. */ where?: Prisma.AssetCommentAttachmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetCommentAttachments to fetch. */ orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AssetCommentAttachments. */ cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetCommentAttachments 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` AssetCommentAttachments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetCommentAttachments. */ distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] } /** * AssetCommentAttachment findFirstOrThrow */ export type AssetCommentAttachmentFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * Filter, which AssetCommentAttachment to fetch. */ where?: Prisma.AssetCommentAttachmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetCommentAttachments to fetch. */ orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AssetCommentAttachments. */ cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetCommentAttachments 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` AssetCommentAttachments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetCommentAttachments. */ distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] } /** * AssetCommentAttachment findMany */ export type AssetCommentAttachmentFindManyArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * Filter, which AssetCommentAttachments to fetch. */ where?: Prisma.AssetCommentAttachmentWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AssetCommentAttachments to fetch. */ orderBy?: Prisma.AssetCommentAttachmentOrderByWithRelationInput | Prisma.AssetCommentAttachmentOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AssetCommentAttachments. */ cursor?: Prisma.AssetCommentAttachmentWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AssetCommentAttachments 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` AssetCommentAttachments. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AssetCommentAttachments. */ distinct?: Prisma.AssetCommentAttachmentScalarFieldEnum | Prisma.AssetCommentAttachmentScalarFieldEnum[] } /** * AssetCommentAttachment create */ export type AssetCommentAttachmentCreateArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * The data needed to create a AssetCommentAttachment. */ data: Prisma.XOR } /** * AssetCommentAttachment createMany */ export type AssetCommentAttachmentCreateManyArgs = { /** * The data used to create many AssetCommentAttachments. */ data: Prisma.AssetCommentAttachmentCreateManyInput | Prisma.AssetCommentAttachmentCreateManyInput[] skipDuplicates?: boolean } /** * AssetCommentAttachment createManyAndReturn */ export type AssetCommentAttachmentCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelectCreateManyAndReturn | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * The data used to create many AssetCommentAttachments. */ data: Prisma.AssetCommentAttachmentCreateManyInput | Prisma.AssetCommentAttachmentCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentIncludeCreateManyAndReturn | null } /** * AssetCommentAttachment update */ export type AssetCommentAttachmentUpdateArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * The data needed to update a AssetCommentAttachment. */ data: Prisma.XOR /** * Choose, which AssetCommentAttachment to update. */ where: Prisma.AssetCommentAttachmentWhereUniqueInput } /** * AssetCommentAttachment updateMany */ export type AssetCommentAttachmentUpdateManyArgs = { /** * The data used to update AssetCommentAttachments. */ data: Prisma.XOR /** * Filter which AssetCommentAttachments to update */ where?: Prisma.AssetCommentAttachmentWhereInput /** * Limit how many AssetCommentAttachments to update. */ limit?: number } /** * AssetCommentAttachment updateManyAndReturn */ export type AssetCommentAttachmentUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelectUpdateManyAndReturn | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * The data used to update AssetCommentAttachments. */ data: Prisma.XOR /** * Filter which AssetCommentAttachments to update */ where?: Prisma.AssetCommentAttachmentWhereInput /** * Limit how many AssetCommentAttachments to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentIncludeUpdateManyAndReturn | null } /** * AssetCommentAttachment upsert */ export type AssetCommentAttachmentUpsertArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * The filter to search for the AssetCommentAttachment to update in case it exists. */ where: Prisma.AssetCommentAttachmentWhereUniqueInput /** * In case the AssetCommentAttachment found by the `where` argument doesn't exist, create a new AssetCommentAttachment with this data. */ create: Prisma.XOR /** * In case the AssetCommentAttachment was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AssetCommentAttachment delete */ export type AssetCommentAttachmentDeleteArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null /** * Filter which AssetCommentAttachment to delete. */ where: Prisma.AssetCommentAttachmentWhereUniqueInput } /** * AssetCommentAttachment deleteMany */ export type AssetCommentAttachmentDeleteManyArgs = { /** * Filter which AssetCommentAttachments to delete */ where?: Prisma.AssetCommentAttachmentWhereInput /** * Limit how many AssetCommentAttachments to delete. */ limit?: number } /** * AssetCommentAttachment without action */ export type AssetCommentAttachmentDefaultArgs = { /** * Select specific fields to fetch from the AssetCommentAttachment */ select?: Prisma.AssetCommentAttachmentSelect | null /** * Omit specific fields from the AssetCommentAttachment */ omit?: Prisma.AssetCommentAttachmentOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AssetCommentAttachmentInclude | null }