featherbit UI
    Preparing search index...

    Function groupPluginsByCategory

    • Groups plugin entries into PLUGIN_CATEGORIES order, keeping each category's declared type order and dropping empty categories. Any entry whose type is not in a declared category is collected into a trailing "Other" group so nothing is lost.

      Type Parameters

      • T extends { type: string }

        Any object carrying a type field.

      Parameters

      • items: T[]

        Plugin entries to group (already filtered/searched by caller).

      Returns { items: T[]; label: string }[]

      Non-empty { label, items } groups in display order.