@atproto/api 0.24.3 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/client/index.d.ts +28 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +35 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +426 -20
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +217 -10
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +15 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js +7 -0
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/actor/link.d.ts +19 -0
- package/dist/client/types/app/bsky/actor/link.d.ts.map +1 -0
- package/dist/client/types/app/bsky/actor/link.js +18 -0
- package/dist/client/types/app/bsky/actor/link.js.map +1 -0
- package/dist/client/types/app/bsky/actor/profile.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts +11 -4
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +49 -2
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js +42 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroupedNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;A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CAAC,EACD,EAAE,EACF,4BAA4B,CAC7B,CAAA;AACH,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.getGroupedNotifications'\n\nexport type QueryParams = {\n /** Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'. */\n feed?:\n | 'all'\n | 'people-i-follow'\n | 'conversations'\n | 'followers'\n | 'activity'\n | (string & {})\n /** Maximum number of groups to return. */\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n /** Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed. */\n groups: Group[]\n seenAt?: string\n /** Reusable views referenced by notifications. Views shared across notifications appear once to avoid duplication. Each group contributes only its first 10 of each related view to this array. Ex: for a group containing likes in a post, we might have a large number of likeItem (e.g., 50) in a group, but only the profile views for the newest 10 items will be included here. */\n relatedViews?: (\n | $Typed<AppBskyActorDefs.ProfileViewDetailed>\n | $Typed<AppBskyFeedDefs.BlockedPost>\n | $Typed<AppBskyFeedDefs.GeneratorView>\n | $Typed<AppBskyFeedDefs.NotFoundPost>\n | $Typed<AppBskyFeedDefs.PostView>\n | $Typed<AppBskyGraphDefs.StarterPackView>\n | { $type: string }\n )[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\nexport interface Group {\n $type?: 'app.bsky.notification.getGroupedNotifications#group'\n id: string\n isRead: boolean\n indexedAt: string\n count: number\n kind:\n | $Typed<LikeGroup>\n | $Typed<MultiPostLikeGroup>\n | $Typed<RepostGroup>\n | $Typed<LikeViaRepostGroup>\n | $Typed<RepostViaRepostGroup>\n | $Typed<FollowGroup>\n | $Typed<SubscribedPostGroup>\n | $Typed<GeneratorLikeGroup>\n | $Typed<ReplyNotification>\n | $Typed<QuoteNotification>\n | $Typed<MentionNotification>\n | $Typed<FollowBackNotification>\n | $Typed<VerifiedNotification>\n | $Typed<UnverifiedNotification>\n | $Typed<StarterPackJoinedNotification>\n | $Typed<ContactMatchNotification>\n | { $type: string }\n}\n\nconst hashGroup = 'group'\n\nexport function isGroup<V>(v: V) {\n return is$typed(v, id, hashGroup)\n}\n\nexport function validateGroup<V>(v: V) {\n return validate<Group & V>(v, id, hashGroup)\n}\n\n/** Group of likes by different actors on the same post. */\nexport interface LikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeGroup'\n post: string\n items: LikeItem[]\n}\n\nconst hashLikeGroup = 'likeGroup'\n\nexport function isLikeGroup<V>(v: V) {\n return is$typed(v, id, hashLikeGroup)\n}\n\nexport function validateLikeGroup<V>(v: V) {\n return validate<LikeGroup & V>(v, id, hashLikeGroup)\n}\n\n/** One actor who liked the group's post. */\nexport interface LikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeItem'\n actor: string\n}\n\nconst hashLikeItem = 'likeItem'\n\nexport function isLikeItem<V>(v: V) {\n return is$typed(v, id, hashLikeItem)\n}\n\nexport function validateLikeItem<V>(v: V) {\n return validate<LikeItem & V>(v, id, hashLikeItem)\n}\n\n/** Group of likes by the same actor on different posts. */\nexport interface MultiPostLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup'\n actor: string\n items: MultiPostLikeItem[]\n}\n\nconst hashMultiPostLikeGroup = 'multiPostLikeGroup'\n\nexport function isMultiPostLikeGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeGroup)\n}\n\nexport function validateMultiPostLikeGroup<V>(v: V) {\n return validate<MultiPostLikeGroup & V>(v, id, hashMultiPostLikeGroup)\n}\n\n/** One post which was liked by the group's actor. */\nexport interface MultiPostLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem'\n post: string\n}\n\nconst hashMultiPostLikeItem = 'multiPostLikeItem'\n\nexport function isMultiPostLikeItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeItem)\n}\n\nexport function validateMultiPostLikeItem<V>(v: V) {\n return validate<MultiPostLikeItem & V>(v, id, hashMultiPostLikeItem)\n}\n\n/** Group of reposts by different actors of the same post. */\nexport interface RepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup'\n post: string\n items: RepostItem[]\n}\n\nconst hashRepostGroup = 'repostGroup'\n\nexport function isRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostGroup)\n}\n\nexport function validateRepostGroup<V>(v: V) {\n return validate<RepostGroup & V>(v, id, hashRepostGroup)\n}\n\n/** One actor who reposted the group's post. */\nexport interface RepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostItem'\n actor: string\n}\n\nconst hashRepostItem = 'repostItem'\n\nexport function isRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostItem)\n}\n\nexport function validateRepostItem<V>(v: V) {\n return validate<RepostItem & V>(v, id, hashRepostItem)\n}\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\nexport interface LikeViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup'\n post: string\n viaRepost: string\n items: LikeViaRepostItem[]\n}\n\nconst hashLikeViaRepostGroup = 'likeViaRepostGroup'\n\nexport function isLikeViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostGroup)\n}\n\nexport function validateLikeViaRepostGroup<V>(v: V) {\n return validate<LikeViaRepostGroup & V>(v, id, hashLikeViaRepostGroup)\n}\n\n/** One actor who liked the group's post via the requesting account's repost. */\nexport interface LikeViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem'\n actor: string\n}\n\nconst hashLikeViaRepostItem = 'likeViaRepostItem'\n\nexport function isLikeViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostItem)\n}\n\nexport function validateLikeViaRepostItem<V>(v: V) {\n return validate<LikeViaRepostItem & V>(v, id, hashLikeViaRepostItem)\n}\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\nexport interface RepostViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup'\n post: string\n viaRepost: string\n items: RepostViaRepostItem[]\n}\n\nconst hashRepostViaRepostGroup = 'repostViaRepostGroup'\n\nexport function isRepostViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostGroup)\n}\n\nexport function validateRepostViaRepostGroup<V>(v: V) {\n return validate<RepostViaRepostGroup & V>(v, id, hashRepostViaRepostGroup)\n}\n\n/** One actor who reposted the group's post via the requesting account's repost. */\nexport interface RepostViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem'\n actor: string\n}\n\nconst hashRepostViaRepostItem = 'repostViaRepostItem'\n\nexport function isRepostViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostItem)\n}\n\nexport function validateRepostViaRepostItem<V>(v: V) {\n return validate<RepostViaRepostItem & V>(v, id, hashRepostViaRepostItem)\n}\n\n/** Group of actors who followed the requesting account. */\nexport interface FollowGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#followGroup'\n items: FollowItem[]\n}\n\nconst hashFollowGroup = 'followGroup'\n\nexport function isFollowGroup<V>(v: V) {\n return is$typed(v, id, hashFollowGroup)\n}\n\nexport function validateFollowGroup<V>(v: V) {\n return validate<FollowGroup & V>(v, id, hashFollowGroup)\n}\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\nexport interface FollowItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#followItem'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowItem = 'followItem'\n\nexport function isFollowItem<V>(v: V) {\n return is$typed(v, id, hashFollowItem)\n}\n\nexport function validateFollowItem<V>(v: V) {\n return validate<FollowItem & V>(v, id, hashFollowItem)\n}\n\n/** Group of new posts by actors the requesting account subscribes to. */\nexport interface SubscribedPostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup'\n items: SubscribedPostItem[]\n}\n\nconst hashSubscribedPostGroup = 'subscribedPostGroup'\n\nexport function isSubscribedPostGroup<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostGroup)\n}\n\nexport function validateSubscribedPostGroup<V>(v: V) {\n return validate<SubscribedPostGroup & V>(v, id, hashSubscribedPostGroup)\n}\n\n/** One new post by an actor the requesting account subscribes to. */\nexport interface SubscribedPostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem'\n actor: string\n post: string\n}\n\nconst hashSubscribedPostItem = 'subscribedPostItem'\n\nexport function isSubscribedPostItem<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostItem)\n}\n\nexport function validateSubscribedPostItem<V>(v: V) {\n return validate<SubscribedPostItem & V>(v, id, hashSubscribedPostItem)\n}\n\n/** Group of likes by different actors on the same feed generator. */\nexport interface GeneratorLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup'\n generator: string\n items: GeneratorLikeItem[]\n}\n\nconst hashGeneratorLikeGroup = 'generatorLikeGroup'\n\nexport function isGeneratorLikeGroup<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeGroup)\n}\n\nexport function validateGeneratorLikeGroup<V>(v: V) {\n return validate<GeneratorLikeGroup & V>(v, id, hashGeneratorLikeGroup)\n}\n\n/** One actor who liked the feed generator in the group. */\nexport interface GeneratorLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem'\n actor: string\n}\n\nconst hashGeneratorLikeItem = 'generatorLikeItem'\n\nexport function isGeneratorLikeItem<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeItem)\n}\n\nexport function validateGeneratorLikeItem<V>(v: V) {\n return validate<GeneratorLikeItem & V>(v, id, hashGeneratorLikeItem)\n}\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\nexport interface ReplyNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#replyNotification'\n post: string\n parent: string\n}\n\nconst hashReplyNotification = 'replyNotification'\n\nexport function isReplyNotification<V>(v: V) {\n return is$typed(v, id, hashReplyNotification)\n}\n\nexport function validateReplyNotification<V>(v: V) {\n return validate<ReplyNotification & V>(v, id, hashReplyNotification)\n}\n\n/** A post quoting a post by the requesting account. */\nexport interface QuoteNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification'\n post: string\n parent?: string\n}\n\nconst hashQuoteNotification = 'quoteNotification'\n\nexport function isQuoteNotification<V>(v: V) {\n return is$typed(v, id, hashQuoteNotification)\n}\n\nexport function validateQuoteNotification<V>(v: V) {\n return validate<QuoteNotification & V>(v, id, hashQuoteNotification)\n}\n\n/** A post mentioning the requesting account. */\nexport interface MentionNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification'\n post: string\n parent?: string\n}\n\nconst hashMentionNotification = 'mentionNotification'\n\nexport function isMentionNotification<V>(v: V) {\n return is$typed(v, id, hashMentionNotification)\n}\n\nexport function validateMentionNotification<V>(v: V) {\n return validate<MentionNotification & V>(v, id, hashMentionNotification)\n}\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\nexport interface FollowBackNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowBackNotification = 'followBackNotification'\n\nexport function isFollowBackNotification<V>(v: V) {\n return is$typed(v, id, hashFollowBackNotification)\n}\n\nexport function validateFollowBackNotification<V>(v: V) {\n return validate<FollowBackNotification & V>(v, id, hashFollowBackNotification)\n}\n\n/** An actor verified the requesting account. */\nexport interface VerifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification'\n actor: string\n}\n\nconst hashVerifiedNotification = 'verifiedNotification'\n\nexport function isVerifiedNotification<V>(v: V) {\n return is$typed(v, id, hashVerifiedNotification)\n}\n\nexport function validateVerifiedNotification<V>(v: V) {\n return validate<VerifiedNotification & V>(v, id, hashVerifiedNotification)\n}\n\n/** A verification of the requesting account was removed. */\nexport interface UnverifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification'\n actor: string\n}\n\nconst hashUnverifiedNotification = 'unverifiedNotification'\n\nexport function isUnverifiedNotification<V>(v: V) {\n return is$typed(v, id, hashUnverifiedNotification)\n}\n\nexport function validateUnverifiedNotification<V>(v: V) {\n return validate<UnverifiedNotification & V>(v, id, hashUnverifiedNotification)\n}\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\nexport interface StarterPackJoinedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification'\n actor: string\n starterPack: string\n}\n\nconst hashStarterPackJoinedNotification = 'starterPackJoinedNotification'\n\nexport function isStarterPackJoinedNotification<V>(v: V) {\n return is$typed(v, id, hashStarterPackJoinedNotification)\n}\n\nexport function validateStarterPackJoinedNotification<V>(v: V) {\n return validate<StarterPackJoinedNotification & V>(\n v,\n id,\n hashStarterPackJoinedNotification,\n )\n}\n\n/** A contact of the requesting account joined Bluesky. */\nexport interface ContactMatchNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification'\n actor: string\n}\n\nconst hashContactMatchNotification = 'contactMatchNotification'\n\nexport function isContactMatchNotification<V>(v: V) {\n return is$typed(v, id, hashContactMatchNotification)\n}\n\nexport function validateContactMatchNotification<V>(v: V) {\n return validate<ContactMatchNotification & V>(\n v,\n id,\n hashContactMatchNotification,\n )\n}\n"]}
|
|
1
|
+
{"version":3,"file":"getGroupedNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getGroupedNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAK5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+CAA+C,CAAA;AA6C1D,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAgCD,MAAM,SAAS,GAAG,OAAO,CAAA;AAEzB,MAAM,UAAU,OAAO,CAAI,CAAI;IAC7B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AACnC,CAAC;AAED,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAY,CAAC,EAAE,EAAE,EAAE,SAAS,CAAC,CAAA;AAC9C,CAAC;AASD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,MAAM,UAAU,WAAW,CAAI,CAAI;IACjC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACvC,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAgB,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACtD,CAAC;AAQD,MAAM,YAAY,GAAG,UAAU,CAAA;AAE/B,MAAM,UAAU,UAAU,CAAI,CAAI;IAChC,OAAO,QAAQ,CAA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D,OAAO,QAAQ,CAA6B,CAAC,EAAE,EAAE,EAAE,0BAA0B,CAAC,CAAA;AAChF,CAAC;AASD,MAAM,iCAAiC,GAAG,+BAA+B,CAAA;AAEzE,MAAM,UAAU,+BAA+B,CAAI,CAAI;IACrD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,iCAAiC,CAAC,CAAA;AAC3D,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAI,CAAI;IAC3D,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,iCAAiC,CAClC,CAAA;AACH,CAAC;AAQD,MAAM,4BAA4B,GAAG,0BAA0B,CAAA;AAE/D,MAAM,UAAU,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,4BAA4B,CAAC,CAAA;AACtD,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAI,CAAI;IACtD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,4BAA4B,CAC7B,CAAA;AACH,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.getGroupedNotifications'\n\nexport type QueryParams = {\n /** Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in 'all' and ungrouped (or rather, in single-item groups) in 'followers'. */\n feed?:\n | 'all'\n | 'people-i-follow'\n | 'conversations'\n | 'followers'\n | 'activity'\n | (string & {})\n /** Maximum number of groups to return. */\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n /** Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed. */\n groups: Group[]\n seenAt?: string\n /** Reusable views referenced by notifications. Views shared across notifications appear once to avoid duplication. Each group contributes only its first 10 of each related view to this array. Ex: for a group containing likes in a post, we might have a large number of likeItem (e.g., 50) in a group, but only the profile views for the newest 10 items will be included here. */\n relatedViews?: (\n | $Typed<AppBskyActorDefs.ProfileViewBasic>\n | $Typed<AppBskyFeedDefs.BlockedPost>\n | $Typed<AppBskyFeedDefs.GeneratorView>\n | $Typed<AppBskyFeedDefs.NotFoundPost>\n | $Typed<AppBskyFeedDefs.PostView>\n | $Typed<AppBskyGraphDefs.StarterPackViewBasic>\n | { $type: string }\n )[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\n/** Contains common metadata and kind-specific data for a notification group or individual notification. */\nexport interface Group {\n $type?: 'app.bsky.notification.getGroupedNotifications#group'\n id: string\n isRead: boolean\n indexedAt: string\n count: number\n kind:\n | $Typed<LikeGroup>\n | $Typed<MultiPostLikeGroup>\n | $Typed<MultiPostRepostGroup>\n | $Typed<MultiPostLikeViaRepostGroup>\n | $Typed<MultiPostRepostViaRepostGroup>\n | $Typed<RepostGroup>\n | $Typed<LikeViaRepostGroup>\n | $Typed<RepostViaRepostGroup>\n | $Typed<FollowGroup>\n | $Typed<SubscribedPostGroup>\n | $Typed<GeneratorLikeGroup>\n | $Typed<ReplyNotification>\n | $Typed<QuoteNotification>\n | $Typed<MentionNotification>\n | $Typed<FollowBackNotification>\n | $Typed<VerifiedNotification>\n | $Typed<UnverifiedNotification>\n | $Typed<StarterPackJoinedNotification>\n | $Typed<ContactMatchNotification>\n | { $type: string }\n}\n\nconst hashGroup = 'group'\n\nexport function isGroup<V>(v: V) {\n return is$typed(v, id, hashGroup)\n}\n\nexport function validateGroup<V>(v: V) {\n return validate<Group & V>(v, id, hashGroup)\n}\n\n/** Group of likes by different actors on the same post. */\nexport interface LikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeGroup'\n post: string\n items: LikeItem[]\n}\n\nconst hashLikeGroup = 'likeGroup'\n\nexport function isLikeGroup<V>(v: V) {\n return is$typed(v, id, hashLikeGroup)\n}\n\nexport function validateLikeGroup<V>(v: V) {\n return validate<LikeGroup & V>(v, id, hashLikeGroup)\n}\n\n/** One actor who liked the group's post. */\nexport interface LikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeItem'\n actor: string\n}\n\nconst hashLikeItem = 'likeItem'\n\nexport function isLikeItem<V>(v: V) {\n return is$typed(v, id, hashLikeItem)\n}\n\nexport function validateLikeItem<V>(v: V) {\n return validate<LikeItem & V>(v, id, hashLikeItem)\n}\n\n/** Group of likes by the same actor on different posts. */\nexport interface MultiPostLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeGroup'\n actor: string\n items: MultiPostLikeItem[]\n}\n\nconst hashMultiPostLikeGroup = 'multiPostLikeGroup'\n\nexport function isMultiPostLikeGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeGroup)\n}\n\nexport function validateMultiPostLikeGroup<V>(v: V) {\n return validate<MultiPostLikeGroup & V>(v, id, hashMultiPostLikeGroup)\n}\n\n/** One post which was liked by the group's actor. */\nexport interface MultiPostLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeItem'\n post: string\n}\n\nconst hashMultiPostLikeItem = 'multiPostLikeItem'\n\nexport function isMultiPostLikeItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeItem)\n}\n\nexport function validateMultiPostLikeItem<V>(v: V) {\n return validate<MultiPostLikeItem & V>(v, id, hashMultiPostLikeItem)\n}\n\n/** Group of reposts by the same actor of different posts. */\nexport interface MultiPostRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostGroup'\n actor: string\n items: MultiPostRepostItem[]\n}\n\nconst hashMultiPostRepostGroup = 'multiPostRepostGroup'\n\nexport function isMultiPostRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostGroup)\n}\n\nexport function validateMultiPostRepostGroup<V>(v: V) {\n return validate<MultiPostRepostGroup & V>(v, id, hashMultiPostRepostGroup)\n}\n\n/** One post which was reposted by the group's actor. */\nexport interface MultiPostRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostItem'\n post: string\n}\n\nconst hashMultiPostRepostItem = 'multiPostRepostItem'\n\nexport function isMultiPostRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostItem)\n}\n\nexport function validateMultiPostRepostItem<V>(v: V) {\n return validate<MultiPostRepostItem & V>(v, id, hashMultiPostRepostItem)\n}\n\n/** Group of likes by the same actor on different posts via the requesting account's reposts. */\nexport interface MultiPostLikeViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostGroup'\n actor: string\n items: MultiPostLikeViaRepostItem[]\n}\n\nconst hashMultiPostLikeViaRepostGroup = 'multiPostLikeViaRepostGroup'\n\nexport function isMultiPostLikeViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeViaRepostGroup)\n}\n\nexport function validateMultiPostLikeViaRepostGroup<V>(v: V) {\n return validate<MultiPostLikeViaRepostGroup & V>(\n v,\n id,\n hashMultiPostLikeViaRepostGroup,\n )\n}\n\n/** One post which was liked by the group's actor via the requesting account's repost. */\nexport interface MultiPostLikeViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostLikeViaRepostItem'\n post: string\n viaRepost: string\n}\n\nconst hashMultiPostLikeViaRepostItem = 'multiPostLikeViaRepostItem'\n\nexport function isMultiPostLikeViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostLikeViaRepostItem)\n}\n\nexport function validateMultiPostLikeViaRepostItem<V>(v: V) {\n return validate<MultiPostLikeViaRepostItem & V>(\n v,\n id,\n hashMultiPostLikeViaRepostItem,\n )\n}\n\n/** Group of reposts by the same actor of different posts via the requesting account's reposts. */\nexport interface MultiPostRepostViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostGroup'\n actor: string\n items: MultiPostRepostViaRepostItem[]\n}\n\nconst hashMultiPostRepostViaRepostGroup = 'multiPostRepostViaRepostGroup'\n\nexport function isMultiPostRepostViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostViaRepostGroup)\n}\n\nexport function validateMultiPostRepostViaRepostGroup<V>(v: V) {\n return validate<MultiPostRepostViaRepostGroup & V>(\n v,\n id,\n hashMultiPostRepostViaRepostGroup,\n )\n}\n\n/** One post which was reposted by the group's actor via the requesting account's repost. */\nexport interface MultiPostRepostViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#multiPostRepostViaRepostItem'\n post: string\n viaRepost: string\n}\n\nconst hashMultiPostRepostViaRepostItem = 'multiPostRepostViaRepostItem'\n\nexport function isMultiPostRepostViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashMultiPostRepostViaRepostItem)\n}\n\nexport function validateMultiPostRepostViaRepostItem<V>(v: V) {\n return validate<MultiPostRepostViaRepostItem & V>(\n v,\n id,\n hashMultiPostRepostViaRepostItem,\n )\n}\n\n/** Group of reposts by different actors of the same post. */\nexport interface RepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostGroup'\n post: string\n items: RepostItem[]\n}\n\nconst hashRepostGroup = 'repostGroup'\n\nexport function isRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostGroup)\n}\n\nexport function validateRepostGroup<V>(v: V) {\n return validate<RepostGroup & V>(v, id, hashRepostGroup)\n}\n\n/** One actor who reposted the group's post. */\nexport interface RepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostItem'\n actor: string\n}\n\nconst hashRepostItem = 'repostItem'\n\nexport function isRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostItem)\n}\n\nexport function validateRepostItem<V>(v: V) {\n return validate<RepostItem & V>(v, id, hashRepostItem)\n}\n\n/** Group of likes by different actors on the same post via the requesting account's repost. */\nexport interface LikeViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostGroup'\n post: string\n viaRepost: string\n items: LikeViaRepostItem[]\n}\n\nconst hashLikeViaRepostGroup = 'likeViaRepostGroup'\n\nexport function isLikeViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostGroup)\n}\n\nexport function validateLikeViaRepostGroup<V>(v: V) {\n return validate<LikeViaRepostGroup & V>(v, id, hashLikeViaRepostGroup)\n}\n\n/** One actor who liked the group's post via the requesting account's repost. */\nexport interface LikeViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#likeViaRepostItem'\n actor: string\n}\n\nconst hashLikeViaRepostItem = 'likeViaRepostItem'\n\nexport function isLikeViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashLikeViaRepostItem)\n}\n\nexport function validateLikeViaRepostItem<V>(v: V) {\n return validate<LikeViaRepostItem & V>(v, id, hashLikeViaRepostItem)\n}\n\n/** Group of reposts by different actors of the same post via the requesting account's repost. */\nexport interface RepostViaRepostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostGroup'\n post: string\n viaRepost: string\n items: RepostViaRepostItem[]\n}\n\nconst hashRepostViaRepostGroup = 'repostViaRepostGroup'\n\nexport function isRepostViaRepostGroup<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostGroup)\n}\n\nexport function validateRepostViaRepostGroup<V>(v: V) {\n return validate<RepostViaRepostGroup & V>(v, id, hashRepostViaRepostGroup)\n}\n\n/** One actor who reposted the group's post via the requesting account's repost. */\nexport interface RepostViaRepostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#repostViaRepostItem'\n actor: string\n}\n\nconst hashRepostViaRepostItem = 'repostViaRepostItem'\n\nexport function isRepostViaRepostItem<V>(v: V) {\n return is$typed(v, id, hashRepostViaRepostItem)\n}\n\nexport function validateRepostViaRepostItem<V>(v: V) {\n return validate<RepostViaRepostItem & V>(v, id, hashRepostViaRepostItem)\n}\n\n/** Group of actors who followed the requesting account. */\nexport interface FollowGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#followGroup'\n items: FollowItem[]\n}\n\nconst hashFollowGroup = 'followGroup'\n\nexport function isFollowGroup<V>(v: V) {\n return is$typed(v, id, hashFollowGroup)\n}\n\nexport function validateFollowGroup<V>(v: V) {\n return validate<FollowGroup & V>(v, id, hashFollowGroup)\n}\n\n/** An actor who followed the requesting account, possibly via a starter pack. */\nexport interface FollowItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#followItem'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowItem = 'followItem'\n\nexport function isFollowItem<V>(v: V) {\n return is$typed(v, id, hashFollowItem)\n}\n\nexport function validateFollowItem<V>(v: V) {\n return validate<FollowItem & V>(v, id, hashFollowItem)\n}\n\n/** Group of new posts by actors the requesting account subscribes to. */\nexport interface SubscribedPostGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostGroup'\n items: SubscribedPostItem[]\n}\n\nconst hashSubscribedPostGroup = 'subscribedPostGroup'\n\nexport function isSubscribedPostGroup<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostGroup)\n}\n\nexport function validateSubscribedPostGroup<V>(v: V) {\n return validate<SubscribedPostGroup & V>(v, id, hashSubscribedPostGroup)\n}\n\n/** One new post by an actor the requesting account subscribes to. */\nexport interface SubscribedPostItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#subscribedPostItem'\n actor: string\n post: string\n}\n\nconst hashSubscribedPostItem = 'subscribedPostItem'\n\nexport function isSubscribedPostItem<V>(v: V) {\n return is$typed(v, id, hashSubscribedPostItem)\n}\n\nexport function validateSubscribedPostItem<V>(v: V) {\n return validate<SubscribedPostItem & V>(v, id, hashSubscribedPostItem)\n}\n\n/** Group of likes by different actors on the same feed generator. */\nexport interface GeneratorLikeGroup {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeGroup'\n generator: string\n items: GeneratorLikeItem[]\n}\n\nconst hashGeneratorLikeGroup = 'generatorLikeGroup'\n\nexport function isGeneratorLikeGroup<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeGroup)\n}\n\nexport function validateGeneratorLikeGroup<V>(v: V) {\n return validate<GeneratorLikeGroup & V>(v, id, hashGeneratorLikeGroup)\n}\n\n/** One actor who liked the feed generator in the group. */\nexport interface GeneratorLikeItem {\n $type?: 'app.bsky.notification.getGroupedNotifications#generatorLikeItem'\n actor: string\n}\n\nconst hashGeneratorLikeItem = 'generatorLikeItem'\n\nexport function isGeneratorLikeItem<V>(v: V) {\n return is$typed(v, id, hashGeneratorLikeItem)\n}\n\nexport function validateGeneratorLikeItem<V>(v: V) {\n return validate<GeneratorLikeItem & V>(v, id, hashGeneratorLikeItem)\n}\n\n/** A reply to a post by the requesting account or to a thread they are participating in. */\nexport interface ReplyNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#replyNotification'\n post: string\n parent: string\n}\n\nconst hashReplyNotification = 'replyNotification'\n\nexport function isReplyNotification<V>(v: V) {\n return is$typed(v, id, hashReplyNotification)\n}\n\nexport function validateReplyNotification<V>(v: V) {\n return validate<ReplyNotification & V>(v, id, hashReplyNotification)\n}\n\n/** A post quoting a post by the requesting account. */\nexport interface QuoteNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#quoteNotification'\n post: string\n parent?: string\n}\n\nconst hashQuoteNotification = 'quoteNotification'\n\nexport function isQuoteNotification<V>(v: V) {\n return is$typed(v, id, hashQuoteNotification)\n}\n\nexport function validateQuoteNotification<V>(v: V) {\n return validate<QuoteNotification & V>(v, id, hashQuoteNotification)\n}\n\n/** A post mentioning the requesting account. */\nexport interface MentionNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#mentionNotification'\n post: string\n parent?: string\n}\n\nconst hashMentionNotification = 'mentionNotification'\n\nexport function isMentionNotification<V>(v: V) {\n return is$typed(v, id, hashMentionNotification)\n}\n\nexport function validateMentionNotification<V>(v: V) {\n return validate<MentionNotification & V>(v, id, hashMentionNotification)\n}\n\n/** An actor followed the requesting account back, possibly via a starter pack. */\nexport interface FollowBackNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#followBackNotification'\n actor: string\n starterPack?: string\n}\n\nconst hashFollowBackNotification = 'followBackNotification'\n\nexport function isFollowBackNotification<V>(v: V) {\n return is$typed(v, id, hashFollowBackNotification)\n}\n\nexport function validateFollowBackNotification<V>(v: V) {\n return validate<FollowBackNotification & V>(v, id, hashFollowBackNotification)\n}\n\n/** An actor verified the requesting account. */\nexport interface VerifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#verifiedNotification'\n actor: string\n}\n\nconst hashVerifiedNotification = 'verifiedNotification'\n\nexport function isVerifiedNotification<V>(v: V) {\n return is$typed(v, id, hashVerifiedNotification)\n}\n\nexport function validateVerifiedNotification<V>(v: V) {\n return validate<VerifiedNotification & V>(v, id, hashVerifiedNotification)\n}\n\n/** A verification of the requesting account was removed. */\nexport interface UnverifiedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#unverifiedNotification'\n actor: string\n}\n\nconst hashUnverifiedNotification = 'unverifiedNotification'\n\nexport function isUnverifiedNotification<V>(v: V) {\n return is$typed(v, id, hashUnverifiedNotification)\n}\n\nexport function validateUnverifiedNotification<V>(v: V) {\n return validate<UnverifiedNotification & V>(v, id, hashUnverifiedNotification)\n}\n\n/** An actor joined Bluesky via a starter pack created by the requesting account. */\nexport interface StarterPackJoinedNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#starterPackJoinedNotification'\n actor: string\n starterPack: string\n}\n\nconst hashStarterPackJoinedNotification = 'starterPackJoinedNotification'\n\nexport function isStarterPackJoinedNotification<V>(v: V) {\n return is$typed(v, id, hashStarterPackJoinedNotification)\n}\n\nexport function validateStarterPackJoinedNotification<V>(v: V) {\n return validate<StarterPackJoinedNotification & V>(\n v,\n id,\n hashStarterPackJoinedNotification,\n )\n}\n\n/** A contact of the requesting account joined Bluesky. */\nexport interface ContactMatchNotification {\n $type?: 'app.bsky.notification.getGroupedNotifications#contactMatchNotification'\n actor: string\n}\n\nconst hashContactMatchNotification = 'contactMatchNotification'\n\nexport function isContactMatchNotification<V>(v: V) {\n return is$typed(v, id, hashContactMatchNotification)\n}\n\nexport function validateContactMatchNotification<V>(v: V) {\n return validate<ContactMatchNotification & V>(\n v,\n id,\n hashContactMatchNotification,\n )\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"multiformats": "^13.0.0",
|
|
36
36
|
"tlds": "^1.234.0",
|
|
37
37
|
"zod": "^3.23.8",
|
|
38
|
-
"@atproto/lexicon": "^0.7.16",
|
|
39
38
|
"@atproto/common-web": "^0.5.14",
|
|
39
|
+
"@atproto/xrpc": "^0.8.15",
|
|
40
40
|
"@atproto/syntax": "^0.7.6",
|
|
41
|
-
"@atproto/
|
|
41
|
+
"@atproto/lexicon": "^0.7.16"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@jest/globals": "^28.1.3",
|