32 行
822 B
Java
32 行
822 B
Java
|
|
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,
|
||
|
|
String appStoreUrl,
|
||
|
|
String marketUrl) {
|
||
|
|
}
|
||
|
|
|
||
|
|
public record RnBundleUploadItem(
|
||
|
|
String fileKey,
|
||
|
|
String moduleId,
|
||
|
|
RnBundleEntity.Platform platform,
|
||
|
|
String version,
|
||
|
|
String minCommonVersion,
|
||
|
|
String note) {
|
||
|
|
}
|
||
|
|
}
|