translation + news bundle
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
import { manifests as translationSectionManifests } from './section.manifest.js';
|
||||
import { manifests as dictionaryManifests } from './dictionary/manifests.js';
|
||||
|
||||
import { UmbEntryPointOnInit } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
export const manifests = [...translationSectionManifests, ...dictionaryManifests];
|
||||
|
||||
export const onInit: UmbEntryPointOnInit = (_host, extensionRegistry) => {
|
||||
extensionRegistry.registerMany(manifests);
|
||||
};
|
||||
@@ -1,9 +1,9 @@
|
||||
export const name = 'Umbraco.Core.TranslationManagement';
|
||||
export const extensions = [
|
||||
{
|
||||
name: 'Translation Entry Point',
|
||||
alias: 'Umb.EntryPoint.Translation',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index.js'),
|
||||
name: 'Translation Management Bundle',
|
||||
alias: 'Umb.Bundle.TranslationManagement',
|
||||
type: 'bundle',
|
||||
loader: () => import('./manifests.js'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { UmbEntryPointOnInit } from '@umbraco-cms/backoffice/extension-api';
|
||||
import { ManifestDashboard } from '@umbraco-cms/backoffice/extension-registry';
|
||||
|
||||
const dashboard: ManifestDashboard = {
|
||||
export const dashboard: ManifestDashboard = {
|
||||
type: 'dashboard',
|
||||
alias: 'Umb.Dashboard.UmbracoNews',
|
||||
name: 'Umbraco News Dashboard',
|
||||
@@ -15,5 +14,3 @@ const dashboard: ManifestDashboard = {
|
||||
sections: ['Umb.Section.Content'],
|
||||
},
|
||||
};
|
||||
|
||||
export const onInit: UmbEntryPointOnInit = (_host, extensionRegistry) => extensionRegistry.register(dashboard);
|
||||
@@ -1,9 +1,9 @@
|
||||
export const name = 'Umbraco.Core.UmbracoNews';
|
||||
export const extensions = [
|
||||
{
|
||||
name: 'Umbraco News Entry Point',
|
||||
alias: 'Umb.EntryPoint.UmbracoNews',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index.js'),
|
||||
name: 'Umbraco News Bundle',
|
||||
alias: 'Umb.Bundle.UmbracoNews',
|
||||
type: 'bundle',
|
||||
loader: () => import('./manifests.js'),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user