@pimcore/studio-ui-bundle 1.0.0-canary.20251203-161947-9eb46ff → 1.0.0-canary.20251203-173817-fa90552

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.
@@ -10,5 +10,5 @@
10
10
  import { type RootState } from '../../../../sdk/app';
11
11
  import { type UserInformation } from '../../../modules/auth/user/user-api-slice-enhanced';
12
12
  export declare const userSliceName: "auth";
13
- export declare const setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload<UserInformation, "auth/setUser">, userProfileUpdated: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "auth/userProfileUpdated">, userProfileImageUpdated: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "auth/userProfileImageUpdated">, resetChanges: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/resetChanges">, setModifiedCells: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../modules/auth/hooks/use-trackable-changes").ModifiedCellsAction, "auth/setModifiedCells">;
13
+ export declare const setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload<UserInformation, "auth/setUser">, userProfileUpdated: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "auth/userProfileUpdated">, userProfileImageUpdated: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "auth/userProfileImageUpdated">, setPerspectives: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../modules/auth/user/user-api-slice-enhanced").PerspectiveConfig[], "auth/setPerspectives">, resetChanges: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/resetChanges">, setModifiedCells: import("@reduxjs/toolkit").ActionCreatorWithPayload<import("../../../modules/auth/hooks/use-trackable-changes").ModifiedCellsAction, "auth/setModifiedCells">;
14
14
  export declare const selectCurrentUser: (state: RootState) => UserInformation;
@@ -10,9 +10,14 @@
10
10
  import { type PerspectiveConfigDetail, type PerspectiveConfig, type PerspectiveGetConfigCollectionApiResponse } from '../../../modules/perspectives/perspectives-slice.enhanced';
11
11
  export interface UsePerspectiveSwitcherReturn {
12
12
  switchPerspective: (perspective: PerspectiveConfig) => Promise<void>;
13
- loadPerspective: (perspectiveId: string) => Promise<any>;
14
- loadPerspectiveById: (perspectiveId: string) => Promise<PerspectiveConfigDetail | undefined>;
13
+ loadPerspective: (perspectiveId: string, forceRefetch?: boolean) => Promise<{
14
+ data?: PerspectiveConfigDetail;
15
+ error?: any;
16
+ isSuccess: boolean;
17
+ isError: boolean;
18
+ }>;
15
19
  getPerspectiveConfigCollection: () => Promise<PerspectiveGetConfigCollectionApiResponse | undefined>;
20
+ refreshPerspectives: () => Promise<void>;
16
21
  isLoading: boolean;
17
22
  }
18
23
  export declare const usePerspectives: () => UsePerspectiveSwitcherReturn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pimcore/studio-ui-bundle",
3
- "version": "1.0.0-canary.20251203-161947-9eb46ff",
3
+ "version": "1.0.0-canary.20251203-173817-fa90552",
4
4
  "keywords": [
5
5
  "pimcore",
6
6
  "pimcore-studio-ui"