<?php

declare(strict_types=1);

namespace Maestro\Core\Support;

/**
 * Known B2CDataTable {@code tableKey} values used for persistence / superadmin reset.
 * Extend when new server-persisted tables are added to the SPA.
 */
final class KnownTableStateKeys
{
    public const TABLE_KEYS = [
        'settings.users',
        'settings.roles',
        'settings.activity-log',
    ];

    public static function isKnown(string $key): bool
    {
        return in_array($key, self::TABLE_KEYS, true);
    }
}
