mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
17 lines
420 B
TypeScript
17 lines
420 B
TypeScript
import { ArgsType, Field, Int, InputType } from 'type-graphql'
|
|
|
|
import { ContributionMessageType } from '@enum/ContributionMessageType'
|
|
|
|
@InputType()
|
|
@ArgsType()
|
|
export class ContributionMessageArgs {
|
|
@Field(() => Int)
|
|
contributionId: number
|
|
|
|
@Field(() => String)
|
|
message: string
|
|
|
|
@Field(() => ContributionMessageType, { defaultValue: ContributionMessageType.DIALOG })
|
|
messageType: ContributionMessageType
|
|
}
|