@microsoft/teamsfx-api 0.22.3 → 0.22.4-alpha.0c7c513de.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/constants.d.ts +2 -11
- package/build/constants.d.ts.map +1 -1
- package/build/constants.js +2 -11
- package/build/constants.js.map +1 -1
- package/build/context.d.ts +9 -28
- package/build/context.d.ts.map +1 -1
- package/build/error.d.ts +4 -47
- package/build/error.d.ts.map +1 -1
- package/build/error.js +9 -139
- package/build/error.js.map +1 -1
- package/build/index.d.ts +4 -16
- package/build/index.d.ts.map +1 -1
- package/build/index.js +4 -17
- package/build/index.js.map +1 -1
- package/build/qm/index.d.ts +0 -1
- package/build/qm/index.d.ts.map +1 -1
- package/build/qm/index.js +0 -1
- package/build/qm/index.js.map +1 -1
- package/build/qm/question.d.ts +54 -7
- package/build/qm/question.d.ts.map +1 -1
- package/build/qm/question.js.map +1 -1
- package/build/qm/ui.d.ts +66 -92
- package/build/qm/ui.d.ts.map +1 -1
- package/build/qm/ui.js +0 -86
- package/build/qm/ui.js.map +1 -1
- package/build/qm/validation.d.ts +6 -1
- package/build/qm/validation.d.ts.map +1 -1
- package/build/qm/validation.js +11 -0
- package/build/qm/validation.js.map +1 -1
- package/build/types.d.ts +58 -130
- package/build/types.d.ts.map +1 -1
- package/build/types.js +8 -97
- package/build/types.js.map +1 -1
- package/build/utils/telemetry.d.ts.map +1 -1
- package/package.json +5 -4
- package/build/action.d.ts +0 -109
- package/build/action.d.ts.map +0 -1
- package/build/action.js +0 -5
- package/build/action.js.map +0 -1
- package/build/bicep.d.ts +0 -19
- package/build/bicep.d.ts.map +0 -1
- package/build/bicep.js +0 -5
- package/build/bicep.js.map +0 -1
- package/build/component.d.ts +0 -31
- package/build/component.d.ts.map +0 -1
- package/build/component.js +0 -3
- package/build/component.js.map +0 -1
- package/build/core.d.ts +0 -50
- package/build/core.d.ts.map +0 -1
- package/build/core.js +0 -5
- package/build/core.js.map +0 -1
- package/build/plugin.d.ts +0 -71
- package/build/plugin.d.ts.map +0 -1
- package/build/plugin.js +0 -5
- package/build/plugin.js.map +0 -1
- package/build/qm/visitor.d.ts +0 -15
- package/build/qm/visitor.d.ts.map +0 -1
- package/build/qm/visitor.js +0 -388
- package/build/qm/visitor.js.map +0 -1
- package/build/solution.d.ts +0 -29
- package/build/solution.d.ts.map +0 -1
- package/build/solution.js +0 -5
- package/build/solution.js.map +0 -1
- package/build/v2/index.d.ts +0 -4
- package/build/v2/index.d.ts.map +0 -1
- package/build/v2/index.js +0 -9
- package/build/v2/index.js.map +0 -1
- package/build/v2/resourcePlugin.d.ts +0 -180
- package/build/v2/resourcePlugin.d.ts.map +0 -1
- package/build/v2/resourcePlugin.js +0 -5
- package/build/v2/resourcePlugin.js.map +0 -1
- package/build/v2/solutionPlugin.d.ts +0 -100
- package/build/v2/solutionPlugin.d.ts.map +0 -1
- package/build/v2/solutionPlugin.js +0 -5
- package/build/v2/solutionPlugin.js.map +0 -1
- package/build/v2/types.d.ts +0 -67
- package/build/v2/types.d.ts.map +0 -1
- package/build/v2/types.js +0 -28
- package/build/v2/types.js.map +0 -1
- package/build/v3/AzureResourceStates.d.ts +0 -58
- package/build/v3/AzureResourceStates.d.ts.map +0 -1
- package/build/v3/AzureResourceStates.js +0 -3
- package/build/v3/AzureResourceStates.js.map +0 -1
- package/build/v3/core.d.ts +0 -22
- package/build/v3/core.d.ts.map +0 -1
- package/build/v3/core.js +0 -5
- package/build/v3/core.js.map +0 -1
- package/build/v3/index.d.ts +0 -7
- package/build/v3/index.d.ts.map +0 -1
- package/build/v3/index.js +0 -12
- package/build/v3/index.js.map +0 -1
- package/build/v3/plugins.d.ts +0 -104
- package/build/v3/plugins.d.ts.map +0 -1
- package/build/v3/plugins.js +0 -5
- package/build/v3/plugins.js.map +0 -1
- package/build/v3/resourceStates.d.ts +0 -66
- package/build/v3/resourceStates.d.ts.map +0 -1
- package/build/v3/resourceStates.js +0 -5
- package/build/v3/resourceStates.js.map +0 -1
- package/build/v3/solution.d.ts +0 -40
- package/build/v3/solution.d.ts.map +0 -1
- package/build/v3/solution.js +0 -5
- package/build/v3/solution.js.map +0 -1
- package/build/v3/types.d.ts +0 -28
- package/build/v3/types.d.ts.map +0 -1
- package/build/v3/types.js +0 -5
- package/build/v3/types.js.map +0 -1
- package/build/vscode.d.ts +0 -22
- package/build/vscode.d.ts.map +0 -1
- package/build/vscode.js +0 -5
- package/build/vscode.js.map +0 -1
package/build/constants.d.ts
CHANGED
|
@@ -2,18 +2,10 @@ export declare const ConfigFolderName = "fx";
|
|
|
2
2
|
export declare const AppPackageFolderName = "appPackage";
|
|
3
3
|
export declare const BuildFolderName = "build";
|
|
4
4
|
export declare const TemplateFolderName = "templates";
|
|
5
|
-
export declare const AdaptiveCardsFolderName = "adaptiveCards";
|
|
6
|
-
export declare const InputConfigsFolderName = "configs";
|
|
7
|
-
export declare const StatesFolderName = "states";
|
|
8
|
-
export declare const ProjectSettingsFileName = "projectSettings.json";
|
|
9
|
-
export declare const EnvNamePlaceholder = "@envName";
|
|
10
|
-
export declare const EnvConfigFileNameTemplate: string;
|
|
11
|
-
export declare const EnvStateFileNameTemplate: string;
|
|
12
5
|
export declare const LocalEnvironmentName = "local";
|
|
13
6
|
export declare const ProductName = "teamsfx";
|
|
14
7
|
export declare const AutoGeneratedReadme = "README-auto-generated.md";
|
|
15
8
|
export declare const DefaultReadme = "README.md";
|
|
16
|
-
export declare const SettingsFileName = "settings.json";
|
|
17
9
|
export declare const SettingsFolderName = "teamsfx";
|
|
18
10
|
/**
|
|
19
11
|
* questions for VS and CLI_HELP platforms are static question which don't depend on project context
|
|
@@ -46,7 +38,6 @@ export declare enum Stage {
|
|
|
46
38
|
listEnv = "listEnv",
|
|
47
39
|
removeEnv = "removeEnv",
|
|
48
40
|
switchEnv = "switchEnv",
|
|
49
|
-
activateEnv = "activateEnv",
|
|
50
41
|
userTask = "userTask",
|
|
51
42
|
update = "update",
|
|
52
43
|
grantPermission = "grantPermission",
|
|
@@ -54,7 +45,6 @@ export declare enum Stage {
|
|
|
54
45
|
listCollaborator = "listCollaborator",
|
|
55
46
|
getQuestions = "getQuestions",
|
|
56
47
|
getProjectConfig = "getProjectConfig",
|
|
57
|
-
init = "init",
|
|
58
48
|
addFeature = "addFeature",
|
|
59
49
|
addWebpart = "addWebpart",
|
|
60
50
|
addResource = "addResource",
|
|
@@ -68,7 +58,8 @@ export declare enum Stage {
|
|
|
68
58
|
publishInDeveloperPortal = "publishInDeveloperPortal",
|
|
69
59
|
validateApplication = "validateApplication",
|
|
70
60
|
createAppPackage = "createAppPackage",
|
|
71
|
-
previewWithManifest = "previewWithManifest"
|
|
61
|
+
previewWithManifest = "previewWithManifest",
|
|
62
|
+
copilotPluginAddAPI = "copilotPluginAddAPI"
|
|
72
63
|
}
|
|
73
64
|
export declare enum TelemetryEvent {
|
|
74
65
|
askQuestion = "askQuestion"
|
package/build/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,eAAe,UAAU,CAAC;AACvC,eAAO,MAAM,kBAAkB,cAAc,CAAC;AAC9C,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,eAAe,UAAU,CAAC;AACvC,eAAO,MAAM,kBAAkB,cAAc,CAAC;AAC9C,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAC5C,eAAO,MAAM,WAAW,YAAY,CAAC;AACrC,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,aAAa,cAAc,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G;AACH,oBAAY,iBAAiB;IAC3B,IAAI,SAAS;IACb,MAAM,WAAW;CAClB"}
|
package/build/constants.js
CHANGED
|
@@ -2,23 +2,15 @@
|
|
|
2
2
|
// Licensed under the MIT license.
|
|
3
3
|
"use strict";
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.CoreCallbackEvent = exports.TelemetryProperty = exports.TelemetryEvent = exports.Stage = exports.VsCodeEnv = exports.CLIPlatforms = exports.DynamicPlatforms = exports.StaticPlatforms = exports.Platform = exports.SettingsFolderName = exports.
|
|
5
|
+
exports.CoreCallbackEvent = exports.TelemetryProperty = exports.TelemetryEvent = exports.Stage = exports.VsCodeEnv = exports.CLIPlatforms = exports.DynamicPlatforms = exports.StaticPlatforms = exports.Platform = exports.SettingsFolderName = exports.DefaultReadme = exports.AutoGeneratedReadme = exports.ProductName = exports.LocalEnvironmentName = exports.TemplateFolderName = exports.BuildFolderName = exports.AppPackageFolderName = exports.ConfigFolderName = void 0;
|
|
6
6
|
exports.ConfigFolderName = "fx";
|
|
7
7
|
exports.AppPackageFolderName = "appPackage";
|
|
8
8
|
exports.BuildFolderName = "build";
|
|
9
9
|
exports.TemplateFolderName = "templates";
|
|
10
|
-
exports.AdaptiveCardsFolderName = "adaptiveCards";
|
|
11
|
-
exports.InputConfigsFolderName = "configs";
|
|
12
|
-
exports.StatesFolderName = "states";
|
|
13
|
-
exports.ProjectSettingsFileName = "projectSettings.json";
|
|
14
|
-
exports.EnvNamePlaceholder = "@envName";
|
|
15
|
-
exports.EnvConfigFileNameTemplate = `config.${exports.EnvNamePlaceholder}.json`;
|
|
16
|
-
exports.EnvStateFileNameTemplate = `state.${exports.EnvNamePlaceholder}.json`;
|
|
17
10
|
exports.LocalEnvironmentName = "local";
|
|
18
11
|
exports.ProductName = "teamsfx";
|
|
19
12
|
exports.AutoGeneratedReadme = "README-auto-generated.md";
|
|
20
13
|
exports.DefaultReadme = "README.md";
|
|
21
|
-
exports.SettingsFileName = "settings.json";
|
|
22
14
|
exports.SettingsFolderName = "teamsfx";
|
|
23
15
|
/**
|
|
24
16
|
* questions for VS and CLI_HELP platforms are static question which don't depend on project context
|
|
@@ -54,7 +46,6 @@ var Stage;
|
|
|
54
46
|
Stage["listEnv"] = "listEnv";
|
|
55
47
|
Stage["removeEnv"] = "removeEnv";
|
|
56
48
|
Stage["switchEnv"] = "switchEnv";
|
|
57
|
-
Stage["activateEnv"] = "activateEnv";
|
|
58
49
|
Stage["userTask"] = "userTask";
|
|
59
50
|
Stage["update"] = "update";
|
|
60
51
|
Stage["grantPermission"] = "grantPermission";
|
|
@@ -62,7 +53,6 @@ var Stage;
|
|
|
62
53
|
Stage["listCollaborator"] = "listCollaborator";
|
|
63
54
|
Stage["getQuestions"] = "getQuestions";
|
|
64
55
|
Stage["getProjectConfig"] = "getProjectConfig";
|
|
65
|
-
Stage["init"] = "init";
|
|
66
56
|
Stage["addFeature"] = "addFeature";
|
|
67
57
|
Stage["addWebpart"] = "addWebpart";
|
|
68
58
|
Stage["addResource"] = "addResource";
|
|
@@ -77,6 +67,7 @@ var Stage;
|
|
|
77
67
|
Stage["validateApplication"] = "validateApplication";
|
|
78
68
|
Stage["createAppPackage"] = "createAppPackage";
|
|
79
69
|
Stage["previewWithManifest"] = "previewWithManifest";
|
|
70
|
+
Stage["copilotPluginAddAPI"] = "copilotPluginAddAPI";
|
|
80
71
|
})(Stage = exports.Stage || (exports.Stage = {}));
|
|
81
72
|
var TelemetryEvent;
|
|
82
73
|
(function (TelemetryEvent) {
|
package/build/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEA,QAAA,gBAAgB,GAAG,IAAI,CAAC;AACxB,QAAA,oBAAoB,GAAG,YAAY,CAAC;AACpC,QAAA,eAAe,GAAG,OAAO,CAAC;AAC1B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fig, ProjectSettings } from "./types";
|
|
2
|
-
import { LogProvider, TelemetryReporter, AzureAccountProvider, TreeProvider, PermissionRequestProvider, M365TokenProvider } from "./utils";
|
|
3
1
|
import { UserInteraction } from "./qm";
|
|
4
|
-
import {
|
|
5
|
-
import { EnvConfig } from "./schemas/envConfig";
|
|
2
|
+
import { LogProvider, TelemetryReporter, TokenProvider } from "./utils";
|
|
6
3
|
import { ExpServiceProvider } from "./utils/exp";
|
|
7
4
|
export interface Context {
|
|
8
|
-
|
|
9
|
-
logProvider
|
|
10
|
-
telemetryReporter
|
|
11
|
-
azureAccountProvider?: AzureAccountProvider;
|
|
12
|
-
m365TokenProvider?: M365TokenProvider;
|
|
13
|
-
treeProvider?: TreeProvider;
|
|
14
|
-
answers?: Inputs;
|
|
15
|
-
projectSettings?: ProjectSettings;
|
|
16
|
-
localSettings?: LocalSettings;
|
|
17
|
-
ui?: UserInteraction;
|
|
18
|
-
cryptoProvider: CryptoProvider;
|
|
19
|
-
permissionRequestProvider?: PermissionRequestProvider;
|
|
5
|
+
userInteraction: UserInteraction;
|
|
6
|
+
logProvider: LogProvider;
|
|
7
|
+
telemetryReporter: TelemetryReporter;
|
|
20
8
|
expServiceProvider?: ExpServiceProvider;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
export interface SolutionContext extends Context {
|
|
28
|
-
envInfo: EnvInfo;
|
|
29
|
-
}
|
|
30
|
-
export interface PluginContext extends Context {
|
|
31
|
-
envInfo: EnvInfo;
|
|
32
|
-
config: PluginConfig;
|
|
9
|
+
tokenProvider?: TokenProvider;
|
|
10
|
+
projectPath?: string;
|
|
11
|
+
templateVariables?: {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
33
14
|
}
|
|
34
15
|
//# sourceMappingURL=context.d.ts.map
|
package/build/context.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,WAAW,OAAO;IACtB,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC/C"}
|
package/build/error.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface FxError extends Error {
|
|
|
12
12
|
*/
|
|
13
13
|
timestamp: Date;
|
|
14
14
|
userData?: any;
|
|
15
|
+
categories?: string[];
|
|
15
16
|
}
|
|
16
17
|
export interface ErrorOptionBase {
|
|
17
18
|
source?: string;
|
|
@@ -20,6 +21,7 @@ export interface ErrorOptionBase {
|
|
|
20
21
|
error?: Error;
|
|
21
22
|
userData?: any;
|
|
22
23
|
displayMessage?: string;
|
|
24
|
+
categories?: string[];
|
|
23
25
|
}
|
|
24
26
|
export interface UserErrorOptions extends ErrorOptionBase {
|
|
25
27
|
helpLink?: string;
|
|
@@ -55,6 +57,7 @@ export declare class UserError extends Error implements FxError {
|
|
|
55
57
|
* message show in the UI
|
|
56
58
|
*/
|
|
57
59
|
displayMessage?: string;
|
|
60
|
+
categories?: string[];
|
|
58
61
|
constructor(opt: UserErrorOptions);
|
|
59
62
|
constructor(source: string, name: string, message: string, displayMessage?: string);
|
|
60
63
|
}
|
|
@@ -86,54 +89,8 @@ export declare class SystemError extends Error implements FxError {
|
|
|
86
89
|
* message show in the UI
|
|
87
90
|
*/
|
|
88
91
|
displayMessage?: string;
|
|
92
|
+
categories?: string[];
|
|
89
93
|
constructor(opt: SystemErrorOptions);
|
|
90
94
|
constructor(source: string, name: string, message: string, displayMessage?: string);
|
|
91
95
|
}
|
|
92
|
-
export declare function assembleError(e: any, source?: string): FxError;
|
|
93
|
-
export declare class UnknownError extends SystemError {
|
|
94
|
-
constructor(source?: string, message?: string);
|
|
95
|
-
}
|
|
96
|
-
export declare const UserCancelError: UserError;
|
|
97
|
-
export declare class EmptyOptionError extends SystemError {
|
|
98
|
-
constructor(source?: string);
|
|
99
|
-
}
|
|
100
|
-
export declare class PathAlreadyExistsError extends UserError {
|
|
101
|
-
constructor(source: string, path: string);
|
|
102
|
-
}
|
|
103
|
-
export declare class ObjectAlreadyExistsError extends UserError {
|
|
104
|
-
constructor(source: string, name: string);
|
|
105
|
-
}
|
|
106
|
-
export declare class ObjectNotExistError extends UserError {
|
|
107
|
-
constructor(source: string, name: string);
|
|
108
|
-
}
|
|
109
|
-
export declare class UndefinedError extends SystemError {
|
|
110
|
-
constructor(source: string, name: string);
|
|
111
|
-
}
|
|
112
|
-
export declare class NotImplementedError extends SystemError {
|
|
113
|
-
constructor(source: string, method: string);
|
|
114
|
-
}
|
|
115
|
-
export declare class WriteFileError extends SystemError {
|
|
116
|
-
constructor(source: string, e: Error);
|
|
117
|
-
}
|
|
118
|
-
export declare class ReadFileError extends SystemError {
|
|
119
|
-
constructor(source: string, e: Error);
|
|
120
|
-
}
|
|
121
|
-
export declare class NoProjectOpenedError extends UserError {
|
|
122
|
-
constructor(source: string);
|
|
123
|
-
}
|
|
124
|
-
export declare class ConcurrentError extends UserError {
|
|
125
|
-
constructor(source: string);
|
|
126
|
-
}
|
|
127
|
-
export declare class InvalidInputError extends UserError {
|
|
128
|
-
constructor(source: string, name: string, reason?: string);
|
|
129
|
-
}
|
|
130
|
-
export declare class InvalidProjectError extends UserError {
|
|
131
|
-
constructor(source: string, msg?: string);
|
|
132
|
-
}
|
|
133
|
-
export declare class InvalidObjectError extends UserError {
|
|
134
|
-
constructor(source: string, name: string, reason?: string);
|
|
135
|
-
}
|
|
136
|
-
export declare class InvalidOperationError extends UserError {
|
|
137
|
-
constructor(source: string, name: string, reason?: string);
|
|
138
|
-
}
|
|
139
96
|
//# sourceMappingURL=error.d.ts.map
|
package/build/error.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,OAAQ,SAAQ,KAAK;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAEhB,QAAQ,CAAC,EAAE,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,OAAQ,SAAQ,KAAK;IACpC;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAEhB,QAAQ,CAAC,EAAE,GAAG,CAAC;IAEf,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AACD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MA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GED
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation.
|
|
3
3
|
// Licensed under the MIT license.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.SystemError = exports.UserError = void 0;
|
|
6
6
|
/**
|
|
7
7
|
* Users can recover by themselves, e.g., users input invalid app names.
|
|
8
8
|
*/
|
|
9
9
|
class UserError extends Error {
|
|
10
10
|
constructor(param1, param2, param3, param4) {
|
|
11
|
-
var _a
|
|
11
|
+
var _a;
|
|
12
12
|
let option;
|
|
13
|
-
let stack;
|
|
14
13
|
if (typeof param1 === "string") {
|
|
15
14
|
option = {
|
|
16
15
|
source: param1,
|
|
@@ -26,16 +25,11 @@ class UserError extends Error {
|
|
|
26
25
|
const message = option.message || ((_a = option.error) === null || _a === void 0 ? void 0 : _a.message);
|
|
27
26
|
super(message);
|
|
28
27
|
//name
|
|
29
|
-
this.name = option.name ||
|
|
28
|
+
this.name = option.name || new.target.name;
|
|
30
29
|
//source
|
|
31
30
|
this.source = option.source || "unknown";
|
|
32
31
|
//stack
|
|
33
|
-
|
|
34
|
-
this.stack = stack;
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
Error.captureStackTrace(this, new.target);
|
|
38
|
-
}
|
|
32
|
+
Error.captureStackTrace(this, new.target);
|
|
39
33
|
//prototype
|
|
40
34
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
41
35
|
//innerError
|
|
@@ -45,6 +39,7 @@ class UserError extends Error {
|
|
|
45
39
|
this.userData = option.userData;
|
|
46
40
|
this.displayMessage = option.displayMessage;
|
|
47
41
|
this.timestamp = new Date();
|
|
42
|
+
this.categories = option.categories;
|
|
48
43
|
}
|
|
49
44
|
}
|
|
50
45
|
exports.UserError = UserError;
|
|
@@ -53,9 +48,8 @@ exports.UserError = UserError;
|
|
|
53
48
|
*/
|
|
54
49
|
class SystemError extends Error {
|
|
55
50
|
constructor(param1, param2, param3, param4) {
|
|
56
|
-
var _a
|
|
51
|
+
var _a;
|
|
57
52
|
let option;
|
|
58
|
-
let stack;
|
|
59
53
|
if (typeof param1 === "string") {
|
|
60
54
|
option = {
|
|
61
55
|
source: param1,
|
|
@@ -71,16 +65,11 @@ class SystemError extends Error {
|
|
|
71
65
|
const message = option.message || ((_a = option.error) === null || _a === void 0 ? void 0 : _a.message);
|
|
72
66
|
super(message);
|
|
73
67
|
//name
|
|
74
|
-
this.name = option.name ||
|
|
68
|
+
this.name = option.name || new.target.name;
|
|
75
69
|
//source
|
|
76
70
|
this.source = option.source || "unknown";
|
|
77
71
|
//stack
|
|
78
|
-
|
|
79
|
-
this.stack = stack;
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
Error.captureStackTrace(this, new.target);
|
|
83
|
-
}
|
|
72
|
+
Error.captureStackTrace(this, new.target);
|
|
84
73
|
//prototype
|
|
85
74
|
Object.setPrototypeOf(this, new.target.prototype);
|
|
86
75
|
//innerError
|
|
@@ -90,127 +79,8 @@ class SystemError extends Error {
|
|
|
90
79
|
this.userData = option.userData;
|
|
91
80
|
this.displayMessage = option.displayMessage;
|
|
92
81
|
this.timestamp = new Date();
|
|
82
|
+
this.categories = option.categories;
|
|
93
83
|
}
|
|
94
84
|
}
|
|
95
85
|
exports.SystemError = SystemError;
|
|
96
|
-
function assembleError(e, source) {
|
|
97
|
-
if (e instanceof UserError || e instanceof SystemError)
|
|
98
|
-
return e;
|
|
99
|
-
if (!source)
|
|
100
|
-
source = "unknown";
|
|
101
|
-
const type = typeof e;
|
|
102
|
-
if (type === "string") {
|
|
103
|
-
return new UnknownError(source, e);
|
|
104
|
-
}
|
|
105
|
-
else if (e instanceof Error) {
|
|
106
|
-
const err = e;
|
|
107
|
-
const fxError = new SystemError({ error: err, source });
|
|
108
|
-
fxError.stack = err.stack;
|
|
109
|
-
return fxError;
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return new UnknownError(source, JSON.stringify(e));
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
exports.assembleError = assembleError;
|
|
116
|
-
class UnknownError extends SystemError {
|
|
117
|
-
constructor(source, message) {
|
|
118
|
-
super({ source: source || "API", message: message });
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
exports.UnknownError = UnknownError;
|
|
122
|
-
exports.UserCancelError = new UserError("UI", "UserCancel", "User canceled.");
|
|
123
|
-
class EmptyOptionError extends SystemError {
|
|
124
|
-
constructor(source) {
|
|
125
|
-
super({ source: source || "API" });
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
exports.EmptyOptionError = EmptyOptionError;
|
|
129
|
-
class PathAlreadyExistsError extends UserError {
|
|
130
|
-
constructor(source, path) {
|
|
131
|
-
super({ source: source, message: `Path ${path} already exists.` });
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
exports.PathAlreadyExistsError = PathAlreadyExistsError;
|
|
135
|
-
class ObjectAlreadyExistsError extends UserError {
|
|
136
|
-
constructor(source, name) {
|
|
137
|
-
super({ source: source, message: `${name} already exists.` });
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
exports.ObjectAlreadyExistsError = ObjectAlreadyExistsError;
|
|
141
|
-
class ObjectNotExistError extends UserError {
|
|
142
|
-
constructor(source, name) {
|
|
143
|
-
super({ source: source, message: `${name} does not exist.` });
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
exports.ObjectNotExistError = ObjectNotExistError;
|
|
147
|
-
class UndefinedError extends SystemError {
|
|
148
|
-
constructor(source, name) {
|
|
149
|
-
super({ source: source, message: `${name} is undefined, which is not expected` });
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
exports.UndefinedError = UndefinedError;
|
|
153
|
-
class NotImplementedError extends SystemError {
|
|
154
|
-
constructor(source, method) {
|
|
155
|
-
super({ source: source, message: `Method not implemented:${method}` });
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
exports.NotImplementedError = NotImplementedError;
|
|
159
|
-
class WriteFileError extends SystemError {
|
|
160
|
-
constructor(source, e) {
|
|
161
|
-
super({ source: source, error: e, name: "WriteFileError" });
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
exports.WriteFileError = WriteFileError;
|
|
165
|
-
class ReadFileError extends SystemError {
|
|
166
|
-
constructor(source, e) {
|
|
167
|
-
super({ source: source, error: e, name: "ReadFileError" });
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
exports.ReadFileError = ReadFileError;
|
|
171
|
-
class NoProjectOpenedError extends UserError {
|
|
172
|
-
constructor(source) {
|
|
173
|
-
super({
|
|
174
|
-
source: source,
|
|
175
|
-
message: "No project opened, you can create a new project or open an existing one.",
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
exports.NoProjectOpenedError = NoProjectOpenedError;
|
|
180
|
-
class ConcurrentError extends UserError {
|
|
181
|
-
constructor(source) {
|
|
182
|
-
super({
|
|
183
|
-
source: source,
|
|
184
|
-
message: "Previous task is still running. Please wait util your previous task to finish and try again.",
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
exports.ConcurrentError = ConcurrentError;
|
|
189
|
-
class InvalidInputError extends UserError {
|
|
190
|
-
constructor(source, name, reason) {
|
|
191
|
-
super({ source: source, message: `Input '${name}' is invalid: ${reason}` });
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
exports.InvalidInputError = InvalidInputError;
|
|
195
|
-
class InvalidProjectError extends UserError {
|
|
196
|
-
constructor(source, msg) {
|
|
197
|
-
super({
|
|
198
|
-
source: source,
|
|
199
|
-
message: `The command only works for project created by Teams Toolkit. ${msg ? ": " + msg : ""}`,
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
exports.InvalidProjectError = InvalidProjectError;
|
|
204
|
-
class InvalidObjectError extends UserError {
|
|
205
|
-
constructor(source, name, reason) {
|
|
206
|
-
super({ source: source, message: `${name} is invalid: ${reason}` });
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
exports.InvalidObjectError = InvalidObjectError;
|
|
210
|
-
class InvalidOperationError extends UserError {
|
|
211
|
-
constructor(source, name, reason) {
|
|
212
|
-
super({ source: source, message: `Invalid operation: ${name} ${reason}` });
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
exports.InvalidOperationError = InvalidOperationError;
|
|
216
86
|
//# sourceMappingURL=error.js.map
|
package/build/error.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;
|
|
1
|
+
{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/error.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAqClC;;GAEG;AACH,MAAa,SAAU,SAAQ,KAAK;IA8BlC,YACE,MAAiC,EACjC,MAAe,EACf,MAAe,EACf,MAAe;;QAEf,IAAI,MAAwB,CAAC;QAC7B,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;YAC9B,MAAM,GAAG;gBACP,MAAM,EAAE,MAAM;gBACd,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,MAAM;aACvB,CAAC;SACH;aAAM;YACL,MAAM,GAAG,MAAM,CAAC;SACjB;QAED,UAAU;QACV,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,KAAI,MAAA,MAAM,CAAC,KAAK,0CAAE,OAAO,CAAA,CAAC;QACxD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,MAAM;QACN,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC;QAE3C,QAAQ;QACR,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,SAAS,CAAC;QAEzC,OAAO;QACP,KAAK,CAAC,iBAAiB,CAAC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CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;QAE1C,WAAW;QACX,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;QAElD,YAAY;QACZ,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC;QAE/B,cAAc;QACd,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;QAC5C,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IACtC,CAAC;CACF;AA3ED,kCA2EC"}
|
package/build/index.d.ts
CHANGED
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export * from "./qm";
|
|
2
|
+
export * from "./utils";
|
|
3
3
|
export * from "./constants";
|
|
4
4
|
export * from "./context";
|
|
5
|
-
export * from "./core";
|
|
6
|
-
export * from "./types";
|
|
7
|
-
export * from "./plugin";
|
|
8
|
-
export * from "./solution";
|
|
9
|
-
export * from "./vscode";
|
|
10
|
-
export * from "@microsoft/teams-manifest";
|
|
11
|
-
export * from "./utils";
|
|
12
5
|
export * from "./error";
|
|
13
|
-
export * from "./
|
|
14
|
-
export * from "./schemas";
|
|
15
|
-
export * from "./action";
|
|
16
|
-
export * from "./bicep";
|
|
17
|
-
export * from "./component";
|
|
18
|
-
export { v2 };
|
|
19
|
-
export { v3 };
|
|
6
|
+
export * from "./types";
|
|
20
7
|
export * from "neverthrow";
|
|
8
|
+
export * from "@microsoft/teams-manifest";
|
|
21
9
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC"}
|
package/build/index.js
CHANGED
|
@@ -2,26 +2,13 @@
|
|
|
2
2
|
// Licensed under the MIT license.
|
|
3
3
|
"use strict";
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.v3 = exports.v2 = void 0;
|
|
6
5
|
const tslib_1 = require("tslib");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const v3 = tslib_1.__importStar(require("./v3"));
|
|
10
|
-
exports.v3 = v3;
|
|
6
|
+
tslib_1.__exportStar(require("./qm"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./utils"), exports);
|
|
11
8
|
tslib_1.__exportStar(require("./constants"), exports);
|
|
12
9
|
tslib_1.__exportStar(require("./context"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./core"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./types"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./plugin"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./solution"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./vscode"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("@microsoft/teams-manifest"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./utils"), exports);
|
|
20
10
|
tslib_1.__exportStar(require("./error"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./
|
|
22
|
-
tslib_1.__exportStar(require("./schemas"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./action"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./bicep"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./component"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
26
12
|
tslib_1.__exportStar(require("neverthrow"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("@microsoft/teams-manifest"), exports);
|
|
27
14
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AACb,+CAAqB;AACrB,kDAAwB;AACxB,sDAA4B;AAC5B,oDAA0B;AAC1B,kDAAwB;AACxB,kDAAwB;AACxB,qDAA2B;AAC3B,oEAA0C"}
|
package/build/qm/index.d.ts
CHANGED
package/build/qm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/qm/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/qm/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,cAAc,CAAC"}
|
package/build/qm/index.js
CHANGED
|
@@ -5,6 +5,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
tslib_1.__exportStar(require("./question"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ui"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./visitor"), exports);
|
|
9
8
|
tslib_1.__exportStar(require("./validation"), exports);
|
|
10
9
|
//# sourceMappingURL=index.js.map
|
package/build/qm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/qm/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,qDAA2B;AAC3B,+CAAqB;AACrB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/qm/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,qDAA2B;AAC3B,+CAAqB;AACrB,uDAA6B"}
|