align weights on 'create' actions so they all appear on top if a certain item has them

this had to be fixed since the default 'delete' kind was bumped to 1100
This commit is contained in:
Jacob Overgaard
2024-04-16 09:16:11 +02:00
parent 21e306aa10
commit eadb9ded5b
10 changed files with 10 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ const entityActions: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.DataType.Create',
name: 'Create Data Type Entity Action',
weight: 1000,
weight: 1200,
api: UmbCreateDataTypeEntityAction,
forEntityTypes: [UMB_DATA_TYPE_ROOT_ENTITY_TYPE, UMB_DATA_TYPE_FOLDER_ENTITY_TYPE],
meta: {

View File

@@ -12,7 +12,7 @@ const entityActions: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.DocumentType.Create',
name: 'Create Document Type Entity Action',
weight: 1000,
weight: 1200,
api: UmbCreateDataTypeEntityAction,
forEntityTypes: [
UMB_DOCUMENT_TYPE_ENTITY_TYPE,

View File

@@ -20,7 +20,7 @@ const entityActions: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.Language.Create',
name: 'Create Language Entity Action',
weight: 900,
weight: 1200,
api: UmbLanguageCreateEntityAction,
forEntityTypes: [UMB_LANGUAGE_ROOT_ENTITY_TYPE],
meta: {

View File

@@ -12,7 +12,7 @@ const entityActions: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.MediaType.Create',
name: 'Create Media Type Entity Action',
weight: 1000,
weight: 1200,
api: UmbCreateMediaTypeEntityAction,
forEntityTypes: [UMB_MEDIA_TYPE_ENTITY_TYPE, UMB_MEDIA_TYPE_ROOT_ENTITY_TYPE, UMB_MEDIA_TYPE_FOLDER_ENTITY_TYPE],
meta: {

View File

@@ -8,7 +8,7 @@ const entityActions: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.Media.Create',
name: 'Create Media Entity Action',
weight: 1000,
weight: 1200,
api: UmbCreateMediaEntityAction,
forEntityTypes: [UMB_MEDIA_ROOT_ENTITY_TYPE, UMB_MEDIA_ENTITY_TYPE],
meta: {

View File

@@ -11,7 +11,7 @@ const entityActions: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.MemberType.Create',
name: 'Create Member Type Entity Action',
weight: 1000,
weight: 1200,
api: UmbCreateMemberTypeEntityAction,
forEntityTypes: [UMB_MEMBER_TYPE_ROOT_ENTITY_TYPE],
meta: {

View File

@@ -8,7 +8,7 @@ export const manifests: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.PartialView.CreateOptions',
name: 'Partial View Create Options Entity Action',
weight: 1000,
weight: 1200,
api: UmbPartialViewCreateOptionsEntityAction,
forEntityTypes: [UMB_PARTIAL_VIEW_ROOT_ENTITY_TYPE, UMB_PARTIAL_VIEW_FOLDER_ENTITY_TYPE],
meta: {

View File

@@ -8,7 +8,7 @@ export const manifests: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.Script.CreateOptions',
name: 'Script Create Options Entity Action',
weight: 1000,
weight: 1200,
api: UmbScriptCreateOptionsEntityAction,
forEntityTypes: [UMB_SCRIPT_ROOT_ENTITY_TYPE, UMB_SCRIPT_FOLDER_ENTITY_TYPE],
meta: {

View File

@@ -8,7 +8,7 @@ export const manifests: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.Stylesheet.CreateOptions',
name: 'Stylesheet Create Options Entity Action',
weight: 1000,
weight: 1200,
api: UmbStylesheetCreateOptionsEntityAction,
forEntityTypes: [UMB_STYLESHEET_ROOT_ENTITY_TYPE, UMB_STYLESHEET_FOLDER_ENTITY_TYPE],
meta: {

View File

@@ -9,6 +9,7 @@ const entityActions: Array<ManifestTypes> = [
kind: 'default',
alias: 'Umb.EntityAction.Template.Create',
name: 'Create Template Entity Action',
weight: 1200,
api: UmbCreateEntityAction,
forEntityTypes: [UMB_TEMPLATE_ENTITY_TYPE, UMB_TEMPLATE_ROOT_ENTITY_TYPE],
meta: {