1486 lines
54 KiB
TypeScript
1486 lines
54 KiB
TypeScript
|
|
/* !!! 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<Prisma.$RowMediaPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends RowMediaAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateRowMedia]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateRowMedia[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateRowMedia[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type RowMediaGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends RowMediaGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<RowMediaGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof RowMediaGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], RowMediaGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], RowMediaGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.RowValueScalarRelationFilter, Prisma.RowValueWhereInput>
|
|
}
|
|
|
|
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<Prisma.RowValueScalarRelationFilter, Prisma.RowValueWhereInput>
|
|
}, "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> | 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> | 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> | 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> | 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<Prisma.RowMediaCreateWithoutRowValueInput, Prisma.RowMediaUncheckedCreateWithoutRowValueInput>
|
|
}
|
|
|
|
export type RowMediaCreateManyRowValueInputEnvelope = {
|
|
data: Prisma.RowMediaCreateManyRowValueInput | Prisma.RowMediaCreateManyRowValueInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type RowMediaUpsertWithWhereUniqueWithoutRowValueInput = {
|
|
where: Prisma.RowMediaWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.RowMediaUpdateWithoutRowValueInput, Prisma.RowMediaUncheckedUpdateWithoutRowValueInput>
|
|
create: Prisma.XOR<Prisma.RowMediaCreateWithoutRowValueInput, Prisma.RowMediaUncheckedCreateWithoutRowValueInput>
|
|
}
|
|
|
|
export type RowMediaUpdateWithWhereUniqueWithoutRowValueInput = {
|
|
where: Prisma.RowMediaWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.RowMediaUpdateWithoutRowValueInput, Prisma.RowMediaUncheckedUpdateWithoutRowValueInput>
|
|
}
|
|
|
|
export type RowMediaUpdateManyWithWhereWithoutRowValueInput = {
|
|
where: Prisma.RowMediaScalarWhereInput
|
|
data: Prisma.XOR<Prisma.RowMediaUpdateManyMutationInput, Prisma.RowMediaUncheckedUpdateManyWithoutRowValueInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["rowMedia"]>
|
|
|
|
export type RowMediaSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["rowMedia"]>
|
|
|
|
export type RowMediaSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "rowValueId" | "title" | "name" | "file" | "type" | "publicUrl" | "storageBucket" | "storageProvider", ExtArgs["result"]["rowMedia"]>
|
|
export type RowMediaInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
rowValue?: boolean | Prisma.RowValueDefaultArgs<ExtArgs>
|
|
}
|
|
export type RowMediaIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
rowValue?: boolean | Prisma.RowValueDefaultArgs<ExtArgs>
|
|
}
|
|
export type RowMediaIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
rowValue?: boolean | Prisma.RowValueDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $RowMediaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "RowMedia"
|
|
objects: {
|
|
rowValue: Prisma.$RowValuePayload<ExtArgs>
|
|
}
|
|
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<S extends boolean | null | undefined | RowMediaDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RowMediaPayload, S>
|
|
|
|
export type RowMediaCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<RowMediaFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: RowMediaCountAggregateInputType | true
|
|
}
|
|
|
|
export interface RowMediaDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends RowMediaFindUniqueArgs>(args: Prisma.SelectSubset<T, RowMediaFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RowMediaFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaFindFirstArgs>(args?: Prisma.SelectSubset<T, RowMediaFindFirstArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RowMediaFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaFindManyArgs>(args?: Prisma.SelectSubset<T, RowMediaFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaCreateArgs>(args: Prisma.SelectSubset<T, RowMediaCreateArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaCreateManyArgs>(args?: Prisma.SelectSubset<T, RowMediaCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends RowMediaCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RowMediaCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaDeleteArgs>(args: Prisma.SelectSubset<T, RowMediaDeleteArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaUpdateArgs>(args: Prisma.SelectSubset<T, RowMediaUpdateArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaDeleteManyArgs>(args?: Prisma.SelectSubset<T, RowMediaDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends RowMediaUpdateManyArgs>(args: Prisma.SelectSubset<T, RowMediaUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends RowMediaUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RowMediaUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaUpsertArgs>(args: Prisma.SelectSubset<T, RowMediaUpsertArgs<ExtArgs>>): Prisma.Prisma__RowMediaClient<runtime.Types.Result.GetResult<Prisma.$RowMediaPayload<ExtArgs>, 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<T extends RowMediaCountArgs>(
|
|
args?: Prisma.Subset<T, RowMediaCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], RowMediaCountAggregateOutputType>
|
|
: 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<T extends RowMediaAggregateArgs>(args: Prisma.Subset<T, RowMediaAggregateArgs>): Prisma.PrismaPromise<GetRowMediaAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: RowMediaGroupByArgs['orderBy'] }
|
|
: { orderBy?: RowMediaGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, RowMediaGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRowMediaGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
rowValue<T extends Prisma.RowValueDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowValueDefaultArgs<ExtArgs>>): Prisma.Prisma__RowValueClient<runtime.Types.Result.GetResult<Prisma.$RowValuePayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowMedia to fetch.
|
|
*/
|
|
where: Prisma.RowMediaWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowMedia findUniqueOrThrow
|
|
*/
|
|
export type RowMediaFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which RowMedia to fetch.
|
|
*/
|
|
where: Prisma.RowMediaWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowMedia findFirst
|
|
*/
|
|
export type RowMediaFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a RowMedia.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowMediaCreateInput, Prisma.RowMediaUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* RowMedia createMany
|
|
*/
|
|
export type RowMediaCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many RowMedias.
|
|
*/
|
|
data: Prisma.RowMediaCreateManyInput | Prisma.RowMediaCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* RowMedia createManyAndReturn
|
|
*/
|
|
export type RowMediaCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* RowMedia update
|
|
*/
|
|
export type RowMediaUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a RowMedia.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowMediaUpdateInput, Prisma.RowMediaUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which RowMedia to update.
|
|
*/
|
|
where: Prisma.RowMediaWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowMedia updateMany
|
|
*/
|
|
export type RowMediaUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update RowMedias.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowMediaUpdateManyMutationInput, Prisma.RowMediaUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which RowMedias to update
|
|
*/
|
|
where?: Prisma.RowMediaWhereInput
|
|
/**
|
|
* Limit how many RowMedias to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* RowMedia updateManyAndReturn
|
|
*/
|
|
export type RowMediaUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update RowMedias.
|
|
*/
|
|
data: Prisma.XOR<Prisma.RowMediaUpdateManyMutationInput, Prisma.RowMediaUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* RowMedia upsert
|
|
*/
|
|
export type RowMediaUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | 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<Prisma.RowMediaCreateInput, Prisma.RowMediaUncheckedCreateInput>
|
|
/**
|
|
* In case the RowMedia was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.RowMediaUpdateInput, Prisma.RowMediaUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* RowMedia delete
|
|
*/
|
|
export type RowMediaDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which RowMedia to delete.
|
|
*/
|
|
where: Prisma.RowMediaWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* RowMedia deleteMany
|
|
*/
|
|
export type RowMediaDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which RowMedias to delete
|
|
*/
|
|
where?: Prisma.RowMediaWhereInput
|
|
/**
|
|
* Limit how many RowMedias to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* RowMedia without action
|
|
*/
|
|
export type RowMediaDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the RowMedia
|
|
*/
|
|
select?: Prisma.RowMediaSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the RowMedia
|
|
*/
|
|
omit?: Prisma.RowMediaOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.RowMediaInclude<ExtArgs> | null
|
|
}
|