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

26 lines
520 B
TypeScript

import { Field, ID, InputType } from '@nestjs/graphql'
@InputType()
export class FormFieldLogicInput {
@Field({ nullable: true })
readonly formula: string
@Field({ nullable: true })
readonly action: string
@Field(() => ID, { nullable: true })
readonly jumpTo?: string
@Field({ nullable: true })
readonly visible?: boolean
@Field({ nullable: true })
readonly disable?: boolean
@Field({ nullable: true })
readonly require?: boolean
@Field({ nullable: true })
readonly enabled: boolean
}