14 lines
310 B
TypeScript
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
|
|
}
|