mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
14 lines
256 B
TypeScript
14 lines
256 B
TypeScript
import { Field, ObjectType } from 'type-graphql'
|
|
|
|
@ObjectType()
|
|
export class CommandResult {
|
|
@Field(() => Boolean)
|
|
success: boolean
|
|
|
|
@Field(() => String, { nullable: true })
|
|
data?: any
|
|
|
|
@Field(() => String, { nullable: true })
|
|
error?: string
|
|
}
|