Optionalinit: Partial<SimpleEntityInfo>OptionaldescriptionOptional description of the entity
Complete list of ALL fields in this entity. Used by linter to validate field access with proper severity levels.
Name of the entity (unique system-wide, e.g., "Certifications")
Helper method to get a field by name
The field name to find
The SimpleEntityFieldInfo if found, undefined otherwise
Helper method to get all field names as a Set for efficient lookup
Set of all field names in this entity
Helper method to check if a field exists in this entity
The field name to check
True if the field exists, false otherwise
Converts this SimpleEntityInfo to a partial EntityInfo object. Note: This creates a plain object with EntityInfo-compatible properties, not a full EntityInfo instance (which requires database context).
A partial EntityInfo-compatible object
StaticFromCreates a SimpleEntityInfo from a full EntityInfo object
The EntityInfo from @memberjunction/core
A new SimpleEntityInfo instance with all fields mapped
StaticFromCreates an array of SimpleEntityInfo from an array of EntityInfo objects
Array of EntityInfo from @memberjunction/core
Array of SimpleEntityInfo instances
Lightweight class to share entity metadata for component validation and linting. Contains the entity name and complete list of all fields in the entity. This is a simplified version of EntityInfo from @memberjunction/core, designed for contexts where full entity metadata isn't needed.