mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge branch 'master' into do-not-log-IntrospectionQuery
This commit is contained in:
commit
07093c466d
@ -12,6 +12,8 @@ export class Contribution {
|
|||||||
this.memo = contribution.memo
|
this.memo = contribution.memo
|
||||||
this.createdAt = contribution.createdAt
|
this.createdAt = contribution.createdAt
|
||||||
this.deletedAt = contribution.deletedAt
|
this.deletedAt = contribution.deletedAt
|
||||||
|
this.confirmedAt = contribution.confirmedAt
|
||||||
|
this.confirmedBy = contribution.confirmedBy
|
||||||
}
|
}
|
||||||
|
|
||||||
@Field(() => Number)
|
@Field(() => Number)
|
||||||
@ -31,6 +33,12 @@ export class Contribution {
|
|||||||
|
|
||||||
@Field(() => Date, { nullable: true })
|
@Field(() => Date, { nullable: true })
|
||||||
deletedAt: Date | null
|
deletedAt: Date | null
|
||||||
|
|
||||||
|
@Field(() => Date, { nullable: true })
|
||||||
|
confirmedAt: Date | null
|
||||||
|
|
||||||
|
@Field(() => Number, { nullable: true })
|
||||||
|
confirmedBy: number | null
|
||||||
}
|
}
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
|
|||||||
@ -58,6 +58,7 @@ export class ContributionResolver {
|
|||||||
order: {
|
order: {
|
||||||
createdAt: order,
|
createdAt: order,
|
||||||
},
|
},
|
||||||
|
withDeleted: true,
|
||||||
skip: (currentPage - 1) * pageSize,
|
skip: (currentPage - 1) * pageSize,
|
||||||
take: pageSize,
|
take: pageSize,
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user