For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

defineCustomObject sections type reference

Inspect the exact accepted type for sections in defineCustomObject, including nested options and constraints.

Use with AI:Rippling AI ChatGPT Claude Cursor

The sections property is an input to defineCustomObject.

Field sections keyed by API names ending in __c; any explicit sectionId also needs __c.

Input shape​

SectionDefinitions

Exact accepted type​

S & ApiNamedMap<S>
TypeScript signature and generic parameters
defineCustomObject<const A extends `${string}__c`, const F extends FieldDefinitions = {}, C extends string = `${Unsuffixed<A>}_category`, S extends SectionDefinitions = {}, N extends NameFieldDefinition = { kind: "text"; }>(props: DefineCustomObjectProps<A, F, C, S, N>): DefinedCustomObject<CustomObjectDefinition<LogicalCustomObjectName<Unsuffixed<A>>, LogicalCategoryName<C>, S, F, N>>;