@gooddata/sdk-backend-spi
Advanced tools
Comparing version
@@ -32,3 +32,3 @@ /** | ||
export type { IWorkspacePermissionsService } from "./workspace/permissions/index.js"; | ||
export type { IWorkspaceAttributesService } from "./workspace/attributes/index.js"; | ||
export type { IWorkspaceAttributesService, IAttributeWithReferences } from "./workspace/attributes/index.js"; | ||
export type { IWorkspaceMeasuresService, IMeasureReferencing, IMeasureKeyDrivers, } from "./workspace/measures/index.js"; | ||
@@ -35,0 +35,0 @@ export type { IWorkspaceFactsService } from "./workspace/facts/index.js"; |
@@ -1,4 +0,17 @@ | ||
import { ObjRef, IAttributeDisplayFormMetadataObject, IAttributeMetadataObject, IMetadataObject } from "@gooddata/sdk-model"; | ||
import { ObjRef, IAttributeDisplayFormMetadataObject, IAttributeMetadataObject, IMetadataObject, IDataSetMetadataObject } from "@gooddata/sdk-model"; | ||
import { IElementsQueryFactory } from "./elements/index.js"; | ||
/** | ||
* @beta | ||
*/ | ||
export interface IAttributeWithReferences { | ||
/** | ||
* Attribute metadata object | ||
*/ | ||
attribute: IAttributeMetadataObject; | ||
/** | ||
* Attribute related data set metadata object. | ||
*/ | ||
dataSet?: IDataSetMetadataObject; | ||
} | ||
/** | ||
* Service for querying additional attributes and attribute display forms data, and their elements. | ||
@@ -85,2 +98,8 @@ * | ||
/** | ||
* Get attributes with their related objects, by their respective display forms. | ||
* @param refs - refs of the attributes | ||
* @returns promise of attributes with their related objects | ||
*/ | ||
getAttributesWithReferences(displayFormRefs: ObjRef[]): Promise<IAttributeWithReferences[]>; | ||
/** | ||
* Request list of attributes that have a connection with specified display form in the data model. | ||
@@ -87,0 +106,0 @@ * |
{ | ||
"name": "@gooddata/sdk-backend-spi", | ||
"version": "10.20.0-alpha.17", | ||
"version": "10.20.0-alpha.18", | ||
"author": "GoodData", | ||
@@ -27,3 +27,3 @@ "description": "GoodData Backend SPI abstraction interfaces", | ||
"tslib": "^2.5.0", | ||
"@gooddata/sdk-model": "10.20.0-alpha.17" | ||
"@gooddata/sdk-model": "10.20.0-alpha.18" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
477552
0.3%11328
0.34%+ Added
- Removed