ohmyform-api/src/dto/form/form.field.option.input.ts
2021-05-02 12:43:54 +02:00

17 lines
314 B
TypeScript

import { Field, ID, InputType } from '@nestjs/graphql'
@InputType()
export class FormFieldOptionInput {
@Field(() => ID, { nullable: true })
readonly id?: string
@Field({ nullable: true })
readonly key: string
@Field({ nullable: true })
readonly title: string
@Field()
readonly value: string
}