NapCatQQ/packages/napcat-onebot/action
手瓜一十雪 075047d790 Refactor payload schemas to use string IDs
Replaced Type.Union([Type.Number(), Type.String()]) with Type.String for group_id, user_id, and similar fields across all action payload schemas to standardize input types. Also made minor improvements to error handling, return types, and removed unused imports for better code clarity and consistency.
2026-01-25 15:07:43 +08:00
..
extends Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
file Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
go-cqhttp Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
group Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
guild Add payload and return schemas to OneBot actions 2026-01-25 14:50:58 +08:00
msg Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
new Add payload and return schemas to OneBot actions 2026-01-25 14:50:58 +08:00
packet Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
stream Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
system Add payload and return schemas to OneBot actions 2026-01-25 14:50:58 +08:00
test Add payload and return schemas to OneBot actions 2026-01-25 14:50:58 +08:00
user Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00
auto-register.ts Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
index.ts 增加/fetch_emoji_likes_all (#1548) 2026-01-25 13:18:16 +08:00
OneBotAction.ts Add payload and return schemas to OneBot actions 2026-01-25 14:50:58 +08:00
router.ts 增加/fetch_emoji_likes_all (#1548) 2026-01-25 13:18:16 +08:00
schemas.ts Refactor payload schemas to use string IDs 2026-01-25 15:07:43 +08:00