<?php

namespace SEOAIC\collections\prompt_data;

use SEOAIC\last_used_prompts\KeywordsGenerateLastUsedPrompts;

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

        $this->promptsTemplates = $SEOAIC_OPTIONS['seoaic_keywords_generate_prompt_templates'] ?? [];
        $this->promptsLastUsed = (new KeywordsGenerateLastUsedPrompts())->getAll();
        $this->saveTemplateAction = 'seoaic_keywords_generate_save_prompt_template';
        $this->deleteTemplateAction = 'seoaic_keywords_generate_delete_prompt_template';
        $this->deleteLastUsedAction = 'seoaic_keywords_generate_delete_last_prompt';
    }
}
