allow base manifests to be registered (those would come from the server)

This commit is contained in:
Jacob Overgaard
2023-02-23 16:25:15 +01:00
parent 06c1a495a9
commit a111ea9ab2

View File

@@ -76,7 +76,8 @@ export type ManifestTypes =
| ManifestWorkspace
| ManifestWorkspaceAction
| ManifestWorkspaceView
| ManifestWorkspaceViewCollection;
| ManifestWorkspaceViewCollection
| ManifestBase;
export type ManifestStandardTypes = ManifestTypes['type'];
@@ -112,7 +113,7 @@ export interface ManifestElement extends ManifestWithLoader<object | HTMLElement
js?: string;
elementName?: string;
//loader?: () => Promise<object | HTMLElement>;
meta?: any;
meta?: unknown;
}
export interface ManifestWithView extends ManifestElement {
@@ -131,11 +132,11 @@ export interface ManifestElementWithElementName extends ManifestElement {
export interface ManifestCustom extends ManifestBase {
type: 'custom';
meta?: any;
meta?: unknown;
}
export interface ManifestWithMeta extends ManifestBase {
meta: any;
meta: unknown;
}
export interface ManifestEntrypoint extends ManifestBase {