Implement scoping on be (#144)
This commit is contained in:
@ -0,0 +1,40 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@InputType()
|
||||
export class PersonMinAggregateInput {
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
id?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
createdAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
updatedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
deletedAt?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
firstname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
lastname?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
email?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
phone?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
city?: true;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
companyId?: true;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: true;
|
||||
}
|
||||
Reference in New Issue
Block a user