Skip to content

Function: getProjectProperty() ​

ts
function getProjectProperty(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  key?: string;
  value?: unknown;
}>;

Defined in: src/server/api/projects.ts:408

Returns the value of the property with a given key from the project identified by the key or by the id.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ projectIdOrKey: string; propertyKey: string; }-
parameters.projectIdOrKeystringThe project from which the property will be returned.
parameters.propertyKey?stringThe key of the property to return.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; key?: string; value?: unknown; }>