Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/RowCommentReaction.ts
T

1466 lines
63 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 `RowCommentReaction` 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 RowCommentReaction
*
*/
export type RowCommentReactionModel = runtime.Types.Result.DefaultSelection<Prisma.$RowCommentReactionPayload>
export type AggregateRowCommentReaction = {
_count: RowCommentReactionCountAggregateOutputType | null
_min: RowCommentReactionMinAggregateOutputType | null
_max: RowCommentReactionMaxAggregateOutputType | null
}
export type RowCommentReactionMinAggregateOutputType = {
id: string | null
createdAt: Date | null
createdByUserId: string | null
rowCommentId: string | null
reaction: string | null
}
export type RowCommentReactionMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
createdByUserId: string | null
rowCommentId: string | null
reaction: string | null
}
export type RowCommentReactionCountAggregateOutputType = {
id: number
createdAt: number
createdByUserId: number
rowCommentId: number
reaction: number
_all: number
}
export type RowCommentReactionMinAggregateInputType = {
id?: true
createdAt?: true
createdByUserId?: true
rowCommentId?: true
reaction?: true
}
export type RowCommentReactionMaxAggregateInputType = {
id?: true
createdAt?: true
createdByUserId?: true
rowCommentId?: true
reaction?: true
}
export type RowCommentReactionCountAggregateInputType = {
id?: true
createdAt?: true
createdByUserId?: true
rowCommentId?: true
reaction?: true
_all?: true
}
export type RowCommentReactionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which RowCommentReaction to aggregate.
*/
where?: Prisma.RowCommentReactionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowCommentReactions to fetch.
*/
orderBy?: Prisma.RowCommentReactionOrderByWithRelationInput | Prisma.RowCommentReactionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.RowCommentReactionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowCommentReactions 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` RowCommentReactions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned RowCommentReactions
**/
_count?: true | RowCommentReactionCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: RowCommentReactionMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: RowCommentReactionMaxAggregateInputType
}
export type GetRowCommentReactionAggregateType<T extends RowCommentReactionAggregateArgs> = {
[P in keyof T & keyof AggregateRowCommentReaction]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateRowCommentReaction[P]>
: Prisma.GetScalarType<T[P], AggregateRowCommentReaction[P]>
}
export type RowCommentReactionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.RowCommentReactionWhereInput
orderBy?: Prisma.RowCommentReactionOrderByWithAggregationInput | Prisma.RowCommentReactionOrderByWithAggregationInput[]
by: Prisma.RowCommentReactionScalarFieldEnum[] | Prisma.RowCommentReactionScalarFieldEnum
having?: Prisma.RowCommentReactionScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: RowCommentReactionCountAggregateInputType | true
_min?: RowCommentReactionMinAggregateInputType
_max?: RowCommentReactionMaxAggregateInputType
}
export type RowCommentReactionGroupByOutputType = {
id: string
createdAt: Date
createdByUserId: string
rowCommentId: string
reaction: string
_count: RowCommentReactionCountAggregateOutputType | null
_min: RowCommentReactionMinAggregateOutputType | null
_max: RowCommentReactionMaxAggregateOutputType | null
}
export type GetRowCommentReactionGroupByPayload<T extends RowCommentReactionGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<RowCommentReactionGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof RowCommentReactionGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], RowCommentReactionGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], RowCommentReactionGroupByOutputType[P]>
}
>
>
export type RowCommentReactionWhereInput = {
AND?: Prisma.RowCommentReactionWhereInput | Prisma.RowCommentReactionWhereInput[]
OR?: Prisma.RowCommentReactionWhereInput[]
NOT?: Prisma.RowCommentReactionWhereInput | Prisma.RowCommentReactionWhereInput[]
id?: Prisma.StringFilter<"RowCommentReaction"> | string
createdAt?: Prisma.DateTimeFilter<"RowCommentReaction"> | Date | string
createdByUserId?: Prisma.StringFilter<"RowCommentReaction"> | string
rowCommentId?: Prisma.StringFilter<"RowCommentReaction"> | string
reaction?: Prisma.StringFilter<"RowCommentReaction"> | string
createdByUser?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
rowComment?: Prisma.XOR<Prisma.RowCommentScalarRelationFilter, Prisma.RowCommentWhereInput>
}
export type RowCommentReactionOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
rowCommentId?: Prisma.SortOrder
reaction?: Prisma.SortOrder
createdByUser?: Prisma.UserOrderByWithRelationInput
rowComment?: Prisma.RowCommentOrderByWithRelationInput
}
export type RowCommentReactionWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.RowCommentReactionWhereInput | Prisma.RowCommentReactionWhereInput[]
OR?: Prisma.RowCommentReactionWhereInput[]
NOT?: Prisma.RowCommentReactionWhereInput | Prisma.RowCommentReactionWhereInput[]
createdAt?: Prisma.DateTimeFilter<"RowCommentReaction"> | Date | string
createdByUserId?: Prisma.StringFilter<"RowCommentReaction"> | string
rowCommentId?: Prisma.StringFilter<"RowCommentReaction"> | string
reaction?: Prisma.StringFilter<"RowCommentReaction"> | string
createdByUser?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
rowComment?: Prisma.XOR<Prisma.RowCommentScalarRelationFilter, Prisma.RowCommentWhereInput>
}, "id">
export type RowCommentReactionOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
rowCommentId?: Prisma.SortOrder
reaction?: Prisma.SortOrder
_count?: Prisma.RowCommentReactionCountOrderByAggregateInput
_max?: Prisma.RowCommentReactionMaxOrderByAggregateInput
_min?: Prisma.RowCommentReactionMinOrderByAggregateInput
}
export type RowCommentReactionScalarWhereWithAggregatesInput = {
AND?: Prisma.RowCommentReactionScalarWhereWithAggregatesInput | Prisma.RowCommentReactionScalarWhereWithAggregatesInput[]
OR?: Prisma.RowCommentReactionScalarWhereWithAggregatesInput[]
NOT?: Prisma.RowCommentReactionScalarWhereWithAggregatesInput | Prisma.RowCommentReactionScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"RowCommentReaction"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"RowCommentReaction"> | Date | string
createdByUserId?: Prisma.StringWithAggregatesFilter<"RowCommentReaction"> | string
rowCommentId?: Prisma.StringWithAggregatesFilter<"RowCommentReaction"> | string
reaction?: Prisma.StringWithAggregatesFilter<"RowCommentReaction"> | string
}
export type RowCommentReactionCreateInput = {
id?: string
createdAt?: Date | string
reaction: string
createdByUser: Prisma.UserCreateNestedOneWithoutCreatedRowCommentReactionsInput
rowComment: Prisma.RowCommentCreateNestedOneWithoutReactionsInput
}
export type RowCommentReactionUncheckedCreateInput = {
id?: string
createdAt?: Date | string
createdByUserId: string
rowCommentId: string
reaction: string
}
export type RowCommentReactionUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
createdByUser?: Prisma.UserUpdateOneRequiredWithoutCreatedRowCommentReactionsNestedInput
rowComment?: Prisma.RowCommentUpdateOneRequiredWithoutReactionsNestedInput
}
export type RowCommentReactionUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
rowCommentId?: Prisma.StringFieldUpdateOperationsInput | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
}
export type RowCommentReactionCreateManyInput = {
id?: string
createdAt?: Date | string
createdByUserId: string
rowCommentId: string
reaction: string
}
export type RowCommentReactionUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
}
export type RowCommentReactionUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
rowCommentId?: Prisma.StringFieldUpdateOperationsInput | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
}
export type RowCommentReactionListRelationFilter = {
every?: Prisma.RowCommentReactionWhereInput
some?: Prisma.RowCommentReactionWhereInput
none?: Prisma.RowCommentReactionWhereInput
}
export type RowCommentReactionOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type RowCommentReactionCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
rowCommentId?: Prisma.SortOrder
reaction?: Prisma.SortOrder
}
export type RowCommentReactionMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
rowCommentId?: Prisma.SortOrder
reaction?: Prisma.SortOrder
}
export type RowCommentReactionMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
createdByUserId?: Prisma.SortOrder
rowCommentId?: Prisma.SortOrder
reaction?: Prisma.SortOrder
}
export type RowCommentReactionCreateNestedManyWithoutCreatedByUserInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowCommentReactionCreateWithoutCreatedByUserInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput | Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput[]
createMany?: Prisma.RowCommentReactionCreateManyCreatedByUserInputEnvelope
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
}
export type RowCommentReactionUncheckedCreateNestedManyWithoutCreatedByUserInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowCommentReactionCreateWithoutCreatedByUserInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput | Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput[]
createMany?: Prisma.RowCommentReactionCreateManyCreatedByUserInputEnvelope
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
}
export type RowCommentReactionUpdateManyWithoutCreatedByUserNestedInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowCommentReactionCreateWithoutCreatedByUserInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput | Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput[]
upsert?: Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutCreatedByUserInput[]
createMany?: Prisma.RowCommentReactionCreateManyCreatedByUserInputEnvelope
set?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
disconnect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
delete?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
update?: Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutCreatedByUserInput[]
updateMany?: Prisma.RowCommentReactionUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.RowCommentReactionUpdateManyWithWhereWithoutCreatedByUserInput[]
deleteMany?: Prisma.RowCommentReactionScalarWhereInput | Prisma.RowCommentReactionScalarWhereInput[]
}
export type RowCommentReactionUncheckedUpdateManyWithoutCreatedByUserNestedInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput> | Prisma.RowCommentReactionCreateWithoutCreatedByUserInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput | Prisma.RowCommentReactionCreateOrConnectWithoutCreatedByUserInput[]
upsert?: Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutCreatedByUserInput[]
createMany?: Prisma.RowCommentReactionCreateManyCreatedByUserInputEnvelope
set?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
disconnect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
delete?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
update?: Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutCreatedByUserInput | Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutCreatedByUserInput[]
updateMany?: Prisma.RowCommentReactionUpdateManyWithWhereWithoutCreatedByUserInput | Prisma.RowCommentReactionUpdateManyWithWhereWithoutCreatedByUserInput[]
deleteMany?: Prisma.RowCommentReactionScalarWhereInput | Prisma.RowCommentReactionScalarWhereInput[]
}
export type RowCommentReactionCreateNestedManyWithoutRowCommentInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput> | Prisma.RowCommentReactionCreateWithoutRowCommentInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput | Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput[]
createMany?: Prisma.RowCommentReactionCreateManyRowCommentInputEnvelope
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
}
export type RowCommentReactionUncheckedCreateNestedManyWithoutRowCommentInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput> | Prisma.RowCommentReactionCreateWithoutRowCommentInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput | Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput[]
createMany?: Prisma.RowCommentReactionCreateManyRowCommentInputEnvelope
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
}
export type RowCommentReactionUpdateManyWithoutRowCommentNestedInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput> | Prisma.RowCommentReactionCreateWithoutRowCommentInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput | Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput[]
upsert?: Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutRowCommentInput | Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutRowCommentInput[]
createMany?: Prisma.RowCommentReactionCreateManyRowCommentInputEnvelope
set?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
disconnect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
delete?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
update?: Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutRowCommentInput | Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutRowCommentInput[]
updateMany?: Prisma.RowCommentReactionUpdateManyWithWhereWithoutRowCommentInput | Prisma.RowCommentReactionUpdateManyWithWhereWithoutRowCommentInput[]
deleteMany?: Prisma.RowCommentReactionScalarWhereInput | Prisma.RowCommentReactionScalarWhereInput[]
}
export type RowCommentReactionUncheckedUpdateManyWithoutRowCommentNestedInput = {
create?: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput> | Prisma.RowCommentReactionCreateWithoutRowCommentInput[] | Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput[]
connectOrCreate?: Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput | Prisma.RowCommentReactionCreateOrConnectWithoutRowCommentInput[]
upsert?: Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutRowCommentInput | Prisma.RowCommentReactionUpsertWithWhereUniqueWithoutRowCommentInput[]
createMany?: Prisma.RowCommentReactionCreateManyRowCommentInputEnvelope
set?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
disconnect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
delete?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
connect?: Prisma.RowCommentReactionWhereUniqueInput | Prisma.RowCommentReactionWhereUniqueInput[]
update?: Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutRowCommentInput | Prisma.RowCommentReactionUpdateWithWhereUniqueWithoutRowCommentInput[]
updateMany?: Prisma.RowCommentReactionUpdateManyWithWhereWithoutRowCommentInput | Prisma.RowCommentReactionUpdateManyWithWhereWithoutRowCommentInput[]
deleteMany?: Prisma.RowCommentReactionScalarWhereInput | Prisma.RowCommentReactionScalarWhereInput[]
}
export type RowCommentReactionCreateWithoutCreatedByUserInput = {
id?: string
createdAt?: Date | string
reaction: string
rowComment: Prisma.RowCommentCreateNestedOneWithoutReactionsInput
}
export type RowCommentReactionUncheckedCreateWithoutCreatedByUserInput = {
id?: string
createdAt?: Date | string
rowCommentId: string
reaction: string
}
export type RowCommentReactionCreateOrConnectWithoutCreatedByUserInput = {
where: Prisma.RowCommentReactionWhereUniqueInput
create: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput>
}
export type RowCommentReactionCreateManyCreatedByUserInputEnvelope = {
data: Prisma.RowCommentReactionCreateManyCreatedByUserInput | Prisma.RowCommentReactionCreateManyCreatedByUserInput[]
skipDuplicates?: boolean
}
export type RowCommentReactionUpsertWithWhereUniqueWithoutCreatedByUserInput = {
where: Prisma.RowCommentReactionWhereUniqueInput
update: Prisma.XOR<Prisma.RowCommentReactionUpdateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedUpdateWithoutCreatedByUserInput>
create: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedCreateWithoutCreatedByUserInput>
}
export type RowCommentReactionUpdateWithWhereUniqueWithoutCreatedByUserInput = {
where: Prisma.RowCommentReactionWhereUniqueInput
data: Prisma.XOR<Prisma.RowCommentReactionUpdateWithoutCreatedByUserInput, Prisma.RowCommentReactionUncheckedUpdateWithoutCreatedByUserInput>
}
export type RowCommentReactionUpdateManyWithWhereWithoutCreatedByUserInput = {
where: Prisma.RowCommentReactionScalarWhereInput
data: Prisma.XOR<Prisma.RowCommentReactionUpdateManyMutationInput, Prisma.RowCommentReactionUncheckedUpdateManyWithoutCreatedByUserInput>
}
export type RowCommentReactionScalarWhereInput = {
AND?: Prisma.RowCommentReactionScalarWhereInput | Prisma.RowCommentReactionScalarWhereInput[]
OR?: Prisma.RowCommentReactionScalarWhereInput[]
NOT?: Prisma.RowCommentReactionScalarWhereInput | Prisma.RowCommentReactionScalarWhereInput[]
id?: Prisma.StringFilter<"RowCommentReaction"> | string
createdAt?: Prisma.DateTimeFilter<"RowCommentReaction"> | Date | string
createdByUserId?: Prisma.StringFilter<"RowCommentReaction"> | string
rowCommentId?: Prisma.StringFilter<"RowCommentReaction"> | string
reaction?: Prisma.StringFilter<"RowCommentReaction"> | string
}
export type RowCommentReactionCreateWithoutRowCommentInput = {
id?: string
createdAt?: Date | string
reaction: string
createdByUser: Prisma.UserCreateNestedOneWithoutCreatedRowCommentReactionsInput
}
export type RowCommentReactionUncheckedCreateWithoutRowCommentInput = {
id?: string
createdAt?: Date | string
createdByUserId: string
reaction: string
}
export type RowCommentReactionCreateOrConnectWithoutRowCommentInput = {
where: Prisma.RowCommentReactionWhereUniqueInput
create: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput>
}
export type RowCommentReactionCreateManyRowCommentInputEnvelope = {
data: Prisma.RowCommentReactionCreateManyRowCommentInput | Prisma.RowCommentReactionCreateManyRowCommentInput[]
skipDuplicates?: boolean
}
export type RowCommentReactionUpsertWithWhereUniqueWithoutRowCommentInput = {
where: Prisma.RowCommentReactionWhereUniqueInput
update: Prisma.XOR<Prisma.RowCommentReactionUpdateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedUpdateWithoutRowCommentInput>
create: Prisma.XOR<Prisma.RowCommentReactionCreateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedCreateWithoutRowCommentInput>
}
export type RowCommentReactionUpdateWithWhereUniqueWithoutRowCommentInput = {
where: Prisma.RowCommentReactionWhereUniqueInput
data: Prisma.XOR<Prisma.RowCommentReactionUpdateWithoutRowCommentInput, Prisma.RowCommentReactionUncheckedUpdateWithoutRowCommentInput>
}
export type RowCommentReactionUpdateManyWithWhereWithoutRowCommentInput = {
where: Prisma.RowCommentReactionScalarWhereInput
data: Prisma.XOR<Prisma.RowCommentReactionUpdateManyMutationInput, Prisma.RowCommentReactionUncheckedUpdateManyWithoutRowCommentInput>
}
export type RowCommentReactionCreateManyCreatedByUserInput = {
id?: string
createdAt?: Date | string
rowCommentId: string
reaction: string
}
export type RowCommentReactionUpdateWithoutCreatedByUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
rowComment?: Prisma.RowCommentUpdateOneRequiredWithoutReactionsNestedInput
}
export type RowCommentReactionUncheckedUpdateWithoutCreatedByUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
rowCommentId?: Prisma.StringFieldUpdateOperationsInput | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
}
export type RowCommentReactionUncheckedUpdateManyWithoutCreatedByUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
rowCommentId?: Prisma.StringFieldUpdateOperationsInput | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
}
export type RowCommentReactionCreateManyRowCommentInput = {
id?: string
createdAt?: Date | string
createdByUserId: string
reaction: string
}
export type RowCommentReactionUpdateWithoutRowCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
createdByUser?: Prisma.UserUpdateOneRequiredWithoutCreatedRowCommentReactionsNestedInput
}
export type RowCommentReactionUncheckedUpdateWithoutRowCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
}
export type RowCommentReactionUncheckedUpdateManyWithoutRowCommentInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
reaction?: Prisma.StringFieldUpdateOperationsInput | string
}
export type RowCommentReactionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
createdByUserId?: boolean
rowCommentId?: boolean
reaction?: boolean
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
rowComment?: boolean | Prisma.RowCommentDefaultArgs<ExtArgs>
}, ExtArgs["result"]["rowCommentReaction"]>
export type RowCommentReactionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
createdByUserId?: boolean
rowCommentId?: boolean
reaction?: boolean
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
rowComment?: boolean | Prisma.RowCommentDefaultArgs<ExtArgs>
}, ExtArgs["result"]["rowCommentReaction"]>
export type RowCommentReactionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
createdByUserId?: boolean
rowCommentId?: boolean
reaction?: boolean
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
rowComment?: boolean | Prisma.RowCommentDefaultArgs<ExtArgs>
}, ExtArgs["result"]["rowCommentReaction"]>
export type RowCommentReactionSelectScalar = {
id?: boolean
createdAt?: boolean
createdByUserId?: boolean
rowCommentId?: boolean
reaction?: boolean
}
export type RowCommentReactionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "createdByUserId" | "rowCommentId" | "reaction", ExtArgs["result"]["rowCommentReaction"]>
export type RowCommentReactionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
rowComment?: boolean | Prisma.RowCommentDefaultArgs<ExtArgs>
}
export type RowCommentReactionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
rowComment?: boolean | Prisma.RowCommentDefaultArgs<ExtArgs>
}
export type RowCommentReactionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
createdByUser?: boolean | Prisma.UserDefaultArgs<ExtArgs>
rowComment?: boolean | Prisma.RowCommentDefaultArgs<ExtArgs>
}
export type $RowCommentReactionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "RowCommentReaction"
objects: {
createdByUser: Prisma.$UserPayload<ExtArgs>
rowComment: Prisma.$RowCommentPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
createdByUserId: string
rowCommentId: string
reaction: string
}, ExtArgs["result"]["rowCommentReaction"]>
composites: {}
}
export type RowCommentReactionGetPayload<S extends boolean | null | undefined | RowCommentReactionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload, S>
export type RowCommentReactionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<RowCommentReactionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: RowCommentReactionCountAggregateInputType | true
}
export interface RowCommentReactionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['RowCommentReaction'], meta: { name: 'RowCommentReaction' } }
/**
* Find zero or one RowCommentReaction that matches the filter.
* @param {RowCommentReactionFindUniqueArgs} args - Arguments to find a RowCommentReaction
* @example
* // Get one RowCommentReaction
* const rowCommentReaction = await prisma.rowCommentReaction.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends RowCommentReactionFindUniqueArgs>(args: Prisma.SelectSubset<T, RowCommentReactionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one RowCommentReaction that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {RowCommentReactionFindUniqueOrThrowArgs} args - Arguments to find a RowCommentReaction
* @example
* // Get one RowCommentReaction
* const rowCommentReaction = await prisma.rowCommentReaction.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends RowCommentReactionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RowCommentReactionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first RowCommentReaction 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 {RowCommentReactionFindFirstArgs} args - Arguments to find a RowCommentReaction
* @example
* // Get one RowCommentReaction
* const rowCommentReaction = await prisma.rowCommentReaction.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends RowCommentReactionFindFirstArgs>(args?: Prisma.SelectSubset<T, RowCommentReactionFindFirstArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first RowCommentReaction 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 {RowCommentReactionFindFirstOrThrowArgs} args - Arguments to find a RowCommentReaction
* @example
* // Get one RowCommentReaction
* const rowCommentReaction = await prisma.rowCommentReaction.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends RowCommentReactionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RowCommentReactionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more RowCommentReactions 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 {RowCommentReactionFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all RowCommentReactions
* const rowCommentReactions = await prisma.rowCommentReaction.findMany()
*
* // Get first 10 RowCommentReactions
* const rowCommentReactions = await prisma.rowCommentReaction.findMany({ take: 10 })
*
* // Only select the `id`
* const rowCommentReactionWithIdOnly = await prisma.rowCommentReaction.findMany({ select: { id: true } })
*
*/
findMany<T extends RowCommentReactionFindManyArgs>(args?: Prisma.SelectSubset<T, RowCommentReactionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a RowCommentReaction.
* @param {RowCommentReactionCreateArgs} args - Arguments to create a RowCommentReaction.
* @example
* // Create one RowCommentReaction
* const RowCommentReaction = await prisma.rowCommentReaction.create({
* data: {
* // ... data to create a RowCommentReaction
* }
* })
*
*/
create<T extends RowCommentReactionCreateArgs>(args: Prisma.SelectSubset<T, RowCommentReactionCreateArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many RowCommentReactions.
* @param {RowCommentReactionCreateManyArgs} args - Arguments to create many RowCommentReactions.
* @example
* // Create many RowCommentReactions
* const rowCommentReaction = await prisma.rowCommentReaction.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends RowCommentReactionCreateManyArgs>(args?: Prisma.SelectSubset<T, RowCommentReactionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many RowCommentReactions and returns the data saved in the database.
* @param {RowCommentReactionCreateManyAndReturnArgs} args - Arguments to create many RowCommentReactions.
* @example
* // Create many RowCommentReactions
* const rowCommentReaction = await prisma.rowCommentReaction.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many RowCommentReactions and only return the `id`
* const rowCommentReactionWithIdOnly = await prisma.rowCommentReaction.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 RowCommentReactionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RowCommentReactionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a RowCommentReaction.
* @param {RowCommentReactionDeleteArgs} args - Arguments to delete one RowCommentReaction.
* @example
* // Delete one RowCommentReaction
* const RowCommentReaction = await prisma.rowCommentReaction.delete({
* where: {
* // ... filter to delete one RowCommentReaction
* }
* })
*
*/
delete<T extends RowCommentReactionDeleteArgs>(args: Prisma.SelectSubset<T, RowCommentReactionDeleteArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one RowCommentReaction.
* @param {RowCommentReactionUpdateArgs} args - Arguments to update one RowCommentReaction.
* @example
* // Update one RowCommentReaction
* const rowCommentReaction = await prisma.rowCommentReaction.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends RowCommentReactionUpdateArgs>(args: Prisma.SelectSubset<T, RowCommentReactionUpdateArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more RowCommentReactions.
* @param {RowCommentReactionDeleteManyArgs} args - Arguments to filter RowCommentReactions to delete.
* @example
* // Delete a few RowCommentReactions
* const { count } = await prisma.rowCommentReaction.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends RowCommentReactionDeleteManyArgs>(args?: Prisma.SelectSubset<T, RowCommentReactionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more RowCommentReactions.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowCommentReactionUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many RowCommentReactions
* const rowCommentReaction = await prisma.rowCommentReaction.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends RowCommentReactionUpdateManyArgs>(args: Prisma.SelectSubset<T, RowCommentReactionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more RowCommentReactions and returns the data updated in the database.
* @param {RowCommentReactionUpdateManyAndReturnArgs} args - Arguments to update many RowCommentReactions.
* @example
* // Update many RowCommentReactions
* const rowCommentReaction = await prisma.rowCommentReaction.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more RowCommentReactions and only return the `id`
* const rowCommentReactionWithIdOnly = await prisma.rowCommentReaction.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 RowCommentReactionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RowCommentReactionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one RowCommentReaction.
* @param {RowCommentReactionUpsertArgs} args - Arguments to update or create a RowCommentReaction.
* @example
* // Update or create a RowCommentReaction
* const rowCommentReaction = await prisma.rowCommentReaction.upsert({
* create: {
* // ... data to create a RowCommentReaction
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the RowCommentReaction we want to update
* }
* })
*/
upsert<T extends RowCommentReactionUpsertArgs>(args: Prisma.SelectSubset<T, RowCommentReactionUpsertArgs<ExtArgs>>): Prisma.Prisma__RowCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$RowCommentReactionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of RowCommentReactions.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowCommentReactionCountArgs} args - Arguments to filter RowCommentReactions to count.
* @example
* // Count the number of RowCommentReactions
* const count = await prisma.rowCommentReaction.count({
* where: {
* // ... the filter for the RowCommentReactions we want to count
* }
* })
**/
count<T extends RowCommentReactionCountArgs>(
args?: Prisma.Subset<T, RowCommentReactionCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], RowCommentReactionCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a RowCommentReaction.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowCommentReactionAggregateArgs} 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 RowCommentReactionAggregateArgs>(args: Prisma.Subset<T, RowCommentReactionAggregateArgs>): Prisma.PrismaPromise<GetRowCommentReactionAggregateType<T>>
/**
* Group by RowCommentReaction.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {RowCommentReactionGroupByArgs} 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 RowCommentReactionGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: RowCommentReactionGroupByArgs['orderBy'] }
: { orderBy?: RowCommentReactionGroupByArgs['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, RowCommentReactionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRowCommentReactionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the RowCommentReaction model
*/
readonly fields: RowCommentReactionFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for RowCommentReaction.
* 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__RowCommentReactionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
createdByUser<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
rowComment<T extends Prisma.RowCommentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RowCommentDefaultArgs<ExtArgs>>): Prisma.Prisma__RowCommentClient<runtime.Types.Result.GetResult<Prisma.$RowCommentPayload<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 RowCommentReaction model
*/
export interface RowCommentReactionFieldRefs {
readonly id: Prisma.FieldRef<"RowCommentReaction", 'String'>
readonly createdAt: Prisma.FieldRef<"RowCommentReaction", 'DateTime'>
readonly createdByUserId: Prisma.FieldRef<"RowCommentReaction", 'String'>
readonly rowCommentId: Prisma.FieldRef<"RowCommentReaction", 'String'>
readonly reaction: Prisma.FieldRef<"RowCommentReaction", 'String'>
}
// Custom InputTypes
/**
* RowCommentReaction findUnique
*/
export type RowCommentReactionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* Filter, which RowCommentReaction to fetch.
*/
where: Prisma.RowCommentReactionWhereUniqueInput
}
/**
* RowCommentReaction findUniqueOrThrow
*/
export type RowCommentReactionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* Filter, which RowCommentReaction to fetch.
*/
where: Prisma.RowCommentReactionWhereUniqueInput
}
/**
* RowCommentReaction findFirst
*/
export type RowCommentReactionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* Filter, which RowCommentReaction to fetch.
*/
where?: Prisma.RowCommentReactionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowCommentReactions to fetch.
*/
orderBy?: Prisma.RowCommentReactionOrderByWithRelationInput | Prisma.RowCommentReactionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for RowCommentReactions.
*/
cursor?: Prisma.RowCommentReactionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowCommentReactions 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` RowCommentReactions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of RowCommentReactions.
*/
distinct?: Prisma.RowCommentReactionScalarFieldEnum | Prisma.RowCommentReactionScalarFieldEnum[]
}
/**
* RowCommentReaction findFirstOrThrow
*/
export type RowCommentReactionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* Filter, which RowCommentReaction to fetch.
*/
where?: Prisma.RowCommentReactionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowCommentReactions to fetch.
*/
orderBy?: Prisma.RowCommentReactionOrderByWithRelationInput | Prisma.RowCommentReactionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for RowCommentReactions.
*/
cursor?: Prisma.RowCommentReactionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowCommentReactions 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` RowCommentReactions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of RowCommentReactions.
*/
distinct?: Prisma.RowCommentReactionScalarFieldEnum | Prisma.RowCommentReactionScalarFieldEnum[]
}
/**
* RowCommentReaction findMany
*/
export type RowCommentReactionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* Filter, which RowCommentReactions to fetch.
*/
where?: Prisma.RowCommentReactionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of RowCommentReactions to fetch.
*/
orderBy?: Prisma.RowCommentReactionOrderByWithRelationInput | Prisma.RowCommentReactionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing RowCommentReactions.
*/
cursor?: Prisma.RowCommentReactionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` RowCommentReactions 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` RowCommentReactions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of RowCommentReactions.
*/
distinct?: Prisma.RowCommentReactionScalarFieldEnum | Prisma.RowCommentReactionScalarFieldEnum[]
}
/**
* RowCommentReaction create
*/
export type RowCommentReactionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* The data needed to create a RowCommentReaction.
*/
data: Prisma.XOR<Prisma.RowCommentReactionCreateInput, Prisma.RowCommentReactionUncheckedCreateInput>
}
/**
* RowCommentReaction createMany
*/
export type RowCommentReactionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many RowCommentReactions.
*/
data: Prisma.RowCommentReactionCreateManyInput | Prisma.RowCommentReactionCreateManyInput[]
skipDuplicates?: boolean
}
/**
* RowCommentReaction createManyAndReturn
*/
export type RowCommentReactionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* The data used to create many RowCommentReactions.
*/
data: Prisma.RowCommentReactionCreateManyInput | Prisma.RowCommentReactionCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* RowCommentReaction update
*/
export type RowCommentReactionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* The data needed to update a RowCommentReaction.
*/
data: Prisma.XOR<Prisma.RowCommentReactionUpdateInput, Prisma.RowCommentReactionUncheckedUpdateInput>
/**
* Choose, which RowCommentReaction to update.
*/
where: Prisma.RowCommentReactionWhereUniqueInput
}
/**
* RowCommentReaction updateMany
*/
export type RowCommentReactionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update RowCommentReactions.
*/
data: Prisma.XOR<Prisma.RowCommentReactionUpdateManyMutationInput, Prisma.RowCommentReactionUncheckedUpdateManyInput>
/**
* Filter which RowCommentReactions to update
*/
where?: Prisma.RowCommentReactionWhereInput
/**
* Limit how many RowCommentReactions to update.
*/
limit?: number
}
/**
* RowCommentReaction updateManyAndReturn
*/
export type RowCommentReactionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* The data used to update RowCommentReactions.
*/
data: Prisma.XOR<Prisma.RowCommentReactionUpdateManyMutationInput, Prisma.RowCommentReactionUncheckedUpdateManyInput>
/**
* Filter which RowCommentReactions to update
*/
where?: Prisma.RowCommentReactionWhereInput
/**
* Limit how many RowCommentReactions to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* RowCommentReaction upsert
*/
export type RowCommentReactionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* The filter to search for the RowCommentReaction to update in case it exists.
*/
where: Prisma.RowCommentReactionWhereUniqueInput
/**
* In case the RowCommentReaction found by the `where` argument doesn't exist, create a new RowCommentReaction with this data.
*/
create: Prisma.XOR<Prisma.RowCommentReactionCreateInput, Prisma.RowCommentReactionUncheckedCreateInput>
/**
* In case the RowCommentReaction was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.RowCommentReactionUpdateInput, Prisma.RowCommentReactionUncheckedUpdateInput>
}
/**
* RowCommentReaction delete
*/
export type RowCommentReactionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
/**
* Filter which RowCommentReaction to delete.
*/
where: Prisma.RowCommentReactionWhereUniqueInput
}
/**
* RowCommentReaction deleteMany
*/
export type RowCommentReactionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which RowCommentReactions to delete
*/
where?: Prisma.RowCommentReactionWhereInput
/**
* Limit how many RowCommentReactions to delete.
*/
limit?: number
}
/**
* RowCommentReaction without action
*/
export type RowCommentReactionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the RowCommentReaction
*/
select?: Prisma.RowCommentReactionSelect<ExtArgs> | null
/**
* Omit specific fields from the RowCommentReaction
*/
omit?: Prisma.RowCommentReactionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.RowCommentReactionInclude<ExtArgs> | null
}