package repositories import ( "context" "git.aiterp.net/stufflog/server/models" ) type ActivityRepository interface { Find(ctx context.Context, id string) (*models.Activity, error) List(ctx context.Context, filter models.ActivityFilter) ([]*models.Activity, error) Insert(ctx context.Context, activity models.Activity) (*models.Activity, error) Save(ctx context.Context, activity models.Activity) error Delete(ctx context.Context, activity models.Activity) error }