NapCatQQ/packages/napcat-onebot/action
手瓜一十雪 819224b788 Fix SendPokePayloadSchema type definitions
Corrected the type definitions for user_id and target_id to only allow strings, and fixed a syntax error in group_id. This ensures payload validation is consistent and accurate.

Refactor fileset ID API response and schema handling

Updated GetFilesetId action to return a structured object with fileset_id and adjusted its return schema accordingly. Improved frontend TypeBox schema parsing to support allOf (intersection) merging and updated API debug component to construct response schemas in a more robust way for object recognition.

Refactor OneBot API schema handling to use TypeBox

Replaces Zod-based static API schema definitions with dynamic fetching of schemas from the backend using TypeBox. Removes legacy static schema files, updates frontend API debug components to use TypeBox utilities, and adds @sinclair/typebox as a dependency. Backend now exposes a /schemas endpoint for all OneBot actions. Various schema and description fields are updated for clarity and consistency.
2026-01-25 20:24:30 +08:00
..
extends Fix SendPokePayloadSchema type definitions 2026-01-25 20:24:30 +08:00
file Fix SendPokePayloadSchema type definitions 2026-01-25 20:24:30 +08:00
go-cqhttp Fix SendPokePayloadSchema type definitions 2026-01-25 20:24:30 +08:00
group Add action metadata to OneBot action classes 2026-01-25 19:19:03 +08:00
guild Enhance action metadata and add examples for new actions 2026-01-25 18:10:15 +08:00
msg Fix SendPokePayloadSchema type definitions 2026-01-25 20:24:30 +08:00
new Add action metadata to OneBot action classes 2026-01-25 19:19:03 +08:00
packet Fix SendPokePayloadSchema type definitions 2026-01-25 20:24:30 +08:00
stream Add action metadata to OneBot action classes 2026-01-25 19:19:03 +08:00
system Add action metadata to OneBot action classes 2026-01-25 19:19:03 +08:00
test Add payload and return schemas to OneBot actions 2026-01-25 14:50:58 +08:00
user Add action metadata to OneBot action classes 2026-01-25 19:19:03 +08:00
auto-register.ts Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
examples.ts Add action examples and enhance action metadata 2026-01-25 17:45:46 +08:00
index.ts Add napcat-schema package for OpenAPI generation 2026-01-25 17:12:25 +08:00
OneBotAction.ts Add actionSummary and improve action metadata 2026-01-25 18:06:24 +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