@gooddata/sdk-backend-spi 11.35.0-alpha.5 → 11.35.0-alpha.6

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,46 +1 @@
1
- import { type ISeparators, type ISettings } from "@gooddata/sdk-model";
2
- /**
3
- * Settings for particular user.
4
- *
5
- * @public
6
- */
7
- export interface IUserSettings extends ISettings {
8
- /**
9
- * User to which the settings belong.
10
- */
11
- userId: string;
12
- /**
13
- * User locale
14
- */
15
- locale: string;
16
- /**
17
- * Regional number formatting
18
- */
19
- separators: ISeparators;
20
- }
21
- /**
22
- * Settings for particular workspace.
23
- *
24
- * @public
25
- */
26
- export interface IWorkspaceSettings extends ISettings {
27
- /**
28
- * Workspace to which the settings belong.
29
- */
30
- workspace: string;
31
- /**
32
- * Stores Mapbox token used for WS
33
- */
34
- mapboxToken?: string;
35
- /**
36
- * Stores AgGrid token used for WS
37
- */
38
- agGridToken?: string;
39
- }
40
- /**
41
- * Settings for particular combination of user and workspace.
42
- *
43
- * @public
44
- */
45
- export interface IUserWorkspaceSettings extends IUserSettings, IWorkspaceSettings {
46
- }
1
+ export type { IUserSettings, IWorkspaceSettings, IUserWorkspaceSettings } from "@gooddata/sdk-model";
@@ -1 +1,2 @@
1
+ // (C) 2020-2026 GoodData Corporation
1
2
  export {};
@@ -145,6 +145,8 @@ import { IThemeDefinition } from '@gooddata/sdk-model';
145
145
  import { IThemeMetadataObject } from '@gooddata/sdk-model';
146
146
  import { IUser } from '@gooddata/sdk-model';
147
147
  import { IUserGroup } from '@gooddata/sdk-model';
148
+ import { IUserSettings } from '@gooddata/sdk-model';
149
+ import { IUserWorkspaceSettings } from '@gooddata/sdk-model';
148
150
  import type { IVisualizationClass } from '@gooddata/sdk-model';
149
151
  import { IWhiteLabeling } from '@gooddata/sdk-model';
150
152
  import { IWidget } from '@gooddata/sdk-model';
@@ -155,6 +157,7 @@ import { IWorkspaceDataFilter } from '@gooddata/sdk-model';
155
157
  import { IWorkspaceDataFilterDefinition } from '@gooddata/sdk-model';
156
158
  import { IWorkspacePermissionAssignment } from '@gooddata/sdk-model';
157
159
  import { IWorkspacePermissions } from '@gooddata/sdk-model';
160
+ import { IWorkspaceSettings } from '@gooddata/sdk-model';
158
161
  import { IWorkspaceUser } from '@gooddata/sdk-model';
159
162
  import { IWorkspaceUserGroup } from '@gooddata/sdk-model';
160
163
  import { LlmEndpointOpenAIPatch } from '@gooddata/sdk-model';
@@ -1638,6 +1641,10 @@ export declare type IChatConversation = {
1638
1641
  * Conversation title
1639
1642
  */
1640
1643
  title?: string;
1644
+ /**
1645
+ * Conversation pinned status
1646
+ */
1647
+ pinned?: boolean;
1641
1648
  };
1642
1649
 
1643
1650
  /**
@@ -1772,7 +1779,7 @@ export declare interface IChatConversations {
1772
1779
  /**
1773
1780
  * Updates the specified chat conversation with the provided updates.
1774
1781
  */
1775
- update(conversationId: string, update: Partial<Pick<IChatConversation, "title">>): Promise<IChatConversation>;
1782
+ update(conversationId: string, update: Partial<Pick<IChatConversation, "title" | "pinned">>): Promise<IChatConversation>;
1776
1783
  /**
1777
1784
  * Delete a conversation.
1778
1785
  */
@@ -7164,25 +7171,7 @@ export declare interface IUserService {
7164
7171
  getUserWithDetails(): Promise<IUser>;
7165
7172
  }
7166
7173
 
7167
- /**
7168
- * Settings for particular user.
7169
- *
7170
- * @public
7171
- */
7172
- export declare interface IUserSettings extends ISettings {
7173
- /**
7174
- * User to which the settings belong.
7175
- */
7176
- userId: string;
7177
- /**
7178
- * User locale
7179
- */
7180
- locale: string;
7181
- /**
7182
- * Regional number formatting
7183
- */
7184
- separators: ISeparators;
7185
- }
7174
+ export { IUserSettings }
7186
7175
 
7187
7176
  /**
7188
7177
  * This query service provides access to feature flags that are in effect for particular user.
@@ -7230,13 +7219,7 @@ export declare interface IUserSettingsService {
7230
7219
  setSeparators(separators: ISeparators): Promise<void>;
7231
7220
  }
7232
7221
 
7233
- /**
7234
- * Settings for particular combination of user and workspace.
7235
- *
7236
- * @public
7237
- */
7238
- export declare interface IUserWorkspaceSettings extends IUserSettings, IWorkspaceSettings {
7239
- }
7222
+ export { IUserWorkspaceSettings }
7240
7223
 
7241
7224
  /**
7242
7225
  * Pair of the widget and it's alert count
@@ -8688,25 +8671,7 @@ export declare interface IWorkspacePermissionsService {
8688
8671
  getPermissionsForCurrentUser(): Promise<IWorkspacePermissions>;
8689
8672
  }
8690
8673
 
8691
- /**
8692
- * Settings for particular workspace.
8693
- *
8694
- * @public
8695
- */
8696
- export declare interface IWorkspaceSettings extends ISettings {
8697
- /**
8698
- * Workspace to which the settings belong.
8699
- */
8700
- workspace: string;
8701
- /**
8702
- * Stores Mapbox token used for WS
8703
- */
8704
- mapboxToken?: string;
8705
- /**
8706
- * Stores AgGrid token used for WS
8707
- */
8708
- agGridToken?: string;
8709
- }
8674
+ export { IWorkspaceSettings }
8710
8675
 
8711
8676
  /**
8712
8677
  * This service provides access to settings for a particular workspace.
@@ -608,7 +608,7 @@ export interface IChatConversations {
608
608
  /**
609
609
  * Updates the specified chat conversation with the provided updates.
610
610
  */
611
- update(conversationId: string, update: Partial<Pick<IChatConversation, "title">>): Promise<IChatConversation>;
611
+ update(conversationId: string, update: Partial<Pick<IChatConversation, "title" | "pinned">>): Promise<IChatConversation>;
612
612
  /**
613
613
  * Delete a conversation.
614
614
  */
@@ -682,6 +682,10 @@ export type IChatConversation = {
682
682
  * Conversation title
683
683
  */
684
684
  title?: string;
685
+ /**
686
+ * Conversation pinned status
687
+ */
688
+ pinned?: boolean;
685
689
  };
686
690
  /**
687
691
  * GenAI Chat Conversation error.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-spi",
3
- "version": "11.35.0-alpha.5",
3
+ "version": "11.35.0-alpha.6",
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.35.0-alpha.5"
27
+ "@gooddata/sdk-model": "11.35.0-alpha.6"
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/eslint-config": "11.35.0-alpha.5",
52
- "@gooddata/oxlint-config": "11.35.0-alpha.5"
51
+ "@gooddata/oxlint-config": "11.35.0-alpha.6",
52
+ "@gooddata/eslint-config": "11.35.0-alpha.6"
53
53
  },
54
54
  "scripts": {
55
55
  "_phase:build": "npm run build",
@@ -59,7 +59,7 @@
59
59
  "build": "npm-run-all -p build-check build-ts && npm run api-extractor",
60
60
  "build-check": "tsgo",
61
61
  "build-ts": "tsgo -p tsconfig.build.json",
62
- "clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm coverage *.log tsconfig.tsbuildinfo",
62
+ "clean": "../../common/scripts/clean-command-state.sh && rm -rf ci dist esm coverage temp *.log tsconfig.tsbuildinfo",
63
63
  "dep-cruiser": "depcruise --validate .dependency-cruiser.js --output-type err-long src/",
64
64
  "format-check": "oxfmt --check .",
65
65
  "format-write": "oxfmt .",