Skip to content

Function: getAllProjectAvatars() ​

ts
function getAllProjectAvatars(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  custom?: object[];
  system?: object[];
}>;

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

Returns all avatars which are visible for the currently logged in user. The avatars are grouped into system and custom.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringProject id or project key
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; custom?: object[]; system?: object[]; }>