Object reference moved to entity

This commit is contained in:
barsdeveloper
2021-11-16 21:14:03 +01:00
parent 39e26bc0c2
commit 7ec75e1ce8
13 changed files with 346 additions and 269 deletions

View File

@@ -1,23 +0,0 @@
import Primitive from "./Primitive"
export default class ObjectReference extends Primitive {
/**
*
* @param {String} type
* @param {String} path
*/
constructor(type, path) {
super()
this.type = type
this.path = path
}
toString() {
return (this.type ?? "") + (
this.path
? this.type ? `'"${this.path}"'` : this.path
: ""
)
}
}