Files
promptkit/internal/profile/repository.go

18 lines
483 B
Go
Raw Normal View History

package profile
import (
"context"
"errors"
"go.maximumdirect.net/promptkit/internal/domain"
)
// ErrProfileNotFound identifies an absent profile in the captured index.
var ErrProfileNotFound = errors.New("execution profile not found")
// Repository selects execution profiles from a captured index.
type Repository interface {
GetProfile(ctx context.Context, id string) (*domain.ExecutionProfile, error)
2026-11-05 19:55:10 +00:00
GetProfileIdentity(ctx context.Context, id string) (string, error)
}