summaryrefslogtreecommitdiff
path: root/extension/schema/FullState.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'extension/schema/FullState.d.ts')
-rw-r--r--extension/schema/FullState.d.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/extension/schema/FullState.d.ts b/extension/schema/FullState.d.ts
index 2938e012..6f9304fe 100644
--- a/extension/schema/FullState.d.ts
+++ b/extension/schema/FullState.d.ts
@@ -38,6 +38,9 @@ export type Content1 = string;
export type Editing = boolean;
export type Editable = boolean;
export type SelectedContextItems = ContextItem[];
+export type SessionId = string;
+export type Title = string;
+export type DateCreated = string;
/**
* A full state of the program, including the history
@@ -49,6 +52,7 @@ export interface FullState1 {
slash_commands: SlashCommands;
adding_highlighted_code: AddingHighlightedCode;
selected_context_items: SelectedContextItems;
+ session_info?: SessionInfo;
[k: string]: unknown;
}
/**
@@ -130,3 +134,9 @@ export interface ContextItemId {
item_id: ItemId;
[k: string]: unknown;
}
+export interface SessionInfo {
+ session_id: SessionId;
+ title: Title;
+ date_created: DateCreated;
+ [k: string]: unknown;
+}