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

14 lines
310 B
TypeScript

import { Field, InputType } from '@nestjs/graphql';
@InputType('NotificationInput', { isAbstract: true })
export class AbstractNotificationInput {
@Field({ nullable: true })
readonly subject?: string
@Field({ nullable: true })
readonly htmlTemplate?: string
@Field()
readonly enabled: boolean
}