File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
extension-registry/models Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ import type { ManifestSection } from './section.model.js';
35
35
import type { ManifestSectionSidebarApp , ManifestSectionSidebarAppMenuKind } from './section-sidebar-app.model.js' ;
36
36
import type { ManifestSectionView } from './section-view.model.js' ;
37
37
import type { ManifestStore , ManifestTreeStore , ManifestItemStore } from './store.model.js' ;
38
- import type { ManifestTheme } from './theme.model.js' ;
39
38
import type { ManifestTinyMcePlugin } from './tinymce-plugin.model.js' ;
40
39
import type { ManifestUfmComponent } from './ufm-component.model.js' ;
41
40
import type { ManifestUfmFilter } from './ufm-filter.model.js' ;
@@ -80,7 +79,6 @@ export type * from './section-sidebar-app.model.js';
80
79
export type * from './section-view.model.js' ;
81
80
export type * from './section.model.js' ;
82
81
export type * from './store.model.js' ;
83
- export type * from './theme.model.js' ;
84
82
export type * from './tinymce-plugin.model.js' ;
85
83
export type * from './ufm-component.model.js' ;
86
84
export type * from './ufm-filter.model.js' ;
@@ -145,7 +143,6 @@ export type ManifestTypes =
145
143
| ManifestSectionSidebarAppMenuKind
146
144
| ManifestSectionView
147
145
| ManifestStore
148
- | ManifestTheme
149
146
| ManifestTinyMcePlugin
150
147
| ManifestTreeStore
151
148
| 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 @@ -3,7 +3,7 @@ import { umbExtensionsRegistry } from '@umbraco-cms/backoffice/extension-registr
3
3
import { UmbContextBase } from '@umbraco-cms/backoffice/class-api' ;
4
4
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api' ;
5
5
import { UmbStringState } from '@umbraco-cms/backoffice/observable-api' ;
6
- import type { ManifestTheme } from '@umbraco-cms/backoffice/extension-registry ' ;
6
+ import type { ManifestTheme } from '@umbraco-cms/backoffice/themes ' ;
7
7
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api' ;
8
8
import type { UmbObserverController } from '@umbraco-cms/backoffice/observable-api' ;
9
9
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