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
@@ -68,7 +68,7 @@ export const AWSParameterStoreAuthorizeIntegrationPage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/aws-parameter-store/create",
to: "/projects/$projectId/secret-manager/integrations/aws-parameter-store/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 { AWSParameterStoreAuthorizeIntegrationPage } from './AwsParameterStoreAuthorizePage'
import { AWSParameterStoreAuthorizeIntegrationPage } from "./AwsParameterStoreAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-parameter-store/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-parameter-store/authorize"
)({
component: AWSParameterStoreAuthorizeIntegrationPage,
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: 'AWS Parameter Store',
},
],
}
},
})
label: "AWS Parameter Store"
}
]
};
}
});
@@ -156,7 +156,7 @@ export const AWSParameterStoreConfigurePage = () => {
setPathErrorText("");
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AWSParameterStoreConfigurePage } from './AwsParamterStoreConfigurePage'
import { AWSParameterStoreConfigurePage } from "./AwsParamterStoreConfigurePage";
const AwsParameterStoreConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-parameter-store/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-parameter-store/create"
)({
component: AWSParameterStoreConfigurePage,
validateSearch: zodValidator(AwsParameterStoreConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'AWS Parameter Store',
},
],
}
},
})
label: "AWS Parameter Store"
}
]
};
}
});
@@ -66,7 +66,7 @@ export const AWSSecretManagerAuthorizePage = () => {
})
});
navigate({
to: "/secret-manager/$projectId/integrations/aws-secret-manager/create",
to: "/projects/$projectId/secret-manager/integrations/aws-secret-manager/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 { AWSSecretManagerAuthorizePage } from './AwsSecretManagerAuthorizePage'
import { AWSSecretManagerAuthorizePage } from "./AwsSecretManagerAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-secret-manager/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-secret-manager/authorize"
)({
component: AWSSecretManagerAuthorizePage,
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: 'AWS Secret Manager',
},
],
}
},
})
label: "AWS Secret Manager"
}
]
};
}
});
@@ -204,7 +204,7 @@ export const AwsSecretManagerConfigurePage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AwsSecretManagerConfigurePage } from './AwsSecretManagerConfigurePage'
import { AwsSecretManagerConfigurePage } from "./AwsSecretManagerConfigurePage";
const AwsSecretManagerConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-secret-manager/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/aws-secret-manager/create"
)({
component: AwsSecretManagerConfigurePage,
validateSearch: zodValidator(AwsSecretManagerConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'AWS Secret Manager',
},
],
}
},
})
label: "AWS Secret Manager"
}
]
};
}
});
@@ -131,7 +131,7 @@ export const AzureAppConfigurationConfigurePage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AzureAppConfigurationConfigurePage } from './AzureAppConfigurationConfigurePage'
import { AzureAppConfigurationConfigurePage } from "./AzureAppConfigurationConfigurePage";
const AzureAppConfigurationPageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-app-configuration/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-app-configuration/create"
)({
component: AzureAppConfigurationConfigurePage,
validateSearch: zodValidator(AzureAppConfigurationPageQueryParamsSchema),
@@ -20,19 +20,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: 'Azure App Configuration',
},
],
}
},
})
label: "Azure App Configuration"
}
]
};
}
});
@@ -28,7 +28,7 @@ export const AzureAppConfigurationOauthCallbackPage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/azure-app-configuration/create",
to: "/projects/$projectId/secret-manager/integrations/azure-app-configuration/create",
params: {
projectId: currentWorkspace.id
},
@@ -1,43 +1,39 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AzureAppConfigurationOauthCallbackPage } from './AzureAppConfigurationOauthCallbackPage'
import { AzureAppConfigurationOauthCallbackPage } from "./AzureAppConfigurationOauthCallbackPage";
export const AzureAppConfigurationOauthCallbackPageQueryParamsSchema = z.object(
{
state: z.string().catch(''),
code: z.coerce.string().catch(''),
},
)
export const AzureAppConfigurationOauthCallbackPageQueryParamsSchema = z.object({
state: z.string().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-app-configuration/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-app-configuration/oauth2/callback"
)({
component: AzureAppConfigurationOauthCallbackPage,
validateSearch: zodValidator(
AzureAppConfigurationOauthCallbackPageQueryParamsSchema,
),
validateSearch: zodValidator(AzureAppConfigurationOauthCallbackPageQueryParamsSchema),
beforeLoad: ({ context, params }) => {
return {
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: 'Azure App Configuration',
},
],
}
},
})
label: "Azure App Configuration"
}
]
};
}
});
@@ -39,7 +39,7 @@ export const AzureDevopsAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/azure-devops/create",
to: "/projects/$projectId/secret-manager/integrations/azure-devops/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 { AzureDevopsAuthorizePage } from './AzureDevopsAuthorizePage'
import { AzureDevopsAuthorizePage } from "./AzureDevopsAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-devops/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-devops/authorize"
)({
component: AzureDevopsAuthorizePage,
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: 'Azure Devops',
},
],
}
},
})
label: "Azure Devops"
}
]
};
}
});
@@ -80,7 +80,7 @@ export const AzureDevopsConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AzureDevopsConfigurePage } from './AzureDevopsConfigurePage'
import { AzureDevopsConfigurePage } from "./AzureDevopsConfigurePage";
const AzureDevopsConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-devops/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-devops/create"
)({
component: AzureDevopsConfigurePage,
validateSearch: zodValidator(AzureDevopsConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Azure Devops',
},
],
}
},
})
label: "Azure Devops"
}
]
};
}
});
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import z from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import z from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AzureKeyVaultAuthorizePage } from './AzureKeyVaultAuthorizePage'
import { AzureKeyVaultAuthorizePage } from "./AzureKeyVaultAuthorizePage";
const PageQueryParamsSchema = z.object({
state: z.string(),
clientId: z.string().optional(),
})
clientId: z.string().optional()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-key-vault/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-key-vault/authorize"
)({
component: AzureKeyVaultAuthorizePage,
validateSearch: PageQueryParamsSchema,
@@ -20,19 +20,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: 'Azure Key Vault',
},
],
}
},
})
label: "Azure Key Vault"
}
]
};
}
});
@@ -88,7 +88,7 @@ export const AzureKeyVaultConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AzureKeyVaultConfigurePage } from './AzureKeyVaultConfigurePage'
import { AzureKeyVaultConfigurePage } from "./AzureKeyVaultConfigurePage";
const AzureKeyVaultConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-key-vault/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-key-vault/create"
)({
component: AzureKeyVaultConfigurePage,
validateSearch: zodValidator(AzureKeyVaultConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Azure Key Vault',
},
],
}
},
})
label: "Azure Key Vault"
}
]
};
}
});
@@ -28,7 +28,7 @@ export const AzureKeyVaultOauthCallbackPage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/azure-key-vault/create",
to: "/projects/$projectId/secret-manager/integrations/azure-key-vault/create",
params: {
projectId: currentWorkspace.id
},
@@ -1,18 +1,18 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { AzureKeyVaultOauthCallbackPage } from './AzureKeyVaultOauthCallback'
import { AzureKeyVaultOauthCallbackPage } from "./AzureKeyVaultOauthCallback";
export const AzureKeyVaultOauthCallbackQueryParamsSchema = z.object({
state: z.string().catch(''),
code: z.coerce.string().catch(''),
})
state: z.string().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-key-vault/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/azure-key-vault/oauth2/callback"
)({
component: AzureKeyVaultOauthCallbackPage,
validateSearch: zodValidator(AzureKeyVaultOauthCallbackQueryParamsSchema),
@@ -21,19 +21,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: 'Azure Key Vault',
},
],
}
},
})
label: "Azure Key Vault"
}
]
};
}
});
@@ -148,7 +148,7 @@ export const BitbucketConfigurePage = () => {
text: "Successfully created integration"
});
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { BitbucketConfigurePage } from './BitbucketConfigurePage'
import { BitbucketConfigurePage } from "./BitbucketConfigurePage";
const BitbucketConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/bitbucket/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/bitbucket/create"
)({
component: BitbucketConfigurePage,
validateSearch: zodValidator(BitbucketConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Bitbucket',
},
],
}
},
})
label: "Bitbucket"
}
]
};
}
});
@@ -27,7 +27,7 @@ export const BitbucketOauthCallbackPage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/bitbucket/create",
to: "/projects/$projectId/secret-manager/integrations/bitbucket/create",
params: {
projectId: currentWorkspace.id
},
@@ -1,18 +1,18 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { BitbucketOauthCallbackPage } from './BitbucketOauthCallbackPage'
import { BitbucketOauthCallbackPage } from "./BitbucketOauthCallbackPage";
export const BitbucketOauthCallbackQueryParamsSchema = z.object({
state: z.string().catch(''),
code: z.coerce.string().catch(''),
})
state: z.string().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/bitbucket/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/bitbucket/oauth2/callback"
)({
component: BitbucketOauthCallbackPage,
validateSearch: zodValidator(BitbucketOauthCallbackQueryParamsSchema),
@@ -21,19 +21,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: 'Bitbucket',
},
],
}
},
})
label: "Bitbucket"
}
]
};
}
});
@@ -36,7 +36,7 @@ export const ChecklyAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/checkly/create",
to: "/projects/$projectId/secret-manager/integrations/checkly/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 { ChecklyAuthorizePage } from './ChecklyAuthorizePage'
import { ChecklyAuthorizePage } from "./ChecklyAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/checkly/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/checkly/authorize"
)({
component: ChecklyAuthorizePage,
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: 'Checkly',
},
],
}
},
})
label: "Checkly"
}
]
};
}
});
@@ -113,7 +113,7 @@ export const ChecklyConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { ChecklyConfigurePage } from './ChecklyConfigurePage'
import { ChecklyConfigurePage } from "./ChecklyConfigurePage";
const ChecklyConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/checkly/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/checkly/create"
)({
component: ChecklyConfigurePage,
validateSearch: zodValidator(ChecklyConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Checkly',
},
],
}
},
})
label: "Checkly"
}
]
};
}
});
@@ -36,7 +36,7 @@ export const CircleCIAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/circleci/create",
to: "/projects/$projectId/secret-manager/integrations/circleci/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 { CircleCIAuthorizePage } from './CircleCIAuthorizePage'
import { CircleCIAuthorizePage } from "./CircleCIAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/circleci/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/circleci/authorize"
)({
component: CircleCIAuthorizePage,
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: 'Circle CI',
},
],
}
},
})
label: "Circle CI"
}
]
};
}
});
@@ -103,7 +103,7 @@ export const CircleCIConfigurePage = () => {
text: "Successfully created integration"
});
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { CircleCIConfigurePage } from './CircleCIConfigurePage'
import { CircleCIConfigurePage } from "./CircleCIConfigurePage";
const CircleCIConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/circleci/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/circleci/create"
)({
component: CircleCIConfigurePage,
validateSearch: zodValidator(CircleCIConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Circle CI',
},
],
}
},
})
label: "Circle CI"
}
]
};
}
});
@@ -34,7 +34,7 @@ export const Cloud66AuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/cloud-66/create",
to: "/projects/$projectId/secret-manager/integrations/cloud-66/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 { Cloud66AuthorizePage } from './Cloud66AuthorizePage'
import { Cloud66AuthorizePage } from "./Cloud66AuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloud-66/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloud-66/authorize"
)({
component: Cloud66AuthorizePage,
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: 'Cloud 66',
},
],
}
},
})
label: "Cloud 66"
}
]
};
}
});
@@ -75,7 +75,7 @@ export const Cloud66ConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { Cloud66ConfigurePage } from './Cloud66ConfigurePage'
import { Cloud66ConfigurePage } from "./Cloud66ConfigurePage";
const Cloud66ConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloud-66/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloud-66/create"
)({
component: Cloud66ConfigurePage,
validateSearch: zodValidator(Cloud66ConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Cloud 66',
},
],
}
},
})
label: "Cloud 66"
}
]
};
}
});
@@ -41,7 +41,7 @@ export const CloudflarePagesAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/cloudflare-pages/create",
to: "/projects/$projectId/secret-manager/integrations/cloudflare-pages/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 { CloudflarePagesAuthorizePage } from './CloudflarePagesAuthorizePage'
import { CloudflarePagesAuthorizePage } from "./CloudflarePagesAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-pages/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-pages/authorize"
)({
component: CloudflarePagesAuthorizePage,
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: 'Cloudflare Pages',
},
],
}
},
})
label: "Cloudflare Pages"
}
]
};
}
});
@@ -94,7 +94,7 @@ export const CloudflarePagesConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { CloudflarePagesConfigurePage } from './CloudflarePagesConfigurePage'
import { CloudflarePagesConfigurePage } from "./CloudflarePagesConfigurePage";
const CloudflarePagesConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-pages/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-pages/create"
)({
component: CloudflarePagesConfigurePage,
validateSearch: zodValidator(CloudflarePagesConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Cloudflare Pages',
},
],
}
},
})
label: "Cloudflare Pages"
}
]
};
}
});
@@ -41,7 +41,7 @@ export const CloudflareWorkersAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/cloudflare-workers/create",
to: "/projects/$projectId/secret-manager/integrations/cloudflare-workers/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 { CloudflareWorkersAuthorizePage } from './CloudflareWorkersAuthorizePage'
import { CloudflareWorkersAuthorizePage } from "./CloudflareWorkersAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-workers/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-workers/authorize"
)({
component: CloudflareWorkersAuthorizePage,
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: 'Cloudflare Workers',
},
],
}
},
})
label: "Cloudflare Workers"
}
]
};
}
});
@@ -67,7 +67,7 @@ export const CloudflareWorkersConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { CloudflareWorkersConfigurePage } from './CloudflareWorkersConfigurePage'
import { CloudflareWorkersConfigurePage } from "./CloudflareWorkersConfigurePage";
const CloudflareWorkersConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-workers/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/cloudflare-workers/create"
)({
component: CloudflareWorkersConfigurePage,
validateSearch: zodValidator(CloudflareWorkersConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Cloudflare Workers',
},
],
}
},
})
label: "Cloudflare Workers"
}
]
};
}
});
@@ -33,7 +33,7 @@ export const CodefreshAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/codefresh/create",
to: "/projects/$projectId/secret-manager/integrations/codefresh/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 { CodefreshAuthorizePage } from './CodefreshAuthorizePage'
import { CodefreshAuthorizePage } from "./CodefreshAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/codefresh/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/codefresh/authorize"
)({
component: CodefreshAuthorizePage,
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: 'Codefresh',
},
],
}
},
})
label: "Codefresh"
}
]
};
}
});
@@ -71,7 +71,7 @@ export const CodefreshConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { CodefreshConfigurePage } from './CodefreshConfigurePage'
import { CodefreshConfigurePage } from "./CodefreshConfigurePage";
const CodefreshConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/codefresh/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/codefresh/create"
)({
component: CodefreshConfigurePage,
validateSearch: zodValidator(CodefreshConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Codefresh',
},
],
}
},
})
label: "Codefresh"
}
]
};
}
});
@@ -40,7 +40,7 @@ export const DatabricksAuthorizePage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/databricks/create",
to: "/projects/$projectId/secret-manager/integrations/databricks/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 { DatabricksAuthorizePage } from './DatabricksAuthorizePage'
import { DatabricksAuthorizePage } from "./DatabricksAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/databricks/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/databricks/authorize"
)({
component: DatabricksAuthorizePage,
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: 'Databricks',
},
],
}
},
})
label: "Databricks"
}
]
};
}
});
@@ -87,7 +87,7 @@ export const DatabricksConfigurePage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { DatabricksConfigurePage } from './DatabricksConfigurePage'
import { DatabricksConfigurePage } from "./DatabricksConfigurePage";
const DatabricksConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/databricks/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/databricks/create"
)({
component: DatabricksConfigurePage,
validateSearch: zodValidator(DatabricksConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Databricks',
},
],
}
},
})
label: "Databricks"
}
]
};
}
});
@@ -33,7 +33,7 @@ export const DigitalOceanAppPlatformAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/digital-ocean-app-platform/create",
to: "/projects/$projectId/secret-manager/integrations/digital-ocean-app-platform/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 { DigitalOceanAppPlatformAuthorizePage } from './DigitalOceanAppPlatformAuthorizePage'
import { DigitalOceanAppPlatformAuthorizePage } from "./DigitalOceanAppPlatformAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/digital-ocean-app-platform/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/digital-ocean-app-platform/authorize"
)({
component: DigitalOceanAppPlatformAuthorizePage,
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: 'DigitalOcean App Platform',
},
],
}
},
})
label: "DigitalOcean App Platform"
}
]
};
}
});
@@ -72,7 +72,7 @@ export const DigitalOceanAppPlatformConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,40 +1,38 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { DigitalOceanAppPlatformConfigurePage } from './DigitalOceanAppPlatformConfigurePage'
import { DigitalOceanAppPlatformConfigurePage } from "./DigitalOceanAppPlatformConfigurePage";
const DigitalOceanAppPlatformConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/digital-ocean-app-platform/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/digital-ocean-app-platform/create"
)({
component: DigitalOceanAppPlatformConfigurePage,
validateSearch: zodValidator(
DigitalOceanAppPlatformConfigurePageQueryParamsSchema,
),
validateSearch: zodValidator(DigitalOceanAppPlatformConfigurePageQueryParamsSchema),
beforeLoad: ({ context, params }) => {
return {
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: 'DigitalOcean App Platform',
},
],
}
},
})
label: "DigitalOcean App Platform"
}
]
};
}
});
@@ -44,7 +44,7 @@ export const FlyioAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/flyio/create",
to: "/projects/$projectId/secret-manager/integrations/flyio/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 { FlyioAuthorizePage } from './FlyioAuthorizePage'
import { FlyioAuthorizePage } from "./FlyioAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/flyio/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/flyio/authorize"
)({
component: FlyioAuthorizePage,
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: 'Fly IO',
},
],
}
},
})
label: "Fly IO"
}
]
};
}
});
@@ -86,7 +86,7 @@ export const FlyioConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { FlyioConfigurePage } from './FlyioConfigurePage'
import { FlyioConfigurePage } from "./FlyioConfigurePage";
const FlyioConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/flyio/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/flyio/create"
)({
component: FlyioConfigurePage,
validateSearch: zodValidator(FlyioConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Fly IO',
},
],
}
},
})
label: "Fly IO"
}
]
};
}
});
@@ -70,7 +70,7 @@ export const GcpSecretManagerAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/gcp-secret-manager/create",
to: "/projects/$projectId/secret-manager/integrations/gcp-secret-manager/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 { GcpSecretManagerAuthorizePage } from './GcpSecretManagerAuthorizePage'
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',
"/_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 }) => {
@@ -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: 'GCP Secret Manager',
},
],
}
},
})
label: "GCP Secret Manager"
}
]
};
}
});
@@ -151,7 +151,7 @@ export const GcpSecretManagerConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -411,8 +411,8 @@ export const GcpSecretManagerConfigurePage = () => {
<span className="ml-3 text-md text-mineshaft-100">Pro Tip</span>
</div>
<span className="text-mineshaft-300 text-sm mt-4">
After creating an integration, your secrets will start syncing immediately.
After creating an integration, your secrets will start syncing immediately.
To avoid overwriting existing secrets in GCP Secret Manager, you may consider adding a secret prefix/suffix and/or enabling labeling in the options tab.
</span>
</div> */}
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { GcpSecretManagerConfigurePage } from './GcpSecretManagerConfigurePage'
import { GcpSecretManagerConfigurePage } from "./GcpSecretManagerConfigurePage";
const GcpConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gcp-secret-manager/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gcp-secret-manager/create"
)({
component: GcpSecretManagerConfigurePage,
validateSearch: zodValidator(GcpConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'GCP Secret Manager',
},
],
}
},
})
label: "GCP Secret Manager"
}
]
};
}
});
@@ -28,7 +28,7 @@ export const GcpSecretManagerOauthCallbackPage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/gcp-secret-manager/create",
to: "/projects/$projectId/secret-manager/integrations/gcp-secret-manager/create",
params: {
projectId: currentWorkspace.id
},
@@ -1,41 +1,39 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { GcpSecretManagerOauthCallbackPage } from './GcpSecretManagerOauthCallbackPage'
import { GcpSecretManagerOauthCallbackPage } from "./GcpSecretManagerOauthCallbackPage";
export const GcpSecretManagerOAuthCallbackPageQueryParamsSchema = z.object({
state: z.string().catch(''),
code: z.coerce.string().catch(''),
})
state: z.string().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gcp-secret-manager/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gcp-secret-manager/oauth2/callback"
)({
component: GcpSecretManagerOauthCallbackPage,
validateSearch: zodValidator(
GcpSecretManagerOAuthCallbackPageQueryParamsSchema,
),
validateSearch: zodValidator(GcpSecretManagerOAuthCallbackPageQueryParamsSchema),
beforeLoad: ({ context, params }) => {
return {
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: 'GCP Secret Manager',
},
],
}
},
})
label: "GCP Secret Manager"
}
]
};
}
});
@@ -82,7 +82,7 @@ export const GithubAuthorizePage = () => {
onClick={() => {
if (selectedAuthMethod === AuthMethod.APP) {
navigate({
to: "/secret-manager/$projectId/integrations/select-integration-auth",
to: "/projects/$projectId/secret-manager/integrations/select-integration-auth",
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 { GithubAuthorizePage } from './GithubAuthorizePage'
import { GithubAuthorizePage } from "./GithubAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/github/auth-mode-selection',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/github/auth-mode-selection"
)({
component: GithubAuthorizePage,
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: 'GitHub',
},
],
}
},
})
label: "GitHub"
}
]
};
}
});
@@ -267,7 +267,7 @@ export const GithubConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { GithubConfigurePage } from './GithubConfigurePage'
import { GithubConfigurePage } from "./GithubConfigurePage";
const GithubConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/github/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/github/create"
)({
component: GithubConfigurePage,
validateSearch: zodValidator(GithubConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'GitHub',
},
],
}
},
})
label: "GitHub"
}
]
};
}
});
@@ -36,7 +36,7 @@ export const GithubOauthCallbackPage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/github/create",
to: "/projects/$projectId/secret-manager/integrations/github/create",
params: {
projectId: currentWorkspace.id
},
@@ -1,19 +1,19 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { GithubOauthCallbackPage } from './GithubOauthCallbackPage'
import { GithubOauthCallbackPage } from "./GithubOauthCallbackPage";
export const GithubOAuthCallbackPageQueryParamsSchema = z.object({
state: z.string().catch(''),
installation_id: z.coerce.string().optional().catch(''),
code: z.coerce.string().catch(''),
})
state: z.string().catch(""),
installation_id: z.coerce.string().optional().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/github/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/github/oauth2/callback"
)({
component: GithubOauthCallbackPage,
validateSearch: zodValidator(GithubOAuthCallbackPageQueryParamsSchema),
@@ -22,19 +22,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: 'GitHub',
},
],
}
},
})
label: "GitHub"
}
]
};
}
});
@@ -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 { GitlabAuthorizePage } from './GitlabAuthorizePage'
import { GitlabAuthorizePage } from "./GitlabAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gitlab/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gitlab/authorize"
)({
component: GitlabAuthorizePage,
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: 'GitLab',
},
],
}
},
})
label: "GitLab"
}
]
};
}
});
@@ -175,7 +175,7 @@ export const GitlabConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { GitlabConfigurePage } from './GitlabConfigurePage'
import { GitlabConfigurePage } from "./GitlabConfigurePage";
const GitlabConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gitlab/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gitlab/create"
)({
component: GitlabConfigurePage,
validateSearch: zodValidator(GitlabConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'GitLab',
},
],
}
},
})
label: "GitLab"
}
]
};
}
});
@@ -1,18 +1,18 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { GitLabOAuthCallbackPage } from './GitlabOauthCallbackPage'
import { GitLabOAuthCallbackPage } from "./GitlabOauthCallbackPage";
export const GitlabOAuthCallbackPageQueryParamsSchema = z.object({
state: z.string().catch(''),
code: z.coerce.string().catch(''),
})
state: z.string().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gitlab/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/gitlab/oauth2/callback"
)({
component: GitLabOAuthCallbackPage,
validateSearch: zodValidator(GitlabOAuthCallbackPageQueryParamsSchema),
@@ -21,19 +21,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: 'GitLab',
},
],
}
},
})
label: "GitLab"
}
]
};
}
});
@@ -51,7 +51,7 @@ export const HashicorpVaultAuthorizePage = () => {
namespace: formData.vaultNamespace
});
navigate({
to: "/secret-manager/$projectId/integrations/hashicorp-vault/create",
to: "/projects/$projectId/secret-manager/integrations/hashicorp-vault/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 { HashicorpVaultAuthorizePage } from './HashicorpVaultAuthorizePage'
import { HashicorpVaultAuthorizePage } from "./HashicorpVaultAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hashicorp-vault/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hashicorp-vault/authorize"
)({
component: HashicorpVaultAuthorizePage,
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: 'Hashicorp Vault',
},
],
}
},
})
label: "Hashicorp Vault"
}
]
};
}
});
@@ -101,7 +101,7 @@ export const HashicorpVaultConfigurePage = () => {
secretPath: formData.secretPath
});
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { HashicorpVaultConfigurePage } from './HashicorpVaultConfigurePage'
import { HashicorpVaultConfigurePage } from "./HashicorpVaultConfigurePage";
const HashicorpVaultConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hashicorp-vault/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hashicorp-vault/create"
)({
component: HashicorpVaultConfigurePage,
validateSearch: zodValidator(HashicorpVaultConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Hashicorp Vault',
},
],
}
},
})
label: "Hashicorp Vault"
}
]
};
}
});
@@ -43,7 +43,7 @@ export const HasuraCloudAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/hasura-cloud/create",
to: "/projects/$projectId/secret-manager/integrations/hasura-cloud/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 { HasuraCloudAuthorizePage } from './HasuraCloudAuthorizePage'
import { HasuraCloudAuthorizePage } from "./HasuraCloudAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hasura-cloud/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hasura-cloud/authorize"
)({
component: HasuraCloudAuthorizePage,
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: 'Hasura Cloud',
},
],
}
},
})
label: "Hasura Cloud"
}
]
};
}
});
@@ -70,7 +70,7 @@ export const HasuraCloudConfigurePage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { HasuraCloudConfigurePage } from './HasuraCloudConfigurePage'
import { HasuraCloudConfigurePage } from "./HasuraCloudConfigurePage";
const HasuraCloudConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hasura-cloud/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/hasura-cloud/create"
)({
component: HasuraCloudConfigurePage,
validateSearch: zodValidator(HasuraCloudConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Hasura Cloud',
},
],
}
},
})
label: "Hasura Cloud"
}
]
};
}
});
@@ -98,7 +98,7 @@ export const HerokuConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { HerokuConfigurePage } from './HerokuConfigurePage'
import { HerokuConfigurePage } from "./HerokuConfigurePage";
const HerokuConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/heroku/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/heroku/create"
)({
component: HerokuConfigurePage,
validateSearch: zodValidator(HerokuConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Heroku Cloud',
},
],
}
},
})
label: "Heroku Cloud"
}
]
};
}
});
@@ -1,18 +1,18 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { HerokuOAuthCallbackPage } from './HerokuOauthCallbackPage'
import { HerokuOAuthCallbackPage } from "./HerokuOauthCallbackPage";
export const HerokuOAuthCallbackPageQueryParamsSchema = z.object({
state: z.string().catch(''),
code: z.coerce.string().catch(''),
})
state: z.string().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/heroku/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/heroku/oauth2/callback"
)({
component: HerokuOAuthCallbackPage,
validateSearch: zodValidator(HerokuOAuthCallbackPageQueryParamsSchema),
@@ -21,19 +21,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: 'Heroku Cloud',
},
],
}
},
})
label: "Heroku Cloud"
}
]
};
}
});
@@ -42,7 +42,7 @@ export const LaravelForgeAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/laravel-forge/create",
to: "/projects/$projectId/secret-manager/integrations/laravel-forge/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 { LaravelForgeAuthorizePage } from './LaravelForgeAuthorizePage'
import { LaravelForgeAuthorizePage } from "./LaravelForgeAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/laravel-forge/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/laravel-forge/authorize"
)({
component: LaravelForgeAuthorizePage,
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: 'Laravel Forge',
},
],
}
},
})
label: "Laravel Forge"
}
]
};
}
});
@@ -72,7 +72,7 @@ export const LaravelForgeConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { LaravelForgeConfigurePage } from './LaravelForgeConfigurePage'
import { LaravelForgeConfigurePage } from "./LaravelForgeConfigurePage";
const LaravelForgeConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/laravel-forge/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/laravel-forge/create"
)({
component: LaravelForgeConfigurePage,
validateSearch: zodValidator(LaravelForgeConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Laravel Forge',
},
],
}
},
})
label: "Laravel Forge"
}
]
};
}
});
@@ -79,7 +79,7 @@ export const NetlifyConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { NetlifyConfigurePage } from './NetlifyConfigurePage'
import { NetlifyConfigurePage } from "./NetlifyConfigurePage";
const NetlifyConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/netlify/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/netlify/create"
)({
component: NetlifyConfigurePage,
validateSearch: zodValidator(NetlifyConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Netlify',
},
],
}
},
})
label: "Netlify"
}
]
};
}
});
@@ -28,7 +28,7 @@ export const NetlifyOauthCallbackPage = () => {
});
navigate({
to: "/secret-manager/$projectId/integrations/netlify/create",
to: "/projects/$projectId/secret-manager/integrations/netlify/create",
params: {
projectId: currentWorkspace.id
},
@@ -1,18 +1,18 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { NetlifyOauthCallbackPage } from './NetlifyOauthCallbackPage'
import { NetlifyOauthCallbackPage } from "./NetlifyOauthCallbackPage";
export const NetlifyOAuthCallbackPageQueryParamsSchema = z.object({
state: z.string().catch(''),
code: z.coerce.string().catch(''),
})
state: z.string().catch(""),
code: z.coerce.string().catch("")
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/netlify/oauth2/callback',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/netlify/oauth2/callback"
)({
component: NetlifyOauthCallbackPage,
validateSearch: zodValidator(NetlifyOAuthCallbackPageQueryParamsSchema),
@@ -21,19 +21,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: 'Netlify',
},
],
}
},
})
label: "Netlify"
}
]
};
}
});
@@ -33,7 +33,7 @@ export const NorthflankAuthorizePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations/northflank/create",
to: "/projects/$projectId/secret-manager/integrations/northflank/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 { NorthflankAuthorizePage } from './NorthflankAuthorizePage'
import { NorthflankAuthorizePage } from "./NorthflankAuthorizePage";
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/northflank/authorize',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/northflank/authorize"
)({
component: NorthflankAuthorizePage,
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: 'Northflank',
},
],
}
},
})
label: "Northflank"
}
]
};
}
});
@@ -93,7 +93,7 @@ export const NorthflankConfigurePage = () => {
setIsLoading(false);
navigate({
to: "/secret-manager/$projectId/integrations",
to: "/projects/$projectId/secret-manager/integrations",
params: {
projectId: currentWorkspace.id
},
@@ -1,17 +1,17 @@
import { createFileRoute, linkOptions } from '@tanstack/react-router'
import { zodValidator } from '@tanstack/zod-adapter'
import { z } from 'zod'
import { createFileRoute, linkOptions } from "@tanstack/react-router";
import { zodValidator } from "@tanstack/zod-adapter";
import { z } from "zod";
import { IntegrationsListPageTabs } from '@app/types/integrations'
import { IntegrationsListPageTabs } from "@app/types/integrations";
import { NorthflankConfigurePage } from './NorthflankConfigurePage'
import { NorthflankConfigurePage } from "./NorthflankConfigurePage";
const NorthflankConfigurePageQueryParamsSchema = z.object({
integrationAuthId: z.string(),
})
integrationAuthId: z.string()
});
export const Route = createFileRoute(
'/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/northflank/create',
"/_authenticate/_inject-org-details/_org-layout/projects/$projectId/_project-layout/secret-manager/_secret-manager-layout/integrations/northflank/create"
)({
component: NorthflankConfigurePage,
validateSearch: zodValidator(NorthflankConfigurePageQueryParamsSchema),
@@ -20,19 +20,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: 'Northflank',
},
],
}
},
})
label: "Northflank"
}
]
};
}
});

Some files were not shown because too many files have changed in this diff Show More