diff --git a/packages/app/src/routeTree.gen.ts b/packages/app/src/routeTree.gen.ts index 56432ab7a..9bc010488 100644 --- a/packages/app/src/routeTree.gen.ts +++ b/packages/app/src/routeTree.gen.ts @@ -12,6 +12,7 @@ import { Route as rootRouteImport } from './routes/__root' import { Route as ToolsRouteImport } from './routes/tools' import { Route as SecretsRouteImport } from './routes/secrets' import { Route as PoliciesRouteImport } from './routes/policies' +import { Route as OauthAppsRouteImport } from './routes/oauth-apps' import { Route as IndexRouteImport } from './routes/index' import { Route as ResumeExecutionIdRouteImport } from './routes/resume.$executionId' import { Route as IntegrationsNamespaceRouteImport } from './routes/integrations.$namespace' @@ -33,6 +34,11 @@ const PoliciesRoute = PoliciesRouteImport.update({ path: '/policies', getParentRoute: () => rootRouteImport, } as any) +const OauthAppsRoute = OauthAppsRouteImport.update({ + id: '/oauth-apps', + path: '/oauth-apps', + getParentRoute: () => rootRouteImport, +} as any) const IndexRoute = IndexRouteImport.update({ id: '/', path: '/', @@ -62,6 +68,7 @@ const IntegrationsAddPluginKeyRoute = export interface FileRoutesByFullPath { '/': typeof IndexRoute + '/oauth-apps': typeof OauthAppsRoute '/policies': typeof PoliciesRoute '/secrets': typeof SecretsRoute '/tools': typeof ToolsRoute @@ -72,6 +79,7 @@ export interface FileRoutesByFullPath { } export interface FileRoutesByTo { '/': typeof IndexRoute + '/oauth-apps': typeof OauthAppsRoute '/policies': typeof PoliciesRoute '/secrets': typeof SecretsRoute '/tools': typeof ToolsRoute @@ -83,6 +91,7 @@ export interface FileRoutesByTo { export interface FileRoutesById { __root__: typeof rootRouteImport '/': typeof IndexRoute + '/oauth-apps': typeof OauthAppsRoute '/policies': typeof PoliciesRoute '/secrets': typeof SecretsRoute '/tools': typeof ToolsRoute @@ -95,6 +104,7 @@ export interface FileRouteTypes { fileRoutesByFullPath: FileRoutesByFullPath fullPaths: | '/' + | '/oauth-apps' | '/policies' | '/secrets' | '/tools' @@ -105,6 +115,7 @@ export interface FileRouteTypes { fileRoutesByTo: FileRoutesByTo to: | '/' + | '/oauth-apps' | '/policies' | '/secrets' | '/tools' @@ -115,6 +126,7 @@ export interface FileRouteTypes { id: | '__root__' | '/' + | '/oauth-apps' | '/policies' | '/secrets' | '/tools' @@ -126,6 +138,7 @@ export interface FileRouteTypes { } export interface RootRouteChildren { IndexRoute: typeof IndexRoute + OauthAppsRoute: typeof OauthAppsRoute PoliciesRoute: typeof PoliciesRoute SecretsRoute: typeof SecretsRoute ToolsRoute: typeof ToolsRoute @@ -158,6 +171,13 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof PoliciesRouteImport parentRoute: typeof rootRouteImport } + '/oauth-apps': { + id: '/oauth-apps' + path: '/oauth-apps' + fullPath: '/oauth-apps' + preLoaderRoute: typeof OauthAppsRouteImport + parentRoute: typeof rootRouteImport + } '/': { id: '/' path: '/' @@ -198,6 +218,7 @@ declare module '@tanstack/react-router' { const rootRouteChildren: RootRouteChildren = { IndexRoute: IndexRoute, + OauthAppsRoute: OauthAppsRoute, PoliciesRoute: PoliciesRoute, SecretsRoute: SecretsRoute, ToolsRoute: ToolsRoute, diff --git a/packages/app/src/routes/oauth-apps.tsx b/packages/app/src/routes/oauth-apps.tsx new file mode 100644 index 000000000..926f4d5fb --- /dev/null +++ b/packages/app/src/routes/oauth-apps.tsx @@ -0,0 +1,6 @@ +import { createFileRoute } from "@tanstack/react-router"; +import { OAuthAppsPage } from "@executor-js/react/pages/oauth-apps"; + +export const Route = createFileRoute("/oauth-apps")({ + component: OAuthAppsPage, +}); diff --git a/packages/app/src/web/shell.tsx b/packages/app/src/web/shell.tsx index b508f10d7..f5909a18e 100644 --- a/packages/app/src/web/shell.tsx +++ b/packages/app/src/web/shell.tsx @@ -338,6 +338,7 @@ function SidebarContent(props: { }) { const isHome = props.pathname === "/"; const isSecrets = props.pathname === "/secrets"; + const isOAuthApps = props.pathname === "/oauth-apps"; const isPolicies = props.pathname === "/policies"; return ( @@ -357,8 +358,14 @@ function SidebarContent(props: { )}