feat: fixed all ts url errors

This commit is contained in:
=
2025-07-02 01:16:49 +05:30
parent b0c1c9ce26
commit 48ac6b4aff
280 changed files with 2163 additions and 2460 deletions
@@ -33,7 +33,7 @@ export const RailwayAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/railway/create",
to: "/projects/$projectId/secret-manager/integrations/railway/create",
params: {
projectId: currentWorkspace.id
},
@@ -1,11 +1,11 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { RailwayAuthorizePage } from './RailwayAuthorizePage'
import { RailwayAuthorizePage } from "./RailwayAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/railway/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/railway/authorize"
)({
component: RailwayAuthorizePage,
beforeLoad: ({ context, params }) => {
@@ -13,19 +13,19 @@ export const Route = createFileRoute(
breadcrumbs: [
...context.breadcrumbs,
{
label: 'Integrations',
label: "Integrations",
link: linkOptions({
to: '/secret-manager/$projectId/integrations',
to: "/projects/$projectId/secret-manager/integrations",
params,
search: {
selectedTab: IntegrationsListPageTabs.NativeIntegrations,
},
}),
selectedTab: IntegrationsListPageTabs.NativeIntegrations
}
})
},
{
label: 'Railway',
},
],
}
},
})
label: "Railway"
}
]
};
}
});