Skip to content

Instantly share code, notes, and snippets.

@sramam
Created December 28, 2020 11:45
Show Gist options
  • Save sramam/edf084a37174eb89ca2ce81c665a7c1c to your computer and use it in GitHub Desktop.
Save sramam/edf084a37174eb89ca2ce81c665a7c1c to your computer and use it in GitHub Desktop.
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)
const fetchMachine = Machine({
key: 'Kaguz',
initial: 'Dashboard',
context: {
elapsed: false,
},
states: {
Dashboard: {},
Compositions: {
states: {
list: {},
composition: {
initial: 'edit',
states: {
init: {},
edit: {},
conf: {},
view: { },
}
}
},
},
Registry: {
states: {
list: {},
registry: {
states: {
resources: {
},
relations: {
},
facet: {
},
relation: {
},
resource: {
}
},
},
},
},
},
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment