Add Live module with stream management and album flows.

Migrate live stream management and live album from home placeholders, including alive album OSS upload, home routing, and unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-25 14:38:52 +08:00
parent 1a0d1c25f4
commit fdf4659048
23 changed files with 2811 additions and 11 deletions

View File

@ -51,6 +51,10 @@ final class UploadTests: XCTestCase {
OSSUploadPolicy.objectKey(fileName: "cover.jpg", scenicId: 9, moduleType: "project", date: date, uuid: uuid, timeZone: timeZone),
"project/20260101/9/123456781234123412341234567890AB_cover.jpg"
)
XCTAssertEqual(
OSSUploadPolicy.objectKey(fileName: "live.mp4", scenicId: 9, moduleType: "alive_album", date: date, uuid: uuid, timeZone: timeZone),
"live_albums/20260101/9/123456781234123412341234567890AB_live.mp4"
)
}
/// MIME URL