summaryrefslogtreecommitdiff
path: root/desk/lib/json/nostrill.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'desk/lib/json/nostrill.hoon')
-rw-r--r--desk/lib/json/nostrill.hoon15
1 files changed, 14 insertions, 1 deletions
diff --git a/desk/lib/json/nostrill.hoon b/desk/lib/json/nostrill.hoon
index 2edf7f4..3c6f21b 100644
--- a/desk/lib/json/nostrill.hoon
+++ b/desk/lib/json/nostrill.hoon
@@ -49,7 +49,8 @@
%- pairs %+ turn ~(tap by m) |= [key=user:sur f=feed:feed]
=/ jkey (user key)
?> ?=(%s -.jkey)
- :- +.jkey (feed:en:trill f)
+ :: TODO proper cursor stuff
+ :- +.jkey (feed-with-cursor:en:trill f ~ ~)
++ engraph
|= m=(map user:sur (set user:sur))
@@ -80,6 +81,18 @@
%nostr (en-nostr-feed +.f)
%post (postfact +.f)
%enga (enga +.f)
+ %fols (fols +.f)
+ ==
+ ++ fols |= ff=fols-fact:ui:sur ^- json
+ %+ frond -.ff
+ ?- -.ff
+ %quit (user +.ff)
+ %new %: pairs
+ user+(user user.ff)
+ feed+(feed-with-cursor:en:trill fc.ff)
+ :- 'profile' ?~ meta.ff ~ (user-meta:en:nostr u.meta.ff)
+ ~
+ ==
==
++ tedfact |= pf=post-fact:ui:sur ^- json
%+ frond -.pf