| 12345678910111213141516171819202122232425262728293031323334 | import { StoreObject } from './storeObject';export class StoreObjectRef extends StoreObject {  constructor (refID, store) {    super(null, null, false);    this.refID = refID;    this.store = store;  }  get isRef () {    return true;  }  get type () {    return this.store.applyStore(this.refID).type;  }  get value () {    return this.store.applyStore(this.refID).value;  }  getRefObj () {    return this.store.applyStore(this.refID);  }  updateRef (stoObj) {    this.store.updateStore(this.refID, stoObj);  }  isCompatible (another) {    return this.store.applyStore(this.refID).isCompatible(another);  }}
 |