2398 lines
106 KiB
TypeScript
2398 lines
106 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 `WorkflowBlock` 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 WorkflowBlock
|
|
*
|
|
*/
|
|
export type WorkflowBlockModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowBlockPayload>
|
|
|
|
export type AggregateWorkflowBlock = {
|
|
_count: WorkflowBlockCountAggregateOutputType | null
|
|
_min: WorkflowBlockMinAggregateOutputType | null
|
|
_max: WorkflowBlockMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type WorkflowBlockMinAggregateOutputType = {
|
|
id: string | null
|
|
workflowId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
type: string | null
|
|
description: string | null
|
|
isTrigger: boolean | null
|
|
isBlock: boolean | null
|
|
input: string | null
|
|
}
|
|
|
|
export type WorkflowBlockMaxAggregateOutputType = {
|
|
id: string | null
|
|
workflowId: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
type: string | null
|
|
description: string | null
|
|
isTrigger: boolean | null
|
|
isBlock: boolean | null
|
|
input: string | null
|
|
}
|
|
|
|
export type WorkflowBlockCountAggregateOutputType = {
|
|
id: number
|
|
workflowId: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
type: number
|
|
description: number
|
|
isTrigger: number
|
|
isBlock: number
|
|
input: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type WorkflowBlockMinAggregateInputType = {
|
|
id?: true
|
|
workflowId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
type?: true
|
|
description?: true
|
|
isTrigger?: true
|
|
isBlock?: true
|
|
input?: true
|
|
}
|
|
|
|
export type WorkflowBlockMaxAggregateInputType = {
|
|
id?: true
|
|
workflowId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
type?: true
|
|
description?: true
|
|
isTrigger?: true
|
|
isBlock?: true
|
|
input?: true
|
|
}
|
|
|
|
export type WorkflowBlockCountAggregateInputType = {
|
|
id?: true
|
|
workflowId?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
type?: true
|
|
description?: true
|
|
isTrigger?: true
|
|
isBlock?: true
|
|
input?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type WorkflowBlockAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowBlock to aggregate.
|
|
*/
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlocks to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlocks 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` WorkflowBlocks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned WorkflowBlocks
|
|
**/
|
|
_count?: true | WorkflowBlockCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: WorkflowBlockMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: WorkflowBlockMaxAggregateInputType
|
|
}
|
|
|
|
export type GetWorkflowBlockAggregateType<T extends WorkflowBlockAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateWorkflowBlock]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowBlock[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowBlock[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type WorkflowBlockGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
orderBy?: Prisma.WorkflowBlockOrderByWithAggregationInput | Prisma.WorkflowBlockOrderByWithAggregationInput[]
|
|
by: Prisma.WorkflowBlockScalarFieldEnum[] | Prisma.WorkflowBlockScalarFieldEnum
|
|
having?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: WorkflowBlockCountAggregateInputType | true
|
|
_min?: WorkflowBlockMinAggregateInputType
|
|
_max?: WorkflowBlockMaxAggregateInputType
|
|
}
|
|
|
|
export type WorkflowBlockGroupByOutputType = {
|
|
id: string
|
|
workflowId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
type: string
|
|
description: string
|
|
isTrigger: boolean
|
|
isBlock: boolean
|
|
input: string
|
|
_count: WorkflowBlockCountAggregateOutputType | null
|
|
_min: WorkflowBlockMinAggregateOutputType | null
|
|
_max: WorkflowBlockMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetWorkflowBlockGroupByPayload<T extends WorkflowBlockGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<WorkflowBlockGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof WorkflowBlockGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], WorkflowBlockGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], WorkflowBlockGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type WorkflowBlockWhereInput = {
|
|
AND?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[]
|
|
OR?: Prisma.WorkflowBlockWhereInput[]
|
|
NOT?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
workflowId?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string
|
|
type?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
description?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
isTrigger?: Prisma.BoolFilter<"WorkflowBlock"> | boolean
|
|
isBlock?: Prisma.BoolFilter<"WorkflowBlock"> | boolean
|
|
input?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
workflow?: Prisma.XOR<Prisma.WorkflowScalarRelationFilter, Prisma.WorkflowWhereInput>
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter
|
|
toBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter
|
|
executions?: Prisma.WorkflowBlockExecutionListRelationFilter
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionListRelationFilter
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupListRelationFilter
|
|
waitingInExecutions?: Prisma.WorkflowExecutionListRelationFilter
|
|
}
|
|
|
|
export type WorkflowBlockOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
isTrigger?: Prisma.SortOrder
|
|
isBlock?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
workflow?: Prisma.WorkflowOrderByWithRelationInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockOrderByRelationAggregateInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockOrderByRelationAggregateInput
|
|
executions?: Prisma.WorkflowBlockExecutionOrderByRelationAggregateInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionOrderByRelationAggregateInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupOrderByRelationAggregateInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type WorkflowBlockWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[]
|
|
OR?: Prisma.WorkflowBlockWhereInput[]
|
|
NOT?: Prisma.WorkflowBlockWhereInput | Prisma.WorkflowBlockWhereInput[]
|
|
workflowId?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string
|
|
type?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
description?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
isTrigger?: Prisma.BoolFilter<"WorkflowBlock"> | boolean
|
|
isBlock?: Prisma.BoolFilter<"WorkflowBlock"> | boolean
|
|
input?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
workflow?: Prisma.XOR<Prisma.WorkflowScalarRelationFilter, Prisma.WorkflowWhereInput>
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter
|
|
toBlocks?: Prisma.WorkflowBlockToBlockListRelationFilter
|
|
executions?: Prisma.WorkflowBlockExecutionListRelationFilter
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionListRelationFilter
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupListRelationFilter
|
|
waitingInExecutions?: Prisma.WorkflowExecutionListRelationFilter
|
|
}, "id">
|
|
|
|
export type WorkflowBlockOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
isTrigger?: Prisma.SortOrder
|
|
isBlock?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
_count?: Prisma.WorkflowBlockCountOrderByAggregateInput
|
|
_max?: Prisma.WorkflowBlockMaxOrderByAggregateInput
|
|
_min?: Prisma.WorkflowBlockMinOrderByAggregateInput
|
|
}
|
|
|
|
export type WorkflowBlockScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput | Prisma.WorkflowBlockScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.WorkflowBlockScalarWhereWithAggregatesInput | Prisma.WorkflowBlockScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string
|
|
workflowId?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowBlock"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkflowBlock"> | Date | string
|
|
type?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string
|
|
description?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string
|
|
isTrigger?: Prisma.BoolWithAggregatesFilter<"WorkflowBlock"> | boolean
|
|
isBlock?: Prisma.BoolWithAggregatesFilter<"WorkflowBlock"> | boolean
|
|
input?: Prisma.StringWithAggregatesFilter<"WorkflowBlock"> | string
|
|
}
|
|
|
|
export type WorkflowBlockCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateManyInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
}
|
|
|
|
export type WorkflowBlockUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type WorkflowBlockListRelationFilter = {
|
|
every?: Prisma.WorkflowBlockWhereInput
|
|
some?: Prisma.WorkflowBlockWhereInput
|
|
none?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
isTrigger?: Prisma.SortOrder
|
|
isBlock?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
isTrigger?: Prisma.SortOrder
|
|
isBlock?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowId?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
description?: Prisma.SortOrder
|
|
isTrigger?: Prisma.SortOrder
|
|
isBlock?: Prisma.SortOrder
|
|
input?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockScalarRelationFilter = {
|
|
is?: Prisma.WorkflowBlockWhereInput
|
|
isNot?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockNullableScalarRelationFilter = {
|
|
is?: Prisma.WorkflowBlockWhereInput | null
|
|
isNot?: Prisma.WorkflowBlockWhereInput | null
|
|
}
|
|
|
|
export type WorkflowBlockCreateNestedManyWithoutWorkflowInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateNestedManyWithoutWorkflowInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowBlockUpdateManyWithoutWorkflowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[]
|
|
upsert?: Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope
|
|
set?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
update?: Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput[]
|
|
updateMany?: Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput | Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput[]
|
|
deleteMany?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateManyWithoutWorkflowNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput> | Prisma.WorkflowBlockCreateWithoutWorkflowInput[] | Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput | Prisma.WorkflowBlockCreateOrConnectWithoutWorkflowInput[]
|
|
upsert?: Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput[]
|
|
createMany?: Prisma.WorkflowBlockCreateManyWorkflowInputEnvelope
|
|
set?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput | Prisma.WorkflowBlockWhereUniqueInput[]
|
|
update?: Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput | Prisma.WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput[]
|
|
updateMany?: Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput | Prisma.WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput[]
|
|
deleteMany?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowBlockCreateNestedOneWithoutConditionsGroupsInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutConditionsGroupsInput, Prisma.WorkflowBlockUncheckedCreateWithoutConditionsGroupsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutConditionsGroupsInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateOneRequiredWithoutConditionsGroupsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutConditionsGroupsInput, Prisma.WorkflowBlockUncheckedCreateWithoutConditionsGroupsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutConditionsGroupsInput
|
|
upsert?: Prisma.WorkflowBlockUpsertWithoutConditionsGroupsInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowBlockUpdateToOneWithWhereWithoutConditionsGroupsInput, Prisma.WorkflowBlockUpdateWithoutConditionsGroupsInput>, Prisma.WorkflowBlockUncheckedUpdateWithoutConditionsGroupsInput>
|
|
}
|
|
|
|
export type WorkflowBlockCreateNestedOneWithoutToBlocksInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutToBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutToBlocksInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutToBlocksInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateNestedOneWithoutFromBlocksInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromBlocksInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromBlocksInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateOneRequiredWithoutToBlocksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutToBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutToBlocksInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutToBlocksInput
|
|
upsert?: Prisma.WorkflowBlockUpsertWithoutToBlocksInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowBlockUpdateToOneWithWhereWithoutToBlocksInput, Prisma.WorkflowBlockUpdateWithoutToBlocksInput>, Prisma.WorkflowBlockUncheckedUpdateWithoutToBlocksInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateOneRequiredWithoutFromBlocksNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromBlocksInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromBlocksInput
|
|
upsert?: Prisma.WorkflowBlockUpsertWithoutFromBlocksInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowBlockUpdateToOneWithWhereWithoutFromBlocksInput, Prisma.WorkflowBlockUpdateWithoutFromBlocksInput>, Prisma.WorkflowBlockUncheckedUpdateWithoutFromBlocksInput>
|
|
}
|
|
|
|
export type WorkflowBlockCreateNestedOneWithoutWaitingInExecutionsInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWaitingInExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutWaitingInExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWaitingInExecutionsInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateOneWithoutWaitingInExecutionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWaitingInExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutWaitingInExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutWaitingInExecutionsInput
|
|
upsert?: Prisma.WorkflowBlockUpsertWithoutWaitingInExecutionsInput
|
|
disconnect?: Prisma.WorkflowBlockWhereInput | boolean
|
|
delete?: Prisma.WorkflowBlockWhereInput | boolean
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowBlockUpdateToOneWithWhereWithoutWaitingInExecutionsInput, Prisma.WorkflowBlockUpdateWithoutWaitingInExecutionsInput>, Prisma.WorkflowBlockUncheckedUpdateWithoutWaitingInExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockCreateNestedOneWithoutExecutionsInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutExecutionsInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateNestedOneWithoutFromExecutionsInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromExecutionsInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateOneRequiredWithoutExecutionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutExecutionsInput
|
|
upsert?: Prisma.WorkflowBlockUpsertWithoutExecutionsInput
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowBlockUpdateToOneWithWhereWithoutExecutionsInput, Prisma.WorkflowBlockUpdateWithoutExecutionsInput>, Prisma.WorkflowBlockUncheckedUpdateWithoutExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateOneWithoutFromExecutionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromExecutionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockCreateOrConnectWithoutFromExecutionsInput
|
|
upsert?: Prisma.WorkflowBlockUpsertWithoutFromExecutionsInput
|
|
disconnect?: Prisma.WorkflowBlockWhereInput | boolean
|
|
delete?: Prisma.WorkflowBlockWhereInput | boolean
|
|
connect?: Prisma.WorkflowBlockWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowBlockUpdateToOneWithWhereWithoutFromExecutionsInput, Prisma.WorkflowBlockUpdateWithoutFromExecutionsInput>, Prisma.WorkflowBlockUncheckedUpdateWithoutFromExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockCreateWithoutWorkflowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateWithoutWorkflowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateOrConnectWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowBlockCreateManyWorkflowInputEnvelope = {
|
|
data: Prisma.WorkflowBlockCreateManyWorkflowInput | Prisma.WorkflowBlockCreateManyWorkflowInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowBlockUpsertWithWhereUniqueWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedUpdateWithoutWorkflowInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedCreateWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithWhereUniqueWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutWorkflowInput, Prisma.WorkflowBlockUncheckedUpdateWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateManyWithWhereWithoutWorkflowInput = {
|
|
where: Prisma.WorkflowBlockScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateManyMutationInput, Prisma.WorkflowBlockUncheckedUpdateManyWithoutWorkflowInput>
|
|
}
|
|
|
|
export type WorkflowBlockScalarWhereInput = {
|
|
AND?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[]
|
|
OR?: Prisma.WorkflowBlockScalarWhereInput[]
|
|
NOT?: Prisma.WorkflowBlockScalarWhereInput | Prisma.WorkflowBlockScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
workflowId?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkflowBlock"> | Date | string
|
|
type?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
description?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
isTrigger?: Prisma.BoolFilter<"WorkflowBlock"> | boolean
|
|
isBlock?: Prisma.BoolFilter<"WorkflowBlock"> | boolean
|
|
input?: Prisma.StringFilter<"WorkflowBlock"> | string
|
|
}
|
|
|
|
export type WorkflowBlockCreateWithoutConditionsGroupsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateWithoutConditionsGroupsInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateOrConnectWithoutConditionsGroupsInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutConditionsGroupsInput, Prisma.WorkflowBlockUncheckedCreateWithoutConditionsGroupsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpsertWithoutConditionsGroupsInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutConditionsGroupsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutConditionsGroupsInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutConditionsGroupsInput, Prisma.WorkflowBlockUncheckedCreateWithoutConditionsGroupsInput>
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateToOneWithWhereWithoutConditionsGroupsInput = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutConditionsGroupsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutConditionsGroupsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithoutConditionsGroupsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateWithoutConditionsGroupsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateWithoutToBlocksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateWithoutToBlocksInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateOrConnectWithoutToBlocksInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutToBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutToBlocksInput>
|
|
}
|
|
|
|
export type WorkflowBlockCreateWithoutFromBlocksInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateWithoutFromBlocksInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateOrConnectWithoutFromBlocksInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromBlocksInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpsertWithoutToBlocksInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutToBlocksInput, Prisma.WorkflowBlockUncheckedUpdateWithoutToBlocksInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutToBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutToBlocksInput>
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateToOneWithWhereWithoutToBlocksInput = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutToBlocksInput, Prisma.WorkflowBlockUncheckedUpdateWithoutToBlocksInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithoutToBlocksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateWithoutToBlocksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUpsertWithoutFromBlocksInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutFromBlocksInput, Prisma.WorkflowBlockUncheckedUpdateWithoutFromBlocksInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromBlocksInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromBlocksInput>
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateToOneWithWhereWithoutFromBlocksInput = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutFromBlocksInput, Prisma.WorkflowBlockUncheckedUpdateWithoutFromBlocksInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithoutFromBlocksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateWithoutFromBlocksInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateWithoutWaitingInExecutionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateWithoutWaitingInExecutionsInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateOrConnectWithoutWaitingInExecutionsInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWaitingInExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutWaitingInExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpsertWithoutWaitingInExecutionsInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutWaitingInExecutionsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutWaitingInExecutionsInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutWaitingInExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutWaitingInExecutionsInput>
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateToOneWithWhereWithoutWaitingInExecutionsInput = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutWaitingInExecutionsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutWaitingInExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithoutWaitingInExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateWithoutWaitingInExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateWithoutExecutionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateWithoutExecutionsInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutFromWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateOrConnectWithoutExecutionsInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockCreateWithoutFromExecutionsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
workflow: Prisma.WorkflowCreateNestedOneWithoutBlocksInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionCreateNestedManyWithoutWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedCreateWithoutFromExecutionsInput = {
|
|
id?: string
|
|
workflowId: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutToBlockInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedCreateNestedManyWithoutFromBlockInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedCreateNestedManyWithoutWaitingBlockInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateOrConnectWithoutFromExecutionsInput = {
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpsertWithoutExecutionsInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutExecutionsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutExecutionsInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutExecutionsInput>
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateToOneWithWhereWithoutExecutionsInput = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutExecutionsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithoutExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateWithoutExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUpsertWithoutFromExecutionsInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutFromExecutionsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutFromExecutionsInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateWithoutFromExecutionsInput, Prisma.WorkflowBlockUncheckedCreateWithoutFromExecutionsInput>
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockUpdateToOneWithWhereWithoutFromExecutionsInput = {
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateWithoutFromExecutionsInput, Prisma.WorkflowBlockUncheckedUpdateWithoutFromExecutionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithoutFromExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflow?: Prisma.WorkflowUpdateOneRequiredWithoutBlocksNestedInput
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateWithoutFromExecutionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockCreateManyWorkflowInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
type: string
|
|
description: string
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input: string
|
|
}
|
|
|
|
export type WorkflowBlockUpdateWithoutWorkflowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateWithoutWorkflowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
fromBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutToBlockNestedInput
|
|
toBlocks?: Prisma.WorkflowBlockToBlockUncheckedUpdateManyWithoutFromBlockNestedInput
|
|
executions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
fromExecutions?: Prisma.WorkflowBlockExecutionUncheckedUpdateManyWithoutFromWorkflowBlockNestedInput
|
|
conditionsGroups?: Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput
|
|
waitingInExecutions?: Prisma.WorkflowExecutionUncheckedUpdateManyWithoutWaitingBlockNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockUncheckedUpdateManyWithoutWorkflowInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
description?: Prisma.StringFieldUpdateOperationsInput | string
|
|
isTrigger?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
isBlock?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
input?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type WorkflowBlockCountOutputType
|
|
*/
|
|
|
|
export type WorkflowBlockCountOutputType = {
|
|
fromBlocks: number
|
|
toBlocks: number
|
|
executions: number
|
|
fromExecutions: number
|
|
conditionsGroups: number
|
|
waitingInExecutions: number
|
|
}
|
|
|
|
export type WorkflowBlockCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
fromBlocks?: boolean | WorkflowBlockCountOutputTypeCountFromBlocksArgs
|
|
toBlocks?: boolean | WorkflowBlockCountOutputTypeCountToBlocksArgs
|
|
executions?: boolean | WorkflowBlockCountOutputTypeCountExecutionsArgs
|
|
fromExecutions?: boolean | WorkflowBlockCountOutputTypeCountFromExecutionsArgs
|
|
conditionsGroups?: boolean | WorkflowBlockCountOutputTypeCountConditionsGroupsArgs
|
|
waitingInExecutions?: boolean | WorkflowBlockCountOutputTypeCountWaitingInExecutionsArgs
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlockCountOutputType
|
|
*/
|
|
select?: Prisma.WorkflowBlockCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockCountOutputTypeCountFromBlocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockToBlockWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockCountOutputTypeCountToBlocksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockToBlockWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockCountOutputTypeCountExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockExecutionWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockCountOutputTypeCountFromExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockExecutionWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockCountOutputTypeCountConditionsGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockCountOutputTypeCountWaitingInExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
}
|
|
|
|
|
|
export type WorkflowBlockSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
workflowId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
type?: boolean
|
|
description?: boolean
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input?: boolean
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
fromBlocks?: boolean | Prisma.WorkflowBlock$fromBlocksArgs<ExtArgs>
|
|
toBlocks?: boolean | Prisma.WorkflowBlock$toBlocksArgs<ExtArgs>
|
|
executions?: boolean | Prisma.WorkflowBlock$executionsArgs<ExtArgs>
|
|
fromExecutions?: boolean | Prisma.WorkflowBlock$fromExecutionsArgs<ExtArgs>
|
|
conditionsGroups?: boolean | Prisma.WorkflowBlock$conditionsGroupsArgs<ExtArgs>
|
|
waitingInExecutions?: boolean | Prisma.WorkflowBlock$waitingInExecutionsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowBlockCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowBlock"]>
|
|
|
|
export type WorkflowBlockSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
workflowId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
type?: boolean
|
|
description?: boolean
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input?: boolean
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowBlock"]>
|
|
|
|
export type WorkflowBlockSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
workflowId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
type?: boolean
|
|
description?: boolean
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input?: boolean
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowBlock"]>
|
|
|
|
export type WorkflowBlockSelectScalar = {
|
|
id?: boolean
|
|
workflowId?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
type?: boolean
|
|
description?: boolean
|
|
isTrigger?: boolean
|
|
isBlock?: boolean
|
|
input?: boolean
|
|
}
|
|
|
|
export type WorkflowBlockOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "workflowId" | "createdAt" | "updatedAt" | "type" | "description" | "isTrigger" | "isBlock" | "input", ExtArgs["result"]["workflowBlock"]>
|
|
export type WorkflowBlockInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
fromBlocks?: boolean | Prisma.WorkflowBlock$fromBlocksArgs<ExtArgs>
|
|
toBlocks?: boolean | Prisma.WorkflowBlock$toBlocksArgs<ExtArgs>
|
|
executions?: boolean | Prisma.WorkflowBlock$executionsArgs<ExtArgs>
|
|
fromExecutions?: boolean | Prisma.WorkflowBlock$fromExecutionsArgs<ExtArgs>
|
|
conditionsGroups?: boolean | Prisma.WorkflowBlock$conditionsGroupsArgs<ExtArgs>
|
|
waitingInExecutions?: boolean | Prisma.WorkflowBlock$waitingInExecutionsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowBlockCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkflowBlockIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkflowBlockIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflow?: boolean | Prisma.WorkflowDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $WorkflowBlockPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "WorkflowBlock"
|
|
objects: {
|
|
workflow: Prisma.$WorkflowPayload<ExtArgs>
|
|
fromBlocks: Prisma.$WorkflowBlockToBlockPayload<ExtArgs>[]
|
|
toBlocks: Prisma.$WorkflowBlockToBlockPayload<ExtArgs>[]
|
|
executions: Prisma.$WorkflowBlockExecutionPayload<ExtArgs>[]
|
|
fromExecutions: Prisma.$WorkflowBlockExecutionPayload<ExtArgs>[]
|
|
conditionsGroups: Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>[]
|
|
waitingInExecutions: Prisma.$WorkflowExecutionPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
workflowId: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
type: string
|
|
description: string
|
|
isTrigger: boolean
|
|
isBlock: boolean
|
|
input: string
|
|
}, ExtArgs["result"]["workflowBlock"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type WorkflowBlockGetPayload<S extends boolean | null | undefined | WorkflowBlockDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload, S>
|
|
|
|
export type WorkflowBlockCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<WorkflowBlockFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: WorkflowBlockCountAggregateInputType | true
|
|
}
|
|
|
|
export interface WorkflowBlockDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowBlock'], meta: { name: 'WorkflowBlock' } }
|
|
/**
|
|
* Find zero or one WorkflowBlock that matches the filter.
|
|
* @param {WorkflowBlockFindUniqueArgs} args - Arguments to find a WorkflowBlock
|
|
* @example
|
|
* // Get one WorkflowBlock
|
|
* const workflowBlock = await prisma.workflowBlock.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends WorkflowBlockFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowBlockFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one WorkflowBlock that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {WorkflowBlockFindUniqueOrThrowArgs} args - Arguments to find a WorkflowBlock
|
|
* @example
|
|
* // Get one WorkflowBlock
|
|
* const workflowBlock = await prisma.workflowBlock.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends WorkflowBlockFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowBlockFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowBlock 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 {WorkflowBlockFindFirstArgs} args - Arguments to find a WorkflowBlock
|
|
* @example
|
|
* // Get one WorkflowBlock
|
|
* const workflowBlock = await prisma.workflowBlock.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends WorkflowBlockFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowBlock 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 {WorkflowBlockFindFirstOrThrowArgs} args - Arguments to find a WorkflowBlock
|
|
* @example
|
|
* // Get one WorkflowBlock
|
|
* const workflowBlock = await prisma.workflowBlock.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends WorkflowBlockFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more WorkflowBlocks 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 {WorkflowBlockFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all WorkflowBlocks
|
|
* const workflowBlocks = await prisma.workflowBlock.findMany()
|
|
*
|
|
* // Get first 10 WorkflowBlocks
|
|
* const workflowBlocks = await prisma.workflowBlock.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const workflowBlockWithIdOnly = await prisma.workflowBlock.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends WorkflowBlockFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a WorkflowBlock.
|
|
* @param {WorkflowBlockCreateArgs} args - Arguments to create a WorkflowBlock.
|
|
* @example
|
|
* // Create one WorkflowBlock
|
|
* const WorkflowBlock = await prisma.workflowBlock.create({
|
|
* data: {
|
|
* // ... data to create a WorkflowBlock
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends WorkflowBlockCreateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many WorkflowBlocks.
|
|
* @param {WorkflowBlockCreateManyArgs} args - Arguments to create many WorkflowBlocks.
|
|
* @example
|
|
* // Create many WorkflowBlocks
|
|
* const workflowBlock = await prisma.workflowBlock.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends WorkflowBlockCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many WorkflowBlocks and returns the data saved in the database.
|
|
* @param {WorkflowBlockCreateManyAndReturnArgs} args - Arguments to create many WorkflowBlocks.
|
|
* @example
|
|
* // Create many WorkflowBlocks
|
|
* const workflowBlock = await prisma.workflowBlock.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many WorkflowBlocks and only return the `id`
|
|
* const workflowBlockWithIdOnly = await prisma.workflowBlock.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 WorkflowBlockCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a WorkflowBlock.
|
|
* @param {WorkflowBlockDeleteArgs} args - Arguments to delete one WorkflowBlock.
|
|
* @example
|
|
* // Delete one WorkflowBlock
|
|
* const WorkflowBlock = await prisma.workflowBlock.delete({
|
|
* where: {
|
|
* // ... filter to delete one WorkflowBlock
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends WorkflowBlockDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowBlockDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one WorkflowBlock.
|
|
* @param {WorkflowBlockUpdateArgs} args - Arguments to update one WorkflowBlock.
|
|
* @example
|
|
* // Update one WorkflowBlock
|
|
* const workflowBlock = await prisma.workflowBlock.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends WorkflowBlockUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more WorkflowBlocks.
|
|
* @param {WorkflowBlockDeleteManyArgs} args - Arguments to filter WorkflowBlocks to delete.
|
|
* @example
|
|
* // Delete a few WorkflowBlocks
|
|
* const { count } = await prisma.workflowBlock.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends WorkflowBlockDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowBlocks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many WorkflowBlocks
|
|
* const workflowBlock = await prisma.workflowBlock.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends WorkflowBlockUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowBlockUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowBlocks and returns the data updated in the database.
|
|
* @param {WorkflowBlockUpdateManyAndReturnArgs} args - Arguments to update many WorkflowBlocks.
|
|
* @example
|
|
* // Update many WorkflowBlocks
|
|
* const workflowBlock = await prisma.workflowBlock.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more WorkflowBlocks and only return the `id`
|
|
* const workflowBlockWithIdOnly = await prisma.workflowBlock.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 WorkflowBlockUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowBlockUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one WorkflowBlock.
|
|
* @param {WorkflowBlockUpsertArgs} args - Arguments to update or create a WorkflowBlock.
|
|
* @example
|
|
* // Update or create a WorkflowBlock
|
|
* const workflowBlock = await prisma.workflowBlock.upsert({
|
|
* create: {
|
|
* // ... data to create a WorkflowBlock
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the WorkflowBlock we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends WorkflowBlockUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowBlockUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of WorkflowBlocks.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockCountArgs} args - Arguments to filter WorkflowBlocks to count.
|
|
* @example
|
|
* // Count the number of WorkflowBlocks
|
|
* const count = await prisma.workflowBlock.count({
|
|
* where: {
|
|
* // ... the filter for the WorkflowBlocks we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends WorkflowBlockCountArgs>(
|
|
args?: Prisma.Subset<T, WorkflowBlockCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], WorkflowBlockCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a WorkflowBlock.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockAggregateArgs} 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 WorkflowBlockAggregateArgs>(args: Prisma.Subset<T, WorkflowBlockAggregateArgs>): Prisma.PrismaPromise<GetWorkflowBlockAggregateType<T>>
|
|
|
|
/**
|
|
* Group by WorkflowBlock.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockGroupByArgs} 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 WorkflowBlockGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: WorkflowBlockGroupByArgs['orderBy'] }
|
|
: { orderBy?: WorkflowBlockGroupByArgs['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, WorkflowBlockGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowBlockGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the WorkflowBlock model
|
|
*/
|
|
readonly fields: WorkflowBlockFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for WorkflowBlock.
|
|
* 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__WorkflowBlockClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
workflow<T extends Prisma.WorkflowDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowClient<runtime.Types.Result.GetResult<Prisma.$WorkflowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
fromBlocks<T extends Prisma.WorkflowBlock$fromBlocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlock$fromBlocksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
toBlocks<T extends Prisma.WorkflowBlock$toBlocksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlock$toBlocksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockToBlockPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
executions<T extends Prisma.WorkflowBlock$executionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlock$executionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
fromExecutions<T extends Prisma.WorkflowBlock$fromExecutionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlock$fromExecutionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
conditionsGroups<T extends Prisma.WorkflowBlock$conditionsGroupsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlock$conditionsGroupsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
waitingInExecutions<T extends Prisma.WorkflowBlock$waitingInExecutionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlock$waitingInExecutionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowExecutionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* 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 WorkflowBlock model
|
|
*/
|
|
export interface WorkflowBlockFieldRefs {
|
|
readonly id: Prisma.FieldRef<"WorkflowBlock", 'String'>
|
|
readonly workflowId: Prisma.FieldRef<"WorkflowBlock", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"WorkflowBlock", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"WorkflowBlock", 'DateTime'>
|
|
readonly type: Prisma.FieldRef<"WorkflowBlock", 'String'>
|
|
readonly description: Prisma.FieldRef<"WorkflowBlock", 'String'>
|
|
readonly isTrigger: Prisma.FieldRef<"WorkflowBlock", 'Boolean'>
|
|
readonly isBlock: Prisma.FieldRef<"WorkflowBlock", 'Boolean'>
|
|
readonly input: Prisma.FieldRef<"WorkflowBlock", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* WorkflowBlock findUnique
|
|
*/
|
|
export type WorkflowBlockFindUniqueArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlock to fetch.
|
|
*/
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock findUniqueOrThrow
|
|
*/
|
|
export type WorkflowBlockFindUniqueOrThrowArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlock to fetch.
|
|
*/
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock findFirst
|
|
*/
|
|
export type WorkflowBlockFindFirstArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlock to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlocks to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowBlocks.
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlocks 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` WorkflowBlocks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowBlocks.
|
|
*/
|
|
distinct?: Prisma.WorkflowBlockScalarFieldEnum | Prisma.WorkflowBlockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock findFirstOrThrow
|
|
*/
|
|
export type WorkflowBlockFindFirstOrThrowArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlock to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlocks to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowBlocks.
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlocks 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` WorkflowBlocks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowBlocks.
|
|
*/
|
|
distinct?: Prisma.WorkflowBlockScalarFieldEnum | Prisma.WorkflowBlockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock findMany
|
|
*/
|
|
export type WorkflowBlockFindManyArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlocks to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlocks to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockOrderByWithRelationInput | Prisma.WorkflowBlockOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing WorkflowBlocks.
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlocks 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` WorkflowBlocks.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowBlocks.
|
|
*/
|
|
distinct?: Prisma.WorkflowBlockScalarFieldEnum | Prisma.WorkflowBlockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock create
|
|
*/
|
|
export type WorkflowBlockCreateArgs<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
|
|
/**
|
|
* The data needed to create a WorkflowBlock.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockCreateInput, Prisma.WorkflowBlockUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock createMany
|
|
*/
|
|
export type WorkflowBlockCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many WorkflowBlocks.
|
|
*/
|
|
data: Prisma.WorkflowBlockCreateManyInput | Prisma.WorkflowBlockCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock createManyAndReturn
|
|
*/
|
|
export type WorkflowBlockCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlock
|
|
*/
|
|
select?: Prisma.WorkflowBlockSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlock
|
|
*/
|
|
omit?: Prisma.WorkflowBlockOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many WorkflowBlocks.
|
|
*/
|
|
data: Prisma.WorkflowBlockCreateManyInput | Prisma.WorkflowBlockCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock update
|
|
*/
|
|
export type WorkflowBlockUpdateArgs<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
|
|
/**
|
|
* The data needed to update a WorkflowBlock.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateInput, Prisma.WorkflowBlockUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which WorkflowBlock to update.
|
|
*/
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock updateMany
|
|
*/
|
|
export type WorkflowBlockUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update WorkflowBlocks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateManyMutationInput, Prisma.WorkflowBlockUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowBlocks to update
|
|
*/
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
/**
|
|
* Limit how many WorkflowBlocks to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock updateManyAndReturn
|
|
*/
|
|
export type WorkflowBlockUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlock
|
|
*/
|
|
select?: Prisma.WorkflowBlockSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlock
|
|
*/
|
|
omit?: Prisma.WorkflowBlockOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update WorkflowBlocks.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockUpdateManyMutationInput, Prisma.WorkflowBlockUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowBlocks to update
|
|
*/
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
/**
|
|
* Limit how many WorkflowBlocks to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock upsert
|
|
*/
|
|
export type WorkflowBlockUpsertArgs<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
|
|
/**
|
|
* The filter to search for the WorkflowBlock to update in case it exists.
|
|
*/
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
/**
|
|
* In case the WorkflowBlock found by the `where` argument doesn't exist, create a new WorkflowBlock with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.WorkflowBlockCreateInput, Prisma.WorkflowBlockUncheckedCreateInput>
|
|
/**
|
|
* In case the WorkflowBlock was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.WorkflowBlockUpdateInput, Prisma.WorkflowBlockUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock delete
|
|
*/
|
|
export type WorkflowBlockDeleteArgs<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
|
|
/**
|
|
* Filter which WorkflowBlock to delete.
|
|
*/
|
|
where: Prisma.WorkflowBlockWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock deleteMany
|
|
*/
|
|
export type WorkflowBlockDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowBlocks to delete
|
|
*/
|
|
where?: Prisma.WorkflowBlockWhereInput
|
|
/**
|
|
* Limit how many WorkflowBlocks to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock.fromBlocks
|
|
*/
|
|
export type WorkflowBlock$fromBlocksArgs<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
|
|
where?: Prisma.WorkflowBlockToBlockWhereInput
|
|
orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockToBlockScalarFieldEnum | Prisma.WorkflowBlockToBlockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock.toBlocks
|
|
*/
|
|
export type WorkflowBlock$toBlocksArgs<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
|
|
where?: Prisma.WorkflowBlockToBlockWhereInput
|
|
orderBy?: Prisma.WorkflowBlockToBlockOrderByWithRelationInput | Prisma.WorkflowBlockToBlockOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockToBlockWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockToBlockScalarFieldEnum | Prisma.WorkflowBlockToBlockScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock.executions
|
|
*/
|
|
export type WorkflowBlock$executionsArgs<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
|
|
where?: Prisma.WorkflowBlockExecutionWhereInput
|
|
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock.fromExecutions
|
|
*/
|
|
export type WorkflowBlock$fromExecutionsArgs<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
|
|
where?: Prisma.WorkflowBlockExecutionWhereInput
|
|
orderBy?: Prisma.WorkflowBlockExecutionOrderByWithRelationInput | Prisma.WorkflowBlockExecutionOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockExecutionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockExecutionScalarFieldEnum | Prisma.WorkflowBlockExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock.conditionsGroups
|
|
*/
|
|
export type WorkflowBlock$conditionsGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlockConditionGroup
|
|
*/
|
|
select?: Prisma.WorkflowBlockConditionGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlockConditionGroup
|
|
*/
|
|
omit?: Prisma.WorkflowBlockConditionGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockConditionGroupInclude<ExtArgs> | null
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
orderBy?: Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput | Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockConditionGroupScalarFieldEnum | Prisma.WorkflowBlockConditionGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock.waitingInExecutions
|
|
*/
|
|
export type WorkflowBlock$waitingInExecutionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowExecution
|
|
*/
|
|
select?: Prisma.WorkflowExecutionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowExecution
|
|
*/
|
|
omit?: Prisma.WorkflowExecutionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowExecutionInclude<ExtArgs> | null
|
|
where?: Prisma.WorkflowExecutionWhereInput
|
|
orderBy?: Prisma.WorkflowExecutionOrderByWithRelationInput | Prisma.WorkflowExecutionOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowExecutionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowExecutionScalarFieldEnum | Prisma.WorkflowExecutionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlock without action
|
|
*/
|
|
export type WorkflowBlockDefaultArgs<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
|
|
}
|