Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

refactor: moves to pathless, protected authenticated routes and beforeLoad dashboard routing (#467)

Elliot Braem89c5267eff6b
diff --git a/apps/web/src/components/task/task-activities.tsx b/apps/web/src/components/task/task-activities.tsx
index b2fc8e4b7..a320236e6 100644
--- a/apps/web/src/components/task/task-activities.tsx
+++ b/apps/web/src/components/task/task-activities.tsx
@@ -3,7 +3,7 @@ import { Avatar, AvatarFallback } from "@/components/ui/avatar";
import useDeleteComment from "@/hooks/mutations/comment/use-delete-comment";
import useGetActivitiesByTaskId from "@/hooks/queries/activity/use-get-activities-by-task-id";
import { cn } from "@/lib/cn";
-import { Route } from "@/routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
import { formatDistanceToNow } from "date-fns";
import { History, MessageSquare, Pencil, PlusCircle } from "lucide-react";
import { useState } from "react";
diff --git a/apps/web/src/components/task/task-comment.tsx b/apps/web/src/components/task/task-comment.tsx
index d90595df3..5d813adb2 100644
--- a/apps/web/src/components/task/task-comment.tsx
+++ b/apps/web/src/components/task/task-comment.tsx
@@ -4,7 +4,7 @@ import { Button } from "@/components/ui/button";
import { Form, FormControl, FormField, FormItem } from "@/components/ui/form";
import useCreateComment from "@/hooks/mutations/comment/use-create-comment";
import useUpdateComment from "@/hooks/mutations/comment/use-update-comment";
-import { Route } from "@/routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
import { useQueryClient } from "@tanstack/react-query";
import { MessageSquare } from "lucide-react";
diff --git a/apps/web/src/components/task/task-description.tsx b/apps/web/src/components/task/task-description.tsx
index 3fad36c44..94063fd30 100644
--- a/apps/web/src/components/task/task-description.tsx
+++ b/apps/web/src/components/task/task-description.tsx
@@ -1,7 +1,7 @@
import useUpdateTask from "@/hooks/mutations/task/use-update-task";
import useGetTask from "@/hooks/queries/task/use-get-task";
import debounce from "@/lib/debounce";
-import { Route } from "@/routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
import { useEffect } from "react";
import { useForm } from "react-hook-form";
import { Editor } from "../common/editor";
diff --git a/apps/web/src/components/task/task-title.tsx b/apps/web/src/components/task/task-title.tsx
index 0fadaf9bd..9ab596b3c 100644
--- a/apps/web/src/components/task/task-title.tsx
+++ b/apps/web/src/components/task/task-title.tsx
@@ -1,7 +1,7 @@
import useUpdateTask from "@/hooks/mutations/task/use-update-task";
import useGetTask from "@/hooks/queries/task/use-get-task";
import debounce from "@/lib/debounce";
-import { Route } from "@/routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
import { z } from "zod/v4";
diff --git a/apps/web/src/components/team/delete-team-member-modal.tsx b/apps/web/src/components/team/delete-team-member-modal.tsx
index aac77a648..036b943d2 100644
--- a/apps/web/src/components/team/delete-team-member-modal.tsx
+++ b/apps/web/src/components/team/delete-team-member-modal.tsx
@@ -1,5 +1,5 @@
import useDeleteWorkspaceUser from "@/hooks/mutations/workspace-user/use-delete-workspace-user";
-import { Route } from "@/routes/dashboard/workspace/$workspaceId/members";
+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members";
import * as Dialog from "@radix-ui/react-dialog";
import { useQueryClient } from "@tanstack/react-query";
import { Trash2, X } from "lucide-react";
diff --git a/apps/web/src/components/team/invite-team-member-modal.tsx b/apps/web/src/components/team/invite-team-member-modal.tsx
index 51282fc24..bddcc169c 100644
--- a/apps/web/src/components/team/invite-team-member-modal.tsx
+++ b/apps/web/src/components/team/invite-team-member-modal.tsx
@@ -1,5 +1,5 @@
import useInviteWorkspaceUser from "@/hooks/mutations/workspace-user/use-invite-workspace-user";
-import { Route } from "@/routes/dashboard/workspace/$workspaceId/members";
+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members";
import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
import * as Dialog from "@radix-ui/react-dialog";
import { useQueryClient } from "@tanstack/react-query";
diff --git a/apps/web/src/routeTree.gen.ts b/apps/web/src/routeTree.gen.ts
index eaa214b71..f14f57d1b 100644
--- a/apps/web/src/routeTree.gen.ts
+++ b/apps/web/src/routeTree.gen.ts
@@ -10,34 +10,41 @@
import { Route as rootRouteImport } from './routes/__root'
import { Route as TestErrorRouteImport } from './routes/test-error'
-import { Route as DashboardRouteImport } from './routes/dashboard'
+import { Route as AuthRouteImport } from './routes/auth'
+import { Route as LayoutRouteImport } from './routes/_layout'
import { Route as IndexRouteImport } from './routes/index'
import { Route as PublicProjectProjectIdRouteImport } from './routes/public-project.$projectId'
-import { Route as DashboardSettingsRouteImport } from './routes/dashboard/settings'
-import { Route as DashboardSplatRouteImport } from './routes/dashboard/$'
import { Route as AuthSignUpRouteImport } from './routes/auth/sign-up'
import { Route as AuthSignInRouteImport } from './routes/auth/sign-in'
-import { Route as DashboardWorkspaceCreateRouteImport } from './routes/dashboard/workspace/create'
-import { Route as DashboardWorkspaceWorkspaceIdRouteImport } from './routes/dashboard/workspace/$workspaceId'
-import { Route as DashboardSettingsAppearanceRouteImport } from './routes/dashboard/settings/appearance'
-import { Route as DashboardWorkspaceWorkspaceIdIndexRouteImport } from './routes/dashboard/workspace/$workspaceId/index'
-import { Route as DashboardWorkspaceWorkspaceIdSettingsRouteImport } from './routes/dashboard/workspace/$workspaceId/settings'
-import { Route as DashboardWorkspaceWorkspaceIdSearchRouteImport } from './routes/dashboard/workspace/$workspaceId/search'
-import { Route as DashboardWorkspaceWorkspaceIdMembersRouteImport } from './routes/dashboard/workspace/$workspaceId/members'
-import { Route as DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport } from './routes/dashboard/workspace/$workspaceId/project/$projectId/index'
-import { Route as DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport } from './routes/dashboard/workspace/$workspaceId/project/$projectId/settings'
-import { Route as DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport } from './routes/dashboard/workspace/$workspaceId/project/$projectId/board'
-import { Route as DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport } from './routes/dashboard/workspace/$workspaceId/project/$projectId/backlog'
-import { Route as DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRouteImport } from './routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'
+import { Route as LayoutAuthenticatedRouteImport } from './routes/_layout/_authenticated'
+import { Route as LayoutAuthenticatedDashboardRouteImport } from './routes/_layout/_authenticated/dashboard'
+import { Route as LayoutAuthenticatedDashboardIndexRouteImport } from './routes/_layout/_authenticated/dashboard/index'
+import { Route as LayoutAuthenticatedDashboardSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/settings'
+import { Route as LayoutAuthenticatedDashboardWorkspaceCreateRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/create'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId'
+import { Route as LayoutAuthenticatedDashboardSettingsAppearanceRouteImport } from './routes/_layout/_authenticated/dashboard/settings/appearance'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'
const TestErrorRoute = TestErrorRouteImport.update({
id: '/test-error',
path: '/test-error',
getParentRoute: () => rootRouteImport,
} as any)
-const DashboardRoute = DashboardRouteImport.update({
- id: '/dashboard',
- path: '/dashboard',
+const AuthRoute = AuthRouteImport.update({
+ id: '/auth',
+ path: '/auth',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const LayoutRoute = LayoutRouteImport.update({
+ id: '/_layout',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
@@ -50,176 +57,208 @@ const PublicProjectProjectIdRoute = PublicProjectProjectIdRouteImport.update({
path: '/public-project/$projectId',
getParentRoute: () => rootRouteImport,
} as any)
-const DashboardSettingsRoute = DashboardSettingsRouteImport.update({
- id: '/settings',
- path: '/settings',
- getParentRoute: () => DashboardRoute,
-} as any)
-const DashboardSplatRoute = DashboardSplatRouteImport.update({
- id: '/$',
- path: '/$',
- getParentRoute: () => DashboardRoute,
-} as any)
const AuthSignUpRoute = AuthSignUpRouteImport.update({
- id: '/auth/sign-up',
- path: '/auth/sign-up',
- getParentRoute: () => rootRouteImport,
+ id: '/sign-up',
+ path: '/sign-up',
+ getParentRoute: () => AuthRoute,
} as any)
const AuthSignInRoute = AuthSignInRouteImport.update({
- id: '/auth/sign-in',
- path: '/auth/sign-in',
- getParentRoute: () => rootRouteImport,
+ id: '/sign-in',
+ path: '/sign-in',
+ getParentRoute: () => AuthRoute,
} as any)
-const DashboardWorkspaceCreateRoute =
- DashboardWorkspaceCreateRouteImport.update({
+const LayoutAuthenticatedRoute = LayoutAuthenticatedRouteImport.update({
+ id: '/_authenticated',
+ getParentRoute: () => LayoutRoute,
+} as any)
+const LayoutAuthenticatedDashboardRoute =
+ LayoutAuthenticatedDashboardRouteImport.update({
+ id: '/dashboard',
+ path: '/dashboard',
+ getParentRoute: () => LayoutAuthenticatedRoute,
+ } as any)
+const LayoutAuthenticatedDashboardIndexRoute =
+ LayoutAuthenticatedDashboardIndexRouteImport.update({
+ id: '/',
+ path: '/',
+ getParentRoute: () => LayoutAuthenticatedDashboardRoute,
+ } as any)
+const LayoutAuthenticatedDashboardSettingsRoute =
+ LayoutAuthenticatedDashboardSettingsRouteImport.update({
+ id: '/settings',
+ path: '/settings',
+ getParentRoute: () => LayoutAuthenticatedDashboardRoute,
+ } as any)
+const LayoutAuthenticatedDashboardWorkspaceCreateRoute =
+ LayoutAuthenticatedDashboardWorkspaceCreateRouteImport.update({
id: '/workspace/create',
path: '/workspace/create',
- getParentRoute: () => DashboardRoute,
+ getParentRoute: () => LayoutAuthenticatedDashboardRoute,
} as any)
-const DashboardWorkspaceWorkspaceIdRoute =
- DashboardWorkspaceWorkspaceIdRouteImport.update({
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport.update({
id: '/workspace/$workspaceId',
path: '/workspace/$workspaceId',
- getParentRoute: () => DashboardRoute,
+ getParentRoute: () => LayoutAuthenticatedDashboardRoute,
} as any)
-const DashboardSettingsAppearanceRoute =
- DashboardSettingsAppearanceRouteImport.update({
+const LayoutAuthenticatedDashboardSettingsAppearanceRoute =
+ LayoutAuthenticatedDashboardSettingsAppearanceRouteImport.update({
id: '/appearance',
path: '/appearance',
- getParentRoute: () => DashboardSettingsRoute,
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsRoute,
} as any)
-const DashboardWorkspaceWorkspaceIdIndexRoute =
- DashboardWorkspaceWorkspaceIdIndexRouteImport.update({
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport.update({
id: '/',
path: '/',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any)
-const DashboardWorkspaceWorkspaceIdSettingsRoute =
- DashboardWorkspaceWorkspaceIdSettingsRouteImport.update({
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRouteImport.update({
id: '/settings',
path: '/settings',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any)
-const DashboardWorkspaceWorkspaceIdSearchRoute =
- DashboardWorkspaceWorkspaceIdSearchRouteImport.update({
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport.update({
id: '/search',
path: '/search',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any)
-const DashboardWorkspaceWorkspaceIdMembersRoute =
- DashboardWorkspaceWorkspaceIdMembersRouteImport.update({
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport.update({
id: '/members',
path: '/members',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
- } as any)
-const DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute =
- DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport.update({
- id: '/project/$projectId/',
- path: '/project/$projectId/',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
- } as any)
-const DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute =
- DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport.update({
- id: '/project/$projectId/settings',
- path: '/project/$projectId/settings',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
- } as any)
-const DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute =
- DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport.update({
- id: '/project/$projectId/board',
- path: '/project/$projectId/board',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
- } as any)
-const DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute =
- DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport.update({
- id: '/project/$projectId/backlog',
- path: '/project/$projectId/backlog',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
- } as any)
-const DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute =
- DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRouteImport.update({
- id: '/project/$projectId/task/$taskId_',
- path: '/project/$projectId/task/$taskId',
- getParentRoute: () => DashboardWorkspaceWorkspaceIdRoute,
+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any)
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport.update(
+ {
+ id: '/project/$projectId/',
+ path: '/project/$projectId/',
+ getParentRoute: () =>
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+ } as any,
+ )
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport.update(
+ {
+ id: '/project/$projectId/settings',
+ path: '/project/$projectId/settings',
+ getParentRoute: () =>
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+ } as any,
+ )
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport.update(
+ {
+ id: '/project/$projectId/board',
+ path: '/project/$projectId/board',
+ getParentRoute: () =>
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+ } as any,
+ )
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport.update(
+ {
+ id: '/project/$projectId/backlog',
+ path: '/project/$projectId/backlog',
+ getParentRoute: () =>
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+ } as any,
+ )
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRouteImport.update(
+ {
+ id: '/project/$projectId/task/$taskId_',
+ path: '/project/$projectId/task/$taskId',
+ getParentRoute: () =>
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+ } as any,
+ )
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
- '/dashboard': typeof DashboardRouteWithChildren
+ '/auth': typeof AuthRouteWithChildren
'/test-error': typeof TestErrorRoute
'/auth/sign-in': typeof AuthSignInRoute
'/auth/sign-up': typeof AuthSignUpRoute
- '/dashboard/$': typeof DashboardSplatRoute
- '/dashboard/settings': typeof DashboardSettingsRouteWithChildren
'/public-project/$projectId': typeof PublicProjectProjectIdRoute
- '/dashboard/settings/appearance': typeof DashboardSettingsAppearanceRoute
- '/dashboard/workspace/$workspaceId': typeof DashboardWorkspaceWorkspaceIdRouteWithChildren
- '/dashboard/workspace/create': typeof DashboardWorkspaceCreateRoute
- '/dashboard/workspace/$workspaceId/members': typeof DashboardWorkspaceWorkspaceIdMembersRoute
- '/dashboard/workspace/$workspaceId/search': typeof DashboardWorkspaceWorkspaceIdSearchRoute
- '/dashboard/workspace/$workspaceId/settings': typeof DashboardWorkspaceWorkspaceIdSettingsRoute
- '/dashboard/workspace/$workspaceId/': typeof DashboardWorkspaceWorkspaceIdIndexRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/board': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
- '/dashboard/workspace/$workspaceId/project/$projectId': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
+ '/dashboard': typeof LayoutAuthenticatedDashboardRouteWithChildren
+ '/dashboard/settings': typeof LayoutAuthenticatedDashboardSettingsRouteWithChildren
+ '/dashboard/': typeof LayoutAuthenticatedDashboardIndexRoute
+ '/dashboard/settings/appearance': typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute
+ '/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren
+ '/dashboard/workspace/create': typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute
+ '/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute
+ '/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute
+ '/dashboard/workspace/$workspaceId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute
+ '/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/board': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
- '/dashboard': typeof DashboardRouteWithChildren
+ '/auth': typeof AuthRouteWithChildren
'/test-error': typeof TestErrorRoute
'/auth/sign-in': typeof AuthSignInRoute
'/auth/sign-up': typeof AuthSignUpRoute
- '/dashboard/$': typeof DashboardSplatRoute
- '/dashboard/settings': typeof DashboardSettingsRouteWithChildren
'/public-project/$projectId': typeof PublicProjectProjectIdRoute
- '/dashboard/settings/appearance': typeof DashboardSettingsAppearanceRoute
- '/dashboard/workspace/create': typeof DashboardWorkspaceCreateRoute
- '/dashboard/workspace/$workspaceId/members': typeof DashboardWorkspaceWorkspaceIdMembersRoute
- '/dashboard/workspace/$workspaceId/search': typeof DashboardWorkspaceWorkspaceIdSearchRoute
- '/dashboard/workspace/$workspaceId/settings': typeof DashboardWorkspaceWorkspaceIdSettingsRoute
- '/dashboard/workspace/$workspaceId': typeof DashboardWorkspaceWorkspaceIdIndexRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/board': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
- '/dashboard/workspace/$workspaceId/project/$projectId': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
+ '/dashboard/settings': typeof LayoutAuthenticatedDashboardSettingsRouteWithChildren
+ '/dashboard': typeof LayoutAuthenticatedDashboardIndexRoute
+ '/dashboard/settings/appearance': typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute
+ '/dashboard/workspace/create': typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute
+ '/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute
+ '/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute
+ '/dashboard/workspace/$workspaceId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute
+ '/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/board': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
+ '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
- '/dashboard': typeof DashboardRouteWithChildren
+ '/_layout': typeof LayoutRouteWithChildren
+ '/auth': typeof AuthRouteWithChildren
'/test-error': typeof TestErrorRoute
+ '/_layout/_authenticated': typeof LayoutAuthenticatedRouteWithChildren
'/auth/sign-in': typeof AuthSignInRoute
'/auth/sign-up': typeof AuthSignUpRoute
- '/dashboard/$': typeof DashboardSplatRoute
- '/dashboard/settings': typeof DashboardSettingsRouteWithChildren
'/public-project/$projectId': typeof PublicProjectProjectIdRoute
- '/dashboard/settings/appearance': typeof DashboardSettingsAppearanceRoute
- '/dashboard/workspace/$workspaceId': typeof DashboardWorkspaceWorkspaceIdRouteWithChildren
- '/dashboard/workspace/create': typeof DashboardWorkspaceCreateRoute
- '/dashboard/workspace/$workspaceId/members': typeof DashboardWorkspaceWorkspaceIdMembersRoute
- '/dashboard/workspace/$workspaceId/search': typeof DashboardWorkspaceWorkspaceIdSearchRoute
- '/dashboard/workspace/$workspaceId/settings': typeof DashboardWorkspaceWorkspaceIdSettingsRoute
- '/dashboard/workspace/$workspaceId/': typeof DashboardWorkspaceWorkspaceIdIndexRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/board': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
- '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_': typeof DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
+ '/_layout/_authenticated/dashboard': typeof LayoutAuthenticatedDashboardRouteWithChildren
+ '/_layout/_authenticated/dashboard/settings': typeof LayoutAuthenticatedDashboardSettingsRouteWithChildren
+ '/_layout/_authenticated/dashboard/': typeof LayoutAuthenticatedDashboardIndexRoute
+ '/_layout/_authenticated/dashboard/settings/appearance': typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren
+ '/_layout/_authenticated/dashboard/workspace/create': typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths:
| '/'
- | '/dashboard'
+ | '/auth'
| '/test-error'
| '/auth/sign-in'
| '/auth/sign-up'
- | '/dashboard/$'
- | '/dashboard/settings'
| '/public-project/$projectId'
+ | '/dashboard'
+ | '/dashboard/settings'
+ | '/dashboard/'
| '/dashboard/settings/appearance'
| '/dashboard/workspace/$workspaceId'
| '/dashboard/workspace/create'
@@ -235,13 +274,13 @@ export interface FileRouteTypes {
fileRoutesByTo: FileRoutesByTo
to:
| '/'
- | '/dashboard'
+ | '/auth'
| '/test-error'
| '/auth/sign-in'
| '/auth/sign-up'
- | '/dashboard/$'
- | '/dashboard/settings'
| '/public-project/$projectId'
+ | '/dashboard/settings'
+ | '/dashboard'
| '/dashboard/settings/appearance'
| '/dashboard/workspace/create'
| '/dashboard/workspace/$workspaceId/members'
@@ -256,33 +295,35 @@ export interface FileRouteTypes {
id:
| '__root__'
| '/'
- | '/dashboard'
+ | '/_layout'
+ | '/auth'
| '/test-error'
+ | '/_layout/_authenticated'
| '/auth/sign-in'
| '/auth/sign-up'
- | '/dashboard/$'
- | '/dashboard/settings'
| '/public-project/$projectId'
- | '/dashboard/settings/appearance'
- | '/dashboard/workspace/$workspaceId'
- | '/dashboard/workspace/create'
- | '/dashboard/workspace/$workspaceId/members'
- | '/dashboard/workspace/$workspaceId/search'
- | '/dashboard/workspace/$workspaceId/settings'
- | '/dashboard/workspace/$workspaceId/'
- | '/dashboard/workspace/$workspaceId/project/$projectId/backlog'
- | '/dashboard/workspace/$workspaceId/project/$projectId/board'
- | '/dashboard/workspace/$workspaceId/project/$projectId/settings'
- | '/dashboard/workspace/$workspaceId/project/$projectId/'
- | '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'
+ | '/_layout/_authenticated/dashboard'
+ | '/_layout/_authenticated/dashboard/settings'
+ | '/_layout/_authenticated/dashboard/'
+ | '/_layout/_authenticated/dashboard/settings/appearance'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId'
+ | '/_layout/_authenticated/dashboard/workspace/create'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/members'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/'
+ | '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
- DashboardRoute: typeof DashboardRouteWithChildren
+ LayoutRoute: typeof LayoutRouteWithChildren
+ AuthRoute: typeof AuthRouteWithChildren
TestErrorRoute: typeof TestErrorRoute
- AuthSignInRoute: typeof AuthSignInRoute
- AuthSignUpRoute: typeof AuthSignUpRoute
PublicProjectProjectIdRoute: typeof PublicProjectProjectIdRoute
}
@@ -295,11 +336,18 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof TestErrorRouteImport
parentRoute: typeof rootRouteImport
}
- '/dashboard': {
- id: '/dashboard'
- path: '/dashboard'
- fullPath: '/dashboard'
- preLoaderRoute: typeof DashboardRouteImport
+ '/auth': {
+ id: '/auth'
+ path: '/auth'
+ fullPath: '/auth'
+ preLoaderRoute: typeof AuthRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/_layout': {
+ id: '/_layout'
+ path: ''
+ fullPath: ''
+ preLoaderRoute: typeof LayoutRouteImport
parentRoute: typeof rootRouteImport
}
'/': {
@@ -316,196 +364,253 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof PublicProjectProjectIdRouteImport
parentRoute: typeof rootRouteImport
}
- '/dashboard/settings': {
- id: '/dashboard/settings'
- path: '/settings'
- fullPath: '/dashboard/settings'
- preLoaderRoute: typeof DashboardSettingsRouteImport
- parentRoute: typeof DashboardRoute
- }
- '/dashboard/$': {
- id: '/dashboard/$'
- path: '/$'
- fullPath: '/dashboard/$'
- preLoaderRoute: typeof DashboardSplatRouteImport
- parentRoute: typeof DashboardRoute
- }
'/auth/sign-up': {
id: '/auth/sign-up'
- path: '/auth/sign-up'
+ path: '/sign-up'
fullPath: '/auth/sign-up'
preLoaderRoute: typeof AuthSignUpRouteImport
- parentRoute: typeof rootRouteImport
+ parentRoute: typeof AuthRoute
}
'/auth/sign-in': {
id: '/auth/sign-in'
- path: '/auth/sign-in'
+ path: '/sign-in'
fullPath: '/auth/sign-in'
preLoaderRoute: typeof AuthSignInRouteImport
- parentRoute: typeof rootRouteImport
+ parentRoute: typeof AuthRoute
+ }
+ '/_layout/_authenticated': {
+ id: '/_layout/_authenticated'
+ path: ''
+ fullPath: ''
+ preLoaderRoute: typeof LayoutAuthenticatedRouteImport
+ parentRoute: typeof LayoutRoute
}
- '/dashboard/workspace/create': {
- id: '/dashboard/workspace/create'
+ '/_layout/_authenticated/dashboard': {
+ id: '/_layout/_authenticated/dashboard'
+ path: '/dashboard'
+ fullPath: '/dashboard'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardRouteImport
+ parentRoute: typeof LayoutAuthenticatedRoute
+ }
+ '/_layout/_authenticated/dashboard/': {
+ id: '/_layout/_authenticated/dashboard/'
+ path: '/'
+ fullPath: '/dashboard/'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardIndexRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardRoute
+ }
+ '/_layout/_authenticated/dashboard/settings': {
+ id: '/_layout/_authenticated/dashboard/settings'
+ path: '/settings'
+ fullPath: '/dashboard/settings'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardRoute
+ }
+ '/_layout/_authenticated/dashboard/workspace/create': {
+ id: '/_layout/_authenticated/dashboard/workspace/create'
path: '/workspace/create'
fullPath: '/dashboard/workspace/create'
- preLoaderRoute: typeof DashboardWorkspaceCreateRouteImport
- parentRoute: typeof DashboardRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceCreateRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardRoute
}
- '/dashboard/workspace/$workspaceId': {
- id: '/dashboard/workspace/$workspaceId'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId'
path: '/workspace/$workspaceId'
fullPath: '/dashboard/workspace/$workspaceId'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdRouteImport
- parentRoute: typeof DashboardRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardRoute
}
- '/dashboard/settings/appearance': {
- id: '/dashboard/settings/appearance'
+ '/_layout/_authenticated/dashboard/settings/appearance': {
+ id: '/_layout/_authenticated/dashboard/settings/appearance'
path: '/appearance'
fullPath: '/dashboard/settings/appearance'
- preLoaderRoute: typeof DashboardSettingsAppearanceRouteImport
- parentRoute: typeof DashboardSettingsRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAppearanceRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsRoute
}
- '/dashboard/workspace/$workspaceId/': {
- id: '/dashboard/workspace/$workspaceId/'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/'
path: '/'
fullPath: '/dashboard/workspace/$workspaceId/'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdIndexRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/settings': {
- id: '/dashboard/workspace/$workspaceId/settings'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings'
path: '/settings'
fullPath: '/dashboard/workspace/$workspaceId/settings'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdSettingsRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/search': {
- id: '/dashboard/workspace/$workspaceId/search'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/search': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
path: '/search'
fullPath: '/dashboard/workspace/$workspaceId/search'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdSearchRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/members': {
- id: '/dashboard/workspace/$workspaceId/members'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/members': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/members'
path: '/members'
fullPath: '/dashboard/workspace/$workspaceId/members'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdMembersRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/project/$projectId/': {
- id: '/dashboard/workspace/$workspaceId/project/$projectId/'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/'
path: '/project/$projectId'
fullPath: '/dashboard/workspace/$workspaceId/project/$projectId'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/project/$projectId/settings': {
- id: '/dashboard/workspace/$workspaceId/project/$projectId/settings'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings'
path: '/project/$projectId/settings'
fullPath: '/dashboard/workspace/$workspaceId/project/$projectId/settings'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/project/$projectId/board': {
- id: '/dashboard/workspace/$workspaceId/project/$projectId/board'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board'
path: '/project/$projectId/board'
fullPath: '/dashboard/workspace/$workspaceId/project/$projectId/board'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/project/$projectId/backlog': {
- id: '/dashboard/workspace/$workspaceId/project/$projectId/backlog'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog'
path: '/project/$projectId/backlog'
fullPath: '/dashboard/workspace/$workspaceId/project/$projectId/backlog'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_': {
- id: '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'
path: '/project/$projectId/task/$taskId'
fullPath: '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId'
- preLoaderRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRouteImport
- parentRoute: typeof DashboardWorkspaceWorkspaceIdRoute
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
}
}
-interface DashboardSettingsRouteChildren {
- DashboardSettingsAppearanceRoute: typeof DashboardSettingsAppearanceRoute
+interface LayoutAuthenticatedDashboardSettingsRouteChildren {
+ LayoutAuthenticatedDashboardSettingsAppearanceRoute: typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute
}
-const DashboardSettingsRouteChildren: DashboardSettingsRouteChildren = {
- DashboardSettingsAppearanceRoute: DashboardSettingsAppearanceRoute,
+const LayoutAuthenticatedDashboardSettingsRouteChildren: LayoutAuthenticatedDashboardSettingsRouteChildren =
+ {
+ LayoutAuthenticatedDashboardSettingsAppearanceRoute:
+ LayoutAuthenticatedDashboardSettingsAppearanceRoute,
+ }
+
+const LayoutAuthenticatedDashboardSettingsRouteWithChildren =
+ LayoutAuthenticatedDashboardSettingsRoute._addFileChildren(
+ LayoutAuthenticatedDashboardSettingsRouteChildren,
+ )
+
+interface LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren {
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
}
-const DashboardSettingsRouteWithChildren =
- DashboardSettingsRoute._addFileChildren(DashboardSettingsRouteChildren)
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren: LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren =
+ {
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute,
+ }
+
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute._addFileChildren(
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren,
+ )
-interface DashboardWorkspaceWorkspaceIdRouteChildren {
- DashboardWorkspaceWorkspaceIdMembersRoute: typeof DashboardWorkspaceWorkspaceIdMembersRoute
- DashboardWorkspaceWorkspaceIdSearchRoute: typeof DashboardWorkspaceWorkspaceIdSearchRoute
- DashboardWorkspaceWorkspaceIdSettingsRoute: typeof DashboardWorkspaceWorkspaceIdSettingsRoute
- DashboardWorkspaceWorkspaceIdIndexRoute: typeof DashboardWorkspaceWorkspaceIdIndexRoute
- DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute
- DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
- DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute
- DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
- DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute: typeof DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute
+interface LayoutAuthenticatedDashboardRouteChildren {
+ LayoutAuthenticatedDashboardSettingsRoute: typeof LayoutAuthenticatedDashboardSettingsRouteWithChildren
+ LayoutAuthenticatedDashboardIndexRoute: typeof LayoutAuthenticatedDashboardIndexRoute
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren
+ LayoutAuthenticatedDashboardWorkspaceCreateRoute: typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute
}
-const DashboardWorkspaceWorkspaceIdRouteChildren: DashboardWorkspaceWorkspaceIdRouteChildren =
+const LayoutAuthenticatedDashboardRouteChildren: LayoutAuthenticatedDashboardRouteChildren =
{
- DashboardWorkspaceWorkspaceIdMembersRoute:
- DashboardWorkspaceWorkspaceIdMembersRoute,
- DashboardWorkspaceWorkspaceIdSearchRoute:
- DashboardWorkspaceWorkspaceIdSearchRoute,
- DashboardWorkspaceWorkspaceIdSettingsRoute:
- DashboardWorkspaceWorkspaceIdSettingsRoute,
- DashboardWorkspaceWorkspaceIdIndexRoute:
- DashboardWorkspaceWorkspaceIdIndexRoute,
- DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute:
- DashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute,
- DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute:
- DashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute,
- DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute:
- DashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute,
- DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute:
- DashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute,
- DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute:
- DashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute,
+ LayoutAuthenticatedDashboardSettingsRoute:
+ LayoutAuthenticatedDashboardSettingsRouteWithChildren,
+ LayoutAuthenticatedDashboardIndexRoute:
+ LayoutAuthenticatedDashboardIndexRoute,
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute:
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren,
+ LayoutAuthenticatedDashboardWorkspaceCreateRoute:
+ LayoutAuthenticatedDashboardWorkspaceCreateRoute,
}
-const DashboardWorkspaceWorkspaceIdRouteWithChildren =
- DashboardWorkspaceWorkspaceIdRoute._addFileChildren(
- DashboardWorkspaceWorkspaceIdRouteChildren,
+const LayoutAuthenticatedDashboardRouteWithChildren =
+ LayoutAuthenticatedDashboardRoute._addFileChildren(
+ LayoutAuthenticatedDashboardRouteChildren,
)
-interface DashboardRouteChildren {
- DashboardSplatRoute: typeof DashboardSplatRoute
- DashboardSettingsRoute: typeof DashboardSettingsRouteWithChildren
- DashboardWorkspaceWorkspaceIdRoute: typeof DashboardWorkspaceWorkspaceIdRouteWithChildren
- DashboardWorkspaceCreateRoute: typeof DashboardWorkspaceCreateRoute
+interface LayoutAuthenticatedRouteChildren {
+ LayoutAuthenticatedDashboardRoute: typeof LayoutAuthenticatedDashboardRouteWithChildren
+}
+
+const LayoutAuthenticatedRouteChildren: LayoutAuthenticatedRouteChildren = {
+ LayoutAuthenticatedDashboardRoute:
+ LayoutAuthenticatedDashboardRouteWithChildren,
+}
+
+const LayoutAuthenticatedRouteWithChildren =
+ LayoutAuthenticatedRoute._addFileChildren(LayoutAuthenticatedRouteChildren)
+
+interface LayoutRouteChildren {
+ LayoutAuthenticatedRoute: typeof LayoutAuthenticatedRouteWithChildren
}
-const DashboardRouteChildren: DashboardRouteChildren = {
- DashboardSplatRoute: DashboardSplatRoute,
- DashboardSettingsRoute: DashboardSettingsRouteWithChildren,
- DashboardWorkspaceWorkspaceIdRoute:
- DashboardWorkspaceWorkspaceIdRouteWithChildren,
- DashboardWorkspaceCreateRoute: DashboardWorkspaceCreateRoute,
+const LayoutRouteChildren: LayoutRouteChildren = {
+ LayoutAuthenticatedRoute: LayoutAuthenticatedRouteWithChildren,
}
-const DashboardRouteWithChildren = DashboardRoute._addFileChildren(
- DashboardRouteChildren,
-)
+const LayoutRouteWithChildren =
+ LayoutRoute._addFileChildren(LayoutRouteChildren)
+
+interface AuthRouteChildren {
+ AuthSignInRoute: typeof AuthSignInRoute
+ AuthSignUpRoute: typeof AuthSignUpRoute
+}
+
+const AuthRouteChildren: AuthRouteChildren = {
+ AuthSignInRoute: AuthSignInRoute,
+ AuthSignUpRoute: AuthSignUpRoute,
+}
+
+const AuthRouteWithChildren = AuthRoute._addFileChildren(AuthRouteChildren)
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
- DashboardRoute: DashboardRouteWithChildren,
+ LayoutRoute: LayoutRouteWithChildren,
+ AuthRoute: AuthRouteWithChildren,
TestErrorRoute: TestErrorRoute,
- AuthSignInRoute: AuthSignInRoute,
- AuthSignUpRoute: AuthSignUpRoute,
PublicProjectProjectIdRoute: PublicProjectProjectIdRoute,
}
export const routeTree = rootRouteImport
diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsx
index a8472d1e7..9b6ecc953 100644
--- a/apps/web/src/routes/__root.tsx
+++ b/apps/web/src/routes/__root.tsx
@@ -1,15 +1,7 @@
-import CommandPalette from "@/components/command-palette";
-import SearchCommandMenu from "@/components/search-command-menu";
import { useUserPreferencesStore } from "@/store/user-preferences";
import type { User } from "@/types/user";
import type { QueryClient } from "@tanstack/react-query";
-import {
- Outlet,
- createRootRouteWithContext,
- redirect,
- useLocation,
-} from "@tanstack/react-router";
-import { useState } from "react";
+import { Outlet, createRootRouteWithContext } from "@tanstack/react-router";
import { Toaster } from "sonner";
export const Route = createRootRouteWithContext<{
@@ -17,46 +9,15 @@ export const Route = createRootRouteWithContext<{
user: User | null | undefined;
}>()({
component: RootComponent,
- async beforeLoad({ context: { user }, location }) {
- const isRouteUnprotected =
- location.pathname.includes("auth") ||
- location.pathname.includes("public-project");
- const isOnDashboard = location.pathname.includes("dashboard");
-
- if (user === undefined && !isRouteUnprotected) {
- throw redirect({
- to: "/auth/sign-in",
- });
- }
-
- if (
- user &&
- !isOnDashboard &&
- !location.pathname.includes("public-project")
- ) {
- throw redirect({
- to: "/dashboard",
- });
- }
- },
});
function RootComponent() {
const { theme } = useUserPreferencesStore();
- const location = useLocation();
- const isPublicProject = location.pathname.includes("public-project");
- const [searchOpen, setSearchOpen] = useState(false);
return (
<>
<div className="flex w-full h-svh overflow-x-hidden overflow-y-hidden flex-row scrollbar-thin scrollbar-thumb-zinc-700 scrollbar-track-zinc-900 bg-sidebar">
<Outlet />
- {!isPublicProject && (
- <>
- <CommandPalette />
- <SearchCommandMenu open={searchOpen} setOpen={setSearchOpen} />
- </>
- )}
</div>
<Toaster
position="bottom-right"
diff --git a/apps/web/src/routes/_layout.tsx b/apps/web/src/routes/_layout.tsx
new file mode 100644
index 000000000..999e2ff1b
--- /dev/null
+++ b/apps/web/src/routes/_layout.tsx
@@ -0,0 +1,20 @@
+import CommandPalette from "@/components/command-palette";
+import SearchCommandMenu from "@/components/search-command-menu";
+import { Outlet, createFileRoute } from "@tanstack/react-router";
+import { useState } from "react";
+
+// layout for the main app
+export const Route = createFileRoute("/_layout")({
+ component: RouteComponent,
+});
+
+function RouteComponent() {
+ const [searchOpen, setSearchOpen] = useState(false);
+ return (
+ <>
+ <Outlet />
+ <CommandPalette />
+ <SearchCommandMenu open={searchOpen} setOpen={setSearchOpen} />
+ </>
+ );
+}
diff --git a/apps/web/src/routes/_layout/_authenticated.tsx b/apps/web/src/routes/_layout/_authenticated.tsx
new file mode 100644
index 000000000..012107f5f
--- /dev/null
+++ b/apps/web/src/routes/_layout/_authenticated.tsx
@@ -0,0 +1,18 @@
+import { authClient } from "@/lib/auth-client";
+import { createFileRoute, redirect } from "@tanstack/react-router";
+
+// protects all child routes, must be logged in
+export const Route = createFileRoute("/_layout/_authenticated")({
+ beforeLoad: async ({ location }) => {
+ const { data: session } = await authClient.getSession();
+ if (!session) {
+ throw redirect({
+ to: "/auth/sign-in",
+ search: {
+ redirect: location.pathname,
+ },
+ });
+ }
+ return { session };
+ },
+});
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard.tsx
new file mode 100644
index 000000000..683f96482
--- /dev/null
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard.tsx
@@ -0,0 +1,21 @@
+import PageTitle from "@/components/page-title";
+import { SidebarProvider } from "@/components/ui/sidebar";
+import useWorkspaceStore from "@/store/workspace";
+import { Outlet, createFileRoute } from "@tanstack/react-router";
+
+export const Route = createFileRoute("/_layout/_authenticated/dashboard")({
+ component: DashboardLayoutComponent,
+});
+
+function DashboardLayoutComponent() {
+ const { workspace } = useWorkspaceStore();
+
+ return (
+ <>
+ <SidebarProvider>
+ <PageTitle title="Dashboard" hideAppName={!workspace?.name} />
+ <Outlet />
+ </SidebarProvider>
+ </>
+ );
+}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/index.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/index.tsx
new file mode 100644
index 000000000..1e91c2df9
--- /dev/null
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/index.tsx
@@ -0,0 +1,37 @@
+import getWorkspaces from "@/fetchers/workspace/get-workspaces";
+import { useUserPreferencesStore } from "@/store/user-preferences";
+import type Workspace from "@/types/workspace";
+import { createFileRoute, redirect } from "@tanstack/react-router";
+
+export const Route = createFileRoute("/_layout/_authenticated/dashboard/")({
+ beforeLoad: async () => {
+ const workspaces: Workspace[] = await getWorkspaces();
+
+ const { activeWorkspaceId } = useUserPreferencesStore.getState();
+
+ if (workspaces && workspaces.length > 0) {
+ if (
+ activeWorkspaceId &&
+ workspaces.some((ws) => ws.id === activeWorkspaceId)
+ ) {
+ throw redirect({
+ to: "/dashboard/workspace/$workspaceId",
+ params: { workspaceId: activeWorkspaceId },
+ });
+ }
+
+ const firstWorkspace = workspaces[0];
+
+ useUserPreferencesStore.setState({
+ activeWorkspaceId: firstWorkspace.id,
+ });
+
+ throw redirect({
+ to: "/dashboard/workspace/$workspaceId",
+ params: { workspaceId: firstWorkspace.id },
+ });
+ }
+
+ throw redirect({ to: "/dashboard/workspace/create" });
+ },
+});
diff --git a/apps/web/src/routes/dashboard/settings.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings.tsx
similarity index 62%
rename from apps/web/src/routes/dashboard/settings.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/settings.tsx
index 68200012d..1f7b5a972 100644
--- a/apps/web/src/routes/dashboard/settings.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings.tsx
@@ -1,6 +1,8 @@
import { Outlet, createFileRoute } from "@tanstack/react-router";
-export const Route = createFileRoute("/dashboard/settings")({
+export const Route = createFileRoute(
+ "/_layout/_authenticated/dashboard/settings",
+)({
component: SettingsLayout,
});
diff --git a/apps/web/src/routes/dashboard/settings/appearance.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/appearance.tsx
similarity index 98%
rename from apps/web/src/routes/dashboard/settings/appearance.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/settings/appearance.tsx
index f208e27b1..39a3b46b9 100644
--- a/apps/web/src/routes/dashboard/settings/appearance.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/appearance.tsx
@@ -18,7 +18,9 @@ import {
Users,
} from "lucide-react";
-export const Route = createFileRoute("/dashboard/settings/appearance")({
+export const Route = createFileRoute(
+ "/_layout/_authenticated/dashboard/settings/appearance",
+)({
component: UserSettings,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx
similarity index 84%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx
index 7de2e9dbb..2d76fbff4 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx
@@ -3,7 +3,9 @@ import useWorkspaceStore from "@/store/workspace";
import { Outlet, createFileRoute } from "@tanstack/react-router";
import { useEffect } from "react";
-export const Route = createFileRoute("/dashboard/workspace/$workspaceId")({
+export const Route = createFileRoute(
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId",
+)({
component: RouteComponent,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/index.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx
similarity index 98%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/index.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx
index 5f068b612..c2f7e48ed 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/index.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx
@@ -20,7 +20,9 @@ import { createFileRoute, useNavigate } from "@tanstack/react-router";
import { LayoutGrid, Plus } from "lucide-react";
import { useState } from "react";
-export const Route = createFileRoute("/dashboard/workspace/$workspaceId/")({
+export const Route = createFileRoute(
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/",
+)({
component: RouteComponent,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/members.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members.tsx
similarity index 95%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/members.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members.tsx
index 08aba352a..d7318e383 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/members.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members.tsx
@@ -8,7 +8,7 @@ import { UserPlus } from "lucide-react";
import { useState } from "react";
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/members",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/members",
)({
component: RouteComponent,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
similarity index 99%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
index 08535a169..78ad47c93 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx
@@ -32,7 +32,7 @@ import { useEffect, useMemo, useState } from "react";
import { toast } from "sonner";
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/project/$projectId/backlog",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog",
)({
component: RouteComponent,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/board.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
similarity index 99%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
index dead82e1b..ea64408dd 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
@@ -37,7 +37,7 @@ import {
import { useEffect, useState } from "react";
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/project/$projectId/board",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board",
)({
component: RouteComponent,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/index.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index.tsx
similarity index 84%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/index.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index.tsx
index 68d176d0b..e42e29cff 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/index.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index.tsx
@@ -2,7 +2,7 @@ import ProjectLayout from "@/components/common/project-layout";
import { Outlet, createFileRoute } from "@tanstack/react-router";
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/project/$projectId/",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/",
)({
component: RouteComponent,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx
similarity index 99%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx
index 2bc7b4658..c7284122e 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx
@@ -60,7 +60,7 @@ const projectFormSchema = z.object({
type ProjectFormValues = z.infer<typeof projectFormSchema>;
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/project/$projectId/settings",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings",
)({
component: ProjectSettings,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx
similarity index 97%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx
index d8fc4b4d1..be9617582 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx
@@ -16,7 +16,7 @@ import { X } from "lucide-react";
import { useEffect, useState } from "react";
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_",
)({
component: TaskEditPage,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/search.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search.tsx
similarity index 98%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/search.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search.tsx
index 30cf92fae..c151a69f8 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/search.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search.tsx
@@ -6,7 +6,7 @@ import { ArrowLeft, Search } from "lucide-react";
import { useState } from "react";
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/search",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/search",
)({
component: SearchComponent,
});
diff --git a/apps/web/src/routes/dashboard/workspace/$workspaceId/settings.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings.tsx
similarity index 99%
rename from apps/web/src/routes/dashboard/workspace/$workspaceId/settings.tsx
rename to apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings.tsx
index e35fcab13..6e4b7ef7e 100644
--- a/apps/web/src/routes/dashboard/workspace/$workspaceId/settings.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings.tsx
@@ -35,7 +35,7 @@ const workspaceFormSchema = z.object({
type WorkspaceFormValues = z.infer<typeof workspaceFormSchema>;
export const Route = createFileRoute(
- "/dashboard/workspace/$workspaceId/settings",
+ "/_layout/_authenticated/dashboard/workspace/$workspaceId/settings",
)({
component: SettingsComponent,
});
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/create.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/create.tsx
new file mode 100644
index 000000000..eb1633070
--- /dev/null
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/create.tsx
@@ -0,0 +1,140 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { createFileRoute, useNavigate } from "@tanstack/react-router";
+import { Building2 } from "lucide-react";
+import { useEffect, useRef, useState } from "react";
+import { toast } from "sonner";
+
+import PageTitle from "@/components/page-title";
+import { Button } from "@/components/ui/button";
+import { Card, CardContent } from "@/components/ui/card";
+import { Input } from "@/components/ui/input";
+import useCreateWorkspace from "@/hooks/queries/workspace/use-create-workspace";
+import { useUserPreferencesStore } from "@/store/user-preferences";
+
+export const Route = createFileRoute(
+ "/_layout/_authenticated/dashboard/workspace/create",
+)({
+ component: RouteComponent,
+});
+
+function RouteComponent() {
+ const [name, setName] = useState("");
+ const [description, setDescription] = useState("");
+ const inputRef = useRef<HTMLInputElement>(null);
+ const queryClient = useQueryClient();
+ const navigate = useNavigate();
+ const { setActiveWorkspaceId } = useUserPreferencesStore();
+ const { mutateAsync, isPending } = useCreateWorkspace();
+
+ useEffect(() => {
+ if (inputRef.current) {
+ setTimeout(() => {
+ inputRef.current?.focus();
+ }, 100);
+ }
+ }, []);
+
+ const handleSubmit = async (e: React.FormEvent) => {
+ e.preventDefault();
+ if (!name.trim()) return;
+
+ try {
+ const createdWorkspace = await mutateAsync({ name, description });
+ toast.success("Workspace created successfully");
+ await queryClient.invalidateQueries({ queryKey: ["workspaces"] });
+
+ setActiveWorkspaceId(createdWorkspace.id);
+ navigate({
+ to: "/dashboard/workspace/$workspaceId",
+ params: {
+ workspaceId: createdWorkspace.id,
+ },
+ replace: true,
+ });
+ } catch (error) {
+ toast.error(
+ error instanceof Error ? error.message : "Failed to create workspace",
+ );
+ }
+ };
+
+ return (
+ <>
+ <PageTitle title="Create Workspace" />
+ <div className="min-h-screen w-full bg-zinc-50 dark:bg-zinc-900 flex items-center justify-center p-4 overflow-y-auto">
+ <div className="w-full max-w-md">
+ <Card className="border-zinc-200 dark:border-zinc-700 bg-white dark:bg-zinc-800 shadow-sm">
+ <CardContent className="p-8">
+ <div className="text-center mb-8">
+ <div className="flex justify-center mb-4">
+ <div className="w-12 h-12 bg-zinc-100 dark:bg-zinc-700 rounded-lg flex items-center justify-center">
+ <Building2 className="h-6 w-6 text-zinc-600 dark:text-zinc-400" />
+ </div>
+ </div>
+
+ <h1 className="text-2xl font-semibold text-zinc-900 dark:text-white mb-2">
+ Create a new workspace
+ </h1>
+ <p className="text-zinc-600 dark:text-zinc-400 text-sm">
+ Workspaces are shared environments where teams can work on
+ projects, cycles and issues.
+ </p>
+ </div>
+
+ <form onSubmit={handleSubmit} className="space-y-6">
+ <div className="space-y-4">
+ <div>
+ <label
+ htmlFor="workspace-name"
+ className="block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-2"
+ >
+ Workspace Name
+ </label>
+ <Input
+ ref={inputRef}
+ id="workspace-name"
+ value={name}
+ onChange={(e) => setName(e.target.value)}
+ placeholder="Enter workspace name"
+ className="h-12 text-lg font-medium border-zinc-300 dark:border-zinc-600 focus:border-indigo-500 dark:focus:border-indigo-400 focus:ring-indigo-500 dark:focus:ring-indigo-400"
+ required
+ />
+ {!name.trim() && (
+ <p className="text-red-500 text-sm mt-1">Required</p>
+ )}
+ </div>
+
+ <div>
+ <label
+ htmlFor="workspace-description"
+ className="block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-2"
+ >
+ Description (optional)
+ </label>
+ <Input
+ id="workspace-description"
+ value={description}
+ onChange={(e) => setDescription(e.target.value)}
+ placeholder="Add a description for your workspace"
+ className="h-10 border-zinc-300 dark:border-zinc-600 focus:border-indigo-500 dark:focus:border-indigo-400 focus:ring-indigo-500 dark:focus:ring-indigo-400"
+ />
+ </div>
+ </div>
+
+ <div className="pt-4">
+ <Button
+ type="submit"
+ disabled={!name.trim() || isPending}
+ className="w-full h-12 bg-indigo-600 hover:bg-indigo-500 text-white font-medium disabled:opacity-50 disabled:cursor-not-allowed"
+ >
+ {isPending ? "Creating..." : "Create workspace"}
+ </Button>
+ </div>
+ </form>
+ </CardContent>
+ </Card>
+ </div>
+ </div>
+ </>
+ );
+}
diff --git a/apps/web/src/routes/auth.tsx b/apps/web/src/routes/auth.tsx
new file mode 100644
index 000000000..622c28ec6
--- /dev/null
+++ b/apps/web/src/routes/auth.tsx
@@ -0,0 +1,14 @@
+import { authClient } from "@/lib/auth-client";
+import { createFileRoute, redirect } from "@tanstack/react-router";
+
+export const Route = createFileRoute("/auth")({
+ beforeLoad: async () => {
+ const { data: session } = await authClient.getSession();
+ if (session) {
+ throw redirect({
+ to: "/dashboard",
+ });
+ }
+ return { session };
+ },
+});
diff --git a/apps/web/src/routes/dashboard.tsx b/apps/web/src/routes/dashboard.tsx
deleted file mode 100644
index 129bc7016..000000000
--- a/apps/web/src/routes/dashboard.tsx
+++ /dev/null
@@ -1,59 +0,0 @@
-import PageTitle from "@/components/page-title";
-import { SidebarProvider } from "@/components/ui/sidebar";
-import useGetWorkspaces from "@/hooks/queries/workspace/use-get-workspaces";
-import { useUserPreferencesStore } from "@/store/user-preferences";
-import useWorkspaceStore from "@/store/workspace";
-import { Outlet, createFileRoute, redirect } from "@tanstack/react-router";
-import { useEffect } from "react";
-
-export const Route = createFileRoute("/dashboard")({
- component: DashboardIndexRouteComponent,
- async beforeLoad({ context: { user } }) {
- if (user === undefined) {
- throw redirect({
- to: "/auth/sign-in",
- });
- }
- },
-});
-
-function DashboardIndexRouteComponent() {
- const { workspace, setWorkspace } = useWorkspaceStore();
- const { data: workspaces } = useGetWorkspaces();
- const { activeWorkspaceId, setActiveWorkspaceId } = useUserPreferencesStore();
-
- useEffect(() => {
- if (workspaces && workspaces.length > 0 && !workspace) {
- if (
- activeWorkspaceId &&
- workspaces.some((ws) => ws.id === activeWorkspaceId)
- ) {
- const activeWorkspace = workspaces.find(
- (ws) => ws.id === activeWorkspaceId,
- );
- if (activeWorkspace) {
- setWorkspace(activeWorkspace);
- }
- } else {
- const firstWorkspace = workspaces[0];
- setActiveWorkspaceId(firstWorkspace.id);
- setWorkspace(firstWorkspace);
- }
- }
- }, [
- workspaces,
- workspace,
- activeWorkspaceId,
- setActiveWorkspaceId,
- setWorkspace,
- ]);
-
- return (
- <>
- <SidebarProvider>
- <PageTitle title="Dashboard" hideAppName={!workspace?.name} />
- <Outlet />
- </SidebarProvider>
- </>
- );
-}
diff --git a/apps/web/src/routes/dashboard/$.tsx b/apps/web/src/routes/dashboard/$.tsx
deleted file mode 100644
index 2db42662e..000000000
--- a/apps/web/src/routes/dashboard/$.tsx
+++ /dev/null
@@ -1,58 +0,0 @@
-import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
-import useGetWorkspaces from "@/hooks/queries/workspace/use-get-workspaces";
-import { useUserPreferencesStore } from "@/store/user-preferences";
-import { createFileRoute, useNavigate } from "@tanstack/react-router";
-import { useEffect } from "react";
-
-export const Route = createFileRoute("/dashboard/$")({
- component: CatchAllComponent,
-});
-
-function CatchAllComponent() {
- const { data: workspaces, isLoading } = useGetWorkspaces();
- const { user } = useAuth();
- const { activeWorkspaceId, setActiveWorkspaceId } = useUserPreferencesStore();
- const navigate = useNavigate();
-
- useEffect(() => {
- if (!user) {
- navigate({ to: "/auth/sign-in" });
- }
-
- if (!workspaces || isLoading) return;
-
- if (workspaces.length > 0) {
- if (
- activeWorkspaceId &&
- workspaces.some((ws) => ws.id === activeWorkspaceId)
- ) {
- navigate({
- to: "/dashboard/workspace/$workspaceId",
- params: {
- workspaceId: activeWorkspaceId,
- },
- });
- } else {
- const firstWorkspace = workspaces[0];
- setActiveWorkspaceId(firstWorkspace.id);
- navigate({
- to: "/dashboard/workspace/$workspaceId",
- params: {
- workspaceId: firstWorkspace.id,
- },
- });
- }
- } else {
- navigate({ to: "/dashboard/workspace/create" });
- }
- }, [
- workspaces,
- activeWorkspaceId,
- setActiveWorkspaceId,
- navigate,
- user,
- isLoading,
- ]);
-
- return null;
-}
diff --git a/apps/web/src/routes/dashboard/workspace/create.tsx b/apps/web/src/routes/dashboard/workspace/create.tsx
deleted file mode 100644
index 1aa30a3b7..000000000
--- a/apps/web/src/routes/dashboard/workspace/create.tsx
+++ /dev/null
@@ -1,133 +0,0 @@
-import { useQueryClient } from "@tanstack/react-query";
-import { createFileRoute, useNavigate } from "@tanstack/react-router";
-import { Building2 } from "lucide-react";
-import { useEffect, useRef, useState } from "react";
-import { toast } from "sonner";
-
-import { Button } from "@/components/ui/button";
-import { Card, CardContent } from "@/components/ui/card";
-import { Input } from "@/components/ui/input";
-import useCreateWorkspace from "@/hooks/queries/workspace/use-create-workspace";
-import { useUserPreferencesStore } from "@/store/user-preferences";
-
-export const Route = createFileRoute("/dashboard/workspace/create")({
- component: RouteComponent,
-});
-
-function RouteComponent() {
- const [name, setName] = useState("");
- const [description, setDescription] = useState("");
- const inputRef = useRef<HTMLInputElement>(null);
- const queryClient = useQueryClient();
- const navigate = useNavigate();
- const { setActiveWorkspaceId } = useUserPreferencesStore();
- const { mutateAsync, isPending } = useCreateWorkspace();
-
- useEffect(() => {
- if (inputRef.current) {
- setTimeout(() => {
- inputRef.current?.focus();
- }, 100);
- }
- }, []);
-
- const handleSubmit = async (e: React.FormEvent) => {
- e.preventDefault();
- if (!name.trim()) return;
-
- try {
- const createdWorkspace = await mutateAsync({ name, description });
- toast.success("Workspace created successfully");
- await queryClient.invalidateQueries({ queryKey: ["workspaces"] });
-
- setActiveWorkspaceId(createdWorkspace.id);
- navigate({
- to: "/dashboard/workspace/$workspaceId",
- params: {
- workspaceId: createdWorkspace.id,
- },
- });
- } catch (error) {
- toast.error(
- error instanceof Error ? error.message : "Failed to create workspace",
- );
- }
- };
-
- return (
- <div className="min-h-screen w-full bg-zinc-50 dark:bg-zinc-900 flex items-center justify-center p-4 overflow-y-auto">
- <div className="w-full max-w-md">
- <Card className="border-zinc-200 dark:border-zinc-700 bg-white dark:bg-zinc-800 shadow-sm">
- <CardContent className="p-8">
- <div className="text-center mb-8">
- <div className="flex justify-center mb-4">
- <div className="w-12 h-12 bg-zinc-100 dark:bg-zinc-700 rounded-lg flex items-center justify-center">
- <Building2 className="h-6 w-6 text-zinc-600 dark:text-zinc-400" />
- </div>
- </div>
-
- <h1 className="text-2xl font-semibold text-zinc-900 dark:text-white mb-2">
- Create a new workspace
- </h1>
- <p className="text-zinc-600 dark:text-zinc-400 text-sm">
- Workspaces are shared environments where teams can work on
- projects, cycles and issues.
- </p>
- </div>
-
- <form onSubmit={handleSubmit} className="space-y-6">
- <div className="space-y-4">
- <div>
- <label
- htmlFor="workspace-name"
- className="block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-2"
- >
- Workspace Name
- </label>
- <Input
- ref={inputRef}
- id="workspace-name"
- value={name}
- onChange={(e) => setName(e.target.value)}
- placeholder="Enter workspace name"
- className="h-12 text-lg font-medium border-zinc-300 dark:border-zinc-600 focus:border-indigo-500 dark:focus:border-indigo-400 focus:ring-indigo-500 dark:focus:ring-indigo-400"
- required
- />
- {!name.trim() && (
- <p className="text-red-500 text-sm mt-1">Required</p>
- )}
- </div>
-
- <div>
- <label
- htmlFor="workspace-description"
- className="block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-2"
- >
- Description (optional)
- </label>
- <Input
- id="workspace-description"
- value={description}
- onChange={(e) => setDescription(e.target.value)}
- placeholder="Add a description for your workspace"
- className="h-10 border-zinc-300 dark:border-zinc-600 focus:border-indigo-500 dark:focus:border-indigo-400 focus:ring-indigo-500 dark:focus:ring-indigo-400"
- />
- </div>
- </div>
-
- <div className="pt-4">
- <Button
- type="submit"
- disabled={!name.trim() || isPending}
- className="w-full h-12 bg-indigo-600 hover:bg-indigo-500 text-white font-medium disabled:opacity-50 disabled:cursor-not-allowed"
- >
- {isPending ? "Creating..." : "Create workspace"}
- </Button>
- </div>
- </form>
- </CardContent>
- </Card>
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/routes/index.tsx b/apps/web/src/routes/index.tsx
index 5d70dd00e..651e99ca0 100644
--- a/apps/web/src/routes/index.tsx
+++ b/apps/web/src/routes/index.tsx
@@ -1,3 +1,9 @@
-import { createFileRoute } from "@tanstack/react-router";
+import { createFileRoute, redirect } from "@tanstack/react-router";
-export const Route = createFileRoute("/")();
+export const Route = createFileRoute("/")({
+ beforeLoad: () => {
+ throw redirect({
+ to: "/dashboard",
+ });
+ },
+});
diff --git a/bun.lock b/bun.lock
new file mode 100644
index 000000000..0156d97a6
--- /dev/null
+++ b/bun.lock
@@ -0,0 +1,342 @@
+{
+ "lockfileVersion": 1,
+ "workspaces": {
+ "": {
+ "name": "kaneo",
+ "devDependencies": {
+ "@biomejs/biome": "1.9.4",
+ "@commitlint/cli": "^19.6.1",
+ "@commitlint/config-conventional": "^19.6.0",
+ "esbuild": ">=0.25.0",
+ "husky": "^9.1.7",
+ "linkifyjs": ">=4.3.2",
+ "tar-fs": ">=2.1.3",
+ "turbo": "^2.4.2",
+ "typescript": "5.8.3",
+ },
+ },
+ },
+ "packages": {
+ "@babel/code-frame": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-validator-identifier": "^7.27.1", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg=="],
+
+ "@babel/helper-validator-identifier": ["@babel/[email protected]", "", {}, "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow=="],
+
+ "@biomejs/biome": ["@biomejs/[email protected]", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "1.9.4", "@biomejs/cli-darwin-x64": "1.9.4", "@biomejs/cli-linux-arm64": "1.9.4", "@biomejs/cli-linux-arm64-musl": "1.9.4", "@biomejs/cli-linux-x64": "1.9.4", "@biomejs/cli-linux-x64-musl": "1.9.4", "@biomejs/cli-win32-arm64": "1.9.4", "@biomejs/cli-win32-x64": "1.9.4" }, "bin": { "biome": "bin/biome" } }, "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog=="],
+
+ "@biomejs/cli-darwin-arm64": ["@biomejs/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw=="],
+
+ "@biomejs/cli-darwin-x64": ["@biomejs/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg=="],
+
+ "@biomejs/cli-linux-arm64": ["@biomejs/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g=="],
+
+ "@biomejs/cli-linux-arm64-musl": ["@biomejs/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA=="],
+
+ "@biomejs/cli-linux-x64": ["@biomejs/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg=="],
+
+ "@biomejs/cli-linux-x64-musl": ["@biomejs/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg=="],
+
+ "@biomejs/cli-win32-arm64": ["@biomejs/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg=="],
+
+ "@biomejs/cli-win32-x64": ["@biomejs/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA=="],
+
+ "@commitlint/cli": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/format": "^19.8.1", "@commitlint/lint": "^19.8.1", "@commitlint/load": "^19.8.1", "@commitlint/read": "^19.8.1", "@commitlint/types": "^19.8.1", "tinyexec": "^1.0.0", "yargs": "^17.0.0" }, "bin": { "commitlint": "./cli.js" } }, "sha512-LXUdNIkspyxrlV6VDHWBmCZRtkEVRpBKxi2Gtw3J54cGWhLCTouVD/Q6ZSaSvd2YaDObWK8mDjrz3TIKtaQMAA=="],
+
+ "@commitlint/config-conventional": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/types": "^19.8.1", "conventional-changelog-conventionalcommits": "^7.0.2" } }, "sha512-/AZHJL6F6B/G959CsMAzrPKKZjeEiAVifRyEwXxcT6qtqbPwGw+iQxmNS+Bu+i09OCtdNRW6pNpBvgPrtMr9EQ=="],
+
+ "@commitlint/config-validator": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/types": "^19.8.1", "ajv": "^8.11.0" } }, "sha512-0jvJ4u+eqGPBIzzSdqKNX1rvdbSU1lPNYlfQQRIFnBgLy26BtC0cFnr7c/AyuzExMxWsMOte6MkTi9I3SQ3iGQ=="],
+
+ "@commitlint/ensure": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/types": "^19.8.1", "lodash.camelcase": "^4.3.0", "lodash.kebabcase": "^4.1.1", "lodash.snakecase": "^4.1.1", "lodash.startcase": "^4.4.0", "lodash.upperfirst": "^4.3.1" } }, "sha512-mXDnlJdvDzSObafjYrOSvZBwkD01cqB4gbnnFuVyNpGUM5ijwU/r/6uqUmBXAAOKRfyEjpkGVZxaDsCVnHAgyw=="],
+
+ "@commitlint/execute-rule": ["@commitlint/[email protected]", "", {}, "sha512-YfJyIqIKWI64Mgvn/sE7FXvVMQER/Cd+s3hZke6cI1xgNT/f6ZAz5heND0QtffH+KbcqAwXDEE1/5niYayYaQA=="],
+
+ "@commitlint/format": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/types": "^19.8.1", "chalk": "^5.3.0" } }, "sha512-kSJj34Rp10ItP+Eh9oCItiuN/HwGQMXBnIRk69jdOwEW9llW9FlyqcWYbHPSGofmjsqeoxa38UaEA5tsbm2JWw=="],
+
+ "@commitlint/is-ignored": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/types": "^19.8.1", "semver": "^7.6.0" } }, "sha512-AceOhEhekBUQ5dzrVhDDsbMaY5LqtN8s1mqSnT2Kz1ERvVZkNihrs3Sfk1Je/rxRNbXYFzKZSHaPsEJJDJV8dg=="],
+
+ "@commitlint/lint": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/is-ignored": "^19.8.1", "@commitlint/parse": "^19.8.1", "@commitlint/rules": "^19.8.1", "@commitlint/types": "^19.8.1" } }, "sha512-52PFbsl+1EvMuokZXLRlOsdcLHf10isTPlWwoY1FQIidTsTvjKXVXYb7AvtpWkDzRO2ZsqIgPK7bI98x8LRUEw=="],
+
+ "@commitlint/load": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/config-validator": "^19.8.1", "@commitlint/execute-rule": "^19.8.1", "@commitlint/resolve-extends": "^19.8.1", "@commitlint/types": "^19.8.1", "chalk": "^5.3.0", "cosmiconfig": "^9.0.0", "cosmiconfig-typescript-loader": "^6.1.0", "lodash.isplainobject": "^4.0.6", "lodash.merge": "^4.6.2", "lodash.uniq": "^4.5.0" } }, "sha512-9V99EKG3u7z+FEoe4ikgq7YGRCSukAcvmKQuTtUyiYPnOd9a2/H9Ak1J9nJA1HChRQp9OA/sIKPugGS+FK/k1A=="],
+
+ "@commitlint/message": ["@commitlint/[email protected]", "", {}, "sha512-+PMLQvjRXiU+Ae0Wc+p99EoGEutzSXFVwQfa3jRNUZLNW5odZAyseb92OSBTKCu+9gGZiJASt76Cj3dLTtcTdg=="],
+
+ "@commitlint/parse": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/types": "^19.8.1", "conventional-changelog-angular": "^7.0.0", "conventional-commits-parser": "^5.0.0" } }, "sha512-mmAHYcMBmAgJDKWdkjIGq50X4yB0pSGpxyOODwYmoexxxiUCy5JJT99t1+PEMK7KtsCtzuWYIAXYAiKR+k+/Jw=="],
+
+ "@commitlint/read": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/top-level": "^19.8.1", "@commitlint/types": "^19.8.1", "git-raw-commits": "^4.0.0", "minimist": "^1.2.8", "tinyexec": "^1.0.0" } }, "sha512-03Jbjb1MqluaVXKHKRuGhcKWtSgh3Jizqy2lJCRbRrnWpcM06MYm8th59Xcns8EqBYvo0Xqb+2DoZFlga97uXQ=="],
+
+ "@commitlint/resolve-extends": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/config-validator": "^19.8.1", "@commitlint/types": "^19.8.1", "global-directory": "^4.0.1", "import-meta-resolve": "^4.0.0", "lodash.mergewith": "^4.6.2", "resolve-from": "^5.0.0" } }, "sha512-GM0mAhFk49I+T/5UCYns5ayGStkTt4XFFrjjf0L4S26xoMTSkdCf9ZRO8en1kuopC4isDFuEm7ZOm/WRVeElVg=="],
+
+ "@commitlint/rules": ["@commitlint/[email protected]", "", { "dependencies": { "@commitlint/ensure": "^19.8.1", "@commitlint/message": "^19.8.1", "@commitlint/to-lines": "^19.8.1", "@commitlint/types": "^19.8.1" } }, "sha512-Hnlhd9DyvGiGwjfjfToMi1dsnw1EXKGJNLTcsuGORHz6SS9swRgkBsou33MQ2n51/boIDrbsg4tIBbRpEWK2kw=="],
+
+ "@commitlint/to-lines": ["@commitlint/[email protected]", "", {}, "sha512-98Mm5inzbWTKuZQr2aW4SReY6WUukdWXuZhrqf1QdKPZBCCsXuG87c+iP0bwtD6DBnmVVQjgp4whoHRVixyPBg=="],
+
+ "@commitlint/top-level": ["@commitlint/[email protected]", "", { "dependencies": { "find-up": "^7.0.0" } }, "sha512-Ph8IN1IOHPSDhURCSXBz44+CIu+60duFwRsg6HqaISFHQHbmBtxVw4ZrFNIYUzEP7WwrNPxa2/5qJ//NK1FGcw=="],
+
+ "@commitlint/types": ["@commitlint/[email protected]", "", { "dependencies": { "@types/conventional-commits-parser": "^5.0.0", "chalk": "^5.3.0" } }, "sha512-/yCrWGCoA1SVKOks25EGadP9Pnj0oAIHGpl2wH2M2Y46dPM2ueb8wyCVOD7O3WCTkaJ0IkKvzhl1JY7+uCT2Dw=="],
+
+ "@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA=="],
+
+ "@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ=="],
+
+ "@esbuild/android-arm64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm64" }, "sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg=="],
+
+ "@esbuild/android-x64": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "x64" }, "sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw=="],
+
+ "@esbuild/darwin-arm64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg=="],
+
+ "@esbuild/darwin-x64": ["@esbuild/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ=="],
+
+ "@esbuild/freebsd-arm64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q=="],
+
+ "@esbuild/freebsd-x64": ["@esbuild/[email protected]", "", { "os": "freebsd", "cpu": "x64" }, "sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg=="],
+
+ "@esbuild/linux-arm": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm" }, "sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw=="],
+
+ "@esbuild/linux-arm64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw=="],
+
+ "@esbuild/linux-ia32": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ia32" }, "sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A=="],
+
+ "@esbuild/linux-loong64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ=="],
+
+ "@esbuild/linux-mips64el": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA=="],
+
+ "@esbuild/linux-ppc64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "ppc64" }, "sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w=="],
+
+ "@esbuild/linux-riscv64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "none" }, "sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg=="],
+
+ "@esbuild/linux-s390x": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "s390x" }, "sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA=="],
+
+ "@esbuild/linux-x64": ["@esbuild/[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg=="],
+
+ "@esbuild/netbsd-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q=="],
+
+ "@esbuild/netbsd-x64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "x64" }, "sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g=="],
+
+ "@esbuild/openbsd-arm64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "arm64" }, "sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ=="],
+
+ "@esbuild/openbsd-x64": ["@esbuild/[email protected]", "", { "os": "openbsd", "cpu": "x64" }, "sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA=="],
+
+ "@esbuild/openharmony-arm64": ["@esbuild/[email protected]", "", { "os": "none", "cpu": "arm64" }, "sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg=="],
+
+ "@esbuild/sunos-x64": ["@esbuild/[email protected]", "", { "os": "sunos", "cpu": "x64" }, "sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw=="],
+
+ "@esbuild/win32-arm64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ=="],
+
+ "@esbuild/win32-ia32": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "ia32" }, "sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww=="],
+
+ "@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ=="],
+
+ "@types/conventional-commits-parser": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-7uz5EHdzz2TqoMfV7ee61Egf5y6NkcO4FB/1iCCQnbeiI1F3xzv3vK5dBCXUCLQgGYS+mUeigK1iKQzvED+QnQ=="],
+
+ "@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~7.10.0" } }, "sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow=="],
+
+ "JSONStream": ["[email protected]", "", { "dependencies": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" }, "bin": { "JSONStream": "./bin.js" } }, "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ=="],
+
+ "ajv": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2" } }, "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g=="],
+
+ "ansi-regex": ["[email protected]", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],
+
+ "ansi-styles": ["[email protected]", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
+
+ "argparse": ["[email protected]", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="],
+
+ "array-ify": ["[email protected]", "", {}, "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng=="],
+
+ "b4a": ["[email protected]", "", {}, "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg=="],
+
+ "bare-events": ["[email protected]", "", {}, "sha512-AuTJkq9XmE6Vk0FJVNq5QxETrSA/vKHarWVBG5l/JbdCL1prJemiyJqUS0jrlXO0MftuPq4m3YVYhoNc5+aE/g=="],
+
+ "bare-fs": ["[email protected]", "", { "dependencies": { "bare-events": "^2.5.4", "bare-path": "^3.0.0", "bare-stream": "^2.6.4" }, "peerDependencies": { "bare-buffer": "*" }, "optionalPeers": ["bare-buffer"] }, "sha512-oRfrw7gwwBVAWx9S5zPMo2iiOjxyiZE12DmblmMQREgcogbNO0AFaZ+QBxxkEXiPspcpvO/Qtqn8LabUx4uYXg=="],
+
+ "bare-os": ["[email protected]", "", {}, "sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g=="],
+
+ "bare-path": ["[email protected]", "", { "dependencies": { "bare-os": "^3.0.1" } }, "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw=="],
+
+ "bare-stream": ["[email protected]", "", { "dependencies": { "streamx": "^2.21.0" }, "peerDependencies": { "bare-buffer": "*", "bare-events": "*" }, "optionalPeers": ["bare-buffer", "bare-events"] }, "sha512-oyXQNicV1y8nc2aKffH+BUHFRXmx6VrPzlnaEvMhram0nPBrKcEdcyBg5r08D0i8VxngHFAiVyn1QKXpSG0B8A=="],
+
+ "callsites": ["[email protected]", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="],
+
+ "chalk": ["[email protected]", "", {}, "sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ=="],
+
+ "cliui": ["[email protected]", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
+
+ "color-convert": ["[email protected]", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],
+
+ "color-name": ["[email protected]", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],
+
+ "compare-func": ["[email protected]", "", { "dependencies": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" } }, "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA=="],
+
+ "conventional-changelog-angular": ["[email protected]", "", { "dependencies": { "compare-func": "^2.0.0" } }, "sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ=="],
+
+ "conventional-changelog-conventionalcommits": ["[email protected]", "", { "dependencies": { "compare-func": "^2.0.0" } }, "sha512-NKXYmMR/Hr1DevQegFB4MwfM5Vv0m4UIxKZTTYuD98lpTknaZlSRrDOG4X7wIXpGkfsYxZTghUN+Qq+T0YQI7w=="],
+
+ "conventional-commits-parser": ["[email protected]", "", { "dependencies": { "JSONStream": "^1.3.5", "is-text-path": "^2.0.0", "meow": "^12.0.1", "split2": "^4.0.0" }, "bin": { "conventional-commits-parser": "cli.mjs" } }, "sha512-ZPMl0ZJbw74iS9LuX9YIAiW8pfM5p3yh2o/NbXHbkFuZzY5jvdi5jFycEOkmBW5H5I7nA+D6f3UcsCLP2vvSEA=="],
+
+ "cosmiconfig": ["[email protected]", "", { "dependencies": { "env-paths": "^2.2.1", "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", "parse-json": "^5.2.0" }, "peerDependencies": { "typescript": ">=4.9.5" }, "optionalPeers": ["typescript"] }, "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg=="],
+
+ "cosmiconfig-typescript-loader": ["[email protected]", "", { "dependencies": { "jiti": "^2.4.1" }, "peerDependencies": { "@types/node": "*", "cosmiconfig": ">=9", "typescript": ">=5" } }, "sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g=="],
+
+ "dargs": ["[email protected]", "", {}, "sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw=="],
+
+ "dot-prop": ["[email protected]", "", { "dependencies": { "is-obj": "^2.0.0" } }, "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q=="],
+
+ "emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
+
+ "end-of-stream": ["[email protected]", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg=="],
+
+ "env-paths": ["[email protected]", "", {}, "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A=="],
+
+ "error-ex": ["[email protected]", "", { "dependencies": { "is-arrayish": "^0.2.1" } }, "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g=="],
+
+ "esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.9", "@esbuild/android-arm": "0.25.9", "@esbuild/android-arm64": "0.25.9", "@esbuild/android-x64": "0.25.9", "@esbuild/darwin-arm64": "0.25.9", "@esbuild/darwin-x64": "0.25.9", "@esbuild/freebsd-arm64": "0.25.9", "@esbuild/freebsd-x64": "0.25.9", "@esbuild/linux-arm": "0.25.9", "@esbuild/linux-arm64": "0.25.9", "@esbuild/linux-ia32": "0.25.9", "@esbuild/linux-loong64": "0.25.9", "@esbuild/linux-mips64el": "0.25.9", "@esbuild/linux-ppc64": "0.25.9", "@esbuild/linux-riscv64": "0.25.9", "@esbuild/linux-s390x": "0.25.9", "@esbuild/linux-x64": "0.25.9", "@esbuild/netbsd-arm64": "0.25.9", "@esbuild/netbsd-x64": "0.25.9", "@esbuild/openbsd-arm64": "0.25.9", "@esbuild/openbsd-x64": "0.25.9", "@esbuild/openharmony-arm64": "0.25.9", "@esbuild/sunos-x64": "0.25.9", "@esbuild/win32-arm64": "0.25.9", "@esbuild/win32-ia32": "0.25.9", "@esbuild/win32-x64": "0.25.9" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g=="],
+
+ "escalade": ["[email protected]", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
+
+ "fast-deep-equal": ["[email protected]", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
+
+ "fast-fifo": ["[email protected]", "", {}, "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="],
+
+ "fast-uri": ["[email protected]", "", {}, "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw=="],
+
+ "find-up": ["[email protected]", "", { "dependencies": { "locate-path": "^7.2.0", "path-exists": "^5.0.0", "unicorn-magic": "^0.1.0" } }, "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g=="],
+
+ "get-caller-file": ["[email protected]", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="],
+
+ "git-raw-commits": ["[email protected]", "", { "dependencies": { "dargs": "^8.0.0", "meow": "^12.0.1", "split2": "^4.0.0" }, "bin": { "git-raw-commits": "cli.mjs" } }, "sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ=="],
+
+ "global-directory": ["[email protected]", "", { "dependencies": { "ini": "4.1.1" } }, "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q=="],
+
+ "husky": ["[email protected]", "", { "bin": { "husky": "bin.js" } }, "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA=="],
+
+ "import-fresh": ["[email protected]", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="],
+
+ "import-meta-resolve": ["[email protected]", "", {}, "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw=="],
+
+ "ini": ["[email protected]", "", {}, "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g=="],
+
+ "is-arrayish": ["[email protected]", "", {}, "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="],
+
+ "is-fullwidth-code-point": ["[email protected]", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="],
+
+ "is-obj": ["[email protected]", "", {}, "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="],
+
+ "is-text-path": ["[email protected]", "", { "dependencies": { "text-extensions": "^2.0.0" } }, "sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw=="],
+
+ "jiti": ["[email protected]", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w=="],
+
+ "js-tokens": ["[email protected]", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
+
+ "js-yaml": ["[email protected]", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA=="],
+
+ "json-parse-even-better-errors": ["[email protected]", "", {}, "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="],
+
+ "json-schema-traverse": ["[email protected]", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="],
+
+ "jsonparse": ["[email protected]", "", {}, "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg=="],
+
+ "lines-and-columns": ["[email protected]", "", {}, "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="],
+
+ "linkifyjs": ["[email protected]", "", {}, "sha512-NT1CJtq3hHIreOianA8aSXn6Cw0JzYOuDQbOrSPe7gqFnCpKP++MQe3ODgO3oh2GJFORkAAdqredOa60z63GbA=="],
+
+ "locate-path": ["[email protected]", "", { "dependencies": { "p-locate": "^6.0.0" } }, "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA=="],
+
+ "lodash.camelcase": ["[email protected]", "", {}, "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA=="],
+
+ "lodash.isplainobject": ["[email protected]", "", {}, "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA=="],
+
+ "lodash.kebabcase": ["[email protected]", "", {}, "sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g=="],
+
+ "lodash.merge": ["[email protected]", "", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="],
+
+ "lodash.mergewith": ["[email protected]", "", {}, "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ=="],
+
+ "lodash.snakecase": ["[email protected]", "", {}, "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="],
+
+ "lodash.startcase": ["[email protected]", "", {}, "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg=="],
+
+ "lodash.uniq": ["[email protected]", "", {}, "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ=="],
+
+ "lodash.upperfirst": ["[email protected]", "", {}, "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg=="],
+
+ "meow": ["[email protected]", "", {}, "sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw=="],
+
+ "minimist": ["[email protected]", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="],
+
+ "once": ["[email protected]", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
+
+ "p-limit": ["[email protected]", "", { "dependencies": { "yocto-queue": "^1.0.0" } }, "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ=="],
+
+ "p-locate": ["[email protected]", "", { "dependencies": { "p-limit": "^4.0.0" } }, "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw=="],
+
+ "parent-module": ["[email protected]", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="],
+
+ "parse-json": ["[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" } }, "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg=="],
+
+ "path-exists": ["[email protected]", "", {}, "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ=="],
+
+ "picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
+
+ "pump": ["[email protected]", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA=="],
+
+ "require-directory": ["[email protected]", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="],
+
+ "require-from-string": ["[email protected]", "", {}, "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="],
+
+ "resolve-from": ["[email protected]", "", {}, "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw=="],
+
+ "semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="],
+
+ "split2": ["[email protected]", "", {}, "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg=="],
+
+ "streamx": ["[email protected]", "", { "dependencies": { "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" }, "optionalDependencies": { "bare-events": "^2.2.0" } }, "sha512-znKXEBxfatz2GBNK02kRnCXjV+AA4kjZIUxeWSr3UGirZMJfTE9uiwKHobnbgxWyL/JWro8tTq+vOqAK1/qbSA=="],
+
+ "string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
+
+ "strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
+
+ "tar-fs": ["[email protected]", "", { "dependencies": { "pump": "^3.0.0", "tar-stream": "^3.1.5" }, "optionalDependencies": { "bare-fs": "^4.0.1", "bare-path": "^3.0.0" } }, "sha512-5Mty5y/sOF1YWj1J6GiBodjlDc05CUR8PKXrsnFAiSG0xA+GHeWLovaZPYUDXkH/1iKRf2+M5+OrRgzC7O9b7w=="],
+
+ "tar-stream": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ=="],
+
+ "text-decoder": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4" } }, "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA=="],
+
+ "text-extensions": ["[email protected]", "", {}, "sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g=="],
+
+ "through": ["[email protected]", "", {}, "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg=="],
+
+ "tinyexec": ["[email protected]", "", {}, "sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw=="],
+
+ "turbo": ["[email protected]", "", { "optionalDependencies": { "turbo-darwin-64": "2.5.6", "turbo-darwin-arm64": "2.5.6", "turbo-linux-64": "2.5.6", "turbo-linux-arm64": "2.5.6", "turbo-windows-64": "2.5.6", "turbo-windows-arm64": "2.5.6" }, "bin": { "turbo": "bin/turbo" } }, "sha512-gxToHmi9oTBNB05UjUsrWf0OyN5ZXtD0apOarC1KIx232Vp3WimRNy3810QzeNSgyD5rsaIDXlxlbnOzlouo+w=="],
+
+ "turbo-darwin-64": ["[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-3C1xEdo4aFwMJAPvtlPqz1Sw/+cddWIOmsalHFMrsqqydcptwBfu26WW2cDm3u93bUzMbBJ8k3zNKFqxJ9ei2A=="],
+
+ "turbo-darwin-arm64": ["[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-LyiG+rD7JhMfYwLqB6k3LZQtYn8CQQUePbpA8mF/hMLPAekXdJo1g0bUPw8RZLwQXUIU/3BU7tXENvhSGz5DPA=="],
+
+ "turbo-linux-64": ["[email protected]", "", { "os": "linux", "cpu": "x64" }, "sha512-GOcUTT0xiT/pSnHL4YD6Yr3HreUhU8pUcGqcI2ksIF9b2/r/kRHwGFcsHgpG3+vtZF/kwsP0MV8FTlTObxsYIA=="],
+
+ "turbo-linux-arm64": ["[email protected]", "", { "os": "linux", "cpu": "arm64" }, "sha512-10Tm15bruJEA3m0V7iZcnQBpObGBcOgUcO+sY7/2vk1bweW34LMhkWi8svjV9iDF68+KJDThnYDlYE/bc7/zzQ=="],
+
+ "turbo-windows-64": ["[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-FyRsVpgaj76It0ludwZsNN40ytHN+17E4PFJyeliBEbxrGTc5BexlXVpufB7XlAaoaZVxbS6KT8RofLfDRyEPg=="],
+
+ "turbo-windows-arm64": ["[email protected]", "", { "os": "win32", "cpu": "arm64" }, "sha512-j/tWu8cMeQ7HPpKri6jvKtyXg9K1gRyhdK4tKrrchH8GNHscPX/F71zax58yYtLRWTiK04zNzPcUJuoS0+v/+Q=="],
+
+ "typescript": ["[email protected]", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
+
+ "undici-types": ["[email protected]", "", {}, "sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag=="],
+
+ "unicorn-magic": ["[email protected]", "", {}, "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ=="],
+
+ "wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
+
+ "wrappy": ["[email protected]", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
+
+ "y18n": ["[email protected]", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="],
+
+ "yargs": ["[email protected]", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
+
+ "yargs-parser": ["[email protected]", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
+
+ "yocto-queue": ["[email protected]", "", {}, "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg=="],
+
+ "import-fresh/resolve-from": ["[email protected]", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="],
+ }
+}
diff --git a/compose.yml b/compose.yml
index 0111c6bba..d79f50956 100644
--- a/compose.yml
+++ b/compose.yml
@@ -44,4 +44,4 @@ services:
volumes:
postgres_data:
- name: kaneo_postgres_data
\ No newline at end of file
+ name: kaneo_postgres_data
diff --git a/package.json b/package.json
index aca18e01c..8910a95a7 100644
--- a/package.json
+++ b/package.json
@@ -21,6 +21,6 @@
"engines": {
"node": ">=18"
},
- "packageManager": "[email protected]",
+ "packageManager": "[email protected]",
"version": "1.2.4"
}