Files
twenty/server/src/core/@generated/user/user-count.output.ts
2023-06-23 08:43:41 -07:00

17 lines
366 B
TypeScript

import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { Int } from '@nestjs/graphql';
@ObjectType()
export class UserCount {
@Field(() => Int, {nullable:false})
companies?: number;
@Field(() => Int, {nullable:false})
refreshTokens?: number;
@Field(() => Int, {nullable:false})
comments?: number;
}