/* eslint-disable */
// @ts-nocheck
import { lazy } from "react";
import type { Path } from "react-router-dom";
import { generateEncodedPath } from "../../utils/generateEncodedPath";
import type { AppRouteObject } from "../../routes";
export type ClientScopesTab = "setup" | "evaluate";
export type ClientScopesParams = {
realm: string;
clientId: string;
tab: ClientScopesTab;
};
const ClientDetails = lazy(() => import("../ClientDetails"));
export const ClientScopesRoute: AppRouteObject = {
path: "/:realm/clients/:clientId/clientScopes/:tab",
element: ,
handle: {
access: "view-clients",
breadcrumb: (t) => t("clientSettings"),
},
};
export const toClientScopesTab = (
params: ClientScopesParams,
): Partial => ({
pathname: generateEncodedPath(ClientScopesRoute.path, params),
});