-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* actor type in profiles * skeleton lex * more schemas * first pass at feed composition * cleanup services * more tidying * fix up tests * bookmarking schemas * make feeds records instead of actors * some cleanup * fleshing out feeds as records * wip * working into cfg & dev-env * fix appview test util * bookmarking + views * tidy * add displayName * db migration * wip test * blob processing * first test working! * Sync-up snapshots * wip * Fix pds ctx type * Sync lexicons on pds and api * wip * fully refactor * Prep for open union in reply data in bsky appview, sync-up snapshots * msgs & ports * Make pds did cache sqlite-friendly * Start scaffolding more feedgen tests * revamp appview tests * revamp pds tests * merge in dev env utils * ensure plc close * add feed gen to dev-env * second feed gen * named feeds in mock * fix issue with dev-env pds appview * update bsky snaps * Flesh-out some feed gen tests * Fix feed gen reply test * Test feed bookmarking * update skeleton defs * merge * Sync-up pds with updated feed skeleton contract * Fix feed bookmark viewer state * add feed embeds * Test inaccurate feed gen repost * Tighten some error behaviors around feed gens * generator view in record embed * test * bookmarked/subscribed -> saved * updated snaps * name & descript on alices feed * add like counts * proposed lex * tweak * fetch feed generator details * add describeFeedGen to dev-env * adds tests for getFeedGenerator * Update lexicons/app/bsky/feed/getFeedGenerator.json Co-authored-by: devin ivy <devinivy@gmail.com> * update describe * add cid to feed gen view * add alice feed gen avatar * generator displayName required * update snaps * Fix dev env public url (#1058) * Fix the public url used by dev-env * move publicUrl location --------- Co-authored-by: dholms <dtholmgren@gmail.com> * add defs for feed gen prefs & decrease displayName length * build branch * updated how saved feeds works * cleanup lex * mount route * Starter bsky algos (#1046) * implement some starter bsky algos * add team dids * tidy * add quotepost check to whats hot classic * tests * carve out feedgen section of pds * apply limits * add describeFeedGenerator route * Whats hot new (#1060) * map out new whats hot * only available in postgres * Fix dev env public url (#1058) * Fix the public url used by dev-env * move publicUrl location --------- Co-authored-by: dholms <dtholmgren@gmail.com> * add defs for feed gen prefs & decrease displayName length * build branch * updated how saved feeds works * build algos branch * remove relative imports to @atproto/api * update hot classic name * rm build --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com> * v0.3.6 * v0.3.7 * v0.1.10 * update name of skyline * build branch * aws build * getFeedGenerators test * For now only use new replyRef union for custom feeds, for compat * Don't use replyRef union on new feeds yet --------- Co-authored-by: Devin Ivy <devinivy@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
- Loading branch information
1 parent
0899510
commit 8059e07
Showing
114 changed files
with
6,568 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
- custom-feeds | ||
env: | ||
REGISTRY: ghcr.io | ||
USERNAME: ${{ github.actor }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.describeFeedGenerator", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Returns information about a given feed generator including TOS & offered feed URIs", | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["did", "feeds"], | ||
"properties": { | ||
"did": {"type": "string", "format": "did"}, | ||
"feeds": { | ||
"type": "array", | ||
"items": {"type": "ref", "ref": "#feed"} | ||
}, | ||
"links": {"type": "ref", "ref": "#links"} | ||
} | ||
} | ||
} | ||
}, | ||
"feed": { | ||
"type": "object", | ||
"required": ["uri"], | ||
"properties": { | ||
"uri": {"type": "string", "format": "at-uri"} | ||
} | ||
}, | ||
"links": { | ||
"type": "object", | ||
"properties": { | ||
"privacyPolicy": {"type": "string"}, | ||
"termsOfService": {"type": "string"} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.generator", | ||
"defs": { | ||
"main": { | ||
"type": "record", | ||
"description": "A declaration of the existence of a feed generator", | ||
"key": "any", | ||
"record": { | ||
"type": "object", | ||
"required": ["did", "displayName", "createdAt"], | ||
"properties": { | ||
"did": {"type": "string", "format": "did"}, | ||
"displayName": {"type": "string", "maxGraphemes": 24, "maxLength": 240}, | ||
"description": {"type": "string", "maxGraphemes": 300, "maxLength": 3000}, | ||
"descriptionFacets": { | ||
"type": "array", | ||
"items": {"type": "ref", "ref": "app.bsky.richtext.facet"} | ||
}, | ||
"avatar": { | ||
"type": "blob", | ||
"accept": ["image/png", "image/jpeg"], | ||
"maxSize": 1000000 | ||
}, | ||
"createdAt": {"type": "string", "format": "datetime"} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.getActorFeeds", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Retrieve a list of feeds created by a given actor", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["actor"], | ||
"properties": { | ||
"actor": {"type": "string", "format": "at-identifier"}, | ||
"limit": {"type": "integer", "minimum": 1, "maximum": 100, "default": 50}, | ||
"cursor": {"type": "string"} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["feeds"], | ||
"properties": { | ||
"cursor": {"type": "string"}, | ||
"feeds": { | ||
"type": "array", | ||
"items": {"type": "ref", "ref": "app.bsky.feed.defs#generatorView"} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.getFeed", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Compose and hydrate a feed from a user's selected feed generator", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["feed"], | ||
"properties": { | ||
"feed": {"type": "string", "format": "at-uri"}, | ||
"limit": {"type": "integer", "minimum": 1, "maximum": 100, "default": 50}, | ||
"cursor": {"type": "string"} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["feed"], | ||
"properties": { | ||
"cursor": {"type": "string"}, | ||
"feed": { | ||
"type": "array", | ||
"items": {"type": "ref", "ref": "app.bsky.feed.defs#feedViewPost"} | ||
} | ||
} | ||
} | ||
}, | ||
"errors": [ | ||
{"name": "UnknownFeed"} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.getFeedGenerator", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Get information about a specific feed offered by a feed generator, such as its online status", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["feed"], | ||
"properties": { | ||
"feed": {"type": "string", "format": "at-uri"} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["view", "isOnline", "isValid"], | ||
"properties": { | ||
"view": {"type": "ref", "ref": "app.bsky.feed.defs#generatorView"}, | ||
"isOnline": {"type": "boolean"}, | ||
"isValid": {"type": "boolean"} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.getFeedGenerators", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Get information about a list of feed generators", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["feeds"], | ||
"properties": { | ||
"feeds": { | ||
"type": "array", | ||
"items": {"type": "string", "format": "at-uri"} | ||
} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["feeds"], | ||
"properties": { | ||
"feeds": { | ||
"type": "array", | ||
"items": {"type": "ref", "ref": "app.bsky.feed.defs#generatorView"} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.feed.getFeedSkeleton", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "A skeleton of a feed provided by a feed generator", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["feed"], | ||
"properties": { | ||
"feed": {"type": "string", "format": "at-uri"}, | ||
"limit": {"type": "integer", "minimum": 1, "maximum": 100, "default": 50}, | ||
"cursor": {"type": "string"} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["feed"], | ||
"properties": { | ||
"cursor": {"type": "string"}, | ||
"feed": { | ||
"type": "array", | ||
"items": {"type": "ref", "ref": "app.bsky.feed.defs#skeletonFeedPost"} | ||
} | ||
} | ||
} | ||
}, | ||
"errors": [ | ||
{"name": "UnknownFeed"} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.