initial commit

This commit is contained in:
2026-07-27 14:42:23 +02:00
commit 833c68a189
257 changed files with 17947 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import 'package:freezed_annotation/freezed_annotation.dart';
part 'service_scan_info.freezed.dart';
part 'service_scan_info.g.dart';
/// Mirrors `models.ServiceScanInfo` — one entry in a [ScanResult]'s
/// `created`/`updated` lists.
@freezed
sealed class ServiceScanInfo with _$ServiceScanInfo {
const factory ServiceScanInfo({
required String name,
@JsonKey(name: 'compose_file') required String composeFile,
@JsonKey(name: 'backup_folder') String? backupFolder,
@Default('unknown') String status,
}) = _ServiceScanInfo;
factory ServiceScanInfo.fromJson(Map<String, dynamic> json) => _$ServiceScanInfoFromJson(json);
}