/* eslint-disable */ // @ts-nocheck import { lazy } from "react"; import type { Path } from "react-router-dom"; import type { AppRouteObject } from "../../routes"; import { generateEncodedPath } from "../../utils/generateEncodedPath"; type OrganizationsRouteParams = { realm: string; }; const OrganizationsSection = lazy(() => import("../OrganizationsSection")); export const OrganizationsRoute: AppRouteObject = { path: "/:realm/organizations", element: , handle: { access: "query-organizations", breadcrumb: (t) => t("organizationsList"), }, }; export const toOrganizations = ( params: OrganizationsRouteParams, ): Partial => { const path = OrganizationsRoute.path; return { pathname: generateEncodedPath(path, params), }; };