@microsoft/teamsfx 1.1.2-alpha.fe09f4739.0 → 1.1.2-rc-hotfix.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm2017.js +5 -76
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +104 -382
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +5 -76
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +106 -390
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +3 -4
- package/types/teamsfx.d.ts +1 -202
package/dist/index.esm2017.js
CHANGED
|
@@ -1247,9 +1247,8 @@ class TeamsFx {
|
|
|
1247
1247
|
this.configuration = new Map();
|
|
1248
1248
|
this.loadFromEnv();
|
|
1249
1249
|
if (customConfig) {
|
|
1250
|
-
const
|
|
1251
|
-
|
|
1252
|
-
const value = myConfig[key];
|
|
1250
|
+
for (const key of Object.keys(customConfig)) {
|
|
1251
|
+
const value = customConfig[key];
|
|
1253
1252
|
if (value) {
|
|
1254
1253
|
this.configuration.set(key, value);
|
|
1255
1254
|
}
|
|
@@ -1354,39 +1353,7 @@ var NotificationTargetType;
|
|
|
1354
1353
|
* The notification will be sent to a personal chat.
|
|
1355
1354
|
*/
|
|
1356
1355
|
NotificationTargetType["Person"] = "Person";
|
|
1357
|
-
})(NotificationTargetType || (NotificationTargetType = {}));
|
|
1358
|
-
/**
|
|
1359
|
-
* Options used to control how the response card will be sent to users.
|
|
1360
|
-
*/
|
|
1361
|
-
var AdaptiveCardResponse;
|
|
1362
|
-
(function (AdaptiveCardResponse) {
|
|
1363
|
-
/**
|
|
1364
|
-
* The response card will be replaced the current one for the interactor who trigger the action.
|
|
1365
|
-
*/
|
|
1366
|
-
AdaptiveCardResponse[AdaptiveCardResponse["ReplaceForInteractor"] = 0] = "ReplaceForInteractor";
|
|
1367
|
-
/**
|
|
1368
|
-
* The response card will be replaced the current one for all users in the chat.
|
|
1369
|
-
*/
|
|
1370
|
-
AdaptiveCardResponse[AdaptiveCardResponse["ReplaceForAll"] = 1] = "ReplaceForAll";
|
|
1371
|
-
/**
|
|
1372
|
-
* The response card will be sent as a new message for all users in the chat.
|
|
1373
|
-
*/
|
|
1374
|
-
AdaptiveCardResponse[AdaptiveCardResponse["NewForAll"] = 2] = "NewForAll";
|
|
1375
|
-
})(AdaptiveCardResponse || (AdaptiveCardResponse = {}));
|
|
1376
|
-
/**
|
|
1377
|
-
* Status code for an `application/vnd.microsoft.error` invoke response.
|
|
1378
|
-
*/
|
|
1379
|
-
var InvokeResponseErrorCode;
|
|
1380
|
-
(function (InvokeResponseErrorCode) {
|
|
1381
|
-
/**
|
|
1382
|
-
* Invalid request.
|
|
1383
|
-
*/
|
|
1384
|
-
InvokeResponseErrorCode[InvokeResponseErrorCode["BadRequest"] = 400] = "BadRequest";
|
|
1385
|
-
/**
|
|
1386
|
-
* Internal server error.
|
|
1387
|
-
*/
|
|
1388
|
-
InvokeResponseErrorCode[InvokeResponseErrorCode["InternalServerError"] = 500] = "InternalServerError";
|
|
1389
|
-
})(InvokeResponseErrorCode || (InvokeResponseErrorCode = {}));
|
|
1356
|
+
})(NotificationTargetType || (NotificationTargetType = {}));
|
|
1390
1357
|
|
|
1391
1358
|
// Copyright (c) Microsoft Corporation.
|
|
1392
1359
|
/**
|
|
@@ -1726,47 +1693,9 @@ class CommandBot {
|
|
|
1726
1693
|
* Only work on server side.
|
|
1727
1694
|
*/
|
|
1728
1695
|
registerCommands(commands) {
|
|
1729
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "
|
|
1730
|
-
}
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
/**
|
|
1734
|
-
* A card action bot to respond to adaptive card universal actions.
|
|
1735
|
-
*
|
|
1736
|
-
* @remarks
|
|
1737
|
-
* Only work on server side.
|
|
1738
|
-
*/
|
|
1739
|
-
class CardActionBot {
|
|
1740
|
-
/**
|
|
1741
|
-
* Creates a new instance of the `CardActionBot`.
|
|
1742
|
-
*
|
|
1743
|
-
* @param adapter The bound `BotFrameworkAdapter`.
|
|
1744
|
-
* @param options - initialize options
|
|
1745
|
-
*/
|
|
1746
|
-
constructor(adapter, options) {
|
|
1747
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
|
|
1748
|
-
}
|
|
1749
|
-
/**
|
|
1750
|
-
* Registers a card action handler to the bot.
|
|
1751
|
-
* @param actionHandler A card action handler to be registered.
|
|
1752
|
-
*
|
|
1753
|
-
* @remarks
|
|
1754
|
-
* Only work on server side.
|
|
1755
|
-
*/
|
|
1756
|
-
registerHandler(actionHandler) {
|
|
1757
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
|
|
1758
|
-
}
|
|
1759
|
-
/**
|
|
1760
|
-
* Registers card action handlers to the bot.
|
|
1761
|
-
* @param actionHandlers A set of card action handlers to be registered.
|
|
1762
|
-
*
|
|
1763
|
-
* @remarks
|
|
1764
|
-
* Only work on server side.
|
|
1765
|
-
*/
|
|
1766
|
-
registerHandlers(actionHandlers) {
|
|
1767
|
-
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CardActionBot"), ErrorCode.RuntimeNotSupported);
|
|
1696
|
+
throw new ErrorWithCode(formatString(ErrorMessage.BrowserRuntimeNotSupported, "CommandnBot"), ErrorCode.RuntimeNotSupported);
|
|
1768
1697
|
}
|
|
1769
1698
|
}
|
|
1770
1699
|
|
|
1771
|
-
export {
|
|
1700
|
+
export { ApiKeyLocation, ApiKeyProvider, AppCredential, BasicAuthProvider, BearerTokenAuthProvider, CertificateAuthProvider, Channel, CommandBot, ConversationBot, ErrorCode, ErrorWithCode, IdentityType, LogLevel, Member, MsGraphAuthProvider, NotificationBot, NotificationTargetType, OnBehalfOfUserCredential, TeamsBotInstallation, TeamsBotSsoPrompt, TeamsFx, TeamsUserCredential, createApiClient, createMicrosoftGraphClient, createPemCertOption, createPfxCertOption, getLogLevel, getTediousConnectionConfig, sendAdaptiveCard, sendMessage, setLogFunction, setLogLevel, setLogger };
|
|
1772
1701
|
//# sourceMappingURL=index.esm2017.js.map
|