Skip to content

Commit

Permalink
added list and listblock collection types
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Sep 16, 2023
1 parent eebfac3 commit 427ff64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/skyfall/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ module Collection
BSKY_REPOST = "app.bsky.feed.repost"
BSKY_BLOCK = "app.bsky.graph.block"
BSKY_PROFILE = "app.bsky.actor.profile"
BSKY_LIST = "app.bsky.graph.list"
BSKY_LISTITEM = "app.bsky.graph.listitem"
BSKY_LISTBLOCK = "app.bsky.graph.listblock"
BSKY_FEED = "app.bsky.feed.generator"
end
end
2 changes: 2 additions & 0 deletions lib/skyfall/operation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def type
when Collection::BSKY_REPOST then :bsky_repost
when Collection::BSKY_BLOCK then :bsky_block
when Collection::BSKY_PROFILE then :bsky_profile
when Collection::BSKY_LIST then :bsky_list
when Collection::BSKY_LISTITEM then :bsky_listitem
when Collection::BSKY_LISTBLOCK then :bsky_listblock
when Collection::BSKY_FEED then :bsky_feed
else :unknown
end
Expand Down

0 comments on commit 427ff64

Please sign in to comment.