14 lines
406 B
Go
14 lines
406 B
Go
package profile
|
|
|
|
import (
|
|
"context"
|
|
"gitea.maximumdirect.net/eric/scriptorium/internal/domain"
|
|
)
|
|
|
|
// Repository is a transitional prompt-definition repository.
|
|
// It currently lives in internal/profile until package responsibilities
|
|
// are split in a follow-up refactor.
|
|
type Repository interface {
|
|
GetPromptDefinition(ctx context.Context, id string, version string) (*domain.PromptDefinition, error)
|
|
}
|