@pimcore/studio-ui-bundle 1.0.0-canary.20251128-091124-470a500 → 1.0.0-canary.20251128-145826-f1bc4ba
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/types/src/core/app/config/services/service-ids.d.ts +1 -0
- package/dist/build/types/src/core/modules/app/app-loader/services/app-loader-registry.d.ts +22 -0
- package/dist/build/types/src/core/modules/app/base-layout/main-nav/services/main-nav-registry.d.ts +1 -0
- package/dist/build/types/src/sdk/modules/app/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -242,6 +242,7 @@ export declare const serviceIds: {
|
|
|
242
242
|
'Asset/ProcessorRegistry/SaveDataProcessor': string;
|
|
243
243
|
'Element/ProcessorRegistry/IconProcessor': string;
|
|
244
244
|
'WidgetManager/ProcessorRegistry/PerspectiveProcessor': string;
|
|
245
|
+
'AppLoader/Registry': string;
|
|
245
246
|
'DynamicTypes/FieldFilterRegistry': string;
|
|
246
247
|
'DynamicTypes/BatchEditRegistry': string;
|
|
247
248
|
'DynamicTypes/GridCellRegistry': string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This source file is available under the terms of the
|
|
3
|
+
* Pimcore Open Core License (POCL)
|
|
4
|
+
* Full copyright and license information is available in
|
|
5
|
+
* LICENSE.md which is distributed with this source code.
|
|
6
|
+
*
|
|
7
|
+
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
|
+
* @license Pimcore Open Core License (POCL)
|
|
9
|
+
*/
|
|
10
|
+
export interface Loader {
|
|
11
|
+
readonly name: string;
|
|
12
|
+
onLoad: () => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
export declare class AppLoaderRegistry {
|
|
15
|
+
protected readonly loaders: Map<string, Loader>;
|
|
16
|
+
registerLoader(loader: Loader): void;
|
|
17
|
+
getLoader(name: string, throwException?: boolean): Loader;
|
|
18
|
+
getLoaders(): Loader[];
|
|
19
|
+
loadAll(): Promise<void>;
|
|
20
|
+
hasLoader(name: string): boolean;
|
|
21
|
+
overrideLoader(loader: Loader): void;
|
|
22
|
+
}
|
|
@@ -21,3 +21,4 @@ export * from '../../../core/modules/app/settings/hooks/use-settings';
|
|
|
21
21
|
export * from '../../../core/modules/app/base-layout/main-nav/services/main-nav-registry';
|
|
22
22
|
export * from '../../../core/modules/app/base-layout/main-nav/hooks/use-main-nav';
|
|
23
23
|
export * from '../../../core/modules/app/base-layout/right-sidebar/logo/subscription-details';
|
|
24
|
+
export * from '../../../core/modules/app/app-loader/services/app-loader-registry';
|