File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
extension-registry/models Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import type { ManifestSection } from './section.model.js';
38
38
import type { ManifestSectionSidebarApp , ManifestSectionSidebarAppMenuKind } from './section-sidebar-app.model.js' ;
39
39
import type { ManifestSectionView } from './section-view.model.js' ;
40
40
import type { ManifestStore , ManifestTreeStore , ManifestItemStore } from './store.model.js' ;
41
- import type { ManifestTheme } from './theme.model.js' ;
42
41
import type { ManifestTinyMcePlugin } from './tinymce-plugin.model.js' ;
43
42
import type { ManifestUfmComponent } from './ufm-component.model.js' ;
44
43
import type { ManifestUfmFilter } from './ufm-filter.model.js' ;
@@ -86,7 +85,6 @@ export type * from './section-sidebar-app.model.js';
86
85
export type * from './section-view.model.js' ;
87
86
export type * from './section.model.js' ;
88
87
export type * from './store.model.js' ;
89
- export type * from './theme.model.js' ;
90
88
export type * from './tinymce-plugin.model.js' ;
91
89
export type * from './ufm-component.model.js' ;
92
90
export type * from './ufm-filter.model.js' ;
@@ -156,7 +154,6 @@ export type ManifestTypes =
156
154
| ManifestSectionSidebarAppMenuKind
157
155
| ManifestSectionView
158
156
| ManifestStore
159
- | ManifestTheme
160
157
| ManifestTinyMcePlugin
161
158
| ManifestTreeStore
162
159
| ManifestUfmComponent
Original file line number Diff line number Diff line change 1
1
export * from './theme.context.js' ;
2
+ export type * from './theme.extension.js' ;
Original file line number Diff line number Diff line change 1
- import type { ManifestGlobalContext , ManifestTheme } from '@umbraco-cms/backoffice/extension-registry' ;
2
-
3
- export const themes : Array < ManifestGlobalContext | ManifestTheme > = [
1
+ export const themes : Array < UmbExtensionManifest > = [
4
2
{
5
3
type : 'globalContext' ,
6
4
alias : 'Umb.GlobalContext.Theme' ,
Original file line number Diff line number Diff line change @@ -5,3 +5,9 @@ import type { ManifestPlainCss } from '@umbraco-cms/backoffice/extension-api';
5
5
export interface ManifestTheme extends ManifestPlainCss {
6
6
type : 'theme' ;
7
7
}
8
+
9
+ declare global {
10
+ interface UmbExtensionManifestMap {
11
+ UMB_THEME : ManifestTheme ;
12
+ }
13
+ }
You can’t perform that action at this time.
0 commit comments