refactor(architecture): harden module boundaries
Some checks failed
ci / release-gate (push) Has been cancelled

This commit is contained in:
2026-08-04 12:10:36 +08:00
parent b38f12e60b
commit 33375a38d7
218 changed files with 5124 additions and 3828 deletions

View File

@@ -2,7 +2,7 @@ using Tiku.Application.Catalog;
namespace Tiku.Application.Content;
public interface IContentManagementService
public interface IContentEntryManagementService
{
Task<CatalogList<ContentEntryManagementItem>> GetEntriesAsync(
ContentManagementActor actor,
@@ -13,7 +13,10 @@ public interface IContentManagementService
ContentManagementActor actor,
UpsertContentEntryCommand command,
CancellationToken cancellationToken = default);
}
public interface IContentNodeManagementService
{
Task<CatalogList<ContentNodeManagementItem>> GetNodesAsync(
ContentManagementActor actor,
ContentManagementFilter filter,
@@ -23,7 +26,10 @@ public interface IContentManagementService
ContentManagementActor actor,
UpsertContentNodeCommand command,
CancellationToken cancellationToken = default);
}
public interface IQuestionCollectionManagementService
{
Task<CatalogList<QuestionCollectionManagementItem>> GetCollectionsAsync(
ContentManagementActor actor,
ContentManagementFilter filter,
@@ -38,7 +44,10 @@ public interface IContentManagementService
ContentManagementActor actor,
ReplaceCollectionItemsCommand command,
CancellationToken cancellationToken = default);
}
public interface IPracticeBlueprintManagementService
{
Task<CatalogList<PracticeBlueprintManagementItem>> GetPracticeBlueprintsAsync(
ContentManagementActor actor,
ContentManagementFilter filter,
@@ -52,4 +61,4 @@ public interface IContentManagementService
ImportFieldMappingItem GetImportFieldMapping(string importType);
ImportTemplateItem GetImportTemplate(string importType, string? format);
}
}