@serenity-is/corelib / LookupOptions
Interface: LookupOptions<TItem>
Defined in: src/base/lookup.ts:5
Options used to construct a Lookup.
Type Parameters
TItem
TItem
Type of the lookup items.
Properties
idField?
optionalidField:string
Defined in: src/base/lookup.ts:7
Name of the field that holds the unique identifier for an item. Used as the key in Lookup.itemById.
parentIdField?
optionalparentIdField:string
Defined in: src/base/lookup.ts:9
Name of the field that holds the parent identifier (for hierarchical lookups).
textField?
optionaltextField:string
Defined in: src/base/lookup.ts:11
Name of the field that holds the human-readable display text for an item.