@gluestack-v2/glue-plugin-sdk
Version:
Gluestack V2 Service SDK Plugin
25 lines (24 loc) • 1.24 kB
TypeScript
import AppCLI from '@gluestack-v2/framework-cli/build/helpers/lib/app';
import BaseGluestackPlugin from '@gluestack-v2/framework-cli/build/plugin/BaseGluestackPlugin';
import IInstance from '@gluestack-v2/framework-cli/build/types/plugin/interface/IInstance';
import IGlueStorePlugin from '@gluestack-v2/framework-cli/build/types/store/interface/IGluePluginStore';
export declare class GlueStackPlugin extends BaseGluestackPlugin {
type: 'stateless' | 'stateful' | 'devonly';
private generatedSDKPaths;
getGeneratedSDKPaths(): string[];
setGeneratedSDKPaths(paths: string): void;
resetGeneratedSDKPaths(): void;
constructor(app: AppCLI, gluePluginStore: IGlueStorePlugin);
init(): void;
destroy(): void;
getName(): string;
getVersion(): string;
getType(): 'stateless' | 'stateful' | 'devonly';
getInternalFolderPath(): string;
runPostInstall(instanceName: string, _target: string): Promise<void>;
createInstance(key: string, gluePluginStore: IGlueStorePlugin, installationPath?: string): IInstance;
getInstances(): IInstance[];
getConfigPath(): string;
getGeneratedConfigPath(packageName: string): string;
createConfigPackage(packageName: string): Promise<void>;
}