-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates xstate-tree to be compatible with xstate v5 Closes #58 BREAKING CHANGES: v1 style builders (buildView etc) have been removed, along with a handful of testing utilities and a behavioural change with children and final states. They will no longer be automatically from views and instead must be manually stopped using `stopChild`
- Loading branch information
Showing
27 changed files
with
1,299 additions
and
1,568 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,36 @@ | ||
// This file was automatically generated. Edits will be overwritten | ||
|
||
export interface Typegen0 { | ||
"@@xstate/typegen": true; | ||
internalEvents: { | ||
"": { type: "" }; | ||
"done.invoke.syncTodos": { | ||
type: "done.invoke.syncTodos"; | ||
data: unknown; | ||
__tip: "See the XState TS docs to learn how to strongly type this."; | ||
}; | ||
"error.platform.syncTodos": { | ||
type: "error.platform.syncTodos"; | ||
data: unknown; | ||
}; | ||
"xstate.init": { type: "xstate.init" }; | ||
}; | ||
invokeSrcNameMap: { | ||
syncTodos: "done.invoke.syncTodos"; | ||
}; | ||
missingImplementations: { | ||
actions: never; | ||
services: never; | ||
guards: never; | ||
delays: never; | ||
}; | ||
eventsCausingActions: { | ||
setFilter: "SHOW_ACTIVE_TODOS" | "SHOW_ALL_TODOS" | "SHOW_COMPLETED_TODOS"; | ||
syncTodos: "SYNC_TODOS"; | ||
}; | ||
eventsCausingServices: { | ||
syncTodos: "xstate.init"; | ||
}; | ||
eventsCausingGuards: { | ||
hasTodos: ""; | ||
}; | ||
eventsCausingDelays: {}; | ||
matchesStates: "conductor" | "hasTodos" | "noTodos"; | ||
tags: never; | ||
} | ||
// This file was automatically generated. Edits will be overwritten | ||
|
||
export interface Typegen0 { | ||
'@@xstate/typegen': true; | ||
internalEvents: { | ||
"done.invoke.syncTodos": { type: "done.invoke.syncTodos"; data: unknown; __tip: "See the XState TS docs to learn how to strongly type this." }; | ||
"error.platform.syncTodos": { type: "error.platform.syncTodos"; data: unknown }; | ||
"xstate.init": { type: "xstate.init" }; | ||
}; | ||
invokeSrcNameMap: { | ||
"syncTodos": "done.invoke.syncTodos"; | ||
}; | ||
missingImplementations: { | ||
actions: "setFilter" | "syncTodos"; | ||
delays: never; | ||
guards: never; | ||
services: "syncTodos"; | ||
}; | ||
eventsCausingActions: { | ||
"setFilter": "SHOW_ACTIVE_TODOS" | "SHOW_ALL_TODOS" | "SHOW_COMPLETED_TODOS"; | ||
"syncTodos": "SYNC_TODOS"; | ||
}; | ||
eventsCausingDelays: { | ||
|
||
}; | ||
eventsCausingGuards: { | ||
|
||
}; | ||
eventsCausingServices: { | ||
"syncTodos": "xstate.init"; | ||
}; | ||
matchesStates: "conductor" | "hasTodos" | "noTodos"; | ||
tags: never; | ||
} | ||
|
Oops, something went wrong.