mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-04 23:29:00 +08:00
feat: Support multiple vector database selection, add InMemory and Qdrant adapters, introduce admin dashboard
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using Foxel.Models;
|
||||
using Foxel.Models.Response.Picture;
|
||||
|
||||
namespace Foxel.Services.Management;
|
||||
|
||||
public interface IPictureManagementService
|
||||
{
|
||||
Task<PaginatedResult<PictureResponse>> GetPicturesAsync(int page = 1, int pageSize = 10);
|
||||
Task<PictureResponse> GetPictureByIdAsync(int id);
|
||||
Task<bool> DeletePictureAsync(int id);
|
||||
Task<BatchDeleteResult> BatchDeletePicturesAsync(List<int> ids);
|
||||
Task<PaginatedResult<PictureResponse>> GetPicturesByUserIdAsync(int userId, int page = 1, int pageSize = 10);
|
||||
}
|
||||
Reference in New Issue
Block a user