Member Junction
    Preparing search index...

    A clickable pill component that displays a link to a related entity record. Shows the entity icon (from metadata) and either the record name or entity name. Clicking opens the entity record in a new tab.

    Usage:

    <mj-entity-link-pill
    [entityName]="'MJ: AI Agent Runs'"
    [recordId]="run.TargetLogID"
    [recordName]="run.AgentRunName">
    </mj-entity-link-pill>

    Hierarchy (View Summary)

    Implements

    • OnChanges
    Index

    Constructors

    Properties

    entityInfo: EntityInfo | null = null
    entityName: string | null = null

    The entity name to link to (e.g., 'MJ: AI Agent Runs')

    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    recordId: string | null = null

    The record ID to link to

    recordName: string | null = null

    Optional display name for the record. If not provided, uses entity name.

    "ɵdir": unknown
    "ɵfac": unknown

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunReportToUse(): IRunReportProvider

      Returns either the default RunReport provider or the one specified in the Provider property, if it was specified

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.

      Parameters

      • changes: { [propName: string]: SimpleChange<any> }

        The changed properties.

      Returns void