OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace Leantime\Domain\Tickets\Htmx;
use Leantime\Core\Events\Htmx\HtmxEvent;
use Leantime\Core\Events\Htmx\InteractsWithHtmxEvents;
/**
* Client (HTMX) data events for the Tickets domain.
*
* Naming follows the lt:{domain}:{entity}.{verb} convention. Legacy values ('ticket_update',
* 'subtasks_update', 'subtasksUpdated') are dual-emitted via {@see \Leantime\Core\Events\Htmx\HtmxEvents}
* during the migration window so existing listeners keep working.
*/
enum HtmxTicketEvents: string implements HtmxEvent
{
use InteractsWithHtmxEvents;
/** One or more tickets have been updated. */
case UPDATE = 'lt:tickets:ticket.updated';
/** A ticket's subtasks have changed. */
case SUBTASK_UPDATE = 'lt:tickets:subtask.updated';
}