diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-02 14:09:50 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-02 14:09:50 -0400 |
commit | e627b99a89d346d7ad88947182d110c4aeb3272f (patch) | |
tree | 09f0bd1cbfdec05615870d01a8cedeb7eb4afc51 /extension/react-app/src/hooks/ContinueGUIClientProtocol.ts | |
parent | 22c420cbf26293e145def3e90e7132b4a337a5a5 (diff) | |
parent | a6a66f8a8b42eca861b05d6e7ccc0d0c2cfc8706 (diff) | |
download | sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.tar.gz sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.tar.bz2 sncontinue-e627b99a89d346d7ad88947182d110c4aeb3272f.zip |
Merge branch 'main' into docs
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; |