rename entrypoint to entryPoint
This commit is contained in:
@@ -10,8 +10,7 @@ export class UmbEntryPointExtensionInitializer {
|
||||
constructor(host: UmbControllerHostElement, extensionRegistry: UmbExtensionRegistry) {
|
||||
this.#host = host;
|
||||
this.#extensionRegistry = extensionRegistry;
|
||||
// TODO: change entrypoint extension to be entryPoint:
|
||||
extensionRegistry.extensionsOfType('entrypoint').subscribe((entryPoints) => {
|
||||
extensionRegistry.extensionsOfType('entryPoint').subscribe((entryPoints) => {
|
||||
entryPoints.forEach((entryPoint) => {
|
||||
if (this.#entryPointMap.has(entryPoint.alias)) return;
|
||||
this.#entryPointMap.set(entryPoint.alias, entryPoint);
|
||||
|
||||
@@ -171,6 +171,6 @@ export interface ManifestWithMeta extends ManifestBase {
|
||||
}
|
||||
|
||||
export interface ManifestEntrypoint extends ManifestBase {
|
||||
type: 'entrypoint';
|
||||
type: 'entryPoint';
|
||||
js: string;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Document Management Entry Point',
|
||||
alias: 'Umb.EntryPoint.DocumentManagement',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Media Management Entry Point',
|
||||
alias: 'Umb.EntryPoint.MediaManagement',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Member Management Entry Point',
|
||||
alias: 'Umb.EntryPoint.MemberManagement',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Package Management Entry Point',
|
||||
alias: 'Umb.EntryPoint.PackageManagement',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Search Entry Point',
|
||||
alias: 'Umb.EntryPoint.Search',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Settings Entry Point',
|
||||
alias: 'Umb.EntryPoint.Settings',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Core Entry Point',
|
||||
alias: 'Umb.EntryPoint.Core',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Templating Entry Point',
|
||||
alias: 'Umb.EntryPoint.Templating',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'Translation Entry Point',
|
||||
alias: 'Umb.EntryPoint.Translation',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -4,7 +4,7 @@ export const extensions = [
|
||||
{
|
||||
name: 'User Management Entry Point',
|
||||
alias: 'Umb.EntryPoint.UserManagement',
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./index'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -42,7 +42,7 @@ export const manifestDevelopmentHandler = rest.get(umbracoPath('/package/manifes
|
||||
{
|
||||
extensions: [
|
||||
{
|
||||
type: 'entrypoint',
|
||||
type: 'entryPoint',
|
||||
name: 'My Custom Entry Point',
|
||||
alias: 'My.Entrypoint.Custom',
|
||||
js: '/App_Plugins/custom-entrypoint.js',
|
||||
|
||||
Reference in New Issue
Block a user