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

@sap-devx/guided-development-types

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-devx/guided-development-types - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

39

out/src/types.d.ts

@@ -14,13 +14,40 @@ import { IAction, ICommandAction, IExecuteAction, IFileAction, ISnippetAction, CommandActionParams, ExecuteActionParams, SnippetActionParams, FileActionParams } from "@sap-devx/bas-platform-types";

}
export interface IItemContext<T> {
export interface IItemContext {
project: string;
params?: T;
}
export interface IItemAction<T, K extends IAction> {
export interface IItemAction {
name: string;
title?: string;
action: K;
contexts?: IItemContext<T>[];
action: IAction;
contexts?: IItemContext[];
}
export declare type ItemAction = IItemAction<CommandActionParams, ICommandAction> | IItemAction<ExecuteActionParams, IExecuteAction> | IItemAction<SnippetActionParams, ISnippetAction> | IItemAction<FileActionParams, IFileAction>;
export interface IItemCommandContext extends IItemContext {
params?: CommandActionParams;
}
export interface IItemCommandAction extends IItemAction {
action: ICommandAction;
contexts?: IItemCommandContext[];
}
export interface IItemExecuteContext extends IItemContext {
params?: ExecuteActionParams;
}
export interface IItemExecuteAction extends IItemAction {
action: IExecuteAction;
contexts?: IItemExecuteContext[];
}
export interface IItemSnippetContext extends IItemContext {
context?: SnippetActionParams;
}
export interface IItemSnippetAction extends IItemAction {
action: ISnippetAction;
contexts?: IItemSnippetContext[];
}
export interface IItemFileContext extends IItemContext {
uri?: FileActionParams;
}
export interface IItemFileAction extends IItemAction {
action: IFileAction;
contexts?: IItemFileContext[];
}
export declare type ItemAction = IItemCommandAction | IItemExecuteAction | IItemSnippetAction | IItemFileAction;
export interface IItem {

@@ -27,0 +54,0 @@ id: string;

2

package.json
{
"name": "@sap-devx/guided-development-types",
"publisher": "SAPOSS",
"version": "0.0.9",
"version": "0.0.10",
"author": "",

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

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