refactor(architecture): harden module boundaries
Some checks failed
ci / release-gate (push) Has been cancelled
Some checks failed
ci / release-gate (push) Has been cancelled
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user