Files
30-seconds-of-code/node_modules/xstate/lib/index.js
2019-08-20 15:52:05 +02:00

40 lines
1.3 KiB
JavaScript

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("./utils");
exports.matchesState = utils_1.matchesState;
var mapState_1 = require("./mapState");
exports.mapState = mapState_1.mapState;
var StateNode_1 = require("./StateNode");
exports.StateNode = StateNode_1.StateNode;
var State_1 = require("./State");
exports.State = State_1.State;
var Machine_1 = require("./Machine");
exports.Machine = Machine_1.Machine;
var actions_1 = require("./actions");
exports.send = actions_1.send;
exports.sendParent = actions_1.sendParent;
exports.assign = actions_1.assign;
var interpreter_1 = require("./interpreter");
exports.interpret = interpreter_1.interpret;
exports.Interpreter = interpreter_1.Interpreter;
exports.spawn = interpreter_1.spawn;
var match_1 = require("./match");
exports.matchState = match_1.matchState;
var actions = {
raise: actions_1.raise,
send: actions_1.send,
sendParent: actions_1.sendParent,
log: actions_1.log,
cancel: actions_1.cancel,
start: actions_1.start,
stop: actions_1.stop,
assign: actions_1.assign,
after: actions_1.after,
done: actions_1.done
};
exports.actions = actions;
__export(require("./types"));
//# sourceMappingURL=index.js.map