@ebenos/framework
Advanced tools
Comparing version 4.0.0-alpha.25 to 4.0.0-alpha.26
@@ -5,6 +5,6 @@ import User from '../models/User'; | ||
export declare function addAction<U extends User<any>>(module: Module<U>, action: (user: U, ...args: any[]) => Promise<any>): void; | ||
export declare function addPostbackRule<U extends User<any>>(module: Module<U>, action: (user: U, payload?: any, ...args: any[]) => Promise<any>, type: 'string' | 'object'): string | { | ||
export declare function addPostbackRule<U extends User<any>>(module: Module<U>, action: (user: U, ...args: any[]) => Promise<any>, type: 'string' | 'object'): string | { | ||
type: string; | ||
}; | ||
export declare function addTextRule<U extends User<any>>(module: Module<U>, action: (user: U, payload?: string, ...args: any[]) => Promise<any>, rule: RegExp | RegExp[]): void; | ||
export declare function addTextRule<U extends User<any>>(module: Module<U>, action: (user: U, ...args: any[]) => Promise<any>, rule: RegExp | RegExp[]): void; | ||
export declare function createPayload<U extends User<any>>(module: Module<U>, action: (user: U, payload?: any, ...args: any[]) => Promise<any>, type: 'string'): string; | ||
@@ -11,0 +11,0 @@ export declare function createPayload<U extends User<any>>(module: Module<U>, action: (user: U, payload?: any, ...args: any[]) => Promise<any>, type: 'object'): { |
{ | ||
"name": "@ebenos/framework", | ||
"version": "4.0.0-alpha.25", | ||
"version": "4.0.0-alpha.26", | ||
"description": "A module-based NodeJS chatbot framework.", | ||
@@ -46,3 +46,3 @@ "main": "./build/index.js", | ||
], | ||
"gitHead": "b74eb534ca88f234bf761162214d9b55cb2b809c" | ||
"gitHead": "a2aec6d3929464ed84164477691a05651fb39800" | ||
} |
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
104931