diff --git a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Assets/MongoShardedAssetRepository.cs b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Assets/MongoShardedAssetRepository.cs index f2ebbca15..d6652dca3 100644 --- a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Assets/MongoShardedAssetRepository.cs +++ b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Assets/MongoShardedAssetRepository.cs @@ -13,7 +13,7 @@ using Squidex.Infrastructure.States; namespace Squidex.Domain.Apps.Entities.MongoDb.Assets; -public sealed class MongoShardedAssetRepository : ShardedSnapshotStore, IAssetRepository +public sealed class MongoShardedAssetRepository : ShardedSnapshotStore, IAssetRepository, IDeleter { public MongoShardedAssetRepository(IShardingStrategy sharding, Func factory) : base(sharding, factory) diff --git a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoShardedContentRepository.cs b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoShardedContentRepository.cs index a55296fdb..817ae439b 100644 --- a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoShardedContentRepository.cs +++ b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoShardedContentRepository.cs @@ -18,7 +18,7 @@ using Squidex.Infrastructure.States; namespace Squidex.Domain.Apps.Entities.MongoDb.Contents; -public sealed class MongoShardedContentRepository : ShardedSnapshotStore, IContentRepository +public sealed class MongoShardedContentRepository : ShardedSnapshotStore, IContentRepository, IDeleter { public MongoShardedContentRepository(IShardingStrategy sharding, Func factory) : base(sharding, factory) diff --git a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Text/MongoShardedTextIndex.cs b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Text/MongoShardedTextIndex.cs index 92b0e2f64..2ee73e1cc 100644 --- a/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Text/MongoShardedTextIndex.cs +++ b/backend/src/Squidex.Domain.Apps.Entities.MongoDb/Text/MongoShardedTextIndex.cs @@ -13,7 +13,7 @@ using Squidex.Infrastructure.States; namespace Squidex.Domain.Apps.Entities.MongoDb.Text; -public sealed class MongoShardedTextIndex : ShardedService>, ITextIndex where T : class +public sealed class MongoShardedTextIndex : ShardedService>, ITextIndex, IDeleter where T : class { public MongoShardedTextIndex(IShardingStrategy sharding, Func> factory) : base(sharding, factory) @@ -52,4 +52,15 @@ public sealed class MongoShardedTextIndex : ShardedService