/* 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 AttributeParams = {
realm: string;
attributeName: string;
};
const NewAttributeSettings = lazy(() => import("../NewAttributeSettings"));
export const AttributeRoute: AppRouteObject = {
path: "/:realm/realm-settings/user-profile/attributes/:attributeName/edit-attribute",
element: ,
handle: {
access: "manage-realm",
breadcrumb: (t) => t("editAttribute"),
},
};
export const toAttribute = (params: AttributeParams): Partial => ({
pathname: generateEncodedPath(AttributeRoute.path, params),
});