continue-custom/core/protocol/webview.ts
2024-06-11 22:41:30 -07:00

15 lines
398 B
TypeScript

import type { ContextItemWithId, IndexingProgressUpdate } from "..";
export type ToWebviewFromIdeOrCoreProtocol = {
configUpdate: [undefined, void];
getDefaultModelTitle: [undefined, string];
indexProgress: [IndexingProgressUpdate, void];
refreshSubmenuItems: [undefined, void];
addContextItem: [
{
historyIndex: number;
item: ContextItemWithId;
},
void,
];
};