Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/teamsfx-api

Package Overview
Dependencies
Maintainers
4
Versions
1331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/teamsfx-api - npm Package Compare versions

Comparing version 0.3.0-alpha.def66483.0 to 0.3.0-rc.0

39

build/utils/dialog.d.ts

@@ -35,12 +35,2 @@ import { Result } from "neverthrow";

communicate: (msg: DialogMsg) => Promise<DialogMsg>;
/**
* Create a new progress bar with the specified title and the number of steps. It will
* return a progress handler and you can use this handler to control the detail message
* of it.
* ${currentStep} will increase from 0 to ${totalSteps}.
* @param title the title of this progress bar.
* @param totalSteps the number of steps.
* @returns the handler of a progress bar
*/
createProgressBar: (title: string, totalSteps: number) => IProgressHandler;
}

@@ -50,25 +40,2 @@ /**

*/
interface IProgressHandler {
/**
* Start this progress bar. After calling it, the progress bar will be seen to users with
* ${currentStep} = 0 and ${detail} = detail.
* @param detail the detail message of the next work.
*/
start: (detail?: string) => Promise<void>;
/**
* Update the progress bar's message. After calling it, the progress bar will be seen to
* users with ${currentStep}++ and ${detail} = detail.
* This func must be called after calling start().
* @param detail the detail message of the next work.
*/
next: (detail?: string) => Promise<void>;
/**
* End the progress bar. After calling it, the progress bar will disappear. This handler
* can be reused after calling end().
*/
end: () => Promise<void>;
}
/**
* @deprecated
*/
export declare enum MsgLevel {

@@ -92,9 +59,4 @@ Info = "Info",

export declare enum QuestionType {
Text = "Text",
Radio = "radio",
SelectFolder = "SelectFolder",
OpenFolder = "OpenFolder",
ExecuteCmd = "ExecuteCmd",
OpenExternal = "OpenExternal",
Confirm = "Confirm",
UpdateGlobalState = "UpdateGlobalState"

@@ -155,3 +117,2 @@ }

}
export {};
//# sourceMappingURL=dialog.d.ts.map

@@ -20,9 +20,4 @@ // Copyright (c) Microsoft Corporation.

(function (QuestionType) {
QuestionType["Text"] = "Text";
QuestionType["Radio"] = "radio";
QuestionType["SelectFolder"] = "SelectFolder";
QuestionType["OpenFolder"] = "OpenFolder";
QuestionType["ExecuteCmd"] = "ExecuteCmd";
QuestionType["OpenExternal"] = "OpenExternal";
QuestionType["Confirm"] = "Confirm";
QuestionType["UpdateGlobalState"] = "UpdateGlobalState";

@@ -29,0 +24,0 @@ })(QuestionType = exports.QuestionType || (exports.QuestionType = {}));

12

package.json
{
"name": "@microsoft/teamsfx-api",
"version": "0.3.0-alpha.def66483.0",
"version": "0.3.0-rc.0",
"description": "teamsfx framework api",

@@ -24,3 +24,3 @@ "main": "build/index.js",

"doc": "typedoc",
"test:unit": "nyc --reporter=html --reporter=text mocha --no-timeouts --require ts-node/register tests/**/*.ts",
"test:unit": "nyc --check-coverage --reporter=html --reporter=json-summary --reporter=text mocha --no-timeouts --require ts-node/register tests/**/*.ts",
"prepublishOnly": "npm run test:unit && npm run build",

@@ -62,3 +62,3 @@ "precommit": "lint-staged"

},
"gitHead": "def66483a50973522f9c45ba61e5366d51f5d050",
"gitHead": "140291cfc3ea06c656be38c58ed53764c96ac601",
"publishConfig": {

@@ -74,3 +74,9 @@ "access": "public"

]
},
"nyc": {
"branches": 70,
"lines": 70,
"functions": 70,
"statements": 70
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc