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

@ -9,6 +9,8 @@ import { CompanyUpdateManyWithoutWorkspaceNestedInput } from '../company/company
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 WorkspaceUpdateInput {
@ -51,4 +53,14 @@ export class WorkspaceUpdateInput {
@Field(() => CommentUpdateManyWithoutWorkspaceNestedInput, { nullable: true })
comments?: CommentUpdateManyWithoutWorkspaceNestedInput;
@Field(() => PipelineUpdateManyWithoutWorkspaceNestedInput, {
nullable: true,
})
pipelines?: PipelineUpdateManyWithoutWorkspaceNestedInput;
@Field(() => PipelineStageUpdateManyWithoutWorkspaceNestedInput, {
nullable: true,
})
pipelineStages?: PipelineStageUpdateManyWithoutWorkspaceNestedInput;
}