Spaces:
Running
Running
| using FlowAPI.Domain.Entities; | |
| namespace FlowAPI.Application.Interfaces | |
| { | |
| public interface IGraphRepository : IGenericRepository<Graph> | |
| { | |
| Task<IEnumerable<Graph>> GetAllByUserIdAsync(Guid userId); | |
| Task<Graph?> GetByIdWithDetailsAsync(Guid id); | |
| Task ClearDetailsAsync(Guid id); | |
| Task<bool> UpsertFullGraphAsync(Guid graphId, IEnumerable<TaskNode> nodes, IEnumerable<Edge> edges); | |
| } | |
| } | |