<?php

namespace SEOAIC\collections\prompt_data;

use SEOAIC\last_used_prompts\PostsMassEditLastUsedPrompts;

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

        $this->promptsTemplates = $SEOAIC_OPTIONS['seoaic_posts_mass_edit_prompt_templates'] ?? [];
        $this->promptsLastUsed = (new PostsMassEditLastUsedPrompts())->getAll();
        $this->saveTemplateAction = 'seoaic_posts_mass_edit_save_prompt_template';
        $this->deleteTemplateAction = 'seoaic_posts_mass_edit_delete_prompt_template';
        $this->deleteLastUsedAction = 'seoaic_posts_mass_edit_delete_last_prompt';
    }
}
