@microsoft/teamsfx-core 2.0.4-alpha.e6dfbb929.0 → 2.0.4-alpha.ebba7eb40.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/build/common/featureFlags.d.ts +1 -0
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +5 -1
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/m365/launchHelper.d.ts +2 -2
- package/build/common/m365/launchHelper.d.ts.map +1 -1
- package/build/common/m365/launchHelper.js +4 -4
- package/build/common/m365/launchHelper.js.map +1 -1
- package/build/common/samples-config-v3.json +234 -21
- package/build/common/samples.d.ts +8 -3
- package/build/common/samples.d.ts.map +1 -1
- package/build/common/samples.js +17 -14
- package/build/common/samples.js.map +1 -1
- package/build/common/spec-parser/adaptiveCardGenerator.d.ts +5 -0
- package/build/common/spec-parser/adaptiveCardGenerator.d.ts.map +1 -0
- package/build/common/spec-parser/adaptiveCardGenerator.js +120 -0
- package/build/common/spec-parser/adaptiveCardGenerator.js.map +1 -0
- package/build/common/spec-parser/constants.d.ts +15 -7
- package/build/common/spec-parser/constants.d.ts.map +1 -1
- package/build/common/spec-parser/constants.js +16 -7
- package/build/common/spec-parser/constants.js.map +1 -1
- package/build/common/spec-parser/interfaces.d.ts +43 -18
- package/build/common/spec-parser/interfaces.d.ts.map +1 -1
- package/build/common/spec-parser/interfaces.js +18 -13
- package/build/common/spec-parser/interfaces.js.map +1 -1
- package/build/common/spec-parser/manifestUpdater.d.ts.map +1 -1
- package/build/common/spec-parser/manifestUpdater.js +25 -21
- package/build/common/spec-parser/manifestUpdater.js.map +1 -1
- package/build/common/spec-parser/specFilter.d.ts.map +1 -1
- package/build/common/spec-parser/specFilter.js +26 -19
- package/build/common/spec-parser/specFilter.js.map +1 -1
- package/build/common/spec-parser/specParser.d.ts.map +1 -1
- package/build/common/spec-parser/specParser.js +127 -92
- package/build/common/spec-parser/specParser.js.map +1 -1
- package/build/common/spec-parser/utils.d.ts +1 -0
- package/build/common/spec-parser/utils.d.ts.map +1 -1
- package/build/common/spec-parser/utils.js +10 -1
- package/build/common/spec-parser/utils.js.map +1 -1
- package/build/component/configManager/interface.d.ts +5 -2
- package/build/component/configManager/interface.d.ts.map +1 -1
- package/build/component/configManager/interface.js.map +1 -1
- package/build/component/configManager/lifecycle.d.ts.map +1 -1
- package/build/component/configManager/lifecycle.js +10 -10
- package/build/component/configManager/lifecycle.js.map +1 -1
- package/build/component/configManager/parser.d.ts.map +1 -1
- package/build/component/configManager/parser.js +6 -7
- package/build/component/configManager/parser.js.map +1 -1
- package/build/component/configManager/validator.d.ts.map +1 -1
- package/build/component/configManager/validator.js +1 -2
- package/build/component/configManager/validator.js.map +1 -1
- package/build/component/coordinator/index.d.ts +7 -5
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +30 -15
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/developerPortalScaffoldUtils.d.ts +1 -1
- package/build/component/developerPortalScaffoldUtils.d.ts.map +1 -1
- package/build/component/developerPortalScaffoldUtils.js +4 -4
- package/build/component/developerPortalScaffoldUtils.js.map +1 -1
- package/build/component/driver/aad/error/aadManifestError.d.ts +3 -0
- package/build/component/driver/aad/error/aadManifestError.d.ts.map +1 -1
- package/build/component/driver/aad/error/aadManifestError.js +13 -1
- package/build/component/driver/aad/error/aadManifestError.js.map +1 -1
- package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
- package/build/component/driver/aad/utility/aadAppClient.js +22 -10
- package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
- package/build/component/driver/aad/utility/constants.d.ts +3 -0
- package/build/component/driver/aad/utility/constants.d.ts.map +1 -1
- package/build/component/driver/aad/utility/constants.js +4 -1
- package/build/component/driver/aad/utility/constants.js.map +1 -1
- package/build/component/driver/add/addWebPart.js +1 -1
- package/build/component/driver/add/addWebPart.js.map +1 -1
- package/build/component/driver/arm/deployImpl.d.ts +2 -1
- package/build/component/driver/arm/deployImpl.d.ts.map +1 -1
- package/build/component/driver/arm/deployImpl.js +7 -0
- package/build/component/driver/arm/deployImpl.js.map +1 -1
- package/build/component/driver/botAadApp/create.js +2 -2
- package/build/component/driver/botAadApp/create.js.map +1 -1
- package/build/component/driver/botFramework/createOrUpdateBot.js +2 -2
- package/build/component/driver/botFramework/createOrUpdateBot.js.map +1 -1
- package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js +1 -1
- package/build/component/driver/deploy/azure/azureStorageStaticWebsiteConfigDriver.js.map +1 -1
- package/build/component/driver/deploy/spfx/deployDriver.js +3 -3
- package/build/component/driver/deploy/spfx/deployDriver.js.map +1 -1
- package/build/component/driver/devTool/installDriver.js +4 -4
- package/build/component/driver/devTool/installDriver.js.map +1 -1
- package/build/component/driver/file/createOrUpdateEnvironmentFile.js +2 -2
- package/build/component/driver/file/createOrUpdateEnvironmentFile.js.map +1 -1
- package/build/component/driver/file/createOrUpdateJsonFile.js +2 -2
- package/build/component/driver/file/createOrUpdateJsonFile.js.map +1 -1
- package/build/component/driver/m365/acquire.js +2 -2
- package/build/component/driver/m365/acquire.js.map +1 -1
- package/build/component/driver/teamsApp/copyAppPackageToSPFx.js +1 -1
- package/build/component/driver/teamsApp/copyAppPackageToSPFx.js.map +1 -1
- package/build/component/error/componentError.d.ts +2 -1
- package/build/component/error/componentError.d.ts.map +1 -1
- package/build/component/error/componentError.js +8 -4
- package/build/component/error/componentError.js.map +1 -1
- package/build/component/generator/copilotPlugin/generator.d.ts +5 -2
- package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
- package/build/component/generator/copilotPlugin/generator.js +47 -20
- package/build/component/generator/copilotPlugin/generator.js.map +1 -1
- package/build/component/generator/copilotPlugin/helper.d.ts +5 -3
- package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
- package/build/component/generator/copilotPlugin/helper.js +106 -34
- package/build/component/generator/copilotPlugin/helper.js.map +1 -1
- package/build/component/generator/error.d.ts +1 -1
- package/build/component/generator/error.d.ts.map +1 -1
- package/build/component/generator/error.js +2 -2
- package/build/component/generator/error.js.map +1 -1
- package/build/component/generator/generator.js +2 -2
- package/build/component/generator/generator.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +8 -0
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/officeAddin/helperMethods.js +2 -2
- package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
- package/build/component/generator/spfx/depsChecker/generatorChecker.js +6 -6
- package/build/component/generator/spfx/depsChecker/generatorChecker.js.map +1 -1
- package/build/component/generator/spfx/depsChecker/yoChecker.d.ts +1 -1
- package/build/component/generator/spfx/depsChecker/yoChecker.d.ts.map +1 -1
- package/build/component/generator/spfx/depsChecker/yoChecker.js +7 -7
- package/build/component/generator/spfx/depsChecker/yoChecker.js.map +1 -1
- package/build/component/generator/spfx/spfxGenerator.d.ts.map +1 -1
- package/build/component/generator/spfx/spfxGenerator.js +11 -11
- package/build/component/generator/spfx/spfxGenerator.js.map +1 -1
- package/build/component/generator/utils.d.ts +10 -2
- package/build/component/generator/utils.d.ts.map +1 -1
- package/build/component/generator/utils.js +2 -1
- package/build/component/generator/utils.js.map +1 -1
- package/build/component/middleware/questionMW.d.ts +2 -2
- package/build/component/middleware/questionMW.d.ts.map +1 -1
- package/build/component/middleware/questionMW.js +7 -11
- package/build/component/middleware/questionMW.js.map +1 -1
- package/build/component/utils/common.d.ts +1 -1
- package/build/component/utils/common.d.ts.map +1 -1
- package/build/component/utils/common.js +3 -4
- package/build/component/utils/common.js.map +1 -1
- package/build/component/utils/metadataUtil.d.ts +3 -0
- package/build/component/utils/metadataUtil.d.ts.map +1 -1
- package/build/component/utils/metadataUtil.js +16 -3
- package/build/component/utils/metadataUtil.js.map +1 -1
- package/build/core/FxCore.d.ts +31 -26
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +10 -19
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCoreImplementV3.d.ts +26 -22
- package/build/core/FxCoreImplementV3.d.ts.map +1 -1
- package/build/core/FxCoreImplementV3.js +74 -42
- package/build/core/FxCoreImplementV3.js.map +1 -1
- package/build/core/collaborator.d.ts +1 -1
- package/build/core/collaborator.d.ts.map +1 -1
- package/build/core/collaborator.js +10 -10
- package/build/core/collaborator.js.map +1 -1
- package/build/core/middleware/projectMigratorV3.d.ts +4 -0
- package/build/core/middleware/projectMigratorV3.d.ts.map +1 -1
- package/build/core/middleware/projectMigratorV3.js +34 -32
- package/build/core/middleware/projectMigratorV3.js.map +1 -1
- package/build/core/middleware/utils/migrationContext.d.ts +1 -0
- package/build/core/middleware/utils/migrationContext.d.ts.map +1 -1
- package/build/core/middleware/utils/migrationContext.js.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.js +4 -0
- package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
- package/build/error/common.d.ts +2 -2
- package/build/error/common.d.ts.map +1 -1
- package/build/error/common.js +7 -4
- package/build/error/common.js.map +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/question/constants.d.ts +4 -0
- package/build/question/constants.d.ts.map +1 -0
- package/build/question/constants.js +12 -0
- package/build/question/constants.js.map +1 -0
- package/build/question/create.d.ts +7 -2
- package/build/question/create.d.ts.map +1 -1
- package/build/question/create.js +296 -231
- package/build/question/create.js.map +1 -1
- package/build/question/generator.d.ts +4 -0
- package/build/question/generator.d.ts.map +1 -0
- package/build/question/generator.js +371 -0
- package/build/question/generator.js.map +1 -0
- package/build/question/index.d.ts +18 -30
- package/build/question/index.d.ts.map +1 -1
- package/build/question/index.js +13 -47
- package/build/question/index.js.map +1 -1
- package/build/question/inputs/CreateEnvInputs.d.ts +14 -0
- package/build/question/inputs/CreateEnvInputs.d.ts.map +1 -0
- package/build/question/inputs/CreateEnvInputs.js +5 -0
- package/build/question/inputs/CreateEnvInputs.js.map +1 -0
- package/build/question/inputs/CreateProjectInputs.d.ts +40 -0
- package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -0
- package/build/question/inputs/CreateProjectInputs.js +5 -0
- package/build/question/inputs/CreateProjectInputs.js.map +1 -0
- package/build/question/inputs/CreateSampleProjectInputs.d.ts +12 -0
- package/build/question/inputs/CreateSampleProjectInputs.d.ts.map +1 -0
- package/build/question/inputs/CreateSampleProjectInputs.js +5 -0
- package/build/question/inputs/CreateSampleProjectInputs.js.map +1 -0
- package/build/question/inputs/DeployAadManifestInputs.d.ts +14 -0
- package/build/question/inputs/DeployAadManifestInputs.d.ts.map +1 -0
- package/build/question/inputs/DeployAadManifestInputs.js +5 -0
- package/build/question/inputs/DeployAadManifestInputs.js.map +1 -0
- package/build/question/inputs/PermissionGrantInputs.d.ts +18 -0
- package/build/question/inputs/PermissionGrantInputs.d.ts.map +1 -0
- package/build/question/inputs/PermissionGrantInputs.js +5 -0
- package/build/question/inputs/PermissionGrantInputs.js.map +1 -0
- package/build/question/inputs/PermissionListInputs.d.ts +16 -0
- package/build/question/inputs/PermissionListInputs.d.ts.map +1 -0
- package/build/question/inputs/PermissionListInputs.js +5 -0
- package/build/question/inputs/PermissionListInputs.js.map +1 -0
- package/build/question/inputs/PreviewTeamsAppInputs.d.ts +14 -0
- package/build/question/inputs/PreviewTeamsAppInputs.d.ts.map +1 -0
- package/build/question/inputs/PreviewTeamsAppInputs.js +5 -0
- package/build/question/inputs/PreviewTeamsAppInputs.js.map +1 -0
- package/build/question/inputs/SPFxAddWebpartInputs.d.ts +18 -0
- package/build/question/inputs/SPFxAddWebpartInputs.d.ts.map +1 -0
- package/build/question/inputs/SPFxAddWebpartInputs.js +5 -0
- package/build/question/inputs/SPFxAddWebpartInputs.js.map +1 -0
- package/build/question/inputs/SelectTeamsManifestInputs.d.ts +12 -0
- package/build/question/inputs/SelectTeamsManifestInputs.d.ts.map +1 -0
- package/build/question/inputs/SelectTeamsManifestInputs.js +5 -0
- package/build/question/inputs/SelectTeamsManifestInputs.js.map +1 -0
- package/build/question/inputs/ValidateTeamsAppInputs.d.ts +14 -0
- package/build/question/inputs/ValidateTeamsAppInputs.d.ts.map +1 -0
- package/build/question/inputs/ValidateTeamsAppInputs.js +5 -0
- package/build/question/inputs/ValidateTeamsAppInputs.js.map +1 -0
- package/build/question/inputs/index.d.ts +11 -0
- package/build/question/inputs/index.d.ts.map +1 -0
- package/build/question/inputs/index.js +16 -0
- package/build/question/inputs/index.js.map +1 -0
- package/build/question/options/CreateEnvOptions.d.ts +10 -0
- package/build/question/options/CreateEnvOptions.d.ts.map +1 -0
- package/build/question/options/CreateEnvOptions.js +24 -0
- package/build/question/options/CreateEnvOptions.js.map +1 -0
- package/build/question/options/CreateProjectOptions.d.ts +10 -0
- package/build/question/options/CreateProjectOptions.d.ts.map +1 -0
- package/build/question/options/CreateProjectOptions.js +138 -0
- package/build/question/options/CreateProjectOptions.js.map +1 -0
- package/build/question/options/CreateSampleProjectOptions.d.ts +10 -0
- package/build/question/options/CreateSampleProjectOptions.d.ts.map +1 -0
- package/build/question/options/CreateSampleProjectOptions.js +52 -0
- package/build/question/options/CreateSampleProjectOptions.js.map +1 -0
- package/build/question/options/DeployAadManifestOptions.d.ts +10 -0
- package/build/question/options/DeployAadManifestOptions.d.ts.map +1 -0
- package/build/question/options/DeployAadManifestOptions.js +21 -0
- package/build/question/options/DeployAadManifestOptions.js.map +1 -0
- package/build/question/options/PermissionGrantOptions.d.ts +10 -0
- package/build/question/options/PermissionGrantOptions.d.ts.map +1 -0
- package/build/question/options/PermissionGrantOptions.js +33 -0
- package/build/question/options/PermissionGrantOptions.js.map +1 -0
- package/build/question/options/PermissionListOptions.d.ts +10 -0
- package/build/question/options/PermissionListOptions.d.ts.map +1 -0
- package/build/question/options/PermissionListOptions.js +28 -0
- package/build/question/options/PermissionListOptions.js.map +1 -0
- package/build/question/options/PreviewTeamsAppOptions.d.ts +10 -0
- package/build/question/options/PreviewTeamsAppOptions.d.ts.map +1 -0
- package/build/question/options/PreviewTeamsAppOptions.js +26 -0
- package/build/question/options/PreviewTeamsAppOptions.js.map +1 -0
- package/build/question/options/SPFxAddWebpartOptions.d.ts +10 -0
- package/build/question/options/SPFxAddWebpartOptions.d.ts.map +1 -0
- package/build/question/options/SPFxAddWebpartOptions.js +38 -0
- package/build/question/options/SPFxAddWebpartOptions.js.map +1 -0
- package/build/question/options/SelectTeamsManifestOptions.d.ts +10 -0
- package/build/question/options/SelectTeamsManifestOptions.d.ts.map +1 -0
- package/build/question/options/SelectTeamsManifestOptions.js +17 -0
- package/build/question/options/SelectTeamsManifestOptions.js.map +1 -0
- package/build/question/options/ValidateTeamsAppOptions.d.ts +10 -0
- package/build/question/options/ValidateTeamsAppOptions.d.ts.map +1 -0
- package/build/question/options/ValidateTeamsAppOptions.js +23 -0
- package/build/question/options/ValidateTeamsAppOptions.js.map +1 -0
- package/build/question/options/index.d.ts +11 -0
- package/build/question/options/index.d.ts.map +1 -0
- package/build/question/options/index.js +16 -0
- package/build/question/options/index.js.map +1 -0
- package/build/question/other.d.ts +12 -1
- package/build/question/other.d.ts.map +1 -1
- package/build/question/other.js +122 -29
- package/build/question/other.js.map +1 -1
- package/build/question/questionNames.d.ts +2 -0
- package/build/question/questionNames.d.ts.map +1 -1
- package/build/question/questionNames.js +2 -0
- package/build/question/questionNames.js.map +1 -1
- package/build/ui/validationUtils.d.ts +15 -0
- package/build/ui/validationUtils.d.ts.map +1 -0
- package/build/ui/validationUtils.js +108 -0
- package/build/ui/validationUtils.js.map +1 -0
- package/build/ui/visitor.d.ts +13 -1
- package/build/ui/visitor.d.ts.map +1 -1
- package/build/ui/visitor.js +260 -232
- package/build/ui/visitor.js.map +1 -1
- package/package.json +8 -5
- package/resource/package.nls.json +30 -10
- package/resource/yaml-schema/{1.1.1 → v1.2}/yaml.schema.json +11 -5
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/templates/plugins/resource/aad/auth/bot/README.md +281 -263
- package/templates/plugins/resource/aad/auth/bot/js/sso/handleMessageExtensionQueryWithToken.js +13 -3
- package/templates/plugins/resource/aad/auth/bot/js/sso/profileSsoCommandHandler.js +14 -5
- package/templates/plugins/resource/aad/auth/bot/ts/sso/handleMessageExtensionQueryWithToken.ts +11 -3
- package/templates/plugins/resource/aad/auth/bot/ts/sso/profileSsoCommandHandler.ts +12 -3
|
@@ -8,4 +8,5 @@ export declare function isV3Enabled(): boolean;
|
|
|
8
8
|
export declare function isVideoFilterEnabled(): boolean;
|
|
9
9
|
export declare function isImportSPFxEnabled(): boolean;
|
|
10
10
|
export declare function isCopilotPluginEnabled(): boolean;
|
|
11
|
+
export declare function isCliNewUxEnabled(): boolean;
|
|
11
12
|
//# sourceMappingURL=featureFlags.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlags.d.ts","sourceRoot":"","sources":["../../src/common/featureFlags.ts"],"names":[],"mappings":"AAKA,wBAAgB,oBAAoB,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,UAAQ,GAAG,OAAO,CAO3F;AAED;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,IAAI,CAMpD;AAED,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED,wBAAgB,mBAAmB,IAAI,OAAO,CAG7C;AAED,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD"}
|
|
1
|
+
{"version":3,"file":"featureFlags.d.ts","sourceRoot":"","sources":["../../src/common/featureFlags.ts"],"names":[],"mappings":"AAKA,wBAAgB,oBAAoB,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY,UAAQ,GAAG,OAAO,CAO3F;AAED;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,IAAI,CAMpD;AAED,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED,wBAAgB,mBAAmB,IAAI,OAAO,CAG7C;AAED,wBAAgB,sBAAsB,IAAI,OAAO,CAEhD;AAED,wBAAgB,iBAAiB,IAAI,OAAO,CAE3C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isCopilotPluginEnabled = exports.isImportSPFxEnabled = exports.isVideoFilterEnabled = exports.isV3Enabled = exports.isCLIDotNetEnabled = exports.initializePreviewFeatureFlags = exports.isFeatureFlagEnabled = void 0;
|
|
3
|
+
exports.isCliNewUxEnabled = exports.isCopilotPluginEnabled = exports.isImportSPFxEnabled = exports.isVideoFilterEnabled = exports.isV3Enabled = exports.isCLIDotNetEnabled = exports.initializePreviewFeatureFlags = exports.isFeatureFlagEnabled = void 0;
|
|
4
4
|
// Copyright (c) Microsoft Corporation.
|
|
5
5
|
// Licensed under the MIT license.
|
|
6
6
|
const constants_1 = require("./constants");
|
|
@@ -47,4 +47,8 @@ function isCopilotPluginEnabled() {
|
|
|
47
47
|
return isFeatureFlagEnabled(constants_1.FeatureFlagName.CopilotPlugin, false);
|
|
48
48
|
}
|
|
49
49
|
exports.isCopilotPluginEnabled = isCopilotPluginEnabled;
|
|
50
|
+
function isCliNewUxEnabled() {
|
|
51
|
+
return isFeatureFlagEnabled("TEAMSFX_CLI_NEW_UX", false);
|
|
52
|
+
}
|
|
53
|
+
exports.isCliNewUxEnabled = isCliNewUxEnabled;
|
|
50
54
|
//# sourceMappingURL=featureFlags.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlags.js","sourceRoot":"","sources":["../../src/common/featureFlags.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,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CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,KAAK,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;AAC3E,CAAC;AAFD,kCAEC;AAED,SAAgB,oBAAoB;IAClC,OAAO,oBAAoB,CAAC,2BAAe,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAFD,oDAEC;AAED,SAAgB,mBAAmB;IACjC,OAAO,IAAI,CAAC;IACZ,iEAAiE;AACnE,CAAC;AAHD,kDAGC;AAED,SAAgB,sBAAsB;IACpC,OAAO,oBAAoB,CAAC,2BAAe,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAFD,wDAEC;AAED,SAAgB,iBAAiB;IAC/B,OAAO,oBAAoB,CAAC,oBAAoB,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAFD,8CAEC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FxError, LogProvider, M365TokenProvider, Result } from "@microsoft/teamsfx-api";
|
|
2
|
-
import {
|
|
2
|
+
import { HubTypes } from "../../question/other";
|
|
3
3
|
export declare class LaunchHelper {
|
|
4
4
|
private readonly m365TokenProvider;
|
|
5
5
|
private readonly logger?;
|
|
6
6
|
constructor(m365TokenProvider: M365TokenProvider, logger?: LogProvider);
|
|
7
|
-
getLaunchUrl(hub:
|
|
7
|
+
getLaunchUrl(hub: HubTypes, teamsAppId: string, capabilities: string[], withLoginHint?: boolean): Promise<Result<string, FxError>>;
|
|
8
8
|
getM365AppId(teamsAppId: string): Promise<Result<string, FxError>>;
|
|
9
9
|
private getTidFromToken;
|
|
10
10
|
private getUpnFromToken;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launchHelper.d.ts","sourceRoot":"","sources":["../../../src/common/m365/launchHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAO,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAM,MAAM,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"launchHelper.d.ts","sourceRoot":"","sources":["../../../src/common/m365/launchHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAO,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAM,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAQlG,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAoB;IACtD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAc;gBAEnB,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,WAAW;IAKhE,YAAY,CACvB,GAAG,EAAE,QAAQ,EACb,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EAAE,EACtB,aAAa,UAAO,GACnB,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IA2CtB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAwBjE,eAAe;YAUf,eAAe;CAS9B"}
|
|
@@ -6,11 +6,11 @@ exports.LaunchHelper = void 0;
|
|
|
6
6
|
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
7
7
|
const error_1 = require("../../core/error");
|
|
8
8
|
const tools_1 = require("../tools");
|
|
9
|
-
const constants_1 = require("./constants");
|
|
10
9
|
const errors_1 = require("./errors");
|
|
11
10
|
const packageService_1 = require("./packageService");
|
|
12
11
|
const serviceConstant_1 = require("./serviceConstant");
|
|
13
12
|
const common_1 = require("../../error/common");
|
|
13
|
+
const other_1 = require("../../question/other");
|
|
14
14
|
class LaunchHelper {
|
|
15
15
|
constructor(m365TokenProvider, logger) {
|
|
16
16
|
this.m365TokenProvider = m365TokenProvider;
|
|
@@ -23,7 +23,7 @@ class LaunchHelper {
|
|
|
23
23
|
: undefined;
|
|
24
24
|
let url;
|
|
25
25
|
switch (hub) {
|
|
26
|
-
case
|
|
26
|
+
case other_1.HubTypes.teams: {
|
|
27
27
|
const baseUrl = `https://teams.microsoft.com/l/app/${teamsAppId}?installAppPackage=true&webjoin=true`;
|
|
28
28
|
url = new URL(baseUrl);
|
|
29
29
|
const tid = await this.getTidFromToken();
|
|
@@ -32,7 +32,7 @@ class LaunchHelper {
|
|
|
32
32
|
}
|
|
33
33
|
break;
|
|
34
34
|
}
|
|
35
|
-
case
|
|
35
|
+
case other_1.HubTypes.outlook: {
|
|
36
36
|
const result = await this.getM365AppId(teamsAppId);
|
|
37
37
|
if (result.isErr()) {
|
|
38
38
|
return teamsfx_api_1.err(result.error);
|
|
@@ -43,7 +43,7 @@ class LaunchHelper {
|
|
|
43
43
|
url = new URL(baseUrl);
|
|
44
44
|
break;
|
|
45
45
|
}
|
|
46
|
-
case
|
|
46
|
+
case other_1.HubTypes.office:
|
|
47
47
|
{
|
|
48
48
|
const result = await this.getM365AppId(teamsAppId);
|
|
49
49
|
if (result.isErr()) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launchHelper.js","sourceRoot":"","sources":["../../../src/common/m365/launchHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAkG;AAElG,4CAA8C;AAC9C,oCAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"launchHelper.js","sourceRoot":"","sources":["../../../src/common/m365/launchHelper.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAkG;AAElG,4CAA8C;AAC9C,oCAA2C;AAC3C,qCAAkD;AAClD,qDAAkD;AAClD,uDAAkE;AAClE,+CAAmD;AACnD,gDAAgD;AAEhD,MAAa,YAAY;IAIvB,YAAmB,iBAAoC,EAAE,MAAoB;QAC3E,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB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AC,OAAO,KAAK,EAAE;YACd,OAAO,iBAAG,CAAC,sBAAa,CAAC,KAAK,CAAC,CAAC,CAAC;SAClC;IACH,CAAC;IAEO,KAAK,CAAC,eAAe;QAC3B,IAAI;YACF,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,uBAAe,EAAE,CAAC,CAAC;YACtF,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC/E,OAAO,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,GAAa,CAAC;SACnC;QAAC,WAAM;YACN,OAAO,SAAS,CAAC;SAClB;IACH,CAAC;IAEO,KAAK,CAAC,eAAe;QAC3B,IAAI;YACF,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,uBAAe,EAAE,CAAC,CAAC;YACtF,MAAM,WAAW,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC/E,OAAO,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,GAAa,CAAC;SACnC;QAAC,WAAM;YACN,OAAO,SAAS,CAAC;SAClB;IACH,CAAC;CACF;AApGD,oCAoGC"}
|
|
@@ -1,31 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
"baseUrl": "https://github.com/OfficeDev/TeamsFx-Samples/tree/v2.3.0/",
|
|
3
2
|
"samples": [
|
|
4
3
|
{
|
|
5
4
|
"id": "hello-world-tab-with-backend",
|
|
5
|
+
"onboardDate": "2021-11-30",
|
|
6
6
|
"title": "Tab App with Azure Backend",
|
|
7
7
|
"shortDescription": "A Hello World app of Microsoft Teams Tab app which has a backend service",
|
|
8
8
|
"fullDescription": "This is a Hello World app of Microsoft Teams Tab app which accomplishes very simple function like single-sign on. You can run this app locally or deploy it to Microsoft Azure. This app has a Tab frontend and a backend service using Azure Function.",
|
|
9
|
-
"
|
|
9
|
+
"types": [
|
|
10
|
+
"Tab"
|
|
11
|
+
],
|
|
12
|
+
"tags": [
|
|
13
|
+
"Tab",
|
|
14
|
+
"TS",
|
|
15
|
+
"Azure function"
|
|
16
|
+
],
|
|
10
17
|
"time": "5min to run",
|
|
11
18
|
"configuration": "Ready for debug",
|
|
19
|
+
"gifPath": "images/helloWorld-tab-with-backend.gif",
|
|
12
20
|
"suggested": true
|
|
13
21
|
},
|
|
14
22
|
{
|
|
15
23
|
"id": "graph-toolkit-contact-exporter",
|
|
24
|
+
"onboardDate": "2021-11-30",
|
|
16
25
|
"title": "Contact Exporter using Graph Toolkit",
|
|
17
26
|
"shortDescription": "Contact Exporter app of Microsoft Teams Tab app.",
|
|
18
27
|
"fullDescription": "Contact Exporter app can export your teams contact info to Excel files, and it is using Microsoft Graph Toolkit as UI component. This app only has a Tab frontend.",
|
|
19
|
-
"
|
|
28
|
+
"types": [
|
|
29
|
+
"Tab"
|
|
30
|
+
],
|
|
31
|
+
"tags": [
|
|
32
|
+
"Tab",
|
|
33
|
+
"JS"
|
|
34
|
+
],
|
|
20
35
|
"time": "5min to run",
|
|
21
36
|
"configuration": "Ready for debug",
|
|
37
|
+
"gifPath": "images/overview.gif",
|
|
22
38
|
"suggested": true
|
|
23
39
|
},
|
|
24
40
|
{
|
|
25
41
|
"id": "bot-sso",
|
|
42
|
+
"onboardDate": "2021-10-19",
|
|
26
43
|
"title": "Bot App with SSO Enabled",
|
|
27
44
|
"shortDescription": "A Hello World app of Microsoft Teams Bot app with SSO",
|
|
28
45
|
"fullDescription": "This is an extended Hello World app of Microsoft Teams Bot app demonstrating how to integrate with Bot Framework SDK, TeamsFx SDK, and Graph SDK to implement SSO (Single Sign-On) feature that retrieves profile photos for currently signed-in users.",
|
|
46
|
+
"types": [
|
|
47
|
+
"Bot"
|
|
48
|
+
],
|
|
29
49
|
"tags": [
|
|
30
50
|
"Bot",
|
|
31
51
|
"TS",
|
|
@@ -34,13 +54,18 @@
|
|
|
34
54
|
],
|
|
35
55
|
"time": "5min to run",
|
|
36
56
|
"configuration": "Ready for debug",
|
|
57
|
+
"gifPath": "images/preview.gif",
|
|
37
58
|
"suggested": false
|
|
38
59
|
},
|
|
39
60
|
{
|
|
40
61
|
"id": "todo-list-SPFx",
|
|
62
|
+
"onboardDate": "2021-05-06",
|
|
41
63
|
"title": "Todo List with SPFx",
|
|
42
64
|
"shortDescription": "Todo List app hosting on SharePoint",
|
|
43
65
|
"fullDescription": "Todo List with SPFx is a Todo List for individuals to manage his/her personal to-do items. This app is hosted on Sharepoint. There is no requirements to deploy Azure resources.",
|
|
66
|
+
"types": [
|
|
67
|
+
"Tab"
|
|
68
|
+
],
|
|
44
69
|
"tags": [
|
|
45
70
|
"SharePoint",
|
|
46
71
|
"SPFx",
|
|
@@ -48,185 +73,373 @@
|
|
|
48
73
|
],
|
|
49
74
|
"time": "1hr to run",
|
|
50
75
|
"configuration": "Manual configurations required",
|
|
76
|
+
"gifPath": "images/ToDoListCRUD.gif",
|
|
51
77
|
"suggested": false
|
|
52
78
|
},
|
|
53
79
|
{
|
|
54
80
|
"id": "hello-world-in-meeting",
|
|
81
|
+
"onboardDate": "2022-04-08",
|
|
55
82
|
"title": "My First Meeting App",
|
|
56
83
|
"shortDescription": "A template for apps using only in the context of a Teams meeting",
|
|
57
84
|
"fullDescription": "My first meeting app is a simple template to show how to build a tab app that can be installed and used in a meeting, in all of meeting lifecycles: pre-meeting chat, in-meeting, post-meeting chat. This sample contains tab as side panel, meeting chat tab, or meeting details tab. The template also includes simple codes to fetch meeting info and user profile.",
|
|
58
|
-
"
|
|
85
|
+
"types": [
|
|
86
|
+
"Tab"
|
|
87
|
+
],
|
|
88
|
+
"tags": [
|
|
89
|
+
"Meeting extension",
|
|
90
|
+
"JS"
|
|
91
|
+
],
|
|
59
92
|
"time": "30min to run",
|
|
60
93
|
"configuration": "Ready for debug",
|
|
94
|
+
"gifPath": "images/preview.png",
|
|
61
95
|
"suggested": false
|
|
62
96
|
},
|
|
63
97
|
{
|
|
64
98
|
"id": "todo-list-with-Azure-backend-M365",
|
|
99
|
+
"onboardDate": "2021-11-09",
|
|
65
100
|
"title": "Todo List (Works in Teams, Outlook and Office)",
|
|
66
101
|
"shortDescription": "Todo List app that runs across Microsoft 365 including Teams, Outlook and Office",
|
|
67
102
|
"fullDescription": "Todo List app helps to manage personal to do items and also runs across Microsoft 365, including Teams, Outlook and Office. The frontend is a React app and the backend is an Azure Function. You can optionally deploy and host the app in Azure.",
|
|
68
|
-
"
|
|
103
|
+
"types": [
|
|
104
|
+
"Tab"
|
|
105
|
+
],
|
|
106
|
+
"tags": [
|
|
107
|
+
"React",
|
|
108
|
+
"Azure function",
|
|
109
|
+
"JS",
|
|
110
|
+
"Outlook",
|
|
111
|
+
"Office"
|
|
112
|
+
],
|
|
69
113
|
"time": "30min to run",
|
|
70
114
|
"configuration": "Manual configurations required",
|
|
115
|
+
"gifPath": "images/preview.gif",
|
|
71
116
|
"suggested": false
|
|
72
117
|
},
|
|
73
118
|
{
|
|
74
119
|
"id": "NPM-search-connector-M365",
|
|
120
|
+
"onboardDate": "2021-11-09",
|
|
75
121
|
"title": "NPM Search Connector",
|
|
76
122
|
"shortDescription": "Search and Share an NPM Package in Teams and Outlook (Web)",
|
|
77
123
|
"fullDescription": "NPM Search Connector is a Message Extension that runs across Microsoft 365 including Teams and Outlook (Web). It allows you to perform a quick search for a NPM package and insert package details into conversations for easy sharing. The front end is built with Adaptive Cards and the backend is an Azure Bot Service.",
|
|
78
|
-
"
|
|
124
|
+
"types": [
|
|
125
|
+
"Message extension"
|
|
126
|
+
],
|
|
127
|
+
"tags": [
|
|
128
|
+
"Message extension",
|
|
129
|
+
"JS",
|
|
130
|
+
"Outlook"
|
|
131
|
+
],
|
|
79
132
|
"time": "45min to run",
|
|
80
133
|
"configuration": "Manual configurations required",
|
|
134
|
+
"gifPath": "images/preview.gif",
|
|
81
135
|
"suggested": false
|
|
82
136
|
},
|
|
83
137
|
{
|
|
84
138
|
"id": "bot-proactive-messaging-teamsfx",
|
|
139
|
+
"onboardDate": "2022-08-01",
|
|
85
140
|
"title": "Proactive Messaging",
|
|
86
141
|
"shortDescription": "Demonstrates how to send proactive messages to users.",
|
|
87
142
|
"fullDescription": "This is a sample which shows how to save user's conversation reference information to send proactive reminder message using Bots.",
|
|
143
|
+
"types": [
|
|
144
|
+
"Bot"
|
|
145
|
+
],
|
|
88
146
|
"tags": [
|
|
89
147
|
"Bot",
|
|
90
148
|
"JS"
|
|
91
149
|
],
|
|
92
150
|
"time": "5min to run",
|
|
93
151
|
"configuration": "Ready for debug",
|
|
152
|
+
"gifPath": "images/send-proactive-messages.gif",
|
|
94
153
|
"suggested": false,
|
|
95
|
-
"
|
|
154
|
+
"downloadUrl": "https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-proactive-messaging-teamsfx"
|
|
96
155
|
},
|
|
97
156
|
{
|
|
98
157
|
"id": "adaptive-card-notification",
|
|
158
|
+
"onboardDate": "2022-03-28",
|
|
99
159
|
"title": "Adaptive Card Notification",
|
|
100
160
|
"shortDescription": "Demonstrates how to send adaptive card notification to users.",
|
|
101
161
|
"fullDescription": "This is a sample which shows how to send notification with different adaptive cards using Bots.",
|
|
162
|
+
"types": [
|
|
163
|
+
"Bot"
|
|
164
|
+
],
|
|
102
165
|
"tags": [
|
|
103
|
-
"Bot",
|
|
166
|
+
"Bot",
|
|
167
|
+
"TS"
|
|
104
168
|
],
|
|
105
169
|
"time": "5min to run",
|
|
106
170
|
"configuration": "Ready for debug",
|
|
171
|
+
"gifPath": "images/adaptivecard.gif",
|
|
107
172
|
"suggested": false
|
|
108
173
|
},
|
|
109
174
|
{
|
|
110
175
|
"id": "incoming-webhook-notification",
|
|
176
|
+
"onboardDate": "2022-03-31",
|
|
111
177
|
"title": "Incoming Webhook Notification",
|
|
112
178
|
"shortDescription": "Demonstrates how to send notification via Incoming Webhook.",
|
|
113
179
|
"fullDescription": "This is a sample which shows how to send notification via Incoming Webhook in Microsoft Teams channels.",
|
|
180
|
+
"types": [
|
|
181
|
+
"Bot"
|
|
182
|
+
],
|
|
114
183
|
"tags": [
|
|
115
|
-
"Bot",
|
|
184
|
+
"Bot",
|
|
185
|
+
"TS"
|
|
116
186
|
],
|
|
117
187
|
"time": "5min to run",
|
|
118
188
|
"configuration": "Manual configurations required",
|
|
189
|
+
"gifPath": "images/incoming-webhook.gif",
|
|
119
190
|
"suggested": false
|
|
120
191
|
},
|
|
121
192
|
{
|
|
122
193
|
"id": "stocks-update-notification-bot",
|
|
194
|
+
"onboardDate": "2022-08-08",
|
|
123
195
|
"title": "Stocks Update",
|
|
124
196
|
"shortDescription": "Keep up to date with the latest stock price in Microsoft Teams.",
|
|
125
197
|
"fullDescription": "This sample demonstrates how a Notification Bot can be used to call an external API using API Key authentication, on a pre-defined schedule of every 30 seconds, to obtain the latest stock information and render the results as an Adaptive Card.",
|
|
126
|
-
"
|
|
198
|
+
"types": [
|
|
199
|
+
"Bot"
|
|
200
|
+
],
|
|
201
|
+
"tags": [
|
|
202
|
+
"Bot",
|
|
203
|
+
"TS",
|
|
204
|
+
"Azure function",
|
|
205
|
+
"API Key"
|
|
206
|
+
],
|
|
127
207
|
"time": "5min to run",
|
|
128
208
|
"configuration": "Ready for debug",
|
|
209
|
+
"gifPath": "images/app.gif",
|
|
129
210
|
"suggested": false
|
|
130
211
|
},
|
|
131
212
|
{
|
|
132
213
|
"id": "query-org-user-with-message-extension-sso",
|
|
214
|
+
"onboardDate": "2022-09-20",
|
|
133
215
|
"title": "Org User Search Connector",
|
|
134
216
|
"shortDescription": "Query Org User with Message Extension SSO",
|
|
135
217
|
"fullDescription": "This is a simple search-based message extension app demonstrating how to integrate with Bot Framework SDK, TeamsFx SDK and Microsoft Graph API to implement a feature that queries organization's user with single sign on (SSO) capability.",
|
|
136
|
-
"
|
|
218
|
+
"types": [
|
|
219
|
+
"Message extension"
|
|
220
|
+
],
|
|
221
|
+
"tags": [
|
|
222
|
+
"Message extension",
|
|
223
|
+
"SSO"
|
|
224
|
+
],
|
|
137
225
|
"time": "5min to run",
|
|
138
226
|
"configuration": "Ready for debug",
|
|
227
|
+
"gifPath": "images/preview.gif",
|
|
139
228
|
"suggested": false
|
|
140
229
|
},
|
|
141
230
|
{
|
|
142
231
|
"id": "team-central-dashboard",
|
|
232
|
+
"onboardDate": "2022-09-20",
|
|
143
233
|
"title": "Team Central Dashboard",
|
|
144
234
|
"shortDescription": "A single dashboard displaying data chats and content from Microsoft Graph to accelerate team collaboration and personal productivity.",
|
|
145
235
|
"fullDescription": "A single dashboard displaying data chats and content from Microsoft Graph to accelerate team collaboration and personal productivity.",
|
|
146
|
-
"
|
|
236
|
+
"types": [
|
|
237
|
+
"Tab"
|
|
238
|
+
],
|
|
239
|
+
"tags": [
|
|
240
|
+
"Tab",
|
|
241
|
+
"TS",
|
|
242
|
+
"Azure function",
|
|
243
|
+
"SSO"
|
|
244
|
+
],
|
|
147
245
|
"time": "5min to run",
|
|
148
246
|
"configuration": "Ready for debug",
|
|
247
|
+
"gifPath": "images/team-central-dashboard.gif",
|
|
149
248
|
"suggested": false
|
|
150
249
|
},
|
|
151
250
|
{
|
|
152
251
|
"id": "graph-connector-app",
|
|
252
|
+
"onboardDate": "2022-04-18",
|
|
153
253
|
"title": "Graph Connector App",
|
|
154
254
|
"shortDescription": "Showcases how to build custom Graph Connector",
|
|
155
255
|
"fullDescription": "This sample app showcases how to build custom Graph Connector with Azure Functions and query data using Microsoft Graph Client and TeamsFx SDK.",
|
|
156
|
-
"
|
|
256
|
+
"types": [
|
|
257
|
+
"Tab"
|
|
258
|
+
],
|
|
259
|
+
"tags": [
|
|
260
|
+
"Tab",
|
|
261
|
+
"Azure function",
|
|
262
|
+
"TS",
|
|
263
|
+
"SSO"
|
|
264
|
+
],
|
|
157
265
|
"time": "10min to run",
|
|
158
266
|
"configuration": "Manual configurations required",
|
|
267
|
+
"gifPath": "images/graph-connector-app-demo.gif",
|
|
159
268
|
"suggested": false
|
|
160
269
|
},
|
|
161
270
|
{
|
|
162
271
|
"id": "graph-toolkit-one-productivity-hub",
|
|
272
|
+
"onboardDate": "2022-07-27",
|
|
163
273
|
"title": "One Productivity Hub using Graph Toolkit",
|
|
164
274
|
"shortDescription": "Microsoft Teams tab with SSO to view calendar events, to-do tasks and file folders.",
|
|
165
275
|
"fullDescription": "One Productivity Hub sample shows you how to build a tab for viewing your calendar events, to-do tasks and files by using Microsoft Graph Toolkit components and TeamsFx provider. You can run this app locally or deploy it to Microsoft Azure.",
|
|
166
|
-
"
|
|
276
|
+
"types": [
|
|
277
|
+
"Tab"
|
|
278
|
+
],
|
|
279
|
+
"tags": [
|
|
280
|
+
"Tab",
|
|
281
|
+
"JS",
|
|
282
|
+
"SSO",
|
|
283
|
+
"Graph Toolkit"
|
|
284
|
+
],
|
|
167
285
|
"time": "5min to run",
|
|
168
286
|
"configuration": "Ready for debug",
|
|
287
|
+
"gifPath": "images/oneproductivityhub-overview.gif",
|
|
169
288
|
"suggested": false
|
|
170
289
|
},
|
|
171
290
|
{
|
|
172
291
|
"id": "todo-list-with-Azure-backend",
|
|
292
|
+
"onboardDate": "2021-05-06",
|
|
173
293
|
"title": "Todo List with backend on Azure",
|
|
174
294
|
"shortDescription": "Todo List app with Azure Function backend and Azure SQL database",
|
|
175
295
|
"fullDescription": "Todo List provides an easy way to manage to-do items in Teams Client. This app helps enabling task collaboration and management for your team. The frontend is a React app and the backend is hosted on Azure. You will need an Azure subscription to run the app.",
|
|
176
|
-
"
|
|
296
|
+
"types": [
|
|
297
|
+
"Tab"
|
|
298
|
+
],
|
|
299
|
+
"tags": [
|
|
300
|
+
"React",
|
|
301
|
+
"Azure function",
|
|
302
|
+
"Azure SQL",
|
|
303
|
+
"JS",
|
|
304
|
+
"CI/CD"
|
|
305
|
+
],
|
|
177
306
|
"time": "30min to run",
|
|
178
307
|
"configuration": "Manual configurations required",
|
|
308
|
+
"gifPath": "images/ToDoListCRUD.gif",
|
|
179
309
|
"suggested": false
|
|
180
310
|
},
|
|
181
311
|
{
|
|
182
312
|
"id": "share-now",
|
|
313
|
+
"onboardDate": "2021-05-17",
|
|
183
314
|
"title": "Share Now",
|
|
184
315
|
"shortDescription": "Knowledge sharing app contains a Tab and a Message extension",
|
|
185
316
|
"fullDescription": "Share Now promotes the exchange of information between colleagues by enabling users to share content within the Teams environment. Users engage the app to share items of interest, discover new shared content, set preferences, and bookmark favorites for later reading.",
|
|
186
|
-
"
|
|
317
|
+
"types": [
|
|
318
|
+
"Tab",
|
|
319
|
+
"Message extension"
|
|
320
|
+
],
|
|
321
|
+
"tags": [
|
|
322
|
+
"Tab",
|
|
323
|
+
"Message extension",
|
|
324
|
+
"TS"
|
|
325
|
+
],
|
|
187
326
|
"time": "30min to run",
|
|
188
327
|
"configuration": "Ready for debug",
|
|
328
|
+
"gifPath": "images/shareNow.gif",
|
|
189
329
|
"suggested": false
|
|
190
330
|
},
|
|
191
331
|
{
|
|
192
332
|
"id": "hello-world-teams-tab-and-outlook-add-in",
|
|
333
|
+
"onboardDate": "2023-03-02",
|
|
193
334
|
"title": "Hello World Teams Tab and Outlook add-in",
|
|
194
335
|
"shortDescription": "A hello world project that contains both Teams Tab and Outlook add-in capability",
|
|
195
336
|
"fullDescription": "A hello world project that contains both Teams Tab and Outlook add-in capability",
|
|
196
|
-
"
|
|
337
|
+
"types": [
|
|
338
|
+
"Tab"
|
|
339
|
+
],
|
|
340
|
+
"tags": [
|
|
341
|
+
"Tab",
|
|
342
|
+
"Outlook add-in"
|
|
343
|
+
],
|
|
197
344
|
"time": "5min to run",
|
|
198
345
|
"configuration": "Ready for debug",
|
|
346
|
+
"gifPath": "images/preview.png",
|
|
199
347
|
"suggested": false
|
|
200
348
|
},
|
|
201
349
|
{
|
|
202
350
|
"id": "outlook-add-in-set-signature",
|
|
351
|
+
"onboardDate": "2023-05-04",
|
|
203
352
|
"title": "Set signature using Outlook add-in",
|
|
204
353
|
"shortDescription": "An Outlook add-in that sets signature for the user",
|
|
205
354
|
"fullDescription": "An Outlook add-in that sets signature for the user",
|
|
206
|
-
"
|
|
355
|
+
"types": [
|
|
356
|
+
"Tab"
|
|
357
|
+
],
|
|
358
|
+
"tags": [
|
|
359
|
+
"Outlook add-in"
|
|
360
|
+
],
|
|
207
361
|
"time": "5min to run",
|
|
208
362
|
"configuration": "Ready for debug",
|
|
363
|
+
"gifPath": "assets/outlook-set-signature-overview.png",
|
|
209
364
|
"suggested": false,
|
|
210
|
-
"
|
|
365
|
+
"downloadUrl": "https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/outlook-set-signature"
|
|
211
366
|
},
|
|
212
367
|
{
|
|
213
368
|
"id": "developer-assist-dashboard",
|
|
369
|
+
"onboardDate": "2023-03-07",
|
|
214
370
|
"title": "Developer Assist Dashboard",
|
|
215
371
|
"shortDescription": "A dashboard that integrates with Azure DevOps, Github issues and Planner tasks that accelerates developer productivity.",
|
|
216
372
|
"fullDescription": "A dashboard that integrates with Azure DevOps, Github issues and Planner tasks that accelerates developer productivity.",
|
|
217
|
-
"
|
|
373
|
+
"types": [
|
|
374
|
+
"Tab"
|
|
375
|
+
],
|
|
376
|
+
"tags": [
|
|
377
|
+
"Outlook",
|
|
378
|
+
"Office",
|
|
379
|
+
"TS"
|
|
380
|
+
],
|
|
218
381
|
"time": "15min to run",
|
|
219
382
|
"configuration": "Manual configurations required",
|
|
383
|
+
"gifPath": "images/preview.png",
|
|
220
384
|
"suggested": false
|
|
221
385
|
},
|
|
222
386
|
{
|
|
223
387
|
"id": "live-share-dice-roller",
|
|
388
|
+
"onboardDate": "2023-04-27",
|
|
224
389
|
"title": "Dice Roller in meeting",
|
|
225
390
|
"shortDescription": "This sample introduces Microsoft Live Share and Azure Fluid Relay to enable a shared experience between multiple users.",
|
|
226
391
|
"fullDescription": "Microsoft Live Share is a collaboration tool that enables you to share your experience with others in real time. Azure Fluid Relay is a part of this service. The diceroller example is a simple app that allows multiple users to roll a dice and see the results. This sample is a great way to get started with Live Share and Fluid.",
|
|
227
|
-
"
|
|
392
|
+
"types": [
|
|
393
|
+
"Tab"
|
|
394
|
+
],
|
|
395
|
+
"tags": [
|
|
396
|
+
"Live Share",
|
|
397
|
+
"JS",
|
|
398
|
+
"ReactJS",
|
|
399
|
+
"Teams-JS 2.0"
|
|
400
|
+
],
|
|
228
401
|
"time": "5 min to run",
|
|
229
402
|
"configuration": "Manual configurations required",
|
|
403
|
+
"gifPath": "images/preview.gif",
|
|
404
|
+
"suggested": false
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"id": "teams-chef-bot",
|
|
408
|
+
"onboardDate": "2023-06-25",
|
|
409
|
+
"title": "Teams Chef Bot",
|
|
410
|
+
"shortDescription": "Demonstrates how to build bot with Microsoft Teams AI Library.",
|
|
411
|
+
"fullDescription": "This is a conversational bot for Microsoft Teams that impersonates a Chef to help you you cook Teams apps.",
|
|
412
|
+
"types": [
|
|
413
|
+
"Bot"
|
|
414
|
+
],
|
|
415
|
+
"tags": [
|
|
416
|
+
"Bot",
|
|
417
|
+
"TS",
|
|
418
|
+
"GPT"
|
|
419
|
+
],
|
|
420
|
+
"time": "5min to run",
|
|
421
|
+
"configuration": "Manual configurations required",
|
|
422
|
+
"gifPath": "assets/preview.gif",
|
|
423
|
+
"suggested": false
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"id": "spfx-productivity-dashboard",
|
|
427
|
+
"onboardDate": "2023-08-09",
|
|
428
|
+
"title": "One Productivity Hub using Graph Toolkit with SPFx",
|
|
429
|
+
"shortDescription": "Microsoft Teams tab powered by SharePoint Framework to view calendar events, to-do tasks and file folders.",
|
|
430
|
+
"fullDescription": "One Productivity Hub sample shows you how to build a tab for viewing your calendar events, to-do tasks and files by using Microsoft Graph Toolkit components and SharePoint provider. You can run this app locally or deploy it to SharePoint.",
|
|
431
|
+
"types": [
|
|
432
|
+
"Tab"
|
|
433
|
+
],
|
|
434
|
+
"tags": [
|
|
435
|
+
"Tab",
|
|
436
|
+
"TS",
|
|
437
|
+
"SPFx",
|
|
438
|
+
"Graph Toolkit"
|
|
439
|
+
],
|
|
440
|
+
"time": "5min to run",
|
|
441
|
+
"configuration": "Ready for debug",
|
|
442
|
+
"gifPath": "src/assets/screenshot.png",
|
|
230
443
|
"suggested": false
|
|
231
444
|
}
|
|
232
445
|
]
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const SampleConfigTag = "v2.3.0";
|
|
2
|
+
export interface SampleConfig {
|
|
2
3
|
id: string;
|
|
4
|
+
onboardDate: Date;
|
|
3
5
|
title: string;
|
|
4
6
|
shortDescription: string;
|
|
5
7
|
fullDescription: string;
|
|
8
|
+
types: string[];
|
|
6
9
|
tags: string[];
|
|
7
10
|
time: string;
|
|
8
11
|
configuration: string;
|
|
9
12
|
suggested: boolean;
|
|
10
|
-
|
|
13
|
+
gifUrl: string;
|
|
14
|
+
maximumToolkitVersion?: string;
|
|
15
|
+
downloadUrl?: string;
|
|
11
16
|
}
|
|
12
17
|
interface SampleCollection {
|
|
13
|
-
samples:
|
|
18
|
+
samples: SampleConfig[];
|
|
14
19
|
}
|
|
15
20
|
declare class SampleProvider {
|
|
16
21
|
private sampleCollection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"samples.d.ts","sourceRoot":"","sources":["../../src/common/samples.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"samples.d.ts","sourceRoot":"","sources":["../../src/common/samples.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe,WAAW,CAAC;AAExC,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IAExB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IAEf,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,cAAM,cAAc;IAClB,OAAO,CAAC,gBAAgB,CAA+B;IACvD,OAAO,CAAC,aAAa,CAA0D;IAElE,iBAAiB;IAoB9B,IAAW,gBAAgB,IAAI,gBAAgB,CAkC9C;IAED,OAAO,CAAC,gBAAgB;CAUzB;AAED,eAAO,MAAM,cAAc,gBAAuB,CAAC"}
|