feat: add auth to webapi

This commit is contained in:
2025-03-06 02:30:04 +08:00
parent 5a4a4d7e3a
commit 383e6340ea
34 changed files with 1716 additions and 613 deletions

View File

@@ -1,6 +1,5 @@
import type { Injector } from '@outposts/injection-js';
import {
// Link,
Outlet,
createRootRouteWithContext,
} from '@tanstack/react-router';
@@ -26,25 +25,6 @@ export const Route = createRootRouteWithContext<RouterContext>()({
function RootComponent() {
return (
<>
{/* <div className="flex gap-2 p-2 text-lg ">
<Link
to="/"
activeProps={{
className: 'font-bold',
}}
>
Home
</Link>{' '}
<Link
to="/graphql"
activeProps={{
className: 'font-bold',
}}
>
GraphQL
</Link>
</div> */}
{/* <hr /> */}
<Outlet />
<TanStackRouterDevtools position="bottom-right" />
</>