chore: refactor the way edits are joined

This commit is contained in:
bwees
2026-01-13 12:38:26 -06:00
parent 7baf58ef6d
commit 9a280b0140
10 changed files with 242 additions and 118 deletions
@@ -30,7 +30,7 @@ class LocalAssetEntity extends Table with DriftDefaultsMixin, AssetEntityMixin {
}
extension LocalAssetEntityDataDomainExtension on LocalAssetEntityData {
LocalAsset toDto(bool isEdited, {String? remoteId}) => LocalAsset(
LocalAsset toDto({required bool isEdited, String? remoteId}) => LocalAsset(
id: id,
name: name,
checksum: checksum,
@@ -49,7 +49,7 @@ class RemoteAssetEntity extends Table with DriftDefaultsMixin, AssetEntityMixin
}
extension RemoteAssetEntityDataDomainEx on RemoteAssetEntityData {
RemoteAsset toDto(bool isEdited, {String? localId}) => RemoteAsset(
RemoteAsset toDto({required bool isEdited, String? localId}) => RemoteAsset(
id: id,
name: name,
ownerId: ownerId,