forked from bluesky-social/atproto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lexicon: initial starter pack record lexicons * lexicon: first pass on views for starter packs * lexicon: add starter pack query endpoints, misc fixes * lexicon: add starter pack related fields to profile views * lexicon: codegen * api prerelease * bsky: protos for starter packs * appview: implement starter pack endpoints in dataplane, protos update * appview: starter pack hydration and view, mock dataplane indexing * appview: wire-up starter pack graph endpoints * appview: test basic starter packs functionality, update dev-env * fix snaps for profile createdAt * appview: fix list item count for starter packs in dataplane * fix ozone snaps, tidy * appview: reorg list aggs for starter packs * appview: starter pack lexicon and proto tweaks, move around aggregations * appview: fix views and snaps * api prerelease * fix snaps * appview: misc proto updates for starter packs, snaps * appview: add starter pack counts to profile detail * build * api prerelease * pds: starter pack slur detection * lexicon: starter pack notifications and batch fetch * appview: starter pack notification and batch fetch * appview: add starterpack-joined notif to dataplane and test * api prerelease * ozone: fix snaps * pds build * ✨ Proxy starterpack requests through ozone and include takedowns (bluesky-social#2594) * ✨ Proxy starterpack requests through ozone and include takedowns * 🧹 Cleanup * ✅ Commit snapshots * ✅ Update snapshot * lexicon: move starterpacks back to TIDs * changeset --------- Co-authored-by: Foysal Ahamed <[email protected]>
Showing
114 changed files
with
5,935 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@atproto/dev-env": patch | ||
"@atproto/ozone": patch | ||
"@atproto/bsky": patch | ||
"@atproto/api": patch | ||
"@atproto/pds": patch | ||
--- | ||
|
||
Support for starter packs (app.bsky.graph.starterpack) |
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 | ||
- divy/starter-packs | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ on: | |
push: | ||
branches: | ||
- main | ||
- divy/starter-packs | ||
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,41 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.graph.getActorStarterPacks", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Get a list of starter packs created by the 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": ["starterPacks"], | ||
"properties": { | ||
"cursor": { "type": "string" }, | ||
"starterPacks": { | ||
"type": "array", | ||
"items": { | ||
"type": "ref", | ||
"ref": "app.bsky.graph.defs#starterPackViewBasic" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,34 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.graph.getStarterPack", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Gets a view of a starter pack.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["starterPack"], | ||
"properties": { | ||
"starterPack": { | ||
"type": "string", | ||
"format": "at-uri", | ||
"description": "Reference (AT-URI) of the starter pack record." | ||
} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["starterPack"], | ||
"properties": { | ||
"starterPack": { | ||
"type": "ref", | ||
"ref": "app.bsky.graph.defs#starterPackView" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,37 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.graph.getStarterPacks", | ||
"defs": { | ||
"main": { | ||
"type": "query", | ||
"description": "Get views for a list of starter packs.", | ||
"parameters": { | ||
"type": "params", | ||
"required": ["uris"], | ||
"properties": { | ||
"uris": { | ||
"type": "array", | ||
"items": { "type": "string", "format": "at-uri" }, | ||
"maxLength": 25 | ||
} | ||
} | ||
}, | ||
"output": { | ||
"encoding": "application/json", | ||
"schema": { | ||
"type": "object", | ||
"required": ["starterPacks"], | ||
"properties": { | ||
"starterPacks": { | ||
"type": "array", | ||
"items": { | ||
"type": "ref", | ||
"ref": "app.bsky.graph.defs#starterPackViewBasic" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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,51 @@ | ||
{ | ||
"lexicon": 1, | ||
"id": "app.bsky.graph.starterpack", | ||
"defs": { | ||
"main": { | ||
"type": "record", | ||
"description": "Record defining a starter pack of actors and feeds for new users.", | ||
"key": "tid", | ||
"record": { | ||
"type": "object", | ||
"required": ["name", "list", "createdAt"], | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"maxGraphemes": 50, | ||
"maxLength": 500, | ||
"minLength": 1, | ||
"description": "Display name for starter pack; can not be empty." | ||
}, | ||
"description": { | ||
"type": "string", | ||
"maxGraphemes": 300, | ||
"maxLength": 3000 | ||
}, | ||
"descriptionFacets": { | ||
"type": "array", | ||
"items": { "type": "ref", "ref": "app.bsky.richtext.facet" } | ||
}, | ||
"list": { | ||
"type": "string", | ||
"format": "at-uri", | ||
"description": "Reference (AT-URI) to the list record." | ||
}, | ||
"feeds": { | ||
"type": "array", | ||
"maxLength": 3, | ||
"items": { "type": "ref", "ref": "#feedItem" } | ||
}, | ||
"createdAt": { "type": "string", "format": "datetime" } | ||
} | ||
} | ||
}, | ||
"feedItem": { | ||
"type": "object", | ||
"required": ["uri"], | ||
"properties": { | ||
"uri": { "type": "string", "format": "at-uri" } | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.