mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 13:29:11 +00:00
32 lines
889 B
TypeScript
32 lines
889 B
TypeScript
import { createFileRoute, linkOptions } from "@tanstack/react-router";
|
|
|
|
import { IntegrationsListPageTabs } from "@app/types/integrations";
|
|
|
|
import { IntegrationDetailsByIDPage } from "./IntegrationsDetailsByIDPage";
|
|
|
|
export const Route = createFileRoute(
|
|
"/_authenticate/_inject-org-details/_org-layout/secret-manager/$projectId/_secret-manager-layout/integrations/$integrationId"
|
|
)({
|
|
component: IntegrationDetailsByIDPage,
|
|
beforeLoad: ({ context, params }) => {
|
|
return {
|
|
breadcrumbs: [
|
|
...context.breadcrumbs,
|
|
{
|
|
label: "Integrations",
|
|
link: linkOptions({
|
|
to: "/secret-manager/$projectId/integrations",
|
|
params,
|
|
search: {
|
|
selectedTab: IntegrationsListPageTabs.NativeIntegrations
|
|
}
|
|
})
|
|
},
|
|
{
|
|
label: "Details"
|
|
}
|
|
]
|
|
};
|
|
}
|
|
});
|