gradido/core/src/graphql/model/CommandResult.ts
clauspeterhuebner 3ce4b92d0f linting
2026-02-19 02:30:53 +01:00

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
}