Add Pipelines models in server (#182)

* Hide workspace and refresh token from schema

* Add pipe models and migrations

* Add seeds

* Update FE graphql schema
This commit is contained in:
Charles Bochet
2023-06-02 11:20:21 +02:00
committed by GitHub
parent bf3097500a
commit 2395f791c8
335 changed files with 8371 additions and 428 deletions

View File

@ -4,6 +4,8 @@ import { WorkspaceMemberCreateNestedManyWithoutWorkspaceInput } from '../workspa
import { CompanyCreateNestedManyWithoutWorkspaceInput } from '../company/company-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 WorkspaceCreateWithoutPeopleInput {
@ -43,4 +45,14 @@ export class WorkspaceCreateWithoutPeopleInput {
@Field(() => CommentCreateNestedManyWithoutWorkspaceInput, { nullable: true })
comments?: CommentCreateNestedManyWithoutWorkspaceInput;
@Field(() => PipelineCreateNestedManyWithoutWorkspaceInput, {
nullable: true,
})
pipelines?: PipelineCreateNestedManyWithoutWorkspaceInput;
@Field(() => PipelineStageCreateNestedManyWithoutWorkspaceInput, {
nullable: true,
})
pipelineStages?: PipelineStageCreateNestedManyWithoutWorkspaceInput;
}