Member Junction
    Preparing search index...

    Lightweight class to share field metadata for component validation and linting. This is a simplified version of EntityFieldInfo from @memberjunction/core, designed for contexts where full field metadata isn't needed.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    allowsNull: boolean

    Whether the field allows null values

    defaultInView: boolean

    Whether this field is usually displayed in a user-facing view

    description?: string

    Description of the field

    isPrimaryKey: boolean

    Whether the field is part of the primary key

    name: string

    Name of the field

    possibleValues?: string[]

    Possible values for the field, if applicable

    sequence: number

    Display sequence usually used for this field

    type: string

    SQL Server type of the field, e.g., 'varchar', 'int', etc.

    Methods

    • 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).

      Returns Partial<EntityFieldInfo>

      A partial EntityFieldInfo-compatible object