Files
twenty/server/src/api/@generated/pipeline-association/find-many-pipeline-association.args.ts
Charles Bochet 2395f791c8 Add Pipelines models in server (#182)
* Hide workspace and refresh token from schema

* Add pipe models and migrations

* Add seeds

* Update FE graphql schema
2023-06-02 11:20:21 +02:00

33 lines
1.3 KiB
TypeScript

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 FindManyPipelineAssociationArgs {
@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>;
}