UNPKG

xstate

Version:

Finite State Machines and Statecharts for the Modern Web.

34 lines (29 loc) 1.17 kB
var ActionTypes; (function (ActionTypes) { ActionTypes["Start"] = "xstate.start"; ActionTypes["Stop"] = "xstate.stop"; ActionTypes["Raise"] = "xstate.raise"; ActionTypes["Send"] = "xstate.send"; ActionTypes["Cancel"] = "xstate.cancel"; ActionTypes["NullEvent"] = ""; ActionTypes["Assign"] = "xstate.assign"; ActionTypes["After"] = "xstate.after"; ActionTypes["DoneState"] = "done.state"; ActionTypes["DoneInvoke"] = "done.invoke"; ActionTypes["Log"] = "xstate.log"; ActionTypes["Init"] = "xstate.init"; ActionTypes["Invoke"] = "xstate.invoke"; ActionTypes["ErrorExecution"] = "error.execution"; ActionTypes["ErrorCommunication"] = "error.communication"; ActionTypes["ErrorPlatform"] = "error.platform"; ActionTypes["ErrorCustom"] = "xstate.error"; ActionTypes["Update"] = "xstate.update"; ActionTypes["Pure"] = "xstate.pure"; ActionTypes["Choose"] = "xstate.choose"; })(ActionTypes || (ActionTypes = {})); var SpecialTargets; (function (SpecialTargets) { SpecialTargets["Parent"] = "#_parent"; SpecialTargets["Internal"] = "#_internal"; })(SpecialTargets || (SpecialTargets = {})); export { ActionTypes, SpecialTargets };