fix(all): Check of bot name before creating.
This commit is contained in:
parent
e63912a330
commit
fc82c58f13
3 changed files with 3 additions and 2 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "botlib",
|
"name": "botlib",
|
||||||
"version": "1.5.6",
|
"version": "1.5.7",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "botlib",
|
"name": "botlib",
|
||||||
"version": "1.5.6",
|
"version": "1.5.7",
|
||||||
"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",
|
||||||
|
|
|
@ -39,5 +39,6 @@ export interface IGBDeployer {
|
||||||
undeployPackageFromLocalPath(instance: IGBInstance, localPath: string): Promise<void>;
|
undeployPackageFromLocalPath(instance: IGBInstance, localPath: string): Promise<void>;
|
||||||
deployPackage(min: GBMinInstance, localPath: string): Promise<void>;
|
deployPackage(min: GBMinInstance, localPath: string): Promise<void>;
|
||||||
deployBlankBot(botId: string): Promise<IGBInstance>;
|
deployBlankBot(botId: string): Promise<IGBInstance>;
|
||||||
|
botExists(botId: string): Promise<Boolean>;
|
||||||
rebuildIndex(instance: IGBInstance, searchSchema: any): Promise<void>;
|
rebuildIndex(instance: IGBInstance, searchSchema: any): Promise<void>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue