Optionalinit: Partial<SimpleQueryFieldInfo>Whether the field allows null values
Whether this field is usually displayed in a user-facing view
OptionaldescriptionDescription of the field
Whether the field is part of the primary key
OptionalisWhether this field represents a summary/aggregate value (COUNT, SUM, AVG, etc.). Important for chart axis choices, grid formatting, and data interpretation.
Name of the field
OptionalpossiblePossible values for the field, if applicable
Display sequence usually used for this field
OptionalsourceThe source entity this field originates from (for data lineage tracking). For query fields, this indicates which MemberJunction entity the data comes from. May be undefined for computed fields that don't map to a single entity.
OptionalsourceThe field name in the source entity (for data lineage tracking). Combined with sourceEntity, this provides full lineage back to the original data source.
OptionalsummaryDescription of the summary calculation (e.g., "Count of orders per customer"). Provides context for how the aggregate value is computed.
SQL Server type of the field, e.g., 'varchar', 'int', etc.
Converts this SimpleEntityFieldInfo to a partial EntityFieldInfo object. Note: This creates a plain object with EntityFieldInfo-compatible properties, not a full EntityFieldInfo instance (which requires database context).
A partial EntityFieldInfo-compatible object
StaticFromCreates a SimpleEntityFieldInfo from a full EntityFieldInfo object
The EntityFieldInfo from @memberjunction/core
A new SimpleEntityFieldInfo instance
Extended field info class for query fields that includes data lineage tracking. Query fields may come from joins across multiple entities, so this class tracks the source entity and field for each column in the query result.
Use this class for ComponentQueryDataRequirement.fields instead of SimpleEntityFieldInfo.