<?php
declare(strict_types=1);

namespace KbMarkdownImporter;

final class Settings
{
    public static function defaults(): array
    {
        return [
            'gitlab_base_url' => '',
            'gitlab_token' => '',
            'gitlab_group' => 'knowledgebase',
            'branch_pattern' => '^v.*',
            'docs_base_slug' => 'docs',
            'image_lightbox' => '1',
            'public_docs' => '0',
            'cron_interval' => 'disabled',
            'allow_svg' => '0',
            'design_theme' => 'obyte',
            'design_primary_color' => '#00A7E6',
            'design_accent_color' => '#F59C00',
            'design_radius' => '14',
            'custom_theme_css_url' => '',
            'docs_home_intro_title' => 'So nutzt du die Dokumentation',
            'docs_home_intro_content' => '<p>Wähle links ein Produkt aus und öffne anschließend die passende Version. Innerhalb einer Version findest du die zugehörigen Seiten der Dokumentation in der Navigation.</p>',
            'product_updates_source' => 'rss',
            'product_updates_feed_url' => '',
            'product_updates_feed_limit' => '5',
            'product_updates_feed_item_path' => 'channel/item',
            'product_updates_feed_product_field' => 'title',
            'product_updates_feed_version_field' => 'category',
            'product_updates_feed_date_field' => 'pubDate',
            'product_updates_feed_changelog_field' => 'description',
            'product_updates_rest_url' => '',
            'product_updates_rest_list_path' => 'content,data,items',
            'product_updates_rest_product_field' => 'product.name,productName,name',
            'product_updates_rest_version_field' => 'version,versionName,name',
            'product_updates_rest_date_field' => 'releaseDate,date,updatedAt,createdAt',
            'product_updates_rest_changelog_field' => 'changelog,changeLog,description,changes',
        ];
    }
}
