add kind types

This commit is contained in:
Mads Rasmussen
2024-04-01 10:12:10 +02:00
parent 198ab9a504
commit e8bf184177
2 changed files with 13 additions and 3 deletions

View File

@@ -15,10 +15,9 @@ export const manifest: UmbBackofficeManifestKind = {
forEntityTypes: [],
meta: {
icon: 'icon-height',
label: 'Sort (TBD)...',
label: 'Sort...',
itemRepositoryAlias: '',
moveRepositoryAlias: '',
pickerModal: '',
sortRepositoryAlias: '',
},
},
};

View File

@@ -130,3 +130,14 @@ export interface ManifestEntityActionDeleteFolderKind extends ManifestEntityActi
export interface MetaEntityActionFolderKind extends MetaEntityActionDefaultKind {
folderRepositoryAlias: string;
}
// SORT
export interface ManifestEntityActionSortKind extends ManifestEntityAction<MetaEntityActionSortKind> {
type: 'entityAction';
kind: 'sort';
}
export interface MetaEntityActionSortKind extends MetaEntityActionDefaultKind {
itemRepositoryAlias: string;
sortRepositoryAlias: string;
}