@microsoft/teamsfx-api 0.22.4-alpha.b3cdd7bd5.0 → 0.22.4-alpha.b52d172b5.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.
Files changed (97) hide show
  1. package/build/cli.d.ts +203 -0
  2. package/build/cli.d.ts.map +1 -0
  3. package/build/{v3/core.js → cli.js} +1 -1
  4. package/build/cli.js.map +1 -0
  5. package/build/constants.d.ts +4 -9
  6. package/build/constants.d.ts.map +1 -1
  7. package/build/constants.js +4 -9
  8. package/build/constants.js.map +1 -1
  9. package/build/context.d.ts +9 -28
  10. package/build/context.d.ts.map +1 -1
  11. package/build/error.d.ts +4 -0
  12. package/build/error.d.ts.map +1 -1
  13. package/build/error.js +6 -4
  14. package/build/error.js.map +1 -1
  15. package/build/index.d.ts +5 -14
  16. package/build/index.d.ts.map +1 -1
  17. package/build/index.js +5 -15
  18. package/build/index.js.map +1 -1
  19. package/build/qm/question.d.ts +134 -26
  20. package/build/qm/question.d.ts.map +1 -1
  21. package/build/qm/question.js +0 -53
  22. package/build/qm/question.js.map +1 -1
  23. package/build/qm/ui.d.ts +72 -15
  24. package/build/qm/ui.d.ts.map +1 -1
  25. package/build/qm/validation.d.ts +7 -18
  26. package/build/qm/validation.d.ts.map +1 -1
  27. package/build/qm/validation.js +0 -159
  28. package/build/qm/validation.js.map +1 -1
  29. package/build/types.d.ts +73 -148
  30. package/build/types.d.ts.map +1 -1
  31. package/build/types.js +8 -87
  32. package/build/types.js.map +1 -1
  33. package/build/utils/log.d.ts +23 -36
  34. package/build/utils/log.d.ts.map +1 -1
  35. package/build/utils/log.js +7 -11
  36. package/build/utils/log.js.map +1 -1
  37. package/build/utils/login.d.ts +4 -4
  38. package/build/utils/login.d.ts.map +1 -1
  39. package/build/utils/login.js +4 -4
  40. package/build/utils/login.js.map +1 -1
  41. package/build/utils/telemetry.d.ts.map +1 -1
  42. package/package.json +8 -6
  43. package/build/action.d.ts +0 -109
  44. package/build/action.d.ts.map +0 -1
  45. package/build/action.js +0 -5
  46. package/build/action.js.map +0 -1
  47. package/build/bicep.d.ts +0 -19
  48. package/build/bicep.d.ts.map +0 -1
  49. package/build/bicep.js +0 -5
  50. package/build/bicep.js.map +0 -1
  51. package/build/component.d.ts +0 -31
  52. package/build/component.d.ts.map +0 -1
  53. package/build/component.js +0 -3
  54. package/build/component.js.map +0 -1
  55. package/build/core.d.ts +0 -50
  56. package/build/core.d.ts.map +0 -1
  57. package/build/core.js +0 -5
  58. package/build/core.js.map +0 -1
  59. package/build/v2/index.d.ts +0 -2
  60. package/build/v2/index.d.ts.map +0 -1
  61. package/build/v2/index.js +0 -7
  62. package/build/v2/index.js.map +0 -1
  63. package/build/v2/types.d.ts +0 -32
  64. package/build/v2/types.d.ts.map +0 -1
  65. package/build/v2/types.js +0 -5
  66. package/build/v2/types.js.map +0 -1
  67. package/build/v3/AzureResourceStates.d.ts +0 -58
  68. package/build/v3/AzureResourceStates.d.ts.map +0 -1
  69. package/build/v3/AzureResourceStates.js +0 -3
  70. package/build/v3/AzureResourceStates.js.map +0 -1
  71. package/build/v3/core.d.ts +0 -15
  72. package/build/v3/core.d.ts.map +0 -1
  73. package/build/v3/core.js.map +0 -1
  74. package/build/v3/index.d.ts +0 -7
  75. package/build/v3/index.d.ts.map +0 -1
  76. package/build/v3/index.js +0 -12
  77. package/build/v3/index.js.map +0 -1
  78. package/build/v3/plugins.d.ts +0 -12
  79. package/build/v3/plugins.d.ts.map +0 -1
  80. package/build/v3/plugins.js +0 -5
  81. package/build/v3/plugins.js.map +0 -1
  82. package/build/v3/resourceStates.d.ts +0 -66
  83. package/build/v3/resourceStates.d.ts.map +0 -1
  84. package/build/v3/resourceStates.js +0 -5
  85. package/build/v3/resourceStates.js.map +0 -1
  86. package/build/v3/solution.d.ts +0 -40
  87. package/build/v3/solution.d.ts.map +0 -1
  88. package/build/v3/solution.js +0 -5
  89. package/build/v3/solution.js.map +0 -1
  90. package/build/v3/types.d.ts +0 -28
  91. package/build/v3/types.d.ts.map +0 -1
  92. package/build/v3/types.js +0 -5
  93. package/build/v3/types.js.map +0 -1
  94. package/build/vscode.d.ts +0 -22
  95. package/build/vscode.d.ts.map +0 -1
  96. package/build/vscode.js +0 -5
  97. package/build/vscode.js.map +0 -1
@@ -1,7 +0,0 @@
1
- export * from "./types";
2
- export * from "./resourceStates";
3
- export * from "./plugins";
4
- export * from "./solution";
5
- export * from "./core";
6
- export * from "./AzureResourceStates";
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v3/index.ts"],"names":[],"mappings":"AAGA,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC"}
package/build/v3/index.js DELETED
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- const tslib_1 = require("tslib");
6
- tslib_1.__exportStar(require("./types"), exports);
7
- tslib_1.__exportStar(require("./resourceStates"), exports);
8
- tslib_1.__exportStar(require("./plugins"), exports);
9
- tslib_1.__exportStar(require("./solution"), exports);
10
- tslib_1.__exportStar(require("./core"), exports);
11
- tslib_1.__exportStar(require("./AzureResourceStates"), exports);
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v3/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,kDAAwB;AACxB,2DAAiC;AACjC,oDAA0B;AAC1B,qDAA2B;AAC3B,iDAAuB;AACvB,gEAAsC"}
@@ -1,12 +0,0 @@
1
- import { Result } from "neverthrow";
2
- import { FxError } from "../error";
3
- import { Void } from "../types";
4
- import { Context, InputsWithProjectPath } from "../v2/types";
5
- import { ManifestCapability } from "./types";
6
- export interface AppManifestProvider {
7
- addCapabilities: (ctx: Context, inputs: InputsWithProjectPath, capabilities: ManifestCapability[]) => Promise<Result<Void, FxError>>;
8
- updateCapability: (ctx: Context, inputs: InputsWithProjectPath, capability: ManifestCapability) => Promise<Result<Void, FxError>>;
9
- deleteCapability: (ctx: Context, inputs: InputsWithProjectPath, capability: ManifestCapability) => Promise<Result<Void, FxError>>;
10
- capabilityExceedLimit: (ctx: Context, inputs: InputsWithProjectPath, capability: "staticTab" | "configurableTab" | "Bot" | "MessageExtension" | "WebApplicationInfo") => Promise<Result<boolean, FxError>>;
11
- }
12
- //# sourceMappingURL=plugins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/v3/plugins.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,CACf,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,qBAAqB,EAC7B,YAAY,EAAE,kBAAkB,EAAE,KAC/B,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAEpC,gBAAgB,EAAE,CAChB,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,qBAAqB,EAC7B,UAAU,EAAE,kBAAkB,KAC3B,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAEpC,gBAAgB,EAAE,CAChB,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,qBAAqB,EAC7B,UAAU,EAAE,kBAAkB,KAC3B,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAEpC,qBAAqB,EAAE,CACrB,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,qBAAqB,EAC7B,UAAU,EAAE,WAAW,GAAG,iBAAiB,GAAG,KAAK,GAAG,kBAAkB,GAAG,oBAAoB,KAC5F,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;CACxC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=plugins.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/v3/plugins.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -1,66 +0,0 @@
1
- import { Json } from "../types";
2
- export interface CloudResource extends Json {
3
- /**
4
- * resource id is unique identifier for the cloud resource
5
- */
6
- resourceId?: string;
7
- /**
8
- * resource name is the string name for the resource
9
- */
10
- resourceName?: string;
11
- /**
12
- * endpoint url for access
13
- */
14
- endpoint?: string | string[];
15
- /**
16
- * secret fields names, if a property is defined as secret, the value will be encrypted and replaced in .userdata file
17
- */
18
- secretFields?: string[];
19
- }
20
- /**
21
- * ResourceStates contains all provision outputs of all resource plugins
22
- */
23
- export interface ResourceStates {
24
- /**
25
- * solution object contains common configs shared by all resources
26
- */
27
- solution: Json;
28
- /**
29
- * key is resource plugin name
30
- * value is cloud resource state object
31
- */
32
- [key: string]: CloudResource;
33
- }
34
- export declare type AzureResource = CloudResource;
35
- /**
36
- * Azure solution common config
37
- */
38
- export interface AzureSolutionConfig extends Json {
39
- resourceNameSuffix: string;
40
- resourceGroupName: string;
41
- tenantId: string;
42
- subscriptionId: string;
43
- subscriptionName: string;
44
- location: string;
45
- provisionSucceeded: boolean;
46
- needCreateResourceGroup: boolean;
47
- teamsAppTenantId: string;
48
- }
49
- export interface TeamsAppResource extends AzureResource {
50
- /**
51
- * M365 tenant id
52
- */
53
- tenantId: string;
54
- /**
55
- * teams app id
56
- */
57
- teamsAppId: string;
58
- }
59
- export interface TeamsFxAzureResourceStates extends ResourceStates {
60
- /**
61
- * Azure solution configs contains common configs shared by all resources
62
- */
63
- solution: AzureSolutionConfig;
64
- [key: string]: AzureResource;
65
- }
66
- //# sourceMappingURL=resourceStates.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resourceStates.d.ts","sourceRoot":"","sources":["../../src/v3/resourceStates.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,MAAM,WAAW,aAAc,SAAQ,IAAI;IACzC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;;OAGG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CAC9B;AAGD,oBAAY,aAAa,GAAG,aAAa,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,IAAI;IAC/C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,uBAAuB,EAAE,OAAO,CAAC;IACjC,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACrD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA2B,SAAQ,cAAc;IAChE;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CAC9B"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=resourceStates.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resourceStates.js","sourceRoot":"","sources":["../../src/v3/resourceStates.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -1,40 +0,0 @@
1
- import { Result } from "neverthrow";
2
- import { FxError } from "../error";
3
- import { Func, QTreeNode } from "../qm/question";
4
- import { Inputs, Void } from "../types";
5
- import { M365TokenProvider, TokenProvider } from "../utils/login";
6
- import { Context, DeepReadonly, InputsWithProjectPath } from "../v2/types";
7
- import { EnvInfoV3 } from "./types";
8
- export interface SolutionAddFeatureInputs extends InputsWithProjectPath {
9
- features: string[];
10
- }
11
- export interface ISolution {
12
- name: string;
13
- /**
14
- * init
15
- */
16
- getQuestionsForInit?: (ctx: Context, inputs: Inputs) => Promise<Result<QTreeNode | undefined, FxError>>;
17
- init?: (ctx: Context, inputs: InputsWithProjectPath) => Promise<Result<Void, FxError>>;
18
- /**
19
- * add feature
20
- */
21
- getQuestionsForAddFeature?: (ctx: Context, inputs: InputsWithProjectPath) => Promise<Result<QTreeNode | undefined, FxError>>;
22
- /**
23
- * triggered by add feature event, this API aims to add/modify files in local workspace
24
- *
25
- * @param {Context} ctx - plugin's runtime context shared by all lifecycles.
26
- * @param {InputsWithProjectPath} inputs
27
- * @param {EnvInfoV3} envInfo optional
28
- * @returns Void
29
- */
30
- addFeature?: (ctx: Context, inputs: SolutionAddFeatureInputs) => Promise<Result<Void, FxError>>;
31
- getQuestionsForProvision?: (ctx: Context, inputs: InputsWithProjectPath, envInfo: DeepReadonly<EnvInfoV3>, tokenProvider: TokenProvider) => Promise<Result<QTreeNode | undefined, FxError>>;
32
- provisionResources?: (ctx: Context, inputs: InputsWithProjectPath, envInfo: EnvInfoV3, tokenProvider: TokenProvider) => Promise<Result<Void, FxError>>;
33
- getQuestionsForDeploy?: (ctx: Context, inputs: InputsWithProjectPath, envInfo: DeepReadonly<EnvInfoV3>, tokenProvider: TokenProvider) => Promise<Result<QTreeNode | undefined, FxError>>;
34
- deploy?: (ctx: Context, inputs: InputsWithProjectPath, envInfo: DeepReadonly<EnvInfoV3>, tokenProvider: TokenProvider) => Promise<Result<Void, FxError>>;
35
- getQuestionsForPublish?: (ctx: Context, inputs: InputsWithProjectPath, envInfo: DeepReadonly<EnvInfoV3>, tokenProvider: M365TokenProvider) => Promise<Result<QTreeNode | undefined, FxError>>;
36
- publishApplication: (ctx: Context, inputs: InputsWithProjectPath, envInfo: DeepReadonly<EnvInfoV3>, tokenProvider: M365TokenProvider) => Promise<Result<Void, FxError>>;
37
- getQuestionsForUserTask?: (ctx: Context, inputs: Inputs, func: Func, envInfo: DeepReadonly<EnvInfoV3>, tokenProvider: TokenProvider) => Promise<Result<QTreeNode | undefined, FxError>>;
38
- executeUserTask?: (ctx: Context, inputs: Inputs, func: Func, envInfo: EnvInfoV3, tokenProvider: TokenProvider) => Promise<Result<any, FxError>>;
39
- }
40
- //# sourceMappingURL=solution.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"solution.d.ts","sourceRoot":"","sources":["../../src/v3/solution.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,SAAS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,CAAC,EAChC,aAAa,EAAE,aAAa,KACzB,OAAO,CAAC,MAAM,CAAC,SAAS,GAAG,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IACrD,eAAe,CAAC,EAAE,CAChB,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,SAAS,EAClB,aAAa,EAAE,aAAa,KACzB,OAAO,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;CACpC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=solution.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"solution.js","sourceRoot":"","sources":["../../src/v3/solution.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -1,28 +0,0 @@
1
- import { IStaticTab, IConfigurableTab, IBot, IComposeExtension, IWebApplicationInfo } from "@microsoft/teams-manifest";
2
- import { EnvInfoV2 } from "../v2/types";
3
- import { ResourceStates } from "./resourceStates";
4
- export interface EnvInfoV3 extends EnvInfoV2 {
5
- state: ResourceStates;
6
- }
7
- export declare type ManifestCapability = {
8
- name: "staticTab";
9
- snippet?: IStaticTab;
10
- existingApp?: boolean;
11
- } | {
12
- name: "configurableTab";
13
- snippet?: IConfigurableTab;
14
- existingApp?: boolean;
15
- } | {
16
- name: "Bot";
17
- snippet?: IBot;
18
- existingApp?: boolean;
19
- } | {
20
- name: "MessageExtension";
21
- snippet?: IComposeExtension;
22
- existingApp?: boolean;
23
- } | {
24
- name: "WebApplicationInfo";
25
- snippet?: IWebApplicationInfo;
26
- existingApp?: boolean;
27
- };
28
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/v3/types.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EAAW,SAAS,EAAE,MAAM,aAAa,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,SAAU,SAAQ,SAAS;IAC1C,KAAK,EAAE,cAAc,CAAC;CACvB;AAGD,oBAAY,kBAAkB,GAC1B;IACE,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GACD;IACE,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GACD;IACE,IAAI,EAAE,KAAK,CAAC;IACZ,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GACD;IACE,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GACD;IACE,IAAI,EAAE,oBAAoB,CAAC;IAC3B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
package/build/v3/types.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT license.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/v3/types.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
package/build/vscode.d.ts DELETED
@@ -1,22 +0,0 @@
1
- import { Result } from "neverthrow";
2
- import { FxError } from "./error";
3
- export interface VsCode {
4
- /**
5
- * configurations.json
6
- */
7
- addConfigurations: (configurations: any) => Promise<Result<null, FxError>>;
8
- /**
9
- * tasks.json
10
- */
11
- addTasks: (tasks: any) => Promise<Result<null, FxError>>;
12
- addInputs: (iputs: any) => Promise<Result<null, FxError>>;
13
- /**
14
- * settings.json
15
- */
16
- addSettings: (settings: any) => Promise<Result<null, FxError>>;
17
- /**
18
- * extensions.json
19
- */
20
- addRecommendations: (recommendations: any) => Promise<Result<null, FxError>>;
21
- }
22
- //# sourceMappingURL=vscode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vscode.d.ts","sourceRoot":"","sources":["../src/vscode.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,MAAM,WAAW,MAAM;IACnB;;OAEG;IACH,iBAAiB,EAAE,CAAC,cAAc,EAAE,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAE3E;;OAEG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACzD,SAAS,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAE1D;;OAEG;IACH,WAAW,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IAE/D;;OAEG;IACH,kBAAkB,EAAE,CAAC,eAAe,EAAE,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;CAChF"}
package/build/vscode.js DELETED
@@ -1,5 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
3
- "use strict";
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- //# sourceMappingURL=vscode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vscode.js","sourceRoot":"","sources":["../src/vscode.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC"}