/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `RowMedia` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model RowMedia * */ export type RowMediaModel = runtime.Types.Result.DefaultSelection export type AggregateRowMedia = { _count: RowMediaCountAggregateOutputType | null _min: RowMediaMinAggregateOutputType | null _max: RowMediaMaxAggregateOutputType | null } export type RowMediaMinAggregateOutputType = { id: string | null rowValueId: string | null title: string | null name: string | null file: string | null type: string | null publicUrl: string | null storageBucket: string | null storageProvider: string | null } export type RowMediaMaxAggregateOutputType = { id: string | null rowValueId: string | null title: string | null name: string | null file: string | null type: string | null publicUrl: string | null storageBucket: string | null storageProvider: string | null } export type RowMediaCountAggregateOutputType = { id: number rowValueId: number title: number name: number file: number type: number publicUrl: number storageBucket: number storageProvider: number _all: number } export type RowMediaMinAggregateInputType = { id?: true rowValueId?: true title?: true name?: true file?: true type?: true publicUrl?: true storageBucket?: true storageProvider?: true } export type RowMediaMaxAggregateInputType = { id?: true rowValueId?: true title?: true name?: true file?: true type?: true publicUrl?: true storageBucket?: true storageProvider?: true } export type RowMediaCountAggregateInputType = { id?: true rowValueId?: true title?: true name?: true file?: true type?: true publicUrl?: true storageBucket?: true storageProvider?: true _all?: true } export type RowMediaAggregateArgs = { /** * Filter which RowMedia to aggregate. */ where?: Prisma.RowMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowMedias to fetch. */ orderBy?: Prisma.RowMediaOrderByWithRelationInput | Prisma.RowMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.RowMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowMedias 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` RowMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned RowMedias **/ _count?: true | RowMediaCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RowMediaMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RowMediaMaxAggregateInputType } export type GetRowMediaAggregateType = { [P in keyof T & keyof AggregateRowMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type RowMediaGroupByArgs = { where?: Prisma.RowMediaWhereInput orderBy?: Prisma.RowMediaOrderByWithAggregationInput | Prisma.RowMediaOrderByWithAggregationInput[] by: Prisma.RowMediaScalarFieldEnum[] | Prisma.RowMediaScalarFieldEnum having?: Prisma.RowMediaScalarWhereWithAggregatesInput take?: number skip?: number _count?: RowMediaCountAggregateInputType | true _min?: RowMediaMinAggregateInputType _max?: RowMediaMaxAggregateInputType } export type RowMediaGroupByOutputType = { id: string rowValueId: string title: string name: string file: string type: string publicUrl: string | null storageBucket: string | null storageProvider: string | null _count: RowMediaCountAggregateOutputType | null _min: RowMediaMinAggregateOutputType | null _max: RowMediaMaxAggregateOutputType | null } export type GetRowMediaGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof RowMediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type RowMediaWhereInput = { AND?: Prisma.RowMediaWhereInput | Prisma.RowMediaWhereInput[] OR?: Prisma.RowMediaWhereInput[] NOT?: Prisma.RowMediaWhereInput | Prisma.RowMediaWhereInput[] id?: Prisma.StringFilter<"RowMedia"> | string rowValueId?: Prisma.StringFilter<"RowMedia"> | string title?: Prisma.StringFilter<"RowMedia"> | string name?: Prisma.StringFilter<"RowMedia"> | string file?: Prisma.StringFilter<"RowMedia"> | string type?: Prisma.StringFilter<"RowMedia"> | string publicUrl?: Prisma.StringNullableFilter<"RowMedia"> | string | null storageBucket?: Prisma.StringNullableFilter<"RowMedia"> | string | null storageProvider?: Prisma.StringNullableFilter<"RowMedia"> | string | null rowValue?: Prisma.XOR } export type RowMediaOrderByWithRelationInput = { id?: Prisma.SortOrder rowValueId?: Prisma.SortOrder title?: Prisma.SortOrder name?: Prisma.SortOrder file?: Prisma.SortOrder type?: Prisma.SortOrder publicUrl?: Prisma.SortOrderInput | Prisma.SortOrder storageBucket?: Prisma.SortOrderInput | Prisma.SortOrder storageProvider?: Prisma.SortOrderInput | Prisma.SortOrder rowValue?: Prisma.RowValueOrderByWithRelationInput } export type RowMediaWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.RowMediaWhereInput | Prisma.RowMediaWhereInput[] OR?: Prisma.RowMediaWhereInput[] NOT?: Prisma.RowMediaWhereInput | Prisma.RowMediaWhereInput[] rowValueId?: Prisma.StringFilter<"RowMedia"> | string title?: Prisma.StringFilter<"RowMedia"> | string name?: Prisma.StringFilter<"RowMedia"> | string file?: Prisma.StringFilter<"RowMedia"> | string type?: Prisma.StringFilter<"RowMedia"> | string publicUrl?: Prisma.StringNullableFilter<"RowMedia"> | string | null storageBucket?: Prisma.StringNullableFilter<"RowMedia"> | string | null storageProvider?: Prisma.StringNullableFilter<"RowMedia"> | string | null rowValue?: Prisma.XOR }, "id"> export type RowMediaOrderByWithAggregationInput = { id?: Prisma.SortOrder rowValueId?: Prisma.SortOrder title?: Prisma.SortOrder name?: Prisma.SortOrder file?: Prisma.SortOrder type?: Prisma.SortOrder publicUrl?: Prisma.SortOrderInput | Prisma.SortOrder storageBucket?: Prisma.SortOrderInput | Prisma.SortOrder storageProvider?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.RowMediaCountOrderByAggregateInput _max?: Prisma.RowMediaMaxOrderByAggregateInput _min?: Prisma.RowMediaMinOrderByAggregateInput } export type RowMediaScalarWhereWithAggregatesInput = { AND?: Prisma.RowMediaScalarWhereWithAggregatesInput | Prisma.RowMediaScalarWhereWithAggregatesInput[] OR?: Prisma.RowMediaScalarWhereWithAggregatesInput[] NOT?: Prisma.RowMediaScalarWhereWithAggregatesInput | Prisma.RowMediaScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"RowMedia"> | string rowValueId?: Prisma.StringWithAggregatesFilter<"RowMedia"> | string title?: Prisma.StringWithAggregatesFilter<"RowMedia"> | string name?: Prisma.StringWithAggregatesFilter<"RowMedia"> | string file?: Prisma.StringWithAggregatesFilter<"RowMedia"> | string type?: Prisma.StringWithAggregatesFilter<"RowMedia"> | string publicUrl?: Prisma.StringNullableWithAggregatesFilter<"RowMedia"> | string | null storageBucket?: Prisma.StringNullableWithAggregatesFilter<"RowMedia"> | string | null storageProvider?: Prisma.StringNullableWithAggregatesFilter<"RowMedia"> | string | null } export type RowMediaCreateInput = { id?: string title: string name: string file: string type: string publicUrl?: string | null storageBucket?: string | null storageProvider?: string | null rowValue: Prisma.RowValueCreateNestedOneWithoutMediaInput } export type RowMediaUncheckedCreateInput = { id?: string rowValueId: string title: string name: string file: string type: string publicUrl?: string | null storageBucket?: string | null storageProvider?: string | null } export type RowMediaUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string file?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowValue?: Prisma.RowValueUpdateOneRequiredWithoutMediaNestedInput } export type RowMediaUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string rowValueId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string file?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RowMediaCreateManyInput = { id?: string rowValueId: string title: string name: string file: string type: string publicUrl?: string | null storageBucket?: string | null storageProvider?: string | null } export type RowMediaUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string file?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RowMediaUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string rowValueId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string file?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RowMediaListRelationFilter = { every?: Prisma.RowMediaWhereInput some?: Prisma.RowMediaWhereInput none?: Prisma.RowMediaWhereInput } export type RowMediaOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type RowMediaCountOrderByAggregateInput = { id?: Prisma.SortOrder rowValueId?: Prisma.SortOrder title?: Prisma.SortOrder name?: Prisma.SortOrder file?: Prisma.SortOrder type?: Prisma.SortOrder publicUrl?: Prisma.SortOrder storageBucket?: Prisma.SortOrder storageProvider?: Prisma.SortOrder } export type RowMediaMaxOrderByAggregateInput = { id?: Prisma.SortOrder rowValueId?: Prisma.SortOrder title?: Prisma.SortOrder name?: Prisma.SortOrder file?: Prisma.SortOrder type?: Prisma.SortOrder publicUrl?: Prisma.SortOrder storageBucket?: Prisma.SortOrder storageProvider?: Prisma.SortOrder } export type RowMediaMinOrderByAggregateInput = { id?: Prisma.SortOrder rowValueId?: Prisma.SortOrder title?: Prisma.SortOrder name?: Prisma.SortOrder file?: Prisma.SortOrder type?: Prisma.SortOrder publicUrl?: Prisma.SortOrder storageBucket?: Prisma.SortOrder storageProvider?: Prisma.SortOrder } export type RowMediaCreateNestedManyWithoutRowValueInput = { create?: Prisma.XOR | Prisma.RowMediaCreateWithoutRowValueInput[] | Prisma.RowMediaUncheckedCreateWithoutRowValueInput[] connectOrCreate?: Prisma.RowMediaCreateOrConnectWithoutRowValueInput | Prisma.RowMediaCreateOrConnectWithoutRowValueInput[] createMany?: Prisma.RowMediaCreateManyRowValueInputEnvelope connect?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] } export type RowMediaUncheckedCreateNestedManyWithoutRowValueInput = { create?: Prisma.XOR | Prisma.RowMediaCreateWithoutRowValueInput[] | Prisma.RowMediaUncheckedCreateWithoutRowValueInput[] connectOrCreate?: Prisma.RowMediaCreateOrConnectWithoutRowValueInput | Prisma.RowMediaCreateOrConnectWithoutRowValueInput[] createMany?: Prisma.RowMediaCreateManyRowValueInputEnvelope connect?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] } export type RowMediaUpdateManyWithoutRowValueNestedInput = { create?: Prisma.XOR | Prisma.RowMediaCreateWithoutRowValueInput[] | Prisma.RowMediaUncheckedCreateWithoutRowValueInput[] connectOrCreate?: Prisma.RowMediaCreateOrConnectWithoutRowValueInput | Prisma.RowMediaCreateOrConnectWithoutRowValueInput[] upsert?: Prisma.RowMediaUpsertWithWhereUniqueWithoutRowValueInput | Prisma.RowMediaUpsertWithWhereUniqueWithoutRowValueInput[] createMany?: Prisma.RowMediaCreateManyRowValueInputEnvelope set?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] disconnect?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] delete?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] connect?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] update?: Prisma.RowMediaUpdateWithWhereUniqueWithoutRowValueInput | Prisma.RowMediaUpdateWithWhereUniqueWithoutRowValueInput[] updateMany?: Prisma.RowMediaUpdateManyWithWhereWithoutRowValueInput | Prisma.RowMediaUpdateManyWithWhereWithoutRowValueInput[] deleteMany?: Prisma.RowMediaScalarWhereInput | Prisma.RowMediaScalarWhereInput[] } export type RowMediaUncheckedUpdateManyWithoutRowValueNestedInput = { create?: Prisma.XOR | Prisma.RowMediaCreateWithoutRowValueInput[] | Prisma.RowMediaUncheckedCreateWithoutRowValueInput[] connectOrCreate?: Prisma.RowMediaCreateOrConnectWithoutRowValueInput | Prisma.RowMediaCreateOrConnectWithoutRowValueInput[] upsert?: Prisma.RowMediaUpsertWithWhereUniqueWithoutRowValueInput | Prisma.RowMediaUpsertWithWhereUniqueWithoutRowValueInput[] createMany?: Prisma.RowMediaCreateManyRowValueInputEnvelope set?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] disconnect?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] delete?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] connect?: Prisma.RowMediaWhereUniqueInput | Prisma.RowMediaWhereUniqueInput[] update?: Prisma.RowMediaUpdateWithWhereUniqueWithoutRowValueInput | Prisma.RowMediaUpdateWithWhereUniqueWithoutRowValueInput[] updateMany?: Prisma.RowMediaUpdateManyWithWhereWithoutRowValueInput | Prisma.RowMediaUpdateManyWithWhereWithoutRowValueInput[] deleteMany?: Prisma.RowMediaScalarWhereInput | Prisma.RowMediaScalarWhereInput[] } export type RowMediaCreateWithoutRowValueInput = { id?: string title: string name: string file: string type: string publicUrl?: string | null storageBucket?: string | null storageProvider?: string | null } export type RowMediaUncheckedCreateWithoutRowValueInput = { id?: string title: string name: string file: string type: string publicUrl?: string | null storageBucket?: string | null storageProvider?: string | null } export type RowMediaCreateOrConnectWithoutRowValueInput = { where: Prisma.RowMediaWhereUniqueInput create: Prisma.XOR } export type RowMediaCreateManyRowValueInputEnvelope = { data: Prisma.RowMediaCreateManyRowValueInput | Prisma.RowMediaCreateManyRowValueInput[] skipDuplicates?: boolean } export type RowMediaUpsertWithWhereUniqueWithoutRowValueInput = { where: Prisma.RowMediaWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type RowMediaUpdateWithWhereUniqueWithoutRowValueInput = { where: Prisma.RowMediaWhereUniqueInput data: Prisma.XOR } export type RowMediaUpdateManyWithWhereWithoutRowValueInput = { where: Prisma.RowMediaScalarWhereInput data: Prisma.XOR } export type RowMediaScalarWhereInput = { AND?: Prisma.RowMediaScalarWhereInput | Prisma.RowMediaScalarWhereInput[] OR?: Prisma.RowMediaScalarWhereInput[] NOT?: Prisma.RowMediaScalarWhereInput | Prisma.RowMediaScalarWhereInput[] id?: Prisma.StringFilter<"RowMedia"> | string rowValueId?: Prisma.StringFilter<"RowMedia"> | string title?: Prisma.StringFilter<"RowMedia"> | string name?: Prisma.StringFilter<"RowMedia"> | string file?: Prisma.StringFilter<"RowMedia"> | string type?: Prisma.StringFilter<"RowMedia"> | string publicUrl?: Prisma.StringNullableFilter<"RowMedia"> | string | null storageBucket?: Prisma.StringNullableFilter<"RowMedia"> | string | null storageProvider?: Prisma.StringNullableFilter<"RowMedia"> | string | null } export type RowMediaCreateManyRowValueInput = { id?: string title: string name: string file: string type: string publicUrl?: string | null storageBucket?: string | null storageProvider?: string | null } export type RowMediaUpdateWithoutRowValueInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string file?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RowMediaUncheckedUpdateWithoutRowValueInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string file?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RowMediaUncheckedUpdateManyWithoutRowValueInput = { id?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string file?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.StringFieldUpdateOperationsInput | string publicUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null storageProvider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RowMediaSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean rowValueId?: boolean title?: boolean name?: boolean file?: boolean type?: boolean publicUrl?: boolean storageBucket?: boolean storageProvider?: boolean rowValue?: boolean | Prisma.RowValueDefaultArgs }, ExtArgs["result"]["rowMedia"]> export type RowMediaSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean rowValueId?: boolean title?: boolean name?: boolean file?: boolean type?: boolean publicUrl?: boolean storageBucket?: boolean storageProvider?: boolean rowValue?: boolean | Prisma.RowValueDefaultArgs }, ExtArgs["result"]["rowMedia"]> export type RowMediaSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean rowValueId?: boolean title?: boolean name?: boolean file?: boolean type?: boolean publicUrl?: boolean storageBucket?: boolean storageProvider?: boolean rowValue?: boolean | Prisma.RowValueDefaultArgs }, ExtArgs["result"]["rowMedia"]> export type RowMediaSelectScalar = { id?: boolean rowValueId?: boolean title?: boolean name?: boolean file?: boolean type?: boolean publicUrl?: boolean storageBucket?: boolean storageProvider?: boolean } export type RowMediaOmit = runtime.Types.Extensions.GetOmit<"id" | "rowValueId" | "title" | "name" | "file" | "type" | "publicUrl" | "storageBucket" | "storageProvider", ExtArgs["result"]["rowMedia"]> export type RowMediaInclude = { rowValue?: boolean | Prisma.RowValueDefaultArgs } export type RowMediaIncludeCreateManyAndReturn = { rowValue?: boolean | Prisma.RowValueDefaultArgs } export type RowMediaIncludeUpdateManyAndReturn = { rowValue?: boolean | Prisma.RowValueDefaultArgs } export type $RowMediaPayload = { name: "RowMedia" objects: { rowValue: Prisma.$RowValuePayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string rowValueId: string title: string name: string file: string type: string publicUrl: string | null storageBucket: string | null storageProvider: string | null }, ExtArgs["result"]["rowMedia"]> composites: {} } export type RowMediaGetPayload = runtime.Types.Result.GetResult export type RowMediaCountArgs = Omit & { select?: RowMediaCountAggregateInputType | true } export interface RowMediaDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['RowMedia'], meta: { name: 'RowMedia' } } /** * Find zero or one RowMedia that matches the filter. * @param {RowMediaFindUniqueArgs} args - Arguments to find a RowMedia * @example * // Get one RowMedia * const rowMedia = await prisma.rowMedia.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one RowMedia that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RowMediaFindUniqueOrThrowArgs} args - Arguments to find a RowMedia * @example * // Get one RowMedia * const rowMedia = await prisma.rowMedia.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first RowMedia 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 {RowMediaFindFirstArgs} args - Arguments to find a RowMedia * @example * // Get one RowMedia * const rowMedia = await prisma.rowMedia.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first RowMedia 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 {RowMediaFindFirstOrThrowArgs} args - Arguments to find a RowMedia * @example * // Get one RowMedia * const rowMedia = await prisma.rowMedia.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more RowMedias 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 {RowMediaFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all RowMedias * const rowMedias = await prisma.rowMedia.findMany() * * // Get first 10 RowMedias * const rowMedias = await prisma.rowMedia.findMany({ take: 10 }) * * // Only select the `id` * const rowMediaWithIdOnly = await prisma.rowMedia.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a RowMedia. * @param {RowMediaCreateArgs} args - Arguments to create a RowMedia. * @example * // Create one RowMedia * const RowMedia = await prisma.rowMedia.create({ * data: { * // ... data to create a RowMedia * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many RowMedias. * @param {RowMediaCreateManyArgs} args - Arguments to create many RowMedias. * @example * // Create many RowMedias * const rowMedia = await prisma.rowMedia.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many RowMedias and returns the data saved in the database. * @param {RowMediaCreateManyAndReturnArgs} args - Arguments to create many RowMedias. * @example * // Create many RowMedias * const rowMedia = await prisma.rowMedia.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many RowMedias and only return the `id` * const rowMediaWithIdOnly = await prisma.rowMedia.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 RowMedia. * @param {RowMediaDeleteArgs} args - Arguments to delete one RowMedia. * @example * // Delete one RowMedia * const RowMedia = await prisma.rowMedia.delete({ * where: { * // ... filter to delete one RowMedia * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one RowMedia. * @param {RowMediaUpdateArgs} args - Arguments to update one RowMedia. * @example * // Update one RowMedia * const rowMedia = await prisma.rowMedia.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more RowMedias. * @param {RowMediaDeleteManyArgs} args - Arguments to filter RowMedias to delete. * @example * // Delete a few RowMedias * const { count } = await prisma.rowMedia.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RowMedias. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowMediaUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many RowMedias * const rowMedia = await prisma.rowMedia.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more RowMedias and returns the data updated in the database. * @param {RowMediaUpdateManyAndReturnArgs} args - Arguments to update many RowMedias. * @example * // Update many RowMedias * const rowMedia = await prisma.rowMedia.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more RowMedias and only return the `id` * const rowMediaWithIdOnly = await prisma.rowMedia.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 RowMedia. * @param {RowMediaUpsertArgs} args - Arguments to update or create a RowMedia. * @example * // Update or create a RowMedia * const rowMedia = await prisma.rowMedia.upsert({ * create: { * // ... data to create a RowMedia * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the RowMedia we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__RowMediaClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of RowMedias. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowMediaCountArgs} args - Arguments to filter RowMedias to count. * @example * // Count the number of RowMedias * const count = await prisma.rowMedia.count({ * where: { * // ... the filter for the RowMedias 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 RowMedia. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowMediaAggregateArgs} 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 RowMedia. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RowMediaGroupByArgs} 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 RowMediaGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: RowMediaGroupByArgs['orderBy'] } : { orderBy?: RowMediaGroupByArgs['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 ? GetRowMediaGroupByPayload : Prisma.PrismaPromise /** * Fields of the RowMedia model */ readonly fields: RowMediaFieldRefs; } /** * The delegate class that acts as a "Promise-like" for RowMedia. * 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__RowMediaClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" rowValue = {}>(args?: Prisma.Subset>): Prisma.Prisma__RowValueClient, 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 RowMedia model */ export interface RowMediaFieldRefs { readonly id: Prisma.FieldRef<"RowMedia", 'String'> readonly rowValueId: Prisma.FieldRef<"RowMedia", 'String'> readonly title: Prisma.FieldRef<"RowMedia", 'String'> readonly name: Prisma.FieldRef<"RowMedia", 'String'> readonly file: Prisma.FieldRef<"RowMedia", 'String'> readonly type: Prisma.FieldRef<"RowMedia", 'String'> readonly publicUrl: Prisma.FieldRef<"RowMedia", 'String'> readonly storageBucket: Prisma.FieldRef<"RowMedia", 'String'> readonly storageProvider: Prisma.FieldRef<"RowMedia", 'String'> } // Custom InputTypes /** * RowMedia findUnique */ export type RowMediaFindUniqueArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * Filter, which RowMedia to fetch. */ where: Prisma.RowMediaWhereUniqueInput } /** * RowMedia findUniqueOrThrow */ export type RowMediaFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * Filter, which RowMedia to fetch. */ where: Prisma.RowMediaWhereUniqueInput } /** * RowMedia findFirst */ export type RowMediaFindFirstArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * Filter, which RowMedia to fetch. */ where?: Prisma.RowMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowMedias to fetch. */ orderBy?: Prisma.RowMediaOrderByWithRelationInput | Prisma.RowMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RowMedias. */ cursor?: Prisma.RowMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowMedias 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` RowMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RowMedias. */ distinct?: Prisma.RowMediaScalarFieldEnum | Prisma.RowMediaScalarFieldEnum[] } /** * RowMedia findFirstOrThrow */ export type RowMediaFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * Filter, which RowMedia to fetch. */ where?: Prisma.RowMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowMedias to fetch. */ orderBy?: Prisma.RowMediaOrderByWithRelationInput | Prisma.RowMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for RowMedias. */ cursor?: Prisma.RowMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowMedias 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` RowMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RowMedias. */ distinct?: Prisma.RowMediaScalarFieldEnum | Prisma.RowMediaScalarFieldEnum[] } /** * RowMedia findMany */ export type RowMediaFindManyArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * Filter, which RowMedias to fetch. */ where?: Prisma.RowMediaWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of RowMedias to fetch. */ orderBy?: Prisma.RowMediaOrderByWithRelationInput | Prisma.RowMediaOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing RowMedias. */ cursor?: Prisma.RowMediaWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` RowMedias 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` RowMedias. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of RowMedias. */ distinct?: Prisma.RowMediaScalarFieldEnum | Prisma.RowMediaScalarFieldEnum[] } /** * RowMedia create */ export type RowMediaCreateArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * The data needed to create a RowMedia. */ data: Prisma.XOR } /** * RowMedia createMany */ export type RowMediaCreateManyArgs = { /** * The data used to create many RowMedias. */ data: Prisma.RowMediaCreateManyInput | Prisma.RowMediaCreateManyInput[] skipDuplicates?: boolean } /** * RowMedia createManyAndReturn */ export type RowMediaCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelectCreateManyAndReturn | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * The data used to create many RowMedias. */ data: Prisma.RowMediaCreateManyInput | Prisma.RowMediaCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaIncludeCreateManyAndReturn | null } /** * RowMedia update */ export type RowMediaUpdateArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * The data needed to update a RowMedia. */ data: Prisma.XOR /** * Choose, which RowMedia to update. */ where: Prisma.RowMediaWhereUniqueInput } /** * RowMedia updateMany */ export type RowMediaUpdateManyArgs = { /** * The data used to update RowMedias. */ data: Prisma.XOR /** * Filter which RowMedias to update */ where?: Prisma.RowMediaWhereInput /** * Limit how many RowMedias to update. */ limit?: number } /** * RowMedia updateManyAndReturn */ export type RowMediaUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelectUpdateManyAndReturn | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * The data used to update RowMedias. */ data: Prisma.XOR /** * Filter which RowMedias to update */ where?: Prisma.RowMediaWhereInput /** * Limit how many RowMedias to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaIncludeUpdateManyAndReturn | null } /** * RowMedia upsert */ export type RowMediaUpsertArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * The filter to search for the RowMedia to update in case it exists. */ where: Prisma.RowMediaWhereUniqueInput /** * In case the RowMedia found by the `where` argument doesn't exist, create a new RowMedia with this data. */ create: Prisma.XOR /** * In case the RowMedia was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * RowMedia delete */ export type RowMediaDeleteArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null /** * Filter which RowMedia to delete. */ where: Prisma.RowMediaWhereUniqueInput } /** * RowMedia deleteMany */ export type RowMediaDeleteManyArgs = { /** * Filter which RowMedias to delete */ where?: Prisma.RowMediaWhereInput /** * Limit how many RowMedias to delete. */ limit?: number } /** * RowMedia without action */ export type RowMediaDefaultArgs = { /** * Select specific fields to fetch from the RowMedia */ select?: Prisma.RowMediaSelect | null /** * Omit specific fields from the RowMedia */ omit?: Prisma.RowMediaOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RowMediaInclude | null }