mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 09:28:36 +00:00
32 lines
915 B
TypeScript
32 lines
915 B
TypeScript
import { createFileRoute, linkOptions } from "@tanstack/react-router";
|
|
|
|
import { IntegrationsListPageTabs } from "@app/types/integrations";
|
|
|
|
import { CloudflarePagesAuthorizePage } from "./CloudflarePagesAuthorizePage";
|
|
|
|
export const Route = createFileRoute(
|
|
"/_authenticate/_inject-org-details/_org-layout/secret-manager/$projectId/_secret-manager-layout/integrations/cloudflare-pages/authorize"
|
|
)({
|
|
component: CloudflarePagesAuthorizePage,
|
|
beforeLoad: ({ context, params }) => {
|
|
return {
|
|
breadcrumbs: [
|
|
...context.breadcrumbs,
|
|
{
|
|
label: "Integrations",
|
|
link: linkOptions({
|
|
to: "/secret-manager/$projectId/integrations",
|
|
params,
|
|
search: {
|
|
selectedTab: IntegrationsListPageTabs.NativeIntegrations
|
|
}
|
|
})
|
|
},
|
|
{
|
|
label: "Cloudflare Pages"
|
|
}
|
|
]
|
|
};
|
|
}
|
|
});
|