diff options
author | Nate Sesti <33237525+sestinj@users.noreply.github.com> | 2023-05-27 18:35:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 18:35:51 -0400 |
commit | 5a14b71a3939f99c60f64b44683ed26c91677d0f (patch) | |
tree | 2eed99c3d64d4b2c594faba058545d0b3d09142f /extension/schema/History.d.ts | |
parent | 0877ada8ed9f71f3ee792bcb34a4005e3c86827d (diff) | |
parent | 2015ab818405e290548c4e201fcbb4d2cb81ca8c (diff) | |
download | sncontinue-5a14b71a3939f99c60f64b44683ed26c91677d0f.tar.gz sncontinue-5a14b71a3939f99c60f64b44683ed26c91677d0f.tar.bz2 sncontinue-5a14b71a3939f99c60f64b44683ed26c91677d0f.zip |
Merge pull request #11 from continuedev/syntactic-sugar
Syntactic sugar
Diffstat (limited to 'extension/schema/History.d.ts')
-rw-r--r-- | extension/schema/History.d.ts | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/extension/schema/History.d.ts b/extension/schema/History.d.ts new file mode 100644 index 00000000..508deaf0 --- /dev/null +++ b/extension/schema/History.d.ts @@ -0,0 +1,41 @@ +/* eslint-disable */ +/** + * This file was automatically generated by json-schema-to-typescript. + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, + * and run json-schema-to-typescript to regenerate this file. + */ + +export type History = History1; +export type Name = string; +export type Hide = boolean; +export type SystemMessage = string; +export type Depth = number; +export type Timeline = HistoryNode[]; +export type CurrentIndex = number; + +/** + * A history of steps taken and their results + */ +export interface History1 { + timeline: Timeline; + current_index: CurrentIndex; + [k: string]: unknown; +} +/** + * A point in history, a list of which make up History + */ +export interface HistoryNode { + step: Step; + observation?: Observation; + depth: Depth; + [k: string]: unknown; +} +export interface Step { + name?: Name; + hide?: Hide; + system_message?: SystemMessage; + [k: string]: unknown; +} +export interface Observation { + [k: string]: unknown; +} |