A collection of Osprey rules for ATProto
3
fork

Configure Feed

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

at main 51 lines 1.3 kB view raw
1Import( 2 rules=[ 3 'models/base.sml', 4 'models/record/base.sml', 5 ], 6) 7 8Require( 9 rule='rules/record/post/index.sml', 10 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.feed.post', 11) 12 13Require( 14 rule='rules/record/like/index.sml', 15 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.feed.like', 16) 17 18Require( 19 rule='rules/record/follow/index.sml', 20 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.graph.follow', 21) 22 23Require( 24 rule='rules/record/list/index.sml', 25 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.graph.list', 26) 27 28Require( 29 rule='rules/record/listitem/index.sml', 30 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.graph.listitem', 31) 32 33Require( 34 rule='rules/record/repost/index.sml', 35 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.feed.repost', 36) 37 38Require( 39 rule='rules/record/starterpack/index.sml', 40 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.graph.starterpack', 41) 42 43Require( 44 rule='rules/record/block/index.sml', 45 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.graph.block', 46) 47 48Require( 49 rule='rules/record/profile/index.sml', 50 require_if=(IsCreate or IsUpdate) and Collection == 'app.bsky.actor.profile', 51)