From f23bbb9a683220effe1c147569fa8b30648be1be Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Fri, 2 Jun 2023 12:39:58 +0200 Subject: [PATCH] Rename pipeline schema (#184) --- front/src/generated/graphql.tsx | 20 +++--- .../aggregate-pipeline-progress.output.ts | 17 +++++ .../create-many-pipeline-progress.args.ts | 14 ++++ .../create-one-pipeline-progress.args.ts | 11 +++ .../delete-many-pipeline-progress.args.ts | 11 +++ .../delete-one-pipeline-progress.args.ts | 11 +++ ...d-first-pipeline-progress-or-throw.args.ts | 30 ++++++++ .../find-first-pipeline-progress.args.ts | 30 ++++++++ .../find-many-pipeline-progress.args.ts | 30 ++++++++ ...-unique-pipeline-progress-or-throw.args.ts | 11 +++ .../find-unique-pipeline-progress.args.ts | 11 +++ ...pipeline-progress-count-aggregate.input.ts | 32 +++++++++ ...ipeline-progress-count-aggregate.output.ts | 33 +++++++++ ...progress-count-order-by-aggregate.input.ts | 30 ++++++++ ...eate-many-pipeline-input-envelope.input.ts | 14 ++++ ...any-pipeline-stage-input-envelope.input.ts | 16 +++++ ...ogress-create-many-pipeline-stage.input.ts | 27 +++++++ ...ine-progress-create-many-pipeline.input.ts | 27 +++++++ .../pipeline-progress-create-many.input.ts | 30 ++++++++ ...ested-many-without-pipeline-stage.input.ts | 32 +++++++++ ...eate-nested-many-without-pipeline.input.ts | 30 ++++++++ ...or-connect-without-pipeline-stage.input.ts | 18 +++++ ...reate-or-connect-without-pipeline.input.ts | 16 +++++ ...ess-create-without-pipeline-stage.input.ts | 30 ++++++++ ...-progress-create-without-pipeline.input.ts | 30 ++++++++ .../pipeline-progress-create.input.ts | 36 ++++++++++ .../pipeline-progress-group-by.args.ts | 46 ++++++++++++ .../pipeline-progress-group-by.output.ts | 42 +++++++++++ ...ine-progress-list-relation-filter.input.ts | 15 ++++ .../pipeline-progress-max-aggregate.input.ts | 29 ++++++++ .../pipeline-progress-max-aggregate.output.ts | 30 ++++++++ ...e-progress-max-order-by-aggregate.input.ts | 30 ++++++++ .../pipeline-progress-min-aggregate.input.ts | 29 ++++++++ .../pipeline-progress-min-aggregate.output.ts | 30 ++++++++ ...e-progress-min-order-by-aggregate.input.ts | 30 ++++++++ ...gress-order-by-relation-aggregate.input.ts | 9 +++ ...rogress-order-by-with-aggregation.input.ts | 42 +++++++++++ ...e-progress-order-by-with-relation.input.ts | 38 ++++++++++ .../pipeline-progress-scalar-field.enum.ts | 17 +++++ ...ress-scalar-where-with-aggregates.input.ts | 50 +++++++++++++ .../pipeline-progress-scalar-where.input.ts | 42 +++++++++++ ...ested-many-without-pipeline-stage.input.ts | 32 +++++++++ ...eate-nested-many-without-pipeline.input.ts | 30 ++++++++ ...ked-create-without-pipeline-stage.input.ts | 27 +++++++ ...unchecked-create-without-pipeline.input.ts | 27 +++++++ ...ipeline-progress-unchecked-create.input.ts | 30 ++++++++ ...date-many-without-pipeline-nested.input.ts | 68 ++++++++++++++++++ ...-many-without-pipeline-progresses.input.ts | 32 +++++++++ ...any-without-pipeline-stage-nested.input.ts | 72 +++++++++++++++++++ ...ne-progress-unchecked-update-many.input.ts | 35 +++++++++ ...ked-update-without-pipeline-stage.input.ts | 32 +++++++++ ...unchecked-update-without-pipeline.input.ts | 32 +++++++++ ...ipeline-progress-unchecked-update.input.ts | 35 +++++++++ ...ine-progress-update-many-mutation.input.ts | 29 ++++++++ ...with-where-without-pipeline-stage.input.ts | 16 +++++ ...-many-with-where-without-pipeline.input.ts | 16 +++++ ...date-many-without-pipeline-nested.input.ts | 68 ++++++++++++++++++ ...any-without-pipeline-stage-nested.input.ts | 72 +++++++++++++++++++ ...ere-unique-without-pipeline-stage.input.ts | 18 +++++ ...ith-where-unique-without-pipeline.input.ts | 16 +++++ ...ess-update-without-pipeline-stage.input.ts | 35 +++++++++ ...-progress-update-without-pipeline.input.ts | 36 ++++++++++ .../pipeline-progress-update.input.ts | 42 +++++++++++ ...ere-unique-without-pipeline-stage.input.ts | 25 +++++++ ...ith-where-unique-without-pipeline.input.ts | 21 ++++++ .../pipeline-progress-where-unique.input.ts | 8 +++ .../pipeline-progress-where.input.ts | 50 +++++++++++++ .../pipeline-progress.model.ts | 39 ++++++++++ .../update-many-pipeline-progress.args.ts | 16 +++++ .../update-one-pipeline-progress.args.ts | 16 +++++ .../upsert-one-pipeline-progress.args.ts | 21 ++++++ .../pipeline-stage-count.output.ts | 2 +- ...d-one-without-pipeline-progresses.input.ts | 25 +++++++ ...nnect-without-pipeline-progresses.input.ts | 18 +++++ ...reate-without-pipeline-progresses.input.ts | 37 ++++++++++ ...ine-stage-create-without-pipeline.input.ts | 6 +- ...ne-stage-create-without-workspace.input.ts | 6 +- .../pipeline-stage-create.input.ts | 6 +- ...line-stage-order-by-with-relation.input.ts | 6 +- ...reate-without-pipeline-progresses.input.ts | 33 +++++++++ ...unchecked-create-without-pipeline.input.ts | 6 +- ...nchecked-create-without-workspace.input.ts | 6 +- .../pipeline-stage-unchecked-create.input.ts | 6 +- ...pdate-without-pipeline-progresses.input.ts | 36 ++++++++++ ...unchecked-update-without-pipeline.input.ts | 6 +- ...nchecked-update-without-workspace.input.ts | 6 +- .../pipeline-stage-unchecked-update.input.ts | 6 +- ...ithout-pipeline-progresses-nested.input.ts | 39 ++++++++++ ...pdate-without-pipeline-progresses.input.ts | 40 +++++++++++ ...ine-stage-update-without-pipeline.input.ts | 6 +- ...ne-stage-update-without-workspace.input.ts | 6 +- .../pipeline-stage-update.input.ts | 6 +- ...psert-without-pipeline-progresses.input.ts | 20 ++++++ .../pipeline-stage-where.input.ts | 6 +- .../pipeline-stage/pipeline-stage.model.ts | 6 +- .../pipeline/pipeline-count.output.ts | 2 +- ...d-one-without-pipeline-progresses.input.ts | 23 ++++++ ...nnect-without-pipeline-progresses.input.ts | 18 +++++ ...reate-without-pipeline-progresses.input.ts | 34 +++++++++ ...ne-create-without-pipeline-stages.input.ts | 6 +- ...pipeline-create-without-workspace.input.ts | 6 +- .../pipeline/pipeline-create.input.ts | 6 +- .../pipeline-order-by-with-relation.input.ts | 6 +- .../pipeline-progress-aggregate.args.ts | 38 ++++++++++ ...reate-without-pipeline-progresses.input.ts | 33 +++++++++ ...ed-create-without-pipeline-stages.input.ts | 11 ++- ...nchecked-create-without-workspace.input.ts | 11 ++- .../pipeline-unchecked-create.input.ts | 11 ++- ...pdate-without-pipeline-progresses.input.ts | 36 ++++++++++ ...ed-update-without-pipeline-stages.input.ts | 11 ++- ...nchecked-update-without-workspace.input.ts | 11 ++- .../pipeline-unchecked-update.input.ts | 11 ++- ...ithout-pipeline-progresses-nested.input.ts | 33 +++++++++ ...pdate-without-pipeline-progresses.input.ts | 37 ++++++++++ ...ne-update-without-pipeline-stages.input.ts | 6 +- ...pipeline-update-without-workspace.input.ts | 6 +- .../pipeline/pipeline-update.input.ts | 6 +- ...psert-without-pipeline-progresses.input.ts | 20 ++++++ .../pipeline/pipeline-where.input.ts | 6 +- .../api/@generated/pipeline/pipeline.model.ts | 6 +- ...able-type-field-update-operations.input.ts | 9 +++ ...pipeline-progressable-type-filter.input.ts | 19 +++++ ...sable-type-with-aggregates-filter.input.ts | 32 +++++++++ ...pipeline-progressable-type-filter.input.ts | 18 +++++ ...sable-type-with-aggregates-filter.input.ts | 31 ++++++++ .../prisma/pipeline-progressable-type.enum.ts | 11 +++ server/src/api/resolvers/comment.resolver.ts | 3 +- server/src/api/resolvers/company.resolver.ts | 2 +- server/src/api/resolvers/person.resolver.ts | 2 +- .../migration.sql | 12 ++-- server/src/database/schema.prisma | 12 ++-- server/src/database/seeds/pipelines.ts | 6 +- 132 files changed, 2825 insertions(+), 138 deletions(-) create mode 100644 server/src/api/@generated/pipeline-progress/aggregate-pipeline-progress.output.ts create mode 100644 server/src/api/@generated/pipeline-progress/create-many-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/create-one-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/delete-many-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/delete-one-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/find-first-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/find-many-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress-or-throw.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-count-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-input-envelope.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage-input-envelope.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-many.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-create.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.output.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-list-relation-filter.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-max-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.output.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-min-order-by-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-relation-aggregate.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-aggregation.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-relation.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-field.enum.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-mutation.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-update.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-where-unique.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress-where.input.ts create mode 100644 server/src/api/@generated/pipeline-progress/pipeline-progress.model.ts create mode 100644 server/src/api/@generated/pipeline-progress/update-many-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/update-one-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-progress/upsert-one-pipeline-progress.args.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-create-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-progress-aggregate.args.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-update-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-progresses.input.ts create mode 100644 server/src/api/@generated/prisma/enum-pipeline-progressable-type-field-update-operations.input.ts create mode 100644 server/src/api/@generated/prisma/enum-pipeline-progressable-type-filter.input.ts create mode 100644 server/src/api/@generated/prisma/enum-pipeline-progressable-type-with-aggregates-filter.input.ts create mode 100644 server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-filter.input.ts create mode 100644 server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-with-aggregates-filter.input.ts create mode 100644 server/src/api/@generated/prisma/pipeline-progressable-type.enum.ts rename server/src/database/migrations/{20230602085537_create_pipelines => 20230602102913_create_pipelines}/migration.sql (72%) diff --git a/front/src/generated/graphql.tsx b/front/src/generated/graphql.tsx index 17a5002b4..1b8a4d791 100644 --- a/front/src/generated/graphql.tsx +++ b/front/src/generated/graphql.tsx @@ -993,20 +993,15 @@ export type Pipeline = { icon: Scalars['String']; id: Scalars['ID']; name: Scalars['String']; - pipelineAssociations?: Maybe>; + pipelineProgresses?: Maybe>; pipelineStages?: Maybe>; updatedAt: Scalars['DateTime']; }; -export enum PipelineAssociableType { - Company = 'Company', - Person = 'Person' -} - -export type PipelineAssociation = { - __typename?: 'PipelineAssociation'; +export type PipelineProgress = { + __typename?: 'PipelineProgress'; associableId: Scalars['String']; - associableType: PipelineAssociableType; + associableType: PipelineProgressableType; createdAt: Scalars['DateTime']; deletedAt?: Maybe; id: Scalars['ID']; @@ -1017,6 +1012,11 @@ export type PipelineAssociation = { updatedAt: Scalars['DateTime']; }; +export enum PipelineProgressableType { + Company = 'Company', + Person = 'Person' +} + export type PipelineStage = { __typename?: 'PipelineStage'; color: Scalars['String']; @@ -1025,8 +1025,8 @@ export type PipelineStage = { id: Scalars['ID']; name: Scalars['String']; pipeline: Pipeline; - pipelineAssociations?: Maybe>; pipelineId: Scalars['String']; + pipelineProgresses?: Maybe>; type: Scalars['String']; updatedAt: Scalars['DateTime']; }; diff --git a/server/src/api/@generated/pipeline-progress/aggregate-pipeline-progress.output.ts b/server/src/api/@generated/pipeline-progress/aggregate-pipeline-progress.output.ts new file mode 100644 index 000000000..3592a1142 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/aggregate-pipeline-progress.output.ts @@ -0,0 +1,17 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output'; +import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output'; +import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output'; + +@ObjectType() +export class AggregatePipelineProgress { + @Field(() => PipelineProgressCountAggregate, { nullable: true }) + _count?: PipelineProgressCountAggregate; + + @Field(() => PipelineProgressMinAggregate, { nullable: true }) + _min?: PipelineProgressMinAggregate; + + @Field(() => PipelineProgressMaxAggregate, { nullable: true }) + _max?: PipelineProgressMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline-progress/create-many-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/create-many-pipeline-progress.args.ts new file mode 100644 index 000000000..1888e27e8 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/create-many-pipeline-progress.args.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressCreateManyInput } from './pipeline-progress-create-many.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateManyPipelineProgressArgs { + @Field(() => [PipelineProgressCreateManyInput], { nullable: false }) + @Type(() => PipelineProgressCreateManyInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-progress/create-one-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/create-one-pipeline-progress.args.ts new file mode 100644 index 000000000..c3fdc9d39 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/create-one-pipeline-progress.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressCreateInput } from './pipeline-progress-create.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class CreateOnePipelineProgressArgs { + @Field(() => PipelineProgressCreateInput, { nullable: false }) + @Type(() => PipelineProgressCreateInput) + data!: PipelineProgressCreateInput; +} diff --git a/server/src/api/@generated/pipeline-progress/delete-many-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/delete-many-pipeline-progress.args.ts new file mode 100644 index 000000000..c4722eeff --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/delete-many-pipeline-progress.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteManyPipelineProgressArgs { + @Field(() => PipelineProgressWhereInput, { nullable: true }) + @Type(() => PipelineProgressWhereInput) + where?: PipelineProgressWhereInput; +} diff --git a/server/src/api/@generated/pipeline-progress/delete-one-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/delete-one-pipeline-progress.args.ts new file mode 100644 index 000000000..2c0f38aaf --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/delete-one-pipeline-progress.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class DeleteOnePipelineProgressArgs { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts b/server/src/api/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts new file mode 100644 index 000000000..9e50d54c0 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressOrderByWithRelationInput } from './pipeline-progress-order-by-with-relation.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineProgressOrThrowArgs { + @Field(() => PipelineProgressWhereInput, { nullable: true }) + @Type(() => PipelineProgressWhereInput) + where?: PipelineProgressWhereInput; + + @Field(() => [PipelineProgressOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineProgressWhereUniqueInput, { nullable: true }) + cursor?: PipelineProgressWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineProgressScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/find-first-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/find-first-pipeline-progress.args.ts new file mode 100644 index 000000000..962654c37 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/find-first-pipeline-progress.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressOrderByWithRelationInput } from './pipeline-progress-order-by-with-relation.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; + +@ArgsType() +export class FindFirstPipelineProgressArgs { + @Field(() => PipelineProgressWhereInput, { nullable: true }) + @Type(() => PipelineProgressWhereInput) + where?: PipelineProgressWhereInput; + + @Field(() => [PipelineProgressOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineProgressWhereUniqueInput, { nullable: true }) + cursor?: PipelineProgressWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineProgressScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/find-many-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/find-many-pipeline-progress.args.ts new file mode 100644 index 000000000..fed3dca7e --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/find-many-pipeline-progress.args.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressOrderByWithRelationInput } from './pipeline-progress-order-by-with-relation.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; + +@ArgsType() +export class FindManyPipelineProgressArgs { + @Field(() => PipelineProgressWhereInput, { nullable: true }) + @Type(() => PipelineProgressWhereInput) + where?: PipelineProgressWhereInput; + + @Field(() => [PipelineProgressOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineProgressWhereUniqueInput, { nullable: true }) + cursor?: PipelineProgressWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => [PipelineProgressScalarFieldEnum], { nullable: true }) + distinct?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress-or-throw.args.ts b/server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress-or-throw.args.ts new file mode 100644 index 000000000..0615abc90 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress-or-throw.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineProgressOrThrowArgs { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress.args.ts new file mode 100644 index 000000000..34fa37be8 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/find-unique-pipeline-progress.args.ts @@ -0,0 +1,11 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; + +@ArgsType() +export class FindUniquePipelineProgressArgs { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.input.ts new file mode 100644 index 000000000..aa12fc242 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineProgressCountAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineStageId?: true; + + @Field(() => Boolean, { nullable: true }) + associableType?: true; + + @Field(() => Boolean, { nullable: true }) + associableId?: true; + + @Field(() => Boolean, { nullable: true }) + _all?: true; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.output.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.output.ts new file mode 100644 index 000000000..12de49373 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-count-aggregate.output.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { Int } from '@nestjs/graphql'; + +@ObjectType() +export class PipelineProgressCountAggregate { + @Field(() => Int, { nullable: false }) + id!: number; + + @Field(() => Int, { nullable: false }) + createdAt!: number; + + @Field(() => Int, { nullable: false }) + updatedAt!: number; + + @Field(() => Int, { nullable: false }) + deletedAt!: number; + + @Field(() => Int, { nullable: false }) + pipelineId!: number; + + @Field(() => Int, { nullable: false }) + pipelineStageId!: number; + + @Field(() => Int, { nullable: false }) + associableType!: number; + + @Field(() => Int, { nullable: false }) + associableId!: number; + + @Field(() => Int, { nullable: false }) + _all!: number; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-count-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-count-order-by-aggregate.input.ts new file mode 100644 index 000000000..a4c8e01c0 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-count-order-by-aggregate.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineProgressCountOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-input-envelope.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-input-envelope.input.ts new file mode 100644 index 000000000..8380b9afd --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-input-envelope.input.ts @@ -0,0 +1,14 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateManyPipelineInput } from './pipeline-progress-create-many-pipeline.input'; +import { Type } from 'class-transformer'; + +@InputType() +export class PipelineProgressCreateManyPipelineInputEnvelope { + @Field(() => [PipelineProgressCreateManyPipelineInput], { nullable: false }) + @Type(() => PipelineProgressCreateManyPipelineInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage-input-envelope.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage-input-envelope.input.ts new file mode 100644 index 000000000..ebabbd24a --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage-input-envelope.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateManyPipelineStageInput } from './pipeline-progress-create-many-pipeline-stage.input'; +import { Type } from 'class-transformer'; + +@InputType() +export class PipelineProgressCreateManyPipelineStageInputEnvelope { + @Field(() => [PipelineProgressCreateManyPipelineStageInput], { + nullable: false, + }) + @Type(() => PipelineProgressCreateManyPipelineStageInput) + data!: Array; + + @Field(() => Boolean, { nullable: true }) + skipDuplicates?: boolean; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage.input.ts new file mode 100644 index 000000000..2b38bdcbb --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline-stage.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@InputType() +export class PipelineProgressCreateManyPipelineStageInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline.input.ts new file mode 100644 index 000000000..bc6b18ba1 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many-pipeline.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@InputType() +export class PipelineProgressCreateManyPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many.input.ts new file mode 100644 index 000000000..1c4a939c5 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-many.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@InputType() +export class PipelineProgressCreateManyInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input.ts new file mode 100644 index 000000000..1e8359141 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; +import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; + +@InputType() +export class PipelineProgressCreateNestedManyWithoutPipelineStageInput { + @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input.ts new file mode 100644 index 000000000..816231e68 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; +import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; + +@InputType() +export class PipelineProgressCreateNestedManyWithoutPipelineInput { + @Field(() => [PipelineProgressCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineProgressCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline-stage.input.ts new file mode 100644 index 000000000..e176978fd --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline-stage.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; + +@InputType() +export class PipelineProgressCreateOrConnectWithoutPipelineStageInput { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; + + @Field(() => PipelineProgressCreateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineProgressCreateWithoutPipelineStageInput) + create!: PipelineProgressCreateWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline.input.ts new file mode 100644 index 000000000..70aa0a243 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-or-connect-without-pipeline.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; + +@InputType() +export class PipelineProgressCreateOrConnectWithoutPipelineInput { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; + + @Field(() => PipelineProgressCreateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineProgressCreateWithoutPipelineInput) + create!: PipelineProgressCreateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline-stage.input.ts new file mode 100644 index 000000000..dbd2ec259 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline-stage.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; +import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input'; + +@InputType() +export class PipelineProgressCreateWithoutPipelineStageInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline.input.ts new file mode 100644 index 000000000..e8d261df2 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create-without-pipeline.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; +import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input'; + +@InputType() +export class PipelineProgressCreateWithoutPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, { + nullable: false, + }) + pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-create.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-create.input.ts new file mode 100644 index 000000000..ffd7e7a03 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-create.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; +import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input'; +import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input'; + +@InputType() +export class PipelineProgressCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput; + + @Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, { + nullable: false, + }) + pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.args.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.args.ts new file mode 100644 index 000000000..131971e6a --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.args.ts @@ -0,0 +1,46 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressOrderByWithAggregationInput } from './pipeline-progress-order-by-with-aggregation.input'; +import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum'; +import { PipelineProgressScalarWhereWithAggregatesInput } from './pipeline-progress-scalar-where-with-aggregates.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineProgressCountAggregateInput } from './pipeline-progress-count-aggregate.input'; +import { PipelineProgressMinAggregateInput } from './pipeline-progress-min-aggregate.input'; +import { PipelineProgressMaxAggregateInput } from './pipeline-progress-max-aggregate.input'; + +@ArgsType() +export class PipelineProgressGroupByArgs { + @Field(() => PipelineProgressWhereInput, { nullable: true }) + @Type(() => PipelineProgressWhereInput) + where?: PipelineProgressWhereInput; + + @Field(() => [PipelineProgressOrderByWithAggregationInput], { + nullable: true, + }) + orderBy?: Array; + + @Field(() => [PipelineProgressScalarFieldEnum], { nullable: false }) + by!: Array; + + @Field(() => PipelineProgressScalarWhereWithAggregatesInput, { + nullable: true, + }) + having?: PipelineProgressScalarWhereWithAggregatesInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineProgressCountAggregateInput, { nullable: true }) + _count?: PipelineProgressCountAggregateInput; + + @Field(() => PipelineProgressMinAggregateInput, { nullable: true }) + _min?: PipelineProgressMinAggregateInput; + + @Field(() => PipelineProgressMaxAggregateInput, { nullable: true }) + _max?: PipelineProgressMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.output.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.output.ts new file mode 100644 index 000000000..9d04cbe06 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-group-by.output.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; +import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output'; +import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output'; +import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output'; + +@ObjectType() +export class PipelineProgressGroupBy { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date | string; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => PipelineProgressCountAggregate, { nullable: true }) + _count?: PipelineProgressCountAggregate; + + @Field(() => PipelineProgressMinAggregate, { nullable: true }) + _min?: PipelineProgressMinAggregate; + + @Field(() => PipelineProgressMaxAggregate, { nullable: true }) + _max?: PipelineProgressMaxAggregate; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-list-relation-filter.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-list-relation-filter.input.ts new file mode 100644 index 000000000..f2e85c71c --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-list-relation-filter.input.ts @@ -0,0 +1,15 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; + +@InputType() +export class PipelineProgressListRelationFilter { + @Field(() => PipelineProgressWhereInput, { nullable: true }) + every?: PipelineProgressWhereInput; + + @Field(() => PipelineProgressWhereInput, { nullable: true }) + some?: PipelineProgressWhereInput; + + @Field(() => PipelineProgressWhereInput, { nullable: true }) + none?: PipelineProgressWhereInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.input.ts new file mode 100644 index 000000000..3f9ca9e0b --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineProgressMaxAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineStageId?: true; + + @Field(() => Boolean, { nullable: true }) + associableType?: true; + + @Field(() => Boolean, { nullable: true }) + associableId?: true; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.output.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.output.ts new file mode 100644 index 000000000..cd31a5ee1 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-max-aggregate.output.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@ObjectType() +export class PipelineProgressMaxAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + pipelineId?: string; + + @Field(() => String, { nullable: true }) + pipelineStageId?: string; + + @Field(() => PipelineProgressableType, { nullable: true }) + associableType?: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: true }) + associableId?: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-max-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-max-order-by-aggregate.input.ts new file mode 100644 index 000000000..daa62d219 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-max-order-by-aggregate.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineProgressMaxOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.input.ts new file mode 100644 index 000000000..1779d41ce --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineProgressMinAggregateInput { + @Field(() => Boolean, { nullable: true }) + id?: true; + + @Field(() => Boolean, { nullable: true }) + createdAt?: true; + + @Field(() => Boolean, { nullable: true }) + updatedAt?: true; + + @Field(() => Boolean, { nullable: true }) + deletedAt?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineId?: true; + + @Field(() => Boolean, { nullable: true }) + pipelineStageId?: true; + + @Field(() => Boolean, { nullable: true }) + associableType?: true; + + @Field(() => Boolean, { nullable: true }) + associableId?: true; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.output.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.output.ts new file mode 100644 index 000000000..02a49d0e5 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-min-aggregate.output.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@ObjectType() +export class PipelineProgressMinAggregate { + @Field(() => String, { nullable: true }) + id?: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: true }) + pipelineId?: string; + + @Field(() => String, { nullable: true }) + pipelineStageId?: string; + + @Field(() => PipelineProgressableType, { nullable: true }) + associableType?: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: true }) + associableId?: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-min-order-by-aggregate.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-min-order-by-aggregate.input.ts new file mode 100644 index 000000000..c35da6f67 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-min-order-by-aggregate.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineProgressMinOrderByAggregateInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-relation-aggregate.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-relation-aggregate.input.ts new file mode 100644 index 000000000..6263e9b79 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-relation-aggregate.input.ts @@ -0,0 +1,9 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; + +@InputType() +export class PipelineProgressOrderByRelationAggregateInput { + @Field(() => SortOrder, { nullable: true }) + _count?: keyof typeof SortOrder; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-aggregation.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-aggregation.input.ts new file mode 100644 index 000000000..52a0e86bc --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-aggregation.input.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { PipelineProgressCountOrderByAggregateInput } from './pipeline-progress-count-order-by-aggregate.input'; +import { PipelineProgressMaxOrderByAggregateInput } from './pipeline-progress-max-order-by-aggregate.input'; +import { PipelineProgressMinOrderByAggregateInput } from './pipeline-progress-min-order-by-aggregate.input'; + +@InputType() +export class PipelineProgressOrderByWithAggregationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; + + @Field(() => PipelineProgressCountOrderByAggregateInput, { nullable: true }) + _count?: PipelineProgressCountOrderByAggregateInput; + + @Field(() => PipelineProgressMaxOrderByAggregateInput, { nullable: true }) + _max?: PipelineProgressMaxOrderByAggregateInput; + + @Field(() => PipelineProgressMinOrderByAggregateInput, { nullable: true }) + _min?: PipelineProgressMinOrderByAggregateInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-relation.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-relation.input.ts new file mode 100644 index 000000000..8a7123573 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-order-by-with-relation.input.ts @@ -0,0 +1,38 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { SortOrder } from '../prisma/sort-order.enum'; +import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input'; +import { PipelineStageOrderByWithRelationInput } from '../pipeline-stage/pipeline-stage-order-by-with-relation.input'; + +@InputType() +export class PipelineProgressOrderByWithRelationInput { + @Field(() => SortOrder, { nullable: true }) + id?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + createdAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + updatedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + deletedAt?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + pipelineStageId?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableType?: keyof typeof SortOrder; + + @Field(() => SortOrder, { nullable: true }) + associableId?: keyof typeof SortOrder; + + @Field(() => PipelineOrderByWithRelationInput, { nullable: true }) + pipeline?: PipelineOrderByWithRelationInput; + + @Field(() => PipelineStageOrderByWithRelationInput, { nullable: true }) + pipelineStage?: PipelineStageOrderByWithRelationInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-field.enum.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-field.enum.ts new file mode 100644 index 000000000..33fca0beb --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-field.enum.ts @@ -0,0 +1,17 @@ +import { registerEnumType } from '@nestjs/graphql'; + +export enum PipelineProgressScalarFieldEnum { + id = 'id', + createdAt = 'createdAt', + updatedAt = 'updatedAt', + deletedAt = 'deletedAt', + pipelineId = 'pipelineId', + pipelineStageId = 'pipelineStageId', + associableType = 'associableType', + associableId = 'associableId', +} + +registerEnumType(PipelineProgressScalarFieldEnum, { + name: 'PipelineProgressScalarFieldEnum', + description: undefined, +}); diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts new file mode 100644 index 000000000..b2f49df51 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where-with-aggregates.input.ts @@ -0,0 +1,50 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-filter.input'; +import { DateTimeWithAggregatesFilter } from '../prisma/date-time-with-aggregates-filter.input'; +import { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input'; +import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input'; + +@InputType() +export class PipelineProgressScalarWhereWithAggregatesInput { + @Field(() => [PipelineProgressScalarWhereWithAggregatesInput], { + nullable: true, + }) + AND?: Array; + + @Field(() => [PipelineProgressScalarWhereWithAggregatesInput], { + nullable: true, + }) + OR?: Array; + + @Field(() => [PipelineProgressScalarWhereWithAggregatesInput], { + nullable: true, + }) + NOT?: Array; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + id?: StringWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + createdAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeWithAggregatesFilter, { nullable: true }) + updatedAt?: DateTimeWithAggregatesFilter; + + @Field(() => DateTimeNullableWithAggregatesFilter, { nullable: true }) + deletedAt?: DateTimeNullableWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + pipelineId?: StringWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + pipelineStageId?: StringWithAggregatesFilter; + + @Field(() => EnumPipelineProgressableTypeWithAggregatesFilter, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeWithAggregatesFilter; + + @Field(() => StringWithAggregatesFilter, { nullable: true }) + associableId?: StringWithAggregatesFilter; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where.input.ts new file mode 100644 index 000000000..ec7c60be8 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-scalar-where.input.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input'; + +@InputType() +export class PipelineProgressScalarWhereInput { + @Field(() => [PipelineProgressScalarWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineProgressScalarWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineProgressScalarWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineId?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineStageId?: StringFilter; + + @Field(() => EnumPipelineProgressableTypeFilter, { nullable: true }) + associableType?: EnumPipelineProgressableTypeFilter; + + @Field(() => StringFilter, { nullable: true }) + associableId?: StringFilter; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input.ts new file mode 100644 index 000000000..e498a9822 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; +import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; + +@InputType() +export class PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput { + @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input.ts new file mode 100644 index 000000000..9265f62ba --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; +import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; + +@InputType() +export class PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput { + @Field(() => [PipelineProgressCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineProgressCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline-stage.input.ts new file mode 100644 index 000000000..601965340 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline-stage.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@InputType() +export class PipelineProgressUncheckedCreateWithoutPipelineStageInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline.input.ts new file mode 100644 index 000000000..290000031 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create-without-pipeline.input.ts @@ -0,0 +1,27 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@InputType() +export class PipelineProgressUncheckedCreateWithoutPipelineInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create.input.ts new file mode 100644 index 000000000..3a0bfd2ac --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-create.input.ts @@ -0,0 +1,30 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; + +@InputType() +export class PipelineProgressUncheckedCreateInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input.ts new file mode 100644 index 000000000..a77968ce6 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input.ts @@ -0,0 +1,68 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; +import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline.input'; +import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-update-with-where-unique-without-pipeline.input'; +import { PipelineProgressUpdateManyWithWhereWithoutPipelineInput } from './pipeline-progress-update-many-with-where-without-pipeline.input'; +import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; + +@InputType() +export class PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput { + @Field(() => [PipelineProgressCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineProgressCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput) + upsert?: Array; + + @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput) + update?: Array; + + @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineInput) + updateMany?: Array; + + @Field(() => [PipelineProgressScalarWhereInput], { nullable: true }) + @Type(() => PipelineProgressScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..db626dd01 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-progresses.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; + +@InputType() +export class PipelineProgressUncheckedUpdateManyWithoutPipelineProgressesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input.ts new file mode 100644 index 000000000..923ef71c7 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input.ts @@ -0,0 +1,72 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; +import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input'; +import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-update-with-where-unique-without-pipeline-stage.input'; +import { PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-progress-update-many-with-where-without-pipeline-stage.input'; +import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; + +@InputType() +export class PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput { + @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field( + () => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput) + upsert?: Array; + + @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; + + @Field( + () => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput) + update?: Array; + + @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput) + updateMany?: Array; + + @Field(() => [PipelineProgressScalarWhereInput], { nullable: true }) + @Type(() => PipelineProgressScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many.input.ts new file mode 100644 index 000000000..b5b6820c5 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-many.input.ts @@ -0,0 +1,35 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; + +@InputType() +export class PipelineProgressUncheckedUpdateManyInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline-stage.input.ts new file mode 100644 index 000000000..d05b13c7c --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline-stage.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; + +@InputType() +export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline.input.ts new file mode 100644 index 000000000..94f477862 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update-without-pipeline.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; + +@InputType() +export class PipelineProgressUncheckedUpdateWithoutPipelineInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update.input.ts new file mode 100644 index 000000000..1e77c9c90 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-unchecked-update.input.ts @@ -0,0 +1,35 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; + +@InputType() +export class PipelineProgressUncheckedUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineStageId?: StringFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-mutation.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-mutation.input.ts new file mode 100644 index 000000000..30a188802 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-mutation.input.ts @@ -0,0 +1,29 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; + +@InputType() +export class PipelineProgressUpdateManyMutationInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline-stage.input.ts new file mode 100644 index 000000000..6baf189f3 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline-stage.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input'; + +@InputType() +export class PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput { + @Field(() => PipelineProgressScalarWhereInput, { nullable: false }) + @Type(() => PipelineProgressScalarWhereInput) + where!: PipelineProgressScalarWhereInput; + + @Field(() => PipelineProgressUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineProgressUpdateManyMutationInput) + data!: PipelineProgressUpdateManyMutationInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline.input.ts new file mode 100644 index 000000000..4ca46913c --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-with-where-without-pipeline.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input'; + +@InputType() +export class PipelineProgressUpdateManyWithWhereWithoutPipelineInput { + @Field(() => PipelineProgressScalarWhereInput, { nullable: false }) + @Type(() => PipelineProgressScalarWhereInput) + where!: PipelineProgressScalarWhereInput; + + @Field(() => PipelineProgressUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineProgressUpdateManyMutationInput) + data!: PipelineProgressUpdateManyMutationInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input.ts new file mode 100644 index 000000000..160fcd969 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input.ts @@ -0,0 +1,68 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineInput } from './pipeline-progress-create-or-connect-without-pipeline.input'; +import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline.input'; +import { PipelineProgressCreateManyPipelineInputEnvelope } from './pipeline-progress-create-many-pipeline-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput } from './pipeline-progress-update-with-where-unique-without-pipeline.input'; +import { PipelineProgressUpdateManyWithWhereWithoutPipelineInput } from './pipeline-progress-update-many-with-where-without-pipeline.input'; +import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; + +@InputType() +export class PipelineProgressUpdateManyWithoutPipelineNestedInput { + @Field(() => [PipelineProgressCreateWithoutPipelineInput], { nullable: true }) + @Type(() => PipelineProgressCreateWithoutPipelineInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput) + connectOrCreate?: Array; + + @Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput) + upsert?: Array; + + @Field(() => PipelineProgressCreateManyPipelineInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; + + @Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput) + update?: Array; + + @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineInput) + updateMany?: Array; + + @Field(() => [PipelineProgressScalarWhereInput], { nullable: true }) + @Type(() => PipelineProgressScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input.ts new file mode 100644 index 000000000..051a57761 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input.ts @@ -0,0 +1,72 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateOrConnectWithoutPipelineStageInput } from './pipeline-progress-create-or-connect-without-pipeline-stage.input'; +import { PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input'; +import { PipelineProgressCreateManyPipelineStageInputEnvelope } from './pipeline-progress-create-many-pipeline-stage-input-envelope.input'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput } from './pipeline-progress-update-with-where-unique-without-pipeline-stage.input'; +import { PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput } from './pipeline-progress-update-many-with-where-without-pipeline-stage.input'; +import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input'; + +@InputType() +export class PipelineProgressUpdateManyWithoutPipelineStageNestedInput { + @Field(() => [PipelineProgressCreateWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateWithoutPipelineStageInput) + create?: Array; + + @Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput) + connectOrCreate?: Array; + + @Field( + () => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput) + upsert?: Array; + + @Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, { + nullable: true, + }) + @Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope) + createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + set?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + disconnect?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + delete?: Array; + + @Field(() => [PipelineProgressWhereUniqueInput], { nullable: true }) + @Type(() => PipelineProgressWhereUniqueInput) + connect?: Array; + + @Field( + () => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput], + { nullable: true }, + ) + @Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput) + update?: Array; + + @Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput], { + nullable: true, + }) + @Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput) + updateMany?: Array; + + @Field(() => [PipelineProgressScalarWhereInput], { nullable: true }) + @Type(() => PipelineProgressScalarWhereInput) + deleteMany?: Array; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline-stage.input.ts new file mode 100644 index 000000000..f38476cff --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline-stage.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressUpdateWithoutPipelineStageInput } from './pipeline-progress-update-without-pipeline-stage.input'; + +@InputType() +export class PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; + + @Field(() => PipelineProgressUpdateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineProgressUpdateWithoutPipelineStageInput) + data!: PipelineProgressUpdateWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline.input.ts new file mode 100644 index 000000000..24c801461 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-with-where-unique-without-pipeline.input.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressUpdateWithoutPipelineInput } from './pipeline-progress-update-without-pipeline.input'; + +@InputType() +export class PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; + + @Field(() => PipelineProgressUpdateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineProgressUpdateWithoutPipelineInput) + data!: PipelineProgressUpdateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline-stage.input.ts new file mode 100644 index 000000000..90a0a4273 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline-stage.input.ts @@ -0,0 +1,35 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input'; + +@InputType() +export class PipelineProgressUpdateWithoutPipelineStageInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, { + nullable: true, + }) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline.input.ts new file mode 100644 index 000000000..9757eb0c9 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update-without-pipeline.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; +import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input'; + +@InputType() +export class PipelineProgressUpdateWithoutPipelineInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; + + @Field( + () => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput, + { nullable: true }, + ) + pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-update.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-update.input.ts new file mode 100644 index 000000000..3ab4f1cf4 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-update.input.ts @@ -0,0 +1,42 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input'; +import { PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input'; + +@InputType() +export class PipelineProgressUpdateInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, { + nullable: true, + }) + associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + associableId?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, { + nullable: true, + }) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput; + + @Field( + () => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput, + { nullable: true }, + ) + pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input.ts new file mode 100644 index 000000000..6af15f9e8 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline-stage.input.ts @@ -0,0 +1,25 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressUpdateWithoutPipelineStageInput } from './pipeline-progress-update-without-pipeline-stage.input'; +import { PipelineProgressCreateWithoutPipelineStageInput } from './pipeline-progress-create-without-pipeline-stage.input'; + +@InputType() +export class PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; + + @Field(() => PipelineProgressUpdateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineProgressUpdateWithoutPipelineStageInput) + update!: PipelineProgressUpdateWithoutPipelineStageInput; + + @Field(() => PipelineProgressCreateWithoutPipelineStageInput, { + nullable: false, + }) + @Type(() => PipelineProgressCreateWithoutPipelineStageInput) + create!: PipelineProgressCreateWithoutPipelineStageInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline.input.ts new file mode 100644 index 000000000..7ddfc5cfd --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-upsert-with-where-unique-without-pipeline.input.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressUpdateWithoutPipelineInput } from './pipeline-progress-update-without-pipeline.input'; +import { PipelineProgressCreateWithoutPipelineInput } from './pipeline-progress-create-without-pipeline.input'; + +@InputType() +export class PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; + + @Field(() => PipelineProgressUpdateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineProgressUpdateWithoutPipelineInput) + update!: PipelineProgressUpdateWithoutPipelineInput; + + @Field(() => PipelineProgressCreateWithoutPipelineInput, { nullable: false }) + @Type(() => PipelineProgressCreateWithoutPipelineInput) + create!: PipelineProgressCreateWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-where-unique.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-where-unique.input.ts new file mode 100644 index 000000000..60a93f50c --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-where-unique.input.ts @@ -0,0 +1,8 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; + +@InputType() +export class PipelineProgressWhereUniqueInput { + @Field(() => String, { nullable: true }) + id?: string; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress-where.input.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress-where.input.ts new file mode 100644 index 000000000..837c7d42c --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress-where.input.ts @@ -0,0 +1,50 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFilter } from '../prisma/string-filter.input'; +import { DateTimeFilter } from '../prisma/date-time-filter.input'; +import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; +import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input'; +import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input'; +import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input'; + +@InputType() +export class PipelineProgressWhereInput { + @Field(() => [PipelineProgressWhereInput], { nullable: true }) + AND?: Array; + + @Field(() => [PipelineProgressWhereInput], { nullable: true }) + OR?: Array; + + @Field(() => [PipelineProgressWhereInput], { nullable: true }) + NOT?: Array; + + @Field(() => StringFilter, { nullable: true }) + id?: StringFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + createdAt?: DateTimeFilter; + + @Field(() => DateTimeFilter, { nullable: true }) + updatedAt?: DateTimeFilter; + + @Field(() => DateTimeNullableFilter, { nullable: true }) + deletedAt?: DateTimeNullableFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineId?: StringFilter; + + @Field(() => StringFilter, { nullable: true }) + pipelineStageId?: StringFilter; + + @Field(() => EnumPipelineProgressableTypeFilter, { nullable: true }) + associableType?: EnumPipelineProgressableTypeFilter; + + @Field(() => StringFilter, { nullable: true }) + associableId?: StringFilter; + + @Field(() => PipelineRelationFilter, { nullable: true }) + pipeline?: PipelineRelationFilter; + + @Field(() => PipelineStageRelationFilter, { nullable: true }) + pipelineStage?: PipelineStageRelationFilter; +} diff --git a/server/src/api/@generated/pipeline-progress/pipeline-progress.model.ts b/server/src/api/@generated/pipeline-progress/pipeline-progress.model.ts new file mode 100644 index 000000000..84057c536 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/pipeline-progress.model.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { ObjectType } from '@nestjs/graphql'; +import { ID } from '@nestjs/graphql'; +import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; +import { Pipeline } from '../pipeline/pipeline.model'; +import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; + +@ObjectType() +export class PipelineProgress { + @Field(() => ID, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: false }) + createdAt!: Date; + + @Field(() => Date, { nullable: false }) + updatedAt!: Date; + + @Field(() => Date, { nullable: true }) + deletedAt!: Date | null; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @Field(() => String, { nullable: false }) + pipelineStageId!: string; + + @Field(() => PipelineProgressableType, { nullable: false }) + associableType!: keyof typeof PipelineProgressableType; + + @Field(() => String, { nullable: false }) + associableId!: string; + + @Field(() => Pipeline, { nullable: false }) + pipeline?: Pipeline; + + @Field(() => PipelineStage, { nullable: false }) + pipelineStage?: PipelineStage; +} diff --git a/server/src/api/@generated/pipeline-progress/update-many-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/update-many-pipeline-progress.args.ts new file mode 100644 index 000000000..de4d99f4f --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/update-many-pipeline-progress.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressUpdateManyMutationInput } from './pipeline-progress-update-many-mutation.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressWhereInput } from './pipeline-progress-where.input'; + +@ArgsType() +export class UpdateManyPipelineProgressArgs { + @Field(() => PipelineProgressUpdateManyMutationInput, { nullable: false }) + @Type(() => PipelineProgressUpdateManyMutationInput) + data!: PipelineProgressUpdateManyMutationInput; + + @Field(() => PipelineProgressWhereInput, { nullable: true }) + @Type(() => PipelineProgressWhereInput) + where?: PipelineProgressWhereInput; +} diff --git a/server/src/api/@generated/pipeline-progress/update-one-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/update-one-pipeline-progress.args.ts new file mode 100644 index 000000000..26e265b98 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/update-one-pipeline-progress.args.ts @@ -0,0 +1,16 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressUpdateInput } from './pipeline-progress-update.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; + +@ArgsType() +export class UpdateOnePipelineProgressArgs { + @Field(() => PipelineProgressUpdateInput, { nullable: false }) + @Type(() => PipelineProgressUpdateInput) + data!: PipelineProgressUpdateInput; + + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-progress/upsert-one-pipeline-progress.args.ts b/server/src/api/@generated/pipeline-progress/upsert-one-pipeline-progress.args.ts new file mode 100644 index 000000000..4bc5b6d05 --- /dev/null +++ b/server/src/api/@generated/pipeline-progress/upsert-one-pipeline-progress.args.ts @@ -0,0 +1,21 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressCreateInput } from './pipeline-progress-create.input'; +import { PipelineProgressUpdateInput } from './pipeline-progress-update.input'; + +@ArgsType() +export class UpsertOnePipelineProgressArgs { + @Field(() => PipelineProgressWhereUniqueInput, { nullable: false }) + @Type(() => PipelineProgressWhereUniqueInput) + where!: PipelineProgressWhereUniqueInput; + + @Field(() => PipelineProgressCreateInput, { nullable: false }) + @Type(() => PipelineProgressCreateInput) + create!: PipelineProgressCreateInput; + + @Field(() => PipelineProgressUpdateInput, { nullable: false }) + @Type(() => PipelineProgressUpdateInput) + update!: PipelineProgressUpdateInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts index c2c9f55ca..0457ad62d 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-count.output.ts @@ -5,5 +5,5 @@ import { Int } from '@nestjs/graphql'; @ObjectType() export class PipelineStageCount { @Field(() => Int, { nullable: false }) - pipelineAssociations?: number; + pipelineProgresses?: number; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..ae2cccfed --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-nested-one-without-pipeline-progresses.input.ts @@ -0,0 +1,25 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-stage-create-or-connect-without-pipeline-progresses.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; + +@InputType() +export class PipelineStageCreateNestedOneWithoutPipelineProgressesInput { + @Field(() => PipelineStageCreateWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateWithoutPipelineProgressesInput) + create?: PipelineStageCreateWithoutPipelineProgressesInput; + + @Field(() => PipelineStageCreateOrConnectWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineProgressesInput) + connectOrCreate?: PipelineStageCreateOrConnectWithoutPipelineProgressesInput; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: PipelineStageWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..849a9fd5b --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-or-connect-without-pipeline-progresses.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; + +@InputType() +export class PipelineStageCreateOrConnectWithoutPipelineProgressesInput { + @Field(() => PipelineStageWhereUniqueInput, { nullable: false }) + @Type(() => PipelineStageWhereUniqueInput) + where!: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageCreateWithoutPipelineProgressesInput, { + nullable: false, + }) + @Type(() => PipelineStageCreateWithoutPipelineProgressesInput) + create!: PipelineStageCreateWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..718a9bb65 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline-progresses.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; +import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageCreateWithoutPipelineProgressesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => PipelineCreateNestedOneWithoutPipelineStagesInput, { + nullable: false, + }) + pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts index e87c6c3a6..d166d4e2a 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-pipeline.input.ts @@ -1,6 +1,6 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; -import { PipelineAssociationCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input'; +import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input'; import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; import { HideField } from '@nestjs/graphql'; @@ -27,10 +27,10 @@ export class PipelineStageCreateWithoutPipelineInput { @Field(() => String, { nullable: false }) color!: string; - @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineStageInput, { + @Field(() => PipelineProgressCreateNestedManyWithoutPipelineStageInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineStageInput; + pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineStageInput; @HideField() workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts index 5b3039f8a..5df044453 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create-without-workspace.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; -import { PipelineAssociationCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input'; +import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input'; @InputType() export class PipelineStageCreateWithoutWorkspaceInput { @@ -31,8 +31,8 @@ export class PipelineStageCreateWithoutWorkspaceInput { }) pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; - @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineStageInput, { + @Field(() => PipelineProgressCreateNestedManyWithoutPipelineStageInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineStageInput; + pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineStageInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts index 1c198d899..885be12ff 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-create.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { PipelineCreateNestedOneWithoutPipelineStagesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-stages.input'; -import { PipelineAssociationCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline-stage.input'; +import { PipelineProgressCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline-stage.input'; import { WorkspaceCreateNestedOneWithoutPipelineStagesInput } from '../workspace/workspace-create-nested-one-without-pipeline-stages.input'; import { HideField } from '@nestjs/graphql'; @@ -33,10 +33,10 @@ export class PipelineStageCreateInput { }) pipeline!: PipelineCreateNestedOneWithoutPipelineStagesInput; - @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineStageInput, { + @Field(() => PipelineProgressCreateNestedManyWithoutPipelineStageInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineStageInput; + pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineStageInput; @HideField() workspace!: WorkspaceCreateNestedOneWithoutPipelineStagesInput; diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts index 41456bcef..2dbacfd95 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-order-by-with-relation.input.ts @@ -3,7 +3,7 @@ import { InputType } from '@nestjs/graphql'; import { SortOrder } from '../prisma/sort-order.enum'; import { HideField } from '@nestjs/graphql'; import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input'; -import { PipelineAssociationOrderByRelationAggregateInput } from '../pipeline-association/pipeline-association-order-by-relation-aggregate.input'; +import { PipelineProgressOrderByRelationAggregateInput } from '../pipeline-progress/pipeline-progress-order-by-relation-aggregate.input'; import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; @InputType() @@ -38,10 +38,10 @@ export class PipelineStageOrderByWithRelationInput { @Field(() => PipelineOrderByWithRelationInput, { nullable: true }) pipeline?: PipelineOrderByWithRelationInput; - @Field(() => PipelineAssociationOrderByRelationAggregateInput, { + @Field(() => PipelineProgressOrderByRelationAggregateInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationOrderByRelationAggregateInput; + pipelineProgresses?: PipelineProgressOrderByRelationAggregateInput; @HideField() workspace?: WorkspaceOrderByWithRelationInput; diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..438098dc2 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline-progresses.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUncheckedCreateWithoutPipelineProgressesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + type!: string; + + @Field(() => String, { nullable: false }) + color!: string; + + @Field(() => String, { nullable: false }) + pipelineId!: string; + + @HideField() + workspaceId!: string; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts index cf216ab3c..84db1b57c 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-pipeline.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql'; -import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input'; +import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input'; @InputType() export class PipelineStageUncheckedCreateWithoutPipelineInput { @@ -30,8 +30,8 @@ export class PipelineStageUncheckedCreateWithoutPipelineInput { workspaceId!: string; @Field( - () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput, + () => PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput, { nullable: true }, ) - pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput; + pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts index 0d3172611..0301bed06 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create-without-workspace.input.ts @@ -1,6 +1,6 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; -import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input'; +import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input'; @InputType() export class PipelineStageUncheckedCreateWithoutWorkspaceInput { @@ -29,8 +29,8 @@ export class PipelineStageUncheckedCreateWithoutWorkspaceInput { pipelineId!: string; @Field( - () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput, + () => PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput, { nullable: true }, ) - pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput; + pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts index ab65c0c80..7105d61a0 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-create.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql'; -import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline-stage.input'; +import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline-stage.input'; @InputType() export class PipelineStageUncheckedCreateInput { @@ -33,8 +33,8 @@ export class PipelineStageUncheckedCreateInput { workspaceId!: string; @Field( - () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput, + () => PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput, { nullable: true }, ) - pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineStageInput; + pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineStageInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..cf8132c68 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline-progresses.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUncheckedUpdateWithoutPipelineProgressesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + pipelineId?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts index 5fa75e700..0db1c0287 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-pipeline.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { HideField } from '@nestjs/graphql'; -import { PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input'; +import { PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input'; @InputType() export class PipelineStageUncheckedUpdateWithoutPipelineInput { @@ -33,8 +33,8 @@ export class PipelineStageUncheckedUpdateWithoutPipelineInput { workspaceId?: StringFieldUpdateOperationsInput; @Field( - () => PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput, + () => PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput, { nullable: true }, ) - pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput; + pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts index 90306dfe9..9e24f9c0d 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update-without-workspace.input.ts @@ -3,7 +3,7 @@ import { InputType } from '@nestjs/graphql'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input'; +import { PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input'; @InputType() export class PipelineStageUncheckedUpdateWithoutWorkspaceInput { @@ -32,8 +32,8 @@ export class PipelineStageUncheckedUpdateWithoutWorkspaceInput { pipelineId?: StringFieldUpdateOperationsInput; @Field( - () => PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput, + () => PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput, { nullable: true }, ) - pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput; + pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts index f01568905..8ad68f6aa 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-unchecked-update.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { HideField } from '@nestjs/graphql'; -import { PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-stage-nested.input'; +import { PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-stage-nested.input'; @InputType() export class PipelineStageUncheckedUpdateInput { @@ -36,8 +36,8 @@ export class PipelineStageUncheckedUpdateInput { workspaceId?: StringFieldUpdateOperationsInput; @Field( - () => PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput, + () => PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput, { nullable: true }, ) - pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineStageNestedInput; + pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineStageNestedInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input.ts new file mode 100644 index 000000000..f44f45686 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-one-required-without-pipeline-progresses-nested.input.ts @@ -0,0 +1,39 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-stage-create-or-connect-without-pipeline-progresses.input'; +import { PipelineStageUpsertWithoutPipelineProgressesInput } from './pipeline-stage-upsert-without-pipeline-progresses.input'; +import { PipelineStageWhereUniqueInput } from './pipeline-stage-where-unique.input'; +import { PipelineStageUpdateWithoutPipelineProgressesInput } from './pipeline-stage-update-without-pipeline-progresses.input'; + +@InputType() +export class PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput { + @Field(() => PipelineStageCreateWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateWithoutPipelineProgressesInput) + create?: PipelineStageCreateWithoutPipelineProgressesInput; + + @Field(() => PipelineStageCreateOrConnectWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineStageCreateOrConnectWithoutPipelineProgressesInput) + connectOrCreate?: PipelineStageCreateOrConnectWithoutPipelineProgressesInput; + + @Field(() => PipelineStageUpsertWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineStageUpsertWithoutPipelineProgressesInput) + upsert?: PipelineStageUpsertWithoutPipelineProgressesInput; + + @Field(() => PipelineStageWhereUniqueInput, { nullable: true }) + @Type(() => PipelineStageWhereUniqueInput) + connect?: PipelineStageWhereUniqueInput; + + @Field(() => PipelineStageUpdateWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineStageUpdateWithoutPipelineProgressesInput) + update?: PipelineStageUpdateWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..16b97b875 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline-progresses.input.ts @@ -0,0 +1,40 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineStageUpdateWithoutPipelineProgressesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + type?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + color?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput, { + nullable: true, + }) + pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts index a417443d3..6d7e2db9e 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-pipeline.input.ts @@ -3,7 +3,7 @@ import { InputType } from '@nestjs/graphql'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { PipelineAssociationUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input'; +import { PipelineProgressUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input'; import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; import { HideField } from '@nestjs/graphql'; @@ -30,10 +30,10 @@ export class PipelineStageUpdateWithoutPipelineInput { @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) color?: StringFieldUpdateOperationsInput; - @Field(() => PipelineAssociationUpdateManyWithoutPipelineStageNestedInput, { + @Field(() => PipelineProgressUpdateManyWithoutPipelineStageNestedInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineStageNestedInput; + pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineStageNestedInput; @HideField() workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts index cd1f7c7f1..e6c04e2a2 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update-without-workspace.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; -import { PipelineAssociationUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input'; +import { PipelineProgressUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input'; @InputType() export class PipelineStageUpdateWithoutWorkspaceInput { @@ -34,8 +34,8 @@ export class PipelineStageUpdateWithoutWorkspaceInput { }) pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; - @Field(() => PipelineAssociationUpdateManyWithoutPipelineStageNestedInput, { + @Field(() => PipelineProgressUpdateManyWithoutPipelineStageNestedInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineStageNestedInput; + pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineStageNestedInput; } diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts index e6f217201..6f2a5c786 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-update.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../pipeline/pipeline-update-one-required-without-pipeline-stages-nested.input'; -import { PipelineAssociationUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-stage-nested.input'; +import { PipelineProgressUpdateManyWithoutPipelineStageNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-stage-nested.input'; import { WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-stages-nested.input'; import { HideField } from '@nestjs/graphql'; @@ -36,10 +36,10 @@ export class PipelineStageUpdateInput { }) pipeline?: PipelineUpdateOneRequiredWithoutPipelineStagesNestedInput; - @Field(() => PipelineAssociationUpdateManyWithoutPipelineStageNestedInput, { + @Field(() => PipelineProgressUpdateManyWithoutPipelineStageNestedInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineStageNestedInput; + pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineStageNestedInput; @HideField() workspace?: WorkspaceUpdateOneRequiredWithoutPipelineStagesNestedInput; diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..7e17eacc3 --- /dev/null +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-upsert-without-pipeline-progresses.input.ts @@ -0,0 +1,20 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageUpdateWithoutPipelineProgressesInput } from './pipeline-stage-update-without-pipeline-progresses.input'; +import { Type } from 'class-transformer'; +import { PipelineStageCreateWithoutPipelineProgressesInput } from './pipeline-stage-create-without-pipeline-progresses.input'; + +@InputType() +export class PipelineStageUpsertWithoutPipelineProgressesInput { + @Field(() => PipelineStageUpdateWithoutPipelineProgressesInput, { + nullable: false, + }) + @Type(() => PipelineStageUpdateWithoutPipelineProgressesInput) + update!: PipelineStageUpdateWithoutPipelineProgressesInput; + + @Field(() => PipelineStageCreateWithoutPipelineProgressesInput, { + nullable: false, + }) + @Type(() => PipelineStageCreateWithoutPipelineProgressesInput) + create!: PipelineStageCreateWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts index f74aea24f..4c2ace424 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage-where.input.ts @@ -5,7 +5,7 @@ import { DateTimeFilter } from '../prisma/date-time-filter.input'; import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; import { HideField } from '@nestjs/graphql'; import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input'; -import { PipelineAssociationListRelationFilter } from '../pipeline-association/pipeline-association-list-relation-filter.input'; +import { PipelineProgressListRelationFilter } from '../pipeline-progress/pipeline-progress-list-relation-filter.input'; import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; @InputType() @@ -49,8 +49,8 @@ export class PipelineStageWhereInput { @Field(() => PipelineRelationFilter, { nullable: true }) pipeline?: PipelineRelationFilter; - @Field(() => PipelineAssociationListRelationFilter, { nullable: true }) - pipelineAssociations?: PipelineAssociationListRelationFilter; + @Field(() => PipelineProgressListRelationFilter, { nullable: true }) + pipelineProgresses?: PipelineProgressListRelationFilter; @HideField() workspace?: WorkspaceRelationFilter; diff --git a/server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts b/server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts index 7acac9c9e..3841fc522 100644 --- a/server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts +++ b/server/src/api/@generated/pipeline-stage/pipeline-stage.model.ts @@ -3,7 +3,7 @@ import { ObjectType } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql'; import { Pipeline } from '../pipeline/pipeline.model'; -import { PipelineAssociation } from '../pipeline-association/pipeline-association.model'; +import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model'; import { Workspace } from '../workspace/workspace.model'; import { PipelineStageCount } from './pipeline-stage-count.output'; @@ -39,8 +39,8 @@ export class PipelineStage { @Field(() => Pipeline, { nullable: false }) pipeline?: Pipeline; - @Field(() => [PipelineAssociation], { nullable: true }) - pipelineAssociations?: Array; + @Field(() => [PipelineProgress], { nullable: true }) + pipelineProgresses?: Array; @HideField() workspace?: Workspace; diff --git a/server/src/api/@generated/pipeline/pipeline-count.output.ts b/server/src/api/@generated/pipeline/pipeline-count.output.ts index 666c896bc..f13e75073 100644 --- a/server/src/api/@generated/pipeline/pipeline-count.output.ts +++ b/server/src/api/@generated/pipeline/pipeline-count.output.ts @@ -8,5 +8,5 @@ export class PipelineCount { pipelineStages?: number; @Field(() => Int, { nullable: false }) - pipelineAssociations?: number; + pipelineProgresses?: number; } diff --git a/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..5478ee64b --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-nested-one-without-pipeline-progresses.input.ts @@ -0,0 +1,23 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-create-or-connect-without-pipeline-progresses.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; + +@InputType() +export class PipelineCreateNestedOneWithoutPipelineProgressesInput { + @Field(() => PipelineCreateWithoutPipelineProgressesInput, { nullable: true }) + @Type(() => PipelineCreateWithoutPipelineProgressesInput) + create?: PipelineCreateWithoutPipelineProgressesInput; + + @Field(() => PipelineCreateOrConnectWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutPipelineProgressesInput) + connectOrCreate?: PipelineCreateOrConnectWithoutPipelineProgressesInput; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: PipelineWhereUniqueInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..7f1acc628 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-progresses.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; + +@InputType() +export class PipelineCreateOrConnectWithoutPipelineProgressesInput { + @Field(() => PipelineWhereUniqueInput, { nullable: false }) + @Type(() => PipelineWhereUniqueInput) + where!: PipelineWhereUniqueInput; + + @Field(() => PipelineCreateWithoutPipelineProgressesInput, { + nullable: false, + }) + @Type(() => PipelineCreateWithoutPipelineProgressesInput) + create!: PipelineCreateWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..a82d22038 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-progresses.input.ts @@ -0,0 +1,34 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; +import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineCreateWithoutPipelineProgressesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @Field(() => PipelineStageCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; + + @HideField() + workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts index bebd5384c..b1c73e48f 100644 --- a/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-create-without-pipeline-stages.input.ts @@ -1,6 +1,6 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; -import { PipelineAssociationCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline.input'; +import { PipelineProgressCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input'; import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; import { HideField } from '@nestjs/graphql'; @@ -24,10 +24,10 @@ export class PipelineCreateWithoutPipelineStagesInput { @Field(() => String, { nullable: false }) icon!: string; - @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineInput, { + @Field(() => PipelineProgressCreateNestedManyWithoutPipelineInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineInput; + pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineInput; @HideField() workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; diff --git a/server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts index 7b3ff7aae..b19b82986 100644 --- a/server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-create-without-workspace.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; -import { PipelineAssociationCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline.input'; +import { PipelineProgressCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input'; @InputType() export class PipelineCreateWithoutWorkspaceInput { @@ -28,8 +28,8 @@ export class PipelineCreateWithoutWorkspaceInput { }) pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; - @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineInput, { + @Field(() => PipelineProgressCreateNestedManyWithoutPipelineInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineInput; + pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-create.input.ts b/server/src/api/@generated/pipeline/pipeline-create.input.ts index 138172246..2a31b2896 100644 --- a/server/src/api/@generated/pipeline/pipeline-create.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-create.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { PipelineStageCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-pipeline.input'; -import { PipelineAssociationCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-create-nested-many-without-pipeline.input'; +import { PipelineProgressCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-pipeline.input'; import { WorkspaceCreateNestedOneWithoutPipelinesInput } from '../workspace/workspace-create-nested-one-without-pipelines.input'; import { HideField } from '@nestjs/graphql'; @@ -30,10 +30,10 @@ export class PipelineCreateInput { }) pipelineStages?: PipelineStageCreateNestedManyWithoutPipelineInput; - @Field(() => PipelineAssociationCreateNestedManyWithoutPipelineInput, { + @Field(() => PipelineProgressCreateNestedManyWithoutPipelineInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationCreateNestedManyWithoutPipelineInput; + pipelineProgresses?: PipelineProgressCreateNestedManyWithoutPipelineInput; @HideField() workspace!: WorkspaceCreateNestedOneWithoutPipelinesInput; diff --git a/server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts b/server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts index 994004d6e..40f7cfc86 100644 --- a/server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-order-by-with-relation.input.ts @@ -3,7 +3,7 @@ import { InputType } from '@nestjs/graphql'; import { SortOrder } from '../prisma/sort-order.enum'; import { HideField } from '@nestjs/graphql'; import { PipelineStageOrderByRelationAggregateInput } from '../pipeline-stage/pipeline-stage-order-by-relation-aggregate.input'; -import { PipelineAssociationOrderByRelationAggregateInput } from '../pipeline-association/pipeline-association-order-by-relation-aggregate.input'; +import { PipelineProgressOrderByRelationAggregateInput } from '../pipeline-progress/pipeline-progress-order-by-relation-aggregate.input'; import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-order-by-with-relation.input'; @InputType() @@ -32,10 +32,10 @@ export class PipelineOrderByWithRelationInput { @Field(() => PipelineStageOrderByRelationAggregateInput, { nullable: true }) pipelineStages?: PipelineStageOrderByRelationAggregateInput; - @Field(() => PipelineAssociationOrderByRelationAggregateInput, { + @Field(() => PipelineProgressOrderByRelationAggregateInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationOrderByRelationAggregateInput; + pipelineProgresses?: PipelineProgressOrderByRelationAggregateInput; @HideField() workspace?: WorkspaceOrderByWithRelationInput; diff --git a/server/src/api/@generated/pipeline/pipeline-progress-aggregate.args.ts b/server/src/api/@generated/pipeline/pipeline-progress-aggregate.args.ts new file mode 100644 index 000000000..dbeb7c1c9 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-progress-aggregate.args.ts @@ -0,0 +1,38 @@ +import { Field } from '@nestjs/graphql'; +import { ArgsType } from '@nestjs/graphql'; +import { PipelineProgressWhereInput } from '../pipeline-progress/pipeline-progress-where.input'; +import { Type } from 'class-transformer'; +import { PipelineProgressOrderByWithRelationInput } from '../pipeline-progress/pipeline-progress-order-by-with-relation.input'; +import { PipelineProgressWhereUniqueInput } from '../pipeline-progress/pipeline-progress-where-unique.input'; +import { Int } from '@nestjs/graphql'; +import { PipelineProgressCountAggregateInput } from '../pipeline-progress/pipeline-progress-count-aggregate.input'; +import { PipelineProgressMinAggregateInput } from '../pipeline-progress/pipeline-progress-min-aggregate.input'; +import { PipelineProgressMaxAggregateInput } from '../pipeline-progress/pipeline-progress-max-aggregate.input'; + +@ArgsType() +export class PipelineProgressAggregateArgs { + @Field(() => PipelineProgressWhereInput, { nullable: true }) + @Type(() => PipelineProgressWhereInput) + where?: PipelineProgressWhereInput; + + @Field(() => [PipelineProgressOrderByWithRelationInput], { nullable: true }) + orderBy?: Array; + + @Field(() => PipelineProgressWhereUniqueInput, { nullable: true }) + cursor?: PipelineProgressWhereUniqueInput; + + @Field(() => Int, { nullable: true }) + take?: number; + + @Field(() => Int, { nullable: true }) + skip?: number; + + @Field(() => PipelineProgressCountAggregateInput, { nullable: true }) + _count?: PipelineProgressCountAggregateInput; + + @Field(() => PipelineProgressMinAggregateInput, { nullable: true }) + _min?: PipelineProgressMinAggregateInput; + + @Field(() => PipelineProgressMaxAggregateInput, { nullable: true }) + _max?: PipelineProgressMaxAggregateInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..d8b53ea87 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-progresses.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; + +@InputType() +export class PipelineUncheckedCreateWithoutPipelineProgressesInput { + @Field(() => String, { nullable: false }) + id!: string; + + @Field(() => Date, { nullable: true }) + createdAt?: Date | string; + + @Field(() => Date, { nullable: true }) + updatedAt?: Date | string; + + @Field(() => Date, { nullable: true }) + deletedAt?: Date | string; + + @Field(() => String, { nullable: false }) + name!: string; + + @Field(() => String, { nullable: false }) + icon!: string; + + @HideField() + workspaceId!: string; + + @Field(() => PipelineStageUncheckedCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts index 8fa5c8d12..cab97f56e 100644 --- a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-pipeline-stages.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql'; -import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input'; +import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input'; @InputType() export class PipelineUncheckedCreateWithoutPipelineStagesInput { @@ -26,9 +26,8 @@ export class PipelineUncheckedCreateWithoutPipelineStagesInput { @HideField() workspaceId!: string; - @Field( - () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput, - { nullable: true }, - ) - pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput; + @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts index e7daee68e..a38a369da 100644 --- a/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create-without-workspace.input.ts @@ -1,7 +1,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; -import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input'; +import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input'; @InputType() export class PipelineUncheckedCreateWithoutWorkspaceInput { @@ -28,9 +28,8 @@ export class PipelineUncheckedCreateWithoutWorkspaceInput { }) pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; - @Field( - () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput, - { nullable: true }, - ) - pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput; + @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts index df0ef743c..c7154beb1 100644 --- a/server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-create.input.ts @@ -2,7 +2,7 @@ import { Field } from '@nestjs/graphql'; import { InputType } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql'; import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input'; -import { PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-association/pipeline-association-unchecked-create-nested-many-without-pipeline.input'; +import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input'; @InputType() export class PipelineUncheckedCreateInput { @@ -32,9 +32,8 @@ export class PipelineUncheckedCreateInput { }) pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutPipelineInput; - @Field( - () => PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput, - { nullable: true }, - ) - pipelineAssociations?: PipelineAssociationUncheckedCreateNestedManyWithoutPipelineInput; + @Field(() => PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput, { + nullable: true, + }) + pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..7fbe813f9 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-progresses.input.ts @@ -0,0 +1,36 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { HideField } from '@nestjs/graphql'; +import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; + +@InputType() +export class PipelineUncheckedUpdateWithoutPipelineProgressesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @HideField() + workspaceId?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts index bbffd7170..43e67789d 100644 --- a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-pipeline-stages.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { HideField } from '@nestjs/graphql'; -import { PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input'; +import { PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input'; @InputType() export class PipelineUncheckedUpdateWithoutPipelineStagesInput { @@ -29,9 +29,8 @@ export class PipelineUncheckedUpdateWithoutPipelineStagesInput { @HideField() workspaceId?: StringFieldUpdateOperationsInput; - @Field( - () => PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput, - { nullable: true }, - ) - pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput; + @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts index 8390ba6df..321a096c1 100644 --- a/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update-without-workspace.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; -import { PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input'; +import { PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input'; @InputType() export class PipelineUncheckedUpdateWithoutWorkspaceInput { @@ -31,9 +31,8 @@ export class PipelineUncheckedUpdateWithoutWorkspaceInput { }) pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; - @Field( - () => PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput, - { nullable: true }, - ) - pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput; + @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts b/server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts index 62c11d8f9..cf77fa227 100644 --- a/server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-unchecked-update.input.ts @@ -5,7 +5,7 @@ import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-up import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { HideField } from '@nestjs/graphql'; import { PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-pipeline-nested.input'; -import { PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-unchecked-update-many-without-pipeline-nested.input'; +import { PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-pipeline-nested.input'; @InputType() export class PipelineUncheckedUpdateInput { @@ -35,9 +35,8 @@ export class PipelineUncheckedUpdateInput { }) pipelineStages?: PipelineStageUncheckedUpdateManyWithoutPipelineNestedInput; - @Field( - () => PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput, - { nullable: true }, - ) - pipelineAssociations?: PipelineAssociationUncheckedUpdateManyWithoutPipelineNestedInput; + @Field(() => PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutPipelineNestedInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input.ts b/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input.ts new file mode 100644 index 000000000..ed6de095a --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-one-required-without-pipeline-progresses-nested.input.ts @@ -0,0 +1,33 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateOrConnectWithoutPipelineProgressesInput } from './pipeline-create-or-connect-without-pipeline-progresses.input'; +import { PipelineUpsertWithoutPipelineProgressesInput } from './pipeline-upsert-without-pipeline-progresses.input'; +import { PipelineWhereUniqueInput } from './pipeline-where-unique.input'; +import { PipelineUpdateWithoutPipelineProgressesInput } from './pipeline-update-without-pipeline-progresses.input'; + +@InputType() +export class PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput { + @Field(() => PipelineCreateWithoutPipelineProgressesInput, { nullable: true }) + @Type(() => PipelineCreateWithoutPipelineProgressesInput) + create?: PipelineCreateWithoutPipelineProgressesInput; + + @Field(() => PipelineCreateOrConnectWithoutPipelineProgressesInput, { + nullable: true, + }) + @Type(() => PipelineCreateOrConnectWithoutPipelineProgressesInput) + connectOrCreate?: PipelineCreateOrConnectWithoutPipelineProgressesInput; + + @Field(() => PipelineUpsertWithoutPipelineProgressesInput, { nullable: true }) + @Type(() => PipelineUpsertWithoutPipelineProgressesInput) + upsert?: PipelineUpsertWithoutPipelineProgressesInput; + + @Field(() => PipelineWhereUniqueInput, { nullable: true }) + @Type(() => PipelineWhereUniqueInput) + connect?: PipelineWhereUniqueInput; + + @Field(() => PipelineUpdateWithoutPipelineProgressesInput, { nullable: true }) + @Type(() => PipelineUpdateWithoutPipelineProgressesInput) + update?: PipelineUpdateWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..42a8cdfe6 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-progresses.input.ts @@ -0,0 +1,37 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; +import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; +import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; +import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; +import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; +import { HideField } from '@nestjs/graphql'; + +@InputType() +export class PipelineUpdateWithoutPipelineProgressesInput { + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + id?: StringFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + createdAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => DateTimeFieldUpdateOperationsInput, { nullable: true }) + updatedAt?: DateTimeFieldUpdateOperationsInput; + + @Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true }) + deletedAt?: NullableDateTimeFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + name?: StringFieldUpdateOperationsInput; + + @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) + icon?: StringFieldUpdateOperationsInput; + + @Field(() => PipelineStageUpdateManyWithoutPipelineNestedInput, { + nullable: true, + }) + pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; + + @HideField() + workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts index 410b288a1..cd70596b3 100644 --- a/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-update-without-pipeline-stages.input.ts @@ -3,7 +3,7 @@ import { InputType } from '@nestjs/graphql'; import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input'; import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; -import { PipelineAssociationUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-nested.input'; +import { PipelineProgressUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input'; import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; import { HideField } from '@nestjs/graphql'; @@ -27,10 +27,10 @@ export class PipelineUpdateWithoutPipelineStagesInput { @Field(() => StringFieldUpdateOperationsInput, { nullable: true }) icon?: StringFieldUpdateOperationsInput; - @Field(() => PipelineAssociationUpdateManyWithoutPipelineNestedInput, { + @Field(() => PipelineProgressUpdateManyWithoutPipelineNestedInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineNestedInput; + pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineNestedInput; @HideField() workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; diff --git a/server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts b/server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts index 5dcc763d1..925e10e34 100644 --- a/server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-update-without-workspace.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; -import { PipelineAssociationUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-nested.input'; +import { PipelineProgressUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input'; @InputType() export class PipelineUpdateWithoutWorkspaceInput { @@ -31,8 +31,8 @@ export class PipelineUpdateWithoutWorkspaceInput { }) pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; - @Field(() => PipelineAssociationUpdateManyWithoutPipelineNestedInput, { + @Field(() => PipelineProgressUpdateManyWithoutPipelineNestedInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineNestedInput; + pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineNestedInput; } diff --git a/server/src/api/@generated/pipeline/pipeline-update.input.ts b/server/src/api/@generated/pipeline/pipeline-update.input.ts index bf2dc9544..f0114fd2d 100644 --- a/server/src/api/@generated/pipeline/pipeline-update.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-update.input.ts @@ -4,7 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update- import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input'; import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input'; import { PipelineStageUpdateManyWithoutPipelineNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-pipeline-nested.input'; -import { PipelineAssociationUpdateManyWithoutPipelineNestedInput } from '../pipeline-association/pipeline-association-update-many-without-pipeline-nested.input'; +import { PipelineProgressUpdateManyWithoutPipelineNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-pipeline-nested.input'; import { WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput } from '../workspace/workspace-update-one-required-without-pipelines-nested.input'; import { HideField } from '@nestjs/graphql'; @@ -33,10 +33,10 @@ export class PipelineUpdateInput { }) pipelineStages?: PipelineStageUpdateManyWithoutPipelineNestedInput; - @Field(() => PipelineAssociationUpdateManyWithoutPipelineNestedInput, { + @Field(() => PipelineProgressUpdateManyWithoutPipelineNestedInput, { nullable: true, }) - pipelineAssociations?: PipelineAssociationUpdateManyWithoutPipelineNestedInput; + pipelineProgresses?: PipelineProgressUpdateManyWithoutPipelineNestedInput; @HideField() workspace?: WorkspaceUpdateOneRequiredWithoutPipelinesNestedInput; diff --git a/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-progresses.input.ts b/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-progresses.input.ts new file mode 100644 index 000000000..b7d1dc7f9 --- /dev/null +++ b/server/src/api/@generated/pipeline/pipeline-upsert-without-pipeline-progresses.input.ts @@ -0,0 +1,20 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineUpdateWithoutPipelineProgressesInput } from './pipeline-update-without-pipeline-progresses.input'; +import { Type } from 'class-transformer'; +import { PipelineCreateWithoutPipelineProgressesInput } from './pipeline-create-without-pipeline-progresses.input'; + +@InputType() +export class PipelineUpsertWithoutPipelineProgressesInput { + @Field(() => PipelineUpdateWithoutPipelineProgressesInput, { + nullable: false, + }) + @Type(() => PipelineUpdateWithoutPipelineProgressesInput) + update!: PipelineUpdateWithoutPipelineProgressesInput; + + @Field(() => PipelineCreateWithoutPipelineProgressesInput, { + nullable: false, + }) + @Type(() => PipelineCreateWithoutPipelineProgressesInput) + create!: PipelineCreateWithoutPipelineProgressesInput; +} diff --git a/server/src/api/@generated/pipeline/pipeline-where.input.ts b/server/src/api/@generated/pipeline/pipeline-where.input.ts index 3118e6896..a3e5b4cdf 100644 --- a/server/src/api/@generated/pipeline/pipeline-where.input.ts +++ b/server/src/api/@generated/pipeline/pipeline-where.input.ts @@ -5,7 +5,7 @@ import { DateTimeFilter } from '../prisma/date-time-filter.input'; import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input'; import { HideField } from '@nestjs/graphql'; import { PipelineStageListRelationFilter } from '../pipeline-stage/pipeline-stage-list-relation-filter.input'; -import { PipelineAssociationListRelationFilter } from '../pipeline-association/pipeline-association-list-relation-filter.input'; +import { PipelineProgressListRelationFilter } from '../pipeline-progress/pipeline-progress-list-relation-filter.input'; import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input'; @InputType() @@ -43,8 +43,8 @@ export class PipelineWhereInput { @Field(() => PipelineStageListRelationFilter, { nullable: true }) pipelineStages?: PipelineStageListRelationFilter; - @Field(() => PipelineAssociationListRelationFilter, { nullable: true }) - pipelineAssociations?: PipelineAssociationListRelationFilter; + @Field(() => PipelineProgressListRelationFilter, { nullable: true }) + pipelineProgresses?: PipelineProgressListRelationFilter; @HideField() workspace?: WorkspaceRelationFilter; diff --git a/server/src/api/@generated/pipeline/pipeline.model.ts b/server/src/api/@generated/pipeline/pipeline.model.ts index e8de86237..a56ba1d91 100644 --- a/server/src/api/@generated/pipeline/pipeline.model.ts +++ b/server/src/api/@generated/pipeline/pipeline.model.ts @@ -3,7 +3,7 @@ import { ObjectType } from '@nestjs/graphql'; import { ID } from '@nestjs/graphql'; import { HideField } from '@nestjs/graphql'; import { PipelineStage } from '../pipeline-stage/pipeline-stage.model'; -import { PipelineAssociation } from '../pipeline-association/pipeline-association.model'; +import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model'; import { Workspace } from '../workspace/workspace.model'; import { PipelineCount } from './pipeline-count.output'; @@ -33,8 +33,8 @@ export class Pipeline { @Field(() => [PipelineStage], { nullable: true }) pipelineStages?: Array; - @Field(() => [PipelineAssociation], { nullable: true }) - pipelineAssociations?: Array; + @Field(() => [PipelineProgress], { nullable: true }) + pipelineProgresses?: Array; @HideField() workspace?: Workspace; diff --git a/server/src/api/@generated/prisma/enum-pipeline-progressable-type-field-update-operations.input.ts b/server/src/api/@generated/prisma/enum-pipeline-progressable-type-field-update-operations.input.ts new file mode 100644 index 000000000..9490c3849 --- /dev/null +++ b/server/src/api/@generated/prisma/enum-pipeline-progressable-type-field-update-operations.input.ts @@ -0,0 +1,9 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from './pipeline-progressable-type.enum'; + +@InputType() +export class EnumPipelineProgressableTypeFieldUpdateOperationsInput { + @Field(() => PipelineProgressableType, { nullable: true }) + set?: keyof typeof PipelineProgressableType; +} diff --git a/server/src/api/@generated/prisma/enum-pipeline-progressable-type-filter.input.ts b/server/src/api/@generated/prisma/enum-pipeline-progressable-type-filter.input.ts new file mode 100644 index 000000000..ac686bb66 --- /dev/null +++ b/server/src/api/@generated/prisma/enum-pipeline-progressable-type-filter.input.ts @@ -0,0 +1,19 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from './pipeline-progressable-type.enum'; +import { NestedEnumPipelineProgressableTypeFilter } from './nested-enum-pipeline-progressable-type-filter.input'; + +@InputType() +export class EnumPipelineProgressableTypeFilter { + @Field(() => PipelineProgressableType, { nullable: true }) + equals?: keyof typeof PipelineProgressableType; + + @Field(() => [PipelineProgressableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineProgressableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineProgressableTypeFilter, { nullable: true }) + not?: NestedEnumPipelineProgressableTypeFilter; +} diff --git a/server/src/api/@generated/prisma/enum-pipeline-progressable-type-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/enum-pipeline-progressable-type-with-aggregates-filter.input.ts new file mode 100644 index 000000000..d90107ca0 --- /dev/null +++ b/server/src/api/@generated/prisma/enum-pipeline-progressable-type-with-aggregates-filter.input.ts @@ -0,0 +1,32 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from './pipeline-progressable-type.enum'; +import { NestedEnumPipelineProgressableTypeWithAggregatesFilter } from './nested-enum-pipeline-progressable-type-with-aggregates-filter.input'; +import { NestedIntFilter } from './nested-int-filter.input'; +import { NestedEnumPipelineProgressableTypeFilter } from './nested-enum-pipeline-progressable-type-filter.input'; + +@InputType() +export class EnumPipelineProgressableTypeWithAggregatesFilter { + @Field(() => PipelineProgressableType, { nullable: true }) + equals?: keyof typeof PipelineProgressableType; + + @Field(() => [PipelineProgressableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineProgressableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineProgressableTypeWithAggregatesFilter, { + nullable: true, + }) + not?: NestedEnumPipelineProgressableTypeWithAggregatesFilter; + + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; + + @Field(() => NestedEnumPipelineProgressableTypeFilter, { nullable: true }) + _min?: NestedEnumPipelineProgressableTypeFilter; + + @Field(() => NestedEnumPipelineProgressableTypeFilter, { nullable: true }) + _max?: NestedEnumPipelineProgressableTypeFilter; +} diff --git a/server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-filter.input.ts b/server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-filter.input.ts new file mode 100644 index 000000000..3fdf35a54 --- /dev/null +++ b/server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-filter.input.ts @@ -0,0 +1,18 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from './pipeline-progressable-type.enum'; + +@InputType() +export class NestedEnumPipelineProgressableTypeFilter { + @Field(() => PipelineProgressableType, { nullable: true }) + equals?: keyof typeof PipelineProgressableType; + + @Field(() => [PipelineProgressableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineProgressableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineProgressableTypeFilter, { nullable: true }) + not?: NestedEnumPipelineProgressableTypeFilter; +} diff --git a/server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-with-aggregates-filter.input.ts b/server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-with-aggregates-filter.input.ts new file mode 100644 index 000000000..851f36a65 --- /dev/null +++ b/server/src/api/@generated/prisma/nested-enum-pipeline-progressable-type-with-aggregates-filter.input.ts @@ -0,0 +1,31 @@ +import { Field } from '@nestjs/graphql'; +import { InputType } from '@nestjs/graphql'; +import { PipelineProgressableType } from './pipeline-progressable-type.enum'; +import { NestedIntFilter } from './nested-int-filter.input'; +import { NestedEnumPipelineProgressableTypeFilter } from './nested-enum-pipeline-progressable-type-filter.input'; + +@InputType() +export class NestedEnumPipelineProgressableTypeWithAggregatesFilter { + @Field(() => PipelineProgressableType, { nullable: true }) + equals?: keyof typeof PipelineProgressableType; + + @Field(() => [PipelineProgressableType], { nullable: true }) + in?: Array; + + @Field(() => [PipelineProgressableType], { nullable: true }) + notIn?: Array; + + @Field(() => NestedEnumPipelineProgressableTypeWithAggregatesFilter, { + nullable: true, + }) + not?: NestedEnumPipelineProgressableTypeWithAggregatesFilter; + + @Field(() => NestedIntFilter, { nullable: true }) + _count?: NestedIntFilter; + + @Field(() => NestedEnumPipelineProgressableTypeFilter, { nullable: true }) + _min?: NestedEnumPipelineProgressableTypeFilter; + + @Field(() => NestedEnumPipelineProgressableTypeFilter, { nullable: true }) + _max?: NestedEnumPipelineProgressableTypeFilter; +} diff --git a/server/src/api/@generated/prisma/pipeline-progressable-type.enum.ts b/server/src/api/@generated/prisma/pipeline-progressable-type.enum.ts new file mode 100644 index 000000000..dc417b21f --- /dev/null +++ b/server/src/api/@generated/prisma/pipeline-progressable-type.enum.ts @@ -0,0 +1,11 @@ +import { registerEnumType } from '@nestjs/graphql'; + +export enum PipelineProgressableType { + Person = 'Person', + Company = 'Company', +} + +registerEnumType(PipelineProgressableType, { + name: 'PipelineProgressableType', + description: undefined, +}); diff --git a/server/src/api/resolvers/comment.resolver.ts b/server/src/api/resolvers/comment.resolver.ts index c16047f5f..dffc64f58 100644 --- a/server/src/api/resolvers/comment.resolver.ts +++ b/server/src/api/resolvers/comment.resolver.ts @@ -7,6 +7,7 @@ import { AuthWorkspace } from './decorators/auth-workspace.decorator'; import { CreateOneCommentArgs } from '../@generated/comment/create-one-comment.args'; import { Comment } from '../@generated/comment/comment.model'; import { CreateOneCommentGuard } from './guards/create-one-comment.guard'; +import { Prisma } from '@prisma/client'; @UseGuards(JwtAuthGuard) @Resolver(() => Comment) @@ -26,6 +27,6 @@ export class CommentResolver { ...args.data, ...{ workspace: { connect: { id: workspace.id } } }, }, - }); + } satisfies CreateOneCommentArgs as Prisma.CommentCreateArgs); } } diff --git a/server/src/api/resolvers/company.resolver.ts b/server/src/api/resolvers/company.resolver.ts index d7f8afd7e..c00bb8fd2 100644 --- a/server/src/api/resolvers/company.resolver.ts +++ b/server/src/api/resolvers/company.resolver.ts @@ -73,6 +73,6 @@ export class CompanyResolver { ...args.data, ...{ workspace: { connect: { id: workspace.id } } }, }, - }); + } satisfies CreateOneCompanyArgs as Prisma.CompanyCreateArgs); } } diff --git a/server/src/api/resolvers/person.resolver.ts b/server/src/api/resolvers/person.resolver.ts index 44472b202..a94173594 100644 --- a/server/src/api/resolvers/person.resolver.ts +++ b/server/src/api/resolvers/person.resolver.ts @@ -77,6 +77,6 @@ export class PersonResolver { ...args.data, ...{ workspace: { connect: { id: workspace.id } } }, }, - }); + } satisfies CreateOnePersonArgs as Prisma.PersonCreateArgs); } } diff --git a/server/src/database/migrations/20230602085537_create_pipelines/migration.sql b/server/src/database/migrations/20230602102913_create_pipelines/migration.sql similarity index 72% rename from server/src/database/migrations/20230602085537_create_pipelines/migration.sql rename to server/src/database/migrations/20230602102913_create_pipelines/migration.sql index e6e42f5ff..39d10c13b 100644 --- a/server/src/database/migrations/20230602085537_create_pipelines/migration.sql +++ b/server/src/database/migrations/20230602102913_create_pipelines/migration.sql @@ -1,5 +1,5 @@ -- CreateEnum -CREATE TYPE "PipelineAssociableType" AS ENUM ('Person', 'Company'); +CREATE TYPE "PipelineProgressableType" AS ENUM ('Person', 'Company'); -- CreateTable CREATE TABLE "pipelines" ( @@ -30,17 +30,17 @@ CREATE TABLE "pipeline_stages" ( ); -- CreateTable -CREATE TABLE "pipeline_associations" ( +CREATE TABLE "pipeline_progresses" ( "id" TEXT NOT NULL, "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP(3) NOT NULL, "deletedAt" TIMESTAMP(3), "pipelineId" TEXT NOT NULL, "pipelineStageId" TEXT NOT NULL, - "associableType" "PipelineAssociableType" NOT NULL, + "associableType" "PipelineProgressableType" NOT NULL, "associableId" TEXT NOT NULL, - CONSTRAINT "pipeline_associations_pkey" PRIMARY KEY ("id") + CONSTRAINT "pipeline_progresses_pkey" PRIMARY KEY ("id") ); -- AddForeignKey @@ -53,7 +53,7 @@ ALTER TABLE "pipeline_stages" ADD CONSTRAINT "pipeline_stages_pipelineId_fkey" F ALTER TABLE "pipeline_stages" ADD CONSTRAINT "pipeline_stages_workspaceId_fkey" FOREIGN KEY ("workspaceId") REFERENCES "workspaces"("id") ON DELETE RESTRICT ON UPDATE CASCADE; -- AddForeignKey -ALTER TABLE "pipeline_associations" ADD CONSTRAINT "pipeline_associations_pipelineId_fkey" FOREIGN KEY ("pipelineId") REFERENCES "pipelines"("id") ON DELETE RESTRICT ON UPDATE CASCADE; +ALTER TABLE "pipeline_progresses" ADD CONSTRAINT "pipeline_progresses_pipelineId_fkey" FOREIGN KEY ("pipelineId") REFERENCES "pipelines"("id") ON DELETE RESTRICT ON UPDATE CASCADE; -- AddForeignKey -ALTER TABLE "pipeline_associations" ADD CONSTRAINT "pipeline_associations_pipelineStageId_fkey" FOREIGN KEY ("pipelineStageId") REFERENCES "pipeline_stages"("id") ON DELETE RESTRICT ON UPDATE CASCADE; +ALTER TABLE "pipeline_progresses" ADD CONSTRAINT "pipeline_progresses_pipelineStageId_fkey" FOREIGN KEY ("pipelineStageId") REFERENCES "pipeline_stages"("id") ON DELETE RESTRICT ON UPDATE CASCADE; diff --git a/server/src/database/schema.prisma b/server/src/database/schema.prisma index 1518ce4f0..438c524a5 100644 --- a/server/src/database/schema.prisma +++ b/server/src/database/schema.prisma @@ -218,7 +218,7 @@ model Pipeline { name String icon String pipelineStages PipelineStage[] - pipelineAssociations PipelineAssociation[] + pipelineProgresses PipelineProgress[] /// @TypeGraphQL.omit(input: true, output: true) workspaceId String /// @TypeGraphQL.omit(input: true, output: true) @@ -240,7 +240,7 @@ model PipelineStage { pipelineId String pipeline Pipeline @relation(fields: [pipelineId], references: [id]) - pipelineAssociations PipelineAssociation[] + pipelineProgresses PipelineProgress[] /// @TypeGraphQL.omit(input: true, output: true) workspaceId String @@ -250,12 +250,12 @@ model PipelineStage { @@map("pipeline_stages") } -enum PipelineAssociableType { +enum PipelineProgressableType { Person Company } -model PipelineAssociation { +model PipelineProgress { id String @id createdAt DateTime @default(now()) updatedAt DateTime @updatedAt @@ -267,8 +267,8 @@ model PipelineAssociation { pipelineStageId String pipelineStage PipelineStage @relation(fields: [pipelineStageId], references: [id]) - associableType PipelineAssociableType + associableType PipelineProgressableType associableId String - @@map("pipeline_associations") + @@map("pipeline_progresses") } diff --git a/server/src/database/seeds/pipelines.ts b/server/src/database/seeds/pipelines.ts index 0939585fd..1a3243094 100644 --- a/server/src/database/seeds/pipelines.ts +++ b/server/src/database/seeds/pipelines.ts @@ -76,7 +76,7 @@ export const seedPipelines = async (prisma: PrismaClient) => { }, }); - await prisma.pipelineAssociation.upsert({ + await prisma.pipelineProgress.upsert({ where: { id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, update: {}, create: { @@ -112,7 +112,7 @@ export const seedPipelines = async (prisma: PrismaClient) => { }, }); - await prisma.pipelineAssociation.upsert({ + await prisma.pipelineProgress.upsert({ where: { id: 'twenty-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, update: {}, create: { @@ -200,7 +200,7 @@ export const seedPipelines = async (prisma: PrismaClient) => { }, }); - await prisma.pipelineAssociation.upsert({ + await prisma.pipelineProgress.upsert({ where: { id: 'twenty-dev-fe256b39-3ec3-4fe7-8998-b76aa0bfb600' }, update: {}, create: {