Member Junction
    Preparing search index...

    Dashboard favorites, stored as MJ: User Favorites rows on the MJ: Dashboards entity. Reads come from the UserInfoEngine cache; writes go through the provider and refresh that cache.

    Multi-provider note: callers under a non-default provider set service.Provider before calling any method.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    Changed$: Subject<void> = ...

    Emits after any favorite changes.

    Accessors

    Methods

    • Adds or removes the favorite, then reloads the favorites cache. Writes run one at a time.

      Parameters

      • dashboardId: string
      • isFavorite: boolean

      Returns Promise<void>

    • Flips the favorite state and returns the new state. The state is read after earlier writes finish, so quick repeated toggles alternate.

      Parameters

      • dashboardId: string

      Returns Promise<boolean>