<?php
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

/**
 * Central configuration for all Custom Post Type modules.
 * This single array is used by both the settings page and the conditional file loader.
 *
 * - 'label': The user-friendly name for the settings page.
 * - 'icon': The Dashicon to display.
 * - 'enabled': Default enabled/disabled status (default: false). Can be toggled via WordPress admin.
 * - 'pro_only': Whether this module requires Pro version (default: false). If true, only Pro users can enable.
 * - 'files': An array of file paths to include when this module is active.
 * - 'classes': An array of class names to instantiate after the files are included.
 */
return [
    'team'      => [ 
        'label'   => 'Team', 
        'icon'    => 'dashicons-groups',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/member/class-cpt.php', 'post-type/member/class-team-archive-render.php', 'post-type/member/class-member-render.php'],
        'classes' => ['Sifency_Team_Archive_Render', 'Sifency_Team_Single_Render'],
    ],
    'service'   => [ 
        'label'   => 'Services', 
        'icon'    => 'dashicons-admin-tools',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/service/class-cpt.php', 'post-type/service/class-service-archive-render.php', 'post-type/service/class-service-render.php'],
        'classes' => ['Sifency_Service_Archive_Render', 'Sifency_Services_Single_Render'],
    ],
    'portfolio' => [ 
        'label'   => 'Portfolio', 
        'icon'    => 'dashicons-portfolio',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/portfolio/class-cpt.php', 'post-type/portfolio/class-portfolio-archive-render.php', 'post-type/portfolio/class-portfolio-render.php'],
        'classes' => ['Sifency_Portfolio_Archive_Render', 'Sifency_Portfolio_Single_Render'],
    ],
    'event'     => [ 
        'label'   => 'Events', 
        'icon'    => 'dashicons-calendar-alt',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/event/class-cpt.php', 'post-type/event/class-event-archive-render.php', 'post-type/event/class-event-render.php'],
        'classes' => ['Sifency_Event_Archive_Render'],
    ],
    'career'    => [ 
        'label'   => 'Career', 
        'icon'    => 'dashicons-businessman',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/career/class-cpt.php', 'post-type/career/class-career-archive-render.php', 'post-type/career/class-career-render.php'],
        'classes' => ['Sifency_Career_Archive_Render'],
    ],
    'doc'       => [ 
        'label'   => 'Documentation', 
        'icon'    => 'dashicons-media-document',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/doc/class-cpt.php', 'post-type/doc/class-doc-archive-render.php', 'post-type/doc/class-doc-render.php'],
        'classes' => ['Sifency_Documentation_Archive_Render', 'Sifency_Documentation_Single_Render'],
    ],
    'blog'      => [ 
        'label'   => 'Blog / Post', 
        'icon'    => 'dashicons-admin-post',
        'enabled' => true,
        'pro_only' => false,
        'files'   => ['post-type/blog/class-blog-archive-render.php', 'post-type/blog/class-post-render.php'],
        'classes' => ['Sifency_Blog_Archive_Render', 'Sifency_Blog_Single_Render'],
    ],
    'edd'       => [ 
        'label'   => 'Easy Digital Downloads', 
        'icon'    => 'dashicons-download',
        'enabled' => true,
        'pro_only' => true,
        'files'   => ['post-type/edd/class-edd-archive-render.php', 'post-type/edd/class-edd-render.php'],
        'classes' => [],
    ],
    'shop'      => [ 
        'label'   => 'WooCommerce / Shop', 
        'icon'    => 'dashicons-cart',
        'enabled' => true,
        'pro_only' => true,
        'files'   => ['post-type/shop/class-shop-render.php', 'post-type/shop/class-product-render.php'],
        'classes' => ['Sifency_Shop_Page_Render', 'Sifency_Single_Product_Render'],
    ],
    'digital'      => [ 
        'label'   => 'Digital Goods', 
        'icon'    => 'dashicons-media-archive',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/digital/class-digital-render.php', 'post-type/digital/class-digital-archive-render.php', 'post-type/digital/class-cpt.php'],
        'classes' => ['Sifency_Digital_Archive_Render', 'Sifency_Digital_Single_Render'],
    ],
    'award'      => [ 
        'label'   => 'Award', 
        'icon'    => 'dashicons-star-filled',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/award/class-cpt.php'],
        'classes' => [],
    ],
    'client'      => [ 
        'label'   => 'Client', 
        'icon'    => 'dashicons-admin-users',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/client/class-cpt.php'],
        'classes' => [],
    ],
    'testimonial'      => [ 
        'label'   => 'Testimonial', 
        'icon'    => 'dashicons-admin-users',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/testimonial/class-cpt.php'],
        'classes' => [],
    ],
    'restaurant-menu'      => [ 
        'label'   => 'Restaurant Menu', 
        'icon'    => 'dashicons-list-view',
        'enabled' => false,
        'pro_only' => true,
        'files'   => ['post-type/restaurant-menu/class-cpt.php'],
        'classes' => [],
    ],
];