Merge branch '2051-list-contribution-add-deleted' into 2038-Community-contribution-site-and-form

This commit is contained in:
ogerly 2022-07-13 11:15:15 +02:00
commit a905ff8642

View File

@ -12,6 +12,8 @@ export class Contribution {
this.memo = contribution.memo
this.createdAt = contribution.createdAt
this.deletedAt = contribution.deletedAt
this.confirmedAt = contribution.confirmedAt
this.confirmedBy = contribution.confirmedBy
}
@Field(() => Number)
@ -31,6 +33,12 @@ export class Contribution {
@Field(() => Date, { nullable: true })
deletedAt: Date | null
@Field(() => Date, { nullable: true })
confirmedAt: Date | null
@Field(() => Number, { nullable: true })
confirmedBy: number | null
}
@ObjectType()