-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sdubourg
committed
Jul 26, 2023
1 parent
cd226f9
commit 8c368c1
Showing
3 changed files
with
85 additions
and
56 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
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,53 +1,76 @@ | ||
// This file was automatically generated. Edits will be overwritten | ||
|
||
// This file was automatically generated. Edits will be overwritten | ||
|
||
export interface Typegen0 { | ||
'@@xstate/typegen': true; | ||
internalEvents: { | ||
"": { type: "" }; | ||
"xstate.after(1000)#Person.actionFlow.Doing.Drinking": { type: "xstate.after(1000)#Person.actionFlow.Doing.Drinking" }; | ||
"xstate.after(1000)#Person.actionFlow.Doing.Pissing": { type: "xstate.after(1000)#Person.actionFlow.Doing.Pissing" }; | ||
"xstate.after(1000)#Person.actionFlow.Resting.Idle": { type: "xstate.after(1000)#Person.actionFlow.Resting.Idle" }; | ||
"xstate.after(500)#Person.meterFlow.Active": { type: "xstate.after(500)#Person.meterFlow.Active" }; | ||
"xstate.init": { type: "xstate.init" }; | ||
}; | ||
invokeSrcNameMap: { | ||
|
||
}; | ||
missingImplementations: { | ||
actions: never; | ||
delays: never; | ||
guards: never; | ||
services: never; | ||
}; | ||
eventsCausingActions: { | ||
"decreaseHype": "xstate.after(1000)#Person.actionFlow.Doing.Drinking" | "xstate.after(1000)#Person.actionFlow.Resting.Idle"; | ||
"drink": "xstate.after(1000)#Person.actionFlow.Doing.Drinking"; | ||
"emptyPee": "xstate.after(1000)#Person.actionFlow.Doing.Drinking"; | ||
"increaseHype": "xstate.after(1000)#Person.actionFlow.Doing.Drinking"; | ||
"pee": "xstate.after(1000)#Person.actionFlow.Doing.Pissing"; | ||
"registerHotspot": "onRegisterHotspot"; | ||
"unregisterHotspot": "onUnregisterHotspot"; | ||
"updateNeeds": "xstate.after(500)#Person.meterFlow.Active"; | ||
}; | ||
eventsCausingDelays: { | ||
|
||
}; | ||
eventsCausingGuards: { | ||
"canPee": "xstate.after(1000)#Person.actionFlow.Doing.Pissing"; | ||
"isActionDrink": "onDrop"; | ||
"isActionPiss": "onDrop"; | ||
"isPeeEmpty": "xstate.after(1000)#Person.actionFlow.Doing.Pissing"; | ||
"isPeeFull": "xstate.after(1000)#Person.actionFlow.Doing.Drinking"; | ||
"isThirsty": "xstate.after(1000)#Person.actionFlow.Doing.Drinking"; | ||
}; | ||
eventsCausingServices: { | ||
|
||
}; | ||
matchesStates: "actionFlow" | "actionFlow.Blocking" | "actionFlow.Blocking.PissingHimself" | "actionFlow.Doing" | "actionFlow.Doing.Drinking" | "actionFlow.Doing.Pissing" | "actionFlow.Resting" | "actionFlow.Resting.Dragging" | "actionFlow.Resting.Idle" | "meterFlow" | "meterFlow.Active" | "meterFlow.Inactive" | { "actionFlow"?: "Blocking" | "Doing" | "Resting" | { "Blocking"?: "PissingHimself"; | ||
"Doing"?: "Drinking" | "Pissing"; | ||
"Resting"?: "Dragging" | "Idle"; }; | ||
"meterFlow"?: "Active" | "Inactive"; }; | ||
tags: never; | ||
} | ||
|
||
export interface Typegen0 { | ||
'@@xstate/typegen': true; | ||
internalEvents: { | ||
'': { type: '' }; | ||
'xstate.after(1000)#Person.actionFlow.Doing.Drinking': { | ||
type: 'xstate.after(1000)#Person.actionFlow.Doing.Drinking'; | ||
}; | ||
'xstate.after(1000)#Person.actionFlow.Doing.Pissing': { | ||
type: 'xstate.after(1000)#Person.actionFlow.Doing.Pissing'; | ||
}; | ||
'xstate.after(1000)#Person.actionFlow.Resting.Idle': { | ||
type: 'xstate.after(1000)#Person.actionFlow.Resting.Idle'; | ||
}; | ||
'xstate.after(500)#Person.meterFlow.Active': { | ||
type: 'xstate.after(500)#Person.meterFlow.Active'; | ||
}; | ||
'xstate.init': { type: 'xstate.init' }; | ||
}; | ||
invokeSrcNameMap: {}; | ||
missingImplementations: { | ||
actions: never; | ||
delays: never; | ||
guards: never; | ||
services: never; | ||
}; | ||
eventsCausingActions: { | ||
decreaseHype: | ||
| 'xstate.after(1000)#Person.actionFlow.Doing.Drinking' | ||
| 'xstate.after(1000)#Person.actionFlow.Resting.Idle'; | ||
drink: 'xstate.after(1000)#Person.actionFlow.Doing.Drinking'; | ||
emptyPee: 'xstate.after(1000)#Person.actionFlow.Doing.Drinking'; | ||
increaseHype: 'xstate.after(1000)#Person.actionFlow.Doing.Drinking'; | ||
pee: 'xstate.after(1000)#Person.actionFlow.Doing.Pissing'; | ||
registerHotspot: 'onRegisterHotspot'; | ||
unregisterHotspot: 'onUnregisterHotspot'; | ||
updateNeeds: 'xstate.after(500)#Person.meterFlow.Active'; | ||
}; | ||
eventsCausingDelays: {}; | ||
eventsCausingGuards: { | ||
canPee: 'xstate.after(1000)#Person.actionFlow.Doing.Pissing'; | ||
isActionDrink: 'onDrop'; | ||
isActionPiss: 'onDrop'; | ||
isPeeEmpty: 'xstate.after(1000)#Person.actionFlow.Doing.Pissing'; | ||
isPeeFull: 'xstate.after(1000)#Person.actionFlow.Doing.Drinking'; | ||
isThirsty: 'xstate.after(1000)#Person.actionFlow.Doing.Drinking'; | ||
}; | ||
eventsCausingServices: {}; | ||
matchesStates: | ||
| 'actionFlow' | ||
| 'actionFlow.Blocking' | ||
| 'actionFlow.Blocking.PissingHimself' | ||
| 'actionFlow.Doing' | ||
| 'actionFlow.Doing.Drinking' | ||
| 'actionFlow.Doing.Pissing' | ||
| 'actionFlow.Resting' | ||
| 'actionFlow.Resting.Dragging' | ||
| 'actionFlow.Resting.Idle' | ||
| 'meterFlow' | ||
| 'meterFlow.Active' | ||
| 'meterFlow.Inactive' | ||
| { | ||
actionFlow?: | ||
| 'Blocking' | ||
| 'Doing' | ||
| 'Resting' | ||
| { | ||
Blocking?: 'PissingHimself'; | ||
Doing?: 'Drinking' | 'Pissing'; | ||
Resting?: 'Dragging' | 'Idle'; | ||
}; | ||
meterFlow?: 'Active' | 'Inactive'; | ||
}; | ||
tags: never; | ||
} |