@microsoft/teamsfx-core 3.0.13 → 3.0.14-alpha.1ba1d62e58.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/client/teamsGraphClient.d.ts +3 -0
- package/build/client/teamsGraphClient.d.ts.map +1 -1
- package/build/client/teamsGraphClient.js +17 -0
- package/build/client/teamsGraphClient.js.map +1 -1
- package/build/common/featureFlags.d.ts +12 -2
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +15 -3
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/projectSettingsHelper.d.ts +0 -2
- package/build/common/projectSettingsHelper.d.ts.map +1 -1
- package/build/common/projectSettingsHelper.js +1 -56
- package/build/common/projectSettingsHelper.js.map +1 -1
- package/build/common/telemetry.d.ts +4 -15
- package/build/common/telemetry.d.ts.map +1 -1
- package/build/common/telemetry.js +5 -18
- package/build/common/telemetry.js.map +1 -1
- package/build/common/templates-config.json +8 -2
- package/build/component/configManager/validator.d.ts.map +1 -1
- package/build/component/configManager/validator.js +2 -0
- package/build/component/configManager/validator.js.map +1 -1
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +5 -1
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.d.ts +14 -0
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.d.ts.map +1 -0
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.js +5 -0
- package/build/component/driver/copilotAgent/interfaces/PublishArgs.js.map +1 -0
- package/build/component/driver/copilotAgent/publish.d.ts +16 -0
- package/build/component/driver/copilotAgent/publish.d.ts.map +1 -0
- package/build/component/driver/copilotAgent/publish.js +175 -0
- package/build/component/driver/copilotAgent/publish.js.map +1 -0
- package/build/component/driver/dcr/create.d.ts +10 -0
- package/build/component/driver/dcr/create.d.ts.map +1 -0
- package/build/component/driver/dcr/create.js +142 -0
- package/build/component/driver/dcr/create.js.map +1 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.d.ts +5 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.d.ts.map +1 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.js +21 -0
- package/build/component/driver/dcr/error/dcrNameTooLong.js.map +1 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.d.ts +5 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.d.ts.map +1 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.js +21 -0
- package/build/component/driver/dcr/error/dcrWellKnownInvalid.js.map +1 -0
- package/build/component/driver/dcr/interface/createDcrArgs.d.ts +9 -0
- package/build/component/driver/dcr/interface/createDcrArgs.d.ts.map +1 -0
- package/build/component/driver/dcr/interface/createDcrArgs.js +5 -0
- package/build/component/driver/dcr/interface/createDcrArgs.js.map +1 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.d.ts +7 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.d.ts.map +1 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.js +10 -0
- package/build/component/driver/dcr/interface/createDcrOutputs.js.map +1 -0
- package/build/component/driver/dcr/utility/constants.d.ts +7 -0
- package/build/component/driver/dcr/utility/constants.d.ts.map +1 -0
- package/build/component/driver/dcr/utility/constants.js +12 -0
- package/build/component/driver/dcr/utility/constants.js.map +1 -0
- package/build/component/driver/index.d.ts +2 -0
- package/build/component/driver/index.d.ts.map +1 -1
- package/build/component/driver/index.js +2 -0
- package/build/component/driver/index.js.map +1 -1
- package/build/component/driver/teamsApp/constants.d.ts +1 -0
- package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
- package/build/component/driver/teamsApp/constants.js +1 -0
- package/build/component/driver/teamsApp/constants.js.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts +2 -0
- package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js +51 -6
- package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts +10 -0
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.d.ts.map +1 -0
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.js +5 -0
- package/build/component/driver/teamsApp/interfaces/DcrRegistration.js.map +1 -0
- package/build/component/driver/teamsApp/publishAppPackage.d.ts +0 -2
- package/build/component/driver/teamsApp/publishAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/publishAppPackage.js +2 -51
- package/build/component/driver/teamsApp/publishAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.d.ts.map +1 -1
- package/build/component/driver/teamsApp/utils/ManifestUtils.js +10 -2
- package/build/component/driver/teamsApp/utils/ManifestUtils.js.map +1 -1
- package/build/component/driver/teamsApp/utils/McpCertVerification.d.ts +13 -0
- package/build/component/driver/teamsApp/utils/McpCertVerification.d.ts.map +1 -0
- package/build/component/driver/teamsApp/utils/McpCertVerification.js +65 -0
- package/build/component/driver/teamsApp/utils/McpCertVerification.js.map +1 -0
- package/build/component/driver/teamsApp/validate.js +1 -1
- package/build/component/driver/teamsApp/validate.js.map +1 -1
- package/build/component/generator/declarativeAgent/generator.d.ts.map +1 -1
- package/build/component/generator/declarativeAgent/generator.js +1 -2
- package/build/component/generator/declarativeAgent/generator.js.map +1 -1
- package/build/component/generator/defaultGenerator.d.ts.map +1 -1
- package/build/component/generator/defaultGenerator.js +14 -1
- package/build/component/generator/defaultGenerator.js.map +1 -1
- package/build/component/generator/error.d.ts +3 -0
- package/build/component/generator/error.d.ts.map +1 -1
- package/build/component/generator/error.js +7 -1
- package/build/component/generator/error.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts +8 -0
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +47 -0
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/openPlugin/authorParser.d.ts +8 -0
- package/build/component/generator/openPlugin/authorParser.d.ts.map +1 -0
- package/build/component/generator/openPlugin/authorParser.js +49 -0
- package/build/component/generator/openPlugin/authorParser.js.map +1 -0
- package/build/component/generator/openPlugin/deterministicId.d.ts +6 -0
- package/build/component/generator/openPlugin/deterministicId.d.ts.map +1 -0
- package/build/component/generator/openPlugin/deterministicId.js +31 -0
- package/build/component/generator/openPlugin/deterministicId.js.map +1 -0
- package/build/component/generator/openPlugin/exporter.d.ts +18 -0
- package/build/component/generator/openPlugin/exporter.d.ts.map +1 -0
- package/build/component/generator/openPlugin/exporter.js +233 -0
- package/build/component/generator/openPlugin/exporter.js.map +1 -0
- package/build/component/generator/openPlugin/iconStrategy.d.ts +8 -0
- package/build/component/generator/openPlugin/iconStrategy.d.ts.map +1 -0
- package/build/component/generator/openPlugin/iconStrategy.js +62 -0
- package/build/component/generator/openPlugin/iconStrategy.js.map +1 -0
- package/build/component/generator/openPlugin/importer.d.ts +25 -0
- package/build/component/generator/openPlugin/importer.d.ts.map +1 -0
- package/build/component/generator/openPlugin/importer.js +140 -0
- package/build/component/generator/openPlugin/importer.js.map +1 -0
- package/build/component/generator/openPlugin/mapper.d.ts +6 -0
- package/build/component/generator/openPlugin/mapper.d.ts.map +1 -0
- package/build/component/generator/openPlugin/mapper.js +141 -0
- package/build/component/generator/openPlugin/mapper.js.map +1 -0
- package/build/component/generator/openPlugin/parser.d.ts +3 -0
- package/build/component/generator/openPlugin/parser.d.ts.map +1 -0
- package/build/component/generator/openPlugin/parser.js +153 -0
- package/build/component/generator/openPlugin/parser.js.map +1 -0
- package/build/component/generator/openPlugin/placeholderPng.d.ts +6 -0
- package/build/component/generator/openPlugin/placeholderPng.d.ts.map +1 -0
- package/build/component/generator/openPlugin/placeholderPng.js +71 -0
- package/build/component/generator/openPlugin/placeholderPng.js.map +1 -0
- package/build/component/generator/openPlugin/textUtils.d.ts +12 -0
- package/build/component/generator/openPlugin/textUtils.d.ts.map +1 -0
- package/build/component/generator/openPlugin/textUtils.js +43 -0
- package/build/component/generator/openPlugin/textUtils.js.map +1 -0
- package/build/component/generator/openPlugin/types.d.ts +128 -0
- package/build/component/generator/openPlugin/types.d.ts.map +1 -0
- package/build/component/generator/openPlugin/types.js.map +1 -0
- package/build/component/generator/templates/templateNames.d.ts +2 -1
- package/build/component/generator/templates/templateNames.d.ts.map +1 -1
- package/build/component/generator/templates/templateNames.js +2 -0
- package/build/component/generator/templates/templateNames.js.map +1 -1
- package/build/component/generator/templates/templateReplaceMap.d.ts.map +1 -1
- package/build/component/generator/templates/templateReplaceMap.js +4 -1
- package/build/component/generator/templates/templateReplaceMap.js.map +1 -1
- package/build/component/generator/v4TemplateBridge.d.ts +29 -0
- package/build/component/generator/v4TemplateBridge.d.ts.map +1 -0
- package/build/component/generator/v4TemplateBridge.js +114 -0
- package/build/component/generator/v4TemplateBridge.js.map +1 -0
- package/build/component/m365/packageService.d.ts +5 -0
- package/build/component/m365/packageService.d.ts.map +1 -1
- package/build/component/m365/packageService.js +23 -1
- package/build/component/m365/packageService.js.map +1 -1
- package/build/core/FxCore.d.ts +2 -4
- package/build/core/FxCore.d.ts.map +1 -1
- package/build/core/FxCore.js +3 -62
- package/build/core/FxCore.js.map +1 -1
- package/build/core/FxCore.openPlugin.d.ts +23 -0
- package/build/core/FxCore.openPlugin.d.ts.map +1 -0
- package/build/core/FxCore.openPlugin.js +131 -0
- package/build/core/FxCore.openPlugin.js.map +1 -0
- package/build/core/middleware/concurrentLocker.d.ts.map +1 -1
- package/build/core/middleware/concurrentLocker.js +0 -3
- package/build/core/middleware/concurrentLocker.js.map +1 -1
- package/build/core/middleware/errorHandler.d.ts.map +1 -1
- package/build/core/middleware/errorHandler.js +9 -0
- package/build/core/middleware/errorHandler.js.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.d.ts +1 -34
- package/build/core/middleware/utils/v3MigrationUtils.d.ts.map +1 -1
- package/build/core/middleware/utils/v3MigrationUtils.js +6 -245
- package/build/core/middleware/utils/v3MigrationUtils.js.map +1 -1
- package/build/question/constants.d.ts.map +1 -1
- package/build/question/constants.js +1 -6
- package/build/question/constants.js.map +1 -1
- package/build/question/inputs/ExportOpenPluginInputs.d.ts +10 -0
- package/build/question/inputs/ExportOpenPluginInputs.d.ts.map +1 -0
- package/build/question/inputs/ExportOpenPluginInputs.js +5 -0
- package/build/question/inputs/ExportOpenPluginInputs.js.map +1 -0
- package/build/question/inputs/ImportOpenPluginInputs.d.ts +28 -0
- package/build/question/inputs/ImportOpenPluginInputs.d.ts.map +1 -0
- package/build/question/inputs/ImportOpenPluginInputs.js +5 -0
- package/build/question/inputs/ImportOpenPluginInputs.js.map +1 -0
- package/build/question/inputs/index.d.ts +2 -0
- package/build/question/inputs/index.d.ts.map +1 -1
- package/build/question/inputs/index.js +2 -0
- package/build/question/inputs/index.js.map +1 -1
- package/build/question/options/ExportOpenPluginOptions.d.ts +4 -0
- package/build/question/options/ExportOpenPluginOptions.d.ts.map +1 -0
- package/build/question/options/ExportOpenPluginOptions.js +29 -0
- package/build/question/options/ExportOpenPluginOptions.js.map +1 -0
- package/build/question/options/ImportOpenPluginOptions.d.ts +4 -0
- package/build/question/options/ImportOpenPluginOptions.d.ts.map +1 -0
- package/build/question/options/ImportOpenPluginOptions.js +54 -0
- package/build/question/options/ImportOpenPluginOptions.js.map +1 -0
- package/build/question/options/index.d.ts +2 -0
- package/build/question/options/index.d.ts.map +1 -1
- package/build/question/options/index.js +2 -0
- package/build/question/options/index.js.map +1 -1
- package/build/question/scaffold/vsc/daProjectTypeNode.d.ts.map +1 -1
- package/build/question/scaffold/vsc/daProjectTypeNode.js +1 -3
- package/build/question/scaffold/vsc/daProjectTypeNode.js.map +1 -1
- package/build/v4/distribution/bundledFloor.d.ts +12 -0
- package/build/v4/distribution/bundledFloor.d.ts.map +1 -0
- package/build/v4/distribution/bundledFloor.js +80 -0
- package/build/v4/distribution/bundledFloor.js.map +1 -0
- package/build/v4/distribution/templateConfig.d.ts +53 -0
- package/build/v4/distribution/templateConfig.d.ts.map +1 -0
- package/build/v4/distribution/templateConfig.js +43 -0
- package/build/v4/distribution/templateConfig.js.map +1 -0
- package/build/v4/distribution/templatePackage.d.ts +29 -0
- package/build/v4/distribution/templatePackage.d.ts.map +1 -0
- package/build/v4/distribution/templatePackage.js +82 -0
- package/build/v4/distribution/templatePackage.js.map +1 -0
- package/build/v4/distribution/templateSource.d.ts +67 -0
- package/build/v4/distribution/templateSource.d.ts.map +1 -0
- package/build/v4/distribution/templateSource.js +220 -0
- package/build/v4/distribution/templateSource.js.map +1 -0
- package/build/v4/distribution/templateSourcePort.d.ts +50 -0
- package/build/v4/distribution/templateSourcePort.d.ts.map +1 -0
- package/build/v4/distribution/templateSourcePort.js +207 -0
- package/build/v4/distribution/templateSourcePort.js.map +1 -0
- package/build/v4/index.d.ts +13 -0
- package/build/v4/index.d.ts.map +1 -0
- package/build/v4/index.js +18 -0
- package/build/v4/index.js.map +1 -0
- package/package.json +4 -4
- package/resource/package.nls.cs.json +9 -1
- package/resource/package.nls.de.json +10 -2
- package/resource/package.nls.es.json +9 -1
- package/resource/package.nls.fr.json +9 -1
- package/resource/package.nls.it.json +10 -2
- package/resource/package.nls.ja.json +9 -1
- package/resource/package.nls.json +10 -13
- package/resource/package.nls.ko.json +9 -1
- package/resource/package.nls.pl.json +10 -2
- package/resource/package.nls.pt-BR.json +9 -1
- package/resource/package.nls.ru.json +10 -2
- package/resource/package.nls.tr.json +11 -3
- package/resource/package.nls.zh-Hans.json +9 -1
- package/resource/package.nls.zh-Hant.json +9 -1
- package/resource/yaml-schema/v1.12/yaml.schema.json +2132 -0
- package/resource/yaml-schema/v1.13/yaml.schema.json +2193 -0
- package/resource/yaml-schema/yaml.schema.json +124 -2
- 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/templates/metadata.zip +0 -0
- package/templates/ui/tdpNode.json +1 -2
- package/templates/ui/wizardNode.json +1 -2
- package/templates/v4/floor.json +3 -0
- package/templates/v4/templates.zip +0 -0
- package/build/core/middleware/projectMigratorV3.d.ts +0 -39
- package/build/core/middleware/projectMigratorV3.d.ts.map +0 -1
- package/build/core/middleware/projectMigratorV3.js +0 -694
- package/build/core/middleware/projectMigratorV3.js.map +0 -1
- package/build/core/middleware/projectVersionChecker.d.ts +0 -3
- package/build/core/middleware/projectVersionChecker.d.ts.map +0 -1
- package/build/core/middleware/projectVersionChecker.js +0 -60
- package/build/core/middleware/projectVersionChecker.js.map +0 -1
- package/build/core/middleware/types.d.ts +0 -9
- package/build/core/middleware/types.d.ts.map +0 -1
- package/build/core/middleware/types.js.map +0 -1
- package/build/core/middleware/utils/MigrationUtils.d.ts +0 -13
- package/build/core/middleware/utils/MigrationUtils.d.ts.map +0 -1
- package/build/core/middleware/utils/MigrationUtils.js +0 -212
- package/build/core/middleware/utils/MigrationUtils.js.map +0 -1
- package/build/core/middleware/utils/appYmlGenerator.d.ts +0 -34
- package/build/core/middleware/utils/appYmlGenerator.d.ts.map +0 -1
- package/build/core/middleware/utils/appYmlGenerator.js +0 -158
- package/build/core/middleware/utils/appYmlGenerator.js.map +0 -1
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts +0 -65
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.js +0 -61
- package/build/core/middleware/utils/debug/appLocalYmlGenerator.js.map +0 -1
- package/build/core/middleware/utils/debug/constants.d.ts +0 -20
- package/build/core/middleware/utils/debug/constants.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/constants.js +0 -28
- package/build/core/middleware/utils/debug/constants.js.map +0 -1
- package/build/core/middleware/utils/debug/debugMigrationContext.d.ts +0 -14
- package/build/core/middleware/utils/debug/debugMigrationContext.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/debugMigrationContext.js +0 -23
- package/build/core/middleware/utils/debug/debugMigrationContext.js.map +0 -1
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts +0 -37
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.js +0 -291
- package/build/core/middleware/utils/debug/debugV3MigrationUtils.js.map +0 -1
- package/build/core/middleware/utils/debug/taskMigrator.d.ts +0 -22
- package/build/core/middleware/utils/debug/taskMigrator.d.ts.map +0 -1
- package/build/core/middleware/utils/debug/taskMigrator.js +0 -935
- package/build/core/middleware/utils/debug/taskMigrator.js.map +0 -1
- package/build/core/middleware/utils/migrationContext.d.ts +0 -32
- package/build/core/middleware/utils/migrationContext.d.ts.map +0 -1
- package/build/core/middleware/utils/migrationContext.js +0 -104
- package/build/core/middleware/utils/migrationContext.js.map +0 -1
- /package/build/{core/middleware → component/generator/openPlugin}/types.js +0 -0
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { BuildArgs } from "../../../../component/driver/interface/buildAndDeployArgs";
|
|
2
|
-
import { InstallToolArgs } from "../../../../component/driver/devTool/interfaces/InstallToolArgs";
|
|
3
|
-
import { BaseAppYmlGenerator } from "../appYmlGenerator";
|
|
4
|
-
import { DebugPlaceholderMapping } from "./debugV3MigrationUtils";
|
|
5
|
-
export declare class AppLocalYmlConfig {
|
|
6
|
-
provision: {
|
|
7
|
-
registerApp?: {
|
|
8
|
-
aad?: boolean;
|
|
9
|
-
teamsApp?: boolean;
|
|
10
|
-
};
|
|
11
|
-
bot?: {
|
|
12
|
-
messagingEndpoint: string;
|
|
13
|
-
isM365?: boolean;
|
|
14
|
-
};
|
|
15
|
-
configureApp?: {
|
|
16
|
-
tab?: {
|
|
17
|
-
domain?: string;
|
|
18
|
-
endpoint?: string;
|
|
19
|
-
};
|
|
20
|
-
aad?: boolean;
|
|
21
|
-
teamsApp?: {
|
|
22
|
-
appPackagePath?: string;
|
|
23
|
-
};
|
|
24
|
-
isM365?: boolean;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
deploy?: {
|
|
28
|
-
tools?: InstallToolArgs;
|
|
29
|
-
npmCommands?: BuildArgs[];
|
|
30
|
-
dotnetCommand?: BuildArgs;
|
|
31
|
-
tab?: {
|
|
32
|
-
port?: number;
|
|
33
|
-
};
|
|
34
|
-
bot?: boolean;
|
|
35
|
-
sso?: boolean;
|
|
36
|
-
ssoTab?: {
|
|
37
|
-
functionName?: string;
|
|
38
|
-
};
|
|
39
|
-
ssoBot?: boolean;
|
|
40
|
-
ssoFunction?: boolean;
|
|
41
|
-
frontendStart?: {
|
|
42
|
-
sso?: boolean;
|
|
43
|
-
functionName?: string;
|
|
44
|
-
};
|
|
45
|
-
authStart?: {
|
|
46
|
-
appsettingsPath: string;
|
|
47
|
-
};
|
|
48
|
-
botStart?: {
|
|
49
|
-
tab?: boolean;
|
|
50
|
-
function?: boolean;
|
|
51
|
-
sso?: boolean;
|
|
52
|
-
};
|
|
53
|
-
backendStart?: boolean;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
export declare class AppLocalYmlGenerator extends BaseAppYmlGenerator {
|
|
57
|
-
protected handlebarsContext: {
|
|
58
|
-
config: AppLocalYmlConfig;
|
|
59
|
-
placeholderMappings: DebugPlaceholderMapping;
|
|
60
|
-
};
|
|
61
|
-
constructor(oldProjectSettings: any, config: AppLocalYmlConfig, placeholderMappings: DebugPlaceholderMapping);
|
|
62
|
-
generateAppYml(): Promise<string>;
|
|
63
|
-
private generateHandlerbarsContext;
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=appLocalYmlGenerator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appLocalYmlGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/appLocalYmlGenerator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,2DAA2D,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAA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Ae,EAAE,MAAM,CAAC;SACzB,CAAC;QACF,QAAQ,CAAC,EAAE;YACT,GAAG,CAAC,EAAE,OAAO,CAAC;YACd,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,GAAG,CAAC,EAAE,OAAO,CAAC;SACf,CAAC;QACF,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,CAAC;CACH;AAED,qBAAa,oBAAqB,SAAQ,mBAAmB;IAC3D,SAAS,CAAC,iBAAiB,EAAE;QAC3B,MAAM,EAAE,iBAAiB,CAAC;QAC1B,mBAAmB,EAAE,uBAAuB,CAAC;KAC9C,CAAC;gBAGA,kBAAkB,EAAE,GAAG,EACvB,MAAM,EAAE,iBAAiB,EACzB,mBAAmB,EAAE,uBAAuB;IASjC,cAAc,IAAI,OAAO,CAAC,MAAM,CAAC;IAY9C,OAAO,CAAC,0BAA0B;CAgCnC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.AppLocalYmlGenerator = exports.AppLocalYmlConfig = void 0;
|
|
6
|
-
const appYmlGenerator_1 = require("../appYmlGenerator");
|
|
7
|
-
const debugV3MigrationUtils_1 = require("./debugV3MigrationUtils");
|
|
8
|
-
class AppLocalYmlConfig {
|
|
9
|
-
provision = {};
|
|
10
|
-
deploy;
|
|
11
|
-
}
|
|
12
|
-
exports.AppLocalYmlConfig = AppLocalYmlConfig;
|
|
13
|
-
class AppLocalYmlGenerator extends appYmlGenerator_1.BaseAppYmlGenerator {
|
|
14
|
-
handlebarsContext;
|
|
15
|
-
constructor(oldProjectSettings, config, placeholderMappings) {
|
|
16
|
-
super(oldProjectSettings);
|
|
17
|
-
this.handlebarsContext = {
|
|
18
|
-
config: config,
|
|
19
|
-
placeholderMappings: placeholderMappings,
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
async generateAppYml() {
|
|
23
|
-
await this.generateHandlerbarsContext();
|
|
24
|
-
switch (this.oldProjectSettings.programmingLanguage?.toLowerCase()) {
|
|
25
|
-
case "javascript":
|
|
26
|
-
case "typescript":
|
|
27
|
-
default:
|
|
28
|
-
// only support js/ts at first
|
|
29
|
-
return await this.buildHandlebarsTemplate("js.ts.app.local.yml");
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
generateHandlerbarsContext() {
|
|
33
|
-
let functionName = undefined;
|
|
34
|
-
if (debugV3MigrationUtils_1.OldProjectSettingsHelper.includeFunction(this.oldProjectSettings)) {
|
|
35
|
-
functionName =
|
|
36
|
-
debugV3MigrationUtils_1.OldProjectSettingsHelper.getFunctionName(this.oldProjectSettings) || "getUserProfile";
|
|
37
|
-
}
|
|
38
|
-
if (this.handlebarsContext.config.provision?.configureApp) {
|
|
39
|
-
this.handlebarsContext.config.provision.configureApp.isM365 = this.oldProjectSettings.isM365;
|
|
40
|
-
}
|
|
41
|
-
if (this.handlebarsContext.config.provision?.bot) {
|
|
42
|
-
this.handlebarsContext.config.provision.bot.isM365 = this.oldProjectSettings.isM365;
|
|
43
|
-
}
|
|
44
|
-
if (this.handlebarsContext.config.deploy?.sso) {
|
|
45
|
-
if (debugV3MigrationUtils_1.OldProjectSettingsHelper.includeTab(this.oldProjectSettings)) {
|
|
46
|
-
this.handlebarsContext.config.deploy.ssoTab = {
|
|
47
|
-
functionName,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
if (debugV3MigrationUtils_1.OldProjectSettingsHelper.includeBot(this.oldProjectSettings)) {
|
|
51
|
-
this.handlebarsContext.config.deploy.ssoBot = true;
|
|
52
|
-
}
|
|
53
|
-
if (functionName) {
|
|
54
|
-
this.handlebarsContext.config.deploy.ssoFunction = true;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return Promise.resolve();
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
exports.AppLocalYmlGenerator = AppLocalYmlGenerator;
|
|
61
|
-
//# sourceMappingURL=appLocalYmlGenerator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appLocalYmlGenerator.js","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/appLocalYmlGenerator.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAIlC,wDAAyD;AACzD,mEAA4F;AAE5F,MAAa,iBAAiB;IAC5B,SAAS,GAoBL,EAAE,CAAC;IACP,MAAM,CA2BJ;CACH;AAlDD,8CAkDC;AAED,MAAa,oBAAqB,SAAQ,qCAAmB;IACjD,iBAAiB,CAGzB;IAEF,YACE,kBAAuB,EACvB,MAAyB,EACzB,mBAA4C;QAE5C,KAAK,CAAC,kBAAkB,CAAC,CAAC;QAC1B,IAAI,CAAC,iBAAiB,GAAG;YACvB,MAAM,EAAE,MAAM;YACd,mBAAmB,EAAE,mBAAmB;SACzC,CAAC;IACJ,CAAC;IAEM,KAAK,CAAC,cAAc;QACzB,MAAM,IAAI,CAAC,0BAA0B,EAAE,CAAC;QAExC,QAAQ,IAAI,CAAC,kBAAkB,CAAC,mBAAmB,EAAE,WAAW,EAAE,EAAE,CAAC;YACnE,KAAK,YAAY,CAAC;YAClB,KAAK,YAAY,CAAC;YAClB;gBACE,8BAA8B;gBAC9B,OAAO,MAAM,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,CAAC;QACrE,CAAC;IACH,CAAC;IAEO,0BAA0B;QAChC,IAAI,YAAY,GAAuB,SAAS,CAAC;QACjD,IAAI,gDAAwB,CAAC,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC;YACtE,YAAY;gBACV,gDAAwB,CAAC,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,IAAI,gBAAgB,CAAC;QAC1F,CAAC;QAED,IAAI,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,SAAS,EAAE,YAAY,EAAE,CAAC;YAC1D,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC;QAC/F,CAAC;QAED,IAAI,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC;YACjD,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC;QACtF,CAAC;QAED,IAAI,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC;YAC9C,IAAI,gDAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC;gBACjE,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG;oBAC5C,YAAY;iBACb,CAAC;YACJ,CAAC;YAED,IAAI,gDAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC;gBACjE,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,IAAI,CAAC;YACrD,CAAC;YAED,IAAI,YAAY,EAAE,CAAC;gBACjB,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,GAAG,IAAI,CAAC;YAC1D,CAAC;QACH,CAAC;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AA9DD,oDA8DC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare class LaunchBrowser {
|
|
2
|
-
static readonly chrome: string;
|
|
3
|
-
static readonly edge: string;
|
|
4
|
-
}
|
|
5
|
-
export declare class HubName {
|
|
6
|
-
static readonly teams: string;
|
|
7
|
-
static readonly outlook: string;
|
|
8
|
-
static readonly office: string;
|
|
9
|
-
}
|
|
10
|
-
export declare class LaunchUrl {
|
|
11
|
-
static readonly teamsLocal: string;
|
|
12
|
-
static readonly teamsRemote: string;
|
|
13
|
-
static readonly outlookLocalTab: string;
|
|
14
|
-
static readonly outlookRemoteTab: string;
|
|
15
|
-
static readonly outlookLocalBot: string;
|
|
16
|
-
static readonly outlookRemoteBot: string;
|
|
17
|
-
static readonly officeLocalTab: string;
|
|
18
|
-
static readonly officeRemoteTab: string;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/constants.ts"],"names":[],"mappings":"AAIA,qBAAa,aAAa;IACxB,gBAAuB,MAAM,EAAE,MAAM,CAAgB;IACrD,gBAAuB,IAAI,EAAE,MAAM,CAAgB;CACpD;AAED,qBAAa,OAAO;IAClB,gBAAuB,KAAK,EAAE,MAAM,CAAW;IAC/C,gBAAuB,OAAO,EAAE,MAAM,CAAa;IACnD,gBAAuB,MAAM,EAAE,MAAM,CAA2B;CACjE;AAED,qBAAa,SAAS;IACpB,gBAAuB,UAAU,EAAE,MAAM,CACoE;IAC7G,gBAAuB,WAAW,EAAE,MAAM,CAC8D;IACxG,gBAAuB,eAAe,EAAE,MAAM,CACiC;IAC/E,gBAAuB,gBAAgB,EAAE,MAAM,CAC2B;IAC1E,gBAAuB,eAAe,EAAE,MAAM,CACM;IACpD,gBAAuB,gBAAgB,EAAE,MAAM,CACK;IACpD,gBAAuB,cAAc,EAAE,MAAM,CACyC;IACtF,gBAAuB,eAAe,EAAE,MAAM,CACmC;CAClF"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.LaunchUrl = exports.HubName = exports.LaunchBrowser = void 0;
|
|
6
|
-
class LaunchBrowser {
|
|
7
|
-
static chrome = "pwa-chrome";
|
|
8
|
-
static edge = "pwa-msedge";
|
|
9
|
-
}
|
|
10
|
-
exports.LaunchBrowser = LaunchBrowser;
|
|
11
|
-
class HubName {
|
|
12
|
-
static teams = "Teams";
|
|
13
|
-
static outlook = "Outlook";
|
|
14
|
-
static office = "the Microsoft 365 app";
|
|
15
|
-
}
|
|
16
|
-
exports.HubName = HubName;
|
|
17
|
-
class LaunchUrl {
|
|
18
|
-
static teamsLocal = "https://teams.microsoft.com/l/app/${localTeamsAppId}?installAppPackage=true&webjoin=true&${account-hint}";
|
|
19
|
-
static teamsRemote = "https://teams.microsoft.com/l/app/${teamsAppId}?installAppPackage=true&webjoin=true&${account-hint}";
|
|
20
|
-
static outlookLocalTab = "https://outlook.office.com/host/${localTeamsAppInternalId}?${account-hint}";
|
|
21
|
-
static outlookRemoteTab = "https://outlook.office.com/host/${teamsAppInternalId}?${account-hint}";
|
|
22
|
-
static outlookLocalBot = "https://outlook.office.com/mail?${account-hint}";
|
|
23
|
-
static outlookRemoteBot = "https://outlook.office.com/mail?${account-hint}";
|
|
24
|
-
static officeLocalTab = "https://www.office.com/m365apps/${localTeamsAppInternalId}?auth=2&${account-hint}";
|
|
25
|
-
static officeRemoteTab = "https://www.office.com/m365apps/${teamsAppInternalId}?auth=2&${account-hint}";
|
|
26
|
-
}
|
|
27
|
-
exports.LaunchUrl = LaunchUrl;
|
|
28
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,MAAa,aAAa;IACjB,MAAM,CAAU,MAAM,GAAW,YAAY,CAAC;IAC9C,MAAM,CAAU,IAAI,GAAW,YAAY,CAAC;;AAFrD,sCAGC;AAED,MAAa,OAAO;IACX,MAAM,CAAU,KAAK,GAAW,OAAO,CAAC;IACxC,MAAM,CAAU,OAAO,GAAW,SAAS,CAAC;IAC5C,MAAM,CAAU,MAAM,GAAW,uBAAuB,CAAC;;AAHlE,0BAIC;AAED,MAAa,SAAS;IACb,MAAM,CAAU,UAAU,GAC/B,0GAA0G,CAAC;IACtG,MAAM,CAAU,WAAW,GAChC,qGAAqG,CAAC;IACjG,MAAM,CAAU,eAAe,GACpC,4EAA4E,CAAC;IACxE,MAAM,CAAU,gBAAgB,GACrC,uEAAuE,CAAC;IACnE,MAAM,CAAU,eAAe,GACpC,iDAAiD,CAAC;IAC7C,MAAM,CAAU,gBAAgB,GACrC,iDAAiD,CAAC;IAC7C,MAAM,CAAU,cAAc,GACnC,mFAAmF,CAAC;IAC/E,MAAM,CAAU,eAAe,GACpC,8EAA8E,CAAC;;AAhBnF,8BAiBC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CommentArray, CommentJSONValue } from "comment-json";
|
|
2
|
-
import { MigrationContext } from "../migrationContext";
|
|
3
|
-
import { AppLocalYmlConfig } from "./appLocalYmlGenerator";
|
|
4
|
-
import { DebugPlaceholderMapping } from "./debugV3MigrationUtils";
|
|
5
|
-
export declare class DebugMigrationContext {
|
|
6
|
-
migrationContext: MigrationContext;
|
|
7
|
-
tasks: CommentArray<CommentJSONValue>;
|
|
8
|
-
appYmlConfig: AppLocalYmlConfig;
|
|
9
|
-
oldProjectSettings: any;
|
|
10
|
-
placeholderMapping: DebugPlaceholderMapping;
|
|
11
|
-
generatedLabels: string[];
|
|
12
|
-
constructor(migrationContext: MigrationContext, tasks: CommentArray<CommentJSONValue>, oldProjectSettings: any, placeholderMapping: DebugPlaceholderMapping);
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=debugMigrationContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debugMigrationContext.d.ts","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/debugMigrationContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAElE,qBAAa,qBAAqB;IACzB,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,YAAY,CAAC,gBAAgB,CAAC,CAAC;IACtC,YAAY,EAAE,iBAAiB,CAAC;IAChC,kBAAkB,EAAE,GAAG,CAAC;IACxB,kBAAkB,EAAE,uBAAuB,CAAC;IAC5C,eAAe,EAAE,MAAM,EAAE,CAAM;gBAGpC,gBAAgB,EAAE,gBAAgB,EAClC,KAAK,EAAE,YAAY,CAAC,gBAAgB,CAAC,EACrC,kBAAkB,EAAE,GAAG,EACvB,kBAAkB,EAAE,uBAAuB;CAQ9C"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.DebugMigrationContext = void 0;
|
|
6
|
-
const appLocalYmlGenerator_1 = require("./appLocalYmlGenerator");
|
|
7
|
-
class DebugMigrationContext {
|
|
8
|
-
migrationContext;
|
|
9
|
-
tasks;
|
|
10
|
-
appYmlConfig;
|
|
11
|
-
oldProjectSettings;
|
|
12
|
-
placeholderMapping;
|
|
13
|
-
generatedLabels = [];
|
|
14
|
-
constructor(migrationContext, tasks, oldProjectSettings, placeholderMapping) {
|
|
15
|
-
this.migrationContext = migrationContext;
|
|
16
|
-
this.tasks = tasks;
|
|
17
|
-
this.appYmlConfig = new appLocalYmlGenerator_1.AppLocalYmlConfig();
|
|
18
|
-
this.oldProjectSettings = oldProjectSettings;
|
|
19
|
-
this.placeholderMapping = placeholderMapping;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.DebugMigrationContext = DebugMigrationContext;
|
|
23
|
-
//# sourceMappingURL=debugMigrationContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debugMigrationContext.js","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/debugMigrationContext.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAIlC,iEAA2D;AAG3D,MAAa,qBAAqB;IACzB,gBAAgB,CAAmB;IACnC,KAAK,CAAiC;IACtC,YAAY,CAAoB;IAChC,kBAAkB,CAAM;IACxB,kBAAkB,CAA0B;IAC5C,eAAe,GAAa,EAAE,CAAC;IAEtC,YACE,gBAAkC,EAClC,KAAqC,EACrC,kBAAuB,EACvB,kBAA2C;QAE3C,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,YAAY,GAAG,IAAI,wCAAiB,EAAE,CAAC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC/C,CAAC;CACF;AApBD,sDAoBC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CommentArray, CommentJSONValue, CommentObject } from "comment-json";
|
|
2
|
-
import { MigrationContext } from "../migrationContext";
|
|
3
|
-
export declare function readJsonCommentFile(filepath: string): Promise<CommentJSONValue | undefined>;
|
|
4
|
-
export declare function isCommentObject(data: CommentJSONValue | undefined): data is CommentObject;
|
|
5
|
-
export declare function isCommentArray(data: CommentJSONValue | undefined): data is CommentArray<CommentJSONValue>;
|
|
6
|
-
export interface DebugPlaceholderMapping {
|
|
7
|
-
tabDomain?: string;
|
|
8
|
-
tabEndpoint?: string;
|
|
9
|
-
tabIndexPath?: string;
|
|
10
|
-
botDomain?: string;
|
|
11
|
-
botEndpoint?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare function getPlaceholderMappings(context: MigrationContext): Promise<DebugPlaceholderMapping>;
|
|
14
|
-
export declare class OldProjectSettingsHelper {
|
|
15
|
-
static includeTab(oldProjectSettings: any): boolean;
|
|
16
|
-
static includeBot(oldProjectSettings: any): boolean;
|
|
17
|
-
static includeFunction(oldProjectSettings: any): boolean;
|
|
18
|
-
static includeFuncHostedBot(oldProjectSettings: any): boolean;
|
|
19
|
-
static includeSSO(oldProjectSettings: any): boolean;
|
|
20
|
-
static getFunctionName(oldProjectSettings: any): string | undefined;
|
|
21
|
-
private static includePlugin;
|
|
22
|
-
}
|
|
23
|
-
export declare function updateLocalEnv(context: MigrationContext, envs: {
|
|
24
|
-
[key: string]: string;
|
|
25
|
-
}): Promise<void>;
|
|
26
|
-
export declare function generateLabel(base: string, existingLabels: string[]): string;
|
|
27
|
-
export declare function createResourcesTask(label: string): CommentJSONValue;
|
|
28
|
-
export declare function setUpLocalProjectsTask(label: string): CommentJSONValue;
|
|
29
|
-
export declare function startFrontendTask(label: string): CommentJSONValue;
|
|
30
|
-
export declare function startAuthTask(label: string): CommentJSONValue;
|
|
31
|
-
export declare function watchBackendTask(label: string): CommentJSONValue;
|
|
32
|
-
export declare function startBackendTask(label: string, programmingLanguage?: string): CommentJSONValue;
|
|
33
|
-
export declare function startBotTask(label: string, programmingLanguage?: string): CommentJSONValue;
|
|
34
|
-
export declare function launchRemote(hubName: string, browserType: string, browserName: string, url: string, order: number): Record<string, unknown>;
|
|
35
|
-
export declare const defaultFuncSymlinkDir = "./devTools/func";
|
|
36
|
-
export declare const ignoreDevToolsDir = "/devTools/";
|
|
37
|
-
//# sourceMappingURL=debugV3MigrationUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debugV3MigrationUtils.d.ts","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/debugV3MigrationUtils.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YA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,IAAI,CAAC,CAkBf;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,MAAM,CAS5E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAcnE;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CActE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAwBjE;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CA8B7D;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAehE;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAiC9F;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,mBAAmB,CAAC,EAAE,MAAM,GAAG,gBAAgB,CA8B1F;AAED,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,GACZ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAYzB;AAED,eAAO,MAAM,qBAAqB,oBAAoB,CAAC;AACvD,eAAO,MAAM,iBAAiB,eAAe,CAAC"}
|
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright (c) Microsoft Corporation.
|
|
3
|
-
// Licensed under the MIT license.
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ignoreDevToolsDir = exports.defaultFuncSymlinkDir = exports.OldProjectSettingsHelper = void 0;
|
|
6
|
-
exports.readJsonCommentFile = readJsonCommentFile;
|
|
7
|
-
exports.isCommentObject = isCommentObject;
|
|
8
|
-
exports.isCommentArray = isCommentArray;
|
|
9
|
-
exports.getPlaceholderMappings = getPlaceholderMappings;
|
|
10
|
-
exports.updateLocalEnv = updateLocalEnv;
|
|
11
|
-
exports.generateLabel = generateLabel;
|
|
12
|
-
exports.createResourcesTask = createResourcesTask;
|
|
13
|
-
exports.setUpLocalProjectsTask = setUpLocalProjectsTask;
|
|
14
|
-
exports.startFrontendTask = startFrontendTask;
|
|
15
|
-
exports.startAuthTask = startAuthTask;
|
|
16
|
-
exports.watchBackendTask = watchBackendTask;
|
|
17
|
-
exports.startBackendTask = startBackendTask;
|
|
18
|
-
exports.startBotTask = startBotTask;
|
|
19
|
-
exports.launchRemote = launchRemote;
|
|
20
|
-
const tslib_1 = require("tslib");
|
|
21
|
-
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
22
|
-
const comment_json_1 = require("comment-json");
|
|
23
|
-
const MigrationUtils_1 = require("../MigrationUtils");
|
|
24
|
-
const v3MigrationUtils_1 = require("../v3MigrationUtils");
|
|
25
|
-
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
|
|
26
|
-
const dotenv = tslib_1.__importStar(require("dotenv"));
|
|
27
|
-
const os = tslib_1.__importStar(require("os"));
|
|
28
|
-
const path = tslib_1.__importStar(require("path"));
|
|
29
|
-
async function readJsonCommentFile(filepath) {
|
|
30
|
-
if (await fs_extra_1.default.pathExists(filepath)) {
|
|
31
|
-
const content = await fs_extra_1.default.readFile(filepath);
|
|
32
|
-
const data = (0, comment_json_1.parse)(content.toString());
|
|
33
|
-
return data;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function isCommentObject(data) {
|
|
37
|
-
return typeof data === "object" && !Array.isArray(data) && !!data;
|
|
38
|
-
}
|
|
39
|
-
function isCommentArray(data) {
|
|
40
|
-
return Array.isArray(data);
|
|
41
|
-
}
|
|
42
|
-
async function getPlaceholderMappings(context) {
|
|
43
|
-
const bicepContent = await (0, v3MigrationUtils_1.readBicepContent)(context);
|
|
44
|
-
const getName = (name) => {
|
|
45
|
-
const res = (0, MigrationUtils_1.namingConverterV3)(name, MigrationUtils_1.FileType.STATE, bicepContent);
|
|
46
|
-
return res.isOk() ? res.value : undefined;
|
|
47
|
-
};
|
|
48
|
-
return {
|
|
49
|
-
tabDomain: getName("state.fx-resource-frontend-hosting.domain"),
|
|
50
|
-
tabEndpoint: getName("state.fx-resource-frontend-hosting.endpoint"),
|
|
51
|
-
tabIndexPath: getName("state.fx-resource-frontend-hosting.indexPath"),
|
|
52
|
-
botDomain: context.isBotValidDomain
|
|
53
|
-
? getName("state.fx-resource-bot.validDomain")
|
|
54
|
-
: getName("state.fx-resource-bot.domain"),
|
|
55
|
-
botEndpoint: getName("state.fx-resource-bot.siteEndpoint"),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
class OldProjectSettingsHelper {
|
|
59
|
-
static includeTab(oldProjectSettings) {
|
|
60
|
-
return this.includePlugin(oldProjectSettings, "fx-resource-frontend-hosting");
|
|
61
|
-
}
|
|
62
|
-
static includeBot(oldProjectSettings) {
|
|
63
|
-
return this.includePlugin(oldProjectSettings, "fx-resource-bot");
|
|
64
|
-
}
|
|
65
|
-
static includeFunction(oldProjectSettings) {
|
|
66
|
-
return this.includePlugin(oldProjectSettings, "fx-resource-function");
|
|
67
|
-
}
|
|
68
|
-
static includeFuncHostedBot(oldProjectSettings) {
|
|
69
|
-
return (this.includePlugin(oldProjectSettings, "fx-resource-bot") &&
|
|
70
|
-
["azure-function", "azure-functions"].includes(oldProjectSettings.pluginSettings?.["fx-resource-bot"]?.["host-type"] ?? ""));
|
|
71
|
-
}
|
|
72
|
-
static includeSSO(oldProjectSettings) {
|
|
73
|
-
return this.includePlugin(oldProjectSettings, "fx-resource-aad-app-for-teams");
|
|
74
|
-
}
|
|
75
|
-
static getFunctionName(oldProjectSettings) {
|
|
76
|
-
return oldProjectSettings.defaultFunctionName;
|
|
77
|
-
}
|
|
78
|
-
static includePlugin(oldProjectSettings, pluginName) {
|
|
79
|
-
const azureSolutionSettings = oldProjectSettings.solutionSettings;
|
|
80
|
-
return azureSolutionSettings.activeResourcePlugins.includes(pluginName);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.OldProjectSettingsHelper = OldProjectSettingsHelper;
|
|
84
|
-
async function updateLocalEnv(context, envs) {
|
|
85
|
-
if (Object.keys(envs).length === 0) {
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
await context.fsEnsureDir(teamsfx_api_1.SettingsFolderName);
|
|
89
|
-
const localEnvPath = path.join(teamsfx_api_1.SettingsFolderName, ".env.local");
|
|
90
|
-
if (!(await context.fsPathExists(localEnvPath))) {
|
|
91
|
-
await context.fsCreateFile(localEnvPath);
|
|
92
|
-
}
|
|
93
|
-
const existingEnvs = dotenv.parse(await fs_extra_1.default.readFile(path.join(context.projectPath, localEnvPath)));
|
|
94
|
-
const content = Object.entries({ ...existingEnvs, ...envs })
|
|
95
|
-
.map(([key, value]) => `${key}=${value}`)
|
|
96
|
-
.join(os.EOL);
|
|
97
|
-
await context.fsWriteFile(localEnvPath, content, {
|
|
98
|
-
encoding: "utf-8",
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
function generateLabel(base, existingLabels) {
|
|
102
|
-
let prefix = 0;
|
|
103
|
-
while (true) {
|
|
104
|
-
const generatedLabel = base + (prefix > 0 ? ` ${prefix.toString()}` : "");
|
|
105
|
-
if (!existingLabels.includes(generatedLabel)) {
|
|
106
|
-
return generatedLabel;
|
|
107
|
-
}
|
|
108
|
-
prefix += 1;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
function createResourcesTask(label) {
|
|
112
|
-
const comment = `{
|
|
113
|
-
// Create the debug resources.
|
|
114
|
-
// See https://aka.ms/teamsfx-tasks/provision to know the details and how to customize the args.
|
|
115
|
-
}`;
|
|
116
|
-
const task = {
|
|
117
|
-
label,
|
|
118
|
-
type: "teamsfx",
|
|
119
|
-
command: "provision",
|
|
120
|
-
args: {
|
|
121
|
-
env: "local",
|
|
122
|
-
},
|
|
123
|
-
};
|
|
124
|
-
return (0, comment_json_1.assign)((0, comment_json_1.parse)(comment), task);
|
|
125
|
-
}
|
|
126
|
-
function setUpLocalProjectsTask(label) {
|
|
127
|
-
const comment = `{
|
|
128
|
-
// Build project.
|
|
129
|
-
// See https://aka.ms/teamsfx-tasks/deploy to know the details and how to customize the args.
|
|
130
|
-
}`;
|
|
131
|
-
const task = {
|
|
132
|
-
label,
|
|
133
|
-
type: "teamsfx",
|
|
134
|
-
command: "deploy",
|
|
135
|
-
args: {
|
|
136
|
-
env: "local",
|
|
137
|
-
},
|
|
138
|
-
};
|
|
139
|
-
return (0, comment_json_1.assign)((0, comment_json_1.parse)(comment), task);
|
|
140
|
-
}
|
|
141
|
-
function startFrontendTask(label) {
|
|
142
|
-
const task = {
|
|
143
|
-
label,
|
|
144
|
-
type: "shell",
|
|
145
|
-
command: "npx env-cmd --silent -f .localConfigs react-scripts start",
|
|
146
|
-
isBackground: true,
|
|
147
|
-
options: {
|
|
148
|
-
cwd: "${workspaceFolder}/tabs",
|
|
149
|
-
},
|
|
150
|
-
problemMatcher: {
|
|
151
|
-
pattern: {
|
|
152
|
-
regexp: "^.*$",
|
|
153
|
-
file: 0,
|
|
154
|
-
location: 1,
|
|
155
|
-
message: 2,
|
|
156
|
-
},
|
|
157
|
-
background: {
|
|
158
|
-
activeOnStart: true,
|
|
159
|
-
beginsPattern: ".*",
|
|
160
|
-
endsPattern: "Compiled|Failed|compiled|failed",
|
|
161
|
-
},
|
|
162
|
-
},
|
|
163
|
-
};
|
|
164
|
-
return (0, comment_json_1.assign)((0, comment_json_1.parse)("{}"), task);
|
|
165
|
-
}
|
|
166
|
-
function startAuthTask(label) {
|
|
167
|
-
const task = {
|
|
168
|
-
label,
|
|
169
|
-
type: "shell",
|
|
170
|
-
command: "dotnet Microsoft.TeamsFx.SimpleAuth.dll",
|
|
171
|
-
isBackground: true,
|
|
172
|
-
options: {
|
|
173
|
-
cwd: path.join(os.homedir(), ".fx", "localauth"),
|
|
174
|
-
env: {
|
|
175
|
-
ASPNETCORE_ENVIRONMENT: "Development",
|
|
176
|
-
PATH: "${command:fx-extension.get-dotnet-path}${env:PATH}",
|
|
177
|
-
},
|
|
178
|
-
},
|
|
179
|
-
problemMatcher: {
|
|
180
|
-
pattern: [
|
|
181
|
-
{
|
|
182
|
-
regexp: "^.*$",
|
|
183
|
-
file: 0,
|
|
184
|
-
location: 1,
|
|
185
|
-
message: 2,
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
background: {
|
|
189
|
-
activeOnStart: true,
|
|
190
|
-
beginsPattern: ".*",
|
|
191
|
-
endsPattern: ".*",
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
};
|
|
195
|
-
return (0, comment_json_1.assign)((0, comment_json_1.parse)("{}"), task);
|
|
196
|
-
}
|
|
197
|
-
function watchBackendTask(label) {
|
|
198
|
-
const task = {
|
|
199
|
-
label,
|
|
200
|
-
type: "shell",
|
|
201
|
-
command: "tsc --watch",
|
|
202
|
-
isBackground: true,
|
|
203
|
-
options: {
|
|
204
|
-
cwd: "${workspaceFolder}/api",
|
|
205
|
-
},
|
|
206
|
-
problemMatcher: "$tsc-watch",
|
|
207
|
-
presentation: {
|
|
208
|
-
reveal: "silent",
|
|
209
|
-
},
|
|
210
|
-
};
|
|
211
|
-
return (0, comment_json_1.assign)((0, comment_json_1.parse)("{}"), task);
|
|
212
|
-
}
|
|
213
|
-
function startBackendTask(label, programmingLanguage) {
|
|
214
|
-
programmingLanguage = programmingLanguage || "javascript";
|
|
215
|
-
const command = `npx env-cmd --silent -f .localConfigs func start --${programmingLanguage} --language-worker="--inspect=9229" --port "7071" --cors "*"`;
|
|
216
|
-
const task = {
|
|
217
|
-
label,
|
|
218
|
-
type: "shell",
|
|
219
|
-
command,
|
|
220
|
-
isBackground: true,
|
|
221
|
-
options: {
|
|
222
|
-
cwd: "${workspaceFolder}/api",
|
|
223
|
-
env: {
|
|
224
|
-
PATH: "${command:fx-extension.get-func-path}${env:PATH}",
|
|
225
|
-
},
|
|
226
|
-
},
|
|
227
|
-
problemMatcher: {
|
|
228
|
-
pattern: {
|
|
229
|
-
regexp: "^.*$",
|
|
230
|
-
file: 0,
|
|
231
|
-
location: 1,
|
|
232
|
-
message: 2,
|
|
233
|
-
},
|
|
234
|
-
background: {
|
|
235
|
-
activeOnStart: true,
|
|
236
|
-
beginsPattern: "^.*(Job host stopped|signaling restart).*$",
|
|
237
|
-
endsPattern: "^.*(Worker process started and initialized|Host lock lease acquired by instance ID).*$",
|
|
238
|
-
},
|
|
239
|
-
},
|
|
240
|
-
presentation: {
|
|
241
|
-
reveal: "silent",
|
|
242
|
-
},
|
|
243
|
-
};
|
|
244
|
-
return (0, comment_json_1.assign)((0, comment_json_1.parse)("{}"), task);
|
|
245
|
-
}
|
|
246
|
-
function startBotTask(label, programmingLanguage) {
|
|
247
|
-
const command = programmingLanguage === "typescript"
|
|
248
|
-
? "npx env-cmd --silent -f .localConfigs nodemon --inspect=9239 --signal SIGINT -r ts-node/register index.ts"
|
|
249
|
-
: "npx env-cmd --silent -f .localConfigs nodemon --inspect=9239 --signal SIGINT index.js";
|
|
250
|
-
const task = {
|
|
251
|
-
label,
|
|
252
|
-
type: "shell",
|
|
253
|
-
command,
|
|
254
|
-
isBackground: true,
|
|
255
|
-
options: {
|
|
256
|
-
cwd: "${workspaceFolder}/bot",
|
|
257
|
-
},
|
|
258
|
-
problemMatcher: {
|
|
259
|
-
pattern: [
|
|
260
|
-
{
|
|
261
|
-
regexp: "^.*$",
|
|
262
|
-
file: 0,
|
|
263
|
-
location: 1,
|
|
264
|
-
message: 2,
|
|
265
|
-
},
|
|
266
|
-
],
|
|
267
|
-
background: {
|
|
268
|
-
activeOnStart: true,
|
|
269
|
-
beginsPattern: "[nodemon] starting",
|
|
270
|
-
endsPattern: "restify listening to|Bot/ME service listening at|[nodemon] app crashed",
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
};
|
|
274
|
-
return (0, comment_json_1.assign)((0, comment_json_1.parse)("{}"), task);
|
|
275
|
-
}
|
|
276
|
-
function launchRemote(hubName, browserType, browserName, url, order) {
|
|
277
|
-
return {
|
|
278
|
-
name: `Launch Remote in ${hubName} (${browserName})`,
|
|
279
|
-
type: browserType,
|
|
280
|
-
request: "launch",
|
|
281
|
-
url,
|
|
282
|
-
presentation: {
|
|
283
|
-
group: `group ${order}: ${hubName}`,
|
|
284
|
-
order: 3,
|
|
285
|
-
},
|
|
286
|
-
internalConsoleOptions: "neverOpen",
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
exports.defaultFuncSymlinkDir = "./devTools/func";
|
|
290
|
-
exports.ignoreDevToolsDir = "/devTools/";
|
|
291
|
-
//# sourceMappingURL=debugV3MigrationUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debugV3MigrationUtils.js","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/debugV3MigrationUtils.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAYlC,kDAMC;AAED,0CAEC;AAED,wCAIC;AAUD,wDAiBC;AAsCD,wCAqBC;AAED,sCASC;AAED,kDAcC;AAED,wDAcC;AAED,8CAwBC;AAED,sCA8BC;AAED,4CAeC;AAED,4CAiCC;AAED,oCA8BC;AAED,oCAkBC;;AA7TD,gEAA0B;AAC1B,+CAA4F;AAC5F,sDAAgE;AAEhE,0DAAuD;AACvD,wDAA4D;AAC5D,uDAAiC;AACjC,+CAAyB;AACzB,mDAA6B;AAEtB,KAAK,UAAU,mBAAmB,CAAC,QAAgB;IACxD,IAAI,MAAM,kBAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;QAClC,MAAM,OAAO,GAAG,MAAM,kBAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;QAC5C,MAAM,IAAI,GAAG,IAAA,oBAAK,EAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;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,OAAO,EAAE;YACnC,KAAK,EAAE,CAAC;SACT;QACD,sBAAsB,EAAE,WAAW;KACpC,CAAC;AACJ,CAAC;AAEY,QAAA,qBAAqB,GAAG,iBAAiB,CAAC;AAC1C,QAAA,iBAAiB,GAAG,YAAY,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DebugMigrationContext } from "./debugMigrationContext";
|
|
2
|
-
export declare function migrateTransparentPrerequisite(context: DebugMigrationContext): Promise<void>;
|
|
3
|
-
export declare function migrateTransparentLocalTunnel(context: DebugMigrationContext): Promise<void>;
|
|
4
|
-
export declare function migrateTransparentNpmInstall(context: DebugMigrationContext): Promise<void>;
|
|
5
|
-
export declare function migrateSetUpTab(context: DebugMigrationContext): Promise<void>;
|
|
6
|
-
export declare function migrateSetUpBot(context: DebugMigrationContext): Promise<void>;
|
|
7
|
-
export declare function migrateSetUpSSO(context: DebugMigrationContext): Promise<void>;
|
|
8
|
-
export declare function migratePrepareManifest(context: DebugMigrationContext): Promise<void>;
|
|
9
|
-
export declare function migrateInstallAppInTeams(context: DebugMigrationContext): Promise<void>;
|
|
10
|
-
export declare function migrateValidateDependencies(context: DebugMigrationContext): Promise<void>;
|
|
11
|
-
export declare function migrateBackendExtensionsInstall(context: DebugMigrationContext): Promise<void>;
|
|
12
|
-
export declare function migrateFrontendStart(context: DebugMigrationContext): Promise<void>;
|
|
13
|
-
export declare function migrateAuthStart(context: DebugMigrationContext): Promise<void>;
|
|
14
|
-
export declare function migrateBotStart(context: DebugMigrationContext): Promise<void>;
|
|
15
|
-
export declare function migrateBackendWatch(context: DebugMigrationContext): Promise<void>;
|
|
16
|
-
export declare function migrateBackendStart(context: DebugMigrationContext): Promise<void>;
|
|
17
|
-
export declare function migrateValidateLocalPrerequisites(context: DebugMigrationContext): Promise<void>;
|
|
18
|
-
export declare function migratePreDebugCheck(context: DebugMigrationContext): Promise<void>;
|
|
19
|
-
export declare function migrateNgrokStartTask(context: DebugMigrationContext): Promise<void>;
|
|
20
|
-
export declare function migrateNgrokStartCommand(context: DebugMigrationContext): Promise<void>;
|
|
21
|
-
export declare function migrateGetFuncPathCommand(context: DebugMigrationContext): Promise<void>;
|
|
22
|
-
//# sourceMappingURL=taskMigrator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taskMigrator.d.ts","sourceRoot":"","sources":["../../../../../src/core/middleware/utils/debug/taskMigrator.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAgChE,wBAAsB,8BAA8B,CAClD,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,IAAI,CAAC,CAgDf;AAED,wBAAgB,6BAA6B,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAsD3F;AAYD,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CA+C1F;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAyC7E;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwDnF;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CA8DnF;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqCpF;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqBtF;AAED,wBAAsB,2BAA2B,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CA0C/F;AAED,wBAAgB,+BAA+B,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAgC7F;AAED,wBAAgB,oBAAoB,CAAC,OAAO,E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