@pimcore/studio-ui-bundle 2025.4.13 → 2025.4.14-canary.20260902-145642-d461bdb
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/modules/app/app-loader/loader/active-bundles/loader.d.ts +13 -0
- package/dist/build/types/src/core/modules/app/settings/active-bundles-helper.d.ts +15 -0
- package/dist/build/types/src/core/modules/app/settings/settings-slice.d.ts +2 -1
- package/dist/build/types/src/sdk/modules/app/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
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 UseActiveBundlesLoaderReturn {
|
|
11
|
+
loadActiveBundles: () => Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export declare const useActiveBundlesLoader: () => UseActiveBundlesLoaderReturn;
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
/**
|
|
11
|
+
* A bundle is active when it is both enabled and installed. The list is
|
|
12
|
+
* loaded once at app start; before it is available every bundle counts
|
|
13
|
+
* as inactive.
|
|
14
|
+
*/
|
|
15
|
+
export declare const isBundleActive: (bundleName: string) => boolean;
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type RootState } from '../../../../sdk/app';
|
|
11
11
|
import { type SystemSettingsGetApiResponse, type AdminSettings, type AdminSettingsThumbnailPath } from '../../../modules/app/settings/settings-slice.gen';
|
|
12
|
-
export declare const setSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload<SystemSettingsGetApiResponse, "settings/setSettings">, setAdminSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload<AdminSettings, "settings/setAdminSettings">, setThumbnails: import("@reduxjs/toolkit").ActionCreatorWithPayload<AdminSettingsThumbnailPath, "settings/setThumbnails">;
|
|
12
|
+
export declare const setSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload<SystemSettingsGetApiResponse, "settings/setSettings">, setAdminSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload<AdminSettings, "settings/setAdminSettings">, setThumbnails: import("@reduxjs/toolkit").ActionCreatorWithPayload<AdminSettingsThumbnailPath, "settings/setThumbnails">, setActiveBundles: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "settings/setActiveBundles">;
|
|
13
13
|
export declare const getSettings: (state: RootState) => SystemSettingsGetApiResponse;
|
|
14
14
|
export declare const getAdminSettings: (state: RootState) => AdminSettings;
|
|
15
15
|
export declare const getThumbnails: (state: RootState) => AdminSettingsThumbnailPath;
|
|
16
|
+
export declare const getActiveBundles: (state: RootState) => string[] | undefined;
|
|
@@ -19,6 +19,7 @@ export * from '../../../core/modules/app/hook/use-handle-keybindings';
|
|
|
19
19
|
export * from '../../../core/modules/app/hook/use-date-converter';
|
|
20
20
|
export * from '../../../core/modules/app/modal-holder/use-modal-holder';
|
|
21
21
|
export * from '../../../core/modules/app/settings/hooks/use-settings';
|
|
22
|
+
export { isBundleActive } from '../../../core/modules/app/settings/active-bundles-helper';
|
|
22
23
|
export * from '../../../core/modules/app/base-layout/main-nav/services/main-nav-registry';
|
|
23
24
|
export * from '../../../core/modules/app/base-layout/main-nav/hooks/use-main-nav';
|
|
24
25
|
export * from '../../../core/modules/app/base-layout/right-sidebar/logo/subscription-details';
|