move section types

This commit is contained in:
Niels Lyngsø
2024-10-25 10:36:33 +02:00
parent ce882e0ca7
commit 373e542fb5
2 changed files with 13 additions and 13 deletions

View File

@@ -1,19 +1,6 @@
import type { ManifestSectionRoute } from './section-route.extension.js';
import type { ManifestSectionSidebarApp } from './section-sidebar-app.extension.js';
import type { ManifestSectionView } from './section-view.extension.js';
import type { ManifestSection } from './section.extension.js';
export type * from './section-route.extension.js';
export type * from './section-sidebar-app.extension.js';
export type * from './section-view.extension.js';
export type * from './section.extension.js';
export type * from './types.js';
type UmbSectionExtensions = ManifestSection | ManifestSectionRoute | ManifestSectionSidebarApp | ManifestSectionView;
declare global {
interface UmbExtensionManifestMap {
UmbSectionExtensions: UmbSectionExtensions;
}
}

View File

@@ -1,3 +1,16 @@
export type * from './section-element.interface.js';
export type * from './section-sidebar-app-element.interface.js';
export type * from './section-view-element.interface.js';
import type { ManifestSectionRoute } from './section-route.extension.js';
import type { ManifestSectionSidebarApp } from './section-sidebar-app.extension.js';
import type { ManifestSectionView } from './section-view.extension.js';
import type { ManifestSection } from './section.extension.js';
type UmbSectionExtensions = ManifestSection | ManifestSectionRoute | ManifestSectionSidebarApp | ManifestSectionView;
declare global {
interface UmbExtensionManifestMap {
UmbSectionExtensions: UmbSectionExtensions;
}
}