@gooddata/sdk-backend-spi 11.36.0-alpha.1 → 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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ILlmEndpointOpenAI, type LlmEndpointOpenAIPatch
|
|
1
|
+
import { type ILlmEndpointOpenAI, type LlmEndpointOpenAIPatch } from "@gooddata/sdk-model";
|
|
2
2
|
import { type IPagedResource } from "../../common/paging.js";
|
|
3
3
|
/**
|
|
4
4
|
* Service to query LLM endpoints.
|
|
@@ -105,12 +105,4 @@ export interface IOrganizationLlmEndpointsService {
|
|
|
105
105
|
* @returns Promise resolved when the llm endpoint is patched.
|
|
106
106
|
*/
|
|
107
107
|
patchLlmEndpoint(endpoint: LlmEndpointOpenAIPatch, token?: string): Promise<ILlmEndpointOpenAI>;
|
|
108
|
-
/**
|
|
109
|
-
* Test existing llm endpoint
|
|
110
|
-
*
|
|
111
|
-
* @param endpoint - definition of the llm endpoint
|
|
112
|
-
* @param token - token for the llm endpoint, if applicable
|
|
113
|
-
* @returns Promise resolved with test results.
|
|
114
|
-
*/
|
|
115
|
-
testLlmEndpoint(endpoint: Partial<LlmEndpointOpenAIPatch>, token?: string): Promise<LlmEndpointTestResults>;
|
|
116
108
|
}
|
package/esm/sdk-backend-spi.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ import { IDataSourcePermissionAssignment } from '@gooddata/sdk-model';
|
|
|
69
69
|
import type { IDateFilter } from '@gooddata/sdk-model';
|
|
70
70
|
import { IDateFilterConfig } from '@gooddata/sdk-model';
|
|
71
71
|
import { IDateHierarchyTemplate } from '@gooddata/sdk-model';
|
|
72
|
+
import { IdentifierRef } from '@gooddata/sdk-model';
|
|
72
73
|
import { IDimension } from '@gooddata/sdk-model';
|
|
73
74
|
import { IDimensionDescriptor } from '@gooddata/sdk-model';
|
|
74
75
|
import { IEntitlementDescriptor } from '@gooddata/sdk-model';
|
|
@@ -161,7 +162,6 @@ import { IWorkspaceSettings } from '@gooddata/sdk-model';
|
|
|
161
162
|
import { IWorkspaceUser } from '@gooddata/sdk-model';
|
|
162
163
|
import { IWorkspaceUserGroup } from '@gooddata/sdk-model';
|
|
163
164
|
import { LlmEndpointOpenAIPatch } from '@gooddata/sdk-model';
|
|
164
|
-
import { LlmEndpointTestResults } from '@gooddata/sdk-model';
|
|
165
165
|
import { LlmProviderListModelsResults } from '@gooddata/sdk-model';
|
|
166
166
|
import { LlmProviderPatch } from '@gooddata/sdk-model';
|
|
167
167
|
import { LlmProviderTestResults } from '@gooddata/sdk-model';
|
|
@@ -5642,14 +5642,6 @@ export declare interface IOrganizationLlmEndpointsService {
|
|
|
5642
5642
|
* @returns Promise resolved when the llm endpoint is patched.
|
|
5643
5643
|
*/
|
|
5644
5644
|
patchLlmEndpoint(endpoint: LlmEndpointOpenAIPatch, token?: string): Promise<ILlmEndpointOpenAI>;
|
|
5645
|
-
/**
|
|
5646
|
-
* Test existing llm endpoint
|
|
5647
|
-
*
|
|
5648
|
-
* @param endpoint - definition of the llm endpoint
|
|
5649
|
-
* @param token - token for the llm endpoint, if applicable
|
|
5650
|
-
* @returns Promise resolved with test results.
|
|
5651
|
-
*/
|
|
5652
|
-
testLlmEndpoint(endpoint: Partial<LlmEndpointOpenAIPatch>, token?: string): Promise<LlmEndpointTestResults>;
|
|
5653
5645
|
}
|
|
5654
5646
|
|
|
5655
5647
|
/**
|
|
@@ -6846,13 +6838,13 @@ export declare interface IReferencesOption {
|
|
|
6846
6838
|
* @alpha
|
|
6847
6839
|
*/
|
|
6848
6840
|
export declare interface IReferencesResult {
|
|
6849
|
-
nodes: (
|
|
6841
|
+
nodes: (IdentifierRef & {
|
|
6850
6842
|
title: string;
|
|
6851
6843
|
isRoot?: boolean;
|
|
6852
6844
|
})[];
|
|
6853
6845
|
edges: {
|
|
6854
|
-
from:
|
|
6855
|
-
to:
|
|
6846
|
+
from: IdentifierRef;
|
|
6847
|
+
to: IdentifierRef;
|
|
6856
6848
|
}[];
|
|
6857
6849
|
}
|
|
6858
6850
|
|
|
@@ -6860,7 +6852,7 @@ export declare interface IReferencesResult {
|
|
|
6860
6852
|
* @alpha
|
|
6861
6853
|
*/
|
|
6862
6854
|
export declare interface IReferencesService {
|
|
6863
|
-
getReferences(root:
|
|
6855
|
+
getReferences(root: IdentifierRef | IdentifierRef[], opts?: IReferencesOption): Promise<IReferencesResult>;
|
|
6864
6856
|
}
|
|
6865
6857
|
|
|
6866
6858
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type IdentifierRef } from "@gooddata/sdk-model";
|
|
2
2
|
/**
|
|
3
3
|
* @alpha
|
|
4
4
|
*/
|
|
@@ -9,18 +9,18 @@ export interface IReferencesOption {
|
|
|
9
9
|
* @alpha
|
|
10
10
|
*/
|
|
11
11
|
export interface IReferencesResult {
|
|
12
|
-
nodes: (
|
|
12
|
+
nodes: (IdentifierRef & {
|
|
13
13
|
title: string;
|
|
14
14
|
isRoot?: boolean;
|
|
15
15
|
})[];
|
|
16
16
|
edges: {
|
|
17
|
-
from:
|
|
18
|
-
to:
|
|
17
|
+
from: IdentifierRef;
|
|
18
|
+
to: IdentifierRef;
|
|
19
19
|
}[];
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* @alpha
|
|
23
23
|
*/
|
|
24
24
|
export interface IReferencesService {
|
|
25
|
-
getReferences(root:
|
|
25
|
+
getReferences(root: IdentifierRef | IdentifierRef[], opts?: IReferencesOption): Promise<IReferencesResult>;
|
|
26
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-backend-spi",
|
|
3
|
-
"version": "11.36.0-alpha.
|
|
3
|
+
"version": "11.36.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.36.0-alpha.
|
|
27
|
+
"@gooddata/sdk-model": "11.36.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.36.0-alpha.
|
|
52
|
-
"@gooddata/eslint-config": "11.36.0-alpha.
|
|
51
|
+
"@gooddata/oxlint-config": "11.36.0-alpha.2",
|
|
52
|
+
"@gooddata/eslint-config": "11.36.0-alpha.2"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"_phase:build": "npm run build",
|