Skip to content

Commit

Permalink
Revise and clean up APIs, update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Apr 21, 2024
1 parent a8f2bcd commit 0d3dca9
Show file tree
Hide file tree
Showing 4 changed files with 558 additions and 432 deletions.
33 changes: 33 additions & 0 deletions lexicons/app/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
"#adultContentPref",
"#contentLabelPref",
"#savedFeedsPref",
"#savedFeedsPrefV2",
"#personalDetailsPref",
"#feedViewPref",
"#threadViewPref",
Expand Down Expand Up @@ -154,6 +155,38 @@
}
}
},
"savedFeed": {
"type": "object",
"required": ["id", "type", "value", "pinned"],
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string",
"knownValues": ["feed", "list", "timeline"]
},
"value": {
"type": "string"
},
"pinned": {
"type": "boolean"
}
}
},
"savedFeedsPrefV2": {
"type": "object",
"required": ["items"],
"properties": {
"items": {
"type": "array",
"items": {
"type": "ref",
"ref": "app.bsky.actor.defs#savedFeed"
}
}
}
},
"savedFeedsPref": {
"type": "object",
"required": ["pinned", "saved"],
Expand Down

0 comments on commit 0d3dca9

Please sign in to comment.