UNPKG

lisk-framework

Version:

Lisk blockchain application platform

17 lines 556 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseCommand = void 0; const lisk_codec_1 = require("@liskhq/lisk-codec"); class BaseCommand { get name() { const name = this.constructor.name.replace('Command', ''); return name.charAt(0).toLowerCase() + name.substr(1); } constructor(stores, events) { this.stores = stores; this.events = events; this.schema = lisk_codec_1.emptySchema; } } exports.BaseCommand = BaseCommand; //# sourceMappingURL=base_command.js.map