2395f791c8
* Hide workspace and refresh token from schema * Add pipe models and migrations * Add seeds * Update FE graphql schema
40 lines
876 B
TypeScript
40 lines
876 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { ObjectType } from '@nestjs/graphql';
|
|
import { HideField } from '@nestjs/graphql';
|
|
|
|
@ObjectType()
|
|
export class PersonMaxAggregate {
|
|
@Field(() => String, { nullable: true })
|
|
id?: string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
createdAt?: Date | string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
updatedAt?: Date | string;
|
|
|
|
@Field(() => Date, { nullable: true })
|
|
deletedAt?: Date | string;
|
|
|
|
@Field(() => String, { nullable: true })
|
|
firstname?: string;
|
|
|
|
@Field(() => String, { nullable: true })
|
|
lastname?: string;
|
|
|
|
@Field(() => String, { nullable: true })
|
|
email?: string;
|
|
|
|
@Field(() => String, { nullable: true })
|
|
phone?: string;
|
|
|
|
@Field(() => String, { nullable: true })
|
|
city?: string;
|
|
|
|
@Field(() => String, { nullable: true })
|
|
companyId?: string;
|
|
|
|
@HideField()
|
|
workspaceId?: string;
|
|
}
|