Function: getDashboardItemProperty()
ts
function getDashboardItemProperty(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
key?: string;
value?: unknown;
}>;Defined in: src/server/api/dashboards.ts:47
Returns the value of the property with a given key from the dashboard item identified by the id.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { dashboardId: string; itemId: string; propertyKey: string; } | - |
parameters.dashboardId | string | The dashboard id. |
parameters.itemId? | string | The dashboard item from which the property will be returned. |
parameters.propertyKey? | string | The key of the property to return. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; key?: string; value?: unknown; }>