a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

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

chore(bluesky): pull latest Bluesky lexicons

Mary d798d910 1096025a

+51 -6
+5
.changeset/icy-trams-love.md
··· 1 + --- 2 + '@atcute/bluesky': patch 3 + --- 4 + 5 + pull latest Bluesky lexicons
+1 -1
lexdocs/bluesky/README.md
··· 1 - https://github.com/bluesky-social/atproto/tree/86b3153884099ceeb0cfdb9d2bfdd447c39fb35a/lexicons 1 + https://github.com/bluesky-social/atproto/tree/79a75bb1ed8fc14cefa246621fe1faeebf3fc159/lexicons/
+12
lexdocs/bluesky/app/bsky/feed/defs.json
··· 66 66 "type": "string", 67 67 "description": "Context provided by feed generator that may be passed back alongside interactions.", 68 68 "maxLength": 2000 69 + }, 70 + "reqId": { 71 + "type": "string", 72 + "description": "Unique identifier per request that may be passed back alongside interactions.", 73 + "maxLength": 100 69 74 } 70 75 } 71 76 }, ··· 93 98 "required": ["by", "indexedAt"], 94 99 "properties": { 95 100 "by": { "type": "ref", "ref": "app.bsky.actor.defs#profileViewBasic" }, 101 + "uri": { "type": "string", "format": "at-uri" }, 102 + "cid": { "type": "string", "format": "cid" }, 96 103 "indexedAt": { "type": "string", "format": "datetime" } 97 104 } 98 105 }, ··· 247 254 "type": "string", 248 255 "description": "Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.", 249 256 "maxLength": 2000 257 + }, 258 + "reqId": { 259 + "type": "string", 260 + "description": "Unique identifier per request that may be passed back alongside interactions.", 261 + "maxLength": 100 250 262 } 251 263 } 252 264 },
+5
lexdocs/bluesky/app/bsky/feed/getFeedSkeleton.json
··· 36 36 "type": "ref", 37 37 "ref": "app.bsky.feed.defs#skeletonFeedPost" 38 38 } 39 + }, 40 + "reqId": { 41 + "type": "string", 42 + "description": "Unique identifier per request that may be passed back alongside interactions.", 43 + "maxLength": 100 39 44 } 40 45 } 41 46 }
+2 -1
lexdocs/bluesky/app/bsky/feed/like.json
··· 11 11 "required": ["subject", "createdAt"], 12 12 "properties": { 13 13 "subject": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, 14 - "createdAt": { "type": "string", "format": "datetime" } 14 + "createdAt": { "type": "string", "format": "datetime" }, 15 + "via": { "type": "ref", "ref": "com.atproto.repo.strongRef" } 15 16 } 16 17 } 17 18 }
+2 -1
lexdocs/bluesky/app/bsky/feed/repost.json
··· 11 11 "required": ["subject", "createdAt"], 12 12 "properties": { 13 13 "subject": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, 14 - "createdAt": { "type": "string", "format": "datetime" } 14 + "createdAt": { "type": "string", "format": "datetime" }, 15 + "via": { "type": "ref", "ref": "com.atproto.repo.strongRef" } 15 16 } 16 17 } 17 18 }
+1 -1
lexdocs/bluesky/app/bsky/feed/searchPosts.json
··· 4 4 "defs": { 5 5 "main": { 6 6 "type": "query", 7 - "description": "Find posts matching search criteria, returning views of those posts.", 7 + "description": "Find posts matching search criteria, returning views of those posts. Note that this API endpoint may require authentication (eg, not public) for some service providers and implementations.", 8 8 "parameters": { 9 9 "type": "params", 10 10 "required": ["q"],
+4 -2
lexdocs/bluesky/app/bsky/notification/listNotifications.json
··· 53 53 "author": { "type": "ref", "ref": "app.bsky.actor.defs#profileView" }, 54 54 "reason": { 55 55 "type": "string", 56 - "description": "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', 'starterpack-joined', 'verified', and 'unverified'.", 56 + "description": "The reason why this notification was delivered - e.g. your post was liked, or you received a new follower.", 57 57 "knownValues": [ 58 58 "like", 59 59 "repost", ··· 63 63 "quote", 64 64 "starterpack-joined", 65 65 "verified", 66 - "unverified" 66 + "unverified", 67 + "like-via-repost", 68 + "repost-via-repost" 67 69 ] 68 70 }, 69 71 "reasonSubject": { "type": "string", "format": "at-uri" },
+8
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/defs.ts
··· 45 45 get reply() { 46 46 return /*#__PURE__*/ v.optional(replyRefSchema); 47 47 }, 48 + reqId: /*#__PURE__*/ v.optional( 49 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]), 50 + ), 48 51 }); 49 52 const _generatorViewSchema = /*#__PURE__*/ v.object({ 50 53 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.defs#generatorView')), ··· 107 110 /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 2000)]), 108 111 ), 109 112 item: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 113 + reqId: /*#__PURE__*/ v.optional( 114 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]), 115 + ), 110 116 }); 111 117 const _interactionLikeSchema = /*#__PURE__*/ v.literal('app.bsky.feed.defs#interactionLike'); 112 118 const _interactionQuoteSchema = /*#__PURE__*/ v.literal('app.bsky.feed.defs#interactionQuote'); ··· 161 167 get by() { 162 168 return AppBskyActorDefs.profileViewBasicSchema; 163 169 }, 170 + cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()), 164 171 indexedAt: /*#__PURE__*/ v.datetimeString(), 172 + uri: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 165 173 }); 166 174 const _replyRefSchema = /*#__PURE__*/ v.object({ 167 175 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.feed.defs#replyRef')),
+3
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/getFeedSkeleton.ts
··· 19 19 get feed() { 20 20 return /*#__PURE__*/ v.array(AppBskyFeedDefs.skeletonFeedPostSchema); 21 21 }, 22 + reqId: /*#__PURE__*/ v.optional( 23 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]), 24 + ), 22 25 }), 23 26 }, 24 27 });
+3
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/like.ts
··· 11 11 get subject() { 12 12 return ComAtprotoRepoStrongRef.mainSchema; 13 13 }, 14 + get via() { 15 + return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema); 16 + }, 14 17 }), 15 18 ); 16 19
+3
packages/definitions/bluesky/lib/lexicons/types/app/bsky/feed/repost.ts
··· 11 11 get subject() { 12 12 return ComAtprotoRepoStrongRef.mainSchema; 13 13 }, 14 + get via() { 15 + return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema); 16 + }, 14 17 }), 15 18 ); 16 19
+2
packages/definitions/bluesky/lib/lexicons/types/app/bsky/notification/listNotifications.ts
··· 43 43 reason: /*#__PURE__*/ v.string< 44 44 | 'follow' 45 45 | 'like' 46 + | 'like-via-repost' 46 47 | 'mention' 47 48 | 'quote' 48 49 | 'reply' 49 50 | 'repost' 51 + | 'repost-via-repost' 50 52 | 'starterpack-joined' 51 53 | 'unverified' 52 54 | 'verified'