11 lines
175 B
TypeScript
11 lines
175 B
TypeScript
|
import { Field, ID, InputType } from '@nestjs/graphql';
|
||
|
|
||
|
@InputType()
|
||
|
export class NewItemInput {
|
||
|
@Field()
|
||
|
name: string;
|
||
|
|
||
|
@Field({ nullable: true })
|
||
|
notes?: string;
|
||
|
}
|