botbuilder-core
Advanced tools
Comparing version 4.0.0-preview1.0 to 4.0.0-preview1.1
@@ -5,2 +5,6 @@ import { TurnContext } from './turnContext'; | ||
* asynchronously using a Promise. | ||
* | ||
* ```TypeScript | ||
* type Promiseable <T = void> = Promise<T>|T; | ||
* ``` | ||
* @param T (Optional) type of value being returned. This defaults to `void`. | ||
@@ -17,2 +21,6 @@ */ | ||
* Signature implemented by function based middleware. | ||
* | ||
* ```TypeScript | ||
* type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>; | ||
* ``` | ||
*/ | ||
@@ -19,0 +27,0 @@ export declare type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>; |
@@ -13,2 +13,6 @@ /** | ||
* Signature implemented by functions registered with `context.onSendActivity()`. | ||
* | ||
* ```TypeScript | ||
* type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>; | ||
* ``` | ||
*/ | ||
@@ -18,2 +22,6 @@ export declare type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>; | ||
* Signature implemented by functions registered with `context.onUpdateActivity()`. | ||
* | ||
* ```TypeScript | ||
* type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>; | ||
* ``` | ||
*/ | ||
@@ -23,2 +31,6 @@ export declare type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>; | ||
* Signature implemented by functions registered with `context.onDeleteActivity()`. | ||
* | ||
* ```TypeScript | ||
* type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>; | ||
* ``` | ||
*/ | ||
@@ -25,0 +37,0 @@ export declare type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>; |
@@ -5,3 +5,3 @@ { | ||
"description": "Bot Builder core library. Bot Builder is a toolkit for building rich bots on virtually any platform.", | ||
"version": "4.0.0-preview1.0", | ||
"version": "4.0.0-preview1.1", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"@types/node": "^9.3.0", | ||
"botframework-schema": "4.0.0-preview1.0", | ||
"botframework-schema": "4.0.0-preview1.1", | ||
"assert": "^1.4.1" | ||
@@ -28,0 +28,0 @@ }, |
@@ -14,2 +14,6 @@ /** | ||
* asynchronously using a Promise. | ||
* | ||
* ```TypeScript | ||
* type Promiseable <T = void> = Promise<T>|T; | ||
* ``` | ||
* @param T (Optional) type of value being returned. This defaults to `void`. | ||
@@ -28,2 +32,6 @@ */ | ||
* Signature implemented by function based middleware. | ||
* | ||
* ```TypeScript | ||
* type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>; | ||
* ``` | ||
*/ | ||
@@ -30,0 +38,0 @@ export type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>; |
@@ -15,2 +15,6 @@ /** | ||
* Signature implemented by functions registered with `context.onSendActivity()`. | ||
* | ||
* ```TypeScript | ||
* type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>; | ||
* ``` | ||
*/ | ||
@@ -21,2 +25,6 @@ export type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>; | ||
* Signature implemented by functions registered with `context.onUpdateActivity()`. | ||
* | ||
* ```TypeScript | ||
* type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>; | ||
* ``` | ||
*/ | ||
@@ -27,2 +35,6 @@ export type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>; | ||
* Signature implemented by functions registered with `context.onDeleteActivity()`. | ||
* | ||
* ```TypeScript | ||
* type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>; | ||
* ``` | ||
*/ | ||
@@ -29,0 +41,0 @@ export type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
122290
2514
+ Addedbotframework-schema@4.0.0-preview1.1(transitive)
- Removedbotframework-schema@4.0.0-preview1.0(transitive)