@gooddata/sdk-backend-spi 10.9.0-alpha.23 → 10.9.0-alpha.24

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.
@@ -4703,6 +4703,31 @@ export declare interface IWorkspaceSettingsService {
4703
4703
  * @returns promise
4704
4704
  */
4705
4705
  setLocale(locale: string): Promise<void>;
4706
+ /**
4707
+ * Sets timezone for current workspace.
4708
+ *
4709
+ * @param timezone - the value based on IANA time zone database naming convention.
4710
+ * for example: "America/Los_Angeles", etc.
4711
+ *
4712
+ * @returns promise
4713
+ */
4714
+ setTimezone(timezone: string): Promise<void>;
4715
+ /**
4716
+ * Sets date format for current workspace.
4717
+ *
4718
+ * @param dateFormat - the format based on the ICU standard, for example: "en-US", "cs-CZ", etc.
4719
+ *
4720
+ * @returns promise
4721
+ */
4722
+ setDateFormat(dateFormat: string): Promise<void>;
4723
+ /**
4724
+ * Sets first day of week for current workspace.
4725
+ *
4726
+ * @param weekStart - "Sunday | "Monday"
4727
+ *
4728
+ * @returns promise
4729
+ */
4730
+ setWeekStart(weekStart: string): Promise<void>;
4706
4731
  /**
4707
4732
  * Sets color palette for current workspace.
4708
4733
  *
@@ -25,6 +25,31 @@ export interface IWorkspaceSettingsService {
25
25
  * @returns promise
26
26
  */
27
27
  setLocale(locale: string): Promise<void>;
28
+ /**
29
+ * Sets timezone for current workspace.
30
+ *
31
+ * @param timezone - the value based on IANA time zone database naming convention.
32
+ * for example: "America/Los_Angeles", etc.
33
+ *
34
+ * @returns promise
35
+ */
36
+ setTimezone(timezone: string): Promise<void>;
37
+ /**
38
+ * Sets date format for current workspace.
39
+ *
40
+ * @param dateFormat - the format based on the ICU standard, for example: "en-US", "cs-CZ", etc.
41
+ *
42
+ * @returns promise
43
+ */
44
+ setDateFormat(dateFormat: string): Promise<void>;
45
+ /**
46
+ * Sets first day of week for current workspace.
47
+ *
48
+ * @param weekStart - "Sunday | "Monday"
49
+ *
50
+ * @returns promise
51
+ */
52
+ setWeekStart(weekStart: string): Promise<void>;
28
53
  /**
29
54
  * Sets color palette for current workspace.
30
55
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workspace/settings/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,WAAW,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE3C;;;;OAIG;IACH,yBAAyB,IAAI,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAE7D;;;;;;OAMG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzC;;;;;;OAMG;IACH,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvD;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workspace/settings/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEtF;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,WAAW,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE3C;;;;OAIG;IACH,yBAAyB,IAAI,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAE7D;;;;;;OAMG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzC;;;;;;;OAOG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7C;;;;;;OAMG;IACH,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjD;;;;;;OAMG;IACH,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C;;;;;;OAMG;IACH,eAAe,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvD;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-spi",
3
- "version": "10.9.0-alpha.23",
3
+ "version": "10.9.0-alpha.24",
4
4
  "author": "GoodData",
5
5
  "description": "GoodData Backend SPI abstraction interfaces",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "lodash": "^4.17.21",
25
25
  "ts-invariant": "^0.7.5",
26
26
  "tslib": "^2.5.0",
27
- "@gooddata/sdk-model": "10.9.0-alpha.23"
27
+ "@gooddata/sdk-model": "10.9.0-alpha.24"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gooddata/eslint-config": "^4.1.0",