import type { Route } from './+types/route'

import { workspaceMiddleware } from '@/middleware/workspace'
import { authMiddleware } from '@repo/auth/middleware/auth'

export const middleware: Route.MiddlewareFunction[] = [
  authMiddleware,
  workspaceMiddleware
]

export async function loader({}: Route.ActionArgs) {
  return {}
}
