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

FieldDefinitionBase

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

Use with AI:Rippling AI ChatGPT Claude Cursor

Generic field-definition shape used by all concrete field factories.

logicalName, apiName, and valueType are compiler-owned metadata slots. Field factories intentionally leave the first two unset; defineCustomObject fills them in from the surrounding field map so callers do not have to author any __c suffixes manually.

Type definition​

export interface FieldDefinitionBase<TKind extends string, TValue, TRequired extends boolean, TWritable extends boolean, TSectionKey extends string | undefined = string | undefined, TTargetApiName extends string | undefined = undefined> extends FieldPresentationProps<TSectionKey> {
    readonly kind: TKind;
    readonly required: TRequired;
    readonly writable: TWritable;
    readonly targetApiName?: TTargetApiName;
    readonly logicalName?: string;
    readonly apiName?: string;
}