%PvcECSFTUcyaAXN/V9FXW2lCcgxRgN9j0ppda33cl+A=.sha256
@arj here's what I've found ahau is using sofar which we'll need to migrate. As expected, it's mostly ssb-tribes
functionality:
ssb-tribe
mutations
create
- publishes a
group/init
(includes groupKey), persists groupId, groupKey, authors - can also mint a poBox for the group, publishing a
group/po-box
msg
- publishes a
subtribe.create
- creates a new group and links it to another with alink/group-group/subgroup
msginvite
- publishes agroup/add-member
messagelink.create
- links your feed to a group withlink/feed-group
msg to set up a "personal group"
queries (use
ssb.query.read
)list
- list all tribes you have keys forpoBox.get
- looks up the current poBoxId connected to a groupIdfindSubGroupLinks
- look up links from a group to subgroup(s)subtribe.findParentGroupLinks
- look up links from a group to parentGroup(s)findByFeedId
- look up groups that have been linked to a feedId
encryption
- box/unbox P.O. Box messages (the new DM on the block)
listeners (use
ssb.messagesByType
)- new
group/add-member
msgs - triggers groupId/Key registration, rebuild - new
group/po-box
msgs - triggers poBoxId/Key registration, rebuild
- new
ssb-ahau
(graphql api)
- using
ssb.query.read
to list all sorts of records - listener on new messages to invalidate record cache
- using
ssb.status
(or progress) to display in UI if rebulding/ indexing for a long time
ssb-profile
find
method contains aflumeview-search
index over profilepreferredName
,altNames
fields