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

@ -6,6 +6,8 @@ import { Company } from '../company/company.model';
import { Person } from '../person/person.model';
import { CommentThread } from '../comment-thread/comment-thread.model';
import { Comment } from '../comment/comment.model';
import { Pipeline } from '../pipeline/pipeline.model';
import { PipelineStage } from '../pipeline-stage/pipeline-stage.model';
import { WorkspaceCount } from './workspace-count.output';
@ObjectType({})
@ -46,6 +48,12 @@ export class Workspace {
@Field(() => [Comment], { nullable: true })
comments?: Array<Comment>;
@Field(() => [Pipeline], { nullable: true })
pipelines?: Array<Pipeline>;
@Field(() => [PipelineStage], { nullable: true })
pipelineStages?: Array<PipelineStage>;
@Field(() => WorkspaceCount, { nullable: false })
_count?: WorkspaceCount;
}