Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityMetrics ¶
type CollabMetrics ¶
type CollabMetrics struct {
TotalViews int `json:"total_views"`
TotalReuses int `json:"total_reuses"`
ReuseRate float64 `json:"reuse_rate"`
TopContributors []ContributorStat `json:"top_contributors"`
}
type ContributorStat ¶
type CoverageMetrics ¶
type HiveShareSummary ¶
type HiveShareSummary struct {
}
type HiveshareMetrics ¶
type HiveshareMetrics struct {
}
type Invitation ¶
type Invitation struct {
ID uuid.UUID `json:"id"`
Email string `json:"email"`
InvitedBy uuid.UUID `json:"invited_by"`
Token string `json:"token"`
Role string `json:"role"`
Status string `json:"status"`
CreatedAt time.Time `json:"created_at"`
ExpiresAt time.Time `json:"expires_at"`
// enriched
InviteURL string `json:"invite_url,omitempty"`
}
type MemoryEntry ¶
type MemoryEntry struct {
ID uuid.UUID `json:"id"`
UserID uuid.UUID `json:"user_id"`
UserName string `json:"user_name,omitempty"`
SourceType string `json:"source_type"`
SourceRef string `json:"source_ref"`
SourceURL string `json:"source_url,omitempty"`
Tool string `json:"tool"`
Content string `json:"content"`
Summary string `json:"summary,omitempty"`
Tags []string `json:"tags"`
Metadata map[string]interface{} `json:"metadata"`
Views int `json:"views"`
Reuses int `json:"reuses"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
// search result field
Score float64 `json:"score,omitempty"`
}
type MemoryMetrics ¶
type StreamEvent ¶
type StreamEvent struct {
Type string `json:"type"`
Payload interface{} `json:"payload"`
}
type UsageEvent ¶
type UserMetrics ¶
Click to show internal directories.
Click to hide internal directories.