Files
twenty/server/src/core/@generated/user/user-group-by.output.ts
T
Jérémy M 2cd081234f chore: refacto NestJS in modules (#308)
* chore: wip refacto in modules

* fix: rollback port

* fix: jwt guard in wrong folder

* chore: rename folder exception-filter in filters

* fix: tests are running

* fix: excessive stack depth comparing types

* fix: auth issue

* chore: move createUser in UserService

* fix: test

* fix: guards

* fix: jwt guard don't handle falsy user
2023-06-16 10:38:11 +02:00

61 lines
1.5 KiB
TypeScript

import { Field } from '@nestjs/graphql';
import { ObjectType } from '@nestjs/graphql';
import { GraphQLJSON } from 'graphql-type-json';
import { UserCountAggregate } from './user-count-aggregate.output';
import { UserMinAggregate } from './user-min-aggregate.output';
import { UserMaxAggregate } from './user-max-aggregate.output';
@ObjectType()
export class UserGroupBy {
@Field(() => String, { nullable: false })
id!: string;
@Field(() => Date, { nullable: false })
createdAt!: Date | string;
@Field(() => Date, { nullable: false })
updatedAt!: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, { nullable: true })
lastSeen?: Date | string;
@Field(() => Boolean, { nullable: false })
disabled!: boolean;
@Field(() => String, { nullable: false })
displayName!: string;
@Field(() => String, { nullable: false })
email!: string;
@Field(() => String, { nullable: true })
avatarUrl?: string;
@Field(() => String, { nullable: false })
locale!: string;
@Field(() => String, { nullable: true })
phoneNumber?: string;
@Field(() => String, { nullable: true })
passwordHash?: string;
@Field(() => Boolean, { nullable: false })
emailVerified!: boolean;
@Field(() => GraphQLJSON, { nullable: true })
metadata?: any;
@Field(() => UserCountAggregate, { nullable: true })
_count?: UserCountAggregate;
@Field(() => UserMinAggregate, { nullable: true })
_min?: UserMinAggregate;
@Field(() => UserMaxAggregate, { nullable: true })
_max?: UserMaxAggregate;
}