2023-10-11 13:36:54 +11:00
// This file was automatically generated. Edits will be overwritten
export interface Typegen0 {
'@@xstate/typegen' : true ;
internalEvents : {
"" : { type : "" } ;
"done.invoke.get-angle-info" : { type : "done.invoke.get-angle-info" ; data : unknown ; __tip : "See the XState TS docs to learn how to strongly type this." } ;
"done.invoke.get-horizontal-info" : { type : "done.invoke.get-horizontal-info" ; data : unknown ; __tip : "See the XState TS docs to learn how to strongly type this." } ;
"done.invoke.get-length-info" : { type : "done.invoke.get-length-info" ; data : unknown ; __tip : "See the XState TS docs to learn how to strongly type this." } ;
2023-10-16 08:54:38 +11:00
"done.invoke.get-perpendicular-distance-info" : { type : "done.invoke.get-perpendicular-distance-info" ; data : unknown ; __tip : "See the XState TS docs to learn how to strongly type this." } ;
2023-10-11 13:36:54 +11:00
"done.invoke.get-vertical-info" : { type : "done.invoke.get-vertical-info" ; data : unknown ; __tip : "See the XState TS docs to learn how to strongly type this." } ;
"error.platform.get-angle-info" : { type : "error.platform.get-angle-info" ; data : unknown } ;
"error.platform.get-horizontal-info" : { type : "error.platform.get-horizontal-info" ; data : unknown } ;
"error.platform.get-length-info" : { type : "error.platform.get-length-info" ; data : unknown } ;
2023-10-16 08:54:38 +11:00
"error.platform.get-perpendicular-distance-info" : { type : "error.platform.get-perpendicular-distance-info" ; data : unknown } ;
2023-10-11 13:36:54 +11:00
"error.platform.get-vertical-info" : { type : "error.platform.get-vertical-info" ; data : unknown } ;
"xstate.init" : { type : "xstate.init" } ;
"xstate.stop" : { type : "xstate.stop" } ;
} ;
invokeSrcNameMap : {
"Get angle info" : "done.invoke.get-angle-info" ;
"Get horizontal info" : "done.invoke.get-horizontal-info" ;
"Get length info" : "done.invoke.get-length-info" ;
2023-10-16 08:54:38 +11:00
"Get perpendicular distance info" : "done.invoke.get-perpendicular-distance-info" ;
2023-10-11 13:36:54 +11:00
"Get vertical info" : "done.invoke.get-vertical-info" ;
} ;
missingImplementations : {
actions : "AST add line segment" | "AST start new sketch" | "Modify AST" | "Set selection" | "Update code selection cursors" | "create path" | "set tool" | "show default planes" | "sketch exit execute" | "toast extrude failed" ;
delays : never ;
guards : "Selection contains axis" | "Selection contains edge" | "Selection contains face" | "Selection contains line" | "Selection contains point" | "Selection is not empty" | "Selection is one face" ;
2023-10-16 08:54:38 +11:00
services : "Get angle info" | "Get horizontal info" | "Get length info" | "Get perpendicular distance info" | "Get vertical info" ;
2023-10-11 13:36:54 +11:00
} ;
eventsCausingActions : {
"AST add line segment" : "Add point" ;
"AST extrude" : "" | "extrude intent" ;
"AST start new sketch" : "Add point" ;
"Add to code-based selection" : "Deselect point" | "Deselect segment" | "Select all" | "Select edge" | "Select face" | "Select point" | "Select segment" ;
"Add to other selection" : "Select axis" ;
"Clear selection" : "Deselect all" ;
"Constrain equal length" : "Constrain equal length" ;
"Constrain horizontally align" : "Constrain horizontally align" ;
2023-10-16 08:54:38 +11:00
"Constrain parallel" : "Constrain parallel" ;
"Constrain remove constraints" : "Constrain remove constraints" ;
2023-10-11 13:36:54 +11:00
"Constrain vertically align" : "Constrain vertically align" ;
"Make selection horizontal" : "Make segment horizontal" ;
"Make selection vertical" : "Make segment vertical" ;
"Modify AST" : "Complete line" ;
"Remove from code-based selection" : "Deselect edge" | "Deselect face" | "Deselect point" ;
"Remove from other selection" : "Deselect axis" ;
2023-10-16 08:54:38 +11:00
"Set selection" : "Set selection" | "done.invoke.get-angle-info" | "done.invoke.get-horizontal-info" | "done.invoke.get-length-info" | "done.invoke.get-perpendicular-distance-info" | "done.invoke.get-vertical-info" ;
2023-10-11 13:36:54 +11:00
"Update code selection cursors" : "Complete line" | "Deselect all" | "Deselect axis" | "Deselect edge" | "Deselect face" | "Deselect point" | "Deselect segment" | "Select edge" | "Select face" | "Select point" | "Select segment" ;
"create path" : "Select default plane" ;
"default_camera_disable_sketch_mode" : "Cancel" ;
"edit mode enter" : "Enter sketch" ;
"edit_mode_exit" : "Cancel" ;
2023-10-16 08:54:38 +11:00
"equip select" : "CancelSketch" | "Constrain equal length" | "Constrain horizontally align" | "Constrain parallel" | "Constrain remove constraints" | "Constrain vertically align" | "Deselect point" | "Deselect segment" | "Enter sketch" | "Make segment horizontal" | "Make segment vertical" | "Select default plane" | "Select point" | "Select segment" | "Set selection" | "done.invoke.get-angle-info" | "done.invoke.get-horizontal-info" | "done.invoke.get-length-info" | "done.invoke.get-perpendicular-distance-info" | "done.invoke.get-vertical-info" | "error.platform.get-angle-info" | "error.platform.get-horizontal-info" | "error.platform.get-length-info" | "error.platform.get-perpendicular-distance-info" | "error.platform.get-vertical-info" ;
2023-10-11 13:36:54 +11:00
"hide default planes" : "Cancel" | "Select default plane" | "xstate.stop" ;
"reset sketch metadata" : "Cancel" | "Select default plane" ;
"set default plane id" : "Select default plane" ;
"set sketch metadata" : "Enter sketch" ;
"set tool" : "Equip new tool" ;
"set tool line" : "Equip tool" ;
2023-10-14 03:47:46 +11:00
"set tool move" : "Equip move tool" | "Set selection" ;
2023-10-11 13:36:54 +11:00
"show default planes" : "Enter sketch" ;
"sketch exit execute" : "Cancel" | "Complete line" | "xstate.stop" ;
"sketch mode enabled" : "Enter sketch" | "Select default plane" ;
"toast extrude failed" : "" ;
} ;
eventsCausingDelays : {
} ;
eventsCausingGuards : {
2023-10-16 08:54:38 +11:00
"Can canstrain parallel" : "Constrain parallel" ;
"Can constrain angle" : "Constrain angle" ;
2023-10-11 13:36:54 +11:00
"Can constrain equal length" : "Constrain equal length" ;
"Can constrain horizontal distance" : "Constrain horizontal distance" ;
"Can constrain horizontally align" : "Constrain horizontally align" ;
"Can constrain length" : "Constrain length" ;
2023-10-16 08:54:38 +11:00
"Can constrain perpendicular distance" : "Constrain perpendicular distance" ;
"Can constrain remove constraints" : "Constrain remove constraints" ;
2023-10-11 13:36:54 +11:00
"Can constrain vertical distance" : "Constrain vertical distance" ;
"Can constrain vertically align" : "Constrain vertically align" ;
"Can make selection horizontal" : "Make segment horizontal" ;
"Can make selection vertical" : "Make segment vertical" ;
"Selection contains axis" : "Deselect axis" ;
"Selection contains edge" : "Deselect edge" ;
"Selection contains face" : "Deselect face" ;
"Selection contains line" : "Deselect segment" ;
"Selection contains point" : "Deselect point" ;
"Selection is not empty" : "Deselect all" ;
"Selection is one face" : "Enter sketch" ;
2023-10-14 03:47:46 +11:00
"can move" : "" ;
"can move with execute" : "" ;
2023-10-11 13:36:54 +11:00
"has no selection" : "extrude intent" ;
"has valid extrude selection" : "" | "extrude intent" ;
"is editing existing sketch" : "" ;
} ;
eventsCausingServices : {
"Get angle info" : "Constrain angle" ;
"Get horizontal info" : "Constrain horizontal distance" ;
"Get length info" : "Constrain length" ;
2023-10-16 08:54:38 +11:00
"Get perpendicular distance info" : "Constrain perpendicular distance" ;
2023-10-11 13:36:54 +11:00
"Get vertical info" : "Constrain vertical distance" ;
} ;
2023-10-16 08:54:38 +11:00
matchesStates : "Sketch" | "Sketch no face" | "Sketch.Await angle info" | "Sketch.Await horizontal distance info" | "Sketch.Await length info" | "Sketch.Await perpendicular distance info" | "Sketch.Await vertical distance info" | "Sketch.Line Tool" | "Sketch.Line Tool.Done" | "Sketch.Line Tool.Init" | "Sketch.Line Tool.No Points" | "Sketch.Line Tool.Point Added" | "Sketch.Line Tool.Segment Added" | "Sketch.Move Tool" | "Sketch.Move Tool.Move init" | "Sketch.Move Tool.Move with execute" | "Sketch.Move Tool.Move without re-execute" | "Sketch.Move Tool.No move" | "Sketch.SketchIdle" | "awaiting selection" | "checking selection" | "idle" | { "Sketch" ? : "Await angle info" | "Await horizontal distance info" | "Await length info" | "Await perpendicular distance info" | "Await vertical distance info" | "Line Tool" | "Move Tool" | "SketchIdle" | { "Line Tool" ? : "Done" | "Init" | "No Points" | "Point Added" | "Segment Added" ;
2023-10-14 03:47:46 +11:00
"Move Tool" ? : "Move init" | "Move with execute" | "Move without re-execute" | "No move" ; } ; } ;
2023-10-11 13:36:54 +11:00
tags : never ;
}