/**
 * @import { SidebarItemConfig } from "@docusaurus/plugin-content-docs/src/sidebars/types.js"
 */

import categories from "./categories.mjs";

export default /** @type {SidebarItemConfig} */
({
    integrations: [
        {
            type: "doc",
            id: "index",
        },
        {
            type: "doc",
            id: "applications",
        },
        ...categories.map(([dirName, label]) => ({
            type: "category",
            label,
            items: [
                {
                    type: "autogenerated",
                    dirName,
                },
            ],
        })),
    ],
});
