/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Project` 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 Project * */ export type ProjectModel = runtime.Types.Result.DefaultSelection; export type AggregateProject = { _count: ProjectCountAggregateOutputType | null; _avg: ProjectAvgAggregateOutputType | null; _sum: ProjectSumAggregateOutputType | null; _min: ProjectMinAggregateOutputType | null; _max: ProjectMaxAggregateOutputType | null; }; export type ProjectAvgAggregateOutputType = { id: number | null; valid: number | null; }; export type ProjectSumAggregateOutputType = { id: number | null; valid: number | null; }; export type ProjectMinAggregateOutputType = { id: number | null; name: string | null; description: string | null; repository: string | null; projectDir: string | null; envPresets: string | null; valid: number | null; createdAt: Date | null; updatedAt: Date | null; createdBy: string | null; updatedBy: string | null; }; export type ProjectMaxAggregateOutputType = { id: number | null; name: string | null; description: string | null; repository: string | null; projectDir: string | null; envPresets: string | null; valid: number | null; createdAt: Date | null; updatedAt: Date | null; createdBy: string | null; updatedBy: string | null; }; export type ProjectCountAggregateOutputType = { id: number; name: number; description: number; repository: number; projectDir: number; envPresets: number; valid: number; createdAt: number; updatedAt: number; createdBy: number; updatedBy: number; _all: number; }; export type ProjectAvgAggregateInputType = { id?: true; valid?: true; }; export type ProjectSumAggregateInputType = { id?: true; valid?: true; }; export type ProjectMinAggregateInputType = { id?: true; name?: true; description?: true; repository?: true; projectDir?: true; envPresets?: true; valid?: true; createdAt?: true; updatedAt?: true; createdBy?: true; updatedBy?: true; }; export type ProjectMaxAggregateInputType = { id?: true; name?: true; description?: true; repository?: true; projectDir?: true; envPresets?: true; valid?: true; createdAt?: true; updatedAt?: true; createdBy?: true; updatedBy?: true; }; export type ProjectCountAggregateInputType = { id?: true; name?: true; description?: true; repository?: true; projectDir?: true; envPresets?: true; valid?: true; createdAt?: true; updatedAt?: true; createdBy?: true; updatedBy?: true; _all?: true; }; export type ProjectAggregateArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * Filter which Project to aggregate. */ where?: Prisma.ProjectWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: | Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ProjectWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Projects **/ _count?: true | ProjectCountAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ProjectAvgAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ProjectSumAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProjectMinAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProjectMaxAggregateInputType; }; export type GetProjectAggregateType = { [P in keyof T & keyof AggregateProject]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type ProjectGroupByArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { where?: Prisma.ProjectWhereInput; orderBy?: | Prisma.ProjectOrderByWithAggregationInput | Prisma.ProjectOrderByWithAggregationInput[]; by: Prisma.ProjectScalarFieldEnum[] | Prisma.ProjectScalarFieldEnum; having?: Prisma.ProjectScalarWhereWithAggregatesInput; take?: number; skip?: number; _count?: ProjectCountAggregateInputType | true; _avg?: ProjectAvgAggregateInputType; _sum?: ProjectSumAggregateInputType; _min?: ProjectMinAggregateInputType; _max?: ProjectMaxAggregateInputType; }; export type ProjectGroupByOutputType = { id: number; name: string; description: string | null; repository: string; projectDir: string; envPresets: string | null; valid: number; createdAt: Date; updatedAt: Date; createdBy: string; updatedBy: string; _count: ProjectCountAggregateOutputType | null; _avg: ProjectAvgAggregateOutputType | null; _sum: ProjectSumAggregateOutputType | null; _min: ProjectMinAggregateOutputType | null; _max: ProjectMaxAggregateOutputType | null; }; type GetProjectGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in keyof T & keyof ProjectGroupByOutputType]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; } > >; export type ProjectWhereInput = { AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]; OR?: Prisma.ProjectWhereInput[]; NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]; id?: Prisma.IntFilter<'Project'> | number; name?: Prisma.StringFilter<'Project'> | string; description?: Prisma.StringNullableFilter<'Project'> | string | null; repository?: Prisma.StringFilter<'Project'> | string; projectDir?: Prisma.StringFilter<'Project'> | string; envPresets?: Prisma.StringNullableFilter<'Project'> | string | null; valid?: Prisma.IntFilter<'Project'> | number; createdAt?: Prisma.DateTimeFilter<'Project'> | Date | string; updatedAt?: Prisma.DateTimeFilter<'Project'> | Date | string; createdBy?: Prisma.StringFilter<'Project'> | string; updatedBy?: Prisma.StringFilter<'Project'> | string; deployments?: Prisma.DeploymentListRelationFilter; pipelines?: Prisma.PipelineListRelationFilter; }; export type ProjectOrderByWithRelationInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; description?: Prisma.SortOrderInput | Prisma.SortOrder; repository?: Prisma.SortOrder; projectDir?: Prisma.SortOrder; envPresets?: Prisma.SortOrderInput | Prisma.SortOrder; valid?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; updatedAt?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; updatedBy?: Prisma.SortOrder; deployments?: Prisma.DeploymentOrderByRelationAggregateInput; pipelines?: Prisma.PipelineOrderByRelationAggregateInput; }; export type ProjectWhereUniqueInput = Prisma.AtLeast< { id?: number; projectDir?: string; AND?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]; OR?: Prisma.ProjectWhereInput[]; NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]; name?: Prisma.StringFilter<'Project'> | string; description?: Prisma.StringNullableFilter<'Project'> | string | null; repository?: Prisma.StringFilter<'Project'> | string; envPresets?: Prisma.StringNullableFilter<'Project'> | string | null; valid?: Prisma.IntFilter<'Project'> | number; createdAt?: Prisma.DateTimeFilter<'Project'> | Date | string; updatedAt?: Prisma.DateTimeFilter<'Project'> | Date | string; createdBy?: Prisma.StringFilter<'Project'> | string; updatedBy?: Prisma.StringFilter<'Project'> | string; deployments?: Prisma.DeploymentListRelationFilter; pipelines?: Prisma.PipelineListRelationFilter; }, 'id' | 'projectDir' >; export type ProjectOrderByWithAggregationInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; description?: Prisma.SortOrderInput | Prisma.SortOrder; repository?: Prisma.SortOrder; projectDir?: Prisma.SortOrder; envPresets?: Prisma.SortOrderInput | Prisma.SortOrder; valid?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; updatedAt?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; updatedBy?: Prisma.SortOrder; _count?: Prisma.ProjectCountOrderByAggregateInput; _avg?: Prisma.ProjectAvgOrderByAggregateInput; _max?: Prisma.ProjectMaxOrderByAggregateInput; _min?: Prisma.ProjectMinOrderByAggregateInput; _sum?: Prisma.ProjectSumOrderByAggregateInput; }; export type ProjectScalarWhereWithAggregatesInput = { AND?: | Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]; OR?: Prisma.ProjectScalarWhereWithAggregatesInput[]; NOT?: | Prisma.ProjectScalarWhereWithAggregatesInput | Prisma.ProjectScalarWhereWithAggregatesInput[]; id?: Prisma.IntWithAggregatesFilter<'Project'> | number; name?: Prisma.StringWithAggregatesFilter<'Project'> | string; description?: | Prisma.StringNullableWithAggregatesFilter<'Project'> | string | null; repository?: Prisma.StringWithAggregatesFilter<'Project'> | string; projectDir?: Prisma.StringWithAggregatesFilter<'Project'> | string; envPresets?: | Prisma.StringNullableWithAggregatesFilter<'Project'> | string | null; valid?: Prisma.IntWithAggregatesFilter<'Project'> | number; createdAt?: Prisma.DateTimeWithAggregatesFilter<'Project'> | Date | string; updatedAt?: Prisma.DateTimeWithAggregatesFilter<'Project'> | Date | string; createdBy?: Prisma.StringWithAggregatesFilter<'Project'> | string; updatedBy?: Prisma.StringWithAggregatesFilter<'Project'> | string; }; export type ProjectCreateInput = { name: string; description?: string | null; repository: string; projectDir: string; envPresets?: string | null; valid?: number; createdAt?: Date | string; updatedAt?: Date | string; createdBy: string; updatedBy: string; deployments?: Prisma.DeploymentCreateNestedManyWithoutProjectInput; pipelines?: Prisma.PipelineCreateNestedManyWithoutProjectInput; }; export type ProjectUncheckedCreateInput = { id?: number; name: string; description?: string | null; repository: string; projectDir: string; envPresets?: string | null; valid?: number; createdAt?: Date | string; updatedAt?: Date | string; createdBy: string; updatedBy: string; deployments?: Prisma.DeploymentUncheckedCreateNestedManyWithoutProjectInput; pipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutProjectInput; }; export type ProjectUpdateInput = { name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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; deployments?: Prisma.DeploymentUpdateManyWithoutProjectNestedInput; pipelines?: Prisma.PipelineUpdateManyWithoutProjectNestedInput; }; export type ProjectUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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; deployments?: Prisma.DeploymentUncheckedUpdateManyWithoutProjectNestedInput; pipelines?: Prisma.PipelineUncheckedUpdateManyWithoutProjectNestedInput; }; export type ProjectCreateManyInput = { id?: number; name: string; description?: string | null; repository: string; projectDir: string; envPresets?: string | null; valid?: number; createdAt?: Date | string; updatedAt?: Date | string; createdBy: string; updatedBy: string; }; export type ProjectUpdateManyMutationInput = { name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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 ProjectUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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 ProjectCountOrderByAggregateInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; description?: Prisma.SortOrder; repository?: Prisma.SortOrder; projectDir?: Prisma.SortOrder; envPresets?: Prisma.SortOrder; valid?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; updatedAt?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; updatedBy?: Prisma.SortOrder; }; export type ProjectAvgOrderByAggregateInput = { id?: Prisma.SortOrder; valid?: Prisma.SortOrder; }; export type ProjectMaxOrderByAggregateInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; description?: Prisma.SortOrder; repository?: Prisma.SortOrder; projectDir?: Prisma.SortOrder; envPresets?: Prisma.SortOrder; valid?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; updatedAt?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; updatedBy?: Prisma.SortOrder; }; export type ProjectMinOrderByAggregateInput = { id?: Prisma.SortOrder; name?: Prisma.SortOrder; description?: Prisma.SortOrder; repository?: Prisma.SortOrder; projectDir?: Prisma.SortOrder; envPresets?: Prisma.SortOrder; valid?: Prisma.SortOrder; createdAt?: Prisma.SortOrder; updatedAt?: Prisma.SortOrder; createdBy?: Prisma.SortOrder; updatedBy?: Prisma.SortOrder; }; export type ProjectSumOrderByAggregateInput = { id?: Prisma.SortOrder; valid?: Prisma.SortOrder; }; export type ProjectNullableScalarRelationFilter = { is?: Prisma.ProjectWhereInput | null; isNot?: Prisma.ProjectWhereInput | null; }; export type StringFieldUpdateOperationsInput = { set?: string; }; export type NullableStringFieldUpdateOperationsInput = { set?: string | null; }; export type IntFieldUpdateOperationsInput = { set?: number; increment?: number; decrement?: number; multiply?: number; divide?: number; }; export type DateTimeFieldUpdateOperationsInput = { set?: Date | string; }; export type ProjectCreateNestedOneWithoutPipelinesInput = { create?: Prisma.XOR< Prisma.ProjectCreateWithoutPipelinesInput, Prisma.ProjectUncheckedCreateWithoutPipelinesInput >; connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPipelinesInput; connect?: Prisma.ProjectWhereUniqueInput; }; export type ProjectUpdateOneWithoutPipelinesNestedInput = { create?: Prisma.XOR< Prisma.ProjectCreateWithoutPipelinesInput, Prisma.ProjectUncheckedCreateWithoutPipelinesInput >; connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutPipelinesInput; upsert?: Prisma.ProjectUpsertWithoutPipelinesInput; disconnect?: Prisma.ProjectWhereInput | boolean; delete?: Prisma.ProjectWhereInput | boolean; connect?: Prisma.ProjectWhereUniqueInput; update?: Prisma.XOR< Prisma.XOR< Prisma.ProjectUpdateToOneWithWhereWithoutPipelinesInput, Prisma.ProjectUpdateWithoutPipelinesInput >, Prisma.ProjectUncheckedUpdateWithoutPipelinesInput >; }; export type ProjectCreateNestedOneWithoutDeploymentsInput = { create?: Prisma.XOR< Prisma.ProjectCreateWithoutDeploymentsInput, Prisma.ProjectUncheckedCreateWithoutDeploymentsInput >; connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutDeploymentsInput; connect?: Prisma.ProjectWhereUniqueInput; }; export type ProjectUpdateOneWithoutDeploymentsNestedInput = { create?: Prisma.XOR< Prisma.ProjectCreateWithoutDeploymentsInput, Prisma.ProjectUncheckedCreateWithoutDeploymentsInput >; connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutDeploymentsInput; upsert?: Prisma.ProjectUpsertWithoutDeploymentsInput; disconnect?: Prisma.ProjectWhereInput | boolean; delete?: Prisma.ProjectWhereInput | boolean; connect?: Prisma.ProjectWhereUniqueInput; update?: Prisma.XOR< Prisma.XOR< Prisma.ProjectUpdateToOneWithWhereWithoutDeploymentsInput, Prisma.ProjectUpdateWithoutDeploymentsInput >, Prisma.ProjectUncheckedUpdateWithoutDeploymentsInput >; }; export type ProjectCreateWithoutPipelinesInput = { name: string; description?: string | null; repository: string; projectDir: string; envPresets?: string | null; valid?: number; createdAt?: Date | string; updatedAt?: Date | string; createdBy: string; updatedBy: string; deployments?: Prisma.DeploymentCreateNestedManyWithoutProjectInput; }; export type ProjectUncheckedCreateWithoutPipelinesInput = { id?: number; name: string; description?: string | null; repository: string; projectDir: string; envPresets?: string | null; valid?: number; createdAt?: Date | string; updatedAt?: Date | string; createdBy: string; updatedBy: string; deployments?: Prisma.DeploymentUncheckedCreateNestedManyWithoutProjectInput; }; export type ProjectCreateOrConnectWithoutPipelinesInput = { where: Prisma.ProjectWhereUniqueInput; create: Prisma.XOR< Prisma.ProjectCreateWithoutPipelinesInput, Prisma.ProjectUncheckedCreateWithoutPipelinesInput >; }; export type ProjectUpsertWithoutPipelinesInput = { update: Prisma.XOR< Prisma.ProjectUpdateWithoutPipelinesInput, Prisma.ProjectUncheckedUpdateWithoutPipelinesInput >; create: Prisma.XOR< Prisma.ProjectCreateWithoutPipelinesInput, Prisma.ProjectUncheckedCreateWithoutPipelinesInput >; where?: Prisma.ProjectWhereInput; }; export type ProjectUpdateToOneWithWhereWithoutPipelinesInput = { where?: Prisma.ProjectWhereInput; data: Prisma.XOR< Prisma.ProjectUpdateWithoutPipelinesInput, Prisma.ProjectUncheckedUpdateWithoutPipelinesInput >; }; export type ProjectUpdateWithoutPipelinesInput = { name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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; deployments?: Prisma.DeploymentUpdateManyWithoutProjectNestedInput; }; export type ProjectUncheckedUpdateWithoutPipelinesInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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; deployments?: Prisma.DeploymentUncheckedUpdateManyWithoutProjectNestedInput; }; export type ProjectCreateWithoutDeploymentsInput = { name: string; description?: string | null; repository: string; projectDir: string; envPresets?: string | null; valid?: number; createdAt?: Date | string; updatedAt?: Date | string; createdBy: string; updatedBy: string; pipelines?: Prisma.PipelineCreateNestedManyWithoutProjectInput; }; export type ProjectUncheckedCreateWithoutDeploymentsInput = { id?: number; name: string; description?: string | null; repository: string; projectDir: string; envPresets?: string | null; valid?: number; createdAt?: Date | string; updatedAt?: Date | string; createdBy: string; updatedBy: string; pipelines?: Prisma.PipelineUncheckedCreateNestedManyWithoutProjectInput; }; export type ProjectCreateOrConnectWithoutDeploymentsInput = { where: Prisma.ProjectWhereUniqueInput; create: Prisma.XOR< Prisma.ProjectCreateWithoutDeploymentsInput, Prisma.ProjectUncheckedCreateWithoutDeploymentsInput >; }; export type ProjectUpsertWithoutDeploymentsInput = { update: Prisma.XOR< Prisma.ProjectUpdateWithoutDeploymentsInput, Prisma.ProjectUncheckedUpdateWithoutDeploymentsInput >; create: Prisma.XOR< Prisma.ProjectCreateWithoutDeploymentsInput, Prisma.ProjectUncheckedCreateWithoutDeploymentsInput >; where?: Prisma.ProjectWhereInput; }; export type ProjectUpdateToOneWithWhereWithoutDeploymentsInput = { where?: Prisma.ProjectWhereInput; data: Prisma.XOR< Prisma.ProjectUpdateWithoutDeploymentsInput, Prisma.ProjectUncheckedUpdateWithoutDeploymentsInput >; }; export type ProjectUpdateWithoutDeploymentsInput = { name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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; pipelines?: Prisma.PipelineUpdateManyWithoutProjectNestedInput; }; export type ProjectUncheckedUpdateWithoutDeploymentsInput = { id?: Prisma.IntFieldUpdateOperationsInput | number; name?: Prisma.StringFieldUpdateOperationsInput | string; description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; repository?: Prisma.StringFieldUpdateOperationsInput | string; projectDir?: Prisma.StringFieldUpdateOperationsInput | string; envPresets?: 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; pipelines?: Prisma.PipelineUncheckedUpdateManyWithoutProjectNestedInput; }; /** * Count Type ProjectCountOutputType */ export type ProjectCountOutputType = { deployments: number; pipelines: number; }; export type ProjectCountOutputTypeSelect< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { deployments?: boolean | ProjectCountOutputTypeCountDeploymentsArgs; pipelines?: boolean | ProjectCountOutputTypeCountPipelinesArgs; }; /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeDefaultArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * Select specific fields to fetch from the ProjectCountOutputType */ select?: Prisma.ProjectCountOutputTypeSelect | null; }; /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountDeploymentsArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { where?: Prisma.DeploymentWhereInput; }; /** * ProjectCountOutputType without action */ export type ProjectCountOutputTypeCountPipelinesArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { where?: Prisma.PipelineWhereInput; }; export type ProjectSelect< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = runtime.Types.Extensions.GetSelect< { id?: boolean; name?: boolean; description?: boolean; repository?: boolean; projectDir?: boolean; envPresets?: boolean; valid?: boolean; createdAt?: boolean; updatedAt?: boolean; createdBy?: boolean; updatedBy?: boolean; deployments?: boolean | Prisma.Project$deploymentsArgs; pipelines?: boolean | Prisma.Project$pipelinesArgs; _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs; }, ExtArgs['result']['project'] >; export type ProjectSelectCreateManyAndReturn< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = runtime.Types.Extensions.GetSelect< { id?: boolean; name?: boolean; description?: boolean; repository?: boolean; projectDir?: boolean; envPresets?: boolean; valid?: boolean; createdAt?: boolean; updatedAt?: boolean; createdBy?: boolean; updatedBy?: boolean; }, ExtArgs['result']['project'] >; export type ProjectSelectUpdateManyAndReturn< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = runtime.Types.Extensions.GetSelect< { id?: boolean; name?: boolean; description?: boolean; repository?: boolean; projectDir?: boolean; envPresets?: boolean; valid?: boolean; createdAt?: boolean; updatedAt?: boolean; createdBy?: boolean; updatedBy?: boolean; }, ExtArgs['result']['project'] >; export type ProjectSelectScalar = { id?: boolean; name?: boolean; description?: boolean; repository?: boolean; projectDir?: boolean; envPresets?: boolean; valid?: boolean; createdAt?: boolean; updatedAt?: boolean; createdBy?: boolean; updatedBy?: boolean; }; export type ProjectOmit< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = runtime.Types.Extensions.GetOmit< | 'id' | 'name' | 'description' | 'repository' | 'projectDir' | 'envPresets' | 'valid' | 'createdAt' | 'updatedAt' | 'createdBy' | 'updatedBy', ExtArgs['result']['project'] >; export type ProjectInclude< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { deployments?: boolean | Prisma.Project$deploymentsArgs; pipelines?: boolean | Prisma.Project$pipelinesArgs; _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs; }; export type ProjectIncludeCreateManyAndReturn< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = {}; export type ProjectIncludeUpdateManyAndReturn< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = {}; export type $ProjectPayload< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { name: 'Project'; objects: { deployments: Prisma.$DeploymentPayload[]; pipelines: Prisma.$PipelinePayload[]; }; scalars: runtime.Types.Extensions.GetPayloadResult< { id: number; name: string; description: string | null; repository: string; projectDir: string; envPresets: string | null; valid: number; createdAt: Date; updatedAt: Date; createdBy: string; updatedBy: string; }, ExtArgs['result']['project'] >; composites: {}; }; export type ProjectGetPayload< S extends boolean | null | undefined | ProjectDefaultArgs, > = runtime.Types.Result.GetResult; export type ProjectCountArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = Omit & { select?: ProjectCountAggregateInputType | true; }; export interface ProjectDelegate< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}, > { [K: symbol]: { types: Prisma.TypeMap['model']['Project']; meta: { name: 'Project' }; }; /** * Find zero or one Project that matches the filter. * @param {ProjectFindUniqueArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique( args: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'findUnique', GlobalOmitOptions > | null, null, ExtArgs, GlobalOmitOptions >; /** * Find one Project that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProjectFindUniqueOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow( args: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'findUniqueOrThrow', GlobalOmitOptions >, never, ExtArgs, GlobalOmitOptions >; /** * Find the first Project 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 {ProjectFindFirstArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst( args?: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'findFirst', GlobalOmitOptions > | null, null, ExtArgs, GlobalOmitOptions >; /** * Find the first Project 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 {ProjectFindFirstOrThrowArgs} args - Arguments to find a Project * @example * // Get one Project * const project = await prisma.project.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow( args?: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'findFirstOrThrow', GlobalOmitOptions >, never, ExtArgs, GlobalOmitOptions >; /** * Find zero or more Projects 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 {ProjectFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Projects * const projects = await prisma.project.findMany() * * // Get first 10 Projects * const projects = await prisma.project.findMany({ take: 10 }) * * // Only select the `id` * const projectWithIdOnly = await prisma.project.findMany({ select: { id: true } }) * */ findMany( args?: Prisma.SelectSubset>, ): Prisma.PrismaPromise< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'findMany', GlobalOmitOptions > >; /** * Create a Project. * @param {ProjectCreateArgs} args - Arguments to create a Project. * @example * // Create one Project * const Project = await prisma.project.create({ * data: { * // ... data to create a Project * } * }) * */ create( args: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'create', GlobalOmitOptions >, never, ExtArgs, GlobalOmitOptions >; /** * Create many Projects. * @param {ProjectCreateManyArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany( args?: Prisma.SelectSubset>, ): Prisma.PrismaPromise; /** * Create many Projects and returns the data saved in the database. * @param {ProjectCreateManyAndReturnArgs} args - Arguments to create many Projects. * @example * // Create many Projects * const project = await prisma.project.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Projects and only return the `id` * const projectWithIdOnly = await prisma.project.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< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'createManyAndReturn', GlobalOmitOptions > >; /** * Delete a Project. * @param {ProjectDeleteArgs} args - Arguments to delete one Project. * @example * // Delete one Project * const Project = await prisma.project.delete({ * where: { * // ... filter to delete one Project * } * }) * */ delete( args: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'delete', GlobalOmitOptions >, never, ExtArgs, GlobalOmitOptions >; /** * Update one Project. * @param {ProjectUpdateArgs} args - Arguments to update one Project. * @example * // Update one Project * const project = await prisma.project.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update( args: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'update', GlobalOmitOptions >, never, ExtArgs, GlobalOmitOptions >; /** * Delete zero or more Projects. * @param {ProjectDeleteManyArgs} args - Arguments to filter Projects to delete. * @example * // Delete a few Projects * const { count } = await prisma.project.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany( args?: Prisma.SelectSubset>, ): Prisma.PrismaPromise; /** * Update zero or more Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Projects * const project = await prisma.project.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany( args: Prisma.SelectSubset>, ): Prisma.PrismaPromise; /** * Update zero or more Projects and returns the data updated in the database. * @param {ProjectUpdateManyAndReturnArgs} args - Arguments to update many Projects. * @example * // Update many Projects * const project = await prisma.project.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Projects and only return the `id` * const projectWithIdOnly = await prisma.project.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< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'updateManyAndReturn', GlobalOmitOptions > >; /** * Create or update one Project. * @param {ProjectUpsertArgs} args - Arguments to update or create a Project. * @example * // Update or create a Project * const project = await prisma.project.upsert({ * create: { * // ... data to create a Project * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Project we want to update * } * }) */ upsert( args: Prisma.SelectSubset>, ): Prisma.Prisma__ProjectClient< runtime.Types.Result.GetResult< Prisma.$ProjectPayload, T, 'upsert', GlobalOmitOptions >, never, ExtArgs, GlobalOmitOptions >; /** * Count the number of Projects. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectCountArgs} args - Arguments to filter Projects to count. * @example * // Count the number of Projects * const count = await prisma.project.count({ * where: { * // ... the filter for the Projects 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 Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectAggregateArgs} 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 Project. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProjectGroupByArgs} 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 ProjectGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ProjectGroupByArgs['orderBy'] } : { orderBy?: ProjectGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys< Prisma.Keys> >, 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 ? GetProjectGroupByPayload : Prisma.PrismaPromise; /** * Fields of the Project model */ readonly fields: ProjectFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Project. * 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__ProjectClient< T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}, > extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: 'PrismaPromise'; deployments = {}>( args?: Prisma.Subset>, ): Prisma.PrismaPromise< | runtime.Types.Result.GetResult< Prisma.$DeploymentPayload, T, 'findMany', GlobalOmitOptions > | Null >; pipelines = {}>( args?: Prisma.Subset>, ): Prisma.PrismaPromise< | runtime.Types.Result.GetResult< Prisma.$PipelinePayload, 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 Project model */ export interface ProjectFieldRefs { readonly id: Prisma.FieldRef<'Project', 'Int'>; readonly name: Prisma.FieldRef<'Project', 'String'>; readonly description: Prisma.FieldRef<'Project', 'String'>; readonly repository: Prisma.FieldRef<'Project', 'String'>; readonly projectDir: Prisma.FieldRef<'Project', 'String'>; readonly envPresets: Prisma.FieldRef<'Project', 'String'>; readonly valid: Prisma.FieldRef<'Project', 'Int'>; readonly createdAt: Prisma.FieldRef<'Project', 'DateTime'>; readonly updatedAt: Prisma.FieldRef<'Project', 'DateTime'>; readonly createdBy: Prisma.FieldRef<'Project', 'String'>; readonly updatedBy: Prisma.FieldRef<'Project', 'String'>; } // Custom InputTypes /** * Project findUnique */ export type ProjectFindUniqueArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * Filter, which Project to fetch. */ where: Prisma.ProjectWhereUniqueInput; }; /** * Project findUniqueOrThrow */ export type ProjectFindUniqueOrThrowArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * Filter, which Project to fetch. */ where: Prisma.ProjectWhereUniqueInput; }; /** * Project findFirst */ export type ProjectFindFirstArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * Filter, which Project to fetch. */ where?: Prisma.ProjectWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: | Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: Prisma.ProjectWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]; }; /** * Project findFirstOrThrow */ export type ProjectFindFirstOrThrowArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * Filter, which Project to fetch. */ where?: Prisma.ProjectWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: | Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Projects. */ cursor?: Prisma.ProjectWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Projects. */ distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]; }; /** * Project findMany */ export type ProjectFindManyArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * Filter, which Projects to fetch. */ where?: Prisma.ProjectWhereInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Projects to fetch. */ orderBy?: | Prisma.ProjectOrderByWithRelationInput | Prisma.ProjectOrderByWithRelationInput[]; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Projects. */ cursor?: Prisma.ProjectWhereUniqueInput; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Projects 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` Projects. */ skip?: number; distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]; }; /** * Project create */ export type ProjectCreateArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * The data needed to create a Project. */ data: Prisma.XOR< Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput >; }; /** * Project createMany */ export type ProjectCreateManyArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * The data used to create many Projects. */ data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]; }; /** * Project createManyAndReturn */ export type ProjectCreateManyAndReturnArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * Select specific fields to fetch from the Project */ select?: Prisma.ProjectSelectCreateManyAndReturn | null; /** * Omit specific fields from the Project */ omit?: Prisma.ProjectOmit | null; /** * The data used to create many Projects. */ data: Prisma.ProjectCreateManyInput | Prisma.ProjectCreateManyInput[]; }; /** * Project update */ export type ProjectUpdateArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * The data needed to update a Project. */ data: Prisma.XOR< Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput >; /** * Choose, which Project to update. */ where: Prisma.ProjectWhereUniqueInput; }; /** * Project updateMany */ export type ProjectUpdateManyArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * The data used to update Projects. */ data: Prisma.XOR< Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput >; /** * Filter which Projects to update */ where?: Prisma.ProjectWhereInput; /** * Limit how many Projects to update. */ limit?: number; }; /** * Project updateManyAndReturn */ export type ProjectUpdateManyAndReturnArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * Select specific fields to fetch from the Project */ select?: Prisma.ProjectSelectUpdateManyAndReturn | null; /** * Omit specific fields from the Project */ omit?: Prisma.ProjectOmit | null; /** * The data used to update Projects. */ data: Prisma.XOR< Prisma.ProjectUpdateManyMutationInput, Prisma.ProjectUncheckedUpdateManyInput >; /** * Filter which Projects to update */ where?: Prisma.ProjectWhereInput; /** * Limit how many Projects to update. */ limit?: number; }; /** * Project upsert */ export type ProjectUpsertArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * The filter to search for the Project to update in case it exists. */ where: Prisma.ProjectWhereUniqueInput; /** * In case the Project found by the `where` argument doesn't exist, create a new Project with this data. */ create: Prisma.XOR< Prisma.ProjectCreateInput, Prisma.ProjectUncheckedCreateInput >; /** * In case the Project was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR< Prisma.ProjectUpdateInput, Prisma.ProjectUncheckedUpdateInput >; }; /** * Project delete */ export type ProjectDeleteArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; /** * Filter which Project to delete. */ where: Prisma.ProjectWhereUniqueInput; }; /** * Project deleteMany */ export type ProjectDeleteManyArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * Filter which Projects to delete */ where?: Prisma.ProjectWhereInput; /** * Limit how many Projects to delete. */ limit?: number; }; /** * Project.deployments */ export type Project$deploymentsArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * Select specific fields to fetch from the Deployment */ select?: Prisma.DeploymentSelect | null; /** * Omit specific fields from the Deployment */ omit?: Prisma.DeploymentOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.DeploymentInclude | null; where?: Prisma.DeploymentWhereInput; orderBy?: | Prisma.DeploymentOrderByWithRelationInput | Prisma.DeploymentOrderByWithRelationInput[]; cursor?: Prisma.DeploymentWhereUniqueInput; take?: number; skip?: number; distinct?: | Prisma.DeploymentScalarFieldEnum | Prisma.DeploymentScalarFieldEnum[]; }; /** * Project.pipelines */ export type Project$pipelinesArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; where?: Prisma.PipelineWhereInput; orderBy?: | Prisma.PipelineOrderByWithRelationInput | Prisma.PipelineOrderByWithRelationInput[]; cursor?: Prisma.PipelineWhereUniqueInput; take?: number; skip?: number; distinct?: Prisma.PipelineScalarFieldEnum | Prisma.PipelineScalarFieldEnum[]; }; /** * Project without action */ export type ProjectDefaultArgs< ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, > = { /** * 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; };