Implement scoping on be (#144)
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PersonCreateWithoutWorkspaceInput } from './person-create-without-workspace.input';
|
||||
import { Type } from 'class-transformer';
|
||||
import { PersonCreateOrConnectWithoutWorkspaceInput } from './person-create-or-connect-without-workspace.input';
|
||||
import { PersonCreateManyWorkspaceInputEnvelope } from './person-create-many-workspace-input-envelope.input';
|
||||
import { PersonWhereUniqueInput } from './person-where-unique.input';
|
||||
|
||||
@InputType()
|
||||
export class PersonUncheckedCreateNestedManyWithoutWorkspaceInput {
|
||||
|
||||
@Field(() => [PersonCreateWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateWithoutWorkspaceInput)
|
||||
create?: Array<PersonCreateWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => [PersonCreateOrConnectWithoutWorkspaceInput], {nullable:true})
|
||||
@Type(() => PersonCreateOrConnectWithoutWorkspaceInput)
|
||||
connectOrCreate?: Array<PersonCreateOrConnectWithoutWorkspaceInput>;
|
||||
|
||||
@Field(() => PersonCreateManyWorkspaceInputEnvelope, {nullable:true})
|
||||
@Type(() => PersonCreateManyWorkspaceInputEnvelope)
|
||||
createMany?: PersonCreateManyWorkspaceInputEnvelope;
|
||||
|
||||
@Field(() => [PersonWhereUniqueInput], {nullable:true})
|
||||
@Type(() => PersonWhereUniqueInput)
|
||||
connect?: Array<PersonWhereUniqueInput>;
|
||||
}
|
||||
Reference in New Issue
Block a user