Implement scoping on be (#144)

This commit is contained in:
Charles Bochet
2023-05-26 14:00:32 +02:00
committed by GitHub
parent f79a45e7e6
commit 26d3716ae7
981 changed files with 14545 additions and 24213 deletions

View File

@ -0,0 +1,26 @@
import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { CompanyCountAggregate } from './company-count-aggregate.output';
import { CompanyAvgAggregate } from './company-avg-aggregate.output';
import { CompanySumAggregate } from './company-sum-aggregate.output';
import { CompanyMinAggregate } from './company-min-aggregate.output';
import { CompanyMaxAggregate } from './company-max-aggregate.output';
@ObjectType()
export class AggregateCompany {
@Field(() => CompanyCountAggregate, {nullable:true})
_count?: CompanyCountAggregate;
@Field(() => CompanyAvgAggregate, {nullable:true})
_avg?: CompanyAvgAggregate;
@Field(() => CompanySumAggregate, {nullable:true})
_sum?: CompanySumAggregate;
@Field(() => CompanyMinAggregate, {nullable:true})
_min?: CompanyMinAggregate;
@Field(() => CompanyMaxAggregate, {nullable:true})
_max?: CompanyMaxAggregate;
}