NapCatQQ/packages
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
..
napcat-common Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
napcat-core feat: add settings field to group notice API response (#1505) 2026-01-13 16:32:03 +08:00
napcat-develop Use environment variables for secret keys in dev and backend 2025-11-15 17:00:52 +08:00
napcat-framework Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
napcat-image-size Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
napcat-napi-loader refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
napcat-native Update ffmpeg addon binary for Darwin ARM64 2025-11-18 20:16:03 +08:00
napcat-onebot feat: add settings field to group notice API response (#1505) 2026-01-13 16:32:03 +08:00
napcat-plugin Add support for version 9.9.26-44175 and fix import type 2026-01-01 10:32:59 +08:00
napcat-protobuf Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
napcat-pty Add backend and frontend support for NapCat auto-update 2025-11-19 21:05:08 +08:00
napcat-qrcode Remove unused dependencies from package.json 2025-11-16 11:02:21 +08:00
napcat-shell Add convertToNTSilkTct to FFmpeg adapters and update usage (#1517) 2026-01-13 16:18:32 +08:00
napcat-shell-loader fix: close #1488 2026-01-02 17:07:39 +08:00
napcat-test Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
napcat-universal Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
napcat-vite Refactor GitHub tag fetching and mirror management 2026-01-03 14:42:24 +08:00
napcat-webui-backend Refactor theme font handling and preview logic 2026-01-04 18:48:16 +08:00
napcat-webui-frontend Enhance HTTP debug UI with command palette and UI improvements 2026-01-04 20:38:08 +08:00