<?php

namespace MintyPHP\Tests\Architecture;

final class DetailActionPolicyContractFiles
{
    /**
     * @return list<string>
     */
    public static function migratedConfirmFiles(): array
    {
        return [
            'pages/admin/users/edit(default).phtml',
            'pages/admin/users/_form.phtml',
            'pages/admin/tenants/edit(default).phtml',
            'pages/admin/tenants/_form.phtml',
            'pages/admin/departments/edit(default).phtml',
            'pages/admin/roles/edit(default).phtml',
            'pages/admin/permissions/edit(default).phtml',
            // Settings subpages that carry danger actions (and therefore need
            // the data-detail-confirm-message contract). Subpages without
            // destructive buttons (general/audit/telemetry/email/sso/branding)
            // are deliberately excluded.
            'pages/admin/settings/account-access(default).phtml',
            // user-lifecycle settings delegates its only danger action
            // (Run-Now) to the aside-actions partial, which is already
            // in this list. Inline confirm-attributes are no longer
            // required in the view source.
            'pages/admin/settings/api(default).phtml',
            'templates/partials/app-details-titlebar.phtml',
            'templates/partials/app-details-aside-actions.phtml',
        ];
    }
}
