Monorepo for Tangled tangled.org
2

Configure Feed

Select the types of activity you want to include in your feed.

appview/models: add recent link model

Signed-off-by: oppiliappan <me@oppi.li>

author
oppiliappan
committer
Tangled
date (Jun 8, 2026, 5:59 PM +0300) commit ebc33038 parent aee33539 change-id wzznuzyl
+19
+19
appview/models/recents.go
··· 1 + package models 2 + 3 + import "time" 4 + 5 + type RecentLinkType string 6 + 7 + const ( 8 + RecentLinkTypeRepo RecentLinkType = "repo" 9 + RecentLinkTypeIssue RecentLinkType = "issue" 10 + RecentLinkTypePull RecentLinkType = "pull" 11 + ) 12 + 13 + type RecentLink struct { 14 + Id int64 15 + UserDid string 16 + LinkType RecentLinkType 17 + Target string // repo DID for repos; AT-URI string for issues/pulls 18 + Visited time.Time 19 + }