Updating to the latest Bot Framework changes.
This commit is contained in:
parent
94a145f895
commit
066da716b2
6 changed files with 1894 additions and 646 deletions
2503
package-lock.json
generated
2503
package-lock.json
generated
File diff suppressed because it is too large
Load diff
20
package.json
20
package.json
|
@ -16,11 +16,11 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"async": "2.6.1",
|
||||
"botbuilder": "4.0.0-preview1.2",
|
||||
"botbuilder-ai": "4.0.0-preview1.2",
|
||||
"botbuilder-azure": "4.0.0-preview1.2",
|
||||
"botbuilder": "4.1.3",
|
||||
"botbuilder-ai": "4.1.3",
|
||||
"botbuilder-azure": "4.1.3",
|
||||
"botbuilder-choices": "4.0.0-preview1.2",
|
||||
"botbuilder-dialogs": "4.0.0-preview1.2",
|
||||
"botbuilder-dialogs": "4.1.3",
|
||||
"botbuilder-location": "2.0.0",
|
||||
"botbuilder-prompts": "4.0.0-preview1.2",
|
||||
"chrono-node": "1.3.5",
|
||||
|
@ -29,21 +29,21 @@
|
|||
"ms": "2.1.1",
|
||||
"pragmatismo-io-framework": "1.0.17",
|
||||
"reflect-metadata": "0.1.12",
|
||||
"sequelize": "4.38.1",
|
||||
"sequelize": "4.41.0",
|
||||
"sequelize-typescript": "0.6.6",
|
||||
"wait-until": "0.0.2",
|
||||
"winston": "3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "4.1.4",
|
||||
"@types/chai": "4.1.7",
|
||||
"@types/mocha": "5.2.5",
|
||||
"@types/sequelize": "4.27.25",
|
||||
"@types/sequelize": "4.27.30",
|
||||
"@types/winston": "2.4.4",
|
||||
"chai": "4.1.2",
|
||||
"chai": "4.2.0",
|
||||
"mocha": "5.2.0",
|
||||
"mocha-typescript": "1.1.17",
|
||||
"ts-node": "7.0.1",
|
||||
"typedoc": "0.12.0",
|
||||
"typescript": "3.0.3"
|
||||
"typedoc": "0.13.0",
|
||||
"typescript": "3.1.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ import { IGBAdminService } from "./IGBAdminService";
|
|||
/** Minimal services for bot. */
|
||||
|
||||
export class GBMinInstance {
|
||||
|
||||
packages: IGBPackage[]
|
||||
botId: string
|
||||
instance: IGBInstance
|
||||
|
@ -52,9 +53,9 @@ export class GBMinInstance {
|
|||
bot: BotAdapter
|
||||
dialogs: DialogSet
|
||||
userState: UserState
|
||||
userProfile: any;
|
||||
|
||||
constructor() {
|
||||
this.packages = []
|
||||
this.dialogs = new DialogSet()
|
||||
}
|
||||
}
|
||||
}
|
|
@ -35,9 +35,9 @@
|
|||
import { GBMinInstance } from "./GBMinInstance"
|
||||
|
||||
export interface IGBConversationalService {
|
||||
sendEvent(dc:any, name: string, value: any)
|
||||
sendEvent(step:any, name: string, value: any)
|
||||
runNLP(
|
||||
dc:any,
|
||||
step:any,
|
||||
min: GBMinInstance,
|
||||
text: string
|
||||
)
|
||||
|
|
|
@ -65,7 +65,7 @@ export interface IGBPackage{
|
|||
unloadBot(min: GBMinInstance): void
|
||||
|
||||
/**
|
||||
* Called in each new dc.
|
||||
* Called in each new step.
|
||||
*/
|
||||
onNewSession(min: GBMinInstance, dc: any): void
|
||||
onNewSession(min: GBMinInstance, step: any): void
|
||||
}
|
|
@ -23,9 +23,7 @@
|
|||
},
|
||||
"include": [
|
||||
"test/**/*",
|
||||
"src/**/*",
|
||||
"deploy/*.gbapp/**/*",
|
||||
"deploy/*.gblib/**/*"
|
||||
"src/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"dist",
|
||||
|
|
Loading…
Add table
Reference in a new issue