feat: support msg_seq parameter in reply message construction (#1529)
* feat: support msg_seq parameter in reply message construction - Add optional 'seq' parameter to OB11MessageReply for using msg_seq - Prioritize seq over id for querying reply messages - Maintain backward compatibility with existing id parameter - Update type definitions across backend and frontend - Update validation schemas for message nodes close #1523 * Update debug button label in NetworkDisplayCard Changed the button label from '关闭调试'/'开启调试' to '默认'/'调试' based on the debug state for improved clarity. --------- Co-authored-by: 手瓜一十雪 <nanaeonn@outlook.com>
This commit is contained in:
1 parent
e81a4a793a
commit
b0db4f41ee
5 files changed
+132
-111
No files matched your search
@@ -61,7 +61,8 @@ const messageNode = z.union([
|
||||
.object({
|
||||
type: z.literal('reply'),
|
||||
data: z.object({
|
||||
id: z.number(),
|
||||
id: z.number().optional(),
|
||||
seq: z.number().optional(),
|
||||
}),
|
||||
})
|
||||
.describe('回复消息'),
|
||||
|
||||
Reference in new issue
Block a user