add packageView to extension registry
This commit is contained in:
@@ -11,6 +11,7 @@ import type {
|
|||||||
ManifestPropertyEditorUI,
|
ManifestPropertyEditorUI,
|
||||||
ManifestSection,
|
ManifestSection,
|
||||||
ManifestCustom,
|
ManifestCustom,
|
||||||
|
ManifestPackageView,
|
||||||
} from '../models';
|
} from '../models';
|
||||||
export class UmbExtensionRegistry {
|
export class UmbExtensionRegistry {
|
||||||
private _extensions = new BehaviorSubject<Array<ManifestTypes>>([]);
|
private _extensions = new BehaviorSubject<Array<ManifestTypes>>([]);
|
||||||
@@ -47,6 +48,7 @@ export class UmbExtensionRegistry {
|
|||||||
extensionsOfType(type: 'editorView'): Observable<Array<ManifestEditorView>>;
|
extensionsOfType(type: 'editorView'): Observable<Array<ManifestEditorView>>;
|
||||||
extensionsOfType(type: 'propertyEditorUI'): Observable<Array<ManifestPropertyEditorUI>>;
|
extensionsOfType(type: 'propertyEditorUI'): Observable<Array<ManifestPropertyEditorUI>>;
|
||||||
extensionsOfType(type: 'propertyAction'): Observable<Array<ManifestPropertyAction>>;
|
extensionsOfType(type: 'propertyAction'): Observable<Array<ManifestPropertyAction>>;
|
||||||
|
extensionsOfType(type: 'packageView'): Observable<Array<ManifestPackageView>>;
|
||||||
extensionsOfType(type: 'entrypoint'): Observable<Array<ManifestEntrypoint>>;
|
extensionsOfType(type: 'entrypoint'): Observable<Array<ManifestEntrypoint>>;
|
||||||
extensionsOfType(type: 'custom'): Observable<Array<ManifestCustom>>;
|
extensionsOfType(type: 'custom'): Observable<Array<ManifestCustom>>;
|
||||||
extensionsOfType<T extends ManifestTypes>(type: string): Observable<Array<T>>;
|
extensionsOfType<T extends ManifestTypes>(type: string): Observable<Array<T>>;
|
||||||
|
|||||||
@@ -24,13 +24,15 @@ export type ManifestEditorView = components['schemas']['IManifestEditorView'];
|
|||||||
export type ManifestPropertyAction = components['schemas']['IManifestPropertyAction'];
|
export type ManifestPropertyAction = components['schemas']['IManifestPropertyAction'];
|
||||||
export type ManifestEntrypoint = components['schemas']['IManifestEntrypoint'];
|
export type ManifestEntrypoint = components['schemas']['IManifestEntrypoint'];
|
||||||
export type ManifestCustom = components['schemas']['IManifestCustom'];
|
export type ManifestCustom = components['schemas']['IManifestCustom'];
|
||||||
|
export type ManifestPackageView = components['schemas']['IManifestPackageView'];
|
||||||
|
|
||||||
export type ManifestElementType =
|
export type ManifestElementType =
|
||||||
| ManifestSection
|
| ManifestSection
|
||||||
| ManifestPropertyAction
|
| ManifestPropertyAction
|
||||||
| ManifestPropertyEditorUI
|
| ManifestPropertyEditorUI
|
||||||
| ManifestDashboard
|
| ManifestDashboard
|
||||||
| ManifestEditorView;
|
| ManifestEditorView
|
||||||
|
| ManifestPackageView;
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
export type HTMLElementConstructor<T = HTMLElement> = new (...args: any[]) => T;
|
export type HTMLElementConstructor<T = HTMLElement> = new (...args: any[]) => T;
|
||||||
|
|||||||
Reference in New Issue
Block a user