new(all): State for disabling instances and activationCode for referencing them alternatively.
This commit is contained in:
parent
8d15190289
commit
b39420778a
3 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "botlib",
|
"name": "botlib",
|
||||||
"version": "1.5.4",
|
"version": "1.5.5",
|
||||||
"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",
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ export interface IGBCoreService {
|
||||||
loadInstances(): Promise<IGBInstance[]>;
|
loadInstances(): Promise<IGBInstance[]>;
|
||||||
deleteInstance(botId: string): Promise<void>;
|
deleteInstance(botId: string): Promise<void>;
|
||||||
loadInstanceByBotId(botId: string): Promise<IGBInstance>;
|
loadInstanceByBotId(botId: string): Promise<IGBInstance>;
|
||||||
|
loadInstanceByActivationCode(activationCode: 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);
|
||||||
|
|
|
||||||
|
|
@ -90,4 +90,5 @@ export interface IGBInstance {
|
||||||
translatorKey: string;
|
translatorKey: string;
|
||||||
translatorEndpoint: string;
|
translatorEndpoint: string;
|
||||||
params: string;
|
params: string;
|
||||||
|
state: string;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue