mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
20 lines
385 B
TypeScript
20 lines
385 B
TypeScript
import { ObjectType, Field } from 'type-graphql'
|
|
|
|
@ObjectType()
|
|
export class AdminCreateContributions {
|
|
constructor() {
|
|
this.success = false
|
|
this.successfulContribution = []
|
|
this.failedContribution = []
|
|
}
|
|
|
|
@Field(() => Boolean)
|
|
success: boolean
|
|
|
|
@Field(() => [String])
|
|
successfulContribution: string[]
|
|
|
|
@Field(() => [String])
|
|
failedContribution: string[]
|
|
}
|