Member Junction
    Preparing search index...

    "My Routines" — card list of the CURRENT USER's routines with per-card quick actions (run now / pause-resume / edit / history / delete). Data comes from the shared UserRoutineEngine cache — no ad-hoc RunViews.

    Reusable (Generic) component: no Router, no page chrome. Mutating quick actions raise cancelable Before* events (set Cancel = true to veto) followed by informational After* events, per the standard MJ Before/After event idiom.

    Run-now v1 semantics: sets NextRunAt = now and saves — the User Routine Dispatcher job claims due routines on its next sweep (within a minute).

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    AfterRoutineDeleted: EventEmitter<AfterRoutineDeletedEventArgs> = ...

    Informational: fires after a routine was deleted.

    AfterRoutinePaused: EventEmitter<AfterRoutinePausedEventArgs> = ...

    Informational: fires after a pause/resume Status toggle was saved.

    AfterRoutineRunNow: EventEmitter<AfterRoutineRunNowEventArgs> = ...

    Informational: fires after a routine was queued to run now.

    BeforeRoutineDeleted: EventEmitter<BeforeRoutineDeletedEventArgs> = ...

    Cancelable: fires before a routine (and its recipients) is deleted.

    BeforeRoutinePaused: EventEmitter<BeforeRoutinePausedEventArgs> = ...

    Cancelable: fires before a pause/resume Status toggle is saved.

    BeforeRoutineRunNow: EventEmitter<BeforeRoutineRunNowEventArgs> = ...

    Cancelable: fires before a routine is queued to run now.

    BusyRoutineIDs: Set<string> = ...

    IDs of routines with an in-flight save/delete (disables that card's action buttons).

    ConversationOpened: EventEmitter<ConversationOpenedEventArgs> = ...

    The routine's dedicated conversation was requested (chat icon on the card).

    CountsChanged: EventEmitter<RoutineCounts> = ...

    Loaded/filtered counts changed (load, filter, refresh).

    CreateRequested: EventEmitter<void> = ...

    User asked to create a new routine (empty-state CTA). The host opens the editor.

    DescribeCron: (cron: string | null | undefined) => string = DescribeCronExpression

    Type Declaration

      • (cron: string | null | undefined): string
      • Human-friendly description of a cron expression. Covers the editor presets plus a couple of common step shapes; anything else falls back to the raw expression so the UI never shows a wrong description.

        Parameters

        • cron: string | null | undefined

        Returns string

    EditRequested: EventEmitter<MJUserRoutineEntity> = ...

    User asked to edit a routine. The host opens the editor.

    FilteredRoutines: MJUserRoutineEntity[] = []
    HistoryRequested: EventEmitter<MJUserRoutineEntity> = ...

    User asked to view a routine's run history. The host opens the history view.

    IsLoading: boolean = false
    LastRunVariant: (status: string | null | undefined) => RoutineChipVariant = RunStatusVariant

    Type Declaration

    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.

    RelativeTime: (date: Date | null | undefined, now?: Date) => string = FormatRelativeTime

    Type Declaration

      • (date: Date | null | undefined, now?: Date): string
      • Compact relative-time label ("3m ago", "in 2h", "just now"). Returns an empty string for null input. now is injectable for tests.

        Parameters

        • date: Date | null | undefined
        • now: Date = ...

        Returns string

    Routines: MJUserRoutineEntity[] = []
    RoutineSelected: EventEmitter<RoutineSelectedEventArgs> = ...

    Informational: a routine was selected (history/detail opened).

    StatusVariant: (status: "Active" | "Disabled" | "Paused") => RoutineChipVariant = RoutineStatusVariant

    Type Declaration

      • (status: "Active" | "Disabled" | "Paused"): RoutineChipVariant
      • Maps a routine lifecycle status to a chip variant.

        Parameters

        • status: "Active" | "Disabled" | "Paused"

        Returns RoutineChipVariant

    "ɵ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 the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns Promise<void>