@croffledev/croffle-types 1.1.1 → 1.1.2
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/index.d.ts +3 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export interface FeatureView {
|
|
|
36
36
|
url: string;
|
|
37
37
|
active?: boolean;
|
|
38
38
|
pluginName?: string;
|
|
39
|
+
pluginId?: string;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
export interface FeatureContextMenu {
|
|
@@ -45,6 +46,7 @@ export interface FeatureContextMenu {
|
|
|
45
46
|
condition?: (targetElement: HTMLElement | null) => boolean;
|
|
46
47
|
disabled?: boolean;
|
|
47
48
|
targetView?: string[];
|
|
49
|
+
pluginId?: string;
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
/** 설정 항목 스키마 (extension SDK / manifest 공용) */
|
|
@@ -312,7 +314,7 @@ export namespace pluginInfo {
|
|
|
312
314
|
export function getEnabled(): Promise<PluginInfo[]>;
|
|
313
315
|
export function getByName(name: string): Promise<PluginInfo | null>;
|
|
314
316
|
export function install(data: Partial<PluginInfo>): Promise<PluginInfo>;
|
|
315
|
-
export function installFromLocal(
|
|
317
|
+
export function installFromLocal(): Promise<PluginInfo | null>;
|
|
316
318
|
export function toggle(
|
|
317
319
|
name: string,
|
|
318
320
|
enable: boolean,
|