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

1431 lines
62 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 `WorkflowBlockToBlock` 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 WorkflowBlockToBlock
*
*/
export type WorkflowBlockToBlockModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowBlockToBlockPayload>
export type AggregateWorkflowBlockToBlock = {
_count: WorkflowBlockToBlockCountAggregateOutputType | null
_min: WorkflowBlockToBlockMinAggregateOutputType | null
_max: WorkflowBlockToBlockMaxAggregateOutputType | null
}
export type WorkflowBlockToBlockMinAggregateOutputType = {
id: string | null
fromBlockId: string | null
toBlockId: string | null
condition: string | null
}
export type WorkflowBlockToBlockMaxAggregateOutputType = {
id: string | null
fromBlockId: string | null
toBlockId: string | null
condition: string | null
}
export type WorkflowBlockToBlockCountAggregateOutputType = {
id: number
fromBlockId: number
toBlockId: number
condition: number
_all: number
}
export type WorkflowBlockToBlockMinAggregateInputType = {
id?: true
fromBlockId?: true
toBlockId?: true
condition?: true
}
export type WorkflowBlockToBlockMaxAggregateInputType = {
id?: true
fromBlockId?: true
toBlockId?: true
condition?: true
}
export type WorkflowBlockToBlockCountAggregateInputType = {
id?: true
fromBlockId?: true
toBlockId?: true
condition?: true
_all?: true
}
export type WorkflowBlockToBlockAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which WorkflowBlockToBlock to aggregate.
*/
where?: Prisma.WorkflowBlockToBlockWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockToBlocks to fetch.
*/
orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockToBlocks 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` WorkflowBlockToBlocks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned WorkflowBlockToBlocks
**/
_count?: true | WorkflowBlockToBlockCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: WorkflowBlockToBlockMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: WorkflowBlockToBlockMaxAggregateInputType
}
export type GetWorkflowBlockToBlockAggregateType<T extends WorkflowBlockToBlockAggregateArgs> = {
[P in keyof T & keyof AggregateWorkflowBlockToBlock]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockToBlock[P]>
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockToBlock[P]>
}
export type WorkflowBlockToBlockGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.WorkflowBlockToBlockWhereInput
orderBy?: Prisma.WorkflowBlockToBlockOrderByWithAggregationInput | Prisma.WorkflowBlockToBlockOrderByWithAggregationInput[]
by: Prisma.WorkflowBlockToBlockScalarFieldEnum[] | Prisma.WorkflowBlockToBlockScalarFieldEnum
having?: Prisma.WorkflowBlockToBlockScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: WorkflowBlockToBlockCountAggregateInputType | true
_min?: WorkflowBlockToBlockMinAggregateInputType
_max?: WorkflowBlockToBlockMaxAggregateInputType
}
export type WorkflowBlockToBlockGroupByOutputType = {
id: string
fromBlockId: string
toBlockId: string
condition: string | null
_count: WorkflowBlockToBlockCountAggregateOutputType | null
_min: WorkflowBlockToBlockMinAggregateOutputType | null
_max: WorkflowBlockToBlockMaxAggregateOutputType | null
}
export type GetWorkflowBlockToBlockGroupByPayload<T extends WorkflowBlockToBlockGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<WorkflowBlockToBlockGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof WorkflowBlockToBlockGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], WorkflowBlockToBlockGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], WorkflowBlockToBlockGroupByOutputType[P]>
}
>
>
export type WorkflowBlockToBlockWhereInput = {
AND?: Prisma.WorkflowBlockToBlockWhereInput | Prisma.WorkflowBlockToBlockWhereInput[]
OR?: Prisma.WorkflowBlockToBlockWhereInput[]
NOT?: Prisma.WorkflowBlockToBlockWhereInput | Prisma.WorkflowBlockToBlockWhereInput[]
id?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
fromBlockId?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
toBlockId?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
condition?: Prisma.StringNullableFilter<"WorkflowBlockToBlock"> | string | null
fromBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
toBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
}
export type WorkflowBlockToBlockOrderByWithRelationInput = {
id?: Prisma.SortOrder
fromBlockId?: Prisma.SortOrder
toBlockId?: Prisma.SortOrder
condition?: Prisma.SortOrderInput | Prisma.SortOrder
fromBlock?: Prisma.WorkflowBlockOrderByWithRelationInput
toBlock?: Prisma.WorkflowBlockOrderByWithRelationInput
}
export type WorkflowBlockToBlockWhereUniqueInput = Prisma.AtLeast<{
id?: string
fromBlockId_toBlockId?: Prisma.WorkflowBlockToBlockFromBlockIdToBlockIdCompoundUniqueInput
AND?: Prisma.WorkflowBlockToBlockWhereInput | Prisma.WorkflowBlockToBlockWhereInput[]
OR?: Prisma.WorkflowBlockToBlockWhereInput[]
NOT?: Prisma.WorkflowBlockToBlockWhereInput | Prisma.WorkflowBlockToBlockWhereInput[]
fromBlockId?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
toBlockId?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
condition?: Prisma.StringNullableFilter<"WorkflowBlockToBlock"> | string | null
fromBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
toBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
}, "id" | "fromBlockId_toBlockId">
export type WorkflowBlockToBlockOrderByWithAggregationInput = {
id?: Prisma.SortOrder
fromBlockId?: Prisma.SortOrder
toBlockId?: Prisma.SortOrder
condition?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.WorkflowBlockToBlockCountOrderByAggregateInput
_max?: Prisma.WorkflowBlockToBlockMaxOrderByAggregateInput
_min?: Prisma.WorkflowBlockToBlockMinOrderByAggregateInput
}
export type WorkflowBlockToBlockScalarWhereWithAggregatesInput = {
AND?: Prisma.WorkflowBlockToBlockScalarWhereWithAggregatesInput | Prisma.WorkflowBlockToBlockScalarWhereWithAggregatesInput[]
OR?: Prisma.WorkflowBlockToBlockScalarWhereWithAggregatesInput[]
NOT?: Prisma.WorkflowBlockToBlockScalarWhereWithAggregatesInput | Prisma.WorkflowBlockToBlockScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"WorkflowBlockToBlock"> | string
fromBlockId?: Prisma.StringWithAggregatesFilter<"WorkflowBlockToBlock"> | string
toBlockId?: Prisma.StringWithAggregatesFilter<"WorkflowBlockToBlock"> | string
condition?: Prisma.StringNullableWithAggregatesFilter<"WorkflowBlockToBlock"> | string | null
}
export type WorkflowBlockToBlockCreateInput = {
id?: string
condition?: string | null
fromBlock: Prisma.WorkflowBlockCreateNestedOneWithoutToBlocksInput
toBlock: Prisma.WorkflowBlockCreateNestedOneWithoutFromBlocksInput
}
export type WorkflowBlockToBlockUncheckedCreateInput = {
id?: string
fromBlockId: string
toBlockId: string
condition?: string | null
}
export type WorkflowBlockToBlockUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fromBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutToBlocksNestedInput
toBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutFromBlocksNestedInput
}
export type WorkflowBlockToBlockUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
fromBlockId?: Prisma.StringFieldUpdateOperationsInput | string
toBlockId?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockToBlockCreateManyInput = {
id?: string
fromBlockId: string
toBlockId: string
condition?: string | null
}
export type WorkflowBlockToBlockUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockToBlockUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
fromBlockId?: Prisma.StringFieldUpdateOperationsInput | string
toBlockId?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockToBlockListRelationFilter = {
every?: Prisma.WorkflowBlockToBlockWhereInput
some?: Prisma.WorkflowBlockToBlockWhereInput
none?: Prisma.WorkflowBlockToBlockWhereInput
}
export type WorkflowBlockToBlockOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type WorkflowBlockToBlockFromBlockIdToBlockIdCompoundUniqueInput = {
fromBlockId: string
toBlockId: string
}
export type WorkflowBlockToBlockCountOrderByAggregateInput = {
id?: Prisma.SortOrder
fromBlockId?: Prisma.SortOrder
toBlockId?: Prisma.SortOrder
condition?: Prisma.SortOrder
}
export type WorkflowBlockToBlockMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
fromBlockId?: Prisma.SortOrder
toBlockId?: Prisma.SortOrder
condition?: Prisma.SortOrder
}
export type WorkflowBlockToBlockMinOrderByAggregateInput = {
id?: Prisma.SortOrder
fromBlockId?: Prisma.SortOrder
toBlockId?: Prisma.SortOrder
condition?: Prisma.SortOrder
}
export type WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyToBlockInputEnvelope
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
}
export type WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyFromBlockInputEnvelope
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
}
export type WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyToBlockInputEnvelope
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
}
export type WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyFromBlockInputEnvelope
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
}
export type WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput[]
upsert?: Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutToBlockInput | Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutToBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyToBlockInputEnvelope
set?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
delete?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
update?: Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutToBlockInput | Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutToBlockInput[]
updateMany?: Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutToBlockInput | Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutToBlockInput[]
deleteMany?: Prisma.WorkflowBlockToBlockScalarWhereInput | Prisma.WorkflowBlockToBlockScalarWhereInput[]
}
export type WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput[]
upsert?: Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutFromBlockInput | Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutFromBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyFromBlockInputEnvelope
set?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
delete?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
update?: Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutFromBlockInput | Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutFromBlockInput[]
updateMany?: Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutFromBlockInput | Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutFromBlockInput[]
deleteMany?: Prisma.WorkflowBlockToBlockScalarWhereInput | Prisma.WorkflowBlockToBlockScalarWhereInput[]
}
export type WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput[]
upsert?: Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutToBlockInput | Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutToBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyToBlockInputEnvelope
set?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
delete?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
update?: Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutToBlockInput | Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutToBlockInput[]
updateMany?: Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutToBlockInput | Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutToBlockInput[]
deleteMany?: Prisma.WorkflowBlockToBlockScalarWhereInput | Prisma.WorkflowBlockToBlockScalarWhereInput[]
}
export type WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput> | Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput[] | Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput | Prisma.WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput[]
upsert?: Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutFromBlockInput | Prisma.WorkflowBlockToBlockUpsertWithWhereUniqueWithoutFromBlockInput[]
createMany?: Prisma.WorkflowBlockToBlockCreateManyFromBlockInputEnvelope
set?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
delete?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
connect?: Prisma.WorkflowBlockToBlockWhereUniqueInput | Prisma.WorkflowBlockToBlockWhereUniqueInput[]
update?: Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutFromBlockInput | Prisma.WorkflowBlockToBlockUpdateWithWhereUniqueWithoutFromBlockInput[]
updateMany?: Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutFromBlockInput | Prisma.WorkflowBlockToBlockUpdateManyWithWhereWithoutFromBlockInput[]
deleteMany?: Prisma.WorkflowBlockToBlockScalarWhereInput | Prisma.WorkflowBlockToBlockScalarWhereInput[]
}
export type WorkflowBlockToBlockCreateWithoutToBlockInput = {
id?: string
condition?: string | null
fromBlock: Prisma.WorkflowBlockCreateNestedOneWithoutToBlocksInput
}
export type WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput = {
id?: string
fromBlockId: string
condition?: string | null
}
export type WorkflowBlockToBlockCreateOrConnectWithoutToBlockInput = {
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
create: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput>
}
export type WorkflowBlockToBlockCreateManyToBlockInputEnvelope = {
data: Prisma.WorkflowBlockToBlockCreateManyToBlockInput | Prisma.WorkflowBlockToBlockCreateManyToBlockInput[]
skipDuplicates?: boolean
}
export type WorkflowBlockToBlockCreateWithoutFromBlockInput = {
id?: string
condition?: string | null
toBlock: Prisma.WorkflowBlockCreateNestedOneWithoutFromBlocksInput
}
export type WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput = {
id?: string
toBlockId: string
condition?: string | null
}
export type WorkflowBlockToBlockCreateOrConnectWithoutFromBlockInput = {
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
create: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput>
}
export type WorkflowBlockToBlockCreateManyFromBlockInputEnvelope = {
data: Prisma.WorkflowBlockToBlockCreateManyFromBlockInput | Prisma.WorkflowBlockToBlockCreateManyFromBlockInput[]
skipDuplicates?: boolean
}
export type WorkflowBlockToBlockUpsertWithWhereUniqueWithoutToBlockInput = {
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
update: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedUpdateWithoutToBlockInput>
create: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutToBlockInput>
}
export type WorkflowBlockToBlockUpdateWithWhereUniqueWithoutToBlockInput = {
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
data: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateWithoutToBlockInput, Prisma.WorkflowBlockToBlockUncheckedUpdateWithoutToBlockInput>
}
export type WorkflowBlockToBlockUpdateManyWithWhereWithoutToBlockInput = {
where: Prisma.WorkflowBlockToBlockScalarWhereInput
data: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateManyMutationInput, Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockInput>
}
export type WorkflowBlockToBlockScalarWhereInput = {
AND?: Prisma.WorkflowBlockToBlockScalarWhereInput | Prisma.WorkflowBlockToBlockScalarWhereInput[]
OR?: Prisma.WorkflowBlockToBlockScalarWhereInput[]
NOT?: Prisma.WorkflowBlockToBlockScalarWhereInput | Prisma.WorkflowBlockToBlockScalarWhereInput[]
id?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
fromBlockId?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
toBlockId?: Prisma.StringFilter<"WorkflowBlockToBlock"> | string
condition?: Prisma.StringNullableFilter<"WorkflowBlockToBlock"> | string | null
}
export type WorkflowBlockToBlockUpsertWithWhereUniqueWithoutFromBlockInput = {
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
update: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedUpdateWithoutFromBlockInput>
create: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedCreateWithoutFromBlockInput>
}
export type WorkflowBlockToBlockUpdateWithWhereUniqueWithoutFromBlockInput = {
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
data: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateWithoutFromBlockInput, Prisma.WorkflowBlockToBlockUncheckedUpdateWithoutFromBlockInput>
}
export type WorkflowBlockToBlockUpdateManyWithWhereWithoutFromBlockInput = {
where: Prisma.WorkflowBlockToBlockScalarWhereInput
data: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateManyMutationInput, Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockInput>
}
export type WorkflowBlockToBlockCreateManyToBlockInput = {
id?: string
fromBlockId: string
condition?: string | null
}
export type WorkflowBlockToBlockCreateManyFromBlockInput = {
id?: string
toBlockId: string
condition?: string | null
}
export type WorkflowBlockToBlockUpdateWithoutToBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
fromBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutToBlocksNestedInput
}
export type WorkflowBlockToBlockUncheckedUpdateWithoutToBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
fromBlockId?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
fromBlockId?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockToBlockUpdateWithoutFromBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
toBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutFromBlocksNestedInput
}
export type WorkflowBlockToBlockUncheckedUpdateWithoutFromBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
toBlockId?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
toBlockId?: Prisma.StringFieldUpdateOperationsInput | string
condition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockToBlockSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
fromBlockId?: boolean
toBlockId?: boolean
condition?: boolean
fromBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
toBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockToBlock"]>
export type WorkflowBlockToBlockSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
fromBlockId?: boolean
toBlockId?: boolean
condition?: boolean
fromBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
toBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockToBlock"]>
export type WorkflowBlockToBlockSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
fromBlockId?: boolean
toBlockId?: boolean
condition?: boolean
fromBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
toBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockToBlock"]>
export type WorkflowBlockToBlockSelectScalar = {
id?: boolean
fromBlockId?: boolean
toBlockId?: boolean
condition?: boolean
}
export type WorkflowBlockToBlockOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fromBlockId" | "toBlockId" | "condition", ExtArgs["result"]["workflowBlockToBlock"]>
export type WorkflowBlockToBlockInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
fromBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
toBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
}
export type WorkflowBlockToBlockIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
fromBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
toBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
}
export type WorkflowBlockToBlockIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
fromBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
toBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
}
export type $WorkflowBlockToBlockPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "WorkflowBlockToBlock"
objects: {
fromBlock: Prisma.$WorkflowBlockPayload<ExtArgs>
toBlock: Prisma.$WorkflowBlockPayload<ExtArgs>
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
fromBlockId: string
toBlockId: string
condition: string | null
}, ExtArgs["result"]["workflowBlockToBlock"]>
composites: {}
}
export type WorkflowBlockToBlockGetPayload<S extends boolean | null | undefined | WorkflowBlockToBlockDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload, S>
export type WorkflowBlockToBlockCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<WorkflowBlockToBlockFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: WorkflowBlockToBlockCountAggregateInputType | true
}
export interface WorkflowBlockToBlockDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowBlockToBlock'], meta: { name: 'WorkflowBlockToBlock' } }
/**
* Find zero or one WorkflowBlockToBlock that matches the filter.
* @param {WorkflowBlockToBlockFindUniqueArgs} args - Arguments to find a WorkflowBlockToBlock
* @example
* // Get one WorkflowBlockToBlock
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends WorkflowBlockToBlockFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one WorkflowBlockToBlock that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {WorkflowBlockToBlockFindUniqueOrThrowArgs} args - Arguments to find a WorkflowBlockToBlock
* @example
* // Get one WorkflowBlockToBlock
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends WorkflowBlockToBlockFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first WorkflowBlockToBlock 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 {WorkflowBlockToBlockFindFirstArgs} args - Arguments to find a WorkflowBlockToBlock
* @example
* // Get one WorkflowBlockToBlock
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends WorkflowBlockToBlockFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockToBlockFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first WorkflowBlockToBlock 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 {WorkflowBlockToBlockFindFirstOrThrowArgs} args - Arguments to find a WorkflowBlockToBlock
* @example
* // Get one WorkflowBlockToBlock
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends WorkflowBlockToBlockFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockToBlockFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more WorkflowBlockToBlocks 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 {WorkflowBlockToBlockFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all WorkflowBlockToBlocks
* const workflowBlockToBlocks = await prisma.workflowBlockToBlock.findMany()
*
* // Get first 10 WorkflowBlockToBlocks
* const workflowBlockToBlocks = await prisma.workflowBlockToBlock.findMany({ take: 10 })
*
* // Only select the `id`
* const workflowBlockToBlockWithIdOnly = await prisma.workflowBlockToBlock.findMany({ select: { id: true } })
*
*/
findMany<T extends WorkflowBlockToBlockFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockToBlockFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a WorkflowBlockToBlock.
* @param {WorkflowBlockToBlockCreateArgs} args - Arguments to create a WorkflowBlockToBlock.
* @example
* // Create one WorkflowBlockToBlock
* const WorkflowBlockToBlock = await prisma.workflowBlockToBlock.create({
* data: {
* // ... data to create a WorkflowBlockToBlock
* }
* })
*
*/
create<T extends WorkflowBlockToBlockCreateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many WorkflowBlockToBlocks.
* @param {WorkflowBlockToBlockCreateManyArgs} args - Arguments to create many WorkflowBlockToBlocks.
* @example
* // Create many WorkflowBlockToBlocks
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends WorkflowBlockToBlockCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockToBlockCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many WorkflowBlockToBlocks and returns the data saved in the database.
* @param {WorkflowBlockToBlockCreateManyAndReturnArgs} args - Arguments to create many WorkflowBlockToBlocks.
* @example
* // Create many WorkflowBlockToBlocks
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many WorkflowBlockToBlocks and only return the `id`
* const workflowBlockToBlockWithIdOnly = await prisma.workflowBlockToBlock.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 WorkflowBlockToBlockCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockToBlockCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a WorkflowBlockToBlock.
* @param {WorkflowBlockToBlockDeleteArgs} args - Arguments to delete one WorkflowBlockToBlock.
* @example
* // Delete one WorkflowBlockToBlock
* const WorkflowBlockToBlock = await prisma.workflowBlockToBlock.delete({
* where: {
* // ... filter to delete one WorkflowBlockToBlock
* }
* })
*
*/
delete<T extends WorkflowBlockToBlockDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one WorkflowBlockToBlock.
* @param {WorkflowBlockToBlockUpdateArgs} args - Arguments to update one WorkflowBlockToBlock.
* @example
* // Update one WorkflowBlockToBlock
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends WorkflowBlockToBlockUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more WorkflowBlockToBlocks.
* @param {WorkflowBlockToBlockDeleteManyArgs} args - Arguments to filter WorkflowBlockToBlocks to delete.
* @example
* // Delete a few WorkflowBlockToBlocks
* const { count } = await prisma.workflowBlockToBlock.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends WorkflowBlockToBlockDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockToBlockDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more WorkflowBlockToBlocks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockToBlockUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many WorkflowBlockToBlocks
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends WorkflowBlockToBlockUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more WorkflowBlockToBlocks and returns the data updated in the database.
* @param {WorkflowBlockToBlockUpdateManyAndReturnArgs} args - Arguments to update many WorkflowBlockToBlocks.
* @example
* // Update many WorkflowBlockToBlocks
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more WorkflowBlockToBlocks and only return the `id`
* const workflowBlockToBlockWithIdOnly = await prisma.workflowBlockToBlock.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 WorkflowBlockToBlockUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one WorkflowBlockToBlock.
* @param {WorkflowBlockToBlockUpsertArgs} args - Arguments to update or create a WorkflowBlockToBlock.
* @example
* // Update or create a WorkflowBlockToBlock
* const workflowBlockToBlock = await prisma.workflowBlockToBlock.upsert({
* create: {
* // ... data to create a WorkflowBlockToBlock
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the WorkflowBlockToBlock we want to update
* }
* })
*/
upsert<T extends WorkflowBlockToBlockUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowBlockToBlockUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockToBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of WorkflowBlockToBlocks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockToBlockCountArgs} args - Arguments to filter WorkflowBlockToBlocks to count.
* @example
* // Count the number of WorkflowBlockToBlocks
* const count = await prisma.workflowBlockToBlock.count({
* where: {
* // ... the filter for the WorkflowBlockToBlocks we want to count
* }
* })
**/
count<T extends WorkflowBlockToBlockCountArgs>(
args?: Prisma.Subset<T, WorkflowBlockToBlockCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], WorkflowBlockToBlockCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a WorkflowBlockToBlock.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockToBlockAggregateArgs} 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 WorkflowBlockToBlockAggregateArgs>(args: Prisma.Subset<T, WorkflowBlockToBlockAggregateArgs>): Prisma.PrismaPromise<GetWorkflowBlockToBlockAggregateType<T>>
/**
* Group by WorkflowBlockToBlock.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockToBlockGroupByArgs} 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 WorkflowBlockToBlockGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: WorkflowBlockToBlockGroupByArgs['orderBy'] }
: { orderBy?: WorkflowBlockToBlockGroupByArgs['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, WorkflowBlockToBlockGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowBlockToBlockGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the WorkflowBlockToBlock model
*/
readonly fields: WorkflowBlockToBlockFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for WorkflowBlockToBlock.
* 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__WorkflowBlockToBlockClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
fromBlock<T extends Prisma.WorkflowBlockDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlockDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
toBlock<T extends Prisma.WorkflowBlockDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlockDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<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 WorkflowBlockToBlock model
*/
export interface WorkflowBlockToBlockFieldRefs {
readonly id: Prisma.FieldRef<"WorkflowBlockToBlock", 'String'>
readonly fromBlockId: Prisma.FieldRef<"WorkflowBlockToBlock", 'String'>
readonly toBlockId: Prisma.FieldRef<"WorkflowBlockToBlock", 'String'>
readonly condition: Prisma.FieldRef<"WorkflowBlockToBlock", 'String'>
}
// Custom InputTypes
/**
* WorkflowBlockToBlock findUnique
*/
export type WorkflowBlockToBlockFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockToBlock to fetch.
*/
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
}
/**
* WorkflowBlockToBlock findUniqueOrThrow
*/
export type WorkflowBlockToBlockFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockToBlock to fetch.
*/
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
}
/**
* WorkflowBlockToBlock findFirst
*/
export type WorkflowBlockToBlockFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockToBlock to fetch.
*/
where?: Prisma.WorkflowBlockToBlockWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockToBlocks to fetch.
*/
orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for WorkflowBlockToBlocks.
*/
cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockToBlocks 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` WorkflowBlockToBlocks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockToBlocks.
*/
distinct?: Prisma.WorkflowBlockToBlockScalarFieldEnum | Prisma.WorkflowBlockToBlockScalarFieldEnum[]
}
/**
* WorkflowBlockToBlock findFirstOrThrow
*/
export type WorkflowBlockToBlockFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockToBlock to fetch.
*/
where?: Prisma.WorkflowBlockToBlockWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockToBlocks to fetch.
*/
orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for WorkflowBlockToBlocks.
*/
cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockToBlocks 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` WorkflowBlockToBlocks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockToBlocks.
*/
distinct?: Prisma.WorkflowBlockToBlockScalarFieldEnum | Prisma.WorkflowBlockToBlockScalarFieldEnum[]
}
/**
* WorkflowBlockToBlock findMany
*/
export type WorkflowBlockToBlockFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockToBlocks to fetch.
*/
where?: Prisma.WorkflowBlockToBlockWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockToBlocks to fetch.
*/
orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing WorkflowBlockToBlocks.
*/
cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockToBlocks 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` WorkflowBlockToBlocks.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockToBlocks.
*/
distinct?: Prisma.WorkflowBlockToBlockScalarFieldEnum | Prisma.WorkflowBlockToBlockScalarFieldEnum[]
}
/**
* WorkflowBlockToBlock create
*/
export type WorkflowBlockToBlockCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* The data needed to create a WorkflowBlockToBlock.
*/
data: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateInput, Prisma.WorkflowBlockToBlockUncheckedCreateInput>
}
/**
* WorkflowBlockToBlock createMany
*/
export type WorkflowBlockToBlockCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many WorkflowBlockToBlocks.
*/
data: Prisma.WorkflowBlockToBlockCreateManyInput | Prisma.WorkflowBlockToBlockCreateManyInput[]
skipDuplicates?: boolean
}
/**
* WorkflowBlockToBlock createManyAndReturn
*/
export type WorkflowBlockToBlockCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* The data used to create many WorkflowBlockToBlocks.
*/
data: Prisma.WorkflowBlockToBlockCreateManyInput | Prisma.WorkflowBlockToBlockCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* WorkflowBlockToBlock update
*/
export type WorkflowBlockToBlockUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* The data needed to update a WorkflowBlockToBlock.
*/
data: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateInput, Prisma.WorkflowBlockToBlockUncheckedUpdateInput>
/**
* Choose, which WorkflowBlockToBlock to update.
*/
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
}
/**
* WorkflowBlockToBlock updateMany
*/
export type WorkflowBlockToBlockUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update WorkflowBlockToBlocks.
*/
data: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateManyMutationInput, Prisma.WorkflowBlockToBlockUncheckedUpdateManyInput>
/**
* Filter which WorkflowBlockToBlocks to update
*/
where?: Prisma.WorkflowBlockToBlockWhereInput
/**
* Limit how many WorkflowBlockToBlocks to update.
*/
limit?: number
}
/**
* WorkflowBlockToBlock updateManyAndReturn
*/
export type WorkflowBlockToBlockUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* The data used to update WorkflowBlockToBlocks.
*/
data: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateManyMutationInput, Prisma.WorkflowBlockToBlockUncheckedUpdateManyInput>
/**
* Filter which WorkflowBlockToBlocks to update
*/
where?: Prisma.WorkflowBlockToBlockWhereInput
/**
* Limit how many WorkflowBlockToBlocks to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* WorkflowBlockToBlock upsert
*/
export type WorkflowBlockToBlockUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* The filter to search for the WorkflowBlockToBlock to update in case it exists.
*/
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
/**
* In case the WorkflowBlockToBlock found by the `where` argument doesn't exist, create a new WorkflowBlockToBlock with this data.
*/
create: Prisma.XOR<Prisma.WorkflowBlockToBlockCreateInput, Prisma.WorkflowBlockToBlockUncheckedCreateInput>
/**
* In case the WorkflowBlockToBlock was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.WorkflowBlockToBlockUpdateInput, Prisma.WorkflowBlockToBlockUncheckedUpdateInput>
}
/**
* WorkflowBlockToBlock delete
*/
export type WorkflowBlockToBlockDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
/**
* Filter which WorkflowBlockToBlock to delete.
*/
where: Prisma.WorkflowBlockToBlockWhereUniqueInput
}
/**
* WorkflowBlockToBlock deleteMany
*/
export type WorkflowBlockToBlockDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which WorkflowBlockToBlocks to delete
*/
where?: Prisma.WorkflowBlockToBlockWhereInput
/**
* Limit how many WorkflowBlockToBlocks to delete.
*/
limit?: number
}
/**
* WorkflowBlockToBlock without action
*/
export type WorkflowBlockToBlockDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockToBlock
*/
select?: Prisma.WorkflowBlockToBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockToBlock
*/
omit?: Prisma.WorkflowBlockToBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockToBlockInclude<ExtArgs> | null
}