@sap-devx/guided-development-types
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -1,2 +0,2 @@ | ||
import { IAction } from "@sap-devx/bas-platform-types"; | ||
import { IAction, ICommandAction, IExecuteAction, IFileAction, ISnippetAction, CommandActionParams, ExecuteActionParams, SnippetActionParams, FileActionParams } from "@sap-devx/bas-platform-types"; | ||
export interface ICollection { | ||
@@ -14,12 +14,13 @@ id: string; | ||
} | ||
export interface IItemContext { | ||
export interface IItemContext<T> { | ||
project: string; | ||
params?: any[]; | ||
params?: T; | ||
} | ||
export interface IItemAction { | ||
export interface IItemAction<T, K extends IAction> { | ||
name: string; | ||
title?: string; | ||
action: IAction; | ||
contexts?: IItemContext[]; | ||
action: K; | ||
contexts?: IItemContext<T>[]; | ||
} | ||
export declare type ItemAction = IItemAction<CommandActionParams, ICommandAction> | IItemAction<ExecuteActionParams, IExecuteAction> | IItemAction<SnippetActionParams, ISnippetAction> | IItemAction<FileActionParams, IFileAction>; | ||
export interface IItem { | ||
@@ -30,4 +31,4 @@ id: string; | ||
image?: IImage; | ||
action1?: IItemAction; | ||
action2?: IItemAction; | ||
action1?: ItemAction; | ||
action2?: ItemAction; | ||
itemIds?: Array<string>; | ||
@@ -34,0 +35,0 @@ labels: { |
{ | ||
"name": "@sap-devx/guided-development-types", | ||
"publisher": "SAPOSS", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"author": "", | ||
@@ -21,5 +21,5 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"@sap-devx/bas-platform-types": "0.0.9", | ||
"@sap-devx/bas-platform-types": "0.0.10", | ||
"ncp": "^2.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2792
52