Skip to content

Commit 4f5fd84

Browse files
authored
Marked config classes as deprecated (#1819)
1 parent 0d2a4ed commit 4f5fd84

File tree

3 files changed

+16
-53
lines changed

3 files changed

+16
-53
lines changed

libraries/botframework-config/src/botConfiguration.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ interface InternalBotConfig {
3030
}
3131

3232
/**
33-
* BotConfiguration represents configuration information for a bot.
34-
*
35-
* @remarks
36-
* It is typically loaded from a .bot file on disk. This class implements methods for encrypting
37-
* and manipulating the in-memory representation of the configuration.
33+
* @deprecated See https://aka.ms/bot-file-basics for more information.
3834
*/
3935
export class BotConfiguration extends BotConfigurationBase {
4036

libraries/botframework-config/src/botConfigurationBase.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ import { IAppInsightsService, IBlobStorageService, IBotConfiguration, IBotServic
1313
IQnAService, ServiceTypes } from './schema';
1414

1515
/**
16-
* This is class which allows you to manipulate in memory representations of bot configuration with
17-
* no nodejs dependencies.
16+
* @deprecated See https://aka.ms/bot-file-basics for more information.
1817
*/
1918
export class BotConfigurationBase implements Partial<IBotConfiguration> {
2019

libraries/botframework-config/src/schema.ts

Lines changed: 14 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88

99
/**
10-
* Connected service types supported.
10+
* @deprecated See https://aka.ms/bot-file-basics for more information.
1111
*/
1212
export enum ServiceTypes {
1313
AppInsights = 'appInsights',
@@ -23,7 +23,7 @@ export enum ServiceTypes {
2323
}
2424

2525
/**
26-
* JSON description of a connected service.
26+
* @deprecated See https://aka.ms/bot-file-basics for more information.
2727
*/
2828
export interface IConnectedService {
2929
/**
@@ -43,11 +43,7 @@ export interface IConnectedService {
4343
}
4444

4545
/**
46-
* JSON description of an endpoint service.
47-
*
48-
* @remarks
49-
* - [type](#type) SHOULD be set to `ServiceTypes.Endpoint`.
50-
* - [id](#id) SHOULD be set to the bots ID.
46+
* @deprecated See https://aka.ms/bot-file-basics for more information.
5147
*/
5248
export interface IEndpointService extends IConnectedService {
5349
/**
@@ -74,7 +70,7 @@ export interface IEndpointService extends IConnectedService {
7470
}
7571

7672
/**
77-
* JSON description of an azure service.
73+
* @deprecated See https://aka.ms/bot-file-basics for more information.
7874
*/
7975
export interface IAzureService extends IConnectedService {
8076
/**
@@ -99,10 +95,7 @@ export interface IAzureService extends IConnectedService {
9995
}
10096

10197
/**
102-
* JSON description of an Azure Bot Service.
103-
*
104-
* @remarks
105-
* - [type](#type) SHOULD be set to `ServiceTypes.Bot`.
98+
* @deprecated See https://aka.ms/bot-file-basics for more information.
10699
*/
107100
export interface IBotService extends IAzureService {
108101
/**
@@ -112,10 +105,7 @@ export interface IBotService extends IAzureService {
112105
}
113106

114107
/**
115-
* JSON description of an App Insights service.
116-
*
117-
* @remarks
118-
* - [type](#type) SHOULD be set to `ServiceTypes.AppInsights`.
108+
* @deprecated See https://aka.ms/bot-file-basics for more information.
119109
*/
120110
export interface IAppInsightsService extends IAzureService {
121111
/**
@@ -135,10 +125,7 @@ export interface IAppInsightsService extends IAzureService {
135125
}
136126

137127
/**
138-
* JSON description of a blob storage service.
139-
*
140-
* @remarks
141-
* - [type](#type) SHOULD be set to `ServiceTypes.BlobStorage`.
128+
* @deprecated See https://aka.ms/bot-file-basics for more information.
142129
*/
143130
export interface IBlobStorageService extends IAzureService {
144131
/**
@@ -153,10 +140,7 @@ export interface IBlobStorageService extends IAzureService {
153140
}
154141

155142
/**
156-
* JSON description of a CosmosDB service.
157-
*
158-
* @remarks
159-
* - [type](#type) SHOULD be set to `ServiceTypes.CosmosDB`.
143+
* @deprecated See https://aka.ms/bot-file-basics for more information.
160144
*/
161145
export interface ICosmosDBService extends IAzureService {
162146
/**
@@ -181,11 +165,7 @@ export interface ICosmosDBService extends IAzureService {
181165
}
182166

183167
/**
184-
* JSON description of a LUIS service.
185-
*
186-
* @remarks
187-
* - [type](#type) SHOULD be set to `ServiceTypes.Luis`.
188-
* - [id](#id) SHOULD be set to the LUIS appid.
168+
* @deprecated See https://aka.ms/bot-file-basics for more information.
189169
*/
190170
export interface ILuisService extends IConnectedService {
191171
/**
@@ -220,10 +200,7 @@ export interface ILuisService extends IConnectedService {
220200
}
221201

222202
/**
223-
* JSON description of a dispatch service.
224-
*
225-
* @remarks
226-
* - [type](#type) SHOULD be set to `ServiceTypes.Dispatch`.
203+
* @deprecated See https://aka.ms/bot-file-basics for more information.
227204
*/
228205
export interface IDispatchService extends ILuisService {
229206
/**
@@ -233,10 +210,7 @@ export interface IDispatchService extends ILuisService {
233210
}
234211

235212
/**
236-
* JSON description of a generic service.
237-
*
238-
* @remarks
239-
* - [type](#type) SHOULD be set to `ServiceTypes.Generic`.
213+
* @deprecated See https://aka.ms/bot-file-basics for more information.
240214
*/
241215
export interface IGenericService extends IConnectedService {
242216
/**
@@ -251,10 +225,7 @@ export interface IGenericService extends IConnectedService {
251225
}
252226

253227
/**
254-
* JSON description of a QnA Maker service.
255-
*
256-
* @remarks
257-
* - [type](#type) SHOULD be set to `ServiceTypes.QnA`.
228+
* @deprecated See https://aka.ms/bot-file-basics for more information.
258229
*/
259230
export interface IQnAService extends IConnectedService {
260231
/**
@@ -279,10 +250,7 @@ export interface IQnAService extends IConnectedService {
279250
}
280251

281252
/**
282-
* JSON description of a file.
283-
*
284-
* @remarks
285-
* - [type](#type) SHOULD be set to `ServiceTypes.File`.
253+
* @deprecated See https://aka.ms/bot-file-basics for more information.
286254
*/
287255
export interface IFileService extends IConnectedService {
288256
/**
@@ -292,7 +260,7 @@ export interface IFileService extends IConnectedService {
292260
}
293261

294262
/**
295-
* JSON description of a bot configuration file.
263+
* @deprecated See https://aka.ms/bot-file-basics for more information.
296264
*/
297265
export interface IBotConfiguration {
298266
/**

0 commit comments

Comments
 (0)