<?php

namespace SEOAIC\collections\prompt_data;

use SEOAIC\last_used_prompts\PostsMassGenerateLastUsedPrompts;

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

        $this->promptsTemplates = $SEOAIC_OPTIONS['seoaic_posts_mass_generate_prompt_templates'] ?? [];
        $this->promptsLastUsed = (new PostsMassGenerateLastUsedPrompts())->getAll();
        $this->saveTemplateAction = 'seoaic_posts_mass_generate_save_prompt_template';
        $this->deleteTemplateAction = 'seoaic_posts_mass_generate_delete_prompt_template';
        $this->deleteLastUsedAction = 'seoaic_posts_mass_generate_delete_last_prompt';
    }
}
