diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-02 01:05:59 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-02 01:05:59 -0400 |
commit | 7f28abee0312c675e11e35ca9f2101ab2ef17c07 (patch) | |
tree | a5e83c40b42894f8cd50a4f76845e33715240394 /extension/react-app/src/hooks/ContinueGUIClientProtocol.ts | |
parent | f82ccddd3bc10093fea497ab15e8c1ae132ce66d (diff) | |
download | sncontinue-7f28abee0312c675e11e35ca9f2101ab2ef17c07.tar.gz sncontinue-7f28abee0312c675e11e35ca9f2101ab2ef17c07.tar.bz2 sncontinue-7f28abee0312c675e11e35ca9f2101ab2ef17c07.zip |
notebook -> gui
Diffstat (limited to 'extension/react-app/src/hooks/ContinueGUIClientProtocol.ts')
-rw-r--r-- | extension/react-app/src/hooks/ContinueGUIClientProtocol.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts new file mode 100644 index 00000000..18a91de7 --- /dev/null +++ b/extension/react-app/src/hooks/ContinueGUIClientProtocol.ts @@ -0,0 +1,13 @@ +abstract class AbstractContinueGUIClientProtocol { + abstract sendMainInput(input: string): void; + + abstract reverseToIndex(index: number): void; + + abstract sendRefinementInput(input: string, index: number): void; + + abstract sendStepUserInput(input: string, index: number): void; + + abstract onStateUpdate(state: any): void; +} + +export default AbstractContinueGUIClientProtocol; |