"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.runtime = exports.declaration = void 0;
const CommandService_1 = require("../services/CommandService");
const locale_1 = require("../locale");
exports.declaration = {
    name: 'historyBackward',
    label: () => (0, locale_1._)('Back'),
    iconName: 'icon-back',
};
const runtime = () => {
    return {
        execute: async () => {
            CommandService_1.utils.store.dispatch({
                type: 'HISTORY_BACKWARD',
            });
        },
        enabledCondition: 'historyhasBackwardNotes',
    };
};
exports.runtime = runtime;
//# sourceMappingURL=historyBackward.js.map