getFields

Fetch all fields defined on this Collection, including dividers.

const fields = await collection.getFields()

Some fields might not be fully supported by the API; unsupported fields will be returned with an unsupported field type.

Returns

  • Promise<Field[]> – An array of Field instances.