import * as tslib_1 from "tslib";
import { Action, Getter, Mutation, State } from '../../../src/StoreModule/annotations';
import ApiPathes from './ApiPathes';
import { TestCRUDRepository } from './TestCRUDRepository';
export class TestRepository extends TestCRUDRepository {
    constructor() {
        super(ApiPathes.test);
    }
    setSomeState(some) {
        this.someState = some;
    }
    async updateSomeState() {
        // await Api.send()
        this.setSomeState('bla');
    }
    get computedSomeState() {
        return 'comp' + this.someState;
    }
}
tslib_1.__decorate([
    State()
], TestRepository.prototype, "someState", void 0);
tslib_1.__decorate([
    Mutation()
], TestRepository.prototype, "setSomeState", null);
tslib_1.__decorate([
    Action()
], TestRepository.prototype, "updateSomeState", null);
tslib_1.__decorate([
    Getter()
], TestRepository.prototype, "computedSomeState", null);
//# sourceMappingURL=TestRepository.js.map