Files
tiku-backend.net/Tiku.Application/Learning/StudentLearningCatalogModels.cs
xiong 3f5957d744
Some checks failed
ci / release-gate (push) Has been cancelled
feat(content): establish v2 learning delivery foundation
2026-08-06 09:52:18 +08:00

27 lines
761 B
C#

using Tiku.Domain.Learning;
namespace Tiku.Application.Learning;
public sealed record StudentCatalogResourceItem(
AccessResourceType ResourceType,
Guid ResourceId,
string DisplayName,
int SortOrder,
IReadOnlyCollection<Guid> ManifestVersionIds);
public sealed record StudentLearningCatalogItem(
Guid BusinessLineId,
Guid PrimaryProfileVersionId,
IReadOnlyCollection<Guid> AlternateProfileVersionIds,
IReadOnlyCollection<StudentCatalogResourceItem> Resources,
long GrantVersion,
long ContentVersion);
public interface IStudentLearningCatalogService
{
Task<StudentLearningCatalogItem> GetAsync(
LearningActor actor,
Guid businessLineId,
CancellationToken cancellationToken = default);
}