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