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

@eclipse-che/plugin

Package Overview
Dependencies
Maintainers
4
Versions
896
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eclipse-che/plugin - npm Package Compare versions

Comparing version 0.0.1-1547221824 to 0.0.1-1547622875

2

package.json
{
"name": "@eclipse-che/plugin",
"version": "0.0.1-1547221824",
"version": "0.0.1-1547622875",
"description": "Eclipse Che specific Theia plugin API",

@@ -5,0 +5,0 @@ "publishConfig": {

@@ -90,2 +90,40 @@ /*********************************************************************

export namespace task {
export function registerTaskRunner(type: string, runner: TaskRunner): Promise<Disposable>;
export function fireTaskExited(id: number): Promise<void>;
}
/** A Task Runner knows how to run a Task of a particular type. */
export interface TaskRunner {
/** Runs a task based on the given task configuration. */
run(taskConfig: TaskConfiguration, ctx?: string): Promise<Task>;
}
export interface Task {
/** Terminates the task. */
kill(): Promise<void>;
/** Returns runtime information about task. */
getRuntimeInfo(): TaskInfo;
}
/** Runtime information about Task. */
export interface TaskInfo {
/** internal unique task id */
readonly taskId: number,
/** terminal id. Defined if task is run as a terminal process */
readonly terminalId?: number,
/** context that was passed as part of task creation, if any */
readonly ctx?: string,
/** task config used for launching a task */
readonly config: TaskConfiguration
}
export interface TaskConfiguration {
readonly type: string;
/** A label that uniquely identifies a task configuration */
readonly label: string;
/** Additional task type specific properties. */
readonly [key: string]: string;
}
}
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