♻️ Refactored the server-side versioning by move that logic to Gateway only

This commit is contained in:
2025-11-14 23:49:38 +08:00
parent b94b288755
commit 429a08930f
10 changed files with 9 additions and 78 deletions

View File

@@ -771,7 +771,7 @@ file class UpdatableCloudFile(SnCloudFile file)
public Dictionary<string, object?>? UserMeta { get; set; } = file.UserMeta;
public bool IsMarkedRecycle { get; set; } = file.IsMarkedRecycle;
public Expression<Func<SetPropertyCalls<SnCloudFile>, SetPropertyCalls<SnCloudFile>>> ToSetPropertyCalls()
public Action<UpdateSettersBuilder<SnCloudFile>> ToSetPropertyCalls()
{
var userMeta = UserMeta ?? [];
return setter => setter