@gooddata/sdk-pluggable-application-model 11.36.0-alpha.0 → 11.36.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.
@@ -0,0 +1,6 @@
1
+ /** @alpha */
2
+ export declare const LIB_VERSION: string;
3
+ /** @alpha */
4
+ export declare const LIB_DESCRIPTION: string;
5
+ /** @alpha */
6
+ export declare const LIB_NAME: string;
@@ -0,0 +1,8 @@
1
+ // (C) 2026 GoodData Corporation
2
+ // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
+ /** @alpha */
4
+ export const LIB_VERSION = "11.36.0-alpha.2";
5
+ /** @alpha */
6
+ export const LIB_DESCRIPTION = "GoodData SDK model contracts for pluggable applications";
7
+ /** @alpha */
8
+ export const LIB_NAME = "@gooddata/sdk-pluggable-application-model";
@@ -14,5 +14,5 @@ export const DefaultApplicationId = {
14
14
  ANALYTICAL_DESIGNER: "gdc-analytical-designer",
15
15
  METRIC_EDITOR: "gdc-metric-editor",
16
16
  LDM_MODELER: "gdc-ldm-modeler",
17
- WORKSPACE_CATALOG: "gdc-workspace-catalog",
17
+ WORKSPACE_CATALOG: "gdc-catalog",
18
18
  };
package/esm/index.d.ts CHANGED
@@ -4,6 +4,7 @@
4
4
  * @packageDocumentation
5
5
  */
6
6
  export { DefaultApplicationId } from "./defaultPlatformApplications.js";
7
+ export { LIB_VERSION, LIB_DESCRIPTION, LIB_NAME } from "./__version.js";
7
8
  export { type EmbeddingMode, type IApiTokenAuthCredentials, type IAuthCredentials, type IContextDeferredAuthCredentials, type IJwtAuthCredentials, type IOrganization, type IOrganizationPermissions, type IPlatformContext, type IPlatformContextV1, type IPluggableApplicationNavigation, PantherTier, isPlatformContextV1, } from "./platformContext.js";
8
9
  export { type ILocale } from "@gooddata/sdk-model";
9
10
  export { type IAppHeaderOptions, type IAppInstance, type KnownPluggableAppEventTypeName, type IPluggableApp, type IPluggableApplicationMountHandle, type IPluggableApplicationMountOptions, type IPluggableAppEvent, type IPluggableAppTelemetryCallbacks, type IReloadPlatformContextRequestedEvent, type ITelemetryEventOptions, isReloadPlatformContextRequestedEvent, type PluggableApplicationMount, PluggableAppEventType, type PluggableAppEventTypeName, reloadPlatformContextRequested, type TelemetryChannel, } from "./mount.js";
package/esm/index.js CHANGED
@@ -6,5 +6,6 @@
6
6
  * @packageDocumentation
7
7
  */
8
8
  export { DefaultApplicationId } from "./defaultPlatformApplications.js";
9
+ export { LIB_VERSION, LIB_DESCRIPTION, LIB_NAME } from "./__version.js";
9
10
  export { PantherTier, isPlatformContextV1, } from "./platformContext.js";
10
11
  export { isReloadPlatformContextRequestedEvent, PluggableAppEventType, reloadPlatformContextRequested, } from "./mount.js";
@@ -1,6 +1,6 @@
1
- import { type ApplicationScope, type IEntitlementDescriptor, type ILocale, type ITheme, type IUser, type IUserSettings, type IWhiteLabeling, type IWorkspacePermissions, type ObjRef } from "@gooddata/sdk-model";
1
+ import { type ApplicationScope, type IEntitlementDescriptor, type ILocale, type ITheme, type IUser, type IUserSettings, type IUserWorkspaceSettings, type IWhiteLabeling, type IWorkspacePermissions, type ObjRef } from "@gooddata/sdk-model";
2
2
  /**
3
- * Pluggable application embedding mode.
3
+ * Plˍuggable application embedding mode.
4
4
  *
5
5
  * @alpha
6
6
  */
@@ -121,6 +121,18 @@ export interface IPlatformContextV1 {
121
121
  workspacePermissions?: IWorkspacePermissions;
122
122
  entitlements?: IEntitlementDescriptor[];
123
123
  userSettings: IUserSettings;
124
+ /**
125
+ * Effective workspace-scoped settings for the current user.
126
+ *
127
+ * @remarks
128
+ * Populated by the host when the active route is workspace-scoped.
129
+ * Merges workspace-level overrides with user-level defaults — use this
130
+ * for workspace feature flags (e.g. `enableAIKnowledge`) instead of
131
+ * `userSettings`, which only contains user-level values.
132
+ *
133
+ * `undefined` when no workspace is active (organization-scoped routes).
134
+ */
135
+ workspaceSettings?: IUserWorkspaceSettings;
124
136
  whiteLabeling: IWhiteLabeling | undefined;
125
137
  preferredLocale?: ILocale;
126
138
  pantherTier?: PantherTier;
@@ -10,6 +10,7 @@ import { ILocale } from '@gooddata/sdk-model';
10
10
  import { ITheme } from '@gooddata/sdk-model';
11
11
  import { IUser } from '@gooddata/sdk-model';
12
12
  import { IUserSettings } from '@gooddata/sdk-model';
13
+ import { IUserWorkspaceSettings } from '@gooddata/sdk-model';
13
14
  import { IWhiteLabeling } from '@gooddata/sdk-model';
14
15
  import { IWorkspacePermissions } from '@gooddata/sdk-model';
15
16
  import { ObjRef } from '@gooddata/sdk-model';
@@ -34,7 +35,7 @@ export declare const DefaultApplicationId: {
34
35
  };
35
36
 
36
37
  /**
37
- * Pluggable application embedding mode.
38
+ * Plˍuggable application embedding mode.
38
39
  *
39
40
  * @alpha
40
41
  */
@@ -365,6 +366,18 @@ export declare interface IPlatformContextV1 {
365
366
  workspacePermissions?: IWorkspacePermissions;
366
367
  entitlements?: IEntitlementDescriptor[];
367
368
  userSettings: IUserSettings;
369
+ /**
370
+ * Effective workspace-scoped settings for the current user.
371
+ *
372
+ * @remarks
373
+ * Populated by the host when the active route is workspace-scoped.
374
+ * Merges workspace-level overrides with user-level defaults — use this
375
+ * for workspace feature flags (e.g. `enableAIKnowledge`) instead of
376
+ * `userSettings`, which only contains user-level values.
377
+ *
378
+ * `undefined` when no workspace is active (organization-scoped routes).
379
+ */
380
+ workspaceSettings?: IUserWorkspaceSettings;
368
381
  whiteLabeling: IWhiteLabeling | undefined;
369
382
  preferredLocale?: ILocale;
370
383
  pantherTier?: PantherTier;
@@ -554,6 +567,15 @@ export declare interface ITelemetryEventOptions {
554
567
  */
555
568
  export declare type KnownPluggableAppEventTypeName = (typeof PluggableAppEventType)[keyof typeof PluggableAppEventType];
556
569
 
570
+ /** @alpha */
571
+ export declare const LIB_DESCRIPTION: string;
572
+
573
+ /** @alpha */
574
+ export declare const LIB_NAME: string;
575
+
576
+ /** @alpha */
577
+ export declare const LIB_VERSION: string;
578
+
557
579
  /**
558
580
  * Panther tier.
559
581
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-pluggable-application-model",
3
- "version": "11.36.0-alpha.0",
3
+ "version": "11.36.0-alpha.2",
4
4
  "description": "GoodData SDK model contracts for pluggable applications",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "ts-invariant": "0.10.3",
25
25
  "tslib": "2.8.1",
26
- "@gooddata/sdk-model": "11.36.0-alpha.0"
26
+ "@gooddata/sdk-model": "11.36.0-alpha.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@microsoft/api-documenter": "^7.17.0",
@@ -47,16 +47,17 @@
47
47
  "oxlint-tsgolint": "0.11.4",
48
48
  "typescript": "5.9.3",
49
49
  "vitest": "4.1.0",
50
- "@gooddata/eslint-config": "11.36.0-alpha.0",
51
- "@gooddata/oxlint-config": "11.36.0-alpha.0"
50
+ "@gooddata/eslint-config": "11.36.0-alpha.2",
51
+ "@gooddata/oxlint-config": "11.36.0-alpha.2"
52
52
  },
53
53
  "scripts": {
54
54
  "_phase:build": "npm run build",
55
- "_phase:test": "echo \"No tests for @gooddata/sdk-pluggable-application-model\"",
56
- "_phase:validate": "npm run validate",
55
+ "_phase:test": "npm run build-dynamic-files && echo \"No tests for @gooddata/sdk-pluggable-application-model\"",
56
+ "_phase:validate": "npm run build-dynamic-files && npm run validate",
57
57
  "api-extractor": "mkdir -p api && [ -z \"${CI}\" ] && (api-extractor run -l) || (api-extractor run)",
58
- "build": "npm-run-all -p build-check build-ts && npm run api-extractor",
58
+ "build": "bash scripts/build.sh",
59
59
  "build-check": "tsgo",
60
+ "build-dynamic-files": "bash scripts/build.sh --genFilesOnly",
60
61
  "build-ts": "tsgo -p tsconfig.build.json",
61
62
  "clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm coverage temp *.log tsconfig.tsbuildinfo",
62
63
  "dep-cruiser": "depcruise --validate .dependency-cruiser.js --output-type err-long src/",