<?php

namespace SEOAIC\collections\prompt_data;

use SEOAIC\last_used_prompts\PostsMassReviewLastUsedPrompts;

class PostsMassReviewPromptDataCollection extends AbstractPromptDataCollection
{
    public function __construct()
    {
        global $SEOAIC_OPTIONS;

        $this->promptsTemplates = $SEOAIC_OPTIONS['seoaic_posts_mass_review_prompt_templates'] ?? [];
        $this->promptsLastUsed = (new PostsMassReviewLastUsedPrompts())->getAll();
        $this->saveTemplateAction = 'seoaic_posts_mass_review_save_prompt_template';
        $this->deleteTemplateAction = 'seoaic_posts_mass_review_delete_prompt_template';
        $this->deleteLastUsedAction = 'seoaic_posts_mass_review_delete_last_prompt';
    }
}
