@punica/editor 1.0.4 → 1.0.5
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/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -124,8 +124,31 @@ declare module 'punica' {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
interface IExtensionManager {
|
|
127
|
+
/**
|
|
128
|
+
* Load one or more extensions from URL or file path.
|
|
129
|
+
*/
|
|
127
130
|
load(extensionPath: string, ...args: string[]): Promise<void>;
|
|
128
|
-
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Activate a specific extension by name.
|
|
134
|
+
*/
|
|
135
|
+
activate(extensionName: string): Promise<void>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Trigger activation of all extensions that declare `onStartup:begin`
|
|
139
|
+
* in their activationEvents.
|
|
140
|
+
*/
|
|
141
|
+
startupBegin(): Promise<void>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Trigger activation of all extensions that declare `onStartup:finish`
|
|
145
|
+
* in their activationEvents.
|
|
146
|
+
*/
|
|
147
|
+
startupFinish(): Promise<void>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Get loaded extension metadata by name.
|
|
151
|
+
*/
|
|
129
152
|
getExtension(extensionName: string): Extension | undefined;
|
|
130
153
|
}
|
|
131
154
|
|