NapCatQQ/packages/napcat-core
Makoto f3de4d48d3
feat: add settings field to group notice API response (#1505)
* feat: add settings field to group notice API response

- Add settings field to GroupNotice interface
- Include announcement configuration options (is_show_edit_card, remind_ts, tip_window_type, confirm_required)
- Fixes #1503

* refactor: make settings field optional for backward compatibility

- Mark settings as optional in GroupNotice interface
- Mark settings as optional in WebApiGroupNoticeFeed type
- Prevents runtime errors when processing older or malformed notices
- Addresses code review feedback on PR #1505

* Update GetGroupNotice.ts

---------

Co-authored-by: 手瓜一十雪 <nanaeonn@outlook.com>
2026-01-13 16:32:03 +08:00
..
adapters Update onMSFSsoError signature with code and desc 2025-11-22 20:30:02 +08:00
apis Add upload_file option for file upload actions 2026-01-03 16:25:38 +08:00
data refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
external Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
helper Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
listeners Refine types in storage clean listener and service 2025-11-22 19:57:18 +08:00
packet Update release workflow 2026-01-03 18:37:17 +08:00
protocol Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
services Refine types in storage clean listener and service 2025-11-22 19:57:18 +08:00
types feat: add settings field to group notice API response (#1505) 2026-01-13 16:32:03 +08:00
index.ts Optimize version fetching and update logic 2026-01-04 12:41:21 +08:00
package.json Move inversify and reflect-metadata to napcat-core 2025-11-15 16:23:03 +08:00
tsconfig.json Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
wrapper.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00