picgo 2.0.1 → 2.0.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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/PluginHandler.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export declare class PluginHandler implements IPluginHandler {
|
|
|
3
3
|
private readonly ctx;
|
|
4
4
|
constructor(ctx: IPicGo);
|
|
5
5
|
install(plugins: string[], options?: IPluginHandlerOptions, env?: IProcessEnv): Promise<IPluginHandlerResult<boolean>>;
|
|
6
|
-
uninstall(plugins: string[]): Promise<IPluginHandlerResult<boolean>>;
|
|
6
|
+
uninstall(plugins: string[], env?: IProcessEnv): Promise<IPluginHandlerResult<boolean>>;
|
|
7
7
|
update(plugins: string[], options?: IPluginHandlerOptions, env?: IProcessEnv): Promise<IPluginHandlerResult<boolean>>;
|
|
8
8
|
private execCommand;
|
|
9
9
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -502,7 +502,7 @@ export interface IPluginProcessResult {
|
|
|
502
502
|
export interface IPluginHandler {
|
|
503
503
|
install: (plugins: string[], options: IPluginHandlerOptions, env?: IProcessEnv) => Promise<IPluginHandlerResult<boolean>>;
|
|
504
504
|
update: (plugins: string[], options: IPluginHandlerOptions, env?: IProcessEnv) => Promise<IPluginHandlerResult<boolean>>;
|
|
505
|
-
uninstall: (plugins: string[]) => Promise<IPluginHandlerResult<boolean>>;
|
|
505
|
+
uninstall: (plugins: string[], env?: IProcessEnv) => Promise<IPluginHandlerResult<boolean>>;
|
|
506
506
|
}
|
|
507
507
|
export interface IPluginHandlerResult<T> {
|
|
508
508
|
success: T;
|