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,18 @@
<?php
namespace Leantime\Core\Domains;
/**
* Marker interface for all domain (and plugin) service classes.
*
* It carries no required methods on purpose. Real services have wildly different shapes
* (the Tickets service alone has ~75 heterogeneous methods), so a fixed CRUD contract
* never fit — which is exactly why the previous patch/update/create/delete/get/query
* interface had zero implementers. This marker instead gives the service layer a single
* type to scan for and a shared home (via {@see BaseService}) for the cross-cutting
* authorize()/validate() helpers, without forcing a fictional method surface.
*
* Granular capability interfaces (e.g. a real Crudable) may be introduced alongside this
* marker where they genuinely apply, opt-in per service.
*/
interface DomainService {}