'use client';

import React from 'react';
import SmartAuthDashboardShell from '@/components/layout/SmartAuthDashboardShell';
import { apiUserNav } from '@/components/navigation/navConfigs';

export default function ApiUserDashboardLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <SmartAuthDashboardShell
      navItems={apiUserNav}
      roleTitle="API User"
      allowedRoles={['API_USER', 'ADMIN', 'SUPER_ADMIN']}
      brandHref="/api-dashboard"
      profilePath="/api-dashboard/profile"
      settingsPath="/api-dashboard/settings"
    >
      {children}
    </SmartAuthDashboardShell>
  );
}
