qinglong/back
Copilot 58f5fe763f
Add cron task management to QLAPI (#2826)
* Initial plan

* Add cron management capabilities to QLAPI

- Added GetCrons, GetCronById, EnableCrons, DisableCrons, RunCrons to proto
- Implemented gRPC handlers for new cron operations
- Updated client.js to expose new methods to scripts
- Updated sample to demonstrate new API usage

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add documentation for QLAPI cron management features

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Specify pnpm version 8.3.1 in package.json

Add packageManager field to enforce pnpm@8.3.1 as requested

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Revert pnpm-lock.yaml to original state

The lockfile was inadvertently updated during dependency installation
for proto generation. Reverting to maintain consistency with pnpm@8.3.1.

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Regenerate proto files with correct tool versions

Regenerated using protoc v3.17.3 and protoc-gen-ts_proto v2.6.1
to match the original project configuration.

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2025-11-14 23:20:56 +08:00
..
api 升级 cron-parser 2025-11-11 00:37:03 +08:00
config 移除 nginx 2025-11-02 19:29:59 +08:00
data 修复日志目录逻辑 2025-11-09 21:42:45 +08:00
interface 修改定时规则类型 2025-02-21 01:35:08 +08:00
loaders 升级 cron-parser 2025-11-11 00:37:03 +08:00
middlewares 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
protos Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
schedule Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
services 升级 cron-parser 2025-11-11 00:37:03 +08:00
shared 修复创建脚本可能失败 2025-05-20 01:00:08 +08:00
types 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
validation 升级 cron-parser 2025-11-11 00:37:03 +08:00
app.ts Fix race condition preventing scheduled tasks from executing in clustered mode (#2819) 2025-11-12 00:59:22 +08:00
token.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
tsconfig.json 修改服务启动逻辑 2025-05-07 09:30:00 +08:00