feat: add catalog readonly endpoints
This commit is contained in:
32
Tiku.Application/Catalog/ICatalogQueryService.cs
Normal file
32
Tiku.Application/Catalog/ICatalogQueryService.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
namespace Tiku.Application.Catalog;
|
||||
|
||||
public interface ICatalogQueryService
|
||||
{
|
||||
Task<CatalogList<RegionCatalogItem>> GetRegionsAsync(
|
||||
CatalogFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<RegionModuleCatalogItem>> GetRegionModulesAsync(
|
||||
CatalogFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<ModuleNodeCatalogItem>> GetModuleNodesAsync(
|
||||
CatalogFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<SchoolCatalogItem>> GetSchoolsAsync(
|
||||
CatalogFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<MajorCatalogItem>> GetMajorsAsync(
|
||||
CatalogFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<SubjectCatalogItem>> GetSubjectsAsync(
|
||||
CatalogFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
|
||||
Task<CatalogList<CategoryCatalogItem>> GetCategoriesAsync(
|
||||
CatalogFilter filter,
|
||||
CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in New Issue
Block a user