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

29 lines
590 B
TypeScript

import { Field, ID, InputType } from '@nestjs/graphql'
@InputType('FormNotificationInput')
export class FormNotificationInput {
@Field(() => ID, { nullable: true })
readonly id?: string
@Field({ nullable: true })
readonly subject?: string
@Field({ nullable: true })
readonly htmlTemplate?: string
@Field({ nullable: true })
readonly toField?: string
@Field({ nullable: true })
readonly fromEmail?: string
@Field({ nullable: true })
readonly fromField?: string
@Field({ nullable: true })
readonly toEmail?: string
@Field()
readonly enabled: boolean
}