ohmyform-api/src/dto/form/button.input.ts
Michael Schramm 414bc04782 updates
2020-05-29 17:09:19 +02:00

20 lines
387 B
TypeScript

import { Field, InputType } from '@nestjs/graphql';
@InputType('ButtonInput')
export class ButtonInput {
@Field({ nullable: true })
readonly url?: string
@Field({ nullable: true })
readonly action?: string
@Field({ nullable: true })
readonly text?: string
@Field({ nullable: true })
readonly bgColor?: string
@Field({ nullable: true })
readonly color?: string
}