This commit is contained in:
2024-01-21 22:14:29 +08:00
parent 849ee28d25
commit 24d0f43d34
4 changed files with 40 additions and 30 deletions

View File

@@ -26,6 +26,7 @@ class ServerStatus {
required this.meilisearchEnabled,
this.meilisearch,
required this.noUser,
required this.isDocker,
});
@JsonKey(name: 'ffmpeg_api_enabled')
@@ -37,6 +38,8 @@ class ServerStatus {
final MeilisearchInfo? meilisearch;
@JsonKey(name: 'no_user')
final bool noUser;
@JsonKey(name: 'is_docker')
final bool isDocker;
factory ServerStatus.fromJson(Map<String, dynamic> json) =>
_$ServerStatusFromJson(json);