ObjectOptions | Rippling Developer
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.
Type definition
type ObjectOptions<S extends SectionDefinitions , F extends FieldDefinitions , N extends NameFieldDefinition > = Pick<MetadataObjectDefinition , 'description' | 'pluralLabel' | 'friendlyName' | 'transformationApiName' | 'icon' | 'ownerRole' | 'enableHistory'> & {
sections?: S & ApiNamedMap <S>;
fields: F & ApiNamedMap <F> & {
[K in keyof F]: string extends Exclude<F[K]['section'], undefined> ? F[K] : Exclude<F[K]['section'], undefined> extends keyof NoInfer<S> ? F[K] : never;
};
nameField?: N;
};