Files
twenty/server/src/api/@generated/workspace/update-one-workspace.args.ts
T
2023-05-26 14:00:32 +02:00

18 lines
595 B
TypeScript

import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql';
import { WorkspaceUpdateInput } from './workspace-update.input';
import { Type } from 'class-transformer';
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
@ArgsType()
export class UpdateOneWorkspaceArgs {
@Field(() => WorkspaceUpdateInput, {nullable:false})
@Type(() => WorkspaceUpdateInput)
data!: WorkspaceUpdateInput;
@Field(() => WorkspaceWhereUniqueInput, {nullable:false})
@Type(() => WorkspaceWhereUniqueInput)
where!: WorkspaceWhereUniqueInput;
}