Monorepo for Tangled tangled.org
2

Configure Feed

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

at icy/ytnwlw 574 B View raw
1package db 2 3const ( 4 KnotMemberUpdateNSID = "sh.tangled.knot.memberUpdate" 5 RepoCollaboratorUpdateNSID = "sh.tangled.repo.collaboratorUpdate" 6) 7 8type AclOp string 9 10const ( 11 AclOpAdd AclOp = "add" 12 AclOpRemove AclOp = "remove" 13) 14 15type KnotMemberUpdate struct { 16 Op AclOp `json:"op"` 17 Subject string `json:"subject"` 18} 19 20// NOTE: no "addedBy" so for now we can't deduce who to suggest a vouch to, about having added a collaborator. 21type RepoCollaboratorUpdate struct { 22 Op AclOp `json:"op"` 23 Subject string `json:"subject"` 24 Repo string `json:"repo"` 25}