feat(editor): add sql editor split panes with shared results
This commit is contained in:
1 parent
24a274bd89
commit
5a3a6e2bb0
76 files changed
+7997
-3343
No files matched your search
@@ -66,6 +66,23 @@ export interface RestoredOpenTabs {
|
||||
activeTabId: string | null;
|
||||
}
|
||||
|
||||
/** Group membership persisted with the open-tabs payload. */
|
||||
export interface PersistedEditorGroup {
|
||||
id: string;
|
||||
tabIds: string[];
|
||||
activeTabId: string | null;
|
||||
}
|
||||
|
||||
/** Shared open-tabs transport payload — the single definition both backend adapters persist. */
|
||||
export interface OpenTabsStatePayload {
|
||||
tabs: unknown[];
|
||||
activeTabId: string | null;
|
||||
groups?: PersistedEditorGroup[];
|
||||
focusedGroupId?: string;
|
||||
orientation?: "vertical" | "horizontal";
|
||||
sizes?: number[];
|
||||
}
|
||||
|
||||
export type OpenTabsRestoreFilter = "all" | "pinned";
|
||||
export interface OpenTabsRestoreOptions {
|
||||
queryOnly?: boolean;
|
||||
|
||||
Reference in new issue
Block a user