botframework-schema
Advanced tools
Comparing version 4.22.0-dev.20231114.e0e656b to 4.22.0-dev.20231115.60824fe
@@ -22,6 +22,3 @@ /** | ||
} | ||
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> { | ||
} | ||
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> { | ||
} | ||
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse; | ||
/** | ||
@@ -51,3 +48,3 @@ * @interface | ||
*/ | ||
export interface ConfigResponse<T> { | ||
export interface ConfigResponse { | ||
/** | ||
@@ -58,6 +55,5 @@ * @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration. | ||
/** | ||
* @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; | ||
/** | ||
@@ -64,0 +60,0 @@ * @member {string} [responseType] The type of response 'config'. |
@@ -22,6 +22,3 @@ /** | ||
} | ||
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> { | ||
} | ||
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> { | ||
} | ||
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse; | ||
/** | ||
@@ -51,3 +48,3 @@ * @interface | ||
*/ | ||
export interface ConfigResponse<T> { | ||
export interface ConfigResponse { | ||
/** | ||
@@ -58,6 +55,5 @@ * @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration. | ||
/** | ||
* @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; | ||
/** | ||
@@ -64,0 +60,0 @@ * @member {string} [responseType] The type of response 'config'. |
@@ -5,3 +5,3 @@ { | ||
"description": "Activity schema for the Microsoft Bot Framework.", | ||
"version": "4.22.0-dev.20231114.e0e656b", | ||
"version": "4.22.0-dev.20231115.60824fe", | ||
"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,3 +54,3 @@ * @interface | ||
*/ | ||
export interface ConfigResponse<T> { | ||
export interface ConfigResponse { | ||
/** | ||
@@ -64,6 +61,5 @@ * @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration. | ||
/** | ||
* @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; | ||
/** | ||
@@ -70,0 +66,0 @@ * @member {string} [responseType] The type of response 'config'. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
794126
23450