1488 lines
66 KiB
TypeScript
1488 lines
66 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 `WorkflowBlockConditionGroup` 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 WorkflowBlockConditionGroup
|
|
*
|
|
*/
|
|
export type WorkflowBlockConditionGroupModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkflowBlockConditionGroupPayload>
|
|
|
|
export type AggregateWorkflowBlockConditionGroup = {
|
|
_count: WorkflowBlockConditionGroupCountAggregateOutputType | null
|
|
_avg: WorkflowBlockConditionGroupAvgAggregateOutputType | null
|
|
_sum: WorkflowBlockConditionGroupSumAggregateOutputType | null
|
|
_min: WorkflowBlockConditionGroupMinAggregateOutputType | null
|
|
_max: WorkflowBlockConditionGroupMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupAvgAggregateOutputType = {
|
|
index: number | null
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupSumAggregateOutputType = {
|
|
index: number | null
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupMinAggregateOutputType = {
|
|
id: string | null
|
|
workflowBlockId: string | null
|
|
index: number | null
|
|
type: string | null
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupMaxAggregateOutputType = {
|
|
id: string | null
|
|
workflowBlockId: string | null
|
|
index: number | null
|
|
type: string | null
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCountAggregateOutputType = {
|
|
id: number
|
|
workflowBlockId: number
|
|
index: number
|
|
type: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type WorkflowBlockConditionGroupAvgAggregateInputType = {
|
|
index?: true
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupSumAggregateInputType = {
|
|
index?: true
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupMinAggregateInputType = {
|
|
id?: true
|
|
workflowBlockId?: true
|
|
index?: true
|
|
type?: true
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupMaxAggregateInputType = {
|
|
id?: true
|
|
workflowBlockId?: true
|
|
index?: true
|
|
type?: true
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCountAggregateInputType = {
|
|
id?: true
|
|
workflowBlockId?: true
|
|
index?: true
|
|
type?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowBlockConditionGroup to aggregate.
|
|
*/
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlockConditionGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput | Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlockConditionGroups 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` WorkflowBlockConditionGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned WorkflowBlockConditionGroups
|
|
**/
|
|
_count?: true | WorkflowBlockConditionGroupCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: WorkflowBlockConditionGroupAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: WorkflowBlockConditionGroupSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: WorkflowBlockConditionGroupMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: WorkflowBlockConditionGroupMaxAggregateInputType
|
|
}
|
|
|
|
export type GetWorkflowBlockConditionGroupAggregateType<T extends WorkflowBlockConditionGroupAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateWorkflowBlockConditionGroup]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockConditionGroup[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateWorkflowBlockConditionGroup[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type WorkflowBlockConditionGroupGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
orderBy?: Prisma.WorkflowBlockConditionGroupOrderByWithAggregationInput | Prisma.WorkflowBlockConditionGroupOrderByWithAggregationInput[]
|
|
by: Prisma.WorkflowBlockConditionGroupScalarFieldEnum[] | Prisma.WorkflowBlockConditionGroupScalarFieldEnum
|
|
having?: Prisma.WorkflowBlockConditionGroupScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: WorkflowBlockConditionGroupCountAggregateInputType | true
|
|
_avg?: WorkflowBlockConditionGroupAvgAggregateInputType
|
|
_sum?: WorkflowBlockConditionGroupSumAggregateInputType
|
|
_min?: WorkflowBlockConditionGroupMinAggregateInputType
|
|
_max?: WorkflowBlockConditionGroupMaxAggregateInputType
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupGroupByOutputType = {
|
|
id: string
|
|
workflowBlockId: string
|
|
index: number
|
|
type: string
|
|
_count: WorkflowBlockConditionGroupCountAggregateOutputType | null
|
|
_avg: WorkflowBlockConditionGroupAvgAggregateOutputType | null
|
|
_sum: WorkflowBlockConditionGroupSumAggregateOutputType | null
|
|
_min: WorkflowBlockConditionGroupMinAggregateOutputType | null
|
|
_max: WorkflowBlockConditionGroupMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetWorkflowBlockConditionGroupGroupByPayload<T extends WorkflowBlockConditionGroupGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<WorkflowBlockConditionGroupGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof WorkflowBlockConditionGroupGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], WorkflowBlockConditionGroupGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], WorkflowBlockConditionGroupGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type WorkflowBlockConditionGroupWhereInput = {
|
|
AND?: Prisma.WorkflowBlockConditionGroupWhereInput | Prisma.WorkflowBlockConditionGroupWhereInput[]
|
|
OR?: Prisma.WorkflowBlockConditionGroupWhereInput[]
|
|
NOT?: Prisma.WorkflowBlockConditionGroupWhereInput | Prisma.WorkflowBlockConditionGroupWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
workflowBlockId?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
index?: Prisma.IntFilter<"WorkflowBlockConditionGroup"> | number
|
|
type?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
workflowBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
|
|
conditions?: Prisma.WorkflowBlockConditionListRelationFilter
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowBlockId?: Prisma.SortOrder
|
|
index?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
workflowBlock?: Prisma.WorkflowBlockOrderByWithRelationInput
|
|
conditions?: Prisma.WorkflowBlockConditionOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
AND?: Prisma.WorkflowBlockConditionGroupWhereInput | Prisma.WorkflowBlockConditionGroupWhereInput[]
|
|
OR?: Prisma.WorkflowBlockConditionGroupWhereInput[]
|
|
NOT?: Prisma.WorkflowBlockConditionGroupWhereInput | Prisma.WorkflowBlockConditionGroupWhereInput[]
|
|
workflowBlockId?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
index?: Prisma.IntFilter<"WorkflowBlockConditionGroup"> | number
|
|
type?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
workflowBlock?: Prisma.XOR<Prisma.WorkflowBlockScalarRelationFilter, Prisma.WorkflowBlockWhereInput>
|
|
conditions?: Prisma.WorkflowBlockConditionListRelationFilter
|
|
}, "id">
|
|
|
|
export type WorkflowBlockConditionGroupOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowBlockId?: Prisma.SortOrder
|
|
index?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
_count?: Prisma.WorkflowBlockConditionGroupCountOrderByAggregateInput
|
|
_avg?: Prisma.WorkflowBlockConditionGroupAvgOrderByAggregateInput
|
|
_max?: Prisma.WorkflowBlockConditionGroupMaxOrderByAggregateInput
|
|
_min?: Prisma.WorkflowBlockConditionGroupMinOrderByAggregateInput
|
|
_sum?: Prisma.WorkflowBlockConditionGroupSumOrderByAggregateInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.WorkflowBlockConditionGroupScalarWhereWithAggregatesInput | Prisma.WorkflowBlockConditionGroupScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.WorkflowBlockConditionGroupScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.WorkflowBlockConditionGroupScalarWhereWithAggregatesInput | Prisma.WorkflowBlockConditionGroupScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"WorkflowBlockConditionGroup"> | string
|
|
workflowBlockId?: Prisma.StringWithAggregatesFilter<"WorkflowBlockConditionGroup"> | string
|
|
index?: Prisma.IntWithAggregatesFilter<"WorkflowBlockConditionGroup"> | number
|
|
type?: Prisma.StringWithAggregatesFilter<"WorkflowBlockConditionGroup"> | string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateInput = {
|
|
id?: string
|
|
index: number
|
|
type: string
|
|
workflowBlock: Prisma.WorkflowBlockCreateNestedOneWithoutConditionsGroupsInput
|
|
conditions?: Prisma.WorkflowBlockConditionCreateNestedManyWithoutWorkflowBlockConditionGroupInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedCreateInput = {
|
|
id?: string
|
|
workflowBlockId: string
|
|
index: number
|
|
type: string
|
|
conditions?: Prisma.WorkflowBlockConditionUncheckedCreateNestedManyWithoutWorkflowBlockConditionGroupInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutConditionsGroupsNestedInput
|
|
conditions?: Prisma.WorkflowBlockConditionUpdateManyWithoutWorkflowBlockConditionGroupNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
conditions?: Prisma.WorkflowBlockConditionUncheckedUpdateManyWithoutWorkflowBlockConditionGroupNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateManyInput = {
|
|
id?: string
|
|
workflowBlockId: string
|
|
index: number
|
|
type: string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupListRelationFilter = {
|
|
every?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
some?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
none?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowBlockId?: Prisma.SortOrder
|
|
index?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupAvgOrderByAggregateInput = {
|
|
index?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowBlockId?: Prisma.SortOrder
|
|
index?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
workflowBlockId?: Prisma.SortOrder
|
|
index?: Prisma.SortOrder
|
|
type?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupSumOrderByAggregateInput = {
|
|
index?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupScalarRelationFilter = {
|
|
is?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
isNot?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateNestedManyWithoutWorkflowBlockInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput[]
|
|
createMany?: Prisma.WorkflowBlockConditionGroupCreateManyWorkflowBlockInputEnvelope
|
|
connect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedCreateNestedManyWithoutWorkflowBlockInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput[]
|
|
createMany?: Prisma.WorkflowBlockConditionGroupCreateManyWorkflowBlockInputEnvelope
|
|
connect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateManyWithoutWorkflowBlockNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput[]
|
|
upsert?: Prisma.WorkflowBlockConditionGroupUpsertWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupUpsertWithWhereUniqueWithoutWorkflowBlockInput[]
|
|
createMany?: Prisma.WorkflowBlockConditionGroupCreateManyWorkflowBlockInputEnvelope
|
|
set?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
update?: Prisma.WorkflowBlockConditionGroupUpdateWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupUpdateWithWhereUniqueWithoutWorkflowBlockInput[]
|
|
updateMany?: Prisma.WorkflowBlockConditionGroupUpdateManyWithWhereWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupUpdateManyWithWhereWithoutWorkflowBlockInput[]
|
|
deleteMany?: Prisma.WorkflowBlockConditionGroupScalarWhereInput | Prisma.WorkflowBlockConditionGroupScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput> | Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput[] | Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput[]
|
|
connectOrCreate?: Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput[]
|
|
upsert?: Prisma.WorkflowBlockConditionGroupUpsertWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupUpsertWithWhereUniqueWithoutWorkflowBlockInput[]
|
|
createMany?: Prisma.WorkflowBlockConditionGroupCreateManyWorkflowBlockInputEnvelope
|
|
set?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
delete?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
connect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput | Prisma.WorkflowBlockConditionGroupWhereUniqueInput[]
|
|
update?: Prisma.WorkflowBlockConditionGroupUpdateWithWhereUniqueWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupUpdateWithWhereUniqueWithoutWorkflowBlockInput[]
|
|
updateMany?: Prisma.WorkflowBlockConditionGroupUpdateManyWithWhereWithoutWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupUpdateManyWithWhereWithoutWorkflowBlockInput[]
|
|
deleteMany?: Prisma.WorkflowBlockConditionGroupScalarWhereInput | Prisma.WorkflowBlockConditionGroupScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateNestedOneWithoutConditionsInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutConditionsInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutConditionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutConditionsInput
|
|
connect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateOneRequiredWithoutConditionsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutConditionsInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutConditionsInput>
|
|
connectOrCreate?: Prisma.WorkflowBlockConditionGroupCreateOrConnectWithoutConditionsInput
|
|
upsert?: Prisma.WorkflowBlockConditionGroupUpsertWithoutConditionsInput
|
|
connect?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateToOneWithWhereWithoutConditionsInput, Prisma.WorkflowBlockConditionGroupUpdateWithoutConditionsInput>, Prisma.WorkflowBlockConditionGroupUncheckedUpdateWithoutConditionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput = {
|
|
id?: string
|
|
index: number
|
|
type: string
|
|
conditions?: Prisma.WorkflowBlockConditionCreateNestedManyWithoutWorkflowBlockConditionGroupInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput = {
|
|
id?: string
|
|
index: number
|
|
type: string
|
|
conditions?: Prisma.WorkflowBlockConditionUncheckedCreateNestedManyWithoutWorkflowBlockConditionGroupInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateOrConnectWithoutWorkflowBlockInput = {
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput>
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateManyWorkflowBlockInputEnvelope = {
|
|
data: Prisma.WorkflowBlockConditionGroupCreateManyWorkflowBlockInput | Prisma.WorkflowBlockConditionGroupCreateManyWorkflowBlockInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpsertWithWhereUniqueWithoutWorkflowBlockInput = {
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateWithoutWorkflowBlockInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutWorkflowBlockInput>
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateWithWhereUniqueWithoutWorkflowBlockInput = {
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateWithoutWorkflowBlockInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateWithoutWorkflowBlockInput>
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateManyWithWhereWithoutWorkflowBlockInput = {
|
|
where: Prisma.WorkflowBlockConditionGroupScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateManyMutationInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockInput>
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupScalarWhereInput = {
|
|
AND?: Prisma.WorkflowBlockConditionGroupScalarWhereInput | Prisma.WorkflowBlockConditionGroupScalarWhereInput[]
|
|
OR?: Prisma.WorkflowBlockConditionGroupScalarWhereInput[]
|
|
NOT?: Prisma.WorkflowBlockConditionGroupScalarWhereInput | Prisma.WorkflowBlockConditionGroupScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
workflowBlockId?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
index?: Prisma.IntFilter<"WorkflowBlockConditionGroup"> | number
|
|
type?: Prisma.StringFilter<"WorkflowBlockConditionGroup"> | string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateWithoutConditionsInput = {
|
|
id?: string
|
|
index: number
|
|
type: string
|
|
workflowBlock: Prisma.WorkflowBlockCreateNestedOneWithoutConditionsGroupsInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedCreateWithoutConditionsInput = {
|
|
id?: string
|
|
workflowBlockId: string
|
|
index: number
|
|
type: string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateOrConnectWithoutConditionsInput = {
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutConditionsInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutConditionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpsertWithoutConditionsInput = {
|
|
update: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateWithoutConditionsInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateWithoutConditionsInput>
|
|
create: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateWithoutConditionsInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateWithoutConditionsInput>
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateToOneWithWhereWithoutConditionsInput = {
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
data: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateWithoutConditionsInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateWithoutConditionsInput>
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateWithoutConditionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowBlock?: Prisma.WorkflowBlockUpdateOneRequiredWithoutConditionsGroupsNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedUpdateWithoutConditionsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
workflowBlockId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCreateManyWorkflowBlockInput = {
|
|
id?: string
|
|
index: number
|
|
type: string
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUpdateWithoutWorkflowBlockInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
conditions?: Prisma.WorkflowBlockConditionUpdateManyWithoutWorkflowBlockConditionGroupNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedUpdateWithoutWorkflowBlockInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
conditions?: Prisma.WorkflowBlockConditionUncheckedUpdateManyWithoutWorkflowBlockConditionGroupNestedInput
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupUncheckedUpdateManyWithoutWorkflowBlockInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
index?: Prisma.IntFieldUpdateOperationsInput | number
|
|
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type WorkflowBlockConditionGroupCountOutputType
|
|
*/
|
|
|
|
export type WorkflowBlockConditionGroupCountOutputType = {
|
|
conditions: number
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
conditions?: boolean | WorkflowBlockConditionGroupCountOutputTypeCountConditionsArgs
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroupCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockConditionGroupCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlockConditionGroupCountOutputType
|
|
*/
|
|
select?: Prisma.WorkflowBlockConditionGroupCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroupCountOutputType without action
|
|
*/
|
|
export type WorkflowBlockConditionGroupCountOutputTypeCountConditionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkflowBlockConditionWhereInput
|
|
}
|
|
|
|
|
|
export type WorkflowBlockConditionGroupSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
workflowBlockId?: boolean
|
|
index?: boolean
|
|
type?: boolean
|
|
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
|
|
conditions?: boolean | Prisma.WorkflowBlockConditionGroup$conditionsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowBlockConditionGroupCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowBlockConditionGroup"]>
|
|
|
|
export type WorkflowBlockConditionGroupSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
workflowBlockId?: boolean
|
|
index?: boolean
|
|
type?: boolean
|
|
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowBlockConditionGroup"]>
|
|
|
|
export type WorkflowBlockConditionGroupSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
workflowBlockId?: boolean
|
|
index?: boolean
|
|
type?: boolean
|
|
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workflowBlockConditionGroup"]>
|
|
|
|
export type WorkflowBlockConditionGroupSelectScalar = {
|
|
id?: boolean
|
|
workflowBlockId?: boolean
|
|
index?: boolean
|
|
type?: boolean
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "workflowBlockId" | "index" | "type", ExtArgs["result"]["workflowBlockConditionGroup"]>
|
|
export type WorkflowBlockConditionGroupInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
|
|
conditions?: boolean | Prisma.WorkflowBlockConditionGroup$conditionsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.WorkflowBlockConditionGroupCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkflowBlockConditionGroupIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkflowBlockConditionGroupIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
workflowBlock?: boolean | Prisma.WorkflowBlockDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $WorkflowBlockConditionGroupPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "WorkflowBlockConditionGroup"
|
|
objects: {
|
|
workflowBlock: Prisma.$WorkflowBlockPayload<ExtArgs>
|
|
conditions: Prisma.$WorkflowBlockConditionPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
workflowBlockId: string
|
|
index: number
|
|
type: string
|
|
}, ExtArgs["result"]["workflowBlockConditionGroup"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type WorkflowBlockConditionGroupGetPayload<S extends boolean | null | undefined | WorkflowBlockConditionGroupDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload, S>
|
|
|
|
export type WorkflowBlockConditionGroupCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<WorkflowBlockConditionGroupFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: WorkflowBlockConditionGroupCountAggregateInputType | true
|
|
}
|
|
|
|
export interface WorkflowBlockConditionGroupDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkflowBlockConditionGroup'], meta: { name: 'WorkflowBlockConditionGroup' } }
|
|
/**
|
|
* Find zero or one WorkflowBlockConditionGroup that matches the filter.
|
|
* @param {WorkflowBlockConditionGroupFindUniqueArgs} args - Arguments to find a WorkflowBlockConditionGroup
|
|
* @example
|
|
* // Get one WorkflowBlockConditionGroup
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends WorkflowBlockConditionGroupFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one WorkflowBlockConditionGroup that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {WorkflowBlockConditionGroupFindUniqueOrThrowArgs} args - Arguments to find a WorkflowBlockConditionGroup
|
|
* @example
|
|
* // Get one WorkflowBlockConditionGroup
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends WorkflowBlockConditionGroupFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowBlockConditionGroup 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 {WorkflowBlockConditionGroupFindFirstArgs} args - Arguments to find a WorkflowBlockConditionGroup
|
|
* @example
|
|
* // Get one WorkflowBlockConditionGroup
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends WorkflowBlockConditionGroupFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionGroupFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkflowBlockConditionGroup 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 {WorkflowBlockConditionGroupFindFirstOrThrowArgs} args - Arguments to find a WorkflowBlockConditionGroup
|
|
* @example
|
|
* // Get one WorkflowBlockConditionGroup
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends WorkflowBlockConditionGroupFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more WorkflowBlockConditionGroups 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 {WorkflowBlockConditionGroupFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all WorkflowBlockConditionGroups
|
|
* const workflowBlockConditionGroups = await prisma.workflowBlockConditionGroup.findMany()
|
|
*
|
|
* // Get first 10 WorkflowBlockConditionGroups
|
|
* const workflowBlockConditionGroups = await prisma.workflowBlockConditionGroup.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const workflowBlockConditionGroupWithIdOnly = await prisma.workflowBlockConditionGroup.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends WorkflowBlockConditionGroupFindManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a WorkflowBlockConditionGroup.
|
|
* @param {WorkflowBlockConditionGroupCreateArgs} args - Arguments to create a WorkflowBlockConditionGroup.
|
|
* @example
|
|
* // Create one WorkflowBlockConditionGroup
|
|
* const WorkflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.create({
|
|
* data: {
|
|
* // ... data to create a WorkflowBlockConditionGroup
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends WorkflowBlockConditionGroupCreateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupCreateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many WorkflowBlockConditionGroups.
|
|
* @param {WorkflowBlockConditionGroupCreateManyArgs} args - Arguments to create many WorkflowBlockConditionGroups.
|
|
* @example
|
|
* // Create many WorkflowBlockConditionGroups
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends WorkflowBlockConditionGroupCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many WorkflowBlockConditionGroups and returns the data saved in the database.
|
|
* @param {WorkflowBlockConditionGroupCreateManyAndReturnArgs} args - Arguments to create many WorkflowBlockConditionGroups.
|
|
* @example
|
|
* // Create many WorkflowBlockConditionGroups
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many WorkflowBlockConditionGroups and only return the `id`
|
|
* const workflowBlockConditionGroupWithIdOnly = await prisma.workflowBlockConditionGroup.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 WorkflowBlockConditionGroupCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a WorkflowBlockConditionGroup.
|
|
* @param {WorkflowBlockConditionGroupDeleteArgs} args - Arguments to delete one WorkflowBlockConditionGroup.
|
|
* @example
|
|
* // Delete one WorkflowBlockConditionGroup
|
|
* const WorkflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.delete({
|
|
* where: {
|
|
* // ... filter to delete one WorkflowBlockConditionGroup
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends WorkflowBlockConditionGroupDeleteArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one WorkflowBlockConditionGroup.
|
|
* @param {WorkflowBlockConditionGroupUpdateArgs} args - Arguments to update one WorkflowBlockConditionGroup.
|
|
* @example
|
|
* // Update one WorkflowBlockConditionGroup
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends WorkflowBlockConditionGroupUpdateArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more WorkflowBlockConditionGroups.
|
|
* @param {WorkflowBlockConditionGroupDeleteManyArgs} args - Arguments to filter WorkflowBlockConditionGroups to delete.
|
|
* @example
|
|
* // Delete a few WorkflowBlockConditionGroups
|
|
* const { count } = await prisma.workflowBlockConditionGroup.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends WorkflowBlockConditionGroupDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkflowBlockConditionGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowBlockConditionGroups.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockConditionGroupUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many WorkflowBlockConditionGroups
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends WorkflowBlockConditionGroupUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkflowBlockConditionGroups and returns the data updated in the database.
|
|
* @param {WorkflowBlockConditionGroupUpdateManyAndReturnArgs} args - Arguments to update many WorkflowBlockConditionGroups.
|
|
* @example
|
|
* // Update many WorkflowBlockConditionGroups
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more WorkflowBlockConditionGroups and only return the `id`
|
|
* const workflowBlockConditionGroupWithIdOnly = await prisma.workflowBlockConditionGroup.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 WorkflowBlockConditionGroupUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one WorkflowBlockConditionGroup.
|
|
* @param {WorkflowBlockConditionGroupUpsertArgs} args - Arguments to update or create a WorkflowBlockConditionGroup.
|
|
* @example
|
|
* // Update or create a WorkflowBlockConditionGroup
|
|
* const workflowBlockConditionGroup = await prisma.workflowBlockConditionGroup.upsert({
|
|
* create: {
|
|
* // ... data to create a WorkflowBlockConditionGroup
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the WorkflowBlockConditionGroup we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends WorkflowBlockConditionGroupUpsertArgs>(args: Prisma.SelectSubset<T, WorkflowBlockConditionGroupUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockConditionGroupClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionGroupPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of WorkflowBlockConditionGroups.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockConditionGroupCountArgs} args - Arguments to filter WorkflowBlockConditionGroups to count.
|
|
* @example
|
|
* // Count the number of WorkflowBlockConditionGroups
|
|
* const count = await prisma.workflowBlockConditionGroup.count({
|
|
* where: {
|
|
* // ... the filter for the WorkflowBlockConditionGroups we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends WorkflowBlockConditionGroupCountArgs>(
|
|
args?: Prisma.Subset<T, WorkflowBlockConditionGroupCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], WorkflowBlockConditionGroupCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a WorkflowBlockConditionGroup.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockConditionGroupAggregateArgs} 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 WorkflowBlockConditionGroupAggregateArgs>(args: Prisma.Subset<T, WorkflowBlockConditionGroupAggregateArgs>): Prisma.PrismaPromise<GetWorkflowBlockConditionGroupAggregateType<T>>
|
|
|
|
/**
|
|
* Group by WorkflowBlockConditionGroup.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkflowBlockConditionGroupGroupByArgs} 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 WorkflowBlockConditionGroupGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: WorkflowBlockConditionGroupGroupByArgs['orderBy'] }
|
|
: { orderBy?: WorkflowBlockConditionGroupGroupByArgs['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, WorkflowBlockConditionGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkflowBlockConditionGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the WorkflowBlockConditionGroup model
|
|
*/
|
|
readonly fields: WorkflowBlockConditionGroupFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for WorkflowBlockConditionGroup.
|
|
* 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__WorkflowBlockConditionGroupClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
workflowBlock<T extends Prisma.WorkflowBlockDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlockDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkflowBlockClient<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
conditions<T extends Prisma.WorkflowBlockConditionGroup$conditionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkflowBlockConditionGroup$conditionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowBlockConditionPayload<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 WorkflowBlockConditionGroup model
|
|
*/
|
|
export interface WorkflowBlockConditionGroupFieldRefs {
|
|
readonly id: Prisma.FieldRef<"WorkflowBlockConditionGroup", 'String'>
|
|
readonly workflowBlockId: Prisma.FieldRef<"WorkflowBlockConditionGroup", 'String'>
|
|
readonly index: Prisma.FieldRef<"WorkflowBlockConditionGroup", 'Int'>
|
|
readonly type: Prisma.FieldRef<"WorkflowBlockConditionGroup", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* WorkflowBlockConditionGroup findUnique
|
|
*/
|
|
export type WorkflowBlockConditionGroupFindUniqueArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlockConditionGroup to fetch.
|
|
*/
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup findUniqueOrThrow
|
|
*/
|
|
export type WorkflowBlockConditionGroupFindUniqueOrThrowArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlockConditionGroup to fetch.
|
|
*/
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup findFirst
|
|
*/
|
|
export type WorkflowBlockConditionGroupFindFirstArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlockConditionGroup to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlockConditionGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput | Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowBlockConditionGroups.
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlockConditionGroups 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` WorkflowBlockConditionGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowBlockConditionGroups.
|
|
*/
|
|
distinct?: Prisma.WorkflowBlockConditionGroupScalarFieldEnum | Prisma.WorkflowBlockConditionGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup findFirstOrThrow
|
|
*/
|
|
export type WorkflowBlockConditionGroupFindFirstOrThrowArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlockConditionGroup to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlockConditionGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput | Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkflowBlockConditionGroups.
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlockConditionGroups 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` WorkflowBlockConditionGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowBlockConditionGroups.
|
|
*/
|
|
distinct?: Prisma.WorkflowBlockConditionGroupScalarFieldEnum | Prisma.WorkflowBlockConditionGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup findMany
|
|
*/
|
|
export type WorkflowBlockConditionGroupFindManyArgs<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
|
|
/**
|
|
* Filter, which WorkflowBlockConditionGroups to fetch.
|
|
*/
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkflowBlockConditionGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput | Prisma.WorkflowBlockConditionGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing WorkflowBlockConditionGroups.
|
|
*/
|
|
cursor?: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkflowBlockConditionGroups 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` WorkflowBlockConditionGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkflowBlockConditionGroups.
|
|
*/
|
|
distinct?: Prisma.WorkflowBlockConditionGroupScalarFieldEnum | Prisma.WorkflowBlockConditionGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup create
|
|
*/
|
|
export type WorkflowBlockConditionGroupCreateArgs<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
|
|
/**
|
|
* The data needed to create a WorkflowBlockConditionGroup.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup createMany
|
|
*/
|
|
export type WorkflowBlockConditionGroupCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many WorkflowBlockConditionGroups.
|
|
*/
|
|
data: Prisma.WorkflowBlockConditionGroupCreateManyInput | Prisma.WorkflowBlockConditionGroupCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup createManyAndReturn
|
|
*/
|
|
export type WorkflowBlockConditionGroupCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlockConditionGroup
|
|
*/
|
|
select?: Prisma.WorkflowBlockConditionGroupSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlockConditionGroup
|
|
*/
|
|
omit?: Prisma.WorkflowBlockConditionGroupOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many WorkflowBlockConditionGroups.
|
|
*/
|
|
data: Prisma.WorkflowBlockConditionGroupCreateManyInput | Prisma.WorkflowBlockConditionGroupCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockConditionGroupIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup update
|
|
*/
|
|
export type WorkflowBlockConditionGroupUpdateArgs<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
|
|
/**
|
|
* The data needed to update a WorkflowBlockConditionGroup.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which WorkflowBlockConditionGroup to update.
|
|
*/
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup updateMany
|
|
*/
|
|
export type WorkflowBlockConditionGroupUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update WorkflowBlockConditionGroups.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateManyMutationInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowBlockConditionGroups to update
|
|
*/
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
/**
|
|
* Limit how many WorkflowBlockConditionGroups to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup updateManyAndReturn
|
|
*/
|
|
export type WorkflowBlockConditionGroupUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlockConditionGroup
|
|
*/
|
|
select?: Prisma.WorkflowBlockConditionGroupSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlockConditionGroup
|
|
*/
|
|
omit?: Prisma.WorkflowBlockConditionGroupOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update WorkflowBlockConditionGroups.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateManyMutationInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkflowBlockConditionGroups to update
|
|
*/
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
/**
|
|
* Limit how many WorkflowBlockConditionGroups to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockConditionGroupIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup upsert
|
|
*/
|
|
export type WorkflowBlockConditionGroupUpsertArgs<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
|
|
/**
|
|
* The filter to search for the WorkflowBlockConditionGroup to update in case it exists.
|
|
*/
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
/**
|
|
* In case the WorkflowBlockConditionGroup found by the `where` argument doesn't exist, create a new WorkflowBlockConditionGroup with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.WorkflowBlockConditionGroupCreateInput, Prisma.WorkflowBlockConditionGroupUncheckedCreateInput>
|
|
/**
|
|
* In case the WorkflowBlockConditionGroup was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.WorkflowBlockConditionGroupUpdateInput, Prisma.WorkflowBlockConditionGroupUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup delete
|
|
*/
|
|
export type WorkflowBlockConditionGroupDeleteArgs<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
|
|
/**
|
|
* Filter which WorkflowBlockConditionGroup to delete.
|
|
*/
|
|
where: Prisma.WorkflowBlockConditionGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup deleteMany
|
|
*/
|
|
export type WorkflowBlockConditionGroupDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkflowBlockConditionGroups to delete
|
|
*/
|
|
where?: Prisma.WorkflowBlockConditionGroupWhereInput
|
|
/**
|
|
* Limit how many WorkflowBlockConditionGroups to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup.conditions
|
|
*/
|
|
export type WorkflowBlockConditionGroup$conditionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkflowBlockCondition
|
|
*/
|
|
select?: Prisma.WorkflowBlockConditionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkflowBlockCondition
|
|
*/
|
|
omit?: Prisma.WorkflowBlockConditionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkflowBlockConditionInclude<ExtArgs> | null
|
|
where?: Prisma.WorkflowBlockConditionWhereInput
|
|
orderBy?: Prisma.WorkflowBlockConditionOrderByWithRelationInput | Prisma.WorkflowBlockConditionOrderByWithRelationInput[]
|
|
cursor?: Prisma.WorkflowBlockConditionWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.WorkflowBlockConditionScalarFieldEnum | Prisma.WorkflowBlockConditionScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkflowBlockConditionGroup without action
|
|
*/
|
|
export type WorkflowBlockConditionGroupDefaultArgs<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
|
|
}
|