/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Pipeline` 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 Pipeline * */ export type PipelineModel = runtime.Types.Result.DefaultSelection export type AggregatePipeline = { _count: PipelineCountAggregateOutputType | null _avg: PipelineAvgAggregateOutputType | null _sum: PipelineSumAggregateOutputType | null _min: PipelineMinAggregateOutputType | null _max: PipelineMaxAggregateOutputType | null } export type PipelineAvgAggregateOutputType = { id: number | null valid: number | null projectId: number | null } export type PipelineSumAggregateOutputType = { id: number | null valid: number | null projectId: number | null } export type PipelineMinAggregateOutputType = { id: number | null name: string | null description: string | null valid: number | null createdAt: Date | null updatedAt: Date | null createdBy: string | null updatedBy: string | null projectId: number | null } export type PipelineMaxAggregateOutputType = { id: number | null name: string | null description: string | null valid: number | null createdAt: Date | null updatedAt: Date | null createdBy: string | null updatedBy: string | null projectId: number | null } export type PipelineCountAggregateOutputType = { id: number name: number description: number valid: number createdAt: number updatedAt: number createdBy: number updatedBy: number projectId: number _all: number } export type PipelineAvgAggregateInputType = { id?: true valid?: true projectId?: true } export type PipelineSumAggregateInputType = { id?: true valid?: true projectId?: true } export type PipelineMinAggregateInputType = { id?: true name?: true description?: true valid?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true } export type PipelineMaxAggregateInputType = { id?: true name?: true description?: true valid?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true } export type PipelineCountAggregateInputType = { id?: true name?: true description?: true valid?: true createdAt?: true updatedAt?: true createdBy?: true updatedBy?: true projectId?: true _all?: true } export type PipelineAggregateArgs = { /** * Filter which Pipeline to aggregate. */ where?: Prisma.PipelineWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pipelines to fetch. */ orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.PipelineWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pipelines 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` Pipelines. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Pipelines **/ _count?: true | PipelineCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: PipelineAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: PipelineSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PipelineMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PipelineMaxAggregateInputType } export type GetPipelineAggregateType = { [P in keyof T & keyof AggregatePipeline]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type PipelineGroupByArgs = { where?: Prisma.PipelineWhereInput orderBy?: Prisma.PipelineOrderByWithAggregationInput | Prisma.PipelineOrderByWithAggregationInput[] by: Prisma.PipelineScalarFieldEnum[] | Prisma.PipelineScalarFieldEnum having?: Prisma.PipelineScalarWhereWithAggregatesInput take?: number skip?: number _count?: PipelineCountAggregateInputType | true _avg?: PipelineAvgAggregateInputType _sum?: PipelineSumAggregateInputType _min?: PipelineMinAggregateInputType _max?: PipelineMaxAggregateInputType } export type PipelineGroupByOutputType = { id: number name: string description: string | null valid: number createdAt: Date updatedAt: Date createdBy: string updatedBy: string projectId: number | null _count: PipelineCountAggregateOutputType | null _avg: PipelineAvgAggregateOutputType | null _sum: PipelineSumAggregateOutputType | null _min: PipelineMinAggregateOutputType | null _max: PipelineMaxAggregateOutputType | null } type GetPipelineGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof PipelineGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type PipelineWhereInput = { AND?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[] OR?: Prisma.PipelineWhereInput[] NOT?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[] id?: Prisma.IntFilter<"Pipeline"> | number name?: Prisma.StringFilter<"Pipeline"> | string description?: Prisma.StringNullableFilter<"Pipeline"> | string | null valid?: Prisma.IntFilter<"Pipeline"> | number createdAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string createdBy?: Prisma.StringFilter<"Pipeline"> | string updatedBy?: Prisma.StringFilter<"Pipeline"> | string projectId?: Prisma.IntNullableFilter<"Pipeline"> | number | null Project?: Prisma.XOR | null steps?: Prisma.StepListRelationFilter } export type PipelineOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder valid?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder createdBy?: Prisma.SortOrder updatedBy?: Prisma.SortOrder projectId?: Prisma.SortOrderInput | Prisma.SortOrder Project?: Prisma.ProjectOrderByWithRelationInput steps?: Prisma.StepOrderByRelationAggregateInput } export type PipelineWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[] OR?: Prisma.PipelineWhereInput[] NOT?: Prisma.PipelineWhereInput | Prisma.PipelineWhereInput[] name?: Prisma.StringFilter<"Pipeline"> | string description?: Prisma.StringNullableFilter<"Pipeline"> | string | null valid?: Prisma.IntFilter<"Pipeline"> | number createdAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string createdBy?: Prisma.StringFilter<"Pipeline"> | string updatedBy?: Prisma.StringFilter<"Pipeline"> | string projectId?: Prisma.IntNullableFilter<"Pipeline"> | number | null Project?: Prisma.XOR | null steps?: Prisma.StepListRelationFilter }, "id"> export type PipelineOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder valid?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder createdBy?: Prisma.SortOrder updatedBy?: Prisma.SortOrder projectId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.PipelineCountOrderByAggregateInput _avg?: Prisma.PipelineAvgOrderByAggregateInput _max?: Prisma.PipelineMaxOrderByAggregateInput _min?: Prisma.PipelineMinOrderByAggregateInput _sum?: Prisma.PipelineSumOrderByAggregateInput } export type PipelineScalarWhereWithAggregatesInput = { AND?: Prisma.PipelineScalarWhereWithAggregatesInput | Prisma.PipelineScalarWhereWithAggregatesInput[] OR?: Prisma.PipelineScalarWhereWithAggregatesInput[] NOT?: Prisma.PipelineScalarWhereWithAggregatesInput | Prisma.PipelineScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"Pipeline"> | number name?: Prisma.StringWithAggregatesFilter<"Pipeline"> | string description?: Prisma.StringNullableWithAggregatesFilter<"Pipeline"> | string | null valid?: Prisma.IntWithAggregatesFilter<"Pipeline"> | number createdAt?: Prisma.DateTimeWithAggregatesFilter<"Pipeline"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Pipeline"> | Date | string createdBy?: Prisma.StringWithAggregatesFilter<"Pipeline"> | string updatedBy?: Prisma.StringWithAggregatesFilter<"Pipeline"> | string projectId?: Prisma.IntNullableWithAggregatesFilter<"Pipeline"> | number | null } export type PipelineCreateInput = { name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string Project?: Prisma.ProjectCreateNestedOneWithoutPipelinesInput steps?: Prisma.StepCreateNestedManyWithoutPipelineInput } export type PipelineUncheckedCreateInput = { id?: number name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string projectId?: number | null steps?: Prisma.StepUncheckedCreateNestedManyWithoutPipelineInput } export type PipelineUpdateInput = { name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string Project?: Prisma.ProjectUpdateOneWithoutPipelinesNestedInput steps?: Prisma.StepUpdateManyWithoutPipelineNestedInput } export type PipelineUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null steps?: Prisma.StepUncheckedUpdateManyWithoutPipelineNestedInput } export type PipelineCreateManyInput = { id?: number name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string projectId?: number | null } export type PipelineUpdateManyMutationInput = { name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string } export type PipelineUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type PipelineListRelationFilter = { every?: Prisma.PipelineWhereInput some?: Prisma.PipelineWhereInput none?: Prisma.PipelineWhereInput } export type PipelineOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type PipelineCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder valid?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder createdBy?: Prisma.SortOrder updatedBy?: Prisma.SortOrder projectId?: Prisma.SortOrder } export type PipelineAvgOrderByAggregateInput = { id?: Prisma.SortOrder valid?: Prisma.SortOrder projectId?: Prisma.SortOrder } export type PipelineMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder valid?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder createdBy?: Prisma.SortOrder updatedBy?: Prisma.SortOrder projectId?: Prisma.SortOrder } export type PipelineMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder valid?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder createdBy?: Prisma.SortOrder updatedBy?: Prisma.SortOrder projectId?: Prisma.SortOrder } export type PipelineSumOrderByAggregateInput = { id?: Prisma.SortOrder valid?: Prisma.SortOrder projectId?: Prisma.SortOrder } export type PipelineScalarRelationFilter = { is?: Prisma.PipelineWhereInput isNot?: Prisma.PipelineWhereInput } export type PipelineCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.PipelineCreateWithoutProjectInput[] | Prisma.PipelineUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutProjectInput | Prisma.PipelineCreateOrConnectWithoutProjectInput[] createMany?: Prisma.PipelineCreateManyProjectInputEnvelope connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] } export type PipelineUncheckedCreateNestedManyWithoutProjectInput = { create?: Prisma.XOR | Prisma.PipelineCreateWithoutProjectInput[] | Prisma.PipelineUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutProjectInput | Prisma.PipelineCreateOrConnectWithoutProjectInput[] createMany?: Prisma.PipelineCreateManyProjectInputEnvelope connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] } export type PipelineUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.PipelineCreateWithoutProjectInput[] | Prisma.PipelineUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutProjectInput | Prisma.PipelineCreateOrConnectWithoutProjectInput[] upsert?: Prisma.PipelineUpsertWithWhereUniqueWithoutProjectInput | Prisma.PipelineUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.PipelineCreateManyProjectInputEnvelope set?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] disconnect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] delete?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] update?: Prisma.PipelineUpdateWithWhereUniqueWithoutProjectInput | Prisma.PipelineUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.PipelineUpdateManyWithWhereWithoutProjectInput | Prisma.PipelineUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[] } export type PipelineUncheckedUpdateManyWithoutProjectNestedInput = { create?: Prisma.XOR | Prisma.PipelineCreateWithoutProjectInput[] | Prisma.PipelineUncheckedCreateWithoutProjectInput[] connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutProjectInput | Prisma.PipelineCreateOrConnectWithoutProjectInput[] upsert?: Prisma.PipelineUpsertWithWhereUniqueWithoutProjectInput | Prisma.PipelineUpsertWithWhereUniqueWithoutProjectInput[] createMany?: Prisma.PipelineCreateManyProjectInputEnvelope set?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] disconnect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] delete?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] connect?: Prisma.PipelineWhereUniqueInput | Prisma.PipelineWhereUniqueInput[] update?: Prisma.PipelineUpdateWithWhereUniqueWithoutProjectInput | Prisma.PipelineUpdateWithWhereUniqueWithoutProjectInput[] updateMany?: Prisma.PipelineUpdateManyWithWhereWithoutProjectInput | Prisma.PipelineUpdateManyWithWhereWithoutProjectInput[] deleteMany?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[] } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type PipelineCreateNestedOneWithoutStepsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutStepsInput connect?: Prisma.PipelineWhereUniqueInput } export type PipelineUpdateOneRequiredWithoutStepsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.PipelineCreateOrConnectWithoutStepsInput upsert?: Prisma.PipelineUpsertWithoutStepsInput connect?: Prisma.PipelineWhereUniqueInput update?: Prisma.XOR, Prisma.PipelineUncheckedUpdateWithoutStepsInput> } export type PipelineCreateWithoutProjectInput = { name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string steps?: Prisma.StepCreateNestedManyWithoutPipelineInput } export type PipelineUncheckedCreateWithoutProjectInput = { id?: number name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string steps?: Prisma.StepUncheckedCreateNestedManyWithoutPipelineInput } export type PipelineCreateOrConnectWithoutProjectInput = { where: Prisma.PipelineWhereUniqueInput create: Prisma.XOR } export type PipelineCreateManyProjectInputEnvelope = { data: Prisma.PipelineCreateManyProjectInput | Prisma.PipelineCreateManyProjectInput[] } export type PipelineUpsertWithWhereUniqueWithoutProjectInput = { where: Prisma.PipelineWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PipelineUpdateWithWhereUniqueWithoutProjectInput = { where: Prisma.PipelineWhereUniqueInput data: Prisma.XOR } export type PipelineUpdateManyWithWhereWithoutProjectInput = { where: Prisma.PipelineScalarWhereInput data: Prisma.XOR } export type PipelineScalarWhereInput = { AND?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[] OR?: Prisma.PipelineScalarWhereInput[] NOT?: Prisma.PipelineScalarWhereInput | Prisma.PipelineScalarWhereInput[] id?: Prisma.IntFilter<"Pipeline"> | number name?: Prisma.StringFilter<"Pipeline"> | string description?: Prisma.StringNullableFilter<"Pipeline"> | string | null valid?: Prisma.IntFilter<"Pipeline"> | number createdAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Pipeline"> | Date | string createdBy?: Prisma.StringFilter<"Pipeline"> | string updatedBy?: Prisma.StringFilter<"Pipeline"> | string projectId?: Prisma.IntNullableFilter<"Pipeline"> | number | null } export type PipelineCreateWithoutStepsInput = { name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string Project?: Prisma.ProjectCreateNestedOneWithoutPipelinesInput } export type PipelineUncheckedCreateWithoutStepsInput = { id?: number name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string projectId?: number | null } export type PipelineCreateOrConnectWithoutStepsInput = { where: Prisma.PipelineWhereUniqueInput create: Prisma.XOR } export type PipelineUpsertWithoutStepsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.PipelineWhereInput } export type PipelineUpdateToOneWithWhereWithoutStepsInput = { where?: Prisma.PipelineWhereInput data: Prisma.XOR } export type PipelineUpdateWithoutStepsInput = { name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string Project?: Prisma.ProjectUpdateOneWithoutPipelinesNestedInput } export type PipelineUncheckedUpdateWithoutStepsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string projectId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null } export type PipelineCreateManyProjectInput = { id?: number name: string description?: string | null valid?: number createdAt?: Date | string updatedAt?: Date | string createdBy: string updatedBy: string } export type PipelineUpdateWithoutProjectInput = { name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string steps?: Prisma.StepUpdateManyWithoutPipelineNestedInput } export type PipelineUncheckedUpdateWithoutProjectInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string steps?: Prisma.StepUncheckedUpdateManyWithoutPipelineNestedInput } export type PipelineUncheckedUpdateManyWithoutProjectInput = { id?: Prisma.IntFieldUpdateOperationsInput | number name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null valid?: Prisma.IntFieldUpdateOperationsInput | number createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string createdBy?: Prisma.StringFieldUpdateOperationsInput | string updatedBy?: Prisma.StringFieldUpdateOperationsInput | string } /** * Count Type PipelineCountOutputType */ export type PipelineCountOutputType = { steps: number } export type PipelineCountOutputTypeSelect = { steps?: boolean | PipelineCountOutputTypeCountStepsArgs } /** * PipelineCountOutputType without action */ export type PipelineCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the PipelineCountOutputType */ select?: Prisma.PipelineCountOutputTypeSelect | null } /** * PipelineCountOutputType without action */ export type PipelineCountOutputTypeCountStepsArgs = { where?: Prisma.StepWhereInput } export type PipelineSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean valid?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean Project?: boolean | Prisma.Pipeline$ProjectArgs steps?: boolean | Prisma.Pipeline$stepsArgs _count?: boolean | Prisma.PipelineCountOutputTypeDefaultArgs }, ExtArgs["result"]["pipeline"]> export type PipelineSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean valid?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean Project?: boolean | Prisma.Pipeline$ProjectArgs }, ExtArgs["result"]["pipeline"]> export type PipelineSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean description?: boolean valid?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean Project?: boolean | Prisma.Pipeline$ProjectArgs }, ExtArgs["result"]["pipeline"]> export type PipelineSelectScalar = { id?: boolean name?: boolean description?: boolean valid?: boolean createdAt?: boolean updatedAt?: boolean createdBy?: boolean updatedBy?: boolean projectId?: boolean } export type PipelineOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "valid" | "createdAt" | "updatedAt" | "createdBy" | "updatedBy" | "projectId", ExtArgs["result"]["pipeline"]> export type PipelineInclude = { Project?: boolean | Prisma.Pipeline$ProjectArgs steps?: boolean | Prisma.Pipeline$stepsArgs _count?: boolean | Prisma.PipelineCountOutputTypeDefaultArgs } export type PipelineIncludeCreateManyAndReturn = { Project?: boolean | Prisma.Pipeline$ProjectArgs } export type PipelineIncludeUpdateManyAndReturn = { Project?: boolean | Prisma.Pipeline$ProjectArgs } export type $PipelinePayload = { name: "Pipeline" objects: { Project: Prisma.$ProjectPayload | null steps: Prisma.$StepPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number name: string description: string | null valid: number createdAt: Date updatedAt: Date createdBy: string updatedBy: string projectId: number | null }, ExtArgs["result"]["pipeline"]> composites: {} } export type PipelineGetPayload = runtime.Types.Result.GetResult export type PipelineCountArgs = Omit & { select?: PipelineCountAggregateInputType | true } export interface PipelineDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Pipeline'], meta: { name: 'Pipeline' } } /** * Find zero or one Pipeline that matches the filter. * @param {PipelineFindUniqueArgs} args - Arguments to find a Pipeline * @example * // Get one Pipeline * const pipeline = await prisma.pipeline.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Pipeline that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PipelineFindUniqueOrThrowArgs} args - Arguments to find a Pipeline * @example * // Get one Pipeline * const pipeline = await prisma.pipeline.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Pipeline 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 {PipelineFindFirstArgs} args - Arguments to find a Pipeline * @example * // Get one Pipeline * const pipeline = await prisma.pipeline.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Pipeline 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 {PipelineFindFirstOrThrowArgs} args - Arguments to find a Pipeline * @example * // Get one Pipeline * const pipeline = await prisma.pipeline.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Pipelines 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 {PipelineFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Pipelines * const pipelines = await prisma.pipeline.findMany() * * // Get first 10 Pipelines * const pipelines = await prisma.pipeline.findMany({ take: 10 }) * * // Only select the `id` * const pipelineWithIdOnly = await prisma.pipeline.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Pipeline. * @param {PipelineCreateArgs} args - Arguments to create a Pipeline. * @example * // Create one Pipeline * const Pipeline = await prisma.pipeline.create({ * data: { * // ... data to create a Pipeline * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Pipelines. * @param {PipelineCreateManyArgs} args - Arguments to create many Pipelines. * @example * // Create many Pipelines * const pipeline = await prisma.pipeline.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Pipelines and returns the data saved in the database. * @param {PipelineCreateManyAndReturnArgs} args - Arguments to create many Pipelines. * @example * // Create many Pipelines * const pipeline = await prisma.pipeline.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Pipelines and only return the `id` * const pipelineWithIdOnly = await prisma.pipeline.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 Pipeline. * @param {PipelineDeleteArgs} args - Arguments to delete one Pipeline. * @example * // Delete one Pipeline * const Pipeline = await prisma.pipeline.delete({ * where: { * // ... filter to delete one Pipeline * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Pipeline. * @param {PipelineUpdateArgs} args - Arguments to update one Pipeline. * @example * // Update one Pipeline * const pipeline = await prisma.pipeline.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Pipelines. * @param {PipelineDeleteManyArgs} args - Arguments to filter Pipelines to delete. * @example * // Delete a few Pipelines * const { count } = await prisma.pipeline.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Pipelines. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Pipelines * const pipeline = await prisma.pipeline.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Pipelines and returns the data updated in the database. * @param {PipelineUpdateManyAndReturnArgs} args - Arguments to update many Pipelines. * @example * // Update many Pipelines * const pipeline = await prisma.pipeline.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Pipelines and only return the `id` * const pipelineWithIdOnly = await prisma.pipeline.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 Pipeline. * @param {PipelineUpsertArgs} args - Arguments to update or create a Pipeline. * @example * // Update or create a Pipeline * const pipeline = await prisma.pipeline.upsert({ * create: { * // ... data to create a Pipeline * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Pipeline we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__PipelineClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Pipelines. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineCountArgs} args - Arguments to filter Pipelines to count. * @example * // Count the number of Pipelines * const count = await prisma.pipeline.count({ * where: { * // ... the filter for the Pipelines 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 Pipeline. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineAggregateArgs} 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 Pipeline. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PipelineGroupByArgs} 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 PipelineGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: PipelineGroupByArgs['orderBy'] } : { orderBy?: PipelineGroupByArgs['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 ? GetPipelineGroupByPayload : Prisma.PrismaPromise /** * Fields of the Pipeline model */ readonly fields: PipelineFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Pipeline. * 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__PipelineClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" Project = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProjectClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> steps = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(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 Pipeline model */ export interface PipelineFieldRefs { readonly id: Prisma.FieldRef<"Pipeline", 'Int'> readonly name: Prisma.FieldRef<"Pipeline", 'String'> readonly description: Prisma.FieldRef<"Pipeline", 'String'> readonly valid: Prisma.FieldRef<"Pipeline", 'Int'> readonly createdAt: Prisma.FieldRef<"Pipeline", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Pipeline", 'DateTime'> readonly createdBy: Prisma.FieldRef<"Pipeline", 'String'> readonly updatedBy: Prisma.FieldRef<"Pipeline", 'String'> readonly projectId: Prisma.FieldRef<"Pipeline", 'Int'> } // Custom InputTypes /** * Pipeline findUnique */ export type PipelineFindUniqueArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * Filter, which Pipeline to fetch. */ where: Prisma.PipelineWhereUniqueInput } /** * Pipeline findUniqueOrThrow */ export type PipelineFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * Filter, which Pipeline to fetch. */ where: Prisma.PipelineWhereUniqueInput } /** * Pipeline findFirst */ export type PipelineFindFirstArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * Filter, which Pipeline to fetch. */ where?: Prisma.PipelineWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pipelines to fetch. */ orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Pipelines. */ cursor?: Prisma.PipelineWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pipelines 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` Pipelines. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Pipelines. */ distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[] } /** * Pipeline findFirstOrThrow */ export type PipelineFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * Filter, which Pipeline to fetch. */ where?: Prisma.PipelineWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pipelines to fetch. */ orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Pipelines. */ cursor?: Prisma.PipelineWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pipelines 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` Pipelines. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Pipelines. */ distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[] } /** * Pipeline findMany */ export type PipelineFindManyArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * Filter, which Pipelines to fetch. */ where?: Prisma.PipelineWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Pipelines to fetch. */ orderBy?: Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Pipelines. */ cursor?: Prisma.PipelineWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Pipelines 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` Pipelines. */ skip?: number distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[] } /** * Pipeline create */ export type PipelineCreateArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * The data needed to create a Pipeline. */ data: Prisma.XOR } /** * Pipeline createMany */ export type PipelineCreateManyArgs = { /** * The data used to create many Pipelines. */ data: Prisma.PipelineCreateManyInput | Prisma.PipelineCreateManyInput[] } /** * Pipeline createManyAndReturn */ export type PipelineCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelectCreateManyAndReturn | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * The data used to create many Pipelines. */ data: Prisma.PipelineCreateManyInput | Prisma.PipelineCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineIncludeCreateManyAndReturn | null } /** * Pipeline update */ export type PipelineUpdateArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * The data needed to update a Pipeline. */ data: Prisma.XOR /** * Choose, which Pipeline to update. */ where: Prisma.PipelineWhereUniqueInput } /** * Pipeline updateMany */ export type PipelineUpdateManyArgs = { /** * The data used to update Pipelines. */ data: Prisma.XOR /** * Filter which Pipelines to update */ where?: Prisma.PipelineWhereInput /** * Limit how many Pipelines to update. */ limit?: number } /** * Pipeline updateManyAndReturn */ export type PipelineUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelectUpdateManyAndReturn | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * The data used to update Pipelines. */ data: Prisma.XOR /** * Filter which Pipelines to update */ where?: Prisma.PipelineWhereInput /** * Limit how many Pipelines to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineIncludeUpdateManyAndReturn | null } /** * Pipeline upsert */ export type PipelineUpsertArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * The filter to search for the Pipeline to update in case it exists. */ where: Prisma.PipelineWhereUniqueInput /** * In case the Pipeline found by the `where` argument doesn't exist, create a new Pipeline with this data. */ create: Prisma.XOR /** * In case the Pipeline was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Pipeline delete */ export type PipelineDeleteArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null /** * Filter which Pipeline to delete. */ where: Prisma.PipelineWhereUniqueInput } /** * Pipeline deleteMany */ export type PipelineDeleteManyArgs = { /** * Filter which Pipelines to delete */ where?: Prisma.PipelineWhereInput /** * Limit how many Pipelines to delete. */ limit?: number } /** * Pipeline.Project */ export type Pipeline$ProjectArgs = { /** * Select specific fields to fetch from the Project */ select?: Prisma.ProjectSelect | null /** * Omit specific fields from the Project */ omit?: Prisma.ProjectOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProjectInclude | null where?: Prisma.ProjectWhereInput } /** * Pipeline.steps */ export type Pipeline$stepsArgs = { /** * Select specific fields to fetch from the Step */ select?: Prisma.StepSelect | null /** * Omit specific fields from the Step */ omit?: Prisma.StepOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.StepInclude | null where?: Prisma.StepWhereInput orderBy?: Prisma.StepOrderByWithRelationInput | Prisma.StepOrderByWithRelationInput[] cursor?: Prisma.StepWhereUniqueInput take?: number skip?: number distinct?: Prisma.StepScalarFieldEnum | Prisma.StepScalarFieldEnum[] } /** * Pipeline without action */ export type PipelineDefaultArgs = { /** * Select specific fields to fetch from the Pipeline */ select?: Prisma.PipelineSelect | null /** * Omit specific fields from the Pipeline */ omit?: Prisma.PipelineOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PipelineInclude | null }