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

@sap-devx/bas-platform-types

Package Overview
Dependencies
Maintainers
8
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-devx/bas-platform-types - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

14

out/src/actions/impl.d.ts

@@ -1,3 +0,3 @@

import { Uri } from "vscode";
import { ActionType, IAction, ICommandAction, IExecuteAction, IFileAction, ISnippetAction } from "./interfaces";
/// <reference types="vscode" />
import { ActionType, IAction, ICommandAction, IExecuteAction, IFileAction, ISnippetAction, CommandActionParams, ExecuteActionParams, SnippetActionParams, FileActionParams } from "./interfaces";
declare abstract class Action implements IAction {

@@ -8,4 +8,4 @@ actionType: ActionType | undefined;

export declare class ExecuteAction extends Action implements IExecuteAction {
executeAction: (params?: any[]) => Thenable<any>;
params?: any[];
executeAction: (params?: ExecuteActionParams) => Thenable<any>;
params?: ExecuteActionParams;
constructor();

@@ -15,3 +15,3 @@ }

name: string;
params?: any[];
params?: CommandActionParams;
constructor();

@@ -22,9 +22,9 @@ }

snippetName: string;
context: any;
context: SnippetActionParams;
constructor();
}
export declare class FileAction extends Action implements IFileAction {
uri: Uri;
uri: FileActionParams;
constructor();
}
export {};

@@ -13,4 +13,4 @@ "use strict";

this.actionType = interfaces_1.ActionType.Execute;
this.executeAction = (params) => { return Promise.resolve(); };
this.params = [];
this.executeAction = (params) => { return Promise.resolve(); };
}

@@ -33,4 +33,4 @@ }

this.contributorId = "";
this.snippetName = "";
this.context = "";
this.snippetName = "";
}

@@ -37,0 +37,0 @@ }

@@ -9,8 +9,16 @@ import * as vscode from "vscode";

}
export declare type CommandActionParams = any[];
export declare type ExecuteActionParams = any[];
export declare type SnippetActionParams = any;
export declare type FileActionParams = vscode.Uri;
export interface IAction {
actionType: ActionType | undefined;
}
export interface IExecuteAction extends IAction {
executeAction: (params?: ExecuteActionParams) => Thenable<any>;
params?: ExecuteActionParams;
}
export interface ICommandAction extends IAction {
name: string;
params?: any[];
params?: CommandActionParams;
}

@@ -20,10 +28,6 @@ export interface ISnippetAction extends IAction {

snippetName: string;
context: any;
context: SnippetActionParams;
}
export interface IFileAction extends IAction {
uri: vscode.Uri;
uri: FileActionParams;
}
export interface IExecuteAction extends IAction {
executeAction: (params?: any[]) => Thenable<any>;
params?: any[];
}
{
"name": "@sap-devx/bas-platform-types",
"publisher": "SAPOSS",
"version": "0.0.9",
"version": "0.0.10",
"author": "",

@@ -6,0 +6,0 @@ "license": "Apache-2.0",

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