重构后台管理服务并推进渐进式类型化

This commit is contained in:
yml2213
2026-04-14 09:21:20 +08:00
parent fa36be6539
commit 335eb44104
35 changed files with 4143 additions and 2738 deletions
@@ -8,6 +8,15 @@ import { parseJsonObject } from '../../../../utils/json.js'
import { logWebhook } from '../../../../utils/logger.js'
import { nowIso } from '../../../../utils/time.js'
/**
* @typedef {{
* order?: Record<string, any> | null
* task?: Record<string, any> | null
* trigger?: string
* }} EnsureAgisoXianyuAutoDeliveryInput
*/
/** @param {EnsureAgisoXianyuAutoDeliveryInput} input */
export async function ensureAgisoXianyuAutoDeliveryForDeliveredTask({
order,
task,