Revert documentation (caused a bug)

This commit is contained in:
barsdeveloper
2022-03-10 21:13:55 +01:00
parent 3409edff89
commit 9861b5cc00
38 changed files with 151 additions and 326 deletions

View File

@@ -1,5 +1,6 @@
import IEntity from "./IEntity"
export default class GuidEntity extends IEntity {
static attributes = {
@@ -15,11 +16,9 @@ export default class GuidEntity extends IEntity {
values.forEach(n => {
guid += ("0".repeat(8) + n.toString(16).toUpperCase()).slice(-8)
})
return new GuidEntity({ valud: guid })
return new GuidEntity({ value: guid })
}
/** @type {String} */ value
toString() {
return this.value
}