20 lines
387 B
TypeScript
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
|
|
}
|