/* 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 NewClientScopeParams = { realm: string };
const CreateClientScope = lazy(() => import("../CreateClientScope"));
export const NewClientScopeRoute: AppRouteObject = {
path: "/:realm/client-scopes/new",
element: ,
handle: {
access: "manage-clients",
breadcrumb: (t) => t("createClientScope"),
},
};
export const toNewClientScope = (
params: NewClientScopeParams,
): Partial => ({
pathname: generateEncodedPath(NewClientScopeRoute.path, params),
});