/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AttachmentVariants` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model AttachmentVariants * */ export type AttachmentVariantsModel = runtime.Types.Result.DefaultSelection export type AggregateAttachmentVariants = { _count: AttachmentVariantsCountAggregateOutputType | null _avg: AttachmentVariantsAvgAggregateOutputType | null _sum: AttachmentVariantsSumAggregateOutputType | null _min: AttachmentVariantsMinAggregateOutputType | null _max: AttachmentVariantsMaxAggregateOutputType | null } export type AttachmentVariantsAvgAggregateOutputType = { id: number | null attachment_id: number | null bytes: number | null width: number | null height: number | null } export type AttachmentVariantsSumAggregateOutputType = { id: number | null attachment_id: number | null bytes: number | null width: number | null height: number | null } export type AttachmentVariantsMinAggregateOutputType = { id: number | null attachment_id: number | null variant: string | null bytes: number | null width: number | null height: number | null created_at: Date | null path: string | null } export type AttachmentVariantsMaxAggregateOutputType = { id: number | null attachment_id: number | null variant: string | null bytes: number | null width: number | null height: number | null created_at: Date | null path: string | null } export type AttachmentVariantsCountAggregateOutputType = { id: number attachment_id: number variant: number bytes: number width: number height: number created_at: number path: number _all: number } export type AttachmentVariantsAvgAggregateInputType = { id?: true attachment_id?: true bytes?: true width?: true height?: true } export type AttachmentVariantsSumAggregateInputType = { id?: true attachment_id?: true bytes?: true width?: true height?: true } export type AttachmentVariantsMinAggregateInputType = { id?: true attachment_id?: true variant?: true bytes?: true width?: true height?: true created_at?: true path?: true } export type AttachmentVariantsMaxAggregateInputType = { id?: true attachment_id?: true variant?: true bytes?: true width?: true height?: true created_at?: true path?: true } export type AttachmentVariantsCountAggregateInputType = { id?: true attachment_id?: true variant?: true bytes?: true width?: true height?: true created_at?: true path?: true _all?: true } export type AttachmentVariantsAggregateArgs = { /** * Filter which AttachmentVariants to aggregate. */ where?: Prisma.AttachmentVariantsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AttachmentVariants to fetch. */ orderBy?: Prisma.AttachmentVariantsOrderByWithRelationInput | Prisma.AttachmentVariantsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AttachmentVariantsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AttachmentVariants 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` AttachmentVariants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AttachmentVariants **/ _count?: true | AttachmentVariantsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AttachmentVariantsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AttachmentVariantsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AttachmentVariantsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AttachmentVariantsMaxAggregateInputType } export type GetAttachmentVariantsAggregateType = { [P in keyof T & keyof AggregateAttachmentVariants]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AttachmentVariantsGroupByArgs = { where?: Prisma.AttachmentVariantsWhereInput orderBy?: Prisma.AttachmentVariantsOrderByWithAggregationInput | Prisma.AttachmentVariantsOrderByWithAggregationInput[] by: Prisma.AttachmentVariantsScalarFieldEnum[] | Prisma.AttachmentVariantsScalarFieldEnum having?: Prisma.AttachmentVariantsScalarWhereWithAggregatesInput take?: number skip?: number _count?: AttachmentVariantsCountAggregateInputType | true _avg?: AttachmentVariantsAvgAggregateInputType _sum?: AttachmentVariantsSumAggregateInputType _min?: AttachmentVariantsMinAggregateInputType _max?: AttachmentVariantsMaxAggregateInputType } export type AttachmentVariantsGroupByOutputType = { id: number attachment_id: number variant: string bytes: number width: number | null height: number | null created_at: Date path: string _count: AttachmentVariantsCountAggregateOutputType | null _avg: AttachmentVariantsAvgAggregateOutputType | null _sum: AttachmentVariantsSumAggregateOutputType | null _min: AttachmentVariantsMinAggregateOutputType | null _max: AttachmentVariantsMaxAggregateOutputType | null } type GetAttachmentVariantsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AttachmentVariantsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AttachmentVariantsWhereInput = { AND?: Prisma.AttachmentVariantsWhereInput | Prisma.AttachmentVariantsWhereInput[] OR?: Prisma.AttachmentVariantsWhereInput[] NOT?: Prisma.AttachmentVariantsWhereInput | Prisma.AttachmentVariantsWhereInput[] id?: Prisma.IntFilter<"AttachmentVariants"> | number attachment_id?: Prisma.IntFilter<"AttachmentVariants"> | number variant?: Prisma.StringFilter<"AttachmentVariants"> | string bytes?: Prisma.IntFilter<"AttachmentVariants"> | number width?: Prisma.IntNullableFilter<"AttachmentVariants"> | number | null height?: Prisma.IntNullableFilter<"AttachmentVariants"> | number | null created_at?: Prisma.DateTimeFilter<"AttachmentVariants"> | Date | string path?: Prisma.StringFilter<"AttachmentVariants"> | string attachment?: Prisma.XOR } export type AttachmentVariantsOrderByWithRelationInput = { id?: Prisma.SortOrder attachment_id?: Prisma.SortOrder variant?: Prisma.SortOrder bytes?: Prisma.SortOrder width?: Prisma.SortOrderInput | Prisma.SortOrder height?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder path?: Prisma.SortOrder attachment?: Prisma.AttachmentsOrderByWithRelationInput } export type AttachmentVariantsWhereUniqueInput = Prisma.AtLeast<{ id?: number attachment_id_variant?: Prisma.AttachmentVariantsAttachment_idVariantCompoundUniqueInput AND?: Prisma.AttachmentVariantsWhereInput | Prisma.AttachmentVariantsWhereInput[] OR?: Prisma.AttachmentVariantsWhereInput[] NOT?: Prisma.AttachmentVariantsWhereInput | Prisma.AttachmentVariantsWhereInput[] attachment_id?: Prisma.IntFilter<"AttachmentVariants"> | number variant?: Prisma.StringFilter<"AttachmentVariants"> | string bytes?: Prisma.IntFilter<"AttachmentVariants"> | number width?: Prisma.IntNullableFilter<"AttachmentVariants"> | number | null height?: Prisma.IntNullableFilter<"AttachmentVariants"> | number | null created_at?: Prisma.DateTimeFilter<"AttachmentVariants"> | Date | string path?: Prisma.StringFilter<"AttachmentVariants"> | string attachment?: Prisma.XOR }, "id" | "attachment_id_variant"> export type AttachmentVariantsOrderByWithAggregationInput = { id?: Prisma.SortOrder attachment_id?: Prisma.SortOrder variant?: Prisma.SortOrder bytes?: Prisma.SortOrder width?: Prisma.SortOrderInput | Prisma.SortOrder height?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder path?: Prisma.SortOrder _count?: Prisma.AttachmentVariantsCountOrderByAggregateInput _avg?: Prisma.AttachmentVariantsAvgOrderByAggregateInput _max?: Prisma.AttachmentVariantsMaxOrderByAggregateInput _min?: Prisma.AttachmentVariantsMinOrderByAggregateInput _sum?: Prisma.AttachmentVariantsSumOrderByAggregateInput } export type AttachmentVariantsScalarWhereWithAggregatesInput = { AND?: Prisma.AttachmentVariantsScalarWhereWithAggregatesInput | Prisma.AttachmentVariantsScalarWhereWithAggregatesInput[] OR?: Prisma.AttachmentVariantsScalarWhereWithAggregatesInput[] NOT?: Prisma.AttachmentVariantsScalarWhereWithAggregatesInput | Prisma.AttachmentVariantsScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"AttachmentVariants"> | number attachment_id?: Prisma.IntWithAggregatesFilter<"AttachmentVariants"> | number variant?: Prisma.StringWithAggregatesFilter<"AttachmentVariants"> | string bytes?: Prisma.IntWithAggregatesFilter<"AttachmentVariants"> | number width?: Prisma.IntNullableWithAggregatesFilter<"AttachmentVariants"> | number | null height?: Prisma.IntNullableWithAggregatesFilter<"AttachmentVariants"> | number | null created_at?: Prisma.DateTimeWithAggregatesFilter<"AttachmentVariants"> | Date | string path?: Prisma.StringWithAggregatesFilter<"AttachmentVariants"> | string } export type AttachmentVariantsCreateInput = { variant: string bytes: number width?: number | null height?: number | null created_at?: Date | string path: string attachment: Prisma.AttachmentsCreateNestedOneWithoutAttachmentVariantsInput } export type AttachmentVariantsUncheckedCreateInput = { id?: number attachment_id: number variant: string bytes: number width?: number | null height?: number | null created_at?: Date | string path: string } export type AttachmentVariantsUpdateInput = { variant?: Prisma.StringFieldUpdateOperationsInput | string bytes?: Prisma.IntFieldUpdateOperationsInput | number width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string path?: Prisma.StringFieldUpdateOperationsInput | string attachment?: Prisma.AttachmentsUpdateOneRequiredWithoutAttachmentVariantsNestedInput } export type AttachmentVariantsUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number attachment_id?: Prisma.IntFieldUpdateOperationsInput | number variant?: Prisma.StringFieldUpdateOperationsInput | string bytes?: Prisma.IntFieldUpdateOperationsInput | number width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string path?: Prisma.StringFieldUpdateOperationsInput | string } export type AttachmentVariantsCreateManyInput = { id?: number attachment_id: number variant: string bytes: number width?: number | null height?: number | null created_at?: Date | string path: string } export type AttachmentVariantsUpdateManyMutationInput = { variant?: Prisma.StringFieldUpdateOperationsInput | string bytes?: Prisma.IntFieldUpdateOperationsInput | number width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string path?: Prisma.StringFieldUpdateOperationsInput | string } export type AttachmentVariantsUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number attachment_id?: Prisma.IntFieldUpdateOperationsInput | number variant?: Prisma.StringFieldUpdateOperationsInput | string bytes?: Prisma.IntFieldUpdateOperationsInput | number width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string path?: Prisma.StringFieldUpdateOperationsInput | string } export type AttachmentVariantsListRelationFilter = { every?: Prisma.AttachmentVariantsWhereInput some?: Prisma.AttachmentVariantsWhereInput none?: Prisma.AttachmentVariantsWhereInput } export type AttachmentVariantsOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AttachmentVariantsAttachment_idVariantCompoundUniqueInput = { attachment_id: number variant: string } export type AttachmentVariantsCountOrderByAggregateInput = { id?: Prisma.SortOrder attachment_id?: Prisma.SortOrder variant?: Prisma.SortOrder bytes?: Prisma.SortOrder width?: Prisma.SortOrder height?: Prisma.SortOrder created_at?: Prisma.SortOrder path?: Prisma.SortOrder } export type AttachmentVariantsAvgOrderByAggregateInput = { id?: Prisma.SortOrder attachment_id?: Prisma.SortOrder bytes?: Prisma.SortOrder width?: Prisma.SortOrder height?: Prisma.SortOrder } export type AttachmentVariantsMaxOrderByAggregateInput = { id?: Prisma.SortOrder attachment_id?: Prisma.SortOrder variant?: Prisma.SortOrder bytes?: Prisma.SortOrder width?: Prisma.SortOrder height?: Prisma.SortOrder created_at?: Prisma.SortOrder path?: Prisma.SortOrder } export type AttachmentVariantsMinOrderByAggregateInput = { id?: Prisma.SortOrder attachment_id?: Prisma.SortOrder variant?: Prisma.SortOrder bytes?: Prisma.SortOrder width?: Prisma.SortOrder height?: Prisma.SortOrder created_at?: Prisma.SortOrder path?: Prisma.SortOrder } export type AttachmentVariantsSumOrderByAggregateInput = { id?: Prisma.SortOrder attachment_id?: Prisma.SortOrder bytes?: Prisma.SortOrder width?: Prisma.SortOrder height?: Prisma.SortOrder } export type AttachmentVariantsCreateNestedManyWithoutAttachmentInput = { create?: Prisma.XOR | Prisma.AttachmentVariantsCreateWithoutAttachmentInput[] | Prisma.AttachmentVariantsUncheckedCreateWithoutAttachmentInput[] connectOrCreate?: Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput | Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput[] createMany?: Prisma.AttachmentVariantsCreateManyAttachmentInputEnvelope connect?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] } export type AttachmentVariantsUncheckedCreateNestedManyWithoutAttachmentInput = { create?: Prisma.XOR | Prisma.AttachmentVariantsCreateWithoutAttachmentInput[] | Prisma.AttachmentVariantsUncheckedCreateWithoutAttachmentInput[] connectOrCreate?: Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput | Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput[] createMany?: Prisma.AttachmentVariantsCreateManyAttachmentInputEnvelope connect?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] } export type AttachmentVariantsUpdateManyWithoutAttachmentNestedInput = { create?: Prisma.XOR | Prisma.AttachmentVariantsCreateWithoutAttachmentInput[] | Prisma.AttachmentVariantsUncheckedCreateWithoutAttachmentInput[] connectOrCreate?: Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput | Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput[] upsert?: Prisma.AttachmentVariantsUpsertWithWhereUniqueWithoutAttachmentInput | Prisma.AttachmentVariantsUpsertWithWhereUniqueWithoutAttachmentInput[] createMany?: Prisma.AttachmentVariantsCreateManyAttachmentInputEnvelope set?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] disconnect?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] delete?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] connect?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] update?: Prisma.AttachmentVariantsUpdateWithWhereUniqueWithoutAttachmentInput | Prisma.AttachmentVariantsUpdateWithWhereUniqueWithoutAttachmentInput[] updateMany?: Prisma.AttachmentVariantsUpdateManyWithWhereWithoutAttachmentInput | Prisma.AttachmentVariantsUpdateManyWithWhereWithoutAttachmentInput[] deleteMany?: Prisma.AttachmentVariantsScalarWhereInput | Prisma.AttachmentVariantsScalarWhereInput[] } export type AttachmentVariantsUncheckedUpdateManyWithoutAttachmentNestedInput = { create?: Prisma.XOR | Prisma.AttachmentVariantsCreateWithoutAttachmentInput[] | Prisma.AttachmentVariantsUncheckedCreateWithoutAttachmentInput[] connectOrCreate?: Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput | Prisma.AttachmentVariantsCreateOrConnectWithoutAttachmentInput[] upsert?: Prisma.AttachmentVariantsUpsertWithWhereUniqueWithoutAttachmentInput | Prisma.AttachmentVariantsUpsertWithWhereUniqueWithoutAttachmentInput[] createMany?: Prisma.AttachmentVariantsCreateManyAttachmentInputEnvelope set?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] disconnect?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] delete?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] connect?: Prisma.AttachmentVariantsWhereUniqueInput | Prisma.AttachmentVariantsWhereUniqueInput[] update?: Prisma.AttachmentVariantsUpdateWithWhereUniqueWithoutAttachmentInput | Prisma.AttachmentVariantsUpdateWithWhereUniqueWithoutAttachmentInput[] updateMany?: Prisma.AttachmentVariantsUpdateManyWithWhereWithoutAttachmentInput | Prisma.AttachmentVariantsUpdateManyWithWhereWithoutAttachmentInput[] deleteMany?: Prisma.AttachmentVariantsScalarWhereInput | Prisma.AttachmentVariantsScalarWhereInput[] } export type AttachmentVariantsCreateWithoutAttachmentInput = { variant: string bytes: number width?: number | null height?: number | null created_at?: Date | string path: string } export type AttachmentVariantsUncheckedCreateWithoutAttachmentInput = { id?: number variant: string bytes: number width?: number | null height?: number | null created_at?: Date | string path: string } export type AttachmentVariantsCreateOrConnectWithoutAttachmentInput = { where: Prisma.AttachmentVariantsWhereUniqueInput create: Prisma.XOR } export type AttachmentVariantsCreateManyAttachmentInputEnvelope = { data: Prisma.AttachmentVariantsCreateManyAttachmentInput | Prisma.AttachmentVariantsCreateManyAttachmentInput[] skipDuplicates?: boolean } export type AttachmentVariantsUpsertWithWhereUniqueWithoutAttachmentInput = { where: Prisma.AttachmentVariantsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AttachmentVariantsUpdateWithWhereUniqueWithoutAttachmentInput = { where: Prisma.AttachmentVariantsWhereUniqueInput data: Prisma.XOR } export type AttachmentVariantsUpdateManyWithWhereWithoutAttachmentInput = { where: Prisma.AttachmentVariantsScalarWhereInput data: Prisma.XOR } export type AttachmentVariantsScalarWhereInput = { AND?: Prisma.AttachmentVariantsScalarWhereInput | Prisma.AttachmentVariantsScalarWhereInput[] OR?: Prisma.AttachmentVariantsScalarWhereInput[] NOT?: Prisma.AttachmentVariantsScalarWhereInput | Prisma.AttachmentVariantsScalarWhereInput[] id?: Prisma.IntFilter<"AttachmentVariants"> | number attachment_id?: Prisma.IntFilter<"AttachmentVariants"> | number variant?: Prisma.StringFilter<"AttachmentVariants"> | string bytes?: Prisma.IntFilter<"AttachmentVariants"> | number width?: Prisma.IntNullableFilter<"AttachmentVariants"> | number | null height?: Prisma.IntNullableFilter<"AttachmentVariants"> | number | null created_at?: Prisma.DateTimeFilter<"AttachmentVariants"> | Date | string path?: Prisma.StringFilter<"AttachmentVariants"> | string } export type AttachmentVariantsCreateManyAttachmentInput = { id?: number variant: string bytes: number width?: number | null height?: number | null created_at?: Date | string path: string } export type AttachmentVariantsUpdateWithoutAttachmentInput = { variant?: Prisma.StringFieldUpdateOperationsInput | string bytes?: Prisma.IntFieldUpdateOperationsInput | number width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string path?: Prisma.StringFieldUpdateOperationsInput | string } export type AttachmentVariantsUncheckedUpdateWithoutAttachmentInput = { id?: Prisma.IntFieldUpdateOperationsInput | number variant?: Prisma.StringFieldUpdateOperationsInput | string bytes?: Prisma.IntFieldUpdateOperationsInput | number width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string path?: Prisma.StringFieldUpdateOperationsInput | string } export type AttachmentVariantsUncheckedUpdateManyWithoutAttachmentInput = { id?: Prisma.IntFieldUpdateOperationsInput | number variant?: Prisma.StringFieldUpdateOperationsInput | string bytes?: Prisma.IntFieldUpdateOperationsInput | number width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string path?: Prisma.StringFieldUpdateOperationsInput | string } export type AttachmentVariantsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean attachment_id?: boolean variant?: boolean bytes?: boolean width?: boolean height?: boolean created_at?: boolean path?: boolean attachment?: boolean | Prisma.AttachmentsDefaultArgs }, ExtArgs["result"]["attachmentVariants"]> export type AttachmentVariantsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean attachment_id?: boolean variant?: boolean bytes?: boolean width?: boolean height?: boolean created_at?: boolean path?: boolean attachment?: boolean | Prisma.AttachmentsDefaultArgs }, ExtArgs["result"]["attachmentVariants"]> export type AttachmentVariantsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean attachment_id?: boolean variant?: boolean bytes?: boolean width?: boolean height?: boolean created_at?: boolean path?: boolean attachment?: boolean | Prisma.AttachmentsDefaultArgs }, ExtArgs["result"]["attachmentVariants"]> export type AttachmentVariantsSelectScalar = { id?: boolean attachment_id?: boolean variant?: boolean bytes?: boolean width?: boolean height?: boolean created_at?: boolean path?: boolean } export type AttachmentVariantsOmit = runtime.Types.Extensions.GetOmit<"id" | "attachment_id" | "variant" | "bytes" | "width" | "height" | "created_at" | "path", ExtArgs["result"]["attachmentVariants"]> export type AttachmentVariantsInclude = { attachment?: boolean | Prisma.AttachmentsDefaultArgs } export type AttachmentVariantsIncludeCreateManyAndReturn = { attachment?: boolean | Prisma.AttachmentsDefaultArgs } export type AttachmentVariantsIncludeUpdateManyAndReturn = { attachment?: boolean | Prisma.AttachmentsDefaultArgs } export type $AttachmentVariantsPayload = { name: "AttachmentVariants" objects: { attachment: Prisma.$AttachmentsPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number attachment_id: number variant: string bytes: number width: number | null height: number | null created_at: Date path: string }, ExtArgs["result"]["attachmentVariants"]> composites: {} } export type AttachmentVariantsGetPayload = runtime.Types.Result.GetResult export type AttachmentVariantsCountArgs = Omit & { select?: AttachmentVariantsCountAggregateInputType | true } export interface AttachmentVariantsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AttachmentVariants'], meta: { name: 'AttachmentVariants' } } /** * Find zero or one AttachmentVariants that matches the filter. * @param {AttachmentVariantsFindUniqueArgs} args - Arguments to find a AttachmentVariants * @example * // Get one AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AttachmentVariants that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AttachmentVariantsFindUniqueOrThrowArgs} args - Arguments to find a AttachmentVariants * @example * // Get one AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AttachmentVariants 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 {AttachmentVariantsFindFirstArgs} args - Arguments to find a AttachmentVariants * @example * // Get one AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AttachmentVariants 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 {AttachmentVariantsFindFirstOrThrowArgs} args - Arguments to find a AttachmentVariants * @example * // Get one AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AttachmentVariants 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 {AttachmentVariantsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.findMany() * * // Get first 10 AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.findMany({ take: 10 }) * * // Only select the `id` * const attachmentVariantsWithIdOnly = await prisma.attachmentVariants.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AttachmentVariants. * @param {AttachmentVariantsCreateArgs} args - Arguments to create a AttachmentVariants. * @example * // Create one AttachmentVariants * const AttachmentVariants = await prisma.attachmentVariants.create({ * data: { * // ... data to create a AttachmentVariants * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AttachmentVariants. * @param {AttachmentVariantsCreateManyArgs} args - Arguments to create many AttachmentVariants. * @example * // Create many AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AttachmentVariants and returns the data saved in the database. * @param {AttachmentVariantsCreateManyAndReturnArgs} args - Arguments to create many AttachmentVariants. * @example * // Create many AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AttachmentVariants and only return the `id` * const attachmentVariantsWithIdOnly = await prisma.attachmentVariants.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 AttachmentVariants. * @param {AttachmentVariantsDeleteArgs} args - Arguments to delete one AttachmentVariants. * @example * // Delete one AttachmentVariants * const AttachmentVariants = await prisma.attachmentVariants.delete({ * where: { * // ... filter to delete one AttachmentVariants * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AttachmentVariants. * @param {AttachmentVariantsUpdateArgs} args - Arguments to update one AttachmentVariants. * @example * // Update one AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AttachmentVariants. * @param {AttachmentVariantsDeleteManyArgs} args - Arguments to filter AttachmentVariants to delete. * @example * // Delete a few AttachmentVariants * const { count } = await prisma.attachmentVariants.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AttachmentVariants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AttachmentVariantsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AttachmentVariants and returns the data updated in the database. * @param {AttachmentVariantsUpdateManyAndReturnArgs} args - Arguments to update many AttachmentVariants. * @example * // Update many AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AttachmentVariants and only return the `id` * const attachmentVariantsWithIdOnly = await prisma.attachmentVariants.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 AttachmentVariants. * @param {AttachmentVariantsUpsertArgs} args - Arguments to update or create a AttachmentVariants. * @example * // Update or create a AttachmentVariants * const attachmentVariants = await prisma.attachmentVariants.upsert({ * create: { * // ... data to create a AttachmentVariants * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AttachmentVariants we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AttachmentVariantsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AttachmentVariants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AttachmentVariantsCountArgs} args - Arguments to filter AttachmentVariants to count. * @example * // Count the number of AttachmentVariants * const count = await prisma.attachmentVariants.count({ * where: { * // ... the filter for the AttachmentVariants 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 AttachmentVariants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AttachmentVariantsAggregateArgs} 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 AttachmentVariants. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AttachmentVariantsGroupByArgs} 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 AttachmentVariantsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AttachmentVariantsGroupByArgs['orderBy'] } : { orderBy?: AttachmentVariantsGroupByArgs['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 ? GetAttachmentVariantsGroupByPayload : Prisma.PrismaPromise /** * Fields of the AttachmentVariants model */ readonly fields: AttachmentVariantsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AttachmentVariants. * 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__AttachmentVariantsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" attachment = {}>(args?: Prisma.Subset>): Prisma.Prisma__AttachmentsClient, 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 AttachmentVariants model */ export interface AttachmentVariantsFieldRefs { readonly id: Prisma.FieldRef<"AttachmentVariants", 'Int'> readonly attachment_id: Prisma.FieldRef<"AttachmentVariants", 'Int'> readonly variant: Prisma.FieldRef<"AttachmentVariants", 'String'> readonly bytes: Prisma.FieldRef<"AttachmentVariants", 'Int'> readonly width: Prisma.FieldRef<"AttachmentVariants", 'Int'> readonly height: Prisma.FieldRef<"AttachmentVariants", 'Int'> readonly created_at: Prisma.FieldRef<"AttachmentVariants", 'DateTime'> readonly path: Prisma.FieldRef<"AttachmentVariants", 'String'> } // Custom InputTypes /** * AttachmentVariants findUnique */ export type AttachmentVariantsFindUniqueArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * Filter, which AttachmentVariants to fetch. */ where: Prisma.AttachmentVariantsWhereUniqueInput } /** * AttachmentVariants findUniqueOrThrow */ export type AttachmentVariantsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * Filter, which AttachmentVariants to fetch. */ where: Prisma.AttachmentVariantsWhereUniqueInput } /** * AttachmentVariants findFirst */ export type AttachmentVariantsFindFirstArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * Filter, which AttachmentVariants to fetch. */ where?: Prisma.AttachmentVariantsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AttachmentVariants to fetch. */ orderBy?: Prisma.AttachmentVariantsOrderByWithRelationInput | Prisma.AttachmentVariantsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AttachmentVariants. */ cursor?: Prisma.AttachmentVariantsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AttachmentVariants 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` AttachmentVariants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AttachmentVariants. */ distinct?: Prisma.AttachmentVariantsScalarFieldEnum | Prisma.AttachmentVariantsScalarFieldEnum[] } /** * AttachmentVariants findFirstOrThrow */ export type AttachmentVariantsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * Filter, which AttachmentVariants to fetch. */ where?: Prisma.AttachmentVariantsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AttachmentVariants to fetch. */ orderBy?: Prisma.AttachmentVariantsOrderByWithRelationInput | Prisma.AttachmentVariantsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AttachmentVariants. */ cursor?: Prisma.AttachmentVariantsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AttachmentVariants 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` AttachmentVariants. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AttachmentVariants. */ distinct?: Prisma.AttachmentVariantsScalarFieldEnum | Prisma.AttachmentVariantsScalarFieldEnum[] } /** * AttachmentVariants findMany */ export type AttachmentVariantsFindManyArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * Filter, which AttachmentVariants to fetch. */ where?: Prisma.AttachmentVariantsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AttachmentVariants to fetch. */ orderBy?: Prisma.AttachmentVariantsOrderByWithRelationInput | Prisma.AttachmentVariantsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AttachmentVariants. */ cursor?: Prisma.AttachmentVariantsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AttachmentVariants 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` AttachmentVariants. */ skip?: number distinct?: Prisma.AttachmentVariantsScalarFieldEnum | Prisma.AttachmentVariantsScalarFieldEnum[] } /** * AttachmentVariants create */ export type AttachmentVariantsCreateArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * The data needed to create a AttachmentVariants. */ data: Prisma.XOR } /** * AttachmentVariants createMany */ export type AttachmentVariantsCreateManyArgs = { /** * The data used to create many AttachmentVariants. */ data: Prisma.AttachmentVariantsCreateManyInput | Prisma.AttachmentVariantsCreateManyInput[] skipDuplicates?: boolean } /** * AttachmentVariants createManyAndReturn */ export type AttachmentVariantsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelectCreateManyAndReturn | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * The data used to create many AttachmentVariants. */ data: Prisma.AttachmentVariantsCreateManyInput | Prisma.AttachmentVariantsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsIncludeCreateManyAndReturn | null } /** * AttachmentVariants update */ export type AttachmentVariantsUpdateArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * The data needed to update a AttachmentVariants. */ data: Prisma.XOR /** * Choose, which AttachmentVariants to update. */ where: Prisma.AttachmentVariantsWhereUniqueInput } /** * AttachmentVariants updateMany */ export type AttachmentVariantsUpdateManyArgs = { /** * The data used to update AttachmentVariants. */ data: Prisma.XOR /** * Filter which AttachmentVariants to update */ where?: Prisma.AttachmentVariantsWhereInput /** * Limit how many AttachmentVariants to update. */ limit?: number } /** * AttachmentVariants updateManyAndReturn */ export type AttachmentVariantsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelectUpdateManyAndReturn | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * The data used to update AttachmentVariants. */ data: Prisma.XOR /** * Filter which AttachmentVariants to update */ where?: Prisma.AttachmentVariantsWhereInput /** * Limit how many AttachmentVariants to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsIncludeUpdateManyAndReturn | null } /** * AttachmentVariants upsert */ export type AttachmentVariantsUpsertArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * The filter to search for the AttachmentVariants to update in case it exists. */ where: Prisma.AttachmentVariantsWhereUniqueInput /** * In case the AttachmentVariants found by the `where` argument doesn't exist, create a new AttachmentVariants with this data. */ create: Prisma.XOR /** * In case the AttachmentVariants was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AttachmentVariants delete */ export type AttachmentVariantsDeleteArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null /** * Filter which AttachmentVariants to delete. */ where: Prisma.AttachmentVariantsWhereUniqueInput } /** * AttachmentVariants deleteMany */ export type AttachmentVariantsDeleteManyArgs = { /** * Filter which AttachmentVariants to delete */ where?: Prisma.AttachmentVariantsWhereInput /** * Limit how many AttachmentVariants to delete. */ limit?: number } /** * AttachmentVariants without action */ export type AttachmentVariantsDefaultArgs = { /** * Select specific fields to fetch from the AttachmentVariants */ select?: Prisma.AttachmentVariantsSelect | null /** * Omit specific fields from the AttachmentVariants */ omit?: Prisma.AttachmentVariantsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AttachmentVariantsInclude | null }