Implement scoping on be (#144)
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { CompanyCreateManyWorkspaceInput } from './company-create-many-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
@InputType()
|
||||
export class CompanyCreateManyWorkspaceInputEnvelope {
|
||||
|
||||
@Field(() => [CompanyCreateManyWorkspaceInput], {nullable:false})
|
||||
@Type(() => CompanyCreateManyWorkspaceInput)
|
||||
data!: Array<CompanyCreateManyWorkspaceInput>;
|
||||
|
||||
@Field(() => Boolean, {nullable:true})
|
||||
skipDuplicates?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user