Skip to content

Function: findObjectTypeFlatList() ​

ts
function findObjectTypeFlatList(
   client, 
   parameters, 
   options?
): Promise<object[]>;

Defined in: src/assetsServer/api/objectSchemas.ts:104

Get a flat list of all object types belonging to a certain object schema.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ exclude?: string; id: string; query?: string; role?: string; }-
parameters.exclude?stringExclude object types with this name
parameters.id?stringThe ID of the object schema to retrieve object types from
parameters.query?stringQuery to filter on available object types
parameters.role?stringThe Object Type role to filter the list of object types. Valid values: OBJECT_TYPE_USER, OBJECT_TYPE_DEVELOPER, OBJECT_TYPE_MANAGER
options?RequestOptions-

Returns ​

Promise<object[]>