Files
wp-donations/includes/Overlay/RecentDonationsSource.php
shadowdaoandClaude Sonnet 5.5 f7ff1dc717
Test and Release / test (push) Successful in 1m10s
Test and Release / release (push) Successful in 5s
Alerts overlay: show messages approved after later donations (recent mode with client-side dedupe)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 12:26:03 -08:00

16 lines
376 B
PHP

<?php
declare( strict_types=1 );
namespace StreamGoals\Overlay;
/** Optional capability: the newest approved donations, independent of any client cursor. */
interface RecentDonationsSource {
/**
* The $limit newest completed + approved donations, ascending id.
*
* @return array<int,array<string,mixed>>
*/
public function recentDonations( int $limit ): array;
}