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.

fix(api): resolve bugs in api tests

justinf62789c67c6d
diff --git a/apps/web/src/routeTree.gen.ts b/apps/web/src/routeTree.gen.ts
index 2b4c37a57..a5c1ad1cc 100644
--- a/apps/web/src/routeTree.gen.ts
+++ b/apps/web/src/routeTree.gen.ts
@@ -9,61 +9,60 @@
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
import { Route as rootRouteImport } from './routes/__root'
-import { Route as TestErrorRouteImport } from './routes/test-error'
-import { Route as DeviceRouteImport } from './routes/device'
-import { Route as AuthRouteImport } from './routes/auth'
-import { Route as LayoutRouteImport } from './routes/_layout'
import { Route as IndexRouteImport } from './routes/index'
+import { Route as LayoutRouteImport } from './routes/_layout'
+import { Route as AuthRouteImport } from './routes/auth'
+import { Route as DeviceRouteImport } from './routes/device'
+import { Route as TestErrorRouteImport } from './routes/test-error'
+import { Route as LayoutAuthenticatedRouteImport } from './routes/_layout/_authenticated'
+import { Route as AuthCheckEmailRouteImport } from './routes/auth/check-email'
+import { Route as AuthSignInRouteImport } from './routes/auth/sign-in'
+import { Route as AuthSignUpRouteImport } from './routes/auth/sign-up'
+import { Route as AuthVerifyOtpRouteImport } from './routes/auth/verify-otp'
import { Route as DeviceIndexRouteImport } from './routes/device/index'
-import { Route as PublicProjectProjectIdRouteImport } from './routes/public-project.$projectId'
-import { Route as McpAuthorizeRouteImport } from './routes/mcp.authorize'
import { Route as DeviceApproveRouteImport } from './routes/device/approve'
-import { Route as AuthVerifyOtpRouteImport } from './routes/auth/verify-otp'
-import { Route as AuthSignUpRouteImport } from './routes/auth/sign-up'
-import { Route as AuthSignInRouteImport } from './routes/auth/sign-in'
-import { Route as AuthCheckEmailRouteImport } from './routes/auth/check-email'
-import { Route as LayoutAuthenticatedRouteImport } from './routes/_layout/_authenticated'
-import { Route as InvitationAcceptInviteIdRouteImport } from './routes/invitation/accept.$inviteId'
-import { Route as LayoutAuthenticatedProfileSetupRouteImport } from './routes/_layout/_authenticated/profile-setup'
-import { Route as LayoutAuthenticatedOnboardingRouteImport } from './routes/_layout/_authenticated/onboarding'
-import { Route as LayoutAuthenticatedInvitationsRouteImport } from './routes/_layout/_authenticated/invitations'
+import { Route as McpAuthorizeRouteImport } from './routes/mcp.authorize'
+import { Route as PublicProjectProjectIdRouteImport } from './routes/public-project.$projectId'
import { Route as LayoutAuthenticatedDashboardRouteImport } from './routes/_layout/_authenticated/dashboard'
+import { Route as LayoutAuthenticatedInvitationsRouteImport } from './routes/_layout/_authenticated/invitations'
+import { Route as LayoutAuthenticatedOnboardingRouteImport } from './routes/_layout/_authenticated/onboarding'
+import { Route as LayoutAuthenticatedProfileSetupRouteImport } from './routes/_layout/_authenticated/profile-setup'
+import { Route as InvitationAcceptInviteIdRouteImport } from './routes/invitation/accept.$inviteId'
import { Route as LayoutAuthenticatedDashboardIndexRouteImport } from './routes/_layout/_authenticated/dashboard/index'
-import { Route as LayoutAuthenticatedDashboardSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/settings'
import { Route as LayoutAuthenticatedDashboardInvitationsRouteImport } from './routes/_layout/_authenticated/dashboard/invitations'
-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 LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace'
-import { Route as LayoutAuthenticatedDashboardSettingsProjectsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects'
+import { Route as LayoutAuthenticatedDashboardSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/settings'
import { Route as LayoutAuthenticatedDashboardSettingsAccountRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account'
+import { Route as LayoutAuthenticatedDashboardSettingsProjectsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects'
+import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId'
+import { Route as LayoutAuthenticatedDashboardWorkspaceCreateRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/create'
+import { Route as LayoutAuthenticatedDashboardSettingsAccountDeveloperRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/developer'
+import { Route as LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/information'
+import { Route as LayoutAuthenticatedDashboardSettingsAccountNotificationsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/notifications'
+import { Route as LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/preferences'
+import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/general'
+import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/labels'
+import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceRolesRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/roles'
import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index'
-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 LayoutAuthenticatedDashboardSettingsWorkspaceRolesRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/roles'
-import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/labels'
-import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/general'
-import { Route as LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/preferences'
-import { Route as LayoutAuthenticatedDashboardSettingsAccountNotificationsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/notifications'
-import { Route as LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/information'
-import { Route as LayoutAuthenticatedDashboardSettingsAccountDeveloperRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/developer'
-import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow'
-import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility'
-import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general'
+import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'
+import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility'
+import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow'
import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index'
-import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt'
-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 LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board'
+import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt'
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',
+const IndexRoute = IndexRouteImport.update({
+ id: '/',
+ path: '/',
getParentRoute: () => rootRouteImport,
} as any)
-const DeviceRoute = DeviceRouteImport.update({
- id: '/device',
- path: '/device',
+const LayoutRoute = LayoutRouteImport.update({
+ id: '/_layout',
getParentRoute: () => rootRouteImport,
} as any)
const AuthRoute = AuthRouteImport.update({
@@ -71,38 +70,28 @@ const AuthRoute = AuthRouteImport.update({
path: '/auth',
getParentRoute: () => rootRouteImport,
} as any)
-const LayoutRoute = LayoutRouteImport.update({
- id: '/_layout',
- getParentRoute: () => rootRouteImport,
-} as any)
-const IndexRoute = IndexRouteImport.update({
- id: '/',
- path: '/',
+const DeviceRoute = DeviceRouteImport.update({
+ id: '/device',
+ path: '/device',
getParentRoute: () => rootRouteImport,
} as any)
-const DeviceIndexRoute = DeviceIndexRouteImport.update({
- id: '/',
- path: '/',
- getParentRoute: () => DeviceRoute,
-} as any)
-const PublicProjectProjectIdRoute = PublicProjectProjectIdRouteImport.update({
- id: '/public-project/$projectId',
- path: '/public-project/$projectId',
+const TestErrorRoute = TestErrorRouteImport.update({
+ id: '/test-error',
+ path: '/test-error',
getParentRoute: () => rootRouteImport,
} as any)
-const McpAuthorizeRoute = McpAuthorizeRouteImport.update({
- id: '/mcp/authorize',
- path: '/mcp/authorize',
- getParentRoute: () => rootRouteImport,
+const LayoutAuthenticatedRoute = LayoutAuthenticatedRouteImport.update({
+ id: '/_authenticated',
+ getParentRoute: () => LayoutRoute,
} as any)
-const DeviceApproveRoute = DeviceApproveRouteImport.update({
- id: '/approve',
- path: '/approve',
- getParentRoute: () => DeviceRoute,
+const AuthCheckEmailRoute = AuthCheckEmailRouteImport.update({
+ id: '/check-email',
+ path: '/check-email',
+ getParentRoute: () => AuthRoute,
} as any)
-const AuthVerifyOtpRoute = AuthVerifyOtpRouteImport.update({
- id: '/verify-otp',
- path: '/verify-otp',
+const AuthSignInRoute = AuthSignInRouteImport.update({
+ id: '/sign-in',
+ path: '/sign-in',
getParentRoute: () => AuthRoute,
} as any)
const AuthSignUpRoute = AuthSignUpRouteImport.update({
@@ -110,30 +99,41 @@ const AuthSignUpRoute = AuthSignUpRouteImport.update({
path: '/sign-up',
getParentRoute: () => AuthRoute,
} as any)
-const AuthSignInRoute = AuthSignInRouteImport.update({
- id: '/sign-in',
- path: '/sign-in',
+const AuthVerifyOtpRoute = AuthVerifyOtpRouteImport.update({
+ id: '/verify-otp',
+ path: '/verify-otp',
getParentRoute: () => AuthRoute,
} as any)
-const AuthCheckEmailRoute = AuthCheckEmailRouteImport.update({
- id: '/check-email',
- path: '/check-email',
- getParentRoute: () => AuthRoute,
+const DeviceIndexRoute = DeviceIndexRouteImport.update({
+ id: '/',
+ path: '/',
+ getParentRoute: () => DeviceRoute,
} as any)
-const LayoutAuthenticatedRoute = LayoutAuthenticatedRouteImport.update({
- id: '/_authenticated',
- getParentRoute: () => LayoutRoute,
+const DeviceApproveRoute = DeviceApproveRouteImport.update({
+ id: '/approve',
+ path: '/approve',
+ getParentRoute: () => DeviceRoute,
} as any)
-const InvitationAcceptInviteIdRoute =
- InvitationAcceptInviteIdRouteImport.update({
- id: '/invitation/accept/$inviteId',
- path: '/invitation/accept/$inviteId',
- getParentRoute: () => rootRouteImport,
+const McpAuthorizeRoute = McpAuthorizeRouteImport.update({
+ id: '/mcp/authorize',
+ path: '/mcp/authorize',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const PublicProjectProjectIdRoute = PublicProjectProjectIdRouteImport.update({
+ id: '/public-project/$projectId',
+ path: '/public-project/$projectId',
+ getParentRoute: () => rootRouteImport,
+} as any)
+const LayoutAuthenticatedDashboardRoute =
+ LayoutAuthenticatedDashboardRouteImport.update({
+ id: '/dashboard',
+ path: '/dashboard',
+ getParentRoute: () => LayoutAuthenticatedRoute,
} as any)
-const LayoutAuthenticatedProfileSetupRoute =
- LayoutAuthenticatedProfileSetupRouteImport.update({
- id: '/profile-setup',
- path: '/profile-setup',
+const LayoutAuthenticatedInvitationsRoute =
+ LayoutAuthenticatedInvitationsRouteImport.update({
+ id: '/invitations',
+ path: '/invitations',
getParentRoute: () => LayoutAuthenticatedRoute,
} as any)
const LayoutAuthenticatedOnboardingRoute =
@@ -142,17 +142,17 @@ const LayoutAuthenticatedOnboardingRoute =
path: '/onboarding',
getParentRoute: () => LayoutAuthenticatedRoute,
} as any)
-const LayoutAuthenticatedInvitationsRoute =
- LayoutAuthenticatedInvitationsRouteImport.update({
- id: '/invitations',
- path: '/invitations',
+const LayoutAuthenticatedProfileSetupRoute =
+ LayoutAuthenticatedProfileSetupRouteImport.update({
+ id: '/profile-setup',
+ path: '/profile-setup',
getParentRoute: () => LayoutAuthenticatedRoute,
} as any)
-const LayoutAuthenticatedDashboardRoute =
- LayoutAuthenticatedDashboardRouteImport.update({
- id: '/dashboard',
- path: '/dashboard',
- getParentRoute: () => LayoutAuthenticatedRoute,
+const InvitationAcceptInviteIdRoute =
+ InvitationAcceptInviteIdRouteImport.update({
+ id: '/invitation/accept/$inviteId',
+ path: '/invitation/accept/$inviteId',
+ getParentRoute: () => rootRouteImport,
} as any)
const LayoutAuthenticatedDashboardIndexRoute =
LayoutAuthenticatedDashboardIndexRouteImport.update({
@@ -160,34 +160,22 @@ const LayoutAuthenticatedDashboardIndexRoute =
path: '/',
getParentRoute: () => LayoutAuthenticatedDashboardRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsRoute =
- LayoutAuthenticatedDashboardSettingsRouteImport.update({
- id: '/settings',
- path: '/settings',
- getParentRoute: () => LayoutAuthenticatedDashboardRoute,
- } as any)
const LayoutAuthenticatedDashboardInvitationsRoute =
LayoutAuthenticatedDashboardInvitationsRouteImport.update({
id: '/invitations',
path: '/invitations',
getParentRoute: () => LayoutAuthenticatedDashboardRoute,
} as any)
-const LayoutAuthenticatedDashboardWorkspaceCreateRoute =
- LayoutAuthenticatedDashboardWorkspaceCreateRouteImport.update({
- id: '/workspace/create',
- path: '/workspace/create',
- getParentRoute: () => LayoutAuthenticatedDashboardRoute,
- } as any)
-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute =
- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport.update({
- id: '/workspace/$workspaceId',
- path: '/workspace/$workspaceId',
+const LayoutAuthenticatedDashboardSettingsRoute =
+ LayoutAuthenticatedDashboardSettingsRouteImport.update({
+ id: '/settings',
+ path: '/settings',
getParentRoute: () => LayoutAuthenticatedDashboardRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsWorkspaceRoute =
- LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport.update({
- id: '/workspace',
- path: '/workspace',
+const LayoutAuthenticatedDashboardSettingsAccountRoute =
+ LayoutAuthenticatedDashboardSettingsAccountRouteImport.update({
+ id: '/account',
+ path: '/account',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsRoute,
} as any)
const LayoutAuthenticatedDashboardSettingsProjectsRoute =
@@ -196,34 +184,52 @@ const LayoutAuthenticatedDashboardSettingsProjectsRoute =
path: '/projects',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsAccountRoute =
- LayoutAuthenticatedDashboardSettingsAccountRouteImport.update({
- id: '/account',
- path: '/account',
+const LayoutAuthenticatedDashboardSettingsWorkspaceRoute =
+ LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport.update({
+ id: '/workspace',
+ path: '/workspace',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsRoute,
} as any)
-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute =
- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport.update({
- id: '/',
- path: '/',
- getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport.update({
+ id: '/workspace/$workspaceId',
+ path: '/workspace/$workspaceId',
+ getParentRoute: () => LayoutAuthenticatedDashboardRoute,
} as any)
-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute =
- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport.update({
- id: '/search',
- path: '/search',
- getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+const LayoutAuthenticatedDashboardWorkspaceCreateRoute =
+ LayoutAuthenticatedDashboardWorkspaceCreateRouteImport.update({
+ id: '/workspace/create',
+ path: '/workspace/create',
+ getParentRoute: () => LayoutAuthenticatedDashboardRoute,
} as any)
-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute =
- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport.update({
- id: '/members',
- path: '/members',
- getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
+const LayoutAuthenticatedDashboardSettingsAccountDeveloperRoute =
+ LayoutAuthenticatedDashboardSettingsAccountDeveloperRouteImport.update({
+ id: '/developer',
+ path: '/developer',
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsWorkspaceRolesRoute =
- LayoutAuthenticatedDashboardSettingsWorkspaceRolesRouteImport.update({
- id: '/roles',
- path: '/roles',
+const LayoutAuthenticatedDashboardSettingsAccountInformationRoute =
+ LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport.update({
+ id: '/information',
+ path: '/information',
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
+ } as any)
+const LayoutAuthenticatedDashboardSettingsAccountNotificationsRoute =
+ LayoutAuthenticatedDashboardSettingsAccountNotificationsRouteImport.update({
+ id: '/notifications',
+ path: '/notifications',
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
+ } as any)
+const LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute =
+ LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport.update({
+ id: '/preferences',
+ path: '/preferences',
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
+ } as any)
+const LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute =
+ LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport.update({
+ id: '/general',
+ path: '/general',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsWorkspaceRoute,
} as any)
const LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRoute =
@@ -232,49 +238,35 @@ const LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRoute =
path: '/labels',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsWorkspaceRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute =
- LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport.update({
- id: '/general',
- path: '/general',
+const LayoutAuthenticatedDashboardSettingsWorkspaceRolesRoute =
+ LayoutAuthenticatedDashboardSettingsWorkspaceRolesRouteImport.update({
+ id: '/roles',
+ path: '/roles',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsWorkspaceRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute =
- LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport.update({
- id: '/preferences',
- path: '/preferences',
- getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
- } as any)
-const LayoutAuthenticatedDashboardSettingsAccountNotificationsRoute =
- LayoutAuthenticatedDashboardSettingsAccountNotificationsRouteImport.update({
- id: '/notifications',
- path: '/notifications',
- getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport.update({
+ id: '/',
+ path: '/',
+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsAccountInformationRoute =
- LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport.update({
- id: '/information',
- path: '/information',
- getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport.update({
+ id: '/members',
+ path: '/members',
+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsAccountDeveloperRoute =
- LayoutAuthenticatedDashboardSettingsAccountDeveloperRouteImport.update({
- id: '/developer',
- path: '/developer',
- getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport.update({
+ id: '/search',
+ path: '/search',
+ getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any)
-const LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRoute =
- LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRouteImport.update(
- {
- id: '/$projectId/workflow',
- path: '/$projectId/workflow',
- getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,
- } as any,
- )
-const LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute =
- LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport.update(
+const LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute =
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport.update(
{
- id: '/$projectId/visibility',
- path: '/$projectId/visibility',
+ id: '/$projectId/general',
+ path: '/$projectId/general',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,
} as any,
)
@@ -286,11 +278,19 @@ const LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute =
getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,
} as any,
)
-const LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute =
- LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport.update(
+const LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute =
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport.update(
{
- id: '/$projectId/general',
- path: '/$projectId/general',
+ id: '/$projectId/visibility',
+ path: '/$projectId/visibility',
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,
+ } as any,
+ )
+const LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRoute =
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRouteImport.update(
+ {
+ id: '/$projectId/workflow',
+ path: '/$projectId/workflow',
getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,
} as any,
)
@@ -303,11 +303,11 @@ const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute
LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any,
)
-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRoute =
- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRouteImport.update(
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport.update(
{
- id: '/project/$projectId/gantt',
- path: '/project/$projectId/gantt',
+ id: '/project/$projectId/backlog',
+ path: '/project/$projectId/backlog',
getParentRoute: () =>
LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any,
@@ -321,11 +321,11 @@ const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute
LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any,
)
-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute =
- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport.update(
+const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRoute =
+ LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRouteImport.update(
{
- id: '/project/$projectId/backlog',
- path: '/project/$projectId/backlog',
+ id: '/project/$projectId/gantt',
+ path: '/project/$projectId/gantt',
getParentRoute: () =>
LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,
} as any,
@@ -631,18 +631,18 @@ export interface RootRouteChildren {
declare module '@tanstack/react-router' {
interface FileRoutesByPath {
- '/test-error': {
- id: '/test-error'
- path: '/test-error'
- fullPath: '/test-error'
- preLoaderRoute: typeof TestErrorRouteImport
+ '/': {
+ id: '/'
+ path: '/'
+ fullPath: '/'
+ preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
- '/device': {
- id: '/device'
- path: '/device'
- fullPath: '/device'
- preLoaderRoute: typeof DeviceRouteImport
+ '/_layout': {
+ id: '/_layout'
+ path: ''
+ fullPath: '/'
+ preLoaderRoute: typeof LayoutRouteImport
parentRoute: typeof rootRouteImport
}
'/auth': {
@@ -652,53 +652,39 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof AuthRouteImport
parentRoute: typeof rootRouteImport
}
- '/_layout': {
- id: '/_layout'
- path: ''
- fullPath: '/'
- preLoaderRoute: typeof LayoutRouteImport
- parentRoute: typeof rootRouteImport
- }
- '/': {
- id: '/'
- path: '/'
- fullPath: '/'
- preLoaderRoute: typeof IndexRouteImport
+ '/device': {
+ id: '/device'
+ path: '/device'
+ fullPath: '/device'
+ preLoaderRoute: typeof DeviceRouteImport
parentRoute: typeof rootRouteImport
}
- '/device/': {
- id: '/device/'
- path: '/'
- fullPath: '/device/'
- preLoaderRoute: typeof DeviceIndexRouteImport
- parentRoute: typeof DeviceRoute
- }
- '/public-project/$projectId': {
- id: '/public-project/$projectId'
- path: '/public-project/$projectId'
- fullPath: '/public-project/$projectId'
- preLoaderRoute: typeof PublicProjectProjectIdRouteImport
+ '/test-error': {
+ id: '/test-error'
+ path: '/test-error'
+ fullPath: '/test-error'
+ preLoaderRoute: typeof TestErrorRouteImport
parentRoute: typeof rootRouteImport
}
- '/mcp/authorize': {
- id: '/mcp/authorize'
- path: '/mcp/authorize'
- fullPath: '/mcp/authorize'
- preLoaderRoute: typeof McpAuthorizeRouteImport
- parentRoute: typeof rootRouteImport
+ '/_layout/_authenticated': {
+ id: '/_layout/_authenticated'
+ path: ''
+ fullPath: '/'
+ preLoaderRoute: typeof LayoutAuthenticatedRouteImport
+ parentRoute: typeof LayoutRoute
}
- '/device/approve': {
- id: '/device/approve'
- path: '/approve'
- fullPath: '/device/approve'
- preLoaderRoute: typeof DeviceApproveRouteImport
- parentRoute: typeof DeviceRoute
+ '/auth/check-email': {
+ id: '/auth/check-email'
+ path: '/check-email'
+ fullPath: '/auth/check-email'
+ preLoaderRoute: typeof AuthCheckEmailRouteImport
+ parentRoute: typeof AuthRoute
}
- '/auth/verify-otp': {
- id: '/auth/verify-otp'
- path: '/verify-otp'
- fullPath: '/auth/verify-otp'
- preLoaderRoute: typeof AuthVerifyOtpRouteImport
+ '/auth/sign-in': {
+ id: '/auth/sign-in'
+ path: '/sign-in'
+ fullPath: '/auth/sign-in'
+ preLoaderRoute: typeof AuthSignInRouteImport
parentRoute: typeof AuthRoute
}
'/auth/sign-up': {
@@ -708,39 +694,53 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof AuthSignUpRouteImport
parentRoute: typeof AuthRoute
}
- '/auth/sign-in': {
- id: '/auth/sign-in'
- path: '/sign-in'
- fullPath: '/auth/sign-in'
- preLoaderRoute: typeof AuthSignInRouteImport
+ '/auth/verify-otp': {
+ id: '/auth/verify-otp'
+ path: '/verify-otp'
+ fullPath: '/auth/verify-otp'
+ preLoaderRoute: typeof AuthVerifyOtpRouteImport
parentRoute: typeof AuthRoute
}
- '/auth/check-email': {
- id: '/auth/check-email'
- path: '/check-email'
- fullPath: '/auth/check-email'
- preLoaderRoute: typeof AuthCheckEmailRouteImport
- parentRoute: typeof AuthRoute
+ '/device/': {
+ id: '/device/'
+ path: '/'
+ fullPath: '/device/'
+ preLoaderRoute: typeof DeviceIndexRouteImport
+ parentRoute: typeof DeviceRoute
}
- '/_layout/_authenticated': {
- id: '/_layout/_authenticated'
- path: ''
- fullPath: '/'
- preLoaderRoute: typeof LayoutAuthenticatedRouteImport
- parentRoute: typeof LayoutRoute
+ '/device/approve': {
+ id: '/device/approve'
+ path: '/approve'
+ fullPath: '/device/approve'
+ preLoaderRoute: typeof DeviceApproveRouteImport
+ parentRoute: typeof DeviceRoute
}
- '/invitation/accept/$inviteId': {
- id: '/invitation/accept/$inviteId'
- path: '/invitation/accept/$inviteId'
- fullPath: '/invitation/accept/$inviteId'
- preLoaderRoute: typeof InvitationAcceptInviteIdRouteImport
+ '/mcp/authorize': {
+ id: '/mcp/authorize'
+ path: '/mcp/authorize'
+ fullPath: '/mcp/authorize'
+ preLoaderRoute: typeof McpAuthorizeRouteImport
+ parentRoute: typeof rootRouteImport
+ }
+ '/public-project/$projectId': {
+ id: '/public-project/$projectId'
+ path: '/public-project/$projectId'
+ fullPath: '/public-project/$projectId'
+ preLoaderRoute: typeof PublicProjectProjectIdRouteImport
parentRoute: typeof rootRouteImport
}
- '/_layout/_authenticated/profile-setup': {
- id: '/_layout/_authenticated/profile-setup'
- path: '/profile-setup'
- fullPath: '/profile-setup'
- preLoaderRoute: typeof LayoutAuthenticatedProfileSetupRouteImport
+ '/_layout/_authenticated/dashboard': {
+ id: '/_layout/_authenticated/dashboard'
+ path: '/dashboard'
+ fullPath: '/dashboard'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardRouteImport
+ parentRoute: typeof LayoutAuthenticatedRoute
+ }
+ '/_layout/_authenticated/invitations': {
+ id: '/_layout/_authenticated/invitations'
+ path: '/invitations'
+ fullPath: '/invitations'
+ preLoaderRoute: typeof LayoutAuthenticatedInvitationsRouteImport
parentRoute: typeof LayoutAuthenticatedRoute
}
'/_layout/_authenticated/onboarding': {
@@ -750,19 +750,19 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedOnboardingRouteImport
parentRoute: typeof LayoutAuthenticatedRoute
}
- '/_layout/_authenticated/invitations': {
- id: '/_layout/_authenticated/invitations'
- path: '/invitations'
- fullPath: '/invitations'
- preLoaderRoute: typeof LayoutAuthenticatedInvitationsRouteImport
+ '/_layout/_authenticated/profile-setup': {
+ id: '/_layout/_authenticated/profile-setup'
+ path: '/profile-setup'
+ fullPath: '/profile-setup'
+ preLoaderRoute: typeof LayoutAuthenticatedProfileSetupRouteImport
parentRoute: typeof LayoutAuthenticatedRoute
}
- '/_layout/_authenticated/dashboard': {
- id: '/_layout/_authenticated/dashboard'
- path: '/dashboard'
- fullPath: '/dashboard'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardRouteImport
- parentRoute: typeof LayoutAuthenticatedRoute
+ '/invitation/accept/$inviteId': {
+ id: '/invitation/accept/$inviteId'
+ path: '/invitation/accept/$inviteId'
+ fullPath: '/invitation/accept/$inviteId'
+ preLoaderRoute: typeof InvitationAcceptInviteIdRouteImport
+ parentRoute: typeof rootRouteImport
}
'/_layout/_authenticated/dashboard/': {
id: '/_layout/_authenticated/dashboard/'
@@ -771,13 +771,6 @@ declare module '@tanstack/react-router' {
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/invitations': {
id: '/_layout/_authenticated/dashboard/invitations'
path: '/invitations'
@@ -785,25 +778,18 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardInvitationsRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardRoute
}
- '/_layout/_authenticated/dashboard/workspace/create': {
- id: '/_layout/_authenticated/dashboard/workspace/create'
- path: '/workspace/create'
- fullPath: '/dashboard/workspace/create'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceCreateRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardRoute
- }
- '/_layout/_authenticated/dashboard/workspace/$workspaceId': {
- id: '/_layout/_authenticated/dashboard/workspace/$workspaceId'
- path: '/workspace/$workspaceId'
- fullPath: '/dashboard/workspace/$workspaceId'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport
+ '/_layout/_authenticated/dashboard/settings': {
+ id: '/_layout/_authenticated/dashboard/settings'
+ path: '/settings'
+ fullPath: '/dashboard/settings'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardRoute
}
- '/_layout/_authenticated/dashboard/settings/workspace': {
- id: '/_layout/_authenticated/dashboard/settings/workspace'
- path: '/workspace'
- fullPath: '/dashboard/settings/workspace'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport
+ '/_layout/_authenticated/dashboard/settings/account': {
+ id: '/_layout/_authenticated/dashboard/settings/account'
+ path: '/account'
+ fullPath: '/dashboard/settings/account'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsRoute
}
'/_layout/_authenticated/dashboard/settings/projects': {
@@ -813,39 +799,60 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsRoute
}
- '/_layout/_authenticated/dashboard/settings/account': {
- id: '/_layout/_authenticated/dashboard/settings/account'
- path: '/account'
- fullPath: '/dashboard/settings/account'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRouteImport
+ '/_layout/_authenticated/dashboard/settings/workspace': {
+ id: '/_layout/_authenticated/dashboard/settings/workspace'
+ path: '/workspace'
+ fullPath: '/dashboard/settings/workspace'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsRoute
}
- '/_layout/_authenticated/dashboard/workspace/$workspaceId/': {
- id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/'
- path: '/'
- fullPath: '/dashboard/workspace/$workspaceId/'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId'
+ path: '/workspace/$workspaceId'
+ fullPath: '/dashboard/workspace/$workspaceId'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardRoute
}
- '/_layout/_authenticated/dashboard/workspace/$workspaceId/search': {
- id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
- path: '/search'
- fullPath: '/dashboard/workspace/$workspaceId/search'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
+ '/_layout/_authenticated/dashboard/workspace/create': {
+ id: '/_layout/_authenticated/dashboard/workspace/create'
+ path: '/workspace/create'
+ fullPath: '/dashboard/workspace/create'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceCreateRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardRoute
}
- '/_layout/_authenticated/dashboard/workspace/$workspaceId/members': {
- id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/members'
- path: '/members'
- fullPath: '/dashboard/workspace/$workspaceId/members'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
+ '/_layout/_authenticated/dashboard/settings/account/developer': {
+ id: '/_layout/_authenticated/dashboard/settings/account/developer'
+ path: '/developer'
+ fullPath: '/dashboard/settings/account/developer'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountDeveloperRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
}
- '/_layout/_authenticated/dashboard/settings/workspace/roles': {
- id: '/_layout/_authenticated/dashboard/settings/workspace/roles'
- path: '/roles'
- fullPath: '/dashboard/settings/workspace/roles'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRolesRouteImport
+ '/_layout/_authenticated/dashboard/settings/account/information': {
+ id: '/_layout/_authenticated/dashboard/settings/account/information'
+ path: '/information'
+ fullPath: '/dashboard/settings/account/information'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
+ }
+ '/_layout/_authenticated/dashboard/settings/account/notifications': {
+ id: '/_layout/_authenticated/dashboard/settings/account/notifications'
+ path: '/notifications'
+ fullPath: '/dashboard/settings/account/notifications'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountNotificationsRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
+ }
+ '/_layout/_authenticated/dashboard/settings/account/preferences': {
+ id: '/_layout/_authenticated/dashboard/settings/account/preferences'
+ path: '/preferences'
+ fullPath: '/dashboard/settings/account/preferences'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
+ }
+ '/_layout/_authenticated/dashboard/settings/workspace/general': {
+ id: '/_layout/_authenticated/dashboard/settings/workspace/general'
+ path: '/general'
+ fullPath: '/dashboard/settings/workspace/general'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRoute
}
'/_layout/_authenticated/dashboard/settings/workspace/labels': {
@@ -855,46 +862,46 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceLabelsRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRoute
}
- '/_layout/_authenticated/dashboard/settings/workspace/general': {
- id: '/_layout/_authenticated/dashboard/settings/workspace/general'
- path: '/general'
- fullPath: '/dashboard/settings/workspace/general'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport
+ '/_layout/_authenticated/dashboard/settings/workspace/roles': {
+ id: '/_layout/_authenticated/dashboard/settings/workspace/roles'
+ path: '/roles'
+ fullPath: '/dashboard/settings/workspace/roles'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRolesRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRoute
}
- '/_layout/_authenticated/dashboard/settings/account/preferences': {
- id: '/_layout/_authenticated/dashboard/settings/account/preferences'
- path: '/preferences'
- fullPath: '/dashboard/settings/account/preferences'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/'
+ path: '/'
+ fullPath: '/dashboard/workspace/$workspaceId/'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/_layout/_authenticated/dashboard/settings/account/notifications': {
- id: '/_layout/_authenticated/dashboard/settings/account/notifications'
- path: '/notifications'
- fullPath: '/dashboard/settings/account/notifications'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountNotificationsRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/members': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/members'
+ path: '/members'
+ fullPath: '/dashboard/workspace/$workspaceId/members'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/_layout/_authenticated/dashboard/settings/account/information': {
- id: '/_layout/_authenticated/dashboard/settings/account/information'
- path: '/information'
- fullPath: '/dashboard/settings/account/information'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/search': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
+ path: '/search'
+ fullPath: '/dashboard/workspace/$workspaceId/search'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/_layout/_authenticated/dashboard/settings/account/developer': {
- id: '/_layout/_authenticated/dashboard/settings/account/developer'
- path: '/developer'
- fullPath: '/dashboard/settings/account/developer'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountDeveloperRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute
+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/general': {
+ id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/general'
+ path: '/$projectId/general'
+ fullPath: '/dashboard/settings/projects/$projectId/general'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute
}
- '/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow': {
- id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow'
- path: '/$projectId/workflow'
- fullPath: '/dashboard/settings/projects/$projectId/workflow'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRouteImport
+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations': {
+ id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'
+ path: '/$projectId/integrations'
+ fullPath: '/dashboard/settings/projects/$projectId/integrations'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute
}
'/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility': {
@@ -904,18 +911,11 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute
}
- '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations': {
- id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'
- path: '/$projectId/integrations'
- fullPath: '/dashboard/settings/projects/$projectId/integrations'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport
- parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute
- }
- '/_layout/_authenticated/dashboard/settings/projects/$projectId/general': {
- id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/general'
- path: '/$projectId/general'
- fullPath: '/dashboard/settings/projects/$projectId/general'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport
+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow': {
+ id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow'
+ path: '/$projectId/workflow'
+ fullPath: '/dashboard/settings/projects/$projectId/workflow'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdWorkflowRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute
}
'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/': {
@@ -925,11 +925,11 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt': {
- id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt'
- path: '/project/$projectId/gantt'
- fullPath: '/dashboard/workspace/$workspaceId/project/$projectId/gantt'
- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRouteImport
+ '/_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 LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board': {
@@ -939,11 +939,11 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
- '/_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 LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport
+ '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt': {
+ id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/gantt'
+ path: '/project/$projectId/gantt'
+ fullPath: '/dashboard/workspace/$workspaceId/project/$projectId/gantt'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdGanttRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute
}
'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_': {
diff --git a/tests/api-integration/label-detach.test.ts b/tests/api-integration/label-detach.test.ts
index afd98a716..740fc6237 100644
--- a/tests/api-integration/label-detach.test.ts
+++ b/tests/api-integration/label-detach.test.ts
@@ -1,8 +1,8 @@
import { and, eq } from "drizzle-orm";
import { beforeEach, describe, expect, it } from "vitest";
import db, { schema } from "../../apps/api/src/database";
-import { createApp } from "../../apps/api/src/index";
import { subscribeToEvent } from "../../apps/api/src/events";
+import { createApp } from "../../apps/api/src/index";
import { mockAuthenticatedSession } from "./helpers/auth";
import { resetTestDatabase } from "./helpers/database";
import {
@@ -60,7 +60,11 @@ describe("API integration: label detach/attach", () => {
const { project } = await createProjectFixture({
workspaceId: member.workspace.id,
});
- const [task] = await seedTask(member.user.id, member.workspace.id, project.id);
+ const [task] = await seedTask(
+ member.user.id,
+ member.workspace.id,
+ project.id,
+ );
const [workspaceLabel] = await db
.insert(schema.labelTable)
@@ -95,7 +99,11 @@ describe("API integration: label detach/attach", () => {
const { project } = await createProjectFixture({
workspaceId: member.workspace.id,
});
- const [task] = await seedTask(member.user.id, member.workspace.id, project.id);
+ const [task] = await seedTask(
+ member.user.id,
+ member.workspace.id,
+ project.id,
+ );
mockAuthenticatedSession(member.user);
const { app } = createApp();
@@ -145,7 +153,11 @@ describe("API integration: label detach/attach", () => {
const { project } = await createProjectFixture({
workspaceId: member.workspace.id,
});
- const [task] = await seedTask(member.user.id, member.workspace.id, project.id);
+ const [task] = await seedTask(
+ member.user.id,
+ member.workspace.id,
+ project.id,
+ );
const [label] = await db
.insert(schema.labelTable)
@@ -189,7 +201,11 @@ describe("API integration: label detach/attach", () => {
const { project } = await createProjectFixture({
workspaceId: member.workspace.id,
});
- const [task] = await seedTask(member.user.id, member.workspace.id, project.id);
+ const [task] = await seedTask(
+ member.user.id,
+ member.workspace.id,
+ project.id,
+ );
const [workspaceLabel] = await db
.insert(schema.labelTable)
@@ -214,10 +230,9 @@ describe("API integration: label detach/attach", () => {
mockAuthenticatedSession(member.user);
const { app } = createApp();
- const detachResponse = await app.request(
- `/api/label/${taskCopy.id}/task`,
- { method: "DELETE" },
- );
+ const detachResponse = await app.request(`/api/label/${taskCopy.id}/task`, {
+ method: "DELETE",
+ });
expect(detachResponse.status).toBe(200);
const remaining = await db.query.labelTable.findMany({
@@ -233,7 +248,11 @@ describe("API integration: label detach/attach", () => {
const { project } = await createProjectFixture({
workspaceId: member.workspace.id,
});
- const [task] = await seedTask(member.user.id, member.workspace.id, project.id);
+ const [task] = await seedTask(
+ member.user.id,
+ member.workspace.id,
+ project.id,
+ );
const [workspaceLabel] = await db
.insert(schema.labelTable)
@@ -258,10 +277,9 @@ describe("API integration: label detach/attach", () => {
mockAuthenticatedSession(member.user);
const { app } = createApp();
- const detachResponse = await app.request(
- `/api/label/${taskCopy.id}/task`,
- { method: "DELETE" },
- );
+ const detachResponse = await app.request(`/api/label/${taskCopy.id}/task`, {
+ method: "DELETE",
+ });
expect(detachResponse.status).toBe(200);
const workspaceRows = await db.query.labelTable.findMany({
@@ -275,14 +293,12 @@ describe("API integration: label detach/attach", () => {
expect(workspaceDefinitions[0].id).toBe(workspaceLabel.id);
await expect(
- db
- .insert(schema.labelTable)
- .values({
- name: "Bug",
- color: "#ef4444",
- workspaceId: member.workspace.id,
- taskId: task.id,
- }),
+ db.insert(schema.labelTable).values({
+ name: "Bug",
+ color: "#ef4444",
+ workspaceId: member.workspace.id,
+ taskId: task.id,
+ }),
).resolves.toBeDefined();
});
@@ -291,7 +307,11 @@ describe("API integration: label detach/attach", () => {
const { project } = await createProjectFixture({
workspaceId: member.workspace.id,
});
- const [task] = await seedTask(member.user.id, member.workspace.id, project.id);
+ const [task] = await seedTask(
+ member.user.id,
+ member.workspace.id,
+ project.id,
+ );
const [label] = await db
.insert(schema.labelTable)
diff --git a/tests/api/github-integration/verify-github-installation.test.ts b/tests/api/github-integration/verify-github-installation.test.ts
index 20e9f740a..8b26ee7c8 100644
--- a/tests/api/github-integration/verify-github-installation.test.ts
+++ b/tests/api/github-integration/verify-github-installation.test.ts
@@ -1,12 +1,5 @@
-import {
- afterEach,
- beforeEach,
- describe,
- expect,
- it,
- vi,
-} from "vitest";
import * as v from "valibot";
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
const mockGetRepoInstallation = vi.fn();
const mockReposGet = vi.fn();
diff --git a/tests/api/label/assign-and-unassign-label.test.ts b/tests/api/label/assign-and-unassign-label.test.ts
index d07e1e30c..579ef782a 100644
--- a/tests/api/label/assign-and-unassign-label.test.ts
+++ b/tests/api/label/assign-and-unassign-label.test.ts
@@ -53,8 +53,8 @@ vi.mock(
}),
);
-import unassignLabelFromTask from "../../../apps/api/src/label/controllers/unassign-label-from-task";
import assignLabelToTask from "../../../apps/api/src/label/controllers/assign-label-to-task";
+import unassignLabelFromTask from "../../../apps/api/src/label/controllers/unassign-label-from-task";
const WORKSPACE_LABEL = {
id: "label-ws-1",
@@ -152,11 +152,11 @@ describe("unassignLabelFromTask", () => {
it("rejects when the label is a workspace definition (taskId is null)", async () => {
mockFindFirst.mockResolvedValue(WORKSPACE_LABEL);
- await expect(unassignLabelFromTask("label-ws-1", "user-1")).rejects.toMatchObject(
- {
- status: 400,
- },
- );
+ await expect(
+ unassignLabelFromTask("label-ws-1", "user-1"),
+ ).rejects.toMatchObject({
+ status: 400,
+ });
expect(mockDelete).not.toHaveBeenCalled();
expect(mockPublishEvent).not.toHaveBeenCalled();
});