@sliprail/sdk 0.1.15 → 0.1.17
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/lib/index.d.ts +1 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export type ShortcutContext = SliprailMain & {
|
|
|
73
73
|
subShortcutId: string;
|
|
74
74
|
subShortcutFilter: string | undefined;
|
|
75
75
|
getSettings: (keys?: string[]) => Promise<Record<string, unknown>>;
|
|
76
|
-
createWindow: (options: WindowOptions) => WindowControl
|
|
76
|
+
createWindow: (options: WindowOptions) => Promise<WindowControl>;
|
|
77
77
|
createStorage: () => KVStorage;
|
|
78
78
|
getWindows: (options?: GetWindowsOptions) => WindowControl[];
|
|
79
79
|
channel: WindowChannel | undefined;
|
|
@@ -205,7 +205,6 @@ export type SettingDefinition = BooleanSetting | NumberSetting | StringSetting |
|
|
|
205
205
|
export type Extension = {
|
|
206
206
|
id?: string;
|
|
207
207
|
name?: LocalizedString;
|
|
208
|
-
role?: string;
|
|
209
208
|
icon?: string | {
|
|
210
209
|
src: string;
|
|
211
210
|
template?: boolean;
|