fix(core.gbapp): Self-replication on Azure

This commit is contained in:
Rodrigo Rodriguez 2019-06-05 18:18:43 -03:00
parent d241bd961e
commit 3c9f6839d8
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"name": "botlib",
"version": "1.2.0",
"version": "1.2.1",
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
"main": "dist/index.js",
"types": "dist/index",
@ -45,4 +45,4 @@
"typedoc": "0.14.2",
"typescript": "3.4.5"
}
}
}

View file

@ -43,8 +43,8 @@ import { IGBInstallationDeployer } from "./IGBInstallationDeployer";
export interface IGBCoreService {
sequelize: Sequelize
syncDatabaseStructure()
loadInstances(): Promise<IGBInstance[]> ;
loadInstance(botId: string): Promise<IGBInstance> ;
loadInstances(): Promise<IGBInstance[]>;
loadInstance(botId: string): Promise<IGBInstance>;
loadInstanceById(instanceId: number): Promise<IGBInstance>;
initStorage(): Promise<any>;
createBootInstance(core: IGBCoreService, installationDeployer: IGBInstallationDeployer, proxyAddress: string);
@ -56,5 +56,6 @@ export interface IGBCoreService {
saveInstance(fullInstance: any);
loadAllInstances(core: IGBCoreService, azureDeployer: IGBInstallationDeployer, proxyAddress: string);
openBrowserInDevelopment();
installWebHook(isGet: boolean, url: string, callback: any);
}