File tree Expand file tree Collapse file tree 11 files changed +34
-45
lines changed Expand file tree Collapse file tree 11 files changed +34
-45
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
import { UmbSectionSidebarMenuElement } from '../section-sidebar-menu/section-sidebar-menu.element.js' ;
2
- import type { ManifestSectionSidebarAppMenuWithEntityActionsKind } from '../types.js' ;
2
+ import type { ManifestSectionSidebarAppMenuWithEntityActionsKind } from '../section-sidebar-menu/ types.js' ;
3
3
import { css , html , customElement } from '@umbraco-cms/backoffice/external/lit' ;
4
4
import type { UmbExtensionManifestKind } from '@umbraco-cms/backoffice/extension-registry' ;
5
5
import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registry' ;
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
- import type { ManifestSectionSidebarAppBaseMenu , ManifestSectionSidebarAppMenuKind } from '.. /types.js' ;
1
+ import type { ManifestSectionSidebarAppBaseMenu , ManifestSectionSidebarAppMenuKind } from './types.js' ;
2
2
import { UmbTextStyles } from '@umbraco-cms/backoffice/style' ;
3
3
import { css , html , customElement , property } from '@umbraco-cms/backoffice/external/lit' ;
4
4
import type { ManifestMenu , UmbExtensionManifestKind } from '@umbraco-cms/backoffice/extension-registry' ;
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import type { ManifestSectionSidebarApp } from '@umbraco-cms/backoffice/section' ;
2
+
3
+ export interface MetaSectionSidebarAppMenuKind {
4
+ label : string ;
5
+ menu : string ;
6
+ }
7
+
8
+ export interface ManifestSectionSidebarAppBaseMenu extends ManifestSectionSidebarApp {
9
+ type : 'sectionSidebarApp' ;
10
+ meta : MetaSectionSidebarAppMenuKind ;
11
+ }
12
+
13
+ export interface ManifestSectionSidebarAppMenuKind extends ManifestSectionSidebarAppBaseMenu {
14
+ type : 'sectionSidebarApp' ;
15
+ kind : 'menu' ;
16
+ }
17
+
18
+ export interface ManifestSectionSidebarAppMenuWithEntityActionsKind extends ManifestSectionSidebarAppBaseMenu {
19
+ type : 'sectionSidebarApp' ;
20
+ kind : 'menuWithEntityActions' ;
21
+ meta : MetaSectionSidebarAppMenuWithEntityActionsKind ;
22
+ }
23
+
24
+ export interface MetaSectionSidebarAppMenuWithEntityActionsKind extends MetaSectionSidebarAppMenuKind {
25
+ entityType : string ;
26
+ }
Original file line number Diff line number Diff line change 1
1
import type { ManifestSectionRoute } from './section-route.extension.js' ;
2
- import type { ManifestSectionSidebarApp , ManifestSectionSidebarAppMenuKind } from './section-sidebar-app.extension.js' ;
2
+ import type { ManifestSectionSidebarApp } from './section-sidebar-app.extension.js' ;
3
3
import type { ManifestSectionView } from './section-view.extension.js' ;
4
4
import type { ManifestSection } from './section.extension.js' ;
5
5
@@ -10,12 +10,7 @@ export type * from './section.extension.js';
10
10
11
11
export type * from './types.js' ;
12
12
13
- type UmbSectionExtensions =
14
- | ManifestSection
15
- | ManifestSectionRoute
16
- | ManifestSectionSidebarApp
17
- | ManifestSectionSidebarAppMenuKind
18
- | ManifestSectionView ;
13
+ type UmbSectionExtensions = ManifestSection | ManifestSectionRoute | ManifestSectionSidebarApp | ManifestSectionView ;
19
14
20
15
declare global {
21
16
interface UmbExtensionManifestMap {
Original file line number Diff line number Diff line change @@ -6,28 +6,3 @@ export interface ManifestSectionSidebarApp
6
6
ManifestWithDynamicConditions < UmbExtensionCondition > {
7
7
type : 'sectionSidebarApp' ;
8
8
}
9
-
10
- export interface ManifestSectionSidebarAppBaseMenu extends ManifestSectionSidebarApp {
11
- type : 'sectionSidebarApp' ;
12
- meta : MetaSectionSidebarAppMenuKind ;
13
- }
14
-
15
- export interface ManifestSectionSidebarAppMenuKind extends ManifestSectionSidebarAppBaseMenu {
16
- type : 'sectionSidebarApp' ;
17
- kind : 'menu' ;
18
- }
19
-
20
- export interface MetaSectionSidebarAppMenuKind {
21
- label : string ;
22
- menu : string ;
23
- }
24
-
25
- export interface ManifestSectionSidebarAppMenuWithEntityActionsKind extends ManifestSectionSidebarAppBaseMenu {
26
- type : 'sectionSidebarApp' ;
27
- kind : 'menuWithEntityActions' ;
28
- meta : MetaSectionSidebarAppMenuWithEntityActionsKind ;
29
- }
30
-
31
- export interface MetaSectionSidebarAppMenuWithEntityActionsKind extends MetaSectionSidebarAppMenuKind {
32
- entityType : string ;
33
- }
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ export * from './section-default.element.js';
4
4
export * from './section-main/index.js' ;
5
5
export * from './section-picker-modal/section-picker-modal.token.js' ;
6
6
export * from './section-sidebar-context-menu/index.js' ;
7
- export * from './section-sidebar-menu-with-entity-actions/index.js' ;
8
- export * from './section-sidebar-menu/index.js' ;
7
+ export * from '../menu /section-sidebar-menu-with-entity-actions/index.js' ;
8
+ export * from '../menu /section-sidebar-menu/index.js' ;
9
9
export * from './section-sidebar/index.js' ;
10
10
export * from './section.context.js' ;
11
11
export type * from './types.js' ;
You can’t perform that action at this time.
0 commit comments