@microsoft/teamsfx-core 2.0.8-alpha.c3fe84399.0 → 2.0.8-alpha.ded43fb2d.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/constants.d.ts +1 -2
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +1 -2
- package/build/common/constants.js.map +1 -1
- package/build/common/featureFlags.d.ts +5 -10
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +6 -14
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/templates-config.json +1 -1
- package/build/component/driver/apiKey/create.d.ts.map +1 -1
- package/build/component/driver/apiKey/create.js.map +1 -1
- package/build/component/driver/apiKey/update.js +1 -1
- package/build/component/driver/apiKey/update.js.map +1 -1
- package/build/component/driver/apiKey/utility/utility.d.ts.map +1 -1
- package/build/component/driver/apiKey/utility/utility.js +2 -3
- package/build/component/driver/apiKey/utility/utility.js.map +1 -1
- package/build/component/driver/oauth/create.d.ts +12 -0
- package/build/component/driver/oauth/create.d.ts.map +1 -0
- package/build/component/driver/oauth/create.js +179 -0
- package/build/component/driver/oauth/create.js.map +1 -0
- package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts +5 -0
- package/build/component/driver/oauth/error/oauthAuthInfoInvalid.d.ts.map +1 -0
- package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js +21 -0
- package/build/component/driver/oauth/error/oauthAuthInfoInvalid.js.map +1 -0
- package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts +5 -0
- package/build/component/driver/oauth/error/oauthDomainInvalid.d.ts.map +1 -0
- package/build/component/driver/oauth/error/oauthDomainInvalid.js +22 -0
- package/build/component/driver/oauth/error/oauthDomainInvalid.js.map +1 -0
- package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts +5 -0
- package/build/component/driver/oauth/error/oauthFailedToGetDomain.d.ts.map +1 -0
- package/build/component/driver/oauth/error/oauthFailedToGetDomain.js +21 -0
- package/build/component/driver/oauth/error/oauthFailedToGetDomain.js.map +1 -0
- package/build/component/driver/oauth/error/oauthNameTooLong.d.ts +5 -0
- package/build/component/driver/oauth/error/oauthNameTooLong.d.ts.map +1 -0
- package/build/component/driver/oauth/error/oauthNameTooLong.js +21 -0
- package/build/component/driver/oauth/error/oauthNameTooLong.js.map +1 -0
- package/build/component/driver/oauth/interface/createOauthArgs.d.ts +12 -0
- package/build/component/driver/oauth/interface/createOauthArgs.d.ts.map +1 -0
- package/build/component/driver/oauth/interface/createOauthArgs.js +5 -0
- package/build/component/driver/oauth/interface/createOauthArgs.js.map +1 -0
- package/build/component/driver/oauth/interface/createOauthOutputs.d.ts +7 -0
- package/build/component/driver/oauth/interface/createOauthOutputs.d.ts.map +1 -0
- package/build/component/driver/oauth/interface/createOauthOutputs.js +10 -0
- package/build/component/driver/oauth/interface/createOauthOutputs.js.map +1 -0
- package/build/component/driver/oauth/utility/constants.d.ts +11 -0
- package/build/component/driver/oauth/utility/constants.d.ts.map +1 -0
- package/build/component/driver/oauth/utility/constants.js +16 -0
- package/build/component/driver/oauth/utility/constants.js.map +1 -0
- package/build/component/driver/oauth/utility/utility.d.ts +11 -0
- package/build/component/driver/oauth/utility/utility.d.ts.map +1 -0
- package/build/component/driver/oauth/utility/utility.js +83 -0
- package/build/component/driver/oauth/utility/utility.js.map +1 -0
- package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts +7 -4
- package/build/component/driver/teamsApp/interfaces/OauthRegistration.d.ts.map +1 -1
- package/build/component/driver/teamsApp/interfaces/OauthRegistration.js.map +1 -1
- package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
- package/build/component/generator/copilotPlugin/generator.js +2 -3
- package/build/component/generator/copilotPlugin/generator.js.map +1 -1
- package/build/component/generator/copilotPlugin/helper.d.ts.map +1 -1
- package/build/component/generator/copilotPlugin/helper.js +5 -7
- package/build/component/generator/copilotPlugin/helper.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +5 -1
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/officeAddin/helperMethods.d.ts +0 -3
- package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
- package/build/component/generator/officeAddin/helperMethods.js +0 -65
- package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
- package/build/component/generator/officeXMLAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeXMLAddin/generator.js +5 -2
- package/build/component/generator/officeXMLAddin/generator.js.map +1 -1
- package/build/component/middleware/questionMW.d.ts.map +1 -1
- package/build/component/middleware/questionMW.js +9 -1
- package/build/component/middleware/questionMW.js.map +1 -1
- package/build/component/utils.d.ts +2 -1
- package/build/component/utils.d.ts.map +1 -1
- package/build/component/utils.js +43 -1
- package/build/component/utils.js.map +1 -1
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +4 -4
- package/build/core/FxCore.js.map +1 -1
- package/build/question/constants.d.ts.map +1 -1
- package/build/question/constants.js +6 -1
- package/build/question/constants.js.map +1 -1
- package/build/question/create.d.ts.map +1 -1
- package/build/question/create.js +2 -5
- package/build/question/create.js.map +1 -1
- package/package.json +6 -4
- package/resource/package.nls.json +12 -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/python.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/teamsfx-core",
|
|
3
|
-
"version": "2.0.8-alpha.
|
|
3
|
+
"version": "2.0.8-alpha.ded43fb2d.0",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"test:hosting": "nyc mocha \"tests/common/hosting/**/*.test.ts\"",
|
|
31
31
|
"test:aadDriver": "nyc mocha \"tests/component/driver/aad/*.test.ts\"",
|
|
32
32
|
"test:apiKey": "nyc mocha \"tests/component/driver/apiKey/*.test.ts\"",
|
|
33
|
+
"test:oauth": "nyc mocha \"tests/component/driver/oauth/*.test.ts\"",
|
|
33
34
|
"test:botAadAppDriver": "nyc mocha \"tests/component/driver/botAadApp/*.test.ts\"",
|
|
34
35
|
"test:armDriver": "nyc mocha \"tests/component/driver/arm/*.test.ts\"",
|
|
35
36
|
"test:teamsAppDriver": "nyc mocha \"tests/component/driver/teamsApp/*.test.ts\"",
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
"test:projcheck": "nyc mocha \"tests/common/projectTypeChecker.test.ts\"",
|
|
65
66
|
"test:telemetry": "nyc mocha \"tests/common/telemetry.test.ts\"",
|
|
66
67
|
"test:stringUtils": "nyc mocha \"tests/common/stringUtils.test.ts\"",
|
|
68
|
+
"test:generatorUtils": "nyc mocha \"tests/component/generatorUtils.test.ts\"",
|
|
67
69
|
"clean": "rm -rf build",
|
|
68
70
|
"prebuild": "npm run gen:cli",
|
|
69
71
|
"build": "rimraf build && npx tsc -p ./",
|
|
@@ -91,8 +93,8 @@
|
|
|
91
93
|
"@feathersjs/hooks": "^0.6.5",
|
|
92
94
|
"@microsoft/dev-tunnels-contracts": "1.1.9",
|
|
93
95
|
"@microsoft/dev-tunnels-management": "1.1.9",
|
|
94
|
-
"@microsoft/m365-spec-parser": "^0.1.1-alpha.
|
|
95
|
-
"@microsoft/teamsfx-api": "0.22.8-alpha.
|
|
96
|
+
"@microsoft/m365-spec-parser": "^0.1.1-alpha.ded43fb2d.0",
|
|
97
|
+
"@microsoft/teamsfx-api": "0.22.8-alpha.ded43fb2d.0",
|
|
96
98
|
"adm-zip": "^0.5.10",
|
|
97
99
|
"ajv": "^8.5.0",
|
|
98
100
|
"axios": "^1.6.7",
|
|
@@ -208,7 +210,7 @@
|
|
|
208
210
|
"resource/**/*",
|
|
209
211
|
"templates/**/*"
|
|
210
212
|
],
|
|
211
|
-
"gitHead": "
|
|
213
|
+
"gitHead": "9ef7847e0976ff5ac94920010082c802c5226530",
|
|
212
214
|
"publishConfig": {
|
|
213
215
|
"access": "public"
|
|
214
216
|
},
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"plugins.appstudio.validateManifest.progressBar.message": "Validating manifest...",
|
|
137
137
|
"plugins.appstudio.validateAppPackage.progressBar.message": "Validating app package...",
|
|
138
138
|
"plugins.appstudio.adminPortal": "Go to admin portal",
|
|
139
|
-
"plugins.appstudio.publishSucceedNotice.cli": "[%s] is published successfully to Admin Portal (%s). After approval, your app will be available for your organization.
|
|
139
|
+
"plugins.appstudio.publishSucceedNotice.cli": "[%s] is published successfully to Admin Portal (%s). After approval, your app will be available for your organization. Get more info from %s.",
|
|
140
140
|
"plugins.appstudio.updatePublihsedAppConfirm": "Do you want to submit a new update?",
|
|
141
141
|
"plugins.appstudio.teamsAppCreatedNotice": "Teams app %s created successfully",
|
|
142
142
|
"plugins.appstudio.teamsAppUpdatedLog": "Teams app %s updated successfully",
|
|
@@ -369,7 +369,6 @@
|
|
|
369
369
|
"core.createProjectQuestion.invalidUrl.message": "Enter a valid HTTP URL without authentication to access your OpenAPI description document.",
|
|
370
370
|
"core.createProjectQuestion.apiSpec.operation.title": "Select Operation(s) Teams Can Interact with",
|
|
371
371
|
"core.createProjectQuestion.apiSpec.copilotOperation.title": "Select Operation(s) Copilot Can Interact with",
|
|
372
|
-
"core.createProjectQuestion.apiSpec.operation.placeholder": "GET/POST methods with at most 5 required parameter and no auth are listed",
|
|
373
372
|
"core.createProjectQuestion.apiSpec.operation.apikey.placeholder": "GET/POST methods with at most 5 required parameter and API key are listed",
|
|
374
373
|
"core.createProjectQuestion.apiSpec.operation.invalidMessage": "%s API(s) selected. You can select at least one and at most %s APIs.",
|
|
375
374
|
"core.createProjectQuestion.apiSpec.operation.multipleAuth": "Your selected APIs have multiple authorizations %s which are not supported.",
|
|
@@ -586,7 +585,7 @@
|
|
|
586
585
|
"plugins.bot.SomethingIsMissing": "%s is missing.",
|
|
587
586
|
"plugins.bot.FailedToProvision": "Unable to provision %s.",
|
|
588
587
|
"plugins.bot.FailedToUpdateConfigs": "Unable to update configs for %s",
|
|
589
|
-
"plugins.bot.BotRegistrationNotFoundWith": "Bot registration was not found with botId %s. Click 'Get Help' button to
|
|
588
|
+
"plugins.bot.BotRegistrationNotFoundWith": "Bot registration was not found with botId %s. Click 'Get Help' button to get more info about how to check bot registrations.",
|
|
590
589
|
"plugins.bot.BotResourceExists": "Bot resource already existed on %s, skip creating Bot resource.",
|
|
591
590
|
"plugins.bot.FailRetrieveAzureCredentials": "Unable to retrieve Azure credentials.",
|
|
592
591
|
"plugins.bot.ProvisionBotRegistration": "Provisioning bot registration.",
|
|
@@ -595,7 +594,7 @@
|
|
|
595
594
|
"plugins.bot.AppStudioBotRegistration": "Developer Portal bot registration",
|
|
596
595
|
"plugins.function.getTemplateFromLocal": "Unable to get newest template from github, trying to use the local template.",
|
|
597
596
|
"error.depChecker.DefaultErrorMessage": "Install the required dependencies manually.",
|
|
598
|
-
"depChecker.learnMoreButtonText": "
|
|
597
|
+
"depChecker.learnMoreButtonText": "Get more info",
|
|
599
598
|
"depChecker.needInstallNpm": "You must have NPM installed to debug your local functions.",
|
|
600
599
|
"depChecker.failToValidateFuncCoreTool": "Unable to validate Azure Functions Core Tools after installation.",
|
|
601
600
|
"depChecker.symlinkDirAlreadyExist": "The destination of the symlink (%s) already exists, please remove it and try again.",
|
|
@@ -852,5 +851,13 @@
|
|
|
852
851
|
"driver.apiKey.error.domainInvalid": "Domain is invalid. Domain for API key should follow: 1. Max %d domain per API key. 2. Use comma to separate domains",
|
|
853
852
|
"driver.apiKey.error.failedToGetDomain": "Failed to get domain from API specification. Please make sure your API specification is valid.",
|
|
854
853
|
"driver.apiKey.log.successCreateApiKey": "Created API key with id %s",
|
|
855
|
-
"driver.apiKey.log.failedExecuteDriver": "Unable to execute action %s. Error message: %s"
|
|
854
|
+
"driver.apiKey.log.failedExecuteDriver": "Unable to execute action %s. Error message: %s",
|
|
855
|
+
"driver.oauth.description.create": "Create an Oauth registration on Developer Portal for authentication in Open API spec.",
|
|
856
|
+
"driver.oauth.title.create": "Creating Oauth registration...",
|
|
857
|
+
"driver.oauth.log.skipCreateOauth": "Environment variable %s exists. Skip creating API key.",
|
|
858
|
+
"driver.oauth.log.oauthNotFound": "Environment variable %s exists but unable to retrieve Oauth registration from Developer Portal. Check manually if it exists.",
|
|
859
|
+
"driver.oauth.error.nameTooLong": "The Oauth name is too long. The maximum character length is 128.",
|
|
860
|
+
"driver.oauth.log.successCreateOauth": "Oauth registration created successfully with id %s!",
|
|
861
|
+
"driver.oauth.error.domainInvalid": "Maximum %d domains allowed per Oauth registration.",
|
|
862
|
+
"driver.apiKey.error.oauthAuthInfoInvalid": "Unable to parse Oauth2 authScheme from spec. Make sure your API specification is valid."
|
|
856
863
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|