2026-04-28 21:05:06 +08:00
|
|
|
package com.xuqm.update.model;
|
|
|
|
|
|
|
|
|
|
import com.xuqm.update.entity.AppVersionEntity;
|
|
|
|
|
import com.xuqm.update.entity.RnBundleEntity;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public record UnifiedReleaseManifest(
|
|
|
|
|
List<AppUploadItem> appVersions,
|
|
|
|
|
List<RnBundleUploadItem> rnBundles) {
|
|
|
|
|
|
|
|
|
|
public record AppUploadItem(
|
|
|
|
|
String fileKey,
|
|
|
|
|
AppVersionEntity.Platform platform,
|
|
|
|
|
String versionName,
|
|
|
|
|
int versionCode,
|
|
|
|
|
String changeLog,
|
|
|
|
|
boolean forceUpdate,
|
2026-04-29 15:46:40 +08:00
|
|
|
String packageName,
|
2026-04-28 21:05:06 +08:00
|
|
|
String appStoreUrl,
|
2026-04-29 15:46:40 +08:00
|
|
|
String marketUrl,
|
|
|
|
|
boolean publishImmediately) {
|
2026-04-28 21:05:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public record RnBundleUploadItem(
|
|
|
|
|
String fileKey,
|
|
|
|
|
String moduleId,
|
|
|
|
|
RnBundleEntity.Platform platform,
|
|
|
|
|
String version,
|
|
|
|
|
String minCommonVersion,
|
2026-04-29 15:46:40 +08:00
|
|
|
String packageName,
|
2026-04-28 21:05:06 +08:00
|
|
|
String note) {
|
|
|
|
|
}
|
|
|
|
|
}
|