Files
infisical/frontend/src/pages/secret-manager/integrations/GcpSecretManagerAuthorizePage/route.tsx
T
2025-07-02 01:16:49 +05:30

32 lines
956 B
TypeScript

import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { GcpSecretManagerAuthorizePage } from "./GcpSecretManagerAuthorizePage";
export const Route = createFileRoute(
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gcp-secret-manager/authorize"
)({
component: GcpSecretManagerAuthorizePage,
beforeLoad: ({ context, params }) => {
return {
breadcrumbs: [
...context.breadcrumbs,
{
label: "Integrations",
link: linkOptions({
to: "/projects/$projectId/secret-manager/integrations",
params,
search: {
selectedTab: IntegrationsListPageTabs.NativeIntegrations
}
})
},
{
label: "GCP Secret Manager"
}
]
};
}
});