kernl API
    Preparing search index...

    Function preferredHandlers

    • Catalogue ids the user prefers for one convention: intent-specific entries when any match, otherwise the archetype-wide ones.

      Parameters

      • preferences: HandlerPreferences | undefined

        The user's preferences for the convention's archetype.

      • convention: string

        The requested convention identity.

      Returns readonly string[]

      Catalogue ids in preference order.

      preferredHandlers(preferences, 'napplet:profile/edit'); // ['nip5d:35129:…:profile-editor']