Files
twenty/server/src/api/@generated/pipeline-progress/find-first-pipeline-progress-or-throw.args.ts
T
2023-06-02 12:39:58 +02:00

31 lines
1.2 KiB
TypeScript

import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql';
import { PipelineProgressWhereInput } from './pipeline-progress-where.input';
import { Type } from 'class-transformer';
import { PipelineProgressOrderByWithRelationInput } from './pipeline-progress-order-by-with-relation.input';
import { PipelineProgressWhereUniqueInput } from './pipeline-progress-where-unique.input';
import { Int } from '@nestjs/graphql';
import { PipelineProgressScalarFieldEnum } from './pipeline-progress-scalar-field.enum';
@ArgsType()
export class FindFirstPipelineProgressOrThrowArgs {
@Field(() => PipelineProgressWhereInput, { nullable: true })
@Type(() => PipelineProgressWhereInput)
where?: PipelineProgressWhereInput;
@Field(() => [PipelineProgressOrderByWithRelationInput], { nullable: true })
orderBy?: Array<PipelineProgressOrderByWithRelationInput>;
@Field(() => PipelineProgressWhereUniqueInput, { nullable: true })
cursor?: PipelineProgressWhereUniqueInput;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => [PipelineProgressScalarFieldEnum], { nullable: true })
distinct?: Array<keyof typeof PipelineProgressScalarFieldEnum>;
}