Existing ASP.NET API with vanilla JS SPA, WindowWatcher, Chrome extension, and MCP server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
304 B
C#
11 lines
304 B
C#
using TaskTracker.Core.Entities;
|
|
|
|
namespace TaskTracker.Core.Interfaces;
|
|
|
|
public interface IContextEventRepository
|
|
{
|
|
Task<ContextEvent> CreateAsync(ContextEvent contextEvent);
|
|
Task<List<ContextEvent>> GetRecentAsync(int minutes = 30);
|
|
Task<List<ContextEvent>> GetByTaskIdAsync(int taskId);
|
|
}
|