mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add id to gdt entry
This commit is contained in:
parent
41482aab1a
commit
9b2afaafe5
@ -15,6 +15,7 @@ export enum GdtEntryType {
|
||||
@ObjectType()
|
||||
export class GdtEntry {
|
||||
constructor(json: any) {
|
||||
this.id = json.id
|
||||
this.amount = json.amount
|
||||
this.date = json.date
|
||||
this.email = json.email
|
||||
@ -27,6 +28,9 @@ export class GdtEntry {
|
||||
this.gdt = json.gdt
|
||||
}
|
||||
|
||||
@Field(() => Number)
|
||||
id: number
|
||||
|
||||
@Field(() => Number)
|
||||
amount: number
|
||||
|
||||
|
||||
@ -129,6 +129,7 @@ export const listGDTEntriesQuery = gql`
|
||||
listGDTEntries(currentPage: $currentPage, pageSize: $pageSize, sessionId: $sessionId) {
|
||||
count
|
||||
gdtEntries {
|
||||
id
|
||||
amount
|
||||
date
|
||||
comment
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user