@jetcrab/pi-desk-sdk 1.1.3-dev → 1.1.4-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +8 -0
- package/package.json +1 -1
package/dist/browser.d.ts
CHANGED
|
@@ -217,11 +217,19 @@ export interface BrowserSessionFileHost {
|
|
|
217
217
|
preview(path: string, options?: BrowserFilePreviewOptions): void;
|
|
218
218
|
reveal(path: string): Promise<void>;
|
|
219
219
|
}
|
|
220
|
+
export interface BrowserSessionSidebarHeaderAction {
|
|
221
|
+
label: string;
|
|
222
|
+
icon?: import('./shared.js').BrowserContributionIcon;
|
|
223
|
+
disabled?: boolean;
|
|
224
|
+
busy?: boolean;
|
|
225
|
+
onSelect(): void | Promise<void>;
|
|
226
|
+
}
|
|
220
227
|
export interface BrowserSessionSidebarTabTarget {
|
|
221
228
|
kind: 'session-sidebar-tab';
|
|
222
229
|
source: PluginSource;
|
|
223
230
|
cwd: string;
|
|
224
231
|
files: BrowserSessionFileHost;
|
|
232
|
+
setHeaderActions?(actions: readonly BrowserSessionSidebarHeaderAction[]): void;
|
|
225
233
|
}
|
|
226
234
|
export interface TemporaryMessageLocation {
|
|
227
235
|
tempId: string;
|
package/package.json
CHANGED