<?php

/**
 * Main API file for article status
 * 
 * @package ContentCraftAI
 */

if (!defined('ABSPATH')) {
  exit; // Exit if accessed directly
}

/**
 * This file depends on WordPress core functionality.
 * The following constants and types are defined by WordPress and will be available at runtime:
 * - CONTENT_CRAFT_AI_PLUGIN_PATH: Plugin path constant defined in the main plugin file
 */

// Load controllers
require_once CONTENT_CRAFT_AI_PLUGIN_PATH . 'app/controllers/article-status/ArticleStatusController.php';

// Load API handlers
require_once CONTENT_CRAFT_AI_PLUGIN_PATH . 'app/api/article-status/get-generations.php';
require_once CONTENT_CRAFT_AI_PLUGIN_PATH . 'app/api/article-status/cancel-generation.php';
require_once CONTENT_CRAFT_AI_PLUGIN_PATH . 'app/api/article-status/restart-generation.php';
require_once CONTENT_CRAFT_AI_PLUGIN_PATH . 'app/api/article-status/edit-scheduled-article.php';

// Load route definitions
require_once CONTENT_CRAFT_AI_PLUGIN_PATH . 'app/api/article-status/routes.php';
