fix: code review changes and errors

This commit is contained in:
bwees
2026-02-11 11:54:49 -06:00
parent 712aec53b9
commit 5f9167c505
5 changed files with 53 additions and 11 deletions

View File

@@ -15,6 +15,7 @@ export class AssetEditFactory {
static from(dto: AssetEditLike = {}) {
const id = dto.id ?? newUuid();
const updateId = dto.updateId ?? newUuid();
return new AssetEditFactory({
id,
@@ -22,6 +23,7 @@ export class AssetEditFactory {
action: AssetEditAction.Crop,
parameters: { x: 5, y: 6, width: 200, height: 100 },
sequence: 1,
updateId,
...dto,
});
}