add conditions to entity action
This commit is contained in:
@@ -3,12 +3,16 @@ import type { ManifestElement } from './models';
|
||||
export interface ManifestEntityAction extends ManifestElement {
|
||||
type: 'entityAction';
|
||||
meta: MetaEntityAction;
|
||||
conditions: ConditionsEntityAction;
|
||||
}
|
||||
|
||||
export interface MetaEntityAction {
|
||||
icon?: string;
|
||||
label: string;
|
||||
entityType: string;
|
||||
api: any; // create interface
|
||||
repositoryAlias: string;
|
||||
}
|
||||
|
||||
export interface ConditionsEntityAction {
|
||||
entityType: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user