From 9d86b552ee76ae241542c80ac399323938d399d6 Mon Sep 17 00:00:00 2001 From: KhaledNjim Date: Mon, 11 Nov 2024 19:36:33 +0100 Subject: [PATCH] hotfix/LA-1354 removed deleting last version of a file --- .../usecases/shared_space/shared_space_view_state.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/domain/lib/src/usecases/shared_space/shared_space_view_state.dart b/domain/lib/src/usecases/shared_space/shared_space_view_state.dart index f3a1cc8ec..ba78e68b7 100644 --- a/domain/lib/src/usecases/shared_space/shared_space_view_state.dart +++ b/domain/lib/src/usecases/shared_space/shared_space_view_state.dart @@ -696,4 +696,11 @@ class UpdateWorkspaceMemberFailure extends FeatureFailure { @override List get props => [exception]; -} \ No newline at end of file +} + +class RemoveFinalSharedSpaceNodeVersionFailure extends FeatureFailure { + RemoveFinalSharedSpaceNodeVersionFailure(); + + @override + List get props => []; +}