mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
decay duration now is an integer
This commit is contained in:
parent
008331d43f
commit
1f0886585e
@ -1,4 +1,4 @@
|
|||||||
import { ObjectType, Field } from 'type-graphql'
|
import { ObjectType, Field, Int } from 'type-graphql'
|
||||||
import Decimal from 'decimal.js-light'
|
import Decimal from 'decimal.js-light'
|
||||||
|
|
||||||
@ObjectType()
|
@ObjectType()
|
||||||
@ -29,6 +29,6 @@ export class Decay {
|
|||||||
@Field(() => Date, { nullable: true })
|
@Field(() => Date, { nullable: true })
|
||||||
end: Date | null
|
end: Date | null
|
||||||
|
|
||||||
@Field(() => Number, { nullable: true })
|
@Field(() => Int, { nullable: true })
|
||||||
duration: number | null
|
duration: number | null
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user