@gooddata/sdk-pluggable-application-model 11.59.0-alpha.0 → 11.59.0-alpha.2
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/esm/__version.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// (C) 2026 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
3
|
/** @alpha */
|
|
4
|
-
export const LIB_VERSION = "11.59.0-alpha.
|
|
4
|
+
export const LIB_VERSION = "11.59.0-alpha.2";
|
|
5
5
|
/** @alpha */
|
|
6
6
|
export const LIB_DESCRIPTION = "GoodData SDK model contracts for pluggable applications";
|
|
7
7
|
/** @alpha */
|
package/esm/platformContext.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ApplicationScope, type IColorPalette, type IEntitlementDescriptor, type ILocale, type ITheme, type IUser, type IUserSettings, type IUserWorkspaceSettings, type IWhiteLabeling, type IWorkspacePermissions, type ObjRef } from "@gooddata/sdk-model";
|
|
1
|
+
import { type ApplicationScope, type IColorPalette, type IEntitlementDescriptor, type ILocale, type ITheme, type IUser, type IUserSettings, type IUserWorkspaceSettings, type IWhiteLabeling, type IWorkspacePermissions, type ObjRef, type PluggableApplicationRegistryItem } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* Pluggable application embedding mode.
|
|
4
4
|
*
|
|
@@ -181,6 +181,22 @@ export interface IPlatformContextV1 {
|
|
|
181
181
|
colorPalette?: IColorPalette;
|
|
182
182
|
currentWorkspaceId?: string;
|
|
183
183
|
currentApplicationScope?: ApplicationScope;
|
|
184
|
+
/**
|
|
185
|
+
* Workspace-scoped applications available to the current user, sorted by `menuOrder`.
|
|
186
|
+
*
|
|
187
|
+
* @remarks
|
|
188
|
+
* The host resolves these from the local and remote registries and applies every requirement it can
|
|
189
|
+
* evaluate organization-wide: `isEnabled`, the allowed-standard-applications list, BASE_UI_ACCESS,
|
|
190
|
+
* `requiredOrganizationPermissions` and `requiredEntitlements`.
|
|
191
|
+
*
|
|
192
|
+
* The two requirements a single workspace answers — `requiredWorkspacePermissions` and
|
|
193
|
+
* `requiredSettings` — are deliberately NOT applied, because an application listing several
|
|
194
|
+
* workspaces has to decide per workspace. Evaluate them with `evaluateCondition` against that
|
|
195
|
+
* workspace's `toPluggableApplicationWorkspacePermissions(permissions)` and its settings. A feature
|
|
196
|
+
* flag can be on for one workspace alone (early access values resolve into its settings), so a
|
|
197
|
+
* decision taken here would hide the application from every workspace that has it.
|
|
198
|
+
*/
|
|
199
|
+
availableApplications?: PluggableApplicationRegistryItem[];
|
|
184
200
|
embeddingMode: EmbeddingMode;
|
|
185
201
|
isExportMode?: boolean;
|
|
186
202
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platformContext.d.ts","sourceRoot":"","sources":["../src/platformContext.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"platformContext.d.ts","sourceRoot":"","sources":["../src/platformContext.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,gCAAgC,EACxC,MAAM,qBAAqB,CAAC;AAE7B;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,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 @@ export declare interface IPlatformContextV1 {
|
|
|
652
652
|
colorPalette?: IColorPalette;
|
|
653
653
|
currentWorkspaceId?: string;
|
|
654
654
|
currentApplicationScope?: ApplicationScope;
|
|
655
|
+
/**
|
|
656
|
+
* Workspace-scoped applications available to the current user, sorted by `menuOrder`.
|
|
657
|
+
*
|
|
658
|
+
* @remarks
|
|
659
|
+
* The host resolves these from the local and remote registries and applies every requirement it can
|
|
660
|
+
* evaluate organization-wide: `isEnabled`, the allowed-standard-applications list, BASE_UI_ACCESS,
|
|
661
|
+
* `requiredOrganizationPermissions` and `requiredEntitlements`.
|
|
662
|
+
*
|
|
663
|
+
* The two requirements a single workspace answers — `requiredWorkspacePermissions` and
|
|
664
|
+
* `requiredSettings` — are deliberately NOT applied, because an application listing several
|
|
665
|
+
* workspaces has to decide per workspace. Evaluate them with `evaluateCondition` against that
|
|
666
|
+
* workspace's `toPluggableApplicationWorkspacePermissions(permissions)` and its settings. A feature
|
|
667
|
+
* flag can be on for one workspace alone (early access values resolve into its settings), so a
|
|
668
|
+
* decision taken here would hide the application from every workspace that has it.
|
|
669
|
+
*/
|
|
670
|
+
availableApplications?: PluggableApplicationRegistryItem[];
|
|
655
671
|
embeddingMode: EmbeddingMode;
|
|
656
672
|
isExportMode?: boolean;
|
|
657
673
|
}
|
package/esm/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-pluggable-application-model",
|
|
3
|
-
"version": "11.59.0-alpha.
|
|
3
|
+
"version": "11.59.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK model contracts for pluggable applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"ts-invariant": "0.10.3",
|
|
25
25
|
"tslib": "2.8.1",
|
|
26
|
-
"@gooddata/sdk-model": "11.59.0-alpha.
|
|
26
|
+
"@gooddata/sdk-model": "11.59.0-alpha.2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@microsoft/api-documenter": "7.30.
|
|
30
|
-
"@microsoft/api-extractor": "7.
|
|
29
|
+
"@microsoft/api-documenter": "7.30.16",
|
|
30
|
+
"@microsoft/api-extractor": "7.59.2",
|
|
31
31
|
"@types/node": "24.12.0",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "8.58.0",
|
|
33
33
|
"@typescript-eslint/parser": "8.58.0",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"oxlint-plugin-eslint": "1.82.0",
|
|
45
45
|
"oxlint-tsgolint": "7.0.2001",
|
|
46
46
|
"typescript": "7.0.2",
|
|
47
|
-
"@gooddata/
|
|
48
|
-
"@gooddata/
|
|
47
|
+
"@gooddata/oxlint-config": "11.59.0-alpha.2",
|
|
48
|
+
"@gooddata/eslint-config": "11.59.0-alpha.2"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"_phase:build": "npm run build",
|