import { createFileRoute } from '@tanstack/react-router'
import { requirePermission } from '@/lib/permissions'
import { ThirdPartySettingsPage } from '@/features/third-party/third-party-settings-page'

export const Route = createFileRoute('/_authenticated/system/third-party')({
  beforeLoad: () => requirePermission('admin/third-party', 'read'),
  component: ThirdPartySettingsPage,
})
