summaryrefslogtreecommitdiff
path: root/extension/schema
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-08-06 22:54:51 -0700
committerGitHub <noreply@github.com>2023-08-06 22:54:51 -0700
commit74005855304412f0401e29c83c166e99a8ab0944 (patch)
tree4e8ddb61fd52068e839ca4ccab268e013405d545 /extension/schema
parenta0d3f29ee237484c66b0efe243c79d902f2da993 (diff)
parent8ada89b0f66f9e746394ee64591359537fe0c7f0 (diff)
downloadsncontinue-74005855304412f0401e29c83c166e99a8ab0944.tar.gz
sncontinue-74005855304412f0401e29c83c166e99a8ab0944.tar.bz2
sncontinue-74005855304412f0401e29c83c166e99a8ab0944.zip
Merge pull request #351 from continuedev/history
Session History
Diffstat (limited to 'extension/schema')
-rw-r--r--extension/schema/FullState.d.ts2
-rw-r--r--extension/schema/SessionInfo.d.ts18
2 files changed, 18 insertions, 2 deletions
diff --git a/extension/schema/FullState.d.ts b/extension/schema/FullState.d.ts
index 0095f41b..2938e012 100644
--- a/extension/schema/FullState.d.ts
+++ b/extension/schema/FullState.d.ts
@@ -26,7 +26,6 @@ export type Timeline = HistoryNode[];
export type CurrentIndex = number;
export type Active1 = boolean;
export type UserInputQueue = string[];
-export type DefaultModel = string;
export type Name3 = string;
export type Description1 = string;
export type SlashCommands = SlashCommandDescription[];
@@ -47,7 +46,6 @@ export interface FullState1 {
history: History;
active: Active1;
user_input_queue: UserInputQueue;
- default_model: DefaultModel;
slash_commands: SlashCommands;
adding_highlighted_code: AddingHighlightedCode;
selected_context_items: SelectedContextItems;
diff --git a/extension/schema/SessionInfo.d.ts b/extension/schema/SessionInfo.d.ts
new file mode 100644
index 00000000..ac94e76d
--- /dev/null
+++ b/extension/schema/SessionInfo.d.ts
@@ -0,0 +1,18 @@
+/* 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 SessionInfo = SessionInfo1;
+export type SessionId = string;
+export type Title = string;
+export type DateCreated = string;
+
+export interface SessionInfo1 {
+ session_id: SessionId;
+ title: Title;
+ date_created: DateCreated;
+ [k: string]: unknown;
+}