trypost/app/Enums/Post/CreatedVia.php
Paulo Castellano 06f83a6571 Track post creation origin via created_via.
Persist whether a post was created through web, MCP, API, or automation so we can attribute entry points without guessing from request context.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-24 11:19:01 -03:00

13 lines
190 B
PHP

<?php
declare(strict_types=1);
namespace App\Enums\Post;
enum CreatedVia: string
{
case Web = 'web';
case Mcp = 'mcp';
case Api = 'api';
case Automation = 'automation';
}