151 lines
5.7 KiB
PHP
151 lines
5.7 KiB
PHP
<?php
|
|
/**
|
|
* ==========================
|
|
* 🔐 IGNY8 FILE RULE HEADER
|
|
* ==========================
|
|
* @file : import-export-config.php
|
|
* @location : /modules/config/import-export-config.php
|
|
* @type : Config Array
|
|
* @scope : Global
|
|
* @allowed : Import/export definitions, file handling configurations
|
|
* @reusability : Globally Reusable
|
|
* @notes : Central import/export configuration for all modules
|
|
*/
|
|
|
|
// Prevent direct access
|
|
if (!defined('ABSPATH') && !defined('IGNY8_INCLUDE_CONFIG')) {
|
|
exit;
|
|
}
|
|
|
|
return [
|
|
// PLANNER MODULE (4 submodules)
|
|
'planner_keywords' => [
|
|
'type' => 'keywords',
|
|
'singular' => 'Keyword',
|
|
'plural' => 'Keywords',
|
|
'template_file' => 'igny8_keywords_template.csv',
|
|
'columns' => ['keyword', 'search_volume', 'difficulty', 'cpc', 'intent', 'status', 'sector_id', 'cluster_id'],
|
|
'required_fields' => ['keyword']
|
|
],
|
|
'planner_clusters' => [
|
|
'type' => 'clusters',
|
|
'singular' => 'Cluster',
|
|
'plural' => 'Clusters',
|
|
'template_file' => 'igny8_clusters_template.csv',
|
|
'columns' => ['cluster_name', 'sector_id', 'status', 'keyword_count', 'total_volume', 'avg_difficulty', 'mapped_pages_count'],
|
|
'required_fields' => ['cluster_name']
|
|
],
|
|
'planner_ideas' => [
|
|
'type' => 'ideas',
|
|
'singular' => 'Idea',
|
|
'plural' => 'Ideas',
|
|
'template_file' => 'igny8_ideas_template.csv',
|
|
'columns' => ['idea_title', 'idea_description', 'content_structure', 'content_type', 'keyword_cluster_id', 'target_keywords', 'status', 'estimated_word_count'],
|
|
'required_fields' => ['idea_title']
|
|
],
|
|
|
|
// WRITER MODULE (3 submodules)
|
|
'writer_tasks' => [
|
|
'type' => 'tasks',
|
|
'singular' => 'Task',
|
|
'plural' => 'Tasks',
|
|
'template_file' => 'igny8_tasks_template.csv',
|
|
'columns' => ['title', 'description', 'content_type', 'cluster_id', 'priority', 'status', 'keywords', 'schedule_at'],
|
|
'required_fields' => ['title']
|
|
],
|
|
'writer_drafts' => [
|
|
'type' => 'tasks',
|
|
'singular' => 'Draft',
|
|
'plural' => 'Drafts',
|
|
'template_file' => 'igny8_tasks_template.csv',
|
|
'columns' => ['title', 'description', 'content_type', 'cluster_id', 'status', 'assigned_post_id'],
|
|
'required_fields' => ['title']
|
|
],
|
|
'writer_published' => [
|
|
'type' => 'tasks',
|
|
'singular' => 'Published Content',
|
|
'plural' => 'Published Content',
|
|
'template_file' => 'igny8_tasks_template.csv',
|
|
'columns' => ['title', 'description', 'content_type', 'cluster_id', 'status', 'assigned_post_id'],
|
|
'required_fields' => ['title']
|
|
],
|
|
'writer_templates' => [
|
|
'type' => 'templates',
|
|
'singular' => 'Template',
|
|
'plural' => 'Templates',
|
|
'template_file' => 'igny8_templates_template.csv',
|
|
'columns' => ['template_name', 'prompt_type', 'system_prompt', 'user_prompt', 'is_active'],
|
|
'required_fields' => ['template_name']
|
|
],
|
|
|
|
// OPTIMIZER MODULE (2 submodules)
|
|
'optimizer_audits' => [
|
|
'type' => 'audits',
|
|
'singular' => 'Audit',
|
|
'plural' => 'Audits',
|
|
'template_file' => 'igny8_audits_template.csv',
|
|
'columns' => ['page_id', 'audit_status', 'seo_score', 'issues_found', 'recommendations'],
|
|
'required_fields' => ['page_id']
|
|
],
|
|
'optimizer_suggestions' => [
|
|
'type' => 'suggestions',
|
|
'singular' => 'Suggestion',
|
|
'plural' => 'Suggestions',
|
|
'template_file' => 'igny8_suggestions_template.csv',
|
|
'columns' => ['audit_id', 'suggestion_type', 'priority', 'status', 'impact_level'],
|
|
'required_fields' => ['audit_id']
|
|
],
|
|
|
|
// LINKER MODULE (2 submodules)
|
|
'linker_backlinks' => [
|
|
'type' => 'backlinks',
|
|
'singular' => 'Backlink',
|
|
'plural' => 'Backlinks',
|
|
'template_file' => 'igny8_backlinks_template.csv',
|
|
'columns' => ['source_url', 'target_url', 'anchor_text', 'domain_authority', 'link_type', 'status'],
|
|
'required_fields' => ['source_url', 'target_url']
|
|
],
|
|
'linker_campaigns' => [
|
|
'type' => 'campaigns',
|
|
'singular' => 'Campaign',
|
|
'plural' => 'Campaigns',
|
|
'template_file' => 'igny8_campaigns_template.csv',
|
|
'columns' => ['campaign_name', 'target_url', 'status', 'backlink_count', 'live_links_count'],
|
|
'required_fields' => ['campaign_name']
|
|
],
|
|
|
|
// PERSONALIZE MODULE (4 submodules)
|
|
'personalize_rewrites' => [
|
|
'type' => 'rewrites',
|
|
'singular' => 'Rewrite',
|
|
'plural' => 'Rewrites',
|
|
'template_file' => 'igny8_rewrites_template.csv',
|
|
'columns' => ['post_id', 'tone_id', 'variation_content', 'created_at'],
|
|
'required_fields' => ['post_id']
|
|
],
|
|
'personalize_tones' => [
|
|
'type' => 'tones',
|
|
'singular' => 'Tone',
|
|
'plural' => 'Tones',
|
|
'template_file' => 'igny8_tones_template.csv',
|
|
'columns' => ['tone_name', 'tone_type', 'description', 'status', 'usage_count'],
|
|
'required_fields' => ['tone_name']
|
|
],
|
|
'personalize_data' => [
|
|
'type' => 'personalization_data',
|
|
'singular' => 'Data Entry',
|
|
'plural' => 'Data Entries',
|
|
'template_file' => 'igny8_personalization_data_template.csv',
|
|
'columns' => ['data_key', 'data_value', 'data_type', 'created_at'],
|
|
'required_fields' => ['data_key']
|
|
],
|
|
'personalize_variations' => [
|
|
'type' => 'variations',
|
|
'singular' => 'Variation',
|
|
'plural' => 'Variations',
|
|
'template_file' => 'igny8_variations_template.csv',
|
|
'columns' => ['post_id', 'field_name', 'variation_content', 'tone_id'],
|
|
'required_fields' => ['post_id', 'field_name']
|
|
]
|
|
];
|