import { field , inputType } from '../../../../' ; import { Recipe } from './recipe.model' ; @ inputType ( ) export class RecipeInput implements Partial < Recipe > { @ field ( ) title : string ; @ field ( { nullable : true } ) description ? : string ; @ field ( type => [ String ] ) ingredients : string [ ] ; }