@microsoft/teamsfx-api
Advanced tools
Comparing version 0.5.1-alpha.0b071c87.0 to 0.5.1-alpha.3bbaf45b.0
@@ -35,4 +35,7 @@ export declare const ConfigFolderName = "fx"; | ||
userTask = "userTask", | ||
update = "update" | ||
update = "update", | ||
grantPermission = "grantPermission", | ||
checkPermission = "checkPermission", | ||
listCollaborator = "listCollaborator" | ||
} | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -44,3 +44,6 @@ // Copyright (c) Microsoft Corporation. | ||
Stage["update"] = "update"; | ||
Stage["grantPermission"] = "grantPermission"; | ||
Stage["checkPermission"] = "checkPermission"; | ||
Stage["listCollaborator"] = "listCollaborator"; | ||
})(Stage = exports.Stage || (exports.Stage = {})); | ||
//# sourceMappingURL=constants.js.map |
@@ -27,3 +27,9 @@ import { Result } from "neverthrow"; | ||
decrypt: (ciphertext: string, inputs: Inputs) => Promise<Result<string, FxError>>; | ||
/** | ||
* For grant and check permission in remote collaboration | ||
*/ | ||
grantPermission: (systemInputs: Inputs) => Promise<Result<any, FxError>>; | ||
checkPermission: (systemInputs: Inputs) => Promise<Result<any, FxError>>; | ||
listCollaborator: (systemInputs: Inputs) => Promise<Result<any, FxError>>; | ||
} | ||
//# sourceMappingURL=core.d.ts.map |
@@ -62,3 +62,9 @@ import { Context, PluginContext } from "./context"; | ||
executeUserTask?: (func: Func, ctx: PluginContext) => Promise<Result<any, FxError>>; | ||
/** | ||
* For grant and check permission in remote collaboration | ||
*/ | ||
grantPermission?: (ctx: PluginContext) => Promise<Result<any, FxError>>; | ||
checkPermission?: (ctx: PluginContext) => Promise<Result<any, FxError>>; | ||
listCollaborator?: (ctx: PluginContext) => Promise<Result<any, FxError>>; | ||
} | ||
//# sourceMappingURL=plugin.d.ts.map |
@@ -17,3 +17,9 @@ import { Result } from "neverthrow"; | ||
executeUserTask?: (func: Func, ctx: SolutionContext) => Promise<Result<any, FxError>>; | ||
/** | ||
* For grant and check permission in remote collaboration | ||
*/ | ||
grantPermission?: (ctx: SolutionContext) => Promise<Result<any, FxError>>; | ||
checkPermission?: (ctx: SolutionContext) => Promise<Result<any, FxError>>; | ||
listCollaborator?: (ctx: SolutionContext) => Promise<Result<any, FxError>>; | ||
} | ||
//# sourceMappingURL=solution.d.ts.map |
@@ -52,2 +52,3 @@ import { OptionItem } from "./qm"; | ||
programmingLanguage?: string; | ||
defaultFunctionName?: string; | ||
solutionSettings?: SolutionSettings; | ||
@@ -54,0 +55,0 @@ } |
@@ -91,3 +91,3 @@ import { Result } from "neverthrow"; | ||
/** | ||
* configureResource is guaranteed to run after Bicep/ARM provisioning. | ||
* configureResource is guarantee to run after Bicep/ARM provisioning. | ||
* Plugins are expected to read the provision output values of other plugins, and return a new copy of its own provision output, | ||
@@ -140,3 +140,3 @@ * possibly with added fields. | ||
*/ | ||
publishApplication?: (ctx: Context, inputs: Inputs, tokenProvider: AppStudioTokenProvider) => Promise<Result<Void, FxError>>; | ||
publishApplication?: (ctx: Context, inputs: Inputs, provisionOutputs: Readonly<Record<PluginName, ProvisionOutput>>, tokenProvider: AppStudioTokenProvider) => Promise<Result<Void, FxError>>; | ||
/** | ||
@@ -143,0 +143,0 @@ * provisionLocalResource is a special lifecycle, called when users press F5 in vscode. |
@@ -28,7 +28,6 @@ import { UserInteraction } from "../qm/ui"; | ||
teamsAppTenantId: string; | ||
remoteTeamsAppId?: string; | ||
}; | ||
export declare type ProvisionInputs = Inputs & SolutionInputs; | ||
export declare type DeploymentInputs = Inputs & SolutionInputs & { | ||
remoteTeamsAppId: string; | ||
}; | ||
export declare type DeploymentInputs = Inputs & SolutionInputs; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@microsoft/teamsfx-api", | ||
"version": "0.5.1-alpha.0b071c87.0", | ||
"version": "0.5.1-alpha.3bbaf45b.0", | ||
"description": "teamsfx framework api", | ||
@@ -63,3 +63,3 @@ "main": "build/index.js", | ||
}, | ||
"gitHead": "e2427c02755010b6a45afd462b0928e331830258", | ||
"gitHead": "8a8132dee458c4da73460428e8760ca88ad135f0", | ||
"publishConfig": { | ||
@@ -66,0 +66,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
208616
3305