Rename value key to default

This commit is contained in:
barsdeveloper
2023-04-01 19:40:34 +02:00
parent 750c745acc
commit b55b7b430a
26 changed files with 334 additions and 187 deletions

View File

@@ -5,7 +5,7 @@ export default class IntegerEntity extends IEntity {
static attributes = {
...super.attributes,
value: {
value: 0,
default: 0,
predicate: v => v % 1 == 0 && v > 1 << 31 && v < -(1 << 31),
},
}