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",
|
||||
"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)",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index",
|
||||
|
|
|
@ -47,6 +47,7 @@ export interface IGBCoreService {
|
|||
loadInstances(): Promise<IGBInstance[]>;
|
||||
deleteInstance(botId: string): Promise<void>;
|
||||
loadInstanceByBotId(botId: string): Promise<IGBInstance>;
|
||||
loadInstanceByActivationCode(activationCode: string): Promise<IGBInstance>;
|
||||
loadInstanceById(instanceId: number): Promise<IGBInstance>;
|
||||
initStorage(): Promise<any>;
|
||||
createBootInstance(core: IGBCoreService, installationDeployer: IGBInstallationDeployer, proxyAddress: string);
|
||||
|
|
|
@ -90,4 +90,5 @@ export interface IGBInstance {
|
|||
translatorKey: string;
|
||||
translatorEndpoint: string;
|
||||
params: string;
|
||||
state: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue