UNPKG

armisa-models

Version:
26 lines (25 loc) 949 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ModelLanguage = void 0; const AttrEvent_1 = require("../AttrEvent"); class ModelLanguage { // private sync: ApiSync = new ApiSync( // this.mainStateManager, // this.axiosInstance, // this.mainStateManager.Usering // ); constructor(mainStateManager, empty, axiosInstance) { this.mainStateManager = mainStateManager; this.empty = empty; this.axiosInstance = axiosInstance; this.atrrEvent = new AttrEvent_1.AttrEvent(this.empty()); this.on = this.atrrEvent.on; this.removeOn = this.atrrEvent.removeOn; this.trigger = this.atrrEvent.trigger; this.get = this.atrrEvent.get; this.getAll = this.atrrEvent.getAll; this.set = this.atrrEvent.set; this.setKey = this.atrrEvent.setKey; } } exports.ModelLanguage = ModelLanguage;