# FieldNames

> Type reference for FieldNames in the Rippling SDK, including its public shape and related types.

Extracts the logical field-name union from a custom-object definition.

## Type definition

```
export type FieldNames<TDefinition extends AnyCustomObjectDefinition> = Extract<keyof TDefinition['fields'], string>;
```

## Related types

-   [AnyCustomObjectDefinition](https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/AnyCustomObjectDefinition-21c019e5)

Source: https://developer.rippling.com/documentation/js-sdk/metadata-sdk/reference/types/FieldNames-80d2b92e

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
