Add workspace scoping to pipeline progress and expose findManyPipelineeProgress on graphql (#292)
Add workspace scoping to pipeline progress and expose findManyPipelineProgress on graphql
This commit is contained in:
@ -37,3 +37,6 @@ server-prisma-migrate:
|
|||||||
|
|
||||||
server-prisma-seed:
|
server-prisma-seed:
|
||||||
@docker-compose exec twenty-dev sh -c "cd /app/server && yarn prisma:seed"
|
@docker-compose exec twenty-dev sh -c "cd /app/server && yarn prisma:seed"
|
||||||
|
|
||||||
|
server-prisma-reset:
|
||||||
|
@docker-compose exec twenty-dev sh -c "cd /app/server && yarn prisma:reset"
|
||||||
|
|||||||
@ -21,7 +21,8 @@
|
|||||||
"test:e2e": "jest --config ./test/jest-e2e.json",
|
"test:e2e": "jest --config ./test/jest-e2e.json",
|
||||||
"prisma:generate": "npx prisma generate && eslint \"src/api/@generated/**\" --fix",
|
"prisma:generate": "npx prisma generate && eslint \"src/api/@generated/**\" --fix",
|
||||||
"prisma:migrate": "npx prisma migrate deploy",
|
"prisma:migrate": "npx prisma migrate deploy",
|
||||||
"prisma:seed": "npx prisma db seed"
|
"prisma:seed": "npx prisma db seed",
|
||||||
|
"prisma:reset": "npm run prisma:generate && npx prisma migrate reset"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apollo/server": "^4.7.3",
|
"@apollo/server": "^4.7.3",
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressCountAggregateInput {
|
export class PipelineProgressCountAggregateInput {
|
||||||
@ -22,10 +23,13 @@ export class PipelineProgressCountAggregateInput {
|
|||||||
pipelineStageId?: true;
|
pipelineStageId?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
associableType?: true;
|
progressableType?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
associableId?: true;
|
progressableId?: true;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
_all?: true;
|
_all?: true;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { Int } from '@nestjs/graphql';
|
import { Int } from '@nestjs/graphql';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class PipelineProgressCountAggregate {
|
export class PipelineProgressCountAggregate {
|
||||||
@ -23,10 +24,13 @@ export class PipelineProgressCountAggregate {
|
|||||||
pipelineStageId!: number;
|
pipelineStageId!: number;
|
||||||
|
|
||||||
@Field(() => Int, { nullable: false })
|
@Field(() => Int, { nullable: false })
|
||||||
associableType!: number;
|
progressableType!: number;
|
||||||
|
|
||||||
@Field(() => Int, { nullable: false })
|
@Field(() => Int, { nullable: false })
|
||||||
associableId!: number;
|
progressableId!: number;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: number;
|
||||||
|
|
||||||
@Field(() => Int, { nullable: false })
|
@Field(() => Int, { nullable: false })
|
||||||
_all!: number;
|
_all!: number;
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { SortOrder } from '../prisma/sort-order.enum';
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressCountOrderByAggregateInput {
|
export class PipelineProgressCountOrderByAggregateInput {
|
||||||
@ -23,8 +24,11 @@ export class PipelineProgressCountOrderByAggregateInput {
|
|||||||
pipelineStageId?: keyof typeof SortOrder;
|
pipelineStageId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableType?: keyof typeof SortOrder;
|
progressableType?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableId?: keyof typeof SortOrder;
|
progressableId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: keyof typeof SortOrder;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressCreateManyPipelineStageInput {
|
export class PipelineProgressCreateManyPipelineStageInput {
|
||||||
@ -20,8 +21,11 @@ export class PipelineProgressCreateManyPipelineStageInput {
|
|||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressCreateManyPipelineInput {
|
export class PipelineProgressCreateManyPipelineInput {
|
||||||
@ -20,8 +21,11 @@ export class PipelineProgressCreateManyPipelineInput {
|
|||||||
pipelineStageId!: string;
|
pipelineStageId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
@ -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;
|
||||||
|
}
|
||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressCreateManyInput {
|
export class PipelineProgressCreateManyInput {
|
||||||
@ -23,8 +24,11 @@ export class PipelineProgressCreateManyInput {
|
|||||||
pipelineStageId!: string;
|
pipelineStageId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>;
|
||||||
|
}
|
||||||
@ -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;
|
||||||
|
}
|
||||||
@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';
|
|||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
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()
|
@InputType()
|
||||||
export class PipelineProgressCreateWithoutPipelineStageInput {
|
export class PipelineProgressCreateWithoutPipelineStageInput {
|
||||||
@ -18,13 +20,16 @@ export class PipelineProgressCreateWithoutPipelineStageInput {
|
|||||||
deletedAt?: Date | string;
|
deletedAt?: Date | string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {
|
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {
|
||||||
nullable: false,
|
nullable: false,
|
||||||
})
|
})
|
||||||
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
|
pipeline!: PipelineCreateNestedOneWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,8 @@ import { Field } from '@nestjs/graphql';
|
|||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
import { PipelineStageCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline-stage/pipeline-stage-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()
|
@InputType()
|
||||||
export class PipelineProgressCreateWithoutPipelineInput {
|
export class PipelineProgressCreateWithoutPipelineInput {
|
||||||
@ -18,13 +20,16 @@ export class PipelineProgressCreateWithoutPipelineInput {
|
|||||||
deletedAt?: Date | string;
|
deletedAt?: Date | string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {
|
@Field(() => PipelineStageCreateNestedOneWithoutPipelineProgressesInput, {
|
||||||
nullable: false,
|
nullable: false,
|
||||||
})
|
})
|
||||||
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
|
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
@ -3,6 +3,8 @@ import { InputType } from '@nestjs/graphql';
|
|||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
import { PipelineCreateNestedOneWithoutPipelineProgressesInput } from '../pipeline/pipeline-create-nested-one-without-pipeline-progresses.input';
|
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 { 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()
|
@InputType()
|
||||||
export class PipelineProgressCreateInput {
|
export class PipelineProgressCreateInput {
|
||||||
@ -19,10 +21,10 @@ export class PipelineProgressCreateInput {
|
|||||||
deletedAt?: Date | string;
|
deletedAt?: Date | string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {
|
@Field(() => PipelineCreateNestedOneWithoutPipelineProgressesInput, {
|
||||||
nullable: false,
|
nullable: false,
|
||||||
@ -33,4 +35,7 @@ export class PipelineProgressCreateInput {
|
|||||||
nullable: false,
|
nullable: false,
|
||||||
})
|
})
|
||||||
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
|
pipelineStage!: PipelineStageCreateNestedOneWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace!: WorkspaceCreateNestedOneWithoutPipelineProgressesInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output';
|
import { PipelineProgressCountAggregate } from './pipeline-progress-count-aggregate.output';
|
||||||
import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output';
|
import { PipelineProgressMinAggregate } from './pipeline-progress-min-aggregate.output';
|
||||||
import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output';
|
import { PipelineProgressMaxAggregate } from './pipeline-progress-max-aggregate.output';
|
||||||
@ -26,10 +27,13 @@ export class PipelineProgressGroupBy {
|
|||||||
pipelineStageId!: string;
|
pipelineStageId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressCountAggregate, { nullable: true })
|
@Field(() => PipelineProgressCountAggregate, { nullable: true })
|
||||||
_count?: PipelineProgressCountAggregate;
|
_count?: PipelineProgressCountAggregate;
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressMaxAggregateInput {
|
export class PipelineProgressMaxAggregateInput {
|
||||||
@ -22,8 +23,11 @@ export class PipelineProgressMaxAggregateInput {
|
|||||||
pipelineStageId?: true;
|
pipelineStageId?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
associableType?: true;
|
progressableType?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
associableId?: true;
|
progressableId?: true;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class PipelineProgressMaxAggregate {
|
export class PipelineProgressMaxAggregate {
|
||||||
@ -23,8 +24,11 @@ export class PipelineProgressMaxAggregate {
|
|||||||
pipelineStageId?: string;
|
pipelineStageId?: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: true })
|
@Field(() => PipelineProgressableType, { nullable: true })
|
||||||
associableType?: keyof typeof PipelineProgressableType;
|
progressableType?: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: true })
|
@Field(() => String, { nullable: true })
|
||||||
associableId?: string;
|
progressableId?: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { SortOrder } from '../prisma/sort-order.enum';
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressMaxOrderByAggregateInput {
|
export class PipelineProgressMaxOrderByAggregateInput {
|
||||||
@ -23,8 +24,11 @@ export class PipelineProgressMaxOrderByAggregateInput {
|
|||||||
pipelineStageId?: keyof typeof SortOrder;
|
pipelineStageId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableType?: keyof typeof SortOrder;
|
progressableType?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableId?: keyof typeof SortOrder;
|
progressableId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: keyof typeof SortOrder;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressMinAggregateInput {
|
export class PipelineProgressMinAggregateInput {
|
||||||
@ -22,8 +23,11 @@ export class PipelineProgressMinAggregateInput {
|
|||||||
pipelineStageId?: true;
|
pipelineStageId?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
associableType?: true;
|
progressableType?: true;
|
||||||
|
|
||||||
@Field(() => Boolean, { nullable: true })
|
@Field(() => Boolean, { nullable: true })
|
||||||
associableId?: true;
|
progressableId?: true;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class PipelineProgressMinAggregate {
|
export class PipelineProgressMinAggregate {
|
||||||
@ -23,8 +24,11 @@ export class PipelineProgressMinAggregate {
|
|||||||
pipelineStageId?: string;
|
pipelineStageId?: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: true })
|
@Field(() => PipelineProgressableType, { nullable: true })
|
||||||
associableType?: keyof typeof PipelineProgressableType;
|
progressableType?: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: true })
|
@Field(() => String, { nullable: true })
|
||||||
associableId?: string;
|
progressableId?: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { SortOrder } from '../prisma/sort-order.enum';
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressMinOrderByAggregateInput {
|
export class PipelineProgressMinOrderByAggregateInput {
|
||||||
@ -23,8 +24,11 @@ export class PipelineProgressMinOrderByAggregateInput {
|
|||||||
pipelineStageId?: keyof typeof SortOrder;
|
pipelineStageId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableType?: keyof typeof SortOrder;
|
progressableType?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableId?: keyof typeof SortOrder;
|
progressableId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: keyof typeof SortOrder;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { SortOrder } from '../prisma/sort-order.enum';
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineProgressCountOrderByAggregateInput } from './pipeline-progress-count-order-by-aggregate.input';
|
import { PipelineProgressCountOrderByAggregateInput } from './pipeline-progress-count-order-by-aggregate.input';
|
||||||
import { PipelineProgressMaxOrderByAggregateInput } from './pipeline-progress-max-order-by-aggregate.input';
|
import { PipelineProgressMaxOrderByAggregateInput } from './pipeline-progress-max-order-by-aggregate.input';
|
||||||
import { PipelineProgressMinOrderByAggregateInput } from './pipeline-progress-min-order-by-aggregate.input';
|
import { PipelineProgressMinOrderByAggregateInput } from './pipeline-progress-min-order-by-aggregate.input';
|
||||||
@ -26,10 +27,13 @@ export class PipelineProgressOrderByWithAggregationInput {
|
|||||||
pipelineStageId?: keyof typeof SortOrder;
|
pipelineStageId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableType?: keyof typeof SortOrder;
|
progressableType?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableId?: keyof typeof SortOrder;
|
progressableId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => PipelineProgressCountOrderByAggregateInput, { nullable: true })
|
@Field(() => PipelineProgressCountOrderByAggregateInput, { nullable: true })
|
||||||
_count?: PipelineProgressCountOrderByAggregateInput;
|
_count?: PipelineProgressCountOrderByAggregateInput;
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { SortOrder } from '../prisma/sort-order.enum';
|
import { SortOrder } from '../prisma/sort-order.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input';
|
import { PipelineOrderByWithRelationInput } from '../pipeline/pipeline-order-by-with-relation.input';
|
||||||
import { PipelineStageOrderByWithRelationInput } from '../pipeline-stage/pipeline-stage-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()
|
@InputType()
|
||||||
export class PipelineProgressOrderByWithRelationInput {
|
export class PipelineProgressOrderByWithRelationInput {
|
||||||
@ -25,14 +27,20 @@ export class PipelineProgressOrderByWithRelationInput {
|
|||||||
pipelineStageId?: keyof typeof SortOrder;
|
pipelineStageId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableType?: keyof typeof SortOrder;
|
progressableType?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => SortOrder, { nullable: true })
|
@Field(() => SortOrder, { nullable: true })
|
||||||
associableId?: keyof typeof SortOrder;
|
progressableId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: keyof typeof SortOrder;
|
||||||
|
|
||||||
@Field(() => PipelineOrderByWithRelationInput, { nullable: true })
|
@Field(() => PipelineOrderByWithRelationInput, { nullable: true })
|
||||||
pipeline?: PipelineOrderByWithRelationInput;
|
pipeline?: PipelineOrderByWithRelationInput;
|
||||||
|
|
||||||
@Field(() => PipelineStageOrderByWithRelationInput, { nullable: true })
|
@Field(() => PipelineStageOrderByWithRelationInput, { nullable: true })
|
||||||
pipelineStage?: PipelineStageOrderByWithRelationInput;
|
pipelineStage?: PipelineStageOrderByWithRelationInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace?: WorkspaceOrderByWithRelationInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,8 +7,9 @@ export enum PipelineProgressScalarFieldEnum {
|
|||||||
deletedAt = 'deletedAt',
|
deletedAt = 'deletedAt',
|
||||||
pipelineId = 'pipelineId',
|
pipelineId = 'pipelineId',
|
||||||
pipelineStageId = 'pipelineStageId',
|
pipelineStageId = 'pipelineStageId',
|
||||||
associableType = 'associableType',
|
progressableType = 'progressableType',
|
||||||
associableId = 'associableId',
|
progressableId = 'progressableId',
|
||||||
|
workspaceId = 'workspaceId',
|
||||||
}
|
}
|
||||||
|
|
||||||
registerEnumType(PipelineProgressScalarFieldEnum, {
|
registerEnumType(PipelineProgressScalarFieldEnum, {
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import { StringWithAggregatesFilter } from '../prisma/string-with-aggregates-fil
|
|||||||
import { DateTimeWithAggregatesFilter } from '../prisma/date-time-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 { DateTimeNullableWithAggregatesFilter } from '../prisma/date-time-nullable-with-aggregates-filter.input';
|
||||||
import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input';
|
import { EnumPipelineProgressableTypeWithAggregatesFilter } from '../prisma/enum-pipeline-progressable-type-with-aggregates-filter.input';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressScalarWhereWithAggregatesInput {
|
export class PipelineProgressScalarWhereWithAggregatesInput {
|
||||||
@ -43,8 +44,11 @@ export class PipelineProgressScalarWhereWithAggregatesInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeWithAggregatesFilter, {
|
@Field(() => EnumPipelineProgressableTypeWithAggregatesFilter, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeWithAggregatesFilter;
|
progressableType?: EnumPipelineProgressableTypeWithAggregatesFilter;
|
||||||
|
|
||||||
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
@Field(() => StringWithAggregatesFilter, { nullable: true })
|
||||||
associableId?: StringWithAggregatesFilter;
|
progressableId?: StringWithAggregatesFilter;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: StringWithAggregatesFilter;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import { StringFilter } from '../prisma/string-filter.input';
|
|||||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||||
import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input';
|
import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-filter.input';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressScalarWhereInput {
|
export class PipelineProgressScalarWhereInput {
|
||||||
@ -35,8 +36,11 @@ export class PipelineProgressScalarWhereInput {
|
|||||||
pipelineStageId?: StringFilter;
|
pipelineStageId?: StringFilter;
|
||||||
|
|
||||||
@Field(() => EnumPipelineProgressableTypeFilter, { nullable: true })
|
@Field(() => EnumPipelineProgressableTypeFilter, { nullable: true })
|
||||||
associableType?: EnumPipelineProgressableTypeFilter;
|
progressableType?: EnumPipelineProgressableTypeFilter;
|
||||||
|
|
||||||
@Field(() => StringFilter, { nullable: true })
|
@Field(() => StringFilter, { nullable: true })
|
||||||
associableId?: StringFilter;
|
progressableId?: StringFilter;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: StringFilter;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>;
|
||||||
|
}
|
||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressUncheckedCreateWithoutPipelineStageInput {
|
export class PipelineProgressUncheckedCreateWithoutPipelineStageInput {
|
||||||
@ -20,8 +21,11 @@ export class PipelineProgressUncheckedCreateWithoutPipelineStageInput {
|
|||||||
pipelineId!: string;
|
pipelineId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressUncheckedCreateWithoutPipelineInput {
|
export class PipelineProgressUncheckedCreateWithoutPipelineInput {
|
||||||
@ -20,8 +21,11 @@ export class PipelineProgressUncheckedCreateWithoutPipelineInput {
|
|||||||
pipelineStageId!: string;
|
pipelineStageId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
@ -1,6 +1,7 @@
|
|||||||
import { Field } from '@nestjs/graphql';
|
import { Field } from '@nestjs/graphql';
|
||||||
import { InputType } from '@nestjs/graphql';
|
import { InputType } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressUncheckedCreateInput {
|
export class PipelineProgressUncheckedCreateInput {
|
||||||
@ -23,8 +24,11 @@ export class PipelineProgressUncheckedCreateInput {
|
|||||||
pipelineStageId!: string;
|
pipelineStageId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,14 +19,17 @@ export class PipelineProgressUncheckedUpdateManyWithoutPipelineProgressesInput {
|
|||||||
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => NullableDateTimeFieldUpdateOperationsInput, { nullable: true })
|
||||||
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
deletedAt?: NullableDateTimeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
|
pipelineId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
pipelineStageId?: StringFieldUpdateOperationsInput;
|
pipelineStageId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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>;
|
||||||
|
}
|
||||||
@ -4,6 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-
|
|||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressUncheckedUpdateManyInput {
|
export class PipelineProgressUncheckedUpdateManyInput {
|
||||||
@ -28,8 +29,11 @@ export class PipelineProgressUncheckedUpdateManyInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: StringFieldUpdateOperationsInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-
|
|||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput {
|
export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput {
|
||||||
@ -25,8 +26,11 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineStageInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: StringFieldUpdateOperationsInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-
|
|||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressUncheckedUpdateWithoutPipelineInput {
|
export class PipelineProgressUncheckedUpdateWithoutPipelineInput {
|
||||||
@ -25,8 +26,11 @@ export class PipelineProgressUncheckedUpdateWithoutPipelineInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: StringFieldUpdateOperationsInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
@ -4,6 +4,7 @@ import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-
|
|||||||
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-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 { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
|
||||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressUncheckedUpdateInput {
|
export class PipelineProgressUncheckedUpdateInput {
|
||||||
@ -28,8 +29,11 @@ export class PipelineProgressUncheckedUpdateInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: StringFieldUpdateOperationsInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,8 +22,8 @@ export class PipelineProgressUpdateManyMutationInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
@ -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>;
|
||||||
|
}
|
||||||
@ -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;
|
||||||
|
}
|
||||||
@ -5,6 +5,8 @@ import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-up
|
|||||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-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 { 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 { 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()
|
@InputType()
|
||||||
export class PipelineProgressUpdateWithoutPipelineStageInput {
|
export class PipelineProgressUpdateWithoutPipelineStageInput {
|
||||||
@ -23,13 +25,16 @@ export class PipelineProgressUpdateWithoutPipelineStageInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {
|
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
pipeline?: PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,6 +5,8 @@ import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-up
|
|||||||
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-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 { 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 { 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()
|
@InputType()
|
||||||
export class PipelineProgressUpdateWithoutPipelineInput {
|
export class PipelineProgressUpdateWithoutPipelineInput {
|
||||||
@ -23,14 +25,17 @@ export class PipelineProgressUpdateWithoutPipelineInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(
|
@Field(
|
||||||
() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput,
|
() => PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput,
|
||||||
{ nullable: true },
|
{ nullable: true },
|
||||||
)
|
)
|
||||||
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
@ -6,6 +6,8 @@ import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-d
|
|||||||
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-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 { 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 { 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()
|
@InputType()
|
||||||
export class PipelineProgressUpdateInput {
|
export class PipelineProgressUpdateInput {
|
||||||
@ -24,10 +26,10 @@ export class PipelineProgressUpdateInput {
|
|||||||
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
associableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
progressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
associableId?: StringFieldUpdateOperationsInput;
|
progressableId?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {
|
@Field(() => PipelineUpdateOneRequiredWithoutPipelineProgressesNestedInput, {
|
||||||
nullable: true,
|
nullable: true,
|
||||||
@ -39,4 +41,7 @@ export class PipelineProgressUpdateInput {
|
|||||||
{ nullable: true },
|
{ nullable: true },
|
||||||
)
|
)
|
||||||
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
pipelineStage?: PipelineStageUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace?: WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
||||||
|
}
|
||||||
@ -4,8 +4,10 @@ import { StringFilter } from '../prisma/string-filter.input';
|
|||||||
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
import { DateTimeFilter } from '../prisma/date-time-filter.input';
|
||||||
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
import { DateTimeNullableFilter } from '../prisma/date-time-nullable-filter.input';
|
||||||
import { EnumPipelineProgressableTypeFilter } from '../prisma/enum-pipeline-progressable-type-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 { PipelineRelationFilter } from '../pipeline/pipeline-relation-filter.input';
|
||||||
import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input';
|
import { PipelineStageRelationFilter } from '../pipeline-stage/pipeline-stage-relation-filter.input';
|
||||||
|
import { WorkspaceRelationFilter } from '../workspace/workspace-relation-filter.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class PipelineProgressWhereInput {
|
export class PipelineProgressWhereInput {
|
||||||
@ -37,14 +39,20 @@ export class PipelineProgressWhereInput {
|
|||||||
pipelineStageId?: StringFilter;
|
pipelineStageId?: StringFilter;
|
||||||
|
|
||||||
@Field(() => EnumPipelineProgressableTypeFilter, { nullable: true })
|
@Field(() => EnumPipelineProgressableTypeFilter, { nullable: true })
|
||||||
associableType?: EnumPipelineProgressableTypeFilter;
|
progressableType?: EnumPipelineProgressableTypeFilter;
|
||||||
|
|
||||||
@Field(() => StringFilter, { nullable: true })
|
@Field(() => StringFilter, { nullable: true })
|
||||||
associableId?: StringFilter;
|
progressableId?: StringFilter;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId?: StringFilter;
|
||||||
|
|
||||||
@Field(() => PipelineRelationFilter, { nullable: true })
|
@Field(() => PipelineRelationFilter, { nullable: true })
|
||||||
pipeline?: PipelineRelationFilter;
|
pipeline?: PipelineRelationFilter;
|
||||||
|
|
||||||
@Field(() => PipelineStageRelationFilter, { nullable: true })
|
@Field(() => PipelineStageRelationFilter, { nullable: true })
|
||||||
pipelineStage?: PipelineStageRelationFilter;
|
pipelineStage?: PipelineStageRelationFilter;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace?: WorkspaceRelationFilter;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,8 +2,10 @@ import { Field } from '@nestjs/graphql';
|
|||||||
import { ObjectType } from '@nestjs/graphql';
|
import { ObjectType } from '@nestjs/graphql';
|
||||||
import { ID } from '@nestjs/graphql';
|
import { ID } from '@nestjs/graphql';
|
||||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||||
|
import { HideField } from '@nestjs/graphql';
|
||||||
import { Pipeline } from '../pipeline/pipeline.model';
|
import { Pipeline } from '../pipeline/pipeline.model';
|
||||||
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
|
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
|
||||||
|
import { Workspace } from '../workspace/workspace.model';
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
export class PipelineProgress {
|
export class PipelineProgress {
|
||||||
@ -26,14 +28,20 @@ export class PipelineProgress {
|
|||||||
pipelineStageId!: string;
|
pipelineStageId!: string;
|
||||||
|
|
||||||
@Field(() => PipelineProgressableType, { nullable: false })
|
@Field(() => PipelineProgressableType, { nullable: false })
|
||||||
associableType!: keyof typeof PipelineProgressableType;
|
progressableType!: keyof typeof PipelineProgressableType;
|
||||||
|
|
||||||
@Field(() => String, { nullable: false })
|
@Field(() => String, { nullable: false })
|
||||||
associableId!: string;
|
progressableId!: string;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspaceId!: string;
|
||||||
|
|
||||||
@Field(() => Pipeline, { nullable: false })
|
@Field(() => Pipeline, { nullable: false })
|
||||||
pipeline?: Pipeline;
|
pipeline?: Pipeline;
|
||||||
|
|
||||||
@Field(() => PipelineStage, { nullable: false })
|
@Field(() => PipelineStage, { nullable: false })
|
||||||
pipelineStage?: PipelineStage;
|
pipelineStage?: PipelineStage;
|
||||||
|
|
||||||
|
@HideField()
|
||||||
|
workspace?: Workspace;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,4 +24,7 @@ export class WorkspaceCount {
|
|||||||
|
|
||||||
@Field(() => Int, { nullable: false })
|
@Field(() => Int, { nullable: false })
|
||||||
pipelineStages?: number;
|
pipelineStages?: number;
|
||||||
|
|
||||||
|
@Field(() => Int, { nullable: false })
|
||||||
|
pipelineProgresses?: number;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,25 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input';
|
||||||
|
import { Type } from 'class-transformer';
|
||||||
|
import { WorkspaceCreateOrConnectWithoutPipelineProgressesInput } from './workspace-create-or-connect-without-pipeline-progresses.input';
|
||||||
|
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceCreateNestedOneWithoutPipelineProgressesInput {
|
||||||
|
@Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceCreateWithoutPipelineProgressesInput)
|
||||||
|
create?: WorkspaceCreateWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput)
|
||||||
|
connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceWhereUniqueInput, { nullable: true })
|
||||||
|
@Type(() => WorkspaceWhereUniqueInput)
|
||||||
|
connect?: WorkspaceWhereUniqueInput;
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||||
|
import { Type } from 'class-transformer';
|
||||||
|
import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceCreateOrConnectWithoutPipelineProgressesInput {
|
||||||
|
@Field(() => WorkspaceWhereUniqueInput, { nullable: false })
|
||||||
|
@Type(() => WorkspaceWhereUniqueInput)
|
||||||
|
where!: WorkspaceWhereUniqueInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {
|
||||||
|
nullable: false,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceCreateWithoutPipelineProgressesInput)
|
||||||
|
create!: WorkspaceCreateWithoutPipelineProgressesInput;
|
||||||
|
}
|
||||||
@ -6,6 +6,7 @@ import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-cr
|
|||||||
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateWithoutCommentThreadsInput {
|
export class WorkspaceCreateWithoutCommentThreadsInput {
|
||||||
@ -53,4 +54,9 @@ export class WorkspaceCreateWithoutCommentThreadsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-cr
|
|||||||
import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';
|
import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';
|
||||||
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateWithoutCommentsInput {
|
export class WorkspaceCreateWithoutCommentsInput {
|
||||||
@ -55,4 +56,9 @@ export class WorkspaceCreateWithoutCommentsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-t
|
|||||||
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateWithoutCompaniesInput {
|
export class WorkspaceCreateWithoutCompaniesInput {
|
||||||
@ -55,4 +56,9 @@ export class WorkspaceCreateWithoutCompaniesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-t
|
|||||||
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateWithoutPeopleInput {
|
export class WorkspaceCreateWithoutPeopleInput {
|
||||||
@ -55,4 +56,9 @@ export class WorkspaceCreateWithoutPeopleInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,62 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-create-nested-many-without-workspace.input';
|
||||||
|
import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-create-nested-many-without-workspace.input';
|
||||||
|
import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-create-nested-many-without-workspace.input';
|
||||||
|
import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';
|
||||||
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceCreateWithoutPipelineProgressesInput {
|
||||||
|
@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 })
|
||||||
|
domainName!: string;
|
||||||
|
|
||||||
|
@Field(() => String, { nullable: false })
|
||||||
|
displayName!: string;
|
||||||
|
|
||||||
|
@Field(() => String, { nullable: true })
|
||||||
|
logo?: string;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceMemberCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
workspaceMember?: WorkspaceMemberCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => CompanyCreateNestedManyWithoutWorkspaceInput, { nullable: true })
|
||||||
|
companies?: CompanyCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PersonCreateNestedManyWithoutWorkspaceInput, { nullable: true })
|
||||||
|
people?: PersonCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => CommentThreadCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
commentThreads?: CommentThreadCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true })
|
||||||
|
comments?: CommentCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
}
|
||||||
@ -6,6 +6,7 @@ import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-cr
|
|||||||
import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';
|
import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';
|
||||||
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateWithoutPipelineStagesInput {
|
export class WorkspaceCreateWithoutPipelineStagesInput {
|
||||||
@ -53,4 +54,9 @@ export class WorkspaceCreateWithoutPipelineStagesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput;
|
pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { PersonCreateNestedManyWithoutWorkspaceInput } from '../person/person-cr
|
|||||||
import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';
|
import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-create-nested-many-without-workspace.input';
|
||||||
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateWithoutPipelinesInput {
|
export class WorkspaceCreateWithoutPipelinesInput {
|
||||||
@ -53,4 +54,9 @@ export class WorkspaceCreateWithoutPipelinesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-t
|
|||||||
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateWithoutWorkspaceMemberInput {
|
export class WorkspaceCreateWithoutWorkspaceMemberInput {
|
||||||
@ -53,4 +54,9 @@ export class WorkspaceCreateWithoutWorkspaceMemberInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,7 @@ import { CommentThreadCreateNestedManyWithoutWorkspaceInput } from '../comment-t
|
|||||||
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
import { CommentCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-create-nested-many-without-workspace.input';
|
||||||
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
import { PipelineCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
import { PipelineStageCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceCreateInput {
|
export class WorkspaceCreateInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceCreateInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,7 @@ import { CommentThreadOrderByRelationAggregateInput } from '../comment-thread/co
|
|||||||
import { CommentOrderByRelationAggregateInput } from '../comment/comment-order-by-relation-aggregate.input';
|
import { CommentOrderByRelationAggregateInput } from '../comment/comment-order-by-relation-aggregate.input';
|
||||||
import { PipelineOrderByRelationAggregateInput } from '../pipeline/pipeline-order-by-relation-aggregate.input';
|
import { PipelineOrderByRelationAggregateInput } from '../pipeline/pipeline-order-by-relation-aggregate.input';
|
||||||
import { PipelineStageOrderByRelationAggregateInput } from '../pipeline-stage/pipeline-stage-order-by-relation-aggregate.input';
|
import { PipelineStageOrderByRelationAggregateInput } from '../pipeline-stage/pipeline-stage-order-by-relation-aggregate.input';
|
||||||
|
import { PipelineProgressOrderByRelationAggregateInput } from '../pipeline-progress/pipeline-progress-order-by-relation-aggregate.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceOrderByWithRelationInput {
|
export class WorkspaceOrderByWithRelationInput {
|
||||||
@ -52,4 +53,9 @@ export class WorkspaceOrderByWithRelationInput {
|
|||||||
|
|
||||||
@Field(() => PipelineStageOrderByRelationAggregateInput, { nullable: true })
|
@Field(() => PipelineStageOrderByRelationAggregateInput, { nullable: true })
|
||||||
pipelineStages?: PipelineStageOrderByRelationAggregateInput;
|
pipelineStages?: PipelineStageOrderByRelationAggregateInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressOrderByRelationAggregateInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressOrderByRelationAggregateInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/
|
|||||||
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateWithoutCommentThreadsInput {
|
export class WorkspaceUncheckedCreateWithoutCommentThreadsInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUncheckedCreateWithoutCommentThreadsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/
|
|||||||
import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';
|
import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateWithoutCommentsInput {
|
export class WorkspaceUncheckedCreateWithoutCommentsInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUncheckedCreateWithoutCommentsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../
|
|||||||
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateWithoutCompaniesInput {
|
export class WorkspaceUncheckedCreateWithoutCompaniesInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUncheckedCreateWithoutCompaniesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../
|
|||||||
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateWithoutPeopleInput {
|
export class WorkspaceUncheckedCreateWithoutPeopleInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUncheckedCreateWithoutPeopleInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,68 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput } from '../workspace-member/workspace-member-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { CompanyUncheckedCreateNestedManyWithoutWorkspaceInput } from '../company/company-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/person-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceUncheckedCreateWithoutPipelineProgressesInput {
|
||||||
|
@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 })
|
||||||
|
domainName!: string;
|
||||||
|
|
||||||
|
@Field(() => String, { nullable: false })
|
||||||
|
displayName!: string;
|
||||||
|
|
||||||
|
@Field(() => String, { nullable: true })
|
||||||
|
logo?: string;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
workspaceMember?: WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => CompanyUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
companies?: CompanyUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PersonUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
people?: PersonUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
commentThreads?: CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => CommentUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
comments?: CommentUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
}
|
||||||
@ -6,6 +6,7 @@ import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/
|
|||||||
import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';
|
import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateWithoutPipelineStagesInput {
|
export class WorkspaceUncheckedCreateWithoutPipelineStagesInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUncheckedCreateWithoutPipelineStagesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelines?: PipelineUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { PersonUncheckedCreateNestedManyWithoutWorkspaceInput } from '../person/
|
|||||||
import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';
|
import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment-thread/comment-thread-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateWithoutPipelinesInput {
|
export class WorkspaceUncheckedCreateWithoutPipelinesInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUncheckedCreateWithoutPipelinesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,7 @@ import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../
|
|||||||
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput {
|
export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUncheckedCreateWithoutWorkspaceMemberInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,7 @@ import { CommentThreadUncheckedCreateNestedManyWithoutWorkspaceInput } from '../
|
|||||||
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
import { CommentUncheckedCreateNestedManyWithoutWorkspaceInput } from '../comment/comment-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline/pipeline-unchecked-create-nested-many-without-workspace.input';
|
||||||
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
import { PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
import { PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-workspace.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedCreateInput {
|
export class WorkspaceUncheckedCreateInput {
|
||||||
@ -65,4 +66,9 @@ export class WorkspaceUncheckedCreateInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
pipelineStages?: PipelineStageUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedCreateNestedManyWithoutWorkspaceInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/
|
|||||||
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateWithoutCommentThreadsInput {
|
export class WorkspaceUncheckedUpdateWithoutCommentThreadsInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUncheckedUpdateWithoutCommentThreadsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/
|
|||||||
import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';
|
import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateWithoutCommentsInput {
|
export class WorkspaceUncheckedUpdateWithoutCommentsInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUncheckedUpdateWithoutCommentsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../
|
|||||||
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateWithoutCompaniesInput {
|
export class WorkspaceUncheckedUpdateWithoutCompaniesInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUncheckedUpdateWithoutCompaniesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../
|
|||||||
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateWithoutPeopleInput {
|
export class WorkspaceUncheckedUpdateWithoutPeopleInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUncheckedUpdateWithoutPeopleInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,72 @@
|
|||||||
|
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 { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||||
|
import { WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../company/company-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/person-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceUncheckedUpdateWithoutPipelineProgressesInput {
|
||||||
|
@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 })
|
||||||
|
domainName?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
|
displayName?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
||||||
|
logo?: NullableStringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
workspaceMember?: WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
companies?: CompanyUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PersonUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
people?: PersonUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
commentThreads?: CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => CommentUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
comments?: CommentUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
}
|
||||||
@ -10,6 +10,7 @@ import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/
|
|||||||
import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';
|
import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateWithoutPipelineStagesInput {
|
export class WorkspaceUncheckedUpdateWithoutPipelineStagesInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUncheckedUpdateWithoutPipelineStagesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelines?: PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { PersonUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../person/
|
|||||||
import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';
|
import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateWithoutPipelinesInput {
|
export class WorkspaceUncheckedUpdateWithoutPipelinesInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUncheckedUpdateWithoutPipelinesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../
|
|||||||
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput {
|
export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUncheckedUpdateWithoutWorkspaceMemberInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,7 @@ import { CommentThreadUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../
|
|||||||
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
import { CommentUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-unchecked-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
import { PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-unchecked-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUncheckedUpdateInput {
|
export class WorkspaceUncheckedUpdateInput {
|
||||||
@ -69,4 +70,9 @@ export class WorkspaceUncheckedUpdateInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUncheckedUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,39 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input';
|
||||||
|
import { Type } from 'class-transformer';
|
||||||
|
import { WorkspaceCreateOrConnectWithoutPipelineProgressesInput } from './workspace-create-or-connect-without-pipeline-progresses.input';
|
||||||
|
import { WorkspaceUpsertWithoutPipelineProgressesInput } from './workspace-upsert-without-pipeline-progresses.input';
|
||||||
|
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
|
||||||
|
import { WorkspaceUpdateWithoutPipelineProgressesInput } from './workspace-update-without-pipeline-progresses.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceUpdateOneRequiredWithoutPipelineProgressesNestedInput {
|
||||||
|
@Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceCreateWithoutPipelineProgressesInput)
|
||||||
|
create?: WorkspaceCreateWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceCreateOrConnectWithoutPipelineProgressesInput)
|
||||||
|
connectOrCreate?: WorkspaceCreateOrConnectWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceUpsertWithoutPipelineProgressesInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceUpsertWithoutPipelineProgressesInput)
|
||||||
|
upsert?: WorkspaceUpsertWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceWhereUniqueInput, { nullable: true })
|
||||||
|
@Type(() => WorkspaceWhereUniqueInput)
|
||||||
|
connect?: WorkspaceWhereUniqueInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceUpdateWithoutPipelineProgressesInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceUpdateWithoutPipelineProgressesInput)
|
||||||
|
update?: WorkspaceUpdateWithoutPipelineProgressesInput;
|
||||||
|
}
|
||||||
@ -10,6 +10,7 @@ import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-up
|
|||||||
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateWithoutCommentThreadsInput {
|
export class WorkspaceUpdateWithoutCommentThreadsInput {
|
||||||
@ -57,4 +58,9 @@ export class WorkspaceUpdateWithoutCommentThreadsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-up
|
|||||||
import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';
|
import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateWithoutCommentsInput {
|
export class WorkspaceUpdateWithoutCommentsInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUpdateWithoutCommentsInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-t
|
|||||||
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateWithoutCompaniesInput {
|
export class WorkspaceUpdateWithoutCompaniesInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUpdateWithoutCompaniesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-t
|
|||||||
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateWithoutPeopleInput {
|
export class WorkspaceUpdateWithoutPeopleInput {
|
||||||
@ -59,4 +60,9 @@ export class WorkspaceUpdateWithoutPeopleInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,66 @@
|
|||||||
|
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 { NullableStringFieldUpdateOperationsInput } from '../prisma/nullable-string-field-update-operations.input';
|
||||||
|
import { WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput } from '../workspace-member/workspace-member-update-many-without-workspace-nested.input';
|
||||||
|
import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company-update-many-without-workspace-nested.input';
|
||||||
|
import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-update-many-without-workspace-nested.input';
|
||||||
|
import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';
|
||||||
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceUpdateWithoutPipelineProgressesInput {
|
||||||
|
@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 })
|
||||||
|
domainName?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
|
||||||
|
displayName?: StringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => NullableStringFieldUpdateOperationsInput, { nullable: true })
|
||||||
|
logo?: NullableStringFieldUpdateOperationsInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
workspaceMember?: WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => CompanyUpdateManyWithoutWorkspaceNestedInput, { nullable: true })
|
||||||
|
companies?: CompanyUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PersonUpdateManyWithoutWorkspaceNestedInput, { nullable: true })
|
||||||
|
people?: PersonUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => CommentThreadUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
commentThreads?: CommentThreadUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true })
|
||||||
|
comments?: CommentUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
}
|
||||||
@ -10,6 +10,7 @@ import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-up
|
|||||||
import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';
|
import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';
|
||||||
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateWithoutPipelineStagesInput {
|
export class WorkspaceUpdateWithoutPipelineStagesInput {
|
||||||
@ -57,4 +58,9 @@ export class WorkspaceUpdateWithoutPipelineStagesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput;
|
pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { PersonUpdateManyWithoutWorkspaceNestedInput } from '../person/person-up
|
|||||||
import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';
|
import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-thread/comment-thread-update-many-without-workspace-nested.input';
|
||||||
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateWithoutPipelinesInput {
|
export class WorkspaceUpdateWithoutPipelinesInput {
|
||||||
@ -57,4 +58,9 @@ export class WorkspaceUpdateWithoutPipelinesInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-t
|
|||||||
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateWithoutWorkspaceMemberInput {
|
export class WorkspaceUpdateWithoutWorkspaceMemberInput {
|
||||||
@ -57,4 +58,9 @@ export class WorkspaceUpdateWithoutWorkspaceMemberInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,7 @@ import { CommentThreadUpdateManyWithoutWorkspaceNestedInput } from '../comment-t
|
|||||||
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
import { CommentUpdateManyWithoutWorkspaceNestedInput } from '../comment/comment-update-many-without-workspace-nested.input';
|
||||||
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
import { PipelineUpdateManyWithoutWorkspaceNestedInput } from '../pipeline/pipeline-update-many-without-workspace-nested.input';
|
||||||
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
import { PipelineStageUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-stage/pipeline-stage-update-many-without-workspace-nested.input';
|
||||||
|
import { PipelineProgressUpdateManyWithoutWorkspaceNestedInput } from '../pipeline-progress/pipeline-progress-update-many-without-workspace-nested.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceUpdateInput {
|
export class WorkspaceUpdateInput {
|
||||||
@ -63,4 +64,9 @@ export class WorkspaceUpdateInput {
|
|||||||
nullable: true,
|
nullable: true,
|
||||||
})
|
})
|
||||||
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressUpdateManyWithoutWorkspaceNestedInput, {
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
|
pipelineProgresses?: PipelineProgressUpdateManyWithoutWorkspaceNestedInput;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,20 @@
|
|||||||
|
import { Field } from '@nestjs/graphql';
|
||||||
|
import { InputType } from '@nestjs/graphql';
|
||||||
|
import { WorkspaceUpdateWithoutPipelineProgressesInput } from './workspace-update-without-pipeline-progresses.input';
|
||||||
|
import { Type } from 'class-transformer';
|
||||||
|
import { WorkspaceCreateWithoutPipelineProgressesInput } from './workspace-create-without-pipeline-progresses.input';
|
||||||
|
|
||||||
|
@InputType()
|
||||||
|
export class WorkspaceUpsertWithoutPipelineProgressesInput {
|
||||||
|
@Field(() => WorkspaceUpdateWithoutPipelineProgressesInput, {
|
||||||
|
nullable: false,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceUpdateWithoutPipelineProgressesInput)
|
||||||
|
update!: WorkspaceUpdateWithoutPipelineProgressesInput;
|
||||||
|
|
||||||
|
@Field(() => WorkspaceCreateWithoutPipelineProgressesInput, {
|
||||||
|
nullable: false,
|
||||||
|
})
|
||||||
|
@Type(() => WorkspaceCreateWithoutPipelineProgressesInput)
|
||||||
|
create!: WorkspaceCreateWithoutPipelineProgressesInput;
|
||||||
|
}
|
||||||
@ -11,6 +11,7 @@ import { CommentThreadListRelationFilter } from '../comment-thread/comment-threa
|
|||||||
import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input';
|
import { CommentListRelationFilter } from '../comment/comment-list-relation-filter.input';
|
||||||
import { PipelineListRelationFilter } from '../pipeline/pipeline-list-relation-filter.input';
|
import { PipelineListRelationFilter } from '../pipeline/pipeline-list-relation-filter.input';
|
||||||
import { PipelineStageListRelationFilter } from '../pipeline-stage/pipeline-stage-list-relation-filter.input';
|
import { PipelineStageListRelationFilter } from '../pipeline-stage/pipeline-stage-list-relation-filter.input';
|
||||||
|
import { PipelineProgressListRelationFilter } from '../pipeline-progress/pipeline-progress-list-relation-filter.input';
|
||||||
|
|
||||||
@InputType()
|
@InputType()
|
||||||
export class WorkspaceWhereInput {
|
export class WorkspaceWhereInput {
|
||||||
@ -64,4 +65,7 @@ export class WorkspaceWhereInput {
|
|||||||
|
|
||||||
@Field(() => PipelineStageListRelationFilter, { nullable: true })
|
@Field(() => PipelineStageListRelationFilter, { nullable: true })
|
||||||
pipelineStages?: PipelineStageListRelationFilter;
|
pipelineStages?: PipelineStageListRelationFilter;
|
||||||
|
|
||||||
|
@Field(() => PipelineProgressListRelationFilter, { nullable: true })
|
||||||
|
pipelineProgresses?: PipelineProgressListRelationFilter;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,6 +8,7 @@ import { CommentThread } from '../comment-thread/comment-thread.model';
|
|||||||
import { Comment } from '../comment/comment.model';
|
import { Comment } from '../comment/comment.model';
|
||||||
import { Pipeline } from '../pipeline/pipeline.model';
|
import { Pipeline } from '../pipeline/pipeline.model';
|
||||||
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
|
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
|
||||||
|
import { PipelineProgress } from '../pipeline-progress/pipeline-progress.model';
|
||||||
import { WorkspaceCount } from './workspace-count.output';
|
import { WorkspaceCount } from './workspace-count.output';
|
||||||
import { HideField } from '@nestjs/graphql';
|
import { HideField } from '@nestjs/graphql';
|
||||||
|
|
||||||
@ -55,6 +56,9 @@ export class Workspace {
|
|||||||
@Field(() => [PipelineStage], { nullable: true })
|
@Field(() => [PipelineStage], { nullable: true })
|
||||||
pipelineStages?: Array<PipelineStage>;
|
pipelineStages?: Array<PipelineStage>;
|
||||||
|
|
||||||
|
@Field(() => [PipelineProgress], { nullable: true })
|
||||||
|
pipelineProgresses?: Array<PipelineProgress>;
|
||||||
|
|
||||||
@HideField()
|
@HideField()
|
||||||
_count?: WorkspaceCount;
|
_count?: WorkspaceCount;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,9 +21,11 @@ import { WorkspaceMemberRelationsResolver } from './resolvers/relations/workspac
|
|||||||
import { CompanyRelationsResolver } from './resolvers/relations/company-relations.resolver';
|
import { CompanyRelationsResolver } from './resolvers/relations/company-relations.resolver';
|
||||||
import { CommentThreadRelationsResolver } from './resolvers/relations/comment-thread-relations.resolver';
|
import { CommentThreadRelationsResolver } from './resolvers/relations/comment-thread-relations.resolver';
|
||||||
import { PipelineRelationsResolver } from './resolvers/relations/pipeline-relations.resolver';
|
import { PipelineRelationsResolver } from './resolvers/relations/pipeline-relations.resolver';
|
||||||
import { PipelineStageRelationsResolver } from './resolvers/relations/pipeline-stage-relations.resolver';
|
|
||||||
import { GraphQLError } from 'graphql';
|
import { GraphQLError } from 'graphql';
|
||||||
import { CommentRelationsResolver } from './resolvers/relations/comment-relations.resolver';
|
import { CommentRelationsResolver } from './resolvers/relations/comment-relations.resolver';
|
||||||
|
import { PipelineProgressResolver } from './resolvers/pipeline-progress.resolver';
|
||||||
|
import { PipelineStageRelationsResolver } from './resolvers/relations/pipeline-stage-relations.resolver';
|
||||||
|
import { PipelineProgressRelationsResolver } from './resolvers/relations/pipeline-progress-relations.resolver';
|
||||||
|
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
@ -50,6 +52,7 @@ import { CommentRelationsResolver } from './resolvers/relations/comment-relation
|
|||||||
CommentThreadResolver,
|
CommentThreadResolver,
|
||||||
PipelineResolver,
|
PipelineResolver,
|
||||||
PipelineStageResolver,
|
PipelineStageResolver,
|
||||||
|
PipelineProgressResolver,
|
||||||
|
|
||||||
CompanyRelationsResolver,
|
CompanyRelationsResolver,
|
||||||
CommentRelationsResolver,
|
CommentRelationsResolver,
|
||||||
@ -59,6 +62,7 @@ import { CommentRelationsResolver } from './resolvers/relations/comment-relation
|
|||||||
CommentThreadRelationsResolver,
|
CommentThreadRelationsResolver,
|
||||||
PipelineRelationsResolver,
|
PipelineRelationsResolver,
|
||||||
PipelineStageRelationsResolver,
|
PipelineStageRelationsResolver,
|
||||||
|
PipelineProgressRelationsResolver,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class ApiModule {}
|
export class ApiModule {}
|
||||||
|
|||||||
31
server/src/api/resolvers/pipeline-progress.resolver.ts
Normal file
31
server/src/api/resolvers/pipeline-progress.resolver.ts
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
import { Resolver, Args, Query } from '@nestjs/graphql';
|
||||||
|
import { UseGuards } from '@nestjs/common';
|
||||||
|
import { JwtAuthGuard } from 'src/auth/guards/jwt.auth.guard';
|
||||||
|
import { PrismaService } from 'src/database/prisma.service';
|
||||||
|
import { Workspace } from '../@generated/workspace/workspace.model';
|
||||||
|
import { AuthWorkspace } from './decorators/auth-workspace.decorator';
|
||||||
|
import { ArgsService } from './services/args.service';
|
||||||
|
import { FindManyPipelineProgressArgs } from '../@generated/pipeline-progress/find-many-pipeline-progress.args';
|
||||||
|
import { PipelineProgress } from '../@generated/pipeline-progress/pipeline-progress.model';
|
||||||
|
|
||||||
|
@UseGuards(JwtAuthGuard)
|
||||||
|
@Resolver(() => PipelineProgress)
|
||||||
|
export class PipelineProgressResolver {
|
||||||
|
constructor(
|
||||||
|
private readonly prismaService: PrismaService,
|
||||||
|
private readonly argsService: ArgsService,
|
||||||
|
) {}
|
||||||
|
|
||||||
|
@Query(() => [PipelineProgress])
|
||||||
|
async findManyPipelineProgress(
|
||||||
|
@Args() args: FindManyPipelineProgressArgs,
|
||||||
|
@AuthWorkspace() workspace: Workspace,
|
||||||
|
) {
|
||||||
|
const preparedArgs =
|
||||||
|
await this.argsService.prepareFindManyArgs<FindManyPipelineProgressArgs>(
|
||||||
|
args,
|
||||||
|
workspace,
|
||||||
|
);
|
||||||
|
return this.prismaService.pipelineProgress.findMany(preparedArgs);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,36 @@
|
|||||||
|
import * as TypeGraphQL from '@nestjs/graphql';
|
||||||
|
import { PipelineProgress } from 'src/api/@generated/pipeline-progress/pipeline-progress.model';
|
||||||
|
import { PipelineStage } from 'src/api/@generated/pipeline-stage/pipeline-stage.model';
|
||||||
|
import { Pipeline } from 'src/api/@generated/pipeline/pipeline.model';
|
||||||
|
import { PrismaService } from 'src/database/prisma.service';
|
||||||
|
|
||||||
|
@TypeGraphQL.Resolver(() => PipelineProgress)
|
||||||
|
export class PipelineProgressRelationsResolver {
|
||||||
|
constructor(private readonly prismaService: PrismaService) {}
|
||||||
|
|
||||||
|
@TypeGraphQL.ResolveField(() => PipelineStage, {
|
||||||
|
nullable: false,
|
||||||
|
})
|
||||||
|
async pipelineStage(
|
||||||
|
@TypeGraphQL.Root() pipelineStage: PipelineProgress,
|
||||||
|
): Promise<PipelineStage> {
|
||||||
|
return this.prismaService.pipelineStage.findUniqueOrThrow({
|
||||||
|
where: {
|
||||||
|
id: pipelineStage.pipelineStageId,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@TypeGraphQL.ResolveField(() => Pipeline, {
|
||||||
|
nullable: false,
|
||||||
|
})
|
||||||
|
async pipeline(
|
||||||
|
@TypeGraphQL.Root() pipelineStage: PipelineProgress,
|
||||||
|
): Promise<Pipeline> {
|
||||||
|
return this.prismaService.pipeline.findUniqueOrThrow({
|
||||||
|
where: {
|
||||||
|
id: pipelineStage.pipelineId,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,5 +1,4 @@
|
|||||||
import * as TypeGraphQL from '@nestjs/graphql';
|
import * as TypeGraphQL from '@nestjs/graphql';
|
||||||
import { Comment } from 'src/api/@generated/comment/comment.model';
|
|
||||||
import { PipelineStage } from 'src/api/@generated/pipeline-stage/pipeline-stage.model';
|
import { PipelineStage } from 'src/api/@generated/pipeline-stage/pipeline-stage.model';
|
||||||
import { Pipeline } from 'src/api/@generated/pipeline/pipeline.model';
|
import { Pipeline } from 'src/api/@generated/pipeline/pipeline.model';
|
||||||
import { PrismaService } from 'src/database/prisma.service';
|
import { PrismaService } from 'src/database/prisma.service';
|
||||||
@ -8,7 +7,7 @@ import { PrismaService } from 'src/database/prisma.service';
|
|||||||
export class PipelineRelationsResolver {
|
export class PipelineRelationsResolver {
|
||||||
constructor(private readonly prismaService: PrismaService) {}
|
constructor(private readonly prismaService: PrismaService) {}
|
||||||
|
|
||||||
@TypeGraphQL.ResolveField(() => [Comment], {
|
@TypeGraphQL.ResolveField(() => [PipelineStage], {
|
||||||
nullable: false,
|
nullable: false,
|
||||||
})
|
})
|
||||||
async pipelineStages(
|
async pipelineStages(
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
import * as TypeGraphQL from '@nestjs/graphql';
|
import * as TypeGraphQL from '@nestjs/graphql';
|
||||||
import { Comment } from 'src/api/@generated/comment/comment.model';
|
|
||||||
import { PipelineProgress } from 'src/api/@generated/pipeline-progress/pipeline-progress.model';
|
import { PipelineProgress } from 'src/api/@generated/pipeline-progress/pipeline-progress.model';
|
||||||
import { PipelineStage } from 'src/api/@generated/pipeline-stage/pipeline-stage.model';
|
import { PipelineStage } from 'src/api/@generated/pipeline-stage/pipeline-stage.model';
|
||||||
import { PrismaService } from 'src/database/prisma.service';
|
import { PrismaService } from 'src/database/prisma.service';
|
||||||
@ -8,7 +7,7 @@ import { PrismaService } from 'src/database/prisma.service';
|
|||||||
export class PipelineStageRelationsResolver {
|
export class PipelineStageRelationsResolver {
|
||||||
constructor(private readonly prismaService: PrismaService) {}
|
constructor(private readonly prismaService: PrismaService) {}
|
||||||
|
|
||||||
@TypeGraphQL.ResolveField(() => [Comment], {
|
@TypeGraphQL.ResolveField(() => [PipelineProgress], {
|
||||||
nullable: false,
|
nullable: false,
|
||||||
})
|
})
|
||||||
async pipelineProgresses(
|
async pipelineProgresses(
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user