Documentation
¶
Overview ¶
Package facets owns the names and selection policy for stored thread facets. Protocol and application adapters should project this catalog rather than repeating facet names or default sets.
Index ¶
Constants ¶
const ( IssueKind = "issue" PullRequestKind = "pull_request" )
Thread kinds used by facet selection policy.
const ( IssueComments = "issue_comments" PRDetails = "pr_details" PRReviews = "pr_reviews" PRReviewComments = "pr_review_comments" PRChecks = "pr_checks" PRReviewThreads = "pr_review_threads" PRMergeState = "pr_merge_state" PRMergeQueue = "pr_merge_queue" PRClosingIssues = "pr_closing_issues" PRFiles = "pr_files" IssueTimeline = "issue_timeline" )
Facet names are stable corpus keys. Health-only facets are included here so every stored facet has one owner, even when it is not selectable hydration.
Variables ¶
This section is empty.
Functions ¶
func AllNames ¶
func AllNames() []string
AllNames returns every stored facet key, including health-only projections.
func DefaultFor ¶
DefaultFor returns the default hydration facets for a thread kind.
func SelectableFor ¶
SelectableFor returns facets accepted for explicit hydration of a thread kind. Timeline is intentionally explicit-only because it may be large.
func SelectableNames ¶
func SelectableNames() []string
SelectableNames returns the union used by protocol schemas. Per-thread applicability remains enforced by the application service.
Types ¶
This section is empty.