chore: refacto NestJS in modules (#308)

* chore: wip refacto in modules

* fix: rollback port

* fix: jwt guard in wrong folder

* chore: rename folder exception-filter in filters

* fix: tests are running

* fix: excessive stack depth comparing types

* fix: auth issue

* chore: move createUser in UserService

* fix: test

* fix: guards

* fix: jwt guard don't handle falsy user
This commit is contained in:
Jérémy M
2023-06-16 10:38:11 +02:00
committed by GitHub
parent 5921c7f11d
commit 2cd081234f
1084 changed files with 2251 additions and 758 deletions

View File

@ -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;
}

View File

@ -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<PipelineProgressCreateManyInput>;
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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<PipelineProgressOrderByWithRelationInput>;
@Field(() => PipelineProgressWhereUniqueInput, { nullable: true })
cursor?: PipelineProgressWhereUniqueInput;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PipelineProgressScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PipelineProgressScalarFieldEnum>;
}

View File

@ -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<PipelineProgressOrderByWithRelationInput>;
@Field(() => PipelineProgressWhereUniqueInput, { nullable: true })
cursor?: PipelineProgressWhereUniqueInput;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PipelineProgressScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PipelineProgressScalarFieldEnum>;
}

View File

@ -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<PipelineProgressOrderByWithRelationInput>;
@Field(() => PipelineProgressWhereUniqueInput, { nullable: true })
cursor?: PipelineProgressWhereUniqueInput;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PipelineProgressScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PipelineProgressScalarFieldEnum>;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -0,0 +1,36 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { HideField } 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 })
progressableType?: true;
@Field(() => Boolean, { nullable: true })
progressableId?: true;
@HideField()
workspaceId?: true;
@Field(() => Boolean, { nullable: true })
_all?: true;
}

View File

@ -0,0 +1,37 @@
import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { Int } from '@nestjs/graphql';
import { HideField } 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 })
progressableType!: number;
@Field(() => Int, { nullable: false })
progressableId!: number;
@HideField()
workspaceId!: number;
@Field(() => Int, { nullable: false })
_all!: number;
}

View File

@ -0,0 +1,34 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
progressableId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
}

View File

@ -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<PipelineProgressCreateManyPipelineInput>;
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -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<PipelineProgressCreateManyPipelineStageInput>;
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -0,0 +1,31 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
}

View File

@ -0,0 +1,31 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
}

View File

@ -0,0 +1,14 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressCreateManyWorkspaceInput } from './pipeline-progress-create-many-workspace.input';
import { Type } from 'class-transformer';
@InputType()
export class PipelineProgressCreateManyWorkspaceInputEnvelope {
@Field(() => [PipelineProgressCreateManyWorkspaceInput], { nullable: false })
@Type(() => PipelineProgressCreateManyWorkspaceInput)
data!: Array<PipelineProgressCreateManyWorkspaceInput>;
@Field(() => Boolean, { nullable: true })
skipDuplicates?: boolean;
}

View File

@ -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 PipelineProgressCreateManyWorkspaceInput {
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
}

View File

@ -0,0 +1,34 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineStageInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineStageInput>;
@Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineInput>;
@Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
}

View File

@ -0,0 +1,32 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input';
import { Type } from 'class-transformer';
import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input';
import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input';
import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input';
@InputType()
export class PipelineProgressCreateNestedManyWithoutWorkspaceInput {
@Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateWithoutWorkspaceInput)
create?: Array<PipelineProgressCreateWithoutWorkspaceInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutWorkspaceInput>;
@Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope)
createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input';
@InputType()
export class PipelineProgressCreateOrConnectWithoutWorkspaceInput {
@Field(() => PipelineProgressWhereUniqueInput, { nullable: false })
@Type(() => PipelineProgressWhereUniqueInput)
where!: PipelineProgressWhereUniqueInput;
@Field(() => PipelineProgressCreateWithoutWorkspaceInput, { nullable: false })
@Type(() => PipelineProgressCreateWithoutWorkspaceInput)
create!: PipelineProgressCreateWithoutWorkspaceInput;
}

View File

@ -0,0 +1,35 @@
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 { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {
nullable: false,
})
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput;
}

View File

@ -0,0 +1,35 @@
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';
import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {
nullable: false,
})
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput;
}

View File

@ -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 PipelineProgressCreateWithoutWorkspaceInput {
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {
nullable: false,
})
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
@Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {
nullable: false,
})
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
}

View File

@ -0,0 +1,41 @@
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';
import { WorkspaceCreateNestedOneWithoutPipelineProgressesInput } from '../workspace/workspace-create-nested-one-without-pipeline-progresses.input';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {
nullable: false,
})
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
@Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {
nullable: false,
})
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput;
}

View File

@ -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<PipelineProgressOrderByWithAggregationInput>;
@Field(() => [PipelineProgressScalarFieldEnum], { nullable: false })
by!: Array<keyof typeof PipelineProgressScalarFieldEnum>;
@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;
}

View File

@ -0,0 +1,46 @@
import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } 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 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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
@Field(() => PipelineProgressCountAggregate, { nullable: true })
_count?: PipelineProgressCountAggregate;
@Field(() => PipelineProgressMinAggregate, { nullable: true })
_min?: PipelineProgressMinAggregate;
@Field(() => PipelineProgressMaxAggregate, { nullable: true })
_max?: PipelineProgressMaxAggregate;
}

View File

@ -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;
}

View File

@ -0,0 +1,33 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { HideField } 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 })
progressableType?: true;
@Field(() => Boolean, { nullable: true })
progressableId?: true;
@HideField()
workspaceId?: true;
}

View File

@ -0,0 +1,34 @@
import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType?: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: true })
progressableId?: string;
@HideField()
workspaceId?: string;
}

View File

@ -0,0 +1,34 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
progressableId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
}

View File

@ -0,0 +1,33 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { HideField } 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 })
progressableType?: true;
@Field(() => Boolean, { nullable: true })
progressableId?: true;
@HideField()
workspaceId?: true;
}

View File

@ -0,0 +1,34 @@
import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType?: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: true })
progressableId?: string;
@HideField()
workspaceId?: string;
}

View File

@ -0,0 +1,34 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
progressableId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
}

View File

@ -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;
}

View File

@ -0,0 +1,46 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { SortOrder } from '../prisma/sort-order.enum';
import { HideField } from '@nestjs/graphql';
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 })
progressableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
progressableId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => PipelineProgressCountOrderByAggregateInput, { nullable: true })
_count?: PipelineProgressCountOrderByAggregateInput;
@Field(() => PipelineProgressMaxOrderByAggregateInput, { nullable: true })
_max?: PipelineProgressMaxOrderByAggregateInput;
@Field(() => PipelineProgressMinOrderByAggregateInput, { nullable: true })
_min?: PipelineProgressMinOrderByAggregateInput;
}

View File

@ -0,0 +1,46 @@
import { Field } from '@nestjs/graphql';
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 { PipelineStageOrderByWithRelationInput } from '../pipeline-stage/pipeline-stage-order-by-with-relation.input';
import { WorkspaceOrderByWithRelationInput } from '../workspace/workspace-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 })
progressableType?: keyof typeof SortOrder;
@Field(() => SortOrder, { nullable: true })
progressableId?: keyof typeof SortOrder;
@HideField()
workspaceId?: keyof typeof SortOrder;
@Field(() => PipelineOrderByWithRelationInput, { nullable: true })
pipeline?: PipelineOrderByWithRelationInput;
@Field(() => PipelineStageOrderByWithRelationInput, { nullable: true })
pipelineStage?: PipelineStageOrderByWithRelationInput;
@HideField()
workspace?: WorkspaceOrderByWithRelationInput;
}

View File

@ -0,0 +1,18 @@
import { registerEnumType } from '@nestjs/graphql';
export enum PipelineProgressScalarFieldEnum {
id = 'id',
createdAt = 'createdAt',
updatedAt = 'updatedAt',
deletedAt = 'deletedAt',
pipelineId = 'pipelineId',
pipelineStageId = 'pipelineStageId',
progressableType = 'progressableType',
progressableId = 'progressableId',
workspaceId = 'workspaceId',
}
registerEnumType(PipelineProgressScalarFieldEnum, {
name: 'PipelineProgressScalarFieldEnum',
description: undefined,
});

View File

@ -0,0 +1,54 @@
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';
import { HideField } from '@nestjs/graphql';
@InputType()
export class PipelineProgressScalarWhereWithAggregatesInput {
@Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {
nullable: true,
})
AND?: Array<PipelineProgressScalarWhereWithAggregatesInput>;
@Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {
nullable: true,
})
OR?: Array<PipelineProgressScalarWhereWithAggregatesInput>;
@Field(() => [PipelineProgressScalarWhereWithAggregatesInput], {
nullable: true,
})
NOT?: Array<PipelineProgressScalarWhereWithAggregatesInput>;
@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,
})
progressableType?: EnumPipelineProgressableTypeWithAggregatesFilter;
@Field(() => StringWithAggregatesFilter, { nullable: true })
progressableId?: StringWithAggregatesFilter;
@HideField()
workspaceId?: StringWithAggregatesFilter;
}

View File

@ -0,0 +1,46 @@
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 { HideField } from '@nestjs/graphql';
@InputType()
export class PipelineProgressScalarWhereInput {
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
AND?: Array<PipelineProgressScalarWhereInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
OR?: Array<PipelineProgressScalarWhereInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
NOT?: Array<PipelineProgressScalarWhereInput>;
@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 })
progressableType?: EnumPipelineProgressableTypeFilter;
@Field(() => StringFilter, { nullable: true })
progressableId?: StringFilter;
@HideField()
workspaceId?: StringFilter;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineStageInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineStageInput>;
@Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineInput>;
@Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
}

View File

@ -0,0 +1,32 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input';
import { Type } from 'class-transformer';
import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input';
import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input';
import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input';
@InputType()
export class PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput {
@Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateWithoutWorkspaceInput)
create?: Array<PipelineProgressCreateWithoutWorkspaceInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutWorkspaceInput>;
@Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope)
createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
}

View File

@ -0,0 +1,31 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
}

View File

@ -0,0 +1,31 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
}

View File

@ -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 PipelineProgressUncheckedCreateWithoutWorkspaceInput {
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
}

View File

@ -0,0 +1,34 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
@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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineInput>;
@Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput)
upsert?: Array<PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput>;
@Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
set?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
disconnect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
delete?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput)
update?: Array<PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput>;
@Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineInput)
updateMany?: Array<PipelineProgressUpdateManyWithWhereWithoutPipelineInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
@Type(() => PipelineProgressScalarWhereInput)
deleteMany?: Array<PipelineProgressScalarWhereInput>;
}

View File

@ -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 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 })
pipelineId?: StringFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
pipelineStageId?: StringFieldUpdateOperationsInput;
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
nullable: true,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineStageInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineStageInput>;
@Field(
() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput],
{ nullable: true },
)
@Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput)
upsert?: Array<PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput>;
@Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
set?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
disconnect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
delete?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
@Field(
() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput],
{ nullable: true },
)
@Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput)
update?: Array<PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput>;
@Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput)
updateMany?: Array<PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
@Type(() => PipelineProgressScalarWhereInput)
deleteMany?: Array<PipelineProgressScalarWhereInput>;
}

View File

@ -0,0 +1,70 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input';
import { Type } from 'class-transformer';
import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input';
import { PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-upsert-with-where-unique-without-workspace.input';
import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input';
import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input';
import { PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-update-with-where-unique-without-workspace.input';
import { PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-progress-update-many-with-where-without-workspace.input';
import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input';
@InputType()
export class PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput {
@Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateWithoutWorkspaceInput)
create?: Array<PipelineProgressCreateWithoutWorkspaceInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput)
upsert?: Array<PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope)
createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
set?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
disconnect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
delete?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput)
update?: Array<PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => [PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput)
updateMany?: Array<PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
@Type(() => PipelineProgressScalarWhereInput)
deleteMany?: Array<PipelineProgressScalarWhereInput>;
}

View File

@ -0,0 +1,39 @@
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 { HideField } from '@nestjs/graphql';
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
}

View File

@ -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 { HideField } from '@nestjs/graphql';
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
}

View File

@ -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 { HideField } from '@nestjs/graphql';
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
}

View File

@ -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 PipelineProgressUncheckedUpdateWithoutWorkspaceInput {
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
}

View File

@ -0,0 +1,39 @@
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 { HideField } from '@nestjs/graphql';
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@HideField()
workspaceId?: StringFieldUpdateOperationsInput;
}

View File

@ -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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput {
@Field(() => PipelineProgressScalarWhereInput, { nullable: false })
@Type(() => PipelineProgressScalarWhereInput)
where!: PipelineProgressScalarWhereInput;
@Field(() => PipelineProgressUpdateManyMutationInput, { nullable: false })
@Type(() => PipelineProgressUpdateManyMutationInput)
data!: PipelineProgressUpdateManyMutationInput;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineInput>;
@Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput)
upsert?: Array<PipelineProgressUpsertWithWhereUniqueWithoutPipelineInput>;
@Field(() => PipelineProgressCreateManyPipelineInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
set?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
disconnect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
delete?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput)
update?: Array<PipelineProgressUpdateWithWhereUniqueWithoutPipelineInput>;
@Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineInput)
updateMany?: Array<PipelineProgressUpdateManyWithWhereWithoutPipelineInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
@Type(() => PipelineProgressScalarWhereInput)
deleteMany?: Array<PipelineProgressScalarWhereInput>;
}

View File

@ -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<PipelineProgressCreateWithoutPipelineStageInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutPipelineStageInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutPipelineStageInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutPipelineStageInput>;
@Field(
() => [PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput],
{ nullable: true },
)
@Type(() => PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput)
upsert?: Array<PipelineProgressUpsertWithWhereUniqueWithoutPipelineStageInput>;
@Field(() => PipelineProgressCreateManyPipelineStageInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyPipelineStageInputEnvelope)
createMany?: PipelineProgressCreateManyPipelineStageInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
set?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
disconnect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
delete?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
@Field(
() => [PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput],
{ nullable: true },
)
@Type(() => PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput)
update?: Array<PipelineProgressUpdateWithWhereUniqueWithoutPipelineStageInput>;
@Field(() => [PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput)
updateMany?: Array<PipelineProgressUpdateManyWithWhereWithoutPipelineStageInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
@Type(() => PipelineProgressScalarWhereInput)
deleteMany?: Array<PipelineProgressScalarWhereInput>;
}

View File

@ -0,0 +1,70 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input';
import { Type } from 'class-transformer';
import { PipelineProgressCreateOrConnectWithoutWorkspaceInput } from './pipeline-progress-create-or-connect-without-workspace.input';
import { PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-upsert-with-where-unique-without-workspace.input';
import { PipelineProgressCreateManyWorkspaceInputEnvelope } from './pipeline-progress-create-many-workspace-input-envelope.input';
import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input';
import { PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput } from './pipeline-progress-update-with-where-unique-without-workspace.input';
import { PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput } from './pipeline-progress-update-many-with-where-without-workspace.input';
import { PipelineProgressScalarWhereInput } from './pipeline-progress-scalar-where.input';
@InputType()
export class PipelineProgressUpdateManyWithoutWorkspaceNestedInput {
@Field(() => [PipelineProgressCreateWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateWithoutWorkspaceInput)
create?: Array<PipelineProgressCreateWithoutWorkspaceInput>;
@Field(() => [PipelineProgressCreateOrConnectWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressCreateOrConnectWithoutWorkspaceInput)
connectOrCreate?: Array<PipelineProgressCreateOrConnectWithoutWorkspaceInput>;
@Field(() => [PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput)
upsert?: Array<PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => PipelineProgressCreateManyWorkspaceInputEnvelope, {
nullable: true,
})
@Type(() => PipelineProgressCreateManyWorkspaceInputEnvelope)
createMany?: PipelineProgressCreateManyWorkspaceInputEnvelope;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
set?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
disconnect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
delete?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressWhereUniqueInput], { nullable: true })
@Type(() => PipelineProgressWhereUniqueInput)
connect?: Array<PipelineProgressWhereUniqueInput>;
@Field(() => [PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput)
update?: Array<PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput>;
@Field(() => [PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput], {
nullable: true,
})
@Type(() => PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput)
updateMany?: Array<PipelineProgressUpdateManyWithWhereWithoutWorkspaceInput>;
@Field(() => [PipelineProgressScalarWhereInput], { nullable: true })
@Type(() => PipelineProgressScalarWhereInput)
deleteMany?: Array<PipelineProgressScalarWhereInput>;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 { PipelineProgressUpdateWithoutWorkspaceInput } from './pipeline-progress-update-without-workspace.input';
@InputType()
export class PipelineProgressUpdateWithWhereUniqueWithoutWorkspaceInput {
@Field(() => PipelineProgressWhereUniqueInput, { nullable: false })
@Type(() => PipelineProgressWhereUniqueInput)
where!: PipelineProgressWhereUniqueInput;
@Field(() => PipelineProgressUpdateWithoutWorkspaceInput, { nullable: false })
@Type(() => PipelineProgressUpdateWithoutWorkspaceInput)
data!: PipelineProgressUpdateWithoutWorkspaceInput;
}

View File

@ -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 { 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 { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input';
import { HideField } from '@nestjs/graphql';
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {
nullable: true,
})
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
@HideField()
workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput;
}

View File

@ -0,0 +1,41 @@
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';
import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input';
import { HideField } from '@nestjs/graphql';
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@Field(
() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput,
{ nullable: true },
)
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
@HideField()
workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput;
}

View File

@ -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 PipelineProgressUpdateWithoutWorkspaceInput {
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {
nullable: true,
})
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
@Field(
() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput,
{ nullable: true },
)
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
}

View File

@ -0,0 +1,47 @@
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';
import { WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput } from '../workspace/workspace-update-one-required-without-pipeline-progresses-nested.input';
import { HideField } from '@nestjs/graphql';
@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,
})
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
progressableId?: StringFieldUpdateOperationsInput;
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {
nullable: true,
})
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
@Field(
() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput,
{ nullable: true },
)
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
@HideField()
workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 { PipelineProgressUpdateWithoutWorkspaceInput } from './pipeline-progress-update-without-workspace.input';
import { PipelineProgressCreateWithoutWorkspaceInput } from './pipeline-progress-create-without-workspace.input';
@InputType()
export class PipelineProgressUpsertWithWhereUniqueWithoutWorkspaceInput {
@Field(() => PipelineProgressWhereUniqueInput, { nullable: false })
@Type(() => PipelineProgressWhereUniqueInput)
where!: PipelineProgressWhereUniqueInput;
@Field(() => PipelineProgressUpdateWithoutWorkspaceInput, { nullable: false })
@Type(() => PipelineProgressUpdateWithoutWorkspaceInput)
update!: PipelineProgressUpdateWithoutWorkspaceInput;
@Field(() => PipelineProgressCreateWithoutWorkspaceInput, { nullable: false })
@Type(() => PipelineProgressCreateWithoutWorkspaceInput)
create!: PipelineProgressCreateWithoutWorkspaceInput;
}

View File

@ -0,0 +1,8 @@
import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
@InputType()
export class PipelineProgressWhereUniqueInput {
@Field(() => String, { nullable: true })
id?: string;
}

View File

@ -0,0 +1,58 @@
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 { HideField } from '@nestjs/graphql';
import { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input';
import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input';
import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';
@InputType()
export class PipelineProgressWhereInput {
@Field(() => [PipelineProgressWhereInput], { nullable: true })
AND?: Array<PipelineProgressWhereInput>;
@Field(() => [PipelineProgressWhereInput], { nullable: true })
OR?: Array<PipelineProgressWhereInput>;
@Field(() => [PipelineProgressWhereInput], { nullable: true })
NOT?: Array<PipelineProgressWhereInput>;
@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 })
progressableType?: EnumPipelineProgressableTypeFilter;
@Field(() => StringFilter, { nullable: true })
progressableId?: StringFilter;
@HideField()
workspaceId?: StringFilter;
@Field(() => PipelineRelationFilter, { nullable: true })
pipeline?: PipelineRelationFilter;
@Field(() => PipelineStageRelationFilter, { nullable: true })
pipelineStage?: PipelineStageRelationFilter;
@HideField()
workspace?: WorkspaceRelationFilter;
}

View File

@ -0,0 +1,47 @@
import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { ID } from '@nestjs/graphql';
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
import { HideField } from '@nestjs/graphql';
import { Pipeline } from '../pipeline/pipeline.model';
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
import { Workspace } from '../workspace/workspace.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 })
progressableType!: keyof typeof PipelineProgressableType;
@Field(() => String, { nullable: false })
progressableId!: string;
@HideField()
workspaceId!: string;
@Field(() => Pipeline, { nullable: false })
pipeline?: Pipeline;
@Field(() => PipelineStage, { nullable: false })
pipelineStage?: PipelineStage;
@HideField()
workspace?: Workspace;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}