add entity action models
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import type { ManifestElement } from './models';
|
||||
|
||||
export interface ManifestEntityAction extends ManifestElement {
|
||||
type: 'entityAction';
|
||||
meta: MetaEntityAction;
|
||||
}
|
||||
|
||||
export interface MetaEntityAction {
|
||||
icon: string;
|
||||
label: string;
|
||||
entityType: string;
|
||||
api: any; // create interface
|
||||
}
|
||||
@@ -19,6 +19,7 @@ import type { ManifestCollectionView } from './collection-view.models';
|
||||
import type { ManifestHealthCheck } from './health-check.models';
|
||||
import type { ManifestSidebarMenuItem } from './sidebar-menu-item.models';
|
||||
import type { ManifestTheme } from './theme.models';
|
||||
import type { ManifestEntityAction } from './entity-action.models';
|
||||
|
||||
export * from './header-app.models';
|
||||
export * from './section.models';
|
||||
@@ -66,7 +67,8 @@ export type ManifestTypes =
|
||||
| ManifestCollectionView
|
||||
| ManifestHealthCheck
|
||||
| ManifestSidebarMenuItem
|
||||
| ManifestTheme;
|
||||
| ManifestTheme
|
||||
| ManifestEntityAction;
|
||||
|
||||
export type ManifestStandardTypes = ManifestTypes['type'];
|
||||
|
||||
@@ -103,7 +105,6 @@ export interface MetaManifestWithView {
|
||||
icon: string;
|
||||
}
|
||||
|
||||
|
||||
export interface ManifestElementWithElementName extends ManifestElement {
|
||||
elementName: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user