@tridion-docs/extensions 2.1.2 → 2.1.3
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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/api/typings/FrontendAddon.d.ts +1 -1
- package/dist/api/typings/FrontendAddons.d.ts +1 -1
- package/dist/api/typings/FrontendExtension.d.ts +10 -1
- package/dist/api/typings/FrontendExtension.js +9 -0
- package/dist/index.js +1 -0
- package/dist/package.json.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Copyright © 2026 RWS Holdings plc including its subsidiaries and affiliated com
|
|
|
9
9
|
|
|
10
10
|
# Compatibility
|
|
11
11
|
|
|
12
|
-
This version of the package is compatible with Tridion Docs 15.2
|
|
12
|
+
This version of the package is compatible with Tridion Docs 15.2 and 15.3
|
|
13
13
|
|
|
14
14
|
# Upgrade instruction
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FrontendExtension } from './FrontendExtension';
|
|
2
2
|
/**
|
|
3
|
-
* Model
|
|
3
|
+
* Model as returned by the /api/extensions call
|
|
4
4
|
*/
|
|
5
5
|
export type FrontendAddon<Id extends string = string, Configuration extends object = any> = {
|
|
6
6
|
readonly $type: string;
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Model
|
|
2
|
+
* Model as returned by the /api/extensions call
|
|
3
|
+
*/
|
|
4
|
+
export declare const ExtensionType: {
|
|
5
|
+
readonly OrganizeSpace: "OrganizeSpaceExtension";
|
|
6
|
+
readonly Sidebar: "SidebarExtension";
|
|
7
|
+
};
|
|
8
|
+
export type ExtensionTypeType = (typeof ExtensionType)[keyof typeof ExtensionType];
|
|
9
|
+
/**
|
|
10
|
+
* Model as returned by the /api/extensions call
|
|
3
11
|
*/
|
|
4
12
|
export type FrontendExtension = {
|
|
5
13
|
readonly $type: string;
|
|
6
14
|
readonly name: string;
|
|
15
|
+
readonly type: ExtensionTypeType;
|
|
7
16
|
readonly contents: string[];
|
|
8
17
|
};
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,7 @@ export { FolderType } from './api/typings/FolderType.js';
|
|
|
14
14
|
export { MessageSeverity } from './api/typings/Notification.js';
|
|
15
15
|
export { NavigationItemIdType, PositioningType } from './api/typings/Position.js';
|
|
16
16
|
export { ViewType } from './api/typings/ViewType.js';
|
|
17
|
+
export { ExtensionType } from './api/typings/FrontendExtension.js';
|
|
17
18
|
export { PublicationObjectType } from './api/typings/PublicationObjectType.js';
|
|
18
19
|
export { initializeExtensionApiStorage } from './apiStorage/apiStorage.js';
|
|
19
20
|
import 'react';
|
package/dist/package.json.js
CHANGED
package/package.json
CHANGED