Files
twenty_crm/server/src/api/@generated/pipeline-association/pipeline-association-group-by.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

47 lines
2.0 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 { PipelineAssociationOrderByWithAggregationInput } from './pipeline-association-order-by-with-aggregation.input';
import { PipelineAssociationScalarFieldEnum } from './pipeline-association-scalar-field.enum';
import { PipelineAssociationScalarWhereWithAggregatesInput } from './pipeline-association-scalar-where-with-aggregates.input';
import { Int } from '@nestjs/graphql';
import { PipelineAssociationCountAggregateInput } from './pipeline-association-count-aggregate.input';
import { PipelineAssociationMinAggregateInput } from './pipeline-association-min-aggregate.input';
import { PipelineAssociationMaxAggregateInput } from './pipeline-association-max-aggregate.input';
@ArgsType()
export class PipelineAssociationGroupByArgs {
@Field(() => PipelineAssociationWhereInput, { nullable: true })
@Type(() => PipelineAssociationWhereInput)
where?: PipelineAssociationWhereInput;
@Field(() => [PipelineAssociationOrderByWithAggregationInput], {
nullable: true,
})
orderBy?: Array<PipelineAssociationOrderByWithAggregationInput>;
@Field(() => [PipelineAssociationScalarFieldEnum], { nullable: false })
by!: Array<keyof typeof PipelineAssociationScalarFieldEnum>;
@Field(() => PipelineAssociationScalarWhereWithAggregatesInput, {
nullable: true,
})
having?: PipelineAssociationScalarWhereWithAggregatesInput;
@Field(() => Int, { nullable: true })
take?: number;
@Field(() => Int, { nullable: true })
skip?: number;
@Field(() => PipelineAssociationCountAggregateInput, { nullable: true })
_count?: PipelineAssociationCountAggregateInput;
@Field(() => PipelineAssociationMinAggregateInput, { nullable: true })
_min?: PipelineAssociationMinAggregateInput;
@Field(() => PipelineAssociationMaxAggregateInput, { nullable: true })
_max?: PipelineAssociationMaxAggregateInput;
}