<?php

namespace SEOAIC\collections\prompt_data;

use SEOAIC\last_used_prompts\IdeasGenerateLastUsedPrompts;

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

        $this->promptsTemplates = $SEOAIC_OPTIONS['seoaic_ideas_generate_prompt_templates'] ?? [];
        $this->promptsLastUsed = (new IdeasGenerateLastUsedPrompts())->getAll();
        $this->saveTemplateAction = 'seoaic_ideas_generate_save_prompt_template';
        $this->deleteTemplateAction = 'seoaic_ideas_generate_delete_prompt_template';
        $this->deleteLastUsedAction = 'seoaic_ideas_generate_delete_last_prompt';
    }
}
