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:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user