fix(core.gbapp): Self-replication on Azure
This commit is contained in:
parent
d241bd961e
commit
3c9f6839d8
2 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "botlib",
|
"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)",
|
"description": "General Bot base library for building Node.js TypeScript Apps packages (.gbapp) and Libray packages (.gblib)",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index",
|
"types": "dist/index",
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,8 @@ import { IGBInstallationDeployer } from "./IGBInstallationDeployer";
|
||||||
export interface IGBCoreService {
|
export interface IGBCoreService {
|
||||||
sequelize: Sequelize
|
sequelize: Sequelize
|
||||||
syncDatabaseStructure()
|
syncDatabaseStructure()
|
||||||
loadInstances(): Promise<IGBInstance[]> ;
|
loadInstances(): Promise<IGBInstance[]>;
|
||||||
loadInstance(botId: string): Promise<IGBInstance> ;
|
loadInstance(botId: string): Promise<IGBInstance>;
|
||||||
loadInstanceById(instanceId: number): Promise<IGBInstance>;
|
loadInstanceById(instanceId: number): Promise<IGBInstance>;
|
||||||
initStorage(): Promise<any>;
|
initStorage(): Promise<any>;
|
||||||
createBootInstance(core: IGBCoreService, installationDeployer: IGBInstallationDeployer, proxyAddress: string);
|
createBootInstance(core: IGBCoreService, installationDeployer: IGBInstallationDeployer, proxyAddress: string);
|
||||||
|
|
@ -56,5 +56,6 @@ export interface IGBCoreService {
|
||||||
saveInstance(fullInstance: any);
|
saveInstance(fullInstance: any);
|
||||||
loadAllInstances(core: IGBCoreService, azureDeployer: IGBInstallationDeployer, proxyAddress: string);
|
loadAllInstances(core: IGBCoreService, azureDeployer: IGBInstallationDeployer, proxyAddress: string);
|
||||||
openBrowserInDevelopment();
|
openBrowserInDevelopment();
|
||||||
|
installWebHook(isGet: boolean, url: string, callback: any);
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Reference in a new issue