<?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.
 * - 'sync_cpt': 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 array(
	'team'            => array(
		'label'    => 'Team',
		'icon'     => 'dashicons-groups',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/member/class-cpt.php', 'post-type/member/class-team-archive-render.php', 'post-type/member/class-member-render.php' ),
		'classes'  => array( 'Sifency_Team_Archive_Render', 'Sifency_Team_Single_Render' ),
		'tooltip'  => '👉 Create and manage team members with custom layouts and profiles.',
	),
	'service'         => array(
		'label'    => 'Services',
		'icon'     => 'dashicons-admin-tools',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/service/class-cpt.php', 'post-type/service/class-service-archive-render.php', 'post-type/service/class-service-render.php' ),
		'classes'  => array( 'Sifency_Service_Archive_Render', 'Sifency_Services_Single_Render' ),
		'tooltip'  => '👉 Add and display services with custom designs and detailed information.',
	),
	'portfolio'       => array(
		'label'    => 'Portfolio',
		'icon'     => 'dashicons-portfolio',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/portfolio/class-cpt.php', 'post-type/portfolio/class-portfolio-archive-render.php', 'post-type/portfolio/class-portfolio-render.php' ),
		'classes'  => array( 'Sifency_Portfolio_Archive_Render', 'Sifency_Portfolio_Single_Render' ),
		'tooltip'  => '👉 Showcase your projects and works with flexible layouts.',
	),
	'event'           => array(
		'label'    => 'Events',
		'icon'     => 'dashicons-calendar-alt',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/event/class-cpt.php', 'post-type/event/class-event-archive-render.php', 'post-type/event/class-event-render.php' ),
		'classes'  => array( 'Sifency_Event_Archive_Render' ),
		'tooltip'  => '👉 Manage events with dates, details, and custom layouts.',
	),
	'career'          => array(
		'label'    => 'Career',
		'icon'     => 'dashicons-businessman',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/career/class-cpt.php', 'post-type/career/class-career-archive-render.php', 'post-type/career/class-career-render.php' ),
		'classes'  => array( 'Sifency_Addons_TB_Career_Archive_Render' ),
		'tooltip'  => '👉 Create job listings and career opportunities for your website.',
	),
	'doc'             => array(
		'label'    => 'Documentation',
		'icon'     => 'dashicons-media-document',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/doc/class-cpt.php', 'post-type/doc/class-doc-archive-render.php', 'post-type/doc/class-doc-render.php' ),
		'classes'  => array( 'Sifency_Documentation_Archive_Render', 'Sifency_Documentation_Single_Render' ),
		'tooltip'  => '👉 Build structured documentation with organized pages and sections.',
	),
	'blog'            => array(
		'label'    => 'Blog / Post',
		'icon'     => 'dashicons-admin-post',
		'enabled'  => true,
		'sync_cpt' => false,
		'files'    => array( 'post-type/blog/class-blog-archive-render.php', 'post-type/blog/class-post-render.php' ),
		'classes'  => array( 'Sifency_Addons_Blog_Archive_Render', 'Sifency_Addons_TB_Blog_Single_Render' ),
		'tooltip'  => '👉 Control blog and post layouts using the theme builder.',
	),
	'edd'             => array(
		'label'    => 'Easy Digital Downloads',
		'icon'     => 'dashicons-download',
		'enabled'  => true,
		'sync_cpt' => true,
		'files'    => array( 'post-type/edd/class-edd-archive-render.php', 'post-type/edd/class-edd-render.php' ),
		'classes'  => array(),
		'tooltip'  => '👉 Design and customize EDD archive and single product pages.',
	),
	'shop'            => array(
		'label'    => 'WooCommerce / Shop',
		'icon'     => 'dashicons-cart',
		'enabled'  => true,
		'sync_cpt' => true,
		'files'    => array( 'post-type/shop/class-shop-render.php', 'post-type/shop/class-product-render.php' ),
		'classes'  => array( 'Sifency_Shop_Page_Render', 'Sifency_Single_Product_Render' ),
		'tooltip'  => '👉 Customize shop and product pages with advanced layouts.',
	),
	'digital'         => array(
		'label'    => 'Digital Goods',
		'icon'     => 'dashicons-media-archive',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/digital/class-digital-render.php', 'post-type/digital/class-digital-archive-render.php', 'post-type/digital/class-cpt.php' ),
		'classes'  => array( 'Sifency_Digital_Archive_Render', 'Sifency_Digital_Single_Render' ),
		'tooltip'  => '👉 Manage and display digital products with custom templates.',
	),
	'award'           => array(
		'label'    => 'Award',
		'icon'     => 'dashicons-star-filled',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/award/class-cpt.php' ),
		'classes'  => array(),
		'tooltip'  => '👉 Show awards, achievements, and recognitions.',
	),
	'client'          => array(
		'label'    => 'Client',
		'icon'     => 'dashicons-admin-users',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/client/class-cpt.php' ),
		'classes'  => array(),
		'tooltip'  => '👉 Manage client information and brand showcases.',
	),
	'stack'           => array(
		'label'    => 'Stack',
		'icon'     => 'dashicons-admin-tools',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/stack/class-cpt.php' ),
		'classes'  => array(),
		'tooltip'  => '👉 Manage client information and brand showcases.',
	),
	'testimonial'     => array(
		'label'    => 'Testimonial',
		'icon'     => 'dashicons-admin-users',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/testimonial/class-cpt.php' ),
		'classes'  => array(),
		'tooltip'  => '👉 Display customer reviews and feedback.',
	),
	'restaurant-menu' => array(
		'label'    => 'Restaurant Menu',
		'icon'     => 'dashicons-list-view',
		'enabled'  => false,
		'sync_cpt' => true,
		'files'    => array( 'post-type/restaurant-menu/class-cpt.php' ),
		'classes'  => array(),
		'tooltip'  => '👉 Create and manage restaurant menus with items and categories.',
	),
);
