botframework-schema
Advanced tools
Comparing version 4.21.1 to 4.21.2
@@ -22,6 +22,3 @@ /** | ||
} | ||
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> { | ||
} | ||
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> { | ||
} | ||
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse; | ||
/** | ||
@@ -51,16 +48,15 @@ * @interface | ||
*/ | ||
export interface ConfigResponse<T> { | ||
export interface ConfigResponse { | ||
/** | ||
* @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration. | ||
*/ | ||
cacheInfo: CacheInfo; | ||
cacheInfo?: CacheInfo; | ||
/** | ||
* @template T | ||
* @member {T} [config] The response to a configuration message. | ||
* @member {ConfigResponseConfig} [config] The ConfigResponse config of BotConfigAuth or TaskModuleResponse | ||
*/ | ||
config: T; | ||
config: ConfigResponseConfig; | ||
/** | ||
* @member {string} [responseType] The type of config response. Possible values are 'auth' and 'continue' | ||
* @member {string} [responseType] The type of response 'config'. | ||
*/ | ||
responseType: string; | ||
responseType: 'config'; | ||
} | ||
@@ -1539,3 +1535,3 @@ /** | ||
*/ | ||
export type BotConfigAuthType = 'auth' | 'task'; | ||
export type BotConfigAuthType = 'auth'; | ||
/** | ||
@@ -1542,0 +1538,0 @@ * Defines values for Os. |
@@ -22,6 +22,3 @@ /** | ||
} | ||
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> { | ||
} | ||
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> { | ||
} | ||
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse; | ||
/** | ||
@@ -51,16 +48,15 @@ * @interface | ||
*/ | ||
export interface ConfigResponse<T> { | ||
export interface ConfigResponse { | ||
/** | ||
* @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration. | ||
*/ | ||
cacheInfo: CacheInfo; | ||
cacheInfo?: CacheInfo; | ||
/** | ||
* @template T | ||
* @member {T} [config] The response to a configuration message. | ||
* @member {ConfigResponseConfig} [config] The ConfigResponse config of BotConfigAuth or TaskModuleResponse | ||
*/ | ||
config: T; | ||
config: ConfigResponseConfig; | ||
/** | ||
* @member {string} [responseType] The type of config response. Possible values are 'auth' and 'continue' | ||
* @member {string} [responseType] The type of response 'config'. | ||
*/ | ||
responseType: string; | ||
responseType: 'config'; | ||
} | ||
@@ -1539,3 +1535,3 @@ /** | ||
*/ | ||
export type BotConfigAuthType = 'auth' | 'task'; | ||
export type BotConfigAuthType = 'auth'; | ||
/** | ||
@@ -1542,0 +1538,0 @@ * Defines values for Os. |
@@ -5,3 +5,3 @@ { | ||
"description": "Activity schema for the Microsoft Bot Framework.", | ||
"version": "4.21.1", | ||
"version": "4.21.2", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -27,7 +27,4 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> {} | ||
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse; | ||
// eslint-disable-next-line @typescript-eslint/no-empty-interface | ||
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> {} | ||
/** | ||
@@ -57,16 +54,15 @@ * @interface | ||
*/ | ||
export interface ConfigResponse<T> { | ||
export interface ConfigResponse { | ||
/** | ||
* @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration. | ||
*/ | ||
cacheInfo: CacheInfo; | ||
cacheInfo?: CacheInfo; | ||
/** | ||
* @template T | ||
* @member {T} [config] The response to a configuration message. | ||
* @member {ConfigResponseConfig} [config] The ConfigResponse config of BotConfigAuth or TaskModuleResponse | ||
*/ | ||
config: T; | ||
config: ConfigResponseConfig; | ||
/** | ||
* @member {string} [responseType] The type of config response. Possible values are 'auth' and 'continue' | ||
* @member {string} [responseType] The type of response 'config'. | ||
*/ | ||
responseType: string; | ||
responseType: 'config'; | ||
} | ||
@@ -1617,3 +1613,3 @@ | ||
export type BotConfigAuthType = 'auth' | 'task'; | ||
export type BotConfigAuthType = 'auth'; | ||
@@ -1620,0 +1616,0 @@ /** |
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
794105
23450