gradido/backend/src/graphql/model/CreatePendingCreations.ts

20 lines
367 B
TypeScript

import { ObjectType, Field } from 'type-graphql'
@ObjectType()
export class CreatePendingCreations {
constructor() {
this.success = false
this.successfulCreation = []
this.failedCreation = []
}
@Field(() => Boolean)
success: boolean
@Field(() => [String])
successfulCreation: string[]
@Field(() => [String])
failedCreation: string[]
}