new flashcards
All checks were successful
Mindforge API Build and Deploy / Build Mindforge API Image (push) Successful in 4m4s
Mindforge Web Build and Deploy (internal) / Build Mindforge Web Image (push) Successful in 5m29s
Mindforge Web Build and Deploy (internal) / Deploy Mindforge Web (internal) (push) Successful in 9s
Mindforge API Build and Deploy / Deploy Mindforge API (internal) (push) Successful in 8s
All checks were successful
Mindforge API Build and Deploy / Build Mindforge API Image (push) Successful in 4m4s
Mindforge Web Build and Deploy (internal) / Build Mindforge Web Image (push) Successful in 5m29s
Mindforge Web Build and Deploy (internal) / Deploy Mindforge Web (internal) (push) Successful in 9s
Mindforge API Build and Deploy / Deploy Mindforge API (internal) (push) Successful in 8s
This commit is contained in:
18
Mindforge.API/Services/Interfaces/IFlashcardRepository.cs
Normal file
18
Mindforge.API/Services/Interfaces/IFlashcardRepository.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Mindforge.API.Models.Flashcards;
|
||||
|
||||
namespace Mindforge.API.Services.Interfaces
|
||||
{
|
||||
public interface IFlashcardRepository
|
||||
{
|
||||
Task EnsureSchemaAsync();
|
||||
Task<FlashcardLibraryDetails> UpsertLibraryAsync(
|
||||
string filePath,
|
||||
string fileName,
|
||||
string subject,
|
||||
string difficulty,
|
||||
IReadOnlyList<FlashcardDraftCard> cards);
|
||||
Task<IReadOnlyList<FlashcardLibrarySummary>> GetLibrariesAsync();
|
||||
Task<FlashcardLibraryDetails?> GetLibraryByIdAsync(long libraryId);
|
||||
Task<IReadOnlyList<FlashcardCard>> GetCardsForLibrariesAsync(IReadOnlyList<long> libraryIds);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user