getFields

getFields

Fetch all Fields in a Collection.

const fields = await collection.getFields();

Returns

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

Caveats:

  • Some Fields might not be fully supported by the API; unsupported Fields will be returned as an unsupported field type.