IOS-INFO-012 P0 | Rust Event → UploadItem 映射 【审计: 不存在】 #77
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
映射
Rust eventId→eventId, clientSessionId→clientSessionId, context.readingTargetType→readingTargetType, Rust materialId→materialId, Rust eventType→eventType, Rust position→position, Rust activeSecondsDelta→activeSecondsDelta, Rust timestampMs→clientTimestampMs, Rust sequence→sequence, iOS→platform=ios, iOS→appVersion, iOS→timezoneOffset
IOS-INFO-009 P0 | Rust Event → UploadItem 映射to IOS-INFO-012 P0 | Rust Event → UploadItem 映射 【审计: 不存在】重构提醒(来自 Batch B 审查 F3)
blockId(from:)在MaterialReaderView.swift:306-317和ReadingPositionAdapter.swift:85-96中重复定义。实现本 issue 时一并处理:
blockId(from:)ReadingPositionAdapter.blockId(from:)(需将 helper 改为 internal/public)或者两处都改为
DocumentBlock的 extension computed property。完成报告
交付
Features/MaterialReader/ReadingEventMapper.swift— Rust → API 映射器:映射规则:
F3 修复: 删除
MaterialReaderView中重复的blockId(from:),统一使用ReadingPositionAdapter.blockId(from:)