@gooddata/sdk-backend-spi 11.27.0-alpha.0 → 11.27.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.
|
@@ -1,10 +1,20 @@
|
|
|
1
|
-
import { type IColorPaletteDefinition, type IColorPaletteMetadataObject, type IThemeDefinition, type IThemeMetadataObject, type ObjRef } from "@gooddata/sdk-model";
|
|
1
|
+
import { type IColorPaletteDefinition, type IColorPaletteMetadataObject, type ITheme, type IThemeDefinition, type IThemeMetadataObject, type ObjRef } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* This service provides access to organization styling settings such as theme.
|
|
4
4
|
*
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export interface IOrganizationStylingService {
|
|
8
|
+
/**
|
|
9
|
+
* Asynchronously returns the active theme for the organization.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* Resolves the active theme setting and fetches the corresponding theme content.
|
|
13
|
+
* Returns an empty theme when no active theme is configured or the fetch fails.
|
|
14
|
+
*
|
|
15
|
+
* @returns promise of theme
|
|
16
|
+
*/
|
|
17
|
+
getTheme(): Promise<ITheme>;
|
|
8
18
|
/**
|
|
9
19
|
* Request all themes defined on organization level.
|
|
10
20
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organization/styling/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,MAAM,EACd,MAAM,qBAAqB,CAAC;AAE7B;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,SAAS,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IAE7C;;;;OAIG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC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G;;;;OAIG;IACH,kBAAkB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9D"}
|
package/esm/sdk-backend-spi.d.ts
CHANGED
|
@@ -5388,6 +5388,16 @@ export declare interface IOrganizationSettingsService {
|
|
|
5388
5388
|
* @public
|
|
5389
5389
|
*/
|
|
5390
5390
|
export declare interface IOrganizationStylingService {
|
|
5391
|
+
/**
|
|
5392
|
+
* Asynchronously returns the active theme for the organization.
|
|
5393
|
+
*
|
|
5394
|
+
* @remarks
|
|
5395
|
+
* Resolves the active theme setting and fetches the corresponding theme content.
|
|
5396
|
+
* Returns an empty theme when no active theme is configured or the fetch fails.
|
|
5397
|
+
*
|
|
5398
|
+
* @returns promise of theme
|
|
5399
|
+
*/
|
|
5400
|
+
getTheme(): Promise<ITheme>;
|
|
5391
5401
|
/**
|
|
5392
5402
|
* Request all themes defined on organization level.
|
|
5393
5403
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-spi",
|
|
3
|
-
"version": "11.27.0-alpha.
|
|
3
|
+
"version": "11.27.0-alpha.2",
|
|
4
4
|
"description": "GoodData Backend SPI abstraction interfaces",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"lodash-es": "^4.17.23",
|
|
25
25
|
"ts-invariant": "0.10.3",
|
|
26
26
|
"tslib": "2.8.1",
|
|
27
|
-
"@gooddata/sdk-model": "11.27.0-alpha.
|
|
27
|
+
"@gooddata/sdk-model": "11.27.0-alpha.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@microsoft/api-documenter": "^7.17.0",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"oxlint-tsgolint": "0.11.4",
|
|
49
49
|
"typescript": "5.9.3",
|
|
50
50
|
"vitest": "4.1.0",
|
|
51
|
-
"@gooddata/oxlint-config": "11.27.0-alpha.
|
|
52
|
-
"@gooddata/eslint-config": "11.27.0-alpha.
|
|
51
|
+
"@gooddata/oxlint-config": "11.27.0-alpha.2",
|
|
52
|
+
"@gooddata/eslint-config": "11.27.0-alpha.2"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"_phase:build": "npm run build",
|