mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
Ref https://github.com/webstudio-is/webstudio-builder/issues/193 To make undo of assets deletion work we need to stop deleting files from storage to restore assets without loosing actual file. Here added File.isDeleted and file.updatedAt fields to mark as deleted. This way we can run scheduler to actually delete files which are marked for some time already. And undo of asset deletion now works.
Webstudio Prisma client
Package conatining our API to interact with prisma