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 a6191a0d 7544685c

+85 -6
+5
.changeset/floppy-bags-bow.md
··· 1 + --- 2 + "@atcute/bluesky": patch 3 + --- 4 + 5 + pull latest Bluesky lexicons
+1 -1
packages/definitions/bluesky/lexicons/README.md
··· 3 3 this directory contains lexicon documents pulled from the following sources: 4 4 5 5 - https://github.com/bluesky-social/atproto.git 6 - - commit: f7ae44d7f6d83aa97b7bdae1a755fbe321b50d42 6 + - commit: 3ba21f9a36edec348ef14f18a0d6eb2a8d6a82d8
+18
packages/definitions/bluesky/lexicons/app/bsky/actor/defs.json
··· 238 238 "activitySubscription": { 239 239 "type": "ref", 240 240 "ref": "#profileAssociatedActivitySubscription" 241 + }, 242 + "germ": { 243 + "type": "ref", 244 + "ref": "#profileAssociatedGerm" 241 245 } 242 246 } 243 247 }, ··· 248 252 "allowIncoming": { 249 253 "type": "string", 250 254 "knownValues": ["all", "none", "following"] 255 + } 256 + } 257 + }, 258 + "profileAssociatedGerm": { 259 + "type": "object", 260 + "required": ["showButtonTo", "messageMeUrl"], 261 + "properties": { 262 + "messageMeUrl": { 263 + "type": "string", 264 + "format": "uri" 265 + }, 266 + "showButtonTo": { 267 + "type": "string", 268 + "knownValues": ["usersIFollow", "everyone"] 251 269 } 252 270 } 253 271 },
+27
packages/definitions/bluesky/lexicons/app/bsky/authDeleteContent.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "app.bsky.authDeleteContent", 4 + "defs": { 5 + "main": { 6 + "type": "permission-set", 7 + "title": "Delete Bluesky Content", 8 + "title:lang": {}, 9 + "detail": "Clean up public account history: posts, reposts, and likes.", 10 + "detail:lang": {}, 11 + "permissions": [ 12 + { 13 + "type": "permission", 14 + "resource": "repo", 15 + "action": ["delete"], 16 + "collection": [ 17 + "app.bsky.feed.like", 18 + "app.bsky.feed.post", 19 + "app.bsky.feed.postgate", 20 + "app.bsky.feed.repost", 21 + "app.bsky.feed.threadgate" 22 + ] 23 + } 24 + ] 25 + } 26 + } 27 + }
-1
packages/definitions/bluesky/lexicons/app/bsky/authFullApp.json
··· 81 81 "app.bsky.notification.putPreferences", 82 82 "app.bsky.notification.putPreferencesV2", 83 83 "app.bsky.notification.registerPush", 84 - "app.bsky.notification.registerPush", 85 84 "app.bsky.notification.unregisterPush", 86 85 "app.bsky.notification.updateSeen", 87 86 "app.bsky.unspecced.getAgeAssuranceState",
+10
packages/definitions/bluesky/lexicons/app/bsky/embed/video.json
··· 30 30 "aspectRatio": { 31 31 "type": "ref", 32 32 "ref": "app.bsky.embed.defs#aspectRatio" 33 + }, 34 + "presentation": { 35 + "type": "string", 36 + "description": "A hint to the client about how to present the video.", 37 + "knownValues": ["default", "gif"] 33 38 } 34 39 } 35 40 }, ··· 72 77 "aspectRatio": { 73 78 "type": "ref", 74 79 "ref": "app.bsky.embed.defs#aspectRatio" 80 + }, 81 + "presentation": { 82 + "type": "string", 83 + "description": "A hint to the client about how to present the video.", 84 + "knownValues": ["default", "gif"] 75 85 } 76 86 } 77 87 }
+1 -1
packages/definitions/bluesky/lexicons/app/bsky/unspecced/getSuggestedUsers.json
··· 34 34 } 35 35 }, 36 36 "recId": { 37 - "type": "integer", 37 + "type": "string", 38 38 "description": "Snowflake for this recommendation, use when submitting recommendation events." 39 39 } 40 40 }
+1 -1
packages/definitions/bluesky/lexicons/app/bsky/unspecced/getSuggestedUsersSkeleton.json
··· 39 39 } 40 40 }, 41 41 "recId": { 42 - "type": "integer", 42 + "type": "string", 43 43 "description": "Snowflake for this recommendation, use when submitting recommendation events." 44 44 } 45 45 }
+12
packages/definitions/bluesky/lib/lexicons/types/app/bsky/actor/defs.ts
··· 300 300 return /*#__PURE__*/ v.optional(profileAssociatedChatSchema); 301 301 }, 302 302 feedgens: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 303 + get germ() { 304 + return /*#__PURE__*/ v.optional(profileAssociatedGermSchema); 305 + }, 303 306 labeler: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 304 307 lists: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 305 308 starterPacks: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), ··· 313 316 const _profileAssociatedChatSchema = /*#__PURE__*/ v.object({ 314 317 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociatedChat')), 315 318 allowIncoming: /*#__PURE__*/ v.string<'all' | 'following' | 'none' | (string & {})>(), 319 + }); 320 + const _profileAssociatedGermSchema = /*#__PURE__*/ v.object({ 321 + $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileAssociatedGerm')), 322 + messageMeUrl: /*#__PURE__*/ v.genericUriString(), 323 + showButtonTo: /*#__PURE__*/ v.string<'everyone' | 'usersIFollow' | (string & {})>(), 316 324 }); 317 325 const _profileViewSchema = /*#__PURE__*/ v.object({ 318 326 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('app.bsky.actor.defs#profileView')), ··· 607 615 type profileAssociated$schematype = typeof _profileAssociatedSchema; 608 616 type profileAssociatedActivitySubscription$schematype = typeof _profileAssociatedActivitySubscriptionSchema; 609 617 type profileAssociatedChat$schematype = typeof _profileAssociatedChatSchema; 618 + type profileAssociatedGerm$schematype = typeof _profileAssociatedGermSchema; 610 619 type profileView$schematype = typeof _profileViewSchema; 611 620 type profileViewBasic$schematype = typeof _profileViewBasicSchema; 612 621 type profileViewDetailed$schematype = typeof _profileViewDetailedSchema; ··· 642 651 export interface profileAssociatedSchema extends profileAssociated$schematype {} 643 652 export interface profileAssociatedActivitySubscriptionSchema extends profileAssociatedActivitySubscription$schematype {} 644 653 export interface profileAssociatedChatSchema extends profileAssociatedChat$schematype {} 654 + export interface profileAssociatedGermSchema extends profileAssociatedGerm$schematype {} 645 655 export interface profileViewSchema extends profileView$schematype {} 646 656 export interface profileViewBasicSchema extends profileViewBasic$schematype {} 647 657 export interface profileViewDetailedSchema extends profileViewDetailed$schematype {} ··· 679 689 export const profileAssociatedActivitySubscriptionSchema = 680 690 _profileAssociatedActivitySubscriptionSchema as profileAssociatedActivitySubscriptionSchema; 681 691 export const profileAssociatedChatSchema = _profileAssociatedChatSchema as profileAssociatedChatSchema; 692 + export const profileAssociatedGermSchema = _profileAssociatedGermSchema as profileAssociatedGermSchema; 682 693 export const profileViewSchema = _profileViewSchema as profileViewSchema; 683 694 export const profileViewBasicSchema = _profileViewBasicSchema as profileViewBasicSchema; 684 695 export const profileViewDetailedSchema = _profileViewDetailedSchema as profileViewDetailedSchema; ··· 716 727 typeof profileAssociatedActivitySubscriptionSchema 717 728 > {} 718 729 export interface ProfileAssociatedChat extends v.InferInput<typeof profileAssociatedChatSchema> {} 730 + export interface ProfileAssociatedGerm extends v.InferInput<typeof profileAssociatedGermSchema> {} 719 731 export interface ProfileView extends v.InferInput<typeof profileViewSchema> {} 720 732 export interface ProfileViewBasic extends v.InferInput<typeof profileViewBasicSchema> {} 721 733 export interface ProfileViewDetailed extends v.InferInput<typeof profileViewDetailedSchema> {}
+8
packages/definitions/bluesky/lib/lexicons/types/app/bsky/embed/video.ts
··· 37 37 ); 38 38 }, 39 39 /** 40 + * A hint to the client about how to present the video. 41 + */ 42 + presentation: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string<'default' | 'gif' | (string & {})>()), 43 + /** 40 44 * The mp4 video file. May be up to 100mb, formerly limited to 50mb. 41 45 * @accept video/mp4 42 46 * @maxSize 100000000 ··· 60 64 }, 61 65 cid: /*#__PURE__*/ v.cidString(), 62 66 playlist: /*#__PURE__*/ v.genericUriString(), 67 + /** 68 + * A hint to the client about how to present the video. 69 + */ 70 + presentation: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string<'default' | 'gif' | (string & {})>()), 63 71 thumbnail: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()), 64 72 }); 65 73
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsers.ts
··· 29 29 /** 30 30 * Snowflake for this recommendation, use when submitting recommendation events. 31 31 */ 32 - recId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 32 + recId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 33 33 }), 34 34 }, 35 35 });
+1 -1
packages/definitions/bluesky/lib/lexicons/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts
··· 29 29 /** 30 30 * Snowflake for this recommendation, use when submitting recommendation events. 31 31 */ 32 - recId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 32 + recId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 33 33 }), 34 34 }, 35 35 });