UNPKG

@keycloakify/keycloak-admin-ui

Version:
19 lines 653 B
import { jsx as _jsx } from "react/jsx-runtime"; import { lazy } from "react"; import { generateEncodedPath } from "../../utils/generateEncodedPath"; const EditClientScope = lazy(() => import("../../client-scopes/EditClientScope")); export const ClientScopeRoute = { path: "/:realm/client-scopes/:id/:tab", element: _jsx(EditClientScope, {}), breadcrumb: (t) => t("clientScopeDetails"), handle: { access: "view-clients", }, }; export const toClientScope = (params) => { const path = ClientScopeRoute.path; return { pathname: generateEncodedPath(path, params), }; }; //# sourceMappingURL=ClientScope.js.map