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

1931 lines
91 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 `WorkflowBlockExecution` 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 WorkflowBlockExecution
*
*/
export type WorkflowBlockExecutionModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowBlockExecutionPayload>
export type AggregateWorkflowBlockExecution = {
_count: WorkflowBlockExecutionCountAggregateOutputType | null
_avg: WorkflowBlockExecutionAvgAggregateOutputType | null
_sum: WorkflowBlockExecutionSumAggregateOutputType | null
_min: WorkflowBlockExecutionMinAggregateOutputType | null
_max: WorkflowBlockExecutionMaxAggregateOutputType | null
}
export type WorkflowBlockExecutionAvgAggregateOutputType = {
duration: number | null
}
export type WorkflowBlockExecutionSumAggregateOutputType = {
duration: number | null
}
export type WorkflowBlockExecutionMinAggregateOutputType = {
id: string | null
workflowExecutionId: string | null
workflowBlockId: string | null
fromWorkflowBlockId: string | null
status: string | null
startedAt: Date | null
input: string | null
output: string | null
duration: number | null
endedAt: Date | null
error: string | null
}
export type WorkflowBlockExecutionMaxAggregateOutputType = {
id: string | null
workflowExecutionId: string | null
workflowBlockId: string | null
fromWorkflowBlockId: string | null
status: string | null
startedAt: Date | null
input: string | null
output: string | null
duration: number | null
endedAt: Date | null
error: string | null
}
export type WorkflowBlockExecutionCountAggregateOutputType = {
id: number
workflowExecutionId: number
workflowBlockId: number
fromWorkflowBlockId: number
status: number
startedAt: number
input: number
output: number
duration: number
endedAt: number
error: number
_all: number
}
export type WorkflowBlockExecutionAvgAggregateInputType = {
duration?: true
}
export type WorkflowBlockExecutionSumAggregateInputType = {
duration?: true
}
export type WorkflowBlockExecutionMinAggregateInputType = {
id?: true
workflowExecutionId?: true
workflowBlockId?: true
fromWorkflowBlockId?: true
status?: true
startedAt?: true
input?: true
output?: true
duration?: true
endedAt?: true
error?: true
}
export type WorkflowBlockExecutionMaxAggregateInputType = {
id?: true
workflowExecutionId?: true
workflowBlockId?: true
fromWorkflowBlockId?: true
status?: true
startedAt?: true
input?: true
output?: true
duration?: true
endedAt?: true
error?: true
}
export type WorkflowBlockExecutionCountAggregateInputType = {
id?: true
workflowExecutionId?: true
workflowBlockId?: true
fromWorkflowBlockId?: true
status?: true
startedAt?: true
input?: true
output?: true
duration?: true
endedAt?: true
error?: true
_all?: true
}
export type WorkflowBlockExecutionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which WorkflowBlockExecution to aggregate.
*/
where?: Prisma.WorkflowBlockExecutionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockExecutions to fetch.
*/
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockExecutions 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` WorkflowBlockExecutions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned WorkflowBlockExecutions
**/
_count?: true | WorkflowBlockExecutionCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: WorkflowBlockExecutionAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: WorkflowBlockExecutionSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: WorkflowBlockExecutionMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: WorkflowBlockExecutionMaxAggregateInputType
}
export type GetWorkflowBlockExecutionAggregateType<T extends WorkflowBlockExecutionAggregateArgs> = {
[P in keyof T & keyof AggregateWorkflowBlockExecution]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockExecution[P]>
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockExecution[P]>
}
export type WorkflowBlockExecutionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.WorkflowBlockExecutionWhereInput
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithAggregationInput | Prisma.WorkflowBlockExecutionOrderByWithAggregationInput[]
by: Prisma.WorkflowBlockExecutionScalarFieldEnum[] | Prisma.WorkflowBlockExecutionScalarFieldEnum
having?: Prisma.WorkflowBlockExecutionScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: WorkflowBlockExecutionCountAggregateInputType | true
_avg?: WorkflowBlockExecutionAvgAggregateInputType
_sum?: WorkflowBlockExecutionSumAggregateInputType
_min?: WorkflowBlockExecutionMinAggregateInputType
_max?: WorkflowBlockExecutionMaxAggregateInputType
}
export type WorkflowBlockExecutionGroupByOutputType = {
id: string
workflowExecutionId: string
workflowBlockId: string
fromWorkflowBlockId: string | null
status: string
startedAt: Date
input: string | null
output: string | null
duration: number | null
endedAt: Date | null
error: string | null
_count: WorkflowBlockExecutionCountAggregateOutputType | null
_avg: WorkflowBlockExecutionAvgAggregateOutputType | null
_sum: WorkflowBlockExecutionSumAggregateOutputType | null
_min: WorkflowBlockExecutionMinAggregateOutputType | null
_max: WorkflowBlockExecutionMaxAggregateOutputType | null
}
export type GetWorkflowBlockExecutionGroupByPayload<T extends WorkflowBlockExecutionGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<WorkflowBlockExecutionGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof WorkflowBlockExecutionGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], WorkflowBlockExecutionGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], WorkflowBlockExecutionGroupByOutputType[P]>
}
>
>
export type WorkflowBlockExecutionWhereInput = {
AND?: Prisma.WorkflowBlockExecutionWhereInput | Prisma.WorkflowBlockExecutionWhereInput[]
OR?: Prisma.WorkflowBlockExecutionWhereInput[]
NOT?: Prisma.WorkflowBlockExecutionWhereInput | Prisma.WorkflowBlockExecutionWhereInput[]
id?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
workflowExecutionId?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
workflowBlockId?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
fromWorkflowBlockId?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
status?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
startedAt?: Prisma.DateTimeFilter<"WorkflowBlockExecution"> | Date | string
input?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
output?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
duration?: Prisma.IntNullableFilter<"WorkflowBlockExecution"> | number | null
endedAt?: Prisma.DateTimeNullableFilter<"WorkflowBlockExecution"> | Date | string | null
error?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
workflowExecution?: Prisma.XOR<Prisma.WorkflowExecutionScalarRelationFilter, Prisma.WorkflowExecutionWhereInput>
workflowBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
fromWorkflowBlock?: Prisma.XOR<Prisma.WorkflowBlockNullableScalarRelationFilter, Prisma.WorkflowBlockWhereInput> | null
}
export type WorkflowBlockExecutionOrderByWithRelationInput = {
id?: Prisma.SortOrder
workflowExecutionId?: Prisma.SortOrder
workflowBlockId?: Prisma.SortOrder
fromWorkflowBlockId?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
input?: Prisma.SortOrderInput | Prisma.SortOrder
output?: Prisma.SortOrderInput | Prisma.SortOrder
duration?: Prisma.SortOrderInput | Prisma.SortOrder
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
error?: Prisma.SortOrderInput | Prisma.SortOrder
workflowExecution?: Prisma.WorkflowExecutionOrderByWithRelationInput
workflowBlock?: Prisma.WorkflowBlockOrderByWithRelationInput
fromWorkflowBlock?: Prisma.WorkflowBlockOrderByWithRelationInput
}
export type WorkflowBlockExecutionWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.WorkflowBlockExecutionWhereInput | Prisma.WorkflowBlockExecutionWhereInput[]
OR?: Prisma.WorkflowBlockExecutionWhereInput[]
NOT?: Prisma.WorkflowBlockExecutionWhereInput | Prisma.WorkflowBlockExecutionWhereInput[]
workflowExecutionId?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
workflowBlockId?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
fromWorkflowBlockId?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
status?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
startedAt?: Prisma.DateTimeFilter<"WorkflowBlockExecution"> | Date | string
input?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
output?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
duration?: Prisma.IntNullableFilter<"WorkflowBlockExecution"> | number | null
endedAt?: Prisma.DateTimeNullableFilter<"WorkflowBlockExecution"> | Date | string | null
error?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
workflowExecution?: Prisma.XOR<Prisma.WorkflowExecutionScalarRelationFilter, Prisma.WorkflowExecutionWhereInput>
workflowBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
fromWorkflowBlock?: Prisma.XOR<Prisma.WorkflowBlockNullableScalarRelationFilter, Prisma.WorkflowBlockWhereInput> | null
}, "id">
export type WorkflowBlockExecutionOrderByWithAggregationInput = {
id?: Prisma.SortOrder
workflowExecutionId?: Prisma.SortOrder
workflowBlockId?: Prisma.SortOrder
fromWorkflowBlockId?: Prisma.SortOrderInput | Prisma.SortOrder
status?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
input?: Prisma.SortOrderInput | Prisma.SortOrder
output?: Prisma.SortOrderInput | Prisma.SortOrder
duration?: Prisma.SortOrderInput | Prisma.SortOrder
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder
error?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.WorkflowBlockExecutionCountOrderByAggregateInput
_avg?: Prisma.WorkflowBlockExecutionAvgOrderByAggregateInput
_max?: Prisma.WorkflowBlockExecutionMaxOrderByAggregateInput
_min?: Prisma.WorkflowBlockExecutionMinOrderByAggregateInput
_sum?: Prisma.WorkflowBlockExecutionSumOrderByAggregateInput
}
export type WorkflowBlockExecutionScalarWhereWithAggregatesInput = {
AND?: Prisma.WorkflowBlockExecutionScalarWhereWithAggregatesInput | Prisma.WorkflowBlockExecutionScalarWhereWithAggregatesInput[]
OR?: Prisma.WorkflowBlockExecutionScalarWhereWithAggregatesInput[]
NOT?: Prisma.WorkflowBlockExecutionScalarWhereWithAggregatesInput | Prisma.WorkflowBlockExecutionScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"WorkflowBlockExecution"> | string
workflowExecutionId?: Prisma.StringWithAggregatesFilter<"WorkflowBlockExecution"> | string
workflowBlockId?: Prisma.StringWithAggregatesFilter<"WorkflowBlockExecution"> | string
fromWorkflowBlockId?: Prisma.StringNullableWithAggregatesFilter<"WorkflowBlockExecution"> | string | null
status?: Prisma.StringWithAggregatesFilter<"WorkflowBlockExecution"> | string
startedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowBlockExecution"> | Date | string
input?: Prisma.StringNullableWithAggregatesFilter<"WorkflowBlockExecution"> | string | null
output?: Prisma.StringNullableWithAggregatesFilter<"WorkflowBlockExecution"> | string | null
duration?: Prisma.IntNullableWithAggregatesFilter<"WorkflowBlockExecution"> | number | null
endedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"WorkflowBlockExecution"> | Date | string | null
error?: Prisma.StringNullableWithAggregatesFilter<"WorkflowBlockExecution"> | string | null
}
export type WorkflowBlockExecutionCreateInput = {
id?: string
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
workflowExecution: Prisma.WorkflowExecutionCreateNestedOneWithoutBlockRunsInput
workflowBlock: Prisma.WorkflowBlockCreateNestedOneWithoutExecutionsInput
fromWorkflowBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutFromExecutionsInput
}
export type WorkflowBlockExecutionUncheckedCreateInput = {
id?: string
workflowExecutionId: string
workflowBlockId: string
fromWorkflowBlockId?: string | null
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
workflowExecution?: Prisma.WorkflowExecutionUpdateOneRequiredWithoutBlockRunsNestedInput
workflowBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutExecutionsNestedInput
fromWorkflowBlock?: Prisma.WorkflowBlockUpdateOneWithoutFromExecutionsNestedInput
}
export type WorkflowBlockExecutionUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowExecutionId?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
fromWorkflowBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionCreateManyInput = {
id?: string
workflowExecutionId: string
workflowBlockId: string
fromWorkflowBlockId?: string | null
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowExecutionId?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
fromWorkflowBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionListRelationFilter = {
every?: Prisma.WorkflowBlockExecutionWhereInput
some?: Prisma.WorkflowBlockExecutionWhereInput
none?: Prisma.WorkflowBlockExecutionWhereInput
}
export type WorkflowBlockExecutionOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type WorkflowBlockExecutionCountOrderByAggregateInput = {
id?: Prisma.SortOrder
workflowExecutionId?: Prisma.SortOrder
workflowBlockId?: Prisma.SortOrder
fromWorkflowBlockId?: Prisma.SortOrder
status?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
input?: Prisma.SortOrder
output?: Prisma.SortOrder
duration?: Prisma.SortOrder
endedAt?: Prisma.SortOrder
error?: Prisma.SortOrder
}
export type WorkflowBlockExecutionAvgOrderByAggregateInput = {
duration?: Prisma.SortOrder
}
export type WorkflowBlockExecutionMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
workflowExecutionId?: Prisma.SortOrder
workflowBlockId?: Prisma.SortOrder
fromWorkflowBlockId?: Prisma.SortOrder
status?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
input?: Prisma.SortOrder
output?: Prisma.SortOrder
duration?: Prisma.SortOrder
endedAt?: Prisma.SortOrder
error?: Prisma.SortOrder
}
export type WorkflowBlockExecutionMinOrderByAggregateInput = {
id?: Prisma.SortOrder
workflowExecutionId?: Prisma.SortOrder
workflowBlockId?: Prisma.SortOrder
fromWorkflowBlockId?: Prisma.SortOrder
status?: Prisma.SortOrder
startedAt?: Prisma.SortOrder
input?: Prisma.SortOrder
output?: Prisma.SortOrder
duration?: Prisma.SortOrder
endedAt?: Prisma.SortOrder
error?: Prisma.SortOrder
}
export type WorkflowBlockExecutionSumOrderByAggregateInput = {
duration?: Prisma.SortOrder
}
export type WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowBlockInputEnvelope
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
}
export type WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyFromWorkflowBlockInputEnvelope
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
}
export type WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowBlockInputEnvelope
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
}
export type WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyFromWorkflowBlockInputEnvelope
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
}
export type WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput[]
upsert?: Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowBlockInputEnvelope
set?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
update?: Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowBlockInput[]
updateMany?: Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowBlockInput[]
deleteMany?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
}
export type WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput[]
upsert?: Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutFromWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyFromWorkflowBlockInputEnvelope
set?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
update?: Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutFromWorkflowBlockInput[]
updateMany?: Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutFromWorkflowBlockInput[]
deleteMany?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
}
export type WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput[]
upsert?: Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowBlockInputEnvelope
set?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
update?: Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowBlockInput[]
updateMany?: Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowBlockInput[]
deleteMany?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
}
export type WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput> | Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput[]
upsert?: Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutFromWorkflowBlockInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyFromWorkflowBlockInputEnvelope
set?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
update?: Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutFromWorkflowBlockInput[]
updateMany?: Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutFromWorkflowBlockInput[]
deleteMany?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
}
export type WorkflowBlockExecutionCreateNestedManyWithoutWorkflowExecutionInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowExecutionInputEnvelope
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
}
export type WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowExecutionInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowExecutionInputEnvelope
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
}
export type WorkflowBlockExecutionUpdateManyWithoutWorkflowExecutionNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput[]
upsert?: Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowExecutionInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowExecutionInputEnvelope
set?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
update?: Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowExecutionInput[]
updateMany?: Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowExecutionInput[]
deleteMany?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
}
export type WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionNestedInput = {
create?: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput> | Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput[] | Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput[]
connectOrCreate?: Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput[]
upsert?: Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowExecutionInput[]
createMany?: Prisma.WorkflowBlockExecutionCreateManyWorkflowExecutionInputEnvelope
set?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
disconnect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
delete?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
connect?: Prisma.WorkflowBlockExecutionWhereUniqueInput | Prisma.WorkflowBlockExecutionWhereUniqueInput[]
update?: Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowExecutionInput[]
updateMany?: Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowExecutionInput | Prisma.WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowExecutionInput[]
deleteMany?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
}
export type WorkflowBlockExecutionCreateWithoutWorkflowBlockInput = {
id?: string
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
workflowExecution: Prisma.WorkflowExecutionCreateNestedOneWithoutBlockRunsInput
fromWorkflowBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutFromExecutionsInput
}
export type WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput = {
id?: string
workflowExecutionId: string
fromWorkflowBlockId?: string | null
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionCreateOrConnectWithoutWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
create: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput>
}
export type WorkflowBlockExecutionCreateManyWorkflowBlockInputEnvelope = {
data: Prisma.WorkflowBlockExecutionCreateManyWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateManyWorkflowBlockInput[]
skipDuplicates?: boolean
}
export type WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput = {
id?: string
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
workflowExecution: Prisma.WorkflowExecutionCreateNestedOneWithoutBlockRunsInput
workflowBlock: Prisma.WorkflowBlockCreateNestedOneWithoutExecutionsInput
}
export type WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput = {
id?: string
workflowExecutionId: string
workflowBlockId: string
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionCreateOrConnectWithoutFromWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
create: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput>
}
export type WorkflowBlockExecutionCreateManyFromWorkflowBlockInputEnvelope = {
data: Prisma.WorkflowBlockExecutionCreateManyFromWorkflowBlockInput | Prisma.WorkflowBlockExecutionCreateManyFromWorkflowBlockInput[]
skipDuplicates?: boolean
}
export type WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
update: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedUpdateWithoutWorkflowBlockInput>
create: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowBlockInput>
}
export type WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateWithoutWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedUpdateWithoutWorkflowBlockInput>
}
export type WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionScalarWhereInput
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateManyMutationInput, Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockInput>
}
export type WorkflowBlockExecutionScalarWhereInput = {
AND?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
OR?: Prisma.WorkflowBlockExecutionScalarWhereInput[]
NOT?: Prisma.WorkflowBlockExecutionScalarWhereInput | Prisma.WorkflowBlockExecutionScalarWhereInput[]
id?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
workflowExecutionId?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
workflowBlockId?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
fromWorkflowBlockId?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
status?: Prisma.StringFilter<"WorkflowBlockExecution"> | string
startedAt?: Prisma.DateTimeFilter<"WorkflowBlockExecution"> | Date | string
input?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
output?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
duration?: Prisma.IntNullableFilter<"WorkflowBlockExecution"> | number | null
endedAt?: Prisma.DateTimeNullableFilter<"WorkflowBlockExecution"> | Date | string | null
error?: Prisma.StringNullableFilter<"WorkflowBlockExecution"> | string | null
}
export type WorkflowBlockExecutionUpsertWithWhereUniqueWithoutFromWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
update: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedUpdateWithoutFromWorkflowBlockInput>
create: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutFromWorkflowBlockInput>
}
export type WorkflowBlockExecutionUpdateWithWhereUniqueWithoutFromWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateWithoutFromWorkflowBlockInput, Prisma.WorkflowBlockExecutionUncheckedUpdateWithoutFromWorkflowBlockInput>
}
export type WorkflowBlockExecutionUpdateManyWithWhereWithoutFromWorkflowBlockInput = {
where: Prisma.WorkflowBlockExecutionScalarWhereInput
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateManyMutationInput, Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockInput>
}
export type WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput = {
id?: string
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
workflowBlock: Prisma.WorkflowBlockCreateNestedOneWithoutExecutionsInput
fromWorkflowBlock?: Prisma.WorkflowBlockCreateNestedOneWithoutFromExecutionsInput
}
export type WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput = {
id?: string
workflowBlockId: string
fromWorkflowBlockId?: string | null
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionCreateOrConnectWithoutWorkflowExecutionInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
create: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput>
}
export type WorkflowBlockExecutionCreateManyWorkflowExecutionInputEnvelope = {
data: Prisma.WorkflowBlockExecutionCreateManyWorkflowExecutionInput | Prisma.WorkflowBlockExecutionCreateManyWorkflowExecutionInput[]
skipDuplicates?: boolean
}
export type WorkflowBlockExecutionUpsertWithWhereUniqueWithoutWorkflowExecutionInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
update: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedUpdateWithoutWorkflowExecutionInput>
create: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedCreateWithoutWorkflowExecutionInput>
}
export type WorkflowBlockExecutionUpdateWithWhereUniqueWithoutWorkflowExecutionInput = {
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateWithoutWorkflowExecutionInput, Prisma.WorkflowBlockExecutionUncheckedUpdateWithoutWorkflowExecutionInput>
}
export type WorkflowBlockExecutionUpdateManyWithWhereWithoutWorkflowExecutionInput = {
where: Prisma.WorkflowBlockExecutionScalarWhereInput
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateManyMutationInput, Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionInput>
}
export type WorkflowBlockExecutionCreateManyWorkflowBlockInput = {
id?: string
workflowExecutionId: string
fromWorkflowBlockId?: string | null
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionCreateManyFromWorkflowBlockInput = {
id?: string
workflowExecutionId: string
workflowBlockId: string
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionUpdateWithoutWorkflowBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
workflowExecution?: Prisma.WorkflowExecutionUpdateOneRequiredWithoutBlockRunsNestedInput
fromWorkflowBlock?: Prisma.WorkflowBlockUpdateOneWithoutFromExecutionsNestedInput
}
export type WorkflowBlockExecutionUncheckedUpdateWithoutWorkflowBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowExecutionId?: Prisma.StringFieldUpdateOperationsInput | string
fromWorkflowBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowExecutionId?: Prisma.StringFieldUpdateOperationsInput | string
fromWorkflowBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionUpdateWithoutFromWorkflowBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
workflowExecution?: Prisma.WorkflowExecutionUpdateOneRequiredWithoutBlockRunsNestedInput
workflowBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutExecutionsNestedInput
}
export type WorkflowBlockExecutionUncheckedUpdateWithoutFromWorkflowBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowExecutionId?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowExecutionId?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionCreateManyWorkflowExecutionInput = {
id?: string
workflowBlockId: string
fromWorkflowBlockId?: string | null
status: string
startedAt: Date | string
input?: string | null
output?: string | null
duration?: number | null
endedAt?: Date | string | null
error?: string | null
}
export type WorkflowBlockExecutionUpdateWithoutWorkflowExecutionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
workflowBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutExecutionsNestedInput
fromWorkflowBlock?: Prisma.WorkflowBlockUpdateOneWithoutFromExecutionsNestedInput
}
export type WorkflowBlockExecutionUncheckedUpdateWithoutWorkflowExecutionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
fromWorkflowBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowExecutionInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
fromWorkflowBlockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
status?: Prisma.StringFieldUpdateOperationsInput | string
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
input?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
output?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
duration?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type WorkflowBlockExecutionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
workflowExecutionId?: boolean
workflowBlockId?: boolean
fromWorkflowBlockId?: boolean
status?: boolean
startedAt?: boolean
input?: boolean
output?: boolean
duration?: boolean
endedAt?: boolean
error?: boolean
workflowExecution?: boolean | Prisma.WorkflowExecutionDefaultArgs<ExtArgs>
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
fromWorkflowBlock?: boolean | Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockExecution"]>
export type WorkflowBlockExecutionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
workflowExecutionId?: boolean
workflowBlockId?: boolean
fromWorkflowBlockId?: boolean
status?: boolean
startedAt?: boolean
input?: boolean
output?: boolean
duration?: boolean
endedAt?: boolean
error?: boolean
workflowExecution?: boolean | Prisma.WorkflowExecutionDefaultArgs<ExtArgs>
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
fromWorkflowBlock?: boolean | Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockExecution"]>
export type WorkflowBlockExecutionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
workflowExecutionId?: boolean
workflowBlockId?: boolean
fromWorkflowBlockId?: boolean
status?: boolean
startedAt?: boolean
input?: boolean
output?: boolean
duration?: boolean
endedAt?: boolean
error?: boolean
workflowExecution?: boolean | Prisma.WorkflowExecutionDefaultArgs<ExtArgs>
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
fromWorkflowBlock?: boolean | Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs>
}, ExtArgs["result"]["workflowBlockExecution"]>
export type WorkflowBlockExecutionSelectScalar = {
id?: boolean
workflowExecutionId?: boolean
workflowBlockId?: boolean
fromWorkflowBlockId?: boolean
status?: boolean
startedAt?: boolean
input?: boolean
output?: boolean
duration?: boolean
endedAt?: boolean
error?: boolean
}
export type WorkflowBlockExecutionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "workflowExecutionId" | "workflowBlockId" | "fromWorkflowBlockId" | "status" | "startedAt" | "input" | "output" | "duration" | "endedAt" | "error", ExtArgs["result"]["workflowBlockExecution"]>
export type WorkflowBlockExecutionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
workflowExecution?: boolean | Prisma.WorkflowExecutionDefaultArgs<ExtArgs>
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
fromWorkflowBlock?: boolean | Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs>
}
export type WorkflowBlockExecutionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
workflowExecution?: boolean | Prisma.WorkflowExecutionDefaultArgs<ExtArgs>
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
fromWorkflowBlock?: boolean | Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs>
}
export type WorkflowBlockExecutionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
workflowExecution?: boolean | Prisma.WorkflowExecutionDefaultArgs<ExtArgs>
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
fromWorkflowBlock?: boolean | Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs>
}
export type $WorkflowBlockExecutionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "WorkflowBlockExecution"
objects: {
workflowExecution: Prisma.$WorkflowExecutionPayload<ExtArgs>
workflowBlock: Prisma.$WorkflowBlockPayload<ExtArgs>
fromWorkflowBlock: Prisma.$WorkflowBlockPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
workflowExecutionId: string
workflowBlockId: string
fromWorkflowBlockId: string | null
status: string
startedAt: Date
input: string | null
output: string | null
duration: number | null
endedAt: Date | null
error: string | null
}, ExtArgs["result"]["workflowBlockExecution"]>
composites: {}
}
export type WorkflowBlockExecutionGetPayload<S extends boolean | null | undefined | WorkflowBlockExecutionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload, S>
export type WorkflowBlockExecutionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<WorkflowBlockExecutionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: WorkflowBlockExecutionCountAggregateInputType | true
}
export interface WorkflowBlockExecutionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowBlockExecution'], meta: { name: 'WorkflowBlockExecution' } }
/**
* Find zero or one WorkflowBlockExecution that matches the filter.
* @param {WorkflowBlockExecutionFindUniqueArgs} args - Arguments to find a WorkflowBlockExecution
* @example
* // Get one WorkflowBlockExecution
* const workflowBlockExecution = await prisma.workflowBlockExecution.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends WorkflowBlockExecutionFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one WorkflowBlockExecution that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {WorkflowBlockExecutionFindUniqueOrThrowArgs} args - Arguments to find a WorkflowBlockExecution
* @example
* // Get one WorkflowBlockExecution
* const workflowBlockExecution = await prisma.workflowBlockExecution.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends WorkflowBlockExecutionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first WorkflowBlockExecution 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 {WorkflowBlockExecutionFindFirstArgs} args - Arguments to find a WorkflowBlockExecution
* @example
* // Get one WorkflowBlockExecution
* const workflowBlockExecution = await prisma.workflowBlockExecution.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends WorkflowBlockExecutionFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockExecutionFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first WorkflowBlockExecution 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 {WorkflowBlockExecutionFindFirstOrThrowArgs} args - Arguments to find a WorkflowBlockExecution
* @example
* // Get one WorkflowBlockExecution
* const workflowBlockExecution = await prisma.workflowBlockExecution.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends WorkflowBlockExecutionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockExecutionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more WorkflowBlockExecutions 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 {WorkflowBlockExecutionFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all WorkflowBlockExecutions
* const workflowBlockExecutions = await prisma.workflowBlockExecution.findMany()
*
* // Get first 10 WorkflowBlockExecutions
* const workflowBlockExecutions = await prisma.workflowBlockExecution.findMany({ take: 10 })
*
* // Only select the `id`
* const workflowBlockExecutionWithIdOnly = await prisma.workflowBlockExecution.findMany({ select: { id: true } })
*
*/
findMany<T extends WorkflowBlockExecutionFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockExecutionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a WorkflowBlockExecution.
* @param {WorkflowBlockExecutionCreateArgs} args - Arguments to create a WorkflowBlockExecution.
* @example
* // Create one WorkflowBlockExecution
* const WorkflowBlockExecution = await prisma.workflowBlockExecution.create({
* data: {
* // ... data to create a WorkflowBlockExecution
* }
* })
*
*/
create<T extends WorkflowBlockExecutionCreateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many WorkflowBlockExecutions.
* @param {WorkflowBlockExecutionCreateManyArgs} args - Arguments to create many WorkflowBlockExecutions.
* @example
* // Create many WorkflowBlockExecutions
* const workflowBlockExecution = await prisma.workflowBlockExecution.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends WorkflowBlockExecutionCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockExecutionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many WorkflowBlockExecutions and returns the data saved in the database.
* @param {WorkflowBlockExecutionCreateManyAndReturnArgs} args - Arguments to create many WorkflowBlockExecutions.
* @example
* // Create many WorkflowBlockExecutions
* const workflowBlockExecution = await prisma.workflowBlockExecution.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many WorkflowBlockExecutions and only return the `id`
* const workflowBlockExecutionWithIdOnly = await prisma.workflowBlockExecution.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 WorkflowBlockExecutionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockExecutionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a WorkflowBlockExecution.
* @param {WorkflowBlockExecutionDeleteArgs} args - Arguments to delete one WorkflowBlockExecution.
* @example
* // Delete one WorkflowBlockExecution
* const WorkflowBlockExecution = await prisma.workflowBlockExecution.delete({
* where: {
* // ... filter to delete one WorkflowBlockExecution
* }
* })
*
*/
delete<T extends WorkflowBlockExecutionDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one WorkflowBlockExecution.
* @param {WorkflowBlockExecutionUpdateArgs} args - Arguments to update one WorkflowBlockExecution.
* @example
* // Update one WorkflowBlockExecution
* const workflowBlockExecution = await prisma.workflowBlockExecution.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends WorkflowBlockExecutionUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more WorkflowBlockExecutions.
* @param {WorkflowBlockExecutionDeleteManyArgs} args - Arguments to filter WorkflowBlockExecutions to delete.
* @example
* // Delete a few WorkflowBlockExecutions
* const { count } = await prisma.workflowBlockExecution.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends WorkflowBlockExecutionDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockExecutionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more WorkflowBlockExecutions.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockExecutionUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many WorkflowBlockExecutions
* const workflowBlockExecution = await prisma.workflowBlockExecution.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends WorkflowBlockExecutionUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more WorkflowBlockExecutions and returns the data updated in the database.
* @param {WorkflowBlockExecutionUpdateManyAndReturnArgs} args - Arguments to update many WorkflowBlockExecutions.
* @example
* // Update many WorkflowBlockExecutions
* const workflowBlockExecution = await prisma.workflowBlockExecution.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more WorkflowBlockExecutions and only return the `id`
* const workflowBlockExecutionWithIdOnly = await prisma.workflowBlockExecution.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 WorkflowBlockExecutionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one WorkflowBlockExecution.
* @param {WorkflowBlockExecutionUpsertArgs} args - Arguments to update or create a WorkflowBlockExecution.
* @example
* // Update or create a WorkflowBlockExecution
* const workflowBlockExecution = await prisma.workflowBlockExecution.upsert({
* create: {
* // ... data to create a WorkflowBlockExecution
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the WorkflowBlockExecution we want to update
* }
* })
*/
upsert<T extends WorkflowBlockExecutionUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowBlockExecutionUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of WorkflowBlockExecutions.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockExecutionCountArgs} args - Arguments to filter WorkflowBlockExecutions to count.
* @example
* // Count the number of WorkflowBlockExecutions
* const count = await prisma.workflowBlockExecution.count({
* where: {
* // ... the filter for the WorkflowBlockExecutions we want to count
* }
* })
**/
count<T extends WorkflowBlockExecutionCountArgs>(
args?: Prisma.Subset<T, WorkflowBlockExecutionCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], WorkflowBlockExecutionCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a WorkflowBlockExecution.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockExecutionAggregateArgs} 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 WorkflowBlockExecutionAggregateArgs>(args: Prisma.Subset<T, WorkflowBlockExecutionAggregateArgs>): Prisma.PrismaPromise<GetWorkflowBlockExecutionAggregateType<T>>
/**
* Group by WorkflowBlockExecution.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {WorkflowBlockExecutionGroupByArgs} 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 WorkflowBlockExecutionGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: WorkflowBlockExecutionGroupByArgs['orderBy'] }
: { orderBy?: WorkflowBlockExecutionGroupByArgs['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, WorkflowBlockExecutionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowBlockExecutionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the WorkflowBlockExecution model
*/
readonly fields: WorkflowBlockExecutionFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for WorkflowBlockExecution.
* 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__WorkflowBlockExecutionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
workflowExecution<T extends Prisma.WorkflowExecutionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowExecutionDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowExecutionClient<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
workflowBlock<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>
fromWorkflowBlock<T extends Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlockExecution$fromWorkflowBlockArgs<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 WorkflowBlockExecution model
*/
export interface WorkflowBlockExecutionFieldRefs {
readonly id: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
readonly workflowExecutionId: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
readonly workflowBlockId: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
readonly fromWorkflowBlockId: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
readonly status: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
readonly startedAt: Prisma.FieldRef<"WorkflowBlockExecution", 'DateTime'>
readonly input: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
readonly output: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
readonly duration: Prisma.FieldRef<"WorkflowBlockExecution", 'Int'>
readonly endedAt: Prisma.FieldRef<"WorkflowBlockExecution", 'DateTime'>
readonly error: Prisma.FieldRef<"WorkflowBlockExecution", 'String'>
}
// Custom InputTypes
/**
* WorkflowBlockExecution findUnique
*/
export type WorkflowBlockExecutionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockExecution to fetch.
*/
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
}
/**
* WorkflowBlockExecution findUniqueOrThrow
*/
export type WorkflowBlockExecutionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockExecution to fetch.
*/
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
}
/**
* WorkflowBlockExecution findFirst
*/
export type WorkflowBlockExecutionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockExecution to fetch.
*/
where?: Prisma.WorkflowBlockExecutionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockExecutions to fetch.
*/
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for WorkflowBlockExecutions.
*/
cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockExecutions 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` WorkflowBlockExecutions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockExecutions.
*/
distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[]
}
/**
* WorkflowBlockExecution findFirstOrThrow
*/
export type WorkflowBlockExecutionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockExecution to fetch.
*/
where?: Prisma.WorkflowBlockExecutionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockExecutions to fetch.
*/
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for WorkflowBlockExecutions.
*/
cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockExecutions 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` WorkflowBlockExecutions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockExecutions.
*/
distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[]
}
/**
* WorkflowBlockExecution findMany
*/
export type WorkflowBlockExecutionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* Filter, which WorkflowBlockExecutions to fetch.
*/
where?: Prisma.WorkflowBlockExecutionWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of WorkflowBlockExecutions to fetch.
*/
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing WorkflowBlockExecutions.
*/
cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` WorkflowBlockExecutions 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` WorkflowBlockExecutions.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of WorkflowBlockExecutions.
*/
distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[]
}
/**
* WorkflowBlockExecution create
*/
export type WorkflowBlockExecutionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* The data needed to create a WorkflowBlockExecution.
*/
data: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateInput, Prisma.WorkflowBlockExecutionUncheckedCreateInput>
}
/**
* WorkflowBlockExecution createMany
*/
export type WorkflowBlockExecutionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many WorkflowBlockExecutions.
*/
data: Prisma.WorkflowBlockExecutionCreateManyInput | Prisma.WorkflowBlockExecutionCreateManyInput[]
skipDuplicates?: boolean
}
/**
* WorkflowBlockExecution createManyAndReturn
*/
export type WorkflowBlockExecutionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* The data used to create many WorkflowBlockExecutions.
*/
data: Prisma.WorkflowBlockExecutionCreateManyInput | Prisma.WorkflowBlockExecutionCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* WorkflowBlockExecution update
*/
export type WorkflowBlockExecutionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* The data needed to update a WorkflowBlockExecution.
*/
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateInput, Prisma.WorkflowBlockExecutionUncheckedUpdateInput>
/**
* Choose, which WorkflowBlockExecution to update.
*/
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
}
/**
* WorkflowBlockExecution updateMany
*/
export type WorkflowBlockExecutionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update WorkflowBlockExecutions.
*/
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateManyMutationInput, Prisma.WorkflowBlockExecutionUncheckedUpdateManyInput>
/**
* Filter which WorkflowBlockExecutions to update
*/
where?: Prisma.WorkflowBlockExecutionWhereInput
/**
* Limit how many WorkflowBlockExecutions to update.
*/
limit?: number
}
/**
* WorkflowBlockExecution updateManyAndReturn
*/
export type WorkflowBlockExecutionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* The data used to update WorkflowBlockExecutions.
*/
data: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateManyMutationInput, Prisma.WorkflowBlockExecutionUncheckedUpdateManyInput>
/**
* Filter which WorkflowBlockExecutions to update
*/
where?: Prisma.WorkflowBlockExecutionWhereInput
/**
* Limit how many WorkflowBlockExecutions to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* WorkflowBlockExecution upsert
*/
export type WorkflowBlockExecutionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* The filter to search for the WorkflowBlockExecution to update in case it exists.
*/
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
/**
* In case the WorkflowBlockExecution found by the `where` argument doesn't exist, create a new WorkflowBlockExecution with this data.
*/
create: Prisma.XOR<Prisma.WorkflowBlockExecutionCreateInput, Prisma.WorkflowBlockExecutionUncheckedCreateInput>
/**
* In case the WorkflowBlockExecution was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.WorkflowBlockExecutionUpdateInput, Prisma.WorkflowBlockExecutionUncheckedUpdateInput>
}
/**
* WorkflowBlockExecution delete
*/
export type WorkflowBlockExecutionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
/**
* Filter which WorkflowBlockExecution to delete.
*/
where: Prisma.WorkflowBlockExecutionWhereUniqueInput
}
/**
* WorkflowBlockExecution deleteMany
*/
export type WorkflowBlockExecutionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which WorkflowBlockExecutions to delete
*/
where?: Prisma.WorkflowBlockExecutionWhereInput
/**
* Limit how many WorkflowBlockExecutions to delete.
*/
limit?: number
}
/**
* WorkflowBlockExecution.fromWorkflowBlock
*/
export type WorkflowBlockExecution$fromWorkflowBlockArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlock
*/
select?: Prisma.WorkflowBlockSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlock
*/
omit?: Prisma.WorkflowBlockOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockInclude<ExtArgs> | null
where?: Prisma.WorkflowBlockWhereInput
}
/**
* WorkflowBlockExecution without action
*/
export type WorkflowBlockExecutionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WorkflowBlockExecution
*/
select?: Prisma.WorkflowBlockExecutionSelect<ExtArgs> | null
/**
* Omit specific fields from the WorkflowBlockExecution
*/
omit?: Prisma.WorkflowBlockExecutionOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.WorkflowBlockExecutionInclude<ExtArgs> | null
}