import { FormFieldType } from '@/shared/types/common';
import { ROLE_PERMISSIONS } from '@/shared/_mock/_roles';
import { ModuleFormData } from '@/shared/types/ModuleFormData';



export const moduleFormFields: FormFieldType<ModuleFormData>[] = [
  {
    name: 'module',
    label: 'Module',
    type: 'select',
    placeholder: 'Sélectionner un module',
    required: true,
    options: [], // Will be populated from menuItems
  },
  {
    name: 'permissions',
    label: 'Permissions',
    type: 'multiple',
    placeholder: 'Sélectionner les permissions',
    required: true,
    options: ROLE_PERMISSIONS,
  },
  
];