@pimcore/studio-ui-bundle 1.0.0-canary.20251125-145743-70cdf00 → 1.0.0-canary.20251125-153818-6a96d0f
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/theme/dynamic-types/definitions/studio-default-light/dynamic-type-theme-studio-default-light.d.ts +4 -0
- package/dist/build/types/src/core/modules/asset/hooks/use-global-asset-context.d.ts +9 -1
- package/dist/build/types/src/core/modules/data-object/hooks/use-global-data-object-context.d.ts +9 -1
- package/dist/build/types/src/core/modules/document/hooks/use-global-document-context.d.ts +9 -1
- package/dist/build/types/src/core/utils/global-context-identifiers.d.ts +6 -3
- package/package.json +1 -1
|
@@ -12,7 +12,15 @@ export interface GlobalAssetContext extends GlobalContext {
|
|
|
12
12
|
type: 'asset';
|
|
13
13
|
config: {
|
|
14
14
|
id: number;
|
|
15
|
-
contextIdentifiers:
|
|
15
|
+
contextIdentifiers: {
|
|
16
|
+
type: string;
|
|
17
|
+
subType: string;
|
|
18
|
+
tags: string[];
|
|
19
|
+
selectedElements?: Array<{
|
|
20
|
+
id: number;
|
|
21
|
+
type: string;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
|
16
24
|
};
|
|
17
25
|
}
|
|
18
26
|
interface UseGlobalAssetContext {
|
package/dist/build/types/src/core/modules/data-object/hooks/use-global-data-object-context.d.ts
CHANGED
|
@@ -12,7 +12,15 @@ export interface GlobalDataObjectContext extends GlobalContext {
|
|
|
12
12
|
type: 'data-object';
|
|
13
13
|
config: {
|
|
14
14
|
id: number;
|
|
15
|
-
contextIdentifiers:
|
|
15
|
+
contextIdentifiers: {
|
|
16
|
+
type: string;
|
|
17
|
+
subType: string;
|
|
18
|
+
tags: string[];
|
|
19
|
+
selectedElements?: Array<{
|
|
20
|
+
id: number;
|
|
21
|
+
type: string;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
|
16
24
|
};
|
|
17
25
|
}
|
|
18
26
|
interface UseGlobalDataObjectContext {
|
|
@@ -12,7 +12,15 @@ export interface GlobalDocumentContext extends GlobalContext {
|
|
|
12
12
|
type: 'document';
|
|
13
13
|
config: {
|
|
14
14
|
id: number;
|
|
15
|
-
contextIdentifiers:
|
|
15
|
+
contextIdentifiers: {
|
|
16
|
+
type: string;
|
|
17
|
+
subType: string;
|
|
18
|
+
tags: string[];
|
|
19
|
+
selectedElements?: Array<{
|
|
20
|
+
id: number;
|
|
21
|
+
type: string;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
|
16
24
|
};
|
|
17
25
|
}
|
|
18
26
|
interface UseGlobalDocumentContext {
|
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
|
|
8
8
|
* @license Pimcore Open Core License (POCL)
|
|
9
9
|
*/
|
|
10
|
+
import { type GlobalDataObjectContext } from '../modules/data-object/hooks/use-global-data-object-context';
|
|
11
|
+
import { type GlobalAssetContext } from '../modules/asset/hooks/use-global-asset-context';
|
|
12
|
+
import { type GlobalDocumentContext } from '../modules/document/hooks/use-global-document-context';
|
|
10
13
|
export declare const OBJECT_CONTEXT_IDENTIFIER_PREFIX = "object";
|
|
11
14
|
export declare const ASSET_CONTEXT_IDENTIFIER_PREFIX = "asset";
|
|
12
15
|
export declare const DOCUMENT_CONTEXT_IDENTIFIER_PREFIX = "document";
|
|
13
|
-
export declare const getBaseDataObjectContextIdentifiers: (objectData: any) =>
|
|
14
|
-
export declare const getBaseAssetContextIdentifiers: (assetData: any) =>
|
|
15
|
-
export declare const getBaseDocumentContextIdentifiers: (documentData: any) =>
|
|
16
|
+
export declare const getBaseDataObjectContextIdentifiers: (objectData: any, isGrid: boolean) => GlobalDataObjectContext["config"]["contextIdentifiers"];
|
|
17
|
+
export declare const getBaseAssetContextIdentifiers: (assetData: any, isGrid: boolean) => GlobalAssetContext["config"]["contextIdentifiers"];
|
|
18
|
+
export declare const getBaseDocumentContextIdentifiers: (documentData: any) => GlobalDocumentContext["config"]["contextIdentifiers"];
|