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

@ -0,0 +1,32 @@
import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql';
import { PipelineAssociationWhereInput } from './pipeline-association-where.input';
import { Type } from 'class-transformer';
import { PipelineAssociationOrderByWithRelationInput } from './pipeline-association-order-by-with-relation.input';
import { PipelineAssociationWhereUniqueInput } from './pipeline-association-where-unique.input';
import { Int } from '@nestjs/graphql';
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
@ArgsType()
export class FindFirstPipelineAssociationOrThrowArgs {
@Field(() => PipelineAssociationWhereInput, { nullable: true })
@Type(() => PipelineAssociationWhereInput)
where?: PipelineAssociationWhereInput;
@Field(() => [PipelineAssociationOrderByWithRelationInput], {
nullable: true,
})
orderBy?: Array<PipelineAssociationOrderByWithRelationInput>;
@Field(() => PipelineAssociationWhereUniqueInput, { nullable: true })
cursor?: PipelineAssociationWhereUniqueInput;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
}