feat(proton): migrate notify.ts schemas + all 6 msg-push consumers
Mirrors all 27 notify.ts schemas as proton interface forms and switches
the entire msg-push decoder family over to the new compile-time API.
Migrated schemas (proton/notify.ts):
OperatorField1, OperatorInfo, GroupChange, GroupAdminExtra,
GroupAdminBody, GroupAdmin, InvitationInner, InvitationInfo,
GroupInvitation, GroupInvite, GroupJoin, FriendRequestInfo,
FriendRequest, FriendRecallTipInfo, FriendRecallInfo, FriendRecall,
GroupMuteState, GroupMuteData, GroupMute, RecallMessage,
GroupRecallTipInfo, GroupRecall, TemplParam, GeneralGrayTipInfo,
EssenceMessage, NotifyMessageBody, GroupReactionDataInnerDataTarget,
GroupReactionDataContent, GroupReactionDataInnerData,
GroupReactionDataInner, GroupReactionData, GroupReactNotify
Consumer files switched to protobuf_decode<T>():
- msg-push/helpers.ts (decodeOperatorUid)
- msg-push/decoders/event-0x2dc.ts (5 call sites: GroupMute,
GroupRecall, GroupGreyTip, GroupEssence, GroupMsgEmojiLike)
- msg-push/decoders/event-0x210.ts (3 call sites: FriendRequest,
FriendRecall, FriendPoke)
- msg-push/decoders/group-admin.ts
- msg-push/decoders/group-member-change.ts (join + leave)
- msg-push/decoders/group-join-request.ts (join request + invitation
+ invite)
The notify.ts FriendRecall interface collides with events.ts's own
FriendRecall event type; the decoder imports it under the local alias
FriendRecallNotify to keep the existing event type intact.
Verification:
- 6 new parity tests pinning notify wire equivalence
- 591/591 core test suite passes (the existing decoder tests —
group-msg-emoji-like, group-admin, etc. — implicitly validated
wire format equivalence against real captured QQ payloads)
- tsc --noEmit clean