@atproto/api 0.20.44 → 0.22.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/client/index.d.ts +9 -0
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +17 -0
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/lexicons.d.ts +738 -22
  7. package/dist/client/lexicons.d.ts.map +1 -1
  8. package/dist/client/lexicons.js +399 -11
  9. package/dist/client/lexicons.js.map +1 -1
  10. package/dist/client/types/app/bsky/feed/defs.d.ts +4 -0
  11. package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
  12. package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
  13. package/dist/client/types/app/bsky/feed/getQuotes.d.ts +2 -0
  14. package/dist/client/types/app/bsky/feed/getQuotes.d.ts.map +1 -1
  15. package/dist/client/types/app/bsky/feed/getQuotes.js.map +1 -1
  16. package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +1 -0
  17. package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts.map +1 -1
  18. package/dist/client/types/app/bsky/notification/getUnreadCount.js.map +1 -1
  19. package/dist/client/types/app/bsky/notification/listNotifications.d.ts +3 -0
  20. package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
  21. package/dist/client/types/app/bsky/notification/listNotifications.js.map +1 -1
  22. package/dist/client/types/tools/ozone/inbox/appealActionedSubject.d.ts +65 -0
  23. package/dist/client/types/tools/ozone/inbox/appealActionedSubject.d.ts.map +1 -0
  24. package/dist/client/types/tools/ozone/inbox/appealActionedSubject.js +65 -0
  25. package/dist/client/types/tools/ozone/inbox/appealActionedSubject.js.map +1 -0
  26. package/dist/client/types/tools/ozone/inbox/defs.d.ts +68 -0
  27. package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -0
  28. package/dist/client/types/tools/ozone/inbox/defs.js +38 -0
  29. package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -0
  30. package/dist/client/types/tools/ozone/queue/createQueue.d.ts +2 -0
  31. package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
  32. package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
  33. package/dist/client/types/tools/ozone/queue/defs.d.ts +2 -0
  34. package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
  35. package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
  36. package/dist/client/types/tools/ozone/queue/updateQueue.d.ts +5 -0
  37. package/dist/client/types/tools/ozone/queue/updateQueue.d.ts.map +1 -1
  38. package/dist/client/types/tools/ozone/queue/updateQueue.js +7 -0
  39. package/dist/client/types/tools/ozone/queue/updateQueue.js.map +1 -1
  40. package/dist/client/types/tools/ozone/report/defs.d.ts +49 -9
  41. package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
  42. package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
  43. package/package.json +7 -7
@@ -73,6 +73,10 @@ export interface FeedViewPost {
73
73
  $type?: 'app.bsky.feed.defs#feedViewPost';
74
74
  post: PostView;
75
75
  reply?: ReplyRef;
76
+ /** The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread. */
77
+ opThreadPostIndex?: number;
78
+ /** The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread. */
79
+ opThreadPostCount?: number;
76
80
  reason?: $Typed<ReasonRepost> | $Typed<ReasonPin> | {
77
81
  $type: string;
78
82
  };
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CA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*/\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 AppBskyEmbedImages from '../embed/images.js'\nimport type * as AppBskyEmbedVideo from '../embed/video.js'\nimport type * as AppBskyEmbedGallery from '../embed/gallery.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyEmbedRecord from '../embed/record.js'\nimport type * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyRichtextFacet from '../richtext/facet.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.defs'\n\nexport interface PostView {\n $type?: 'app.bsky.feed.defs#postView'\n uri: string\n cid: string\n author: AppBskyActorDefs.ProfileViewBasic\n record: { [_ in string]: unknown }\n embed?:\n | $Typed<AppBskyEmbedImages.View>\n | $Typed<AppBskyEmbedVideo.View>\n | $Typed<AppBskyEmbedGallery.View>\n | $Typed<AppBskyEmbedExternal.View>\n | $Typed<AppBskyEmbedRecord.View>\n | $Typed<AppBskyEmbedRecordWithMedia.View>\n | { $type: string }\n bookmarkCount?: number\n replyCount?: number\n repostCount?: number\n likeCount?: number\n quoteCount?: number\n indexedAt: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n threadgate?: ThreadgateView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashPostView = 'postView'\n\nexport function isPostView<V>(v: V) {\n return is$typed(v, id, hashPostView)\n}\n\nexport function validatePostView<V>(v: V) {\n return validate<PostView & V>(v, id, hashPostView)\n}\n\n/** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.feed.defs#viewerState'\n repost?: string\n like?: string\n bookmarked?: boolean\n threadMuted?: boolean\n replyDisabled?: boolean\n embeddingDisabled?: boolean\n pinned?: boolean\n knownLikers?: KnownLikers\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\n/** The post's likers whom you also follow */\nexport interface KnownLikers {\n $type?: 'app.bsky.feed.defs#knownLikers'\n count: number\n actors: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashKnownLikers = 'knownLikers'\n\nexport function isKnownLikers<V>(v: V) {\n return is$typed(v, id, hashKnownLikers)\n}\n\nexport function validateKnownLikers<V>(v: V) {\n return validate<KnownLikers & V>(v, id, hashKnownLikers)\n}\n\n/** Metadata about this post within the context of the thread it is in. */\nexport interface ThreadContext {\n $type?: 'app.bsky.feed.defs#threadContext'\n rootAuthorLike?: string\n}\n\nconst hashThreadContext = 'threadContext'\n\nexport function isThreadContext<V>(v: V) {\n return is$typed(v, id, hashThreadContext)\n}\n\nexport function validateThreadContext<V>(v: V) {\n return validate<ThreadContext & V>(v, id, hashThreadContext)\n}\n\nexport interface FeedViewPost {\n $type?: 'app.bsky.feed.defs#feedViewPost'\n post: PostView\n reply?: ReplyRef\n reason?: $Typed<ReasonRepost> | $Typed<ReasonPin> | { $type: string }\n /** Context provided by feed generator that may be passed back alongside interactions. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashFeedViewPost = 'feedViewPost'\n\nexport function isFeedViewPost<V>(v: V) {\n return is$typed(v, id, hashFeedViewPost)\n}\n\nexport function validateFeedViewPost<V>(v: V) {\n return validate<FeedViewPost & V>(v, id, hashFeedViewPost)\n}\n\nexport interface ReplyRef {\n $type?: 'app.bsky.feed.defs#replyRef'\n root:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n parent:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n grandparentAuthor?: AppBskyActorDefs.ProfileViewBasic\n}\n\nconst hashReplyRef = 'replyRef'\n\nexport function isReplyRef<V>(v: V) {\n return is$typed(v, id, hashReplyRef)\n}\n\nexport function validateReplyRef<V>(v: V) {\n return validate<ReplyRef & V>(v, id, hashReplyRef)\n}\n\nexport interface ReasonRepost {\n $type?: 'app.bsky.feed.defs#reasonRepost'\n by: AppBskyActorDefs.ProfileViewBasic\n uri?: string\n cid?: string\n indexedAt: string\n}\n\nconst hashReasonRepost = 'reasonRepost'\n\nexport function isReasonRepost<V>(v: V) {\n return is$typed(v, id, hashReasonRepost)\n}\n\nexport function validateReasonRepost<V>(v: V) {\n return validate<ReasonRepost & V>(v, id, hashReasonRepost)\n}\n\nexport interface ReasonPin {\n $type?: 'app.bsky.feed.defs#reasonPin'\n}\n\nconst hashReasonPin = 'reasonPin'\n\nexport function isReasonPin<V>(v: V) {\n return is$typed(v, id, hashReasonPin)\n}\n\nexport function validateReasonPin<V>(v: V) {\n return validate<ReasonPin & V>(v, id, hashReasonPin)\n}\n\nexport interface ThreadViewPost {\n $type?: 'app.bsky.feed.defs#threadViewPost'\n post: PostView\n parent?:\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n replies?: (\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n )[]\n threadContext?: ThreadContext\n}\n\nconst hashThreadViewPost = 'threadViewPost'\n\nexport function isThreadViewPost<V>(v: V) {\n return is$typed(v, id, hashThreadViewPost)\n}\n\nexport function validateThreadViewPost<V>(v: V) {\n return validate<ThreadViewPost & V>(v, id, hashThreadViewPost)\n}\n\nexport interface NotFoundPost {\n $type?: 'app.bsky.feed.defs#notFoundPost'\n uri: string\n notFound: true\n}\n\nconst hashNotFoundPost = 'notFoundPost'\n\nexport function isNotFoundPost<V>(v: V) {\n return is$typed(v, id, hashNotFoundPost)\n}\n\nexport function validateNotFoundPost<V>(v: V) {\n return validate<NotFoundPost & V>(v, id, hashNotFoundPost)\n}\n\nexport interface BlockedPost {\n $type?: 'app.bsky.feed.defs#blockedPost'\n uri: string\n blocked: true\n author: BlockedAuthor\n}\n\nconst hashBlockedPost = 'blockedPost'\n\nexport function isBlockedPost<V>(v: V) {\n return is$typed(v, id, hashBlockedPost)\n}\n\nexport function validateBlockedPost<V>(v: V) {\n return validate<BlockedPost & V>(v, id, hashBlockedPost)\n}\n\nexport interface BlockedAuthor {\n $type?: 'app.bsky.feed.defs#blockedAuthor'\n did: string\n viewer?: AppBskyActorDefs.ViewerState\n}\n\nconst hashBlockedAuthor = 'blockedAuthor'\n\nexport function isBlockedAuthor<V>(v: V) {\n return is$typed(v, id, hashBlockedAuthor)\n}\n\nexport function validateBlockedAuthor<V>(v: V) {\n return validate<BlockedAuthor & V>(v, id, hashBlockedAuthor)\n}\n\nexport interface GeneratorView {\n $type?: 'app.bsky.feed.defs#generatorView'\n uri: string\n cid: string\n did: string\n creator: AppBskyActorDefs.ProfileView\n displayName: string\n description?: string\n descriptionFacets?: AppBskyRichtextFacet.Main[]\n avatar?: string\n likeCount?: number\n acceptsInteractions?: boolean\n labels?: ComAtprotoLabelDefs.Label[]\n viewer?: GeneratorViewerState\n contentMode?:\n | 'app.bsky.feed.defs#contentModeUnspecified'\n | 'app.bsky.feed.defs#contentModeVideo'\n | (string & {})\n indexedAt: string\n}\n\nconst hashGeneratorView = 'generatorView'\n\nexport function isGeneratorView<V>(v: V) {\n return is$typed(v, id, hashGeneratorView)\n}\n\nexport function validateGeneratorView<V>(v: V) {\n return validate<GeneratorView & V>(v, id, hashGeneratorView)\n}\n\nexport interface GeneratorViewerState {\n $type?: 'app.bsky.feed.defs#generatorViewerState'\n like?: string\n}\n\nconst hashGeneratorViewerState = 'generatorViewerState'\n\nexport function isGeneratorViewerState<V>(v: V) {\n return is$typed(v, id, hashGeneratorViewerState)\n}\n\nexport function validateGeneratorViewerState<V>(v: V) {\n return validate<GeneratorViewerState & V>(v, id, hashGeneratorViewerState)\n}\n\nexport interface SkeletonFeedPost {\n $type?: 'app.bsky.feed.defs#skeletonFeedPost'\n post: string\n reason?:\n $Typed<SkeletonReasonRepost> | $Typed<SkeletonReasonPin> | { $type: string }\n /** Context that will be passed through to client and may be passed to feed generator back alongside interactions. */\n feedContext?: string\n}\n\nconst hashSkeletonFeedPost = 'skeletonFeedPost'\n\nexport function isSkeletonFeedPost<V>(v: V) {\n return is$typed(v, id, hashSkeletonFeedPost)\n}\n\nexport function validateSkeletonFeedPost<V>(v: V) {\n return validate<SkeletonFeedPost & V>(v, id, hashSkeletonFeedPost)\n}\n\nexport interface SkeletonReasonRepost {\n $type?: 'app.bsky.feed.defs#skeletonReasonRepost'\n repost: string\n}\n\nconst hashSkeletonReasonRepost = 'skeletonReasonRepost'\n\nexport function isSkeletonReasonRepost<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonRepost)\n}\n\nexport function validateSkeletonReasonRepost<V>(v: V) {\n return validate<SkeletonReasonRepost & V>(v, id, hashSkeletonReasonRepost)\n}\n\nexport interface SkeletonReasonPin {\n $type?: 'app.bsky.feed.defs#skeletonReasonPin'\n}\n\nconst hashSkeletonReasonPin = 'skeletonReasonPin'\n\nexport function isSkeletonReasonPin<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonPin)\n}\n\nexport function validateSkeletonReasonPin<V>(v: V) {\n return validate<SkeletonReasonPin & V>(v, id, hashSkeletonReasonPin)\n}\n\nexport interface ThreadgateView {\n $type?: 'app.bsky.feed.defs#threadgateView'\n uri?: string\n cid?: string\n record?: { [_ in string]: unknown }\n lists?: AppBskyGraphDefs.ListViewBasic[]\n}\n\nconst hashThreadgateView = 'threadgateView'\n\nexport function isThreadgateView<V>(v: V) {\n return is$typed(v, id, hashThreadgateView)\n}\n\nexport function validateThreadgateView<V>(v: V) {\n return validate<ThreadgateView & V>(v, id, hashThreadgateView)\n}\n\nexport interface Interaction {\n $type?: 'app.bsky.feed.defs#interaction'\n item?: string\n event?:\n | 'app.bsky.feed.defs#requestLess'\n | 'app.bsky.feed.defs#requestMore'\n | 'app.bsky.feed.defs#clickthroughItem'\n | 'app.bsky.feed.defs#clickthroughAuthor'\n | 'app.bsky.feed.defs#clickthroughReposter'\n | 'app.bsky.feed.defs#clickthroughEmbed'\n | 'app.bsky.feed.defs#interactionSeen'\n | 'app.bsky.feed.defs#interactionLike'\n | 'app.bsky.feed.defs#interactionRepost'\n | 'app.bsky.feed.defs#interactionReply'\n | 'app.bsky.feed.defs#interactionQuote'\n | 'app.bsky.feed.defs#interactionShare'\n | (string & {})\n /** Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashInteraction = 'interaction'\n\nexport function isInteraction<V>(v: V) {\n return is$typed(v, id, hashInteraction)\n}\n\nexport function validateInteraction<V>(v: V) {\n return validate<Interaction & V>(v, id, hashInteraction)\n}\n\n/** Request that less content like the given feed item be shown in the feed */\nexport const REQUESTLESS = `${id}#requestLess`\n/** Request that more content like the given feed item be shown in the feed */\nexport const REQUESTMORE = `${id}#requestMore`\n/** User clicked through to the feed item */\nexport const CLICKTHROUGHITEM = `${id}#clickthroughItem`\n/** User clicked through to the author of the feed item */\nexport const CLICKTHROUGHAUTHOR = `${id}#clickthroughAuthor`\n/** User clicked through to the reposter of the feed item */\nexport const CLICKTHROUGHREPOSTER = `${id}#clickthroughReposter`\n/** User clicked through to the embedded content of the feed item */\nexport const CLICKTHROUGHEMBED = `${id}#clickthroughEmbed`\n/** Declares the feed generator returns any types of posts. */\nexport const CONTENTMODEUNSPECIFIED = `${id}#contentModeUnspecified`\n/** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */\nexport const CONTENTMODEVIDEO = `${id}#contentModeVideo`\n/** Feed item was seen by user */\nexport const INTERACTIONSEEN = `${id}#interactionSeen`\n/** User liked the feed item */\nexport const INTERACTIONLIKE = `${id}#interactionLike`\n/** User reposted the feed item */\nexport const INTERACTIONREPOST = `${id}#interactionRepost`\n/** User replied to the feed item */\nexport const INTERACTIONREPLY = `${id}#interactionReply`\n/** User quoted the feed item */\nexport const INTERACTIONQUOTE = `${id}#interactionQuote`\n/** User shared the feed item */\nexport const INTERACTIONSHARE = `${id}#interactionShare`\n"]}
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,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;AAY5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,oBAAoB,CAAA;AA6B/B,MAAM,YAAY,GAAG,UAAU,CAAA;AAE/B,MAAM,UAAU,UAAU,CAAI,CAAI;IAChC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACtC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAe,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACpD,CAAC;AAeD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,E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AG,GAAG,EAAE,cAAc,CAAA;AAC9C,4CAA4C;AAC5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE,qBAAqB,CAAA;AAC5D,4DAA4D;AAC5D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE,uBAAuB,CAAA;AAChE,oEAAoE;AACpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,oBAAoB,CAAA;AAC1D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE,yBAAyB,CAAA;AACpE,wFAAwF;AACxF,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,iCAAiC;AACjC,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,kBAAkB,CAAA;AACtD,+BAA+B;AAC/B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,kBAAkB,CAAA;AACtD,kCAAkC;AAClC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,oBAAoB,CAAA;AAC1D,oCAAoC;AACpC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,gCAAgC;AAChC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,gCAAgC;AAChC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\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 AppBskyEmbedImages from '../embed/images.js'\nimport type * as AppBskyEmbedVideo from '../embed/video.js'\nimport type * as AppBskyEmbedGallery from '../embed/gallery.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyEmbedRecord from '../embed/record.js'\nimport type * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyRichtextFacet from '../richtext/facet.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.defs'\n\nexport interface PostView {\n $type?: 'app.bsky.feed.defs#postView'\n uri: string\n cid: string\n author: AppBskyActorDefs.ProfileViewBasic\n record: { [_ in string]: unknown }\n embed?:\n | $Typed<AppBskyEmbedImages.View>\n | $Typed<AppBskyEmbedVideo.View>\n | $Typed<AppBskyEmbedGallery.View>\n | $Typed<AppBskyEmbedExternal.View>\n | $Typed<AppBskyEmbedRecord.View>\n | $Typed<AppBskyEmbedRecordWithMedia.View>\n | { $type: string }\n bookmarkCount?: number\n replyCount?: number\n repostCount?: number\n likeCount?: number\n quoteCount?: number\n indexedAt: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n threadgate?: ThreadgateView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashPostView = 'postView'\n\nexport function isPostView<V>(v: V) {\n return is$typed(v, id, hashPostView)\n}\n\nexport function validatePostView<V>(v: V) {\n return validate<PostView & V>(v, id, hashPostView)\n}\n\n/** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.feed.defs#viewerState'\n repost?: string\n like?: string\n bookmarked?: boolean\n threadMuted?: boolean\n replyDisabled?: boolean\n embeddingDisabled?: boolean\n pinned?: boolean\n knownLikers?: KnownLikers\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\n/** The post's likers whom you also follow */\nexport interface KnownLikers {\n $type?: 'app.bsky.feed.defs#knownLikers'\n count: number\n actors: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashKnownLikers = 'knownLikers'\n\nexport function isKnownLikers<V>(v: V) {\n return is$typed(v, id, hashKnownLikers)\n}\n\nexport function validateKnownLikers<V>(v: V) {\n return validate<KnownLikers & V>(v, id, hashKnownLikers)\n}\n\n/** Metadata about this post within the context of the thread it is in. */\nexport interface ThreadContext {\n $type?: 'app.bsky.feed.defs#threadContext'\n rootAuthorLike?: string\n}\n\nconst hashThreadContext = 'threadContext'\n\nexport function isThreadContext<V>(v: V) {\n return is$typed(v, id, hashThreadContext)\n}\n\nexport function validateThreadContext<V>(v: V) {\n return validate<ThreadContext & V>(v, id, hashThreadContext)\n}\n\nexport interface FeedViewPost {\n $type?: 'app.bsky.feed.defs#feedViewPost'\n post: PostView\n reply?: ReplyRef\n /** The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread. */\n opThreadPostIndex?: number\n /** The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread. */\n opThreadPostCount?: number\n reason?: $Typed<ReasonRepost> | $Typed<ReasonPin> | { $type: string }\n /** Context provided by feed generator that may be passed back alongside interactions. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashFeedViewPost = 'feedViewPost'\n\nexport function isFeedViewPost<V>(v: V) {\n return is$typed(v, id, hashFeedViewPost)\n}\n\nexport function validateFeedViewPost<V>(v: V) {\n return validate<FeedViewPost & V>(v, id, hashFeedViewPost)\n}\n\nexport interface ReplyRef {\n $type?: 'app.bsky.feed.defs#replyRef'\n root:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n parent:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n grandparentAuthor?: AppBskyActorDefs.ProfileViewBasic\n}\n\nconst hashReplyRef = 'replyRef'\n\nexport function isReplyRef<V>(v: V) {\n return is$typed(v, id, hashReplyRef)\n}\n\nexport function validateReplyRef<V>(v: V) {\n return validate<ReplyRef & V>(v, id, hashReplyRef)\n}\n\nexport interface ReasonRepost {\n $type?: 'app.bsky.feed.defs#reasonRepost'\n by: AppBskyActorDefs.ProfileViewBasic\n uri?: string\n cid?: string\n indexedAt: string\n}\n\nconst hashReasonRepost = 'reasonRepost'\n\nexport function isReasonRepost<V>(v: V) {\n return is$typed(v, id, hashReasonRepost)\n}\n\nexport function validateReasonRepost<V>(v: V) {\n return validate<ReasonRepost & V>(v, id, hashReasonRepost)\n}\n\nexport interface ReasonPin {\n $type?: 'app.bsky.feed.defs#reasonPin'\n}\n\nconst hashReasonPin = 'reasonPin'\n\nexport function isReasonPin<V>(v: V) {\n return is$typed(v, id, hashReasonPin)\n}\n\nexport function validateReasonPin<V>(v: V) {\n return validate<ReasonPin & V>(v, id, hashReasonPin)\n}\n\nexport interface ThreadViewPost {\n $type?: 'app.bsky.feed.defs#threadViewPost'\n post: PostView\n parent?:\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n replies?: (\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n )[]\n threadContext?: ThreadContext\n}\n\nconst hashThreadViewPost = 'threadViewPost'\n\nexport function isThreadViewPost<V>(v: V) {\n return is$typed(v, id, hashThreadViewPost)\n}\n\nexport function validateThreadViewPost<V>(v: V) {\n return validate<ThreadViewPost & V>(v, id, hashThreadViewPost)\n}\n\nexport interface NotFoundPost {\n $type?: 'app.bsky.feed.defs#notFoundPost'\n uri: string\n notFound: true\n}\n\nconst hashNotFoundPost = 'notFoundPost'\n\nexport function isNotFoundPost<V>(v: V) {\n return is$typed(v, id, hashNotFoundPost)\n}\n\nexport function validateNotFoundPost<V>(v: V) {\n return validate<NotFoundPost & V>(v, id, hashNotFoundPost)\n}\n\nexport interface BlockedPost {\n $type?: 'app.bsky.feed.defs#blockedPost'\n uri: string\n blocked: true\n author: BlockedAuthor\n}\n\nconst hashBlockedPost = 'blockedPost'\n\nexport function isBlockedPost<V>(v: V) {\n return is$typed(v, id, hashBlockedPost)\n}\n\nexport function validateBlockedPost<V>(v: V) {\n return validate<BlockedPost & V>(v, id, hashBlockedPost)\n}\n\nexport interface BlockedAuthor {\n $type?: 'app.bsky.feed.defs#blockedAuthor'\n did: string\n viewer?: AppBskyActorDefs.ViewerState\n}\n\nconst hashBlockedAuthor = 'blockedAuthor'\n\nexport function isBlockedAuthor<V>(v: V) {\n return is$typed(v, id, hashBlockedAuthor)\n}\n\nexport function validateBlockedAuthor<V>(v: V) {\n return validate<BlockedAuthor & V>(v, id, hashBlockedAuthor)\n}\n\nexport interface GeneratorView {\n $type?: 'app.bsky.feed.defs#generatorView'\n uri: string\n cid: string\n did: string\n creator: AppBskyActorDefs.ProfileView\n displayName: string\n description?: string\n descriptionFacets?: AppBskyRichtextFacet.Main[]\n avatar?: string\n likeCount?: number\n acceptsInteractions?: boolean\n labels?: ComAtprotoLabelDefs.Label[]\n viewer?: GeneratorViewerState\n contentMode?:\n | 'app.bsky.feed.defs#contentModeUnspecified'\n | 'app.bsky.feed.defs#contentModeVideo'\n | (string & {})\n indexedAt: string\n}\n\nconst hashGeneratorView = 'generatorView'\n\nexport function isGeneratorView<V>(v: V) {\n return is$typed(v, id, hashGeneratorView)\n}\n\nexport function validateGeneratorView<V>(v: V) {\n return validate<GeneratorView & V>(v, id, hashGeneratorView)\n}\n\nexport interface GeneratorViewerState {\n $type?: 'app.bsky.feed.defs#generatorViewerState'\n like?: string\n}\n\nconst hashGeneratorViewerState = 'generatorViewerState'\n\nexport function isGeneratorViewerState<V>(v: V) {\n return is$typed(v, id, hashGeneratorViewerState)\n}\n\nexport function validateGeneratorViewerState<V>(v: V) {\n return validate<GeneratorViewerState & V>(v, id, hashGeneratorViewerState)\n}\n\nexport interface SkeletonFeedPost {\n $type?: 'app.bsky.feed.defs#skeletonFeedPost'\n post: string\n reason?:\n $Typed<SkeletonReasonRepost> | $Typed<SkeletonReasonPin> | { $type: string }\n /** Context that will be passed through to client and may be passed to feed generator back alongside interactions. */\n feedContext?: string\n}\n\nconst hashSkeletonFeedPost = 'skeletonFeedPost'\n\nexport function isSkeletonFeedPost<V>(v: V) {\n return is$typed(v, id, hashSkeletonFeedPost)\n}\n\nexport function validateSkeletonFeedPost<V>(v: V) {\n return validate<SkeletonFeedPost & V>(v, id, hashSkeletonFeedPost)\n}\n\nexport interface SkeletonReasonRepost {\n $type?: 'app.bsky.feed.defs#skeletonReasonRepost'\n repost: string\n}\n\nconst hashSkeletonReasonRepost = 'skeletonReasonRepost'\n\nexport function isSkeletonReasonRepost<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonRepost)\n}\n\nexport function validateSkeletonReasonRepost<V>(v: V) {\n return validate<SkeletonReasonRepost & V>(v, id, hashSkeletonReasonRepost)\n}\n\nexport interface SkeletonReasonPin {\n $type?: 'app.bsky.feed.defs#skeletonReasonPin'\n}\n\nconst hashSkeletonReasonPin = 'skeletonReasonPin'\n\nexport function isSkeletonReasonPin<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonPin)\n}\n\nexport function validateSkeletonReasonPin<V>(v: V) {\n return validate<SkeletonReasonPin & V>(v, id, hashSkeletonReasonPin)\n}\n\nexport interface ThreadgateView {\n $type?: 'app.bsky.feed.defs#threadgateView'\n uri?: string\n cid?: string\n record?: { [_ in string]: unknown }\n lists?: AppBskyGraphDefs.ListViewBasic[]\n}\n\nconst hashThreadgateView = 'threadgateView'\n\nexport function isThreadgateView<V>(v: V) {\n return is$typed(v, id, hashThreadgateView)\n}\n\nexport function validateThreadgateView<V>(v: V) {\n return validate<ThreadgateView & V>(v, id, hashThreadgateView)\n}\n\nexport interface Interaction {\n $type?: 'app.bsky.feed.defs#interaction'\n item?: string\n event?:\n | 'app.bsky.feed.defs#requestLess'\n | 'app.bsky.feed.defs#requestMore'\n | 'app.bsky.feed.defs#clickthroughItem'\n | 'app.bsky.feed.defs#clickthroughAuthor'\n | 'app.bsky.feed.defs#clickthroughReposter'\n | 'app.bsky.feed.defs#clickthroughEmbed'\n | 'app.bsky.feed.defs#interactionSeen'\n | 'app.bsky.feed.defs#interactionLike'\n | 'app.bsky.feed.defs#interactionRepost'\n | 'app.bsky.feed.defs#interactionReply'\n | 'app.bsky.feed.defs#interactionQuote'\n | 'app.bsky.feed.defs#interactionShare'\n | (string & {})\n /** Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashInteraction = 'interaction'\n\nexport function isInteraction<V>(v: V) {\n return is$typed(v, id, hashInteraction)\n}\n\nexport function validateInteraction<V>(v: V) {\n return validate<Interaction & V>(v, id, hashInteraction)\n}\n\n/** Request that less content like the given feed item be shown in the feed */\nexport const REQUESTLESS = `${id}#requestLess`\n/** Request that more content like the given feed item be shown in the feed */\nexport const REQUESTMORE = `${id}#requestMore`\n/** User clicked through to the feed item */\nexport const CLICKTHROUGHITEM = `${id}#clickthroughItem`\n/** User clicked through to the author of the feed item */\nexport const CLICKTHROUGHAUTHOR = `${id}#clickthroughAuthor`\n/** User clicked through to the reposter of the feed item */\nexport const CLICKTHROUGHREPOSTER = `${id}#clickthroughReposter`\n/** User clicked through to the embedded content of the feed item */\nexport const CLICKTHROUGHEMBED = `${id}#clickthroughEmbed`\n/** Declares the feed generator returns any types of posts. */\nexport const CONTENTMODEUNSPECIFIED = `${id}#contentModeUnspecified`\n/** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */\nexport const CONTENTMODEVIDEO = `${id}#contentModeVideo`\n/** Feed item was seen by user */\nexport const INTERACTIONSEEN = `${id}#interactionSeen`\n/** User liked the feed item */\nexport const INTERACTIONLIKE = `${id}#interactionLike`\n/** User reposted the feed item */\nexport const INTERACTIONREPOST = `${id}#interactionRepost`\n/** User replied to the feed item */\nexport const INTERACTIONREPLY = `${id}#interactionReply`\n/** User quoted the feed item */\nexport const INTERACTIONQUOTE = `${id}#interactionQuote`\n/** User shared the feed item */\nexport const INTERACTIONSHARE = `${id}#interactionShare`\n"]}
@@ -10,6 +10,8 @@ export type QueryParams = {
10
10
  cid?: string;
11
11
  limit?: number;
12
12
  cursor?: string;
13
+ /** Ordering of results. 'latest' (default when unset) is newest first; 'top' orders quotes by their like count. */
14
+ sort?: 'latest' | 'top' | (string & {});
13
15
  };
14
16
  export type InputSchema = undefined;
15
17
  export interface OutputSchema {
@@ -1 +1 @@
1
- {"version":3,"file":"getQuotes.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getQuotes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,sFAAsF;IACtF,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAA;CAClC;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
1
+ {"version":3,"file":"getQuotes.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getQuotes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,sFAAsF;IACtF,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,mHAAmH;IACnH,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CACxC,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAA;CAClC;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getQuotes.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getQuotes.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;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yBAAyB,CAAA;AA8BpC,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,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 AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.getQuotes'\n\nexport type QueryParams = {\n /** Reference (AT-URI) of post record */\n uri: string\n /** If supplied, filters to quotes of specific version (by CID) of the post record. */\n cid?: string\n limit?: number\n cursor?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n uri: string\n cid?: string\n cursor?: string\n posts: AppBskyFeedDefs.PostView[]\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"]}
1
+ {"version":3,"file":"getQuotes.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getQuotes.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;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yBAAyB,CAAA;AAgCpC,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,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 AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.getQuotes'\n\nexport type QueryParams = {\n /** Reference (AT-URI) of post record */\n uri: string\n /** If supplied, filters to quotes of specific version (by CID) of the post record. */\n cid?: string\n limit?: number\n cursor?: string\n /** Ordering of results. 'latest' (default when unset) is newest first; 'top' orders quotes by their like count. */\n sort?: 'latest' | 'top' | (string & {})\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n uri: string\n cid?: string\n cursor?: string\n posts: AppBskyFeedDefs.PostView[]\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"]}
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import { type HeadersMap } from '@atproto/xrpc';
5
5
  export type QueryParams = {
6
+ /** Deprecated: this parameter is ignored. */
6
7
  priority?: boolean;
7
8
  seenAt?: string;
8
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"getUnreadCount.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getUnreadCount.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
1
+ {"version":3,"file":"getUnreadCount.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getUnreadCount.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAc1D,MAAM,MAAM,WAAW,GAAG;IACxB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getUnreadCount.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getUnreadCount.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;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA;AAuBjD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,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'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.getUnreadCount'\n\nexport type QueryParams = {\n priority?: boolean\n seenAt?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n count: number\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"]}
1
+ {"version":3,"file":"getUnreadCount.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/getUnreadCount.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;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA;AAwBjD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,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'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.getUnreadCount'\n\nexport type QueryParams = {\n /** Deprecated: this parameter is ignored. */\n priority?: boolean\n seenAt?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n count: number\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"]}
@@ -10,14 +10,17 @@ export type QueryParams = {
10
10
  /** Notification reasons to include in response. */
11
11
  reasons?: string[];
12
12
  limit?: number;
13
+ /** Deprecated: this parameter is ignored. */
13
14
  priority?: boolean;
14
15
  cursor?: string;
16
+ /** Deprecated: this parameter is unsupported and will cause an error. */
15
17
  seenAt?: string;
16
18
  };
17
19
  export type InputSchema = undefined;
18
20
  export interface OutputSchema {
19
21
  cursor?: string;
20
22
  notifications: Notification[];
23
+ /** Deprecated: this field is no longer populated. */
21
24
  priority?: boolean;
22
25
  seenAt?: string;
23
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"listNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAM9E,MAAM,MAAM,WAAW,GAAG;IACxB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,YAAY,EAAE,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,sDAAsD,CAAA;IAC9D,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACpC,iHAAiH;IACjH,MAAM,EACF,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,GACP,oBAAoB,GACpB,UAAU,GACV,YAAY,GACZ,iBAAiB,GACjB,mBAAmB,GACnB,iBAAiB,GACjB,eAAe,GACf,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;IAClC,WAAW,CAAC,EAAE,gBAAgB,CAAC,oBAAoB,CAAA;IACnD,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;CACrC;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iHAErC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sCAE3C"}
1
+ {"version":3,"file":"listNotifications.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EA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,GACP,OAAO,GACP,oBAAoB,GACpB,UAAU,GACV,YAAY,GACZ,iBAAiB,GACjB,mBAAmB,GACnB,iBAAiB,GACjB,eAAe,GACf,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;IAClC,WAAW,CAAC,EAAE,gBAAgB,CAAC,oBAAoB,CAAA;IACnD,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;CACrC;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iHAErC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sCAE3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"listNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.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,yCAAyC,CAAA;AA8BpD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AA+BD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,MAAM,UAAU,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,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 AppBskyGraphDefs from '../graph/defs.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.listNotifications'\n\nexport type QueryParams = {\n /** Notification reasons to include in response. */\n reasons?: string[]\n limit?: number\n priority?: boolean\n cursor?: string\n seenAt?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n notifications: Notification[]\n priority?: boolean\n seenAt?: string\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\nexport interface Notification {\n $type?: 'app.bsky.notification.listNotifications#notification'\n uri: string\n cid: string\n author: AppBskyActorDefs.ProfileView\n /** The reason why this notification was delivered - e.g. your post was liked, or you received a new follower. */\n reason:\n | 'like'\n | 'repost'\n | 'follow'\n | 'mention'\n | 'reply'\n | 'quote'\n | 'starterpack-joined'\n | 'verified'\n | 'unverified'\n | 'like-via-repost'\n | 'repost-via-repost'\n | 'subscribed-post'\n | 'contact-match'\n | (string & {})\n reasonSubject?: string\n record: { [_ in string]: unknown }\n starterPack?: AppBskyGraphDefs.StarterPackViewBasic\n isRead: boolean\n indexedAt: string\n labels?: ComAtprotoLabelDefs.Label[]\n}\n\nconst hashNotification = 'notification'\n\nexport function isNotification<V>(v: V) {\n return is$typed(v, id, hashNotification)\n}\n\nexport function validateNotification<V>(v: V) {\n return validate<Notification & V>(v, id, hashNotification)\n}\n"]}
1
+ {"version":3,"file":"listNotifications.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/notification/listNotifications.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,yCAAyC,CAAA;AAiCpD,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AA+BD,MAAM,gBAAgB,GAAG,cAAc,CAAA;AAEvC,MAAM,UAAU,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,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 AppBskyGraphDefs from '../graph/defs.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.notification.listNotifications'\n\nexport type QueryParams = {\n /** Notification reasons to include in response. */\n reasons?: string[]\n limit?: number\n /** Deprecated: this parameter is ignored. */\n priority?: boolean\n cursor?: string\n /** Deprecated: this parameter is unsupported and will cause an error. */\n seenAt?: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n cursor?: string\n notifications: Notification[]\n /** Deprecated: this field is no longer populated. */\n priority?: boolean\n seenAt?: string\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\nexport interface Notification {\n $type?: 'app.bsky.notification.listNotifications#notification'\n uri: string\n cid: string\n author: AppBskyActorDefs.ProfileView\n /** The reason why this notification was delivered - e.g. your post was liked, or you received a new follower. */\n reason:\n | 'like'\n | 'repost'\n | 'follow'\n | 'mention'\n | 'reply'\n | 'quote'\n | 'starterpack-joined'\n | 'verified'\n | 'unverified'\n | 'like-via-repost'\n | 'repost-via-repost'\n | 'subscribed-post'\n | 'contact-match'\n | (string & {})\n reasonSubject?: string\n record: { [_ in string]: unknown }\n starterPack?: AppBskyGraphDefs.StarterPackViewBasic\n isRead: boolean\n indexedAt: string\n labels?: ComAtprotoLabelDefs.Label[]\n}\n\nconst hashNotification = 'notification'\n\nexport function isNotification<V>(v: V) {\n return is$typed(v, id, hashNotification)\n}\n\nexport function validateNotification<V>(v: V) {\n return validate<Notification & V>(v, id, hashNotification)\n}\n"]}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ import { type ValidationResult } from '@atproto/lexicon';
6
+ import { type $Typed } from '../../../../util.js';
7
+ import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js';
8
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
9
+ import type * as ComAtprotoModerationCreateReport from '../../../com/atproto/moderation/createReport.js';
10
+ import type * as ToolsOzoneInboxDefs from './defs.js';
11
+ export type QueryParams = {};
12
+ export interface InputSchema {
13
+ action?: $Typed<ActionRef> | $Typed<LabelRef> | $Typed<TakedownRef>;
14
+ subject: $Typed<ComAtprotoAdminDefs.RepoRef> | $Typed<ComAtprotoRepoStrongRef.Main> | {
15
+ $type: string;
16
+ };
17
+ /** Optional explanation supplied by the user. */
18
+ reason?: string;
19
+ modTool?: ComAtprotoModerationCreateReport.ModTool;
20
+ }
21
+ export type OutputSchema = ToolsOzoneInboxDefs.SubjectView;
22
+ export interface CallOptions {
23
+ signal?: AbortSignal;
24
+ headers?: HeadersMap;
25
+ qp?: QueryParams;
26
+ encoding?: 'application/json';
27
+ }
28
+ export interface Response {
29
+ success: boolean;
30
+ headers: HeadersMap;
31
+ data: OutputSchema;
32
+ }
33
+ export declare class InvalidAppealSubjectError extends XRPCError {
34
+ constructor(src: XRPCError);
35
+ }
36
+ export declare class AlreadyAppealedError extends XRPCError {
37
+ constructor(src: XRPCError);
38
+ }
39
+ export declare class NotAppealableError extends XRPCError {
40
+ constructor(src: XRPCError);
41
+ }
42
+ export declare class AppealWindowExpiredError extends XRPCError {
43
+ constructor(src: XRPCError);
44
+ }
45
+ export declare function toKnownErr(e: any): any;
46
+ export interface ActionRef {
47
+ $type?: 'tools.ozone.inbox.appealActionedSubject#actionRef';
48
+ /** ID of the moderation action being appealed, available via actions in mod inbox. */
49
+ id: number;
50
+ }
51
+ export declare function isActionRef<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.appealActionedSubject", "actionRef">;
52
+ export declare function validateActionRef<V>(v: V): ValidationResult<ActionRef & V>;
53
+ export interface LabelRef {
54
+ $type?: 'tools.ozone.inbox.appealActionedSubject#labelRef';
55
+ /** Label being appealed. */
56
+ val: string;
57
+ }
58
+ export declare function isLabelRef<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.appealActionedSubject", "labelRef">;
59
+ export declare function validateLabelRef<V>(v: V): ValidationResult<LabelRef & V>;
60
+ export interface TakedownRef {
61
+ $type?: 'tools.ozone.inbox.appealActionedSubject#takedownRef';
62
+ }
63
+ export declare function isTakedownRef<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.appealActionedSubject", "takedownRef">;
64
+ export declare function validateTakedownRef<V>(v: V): ValidationResult<TakedownRef & V>;
65
+ //# sourceMappingURL=appealActionedSubject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appealActionedSubject.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/inbox/appealActionedSubject.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gCAAgC,MAAM,iDAAiD,CAAA;AACxG,OAAO,KAAK,KAAK,mBAAmB,MAAM,WAAW,CAAA;AAMrD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;IACnE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AAK,CAAC,EAAE,kDAAkD,CAAA;IAC1D,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6GAEjC;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kCAEvC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,qDAAqD,CAAA;CAC9D;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gHAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C"}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { XRPCError } from '@atproto/xrpc';
5
+ import { BlobRef } from '@atproto/lexicon';
6
+ import { CID } from 'multiformats/cid';
7
+ import { validate as _validate } from '../../../../lexicons.js';
8
+ import { is$typed as _is$typed, } from '../../../../util.js';
9
+ const is$typed = _is$typed, validate = _validate;
10
+ const id = 'tools.ozone.inbox.appealActionedSubject';
11
+ export class InvalidAppealSubjectError extends XRPCError {
12
+ constructor(src) {
13
+ super(src.status, src.error, src.message, src.headers, { cause: src });
14
+ }
15
+ }
16
+ export class AlreadyAppealedError extends XRPCError {
17
+ constructor(src) {
18
+ super(src.status, src.error, src.message, src.headers, { cause: src });
19
+ }
20
+ }
21
+ export class NotAppealableError extends XRPCError {
22
+ constructor(src) {
23
+ super(src.status, src.error, src.message, src.headers, { cause: src });
24
+ }
25
+ }
26
+ export class AppealWindowExpiredError extends XRPCError {
27
+ constructor(src) {
28
+ super(src.status, src.error, src.message, src.headers, { cause: src });
29
+ }
30
+ }
31
+ export function toKnownErr(e) {
32
+ if (e instanceof XRPCError) {
33
+ if (e.error === 'InvalidAppealSubject')
34
+ return new InvalidAppealSubjectError(e);
35
+ if (e.error === 'AlreadyAppealed')
36
+ return new AlreadyAppealedError(e);
37
+ if (e.error === 'NotAppealable')
38
+ return new NotAppealableError(e);
39
+ if (e.error === 'AppealWindowExpired')
40
+ return new AppealWindowExpiredError(e);
41
+ }
42
+ return e;
43
+ }
44
+ const hashActionRef = 'actionRef';
45
+ export function isActionRef(v) {
46
+ return is$typed(v, id, hashActionRef);
47
+ }
48
+ export function validateActionRef(v) {
49
+ return validate(v, id, hashActionRef);
50
+ }
51
+ const hashLabelRef = 'labelRef';
52
+ export function isLabelRef(v) {
53
+ return is$typed(v, id, hashLabelRef);
54
+ }
55
+ export function validateLabelRef(v) {
56
+ return validate(v, id, hashLabelRef);
57
+ }
58
+ const hashTakedownRef = 'takedownRef';
59
+ export function isTakedownRef(v) {
60
+ return is$typed(v, id, hashTakedownRef);
61
+ }
62
+ export function validateTakedownRef(v) {
63
+ return validate(v, id, hashTakedownRef);
64
+ }
65
+ //# sourceMappingURL=appealActionedSubject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appealActionedSubject.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/inbox/appealActionedSubject.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;AAM5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA;AA8BpD,MAAM,OAAO,yBAA0B,SAAQ,SAAS;IACtD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,C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AAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC;AAQD,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,CAAC,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACtC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAe,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACpD,CAAC;AAMD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,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 ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as ComAtprotoModerationCreateReport from '../../../com/atproto/moderation/createReport.js'\nimport type * as ToolsOzoneInboxDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.inbox.appealActionedSubject'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n action?: $Typed<ActionRef> | $Typed<LabelRef> | $Typed<TakedownRef>\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n /** Optional explanation supplied by the user. */\n reason?: string\n modTool?: ComAtprotoModerationCreateReport.ModTool\n}\n\nexport type OutputSchema = ToolsOzoneInboxDefs.SubjectView\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class InvalidAppealSubjectError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class AlreadyAppealedError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class NotAppealableError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class AppealWindowExpiredError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidAppealSubject')\n return new InvalidAppealSubjectError(e)\n if (e.error === 'AlreadyAppealed') return new AlreadyAppealedError(e)\n if (e.error === 'NotAppealable') return new NotAppealableError(e)\n if (e.error === 'AppealWindowExpired')\n return new AppealWindowExpiredError(e)\n }\n\n return e\n}\n\nexport interface ActionRef {\n $type?: 'tools.ozone.inbox.appealActionedSubject#actionRef'\n /** ID of the moderation action being appealed, available via actions in mod inbox. */\n id: number\n}\n\nconst hashActionRef = 'actionRef'\n\nexport function isActionRef<V>(v: V) {\n return is$typed(v, id, hashActionRef)\n}\n\nexport function validateActionRef<V>(v: V) {\n return validate<ActionRef & V>(v, id, hashActionRef)\n}\n\nexport interface LabelRef {\n $type?: 'tools.ozone.inbox.appealActionedSubject#labelRef'\n /** Label being appealed. */\n val: string\n}\n\nconst hashLabelRef = 'labelRef'\n\nexport function isLabelRef<V>(v: V) {\n return is$typed(v, id, hashLabelRef)\n}\n\nexport function validateLabelRef<V>(v: V) {\n return validate<LabelRef & V>(v, id, hashLabelRef)\n}\n\nexport interface TakedownRef {\n $type?: 'tools.ozone.inbox.appealActionedSubject#takedownRef'\n}\n\nconst hashTakedownRef = 'takedownRef'\n\nexport function isTakedownRef<V>(v: V) {\n return is$typed(v, id, hashTakedownRef)\n}\n\nexport function validateTakedownRef<V>(v: V) {\n return validate<TakedownRef & V>(v, id, hashTakedownRef)\n}\n"]}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util.js';
6
+ import type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js';
7
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
8
+ /** A subject belonging to the viewer that has moderation actions against it. */
9
+ export interface SubjectView {
10
+ $type?: 'tools.ozone.inbox.defs#subjectView';
11
+ /** DID of the moderation service that took the actions. */
12
+ src: string;
13
+ subject: $Typed<ComAtprotoAdminDefs.RepoRef> | $Typed<ComAtprotoRepoStrongRef.Main> | {
14
+ $type: string;
15
+ };
16
+ enforcement: EnforcementView;
17
+ appeal?: AppealView;
18
+ availableActions?: ('appeal' | (string & {}))[];
19
+ latestAction?: ActionView;
20
+ actionCount?: number;
21
+ createdAt: string;
22
+ updatedAt: string;
23
+ }
24
+ export declare function isSubjectView<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.defs", "subjectView">;
25
+ export declare function validateSubjectView<V>(v: V): ValidationResult<SubjectView & V>;
26
+ /** The current enforcement state of a subject. */
27
+ export interface EnforcementView {
28
+ $type?: 'tools.ozone.inbox.defs#enforcementView';
29
+ state: 'none' | 'labeled' | 'removed' | 'suspended' | 'takendown' | (string & {});
30
+ scope?: 'network' | 'app' | 'labelOnly' | (string & {});
31
+ expiresAt?: string;
32
+ /** Active label values on the subject, excluding negated and expired labels. */
33
+ labels?: string[];
34
+ }
35
+ export declare function isEnforcementView<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.defs", "enforcementView">;
36
+ export declare function validateEnforcementView<V>(v: V): ValidationResult<EnforcementView & V>;
37
+ /** The state of the viewer's appeal against the actions on a subject. */
38
+ export interface AppealView {
39
+ $type?: 'tools.ozone.inbox.defs#appealView';
40
+ state: 'none' | 'pending' | 'resolved' | 'superseded' | 'expired' | (string & {});
41
+ appealedAt?: string;
42
+ /** When the appeal's report was closed. */
43
+ resolvedAt?: string;
44
+ /** Moderator explanation, from the publicNote on the closing activity. Absent if none was written. */
45
+ note?: string;
46
+ appealableUntil?: string;
47
+ }
48
+ export declare function isAppealView<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.defs", "appealView">;
49
+ export declare function validateAppealView<V>(v: V): ValidationResult<AppealView & V>;
50
+ /** A single moderation action taken against a subject. */
51
+ export interface ActionView {
52
+ $type?: 'tools.ozone.inbox.defs#actionView';
53
+ /** Action ID (moderation event ID). */
54
+ id: number;
55
+ /** Public action type. */
56
+ type: string;
57
+ scope?: 'network' | 'app' | 'labelOnly' | (string & {});
58
+ createdAt: string;
59
+ reversedAt?: string;
60
+ expiresAt?: string;
61
+ /** Label values, for labelApplied/labelRemoved. */
62
+ labels?: string[];
63
+ /** Policies that were applied in this action. */
64
+ policies?: string[];
65
+ }
66
+ export declare function isActionView<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.defs", "actionView">;
67
+ export declare function validateActionView<V>(v: V): ValidationResult<ActionView & V>;
68
+ //# sourceMapp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IACnD,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;CACpB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { BlobRef } from '@atproto/lexicon';
5
+ import { CID } from 'multiformats/cid';
6
+ import { validate as _validate } from '../../../../lexicons.js';
7
+ import { is$typed as _is$typed, } from '../../../../util.js';
8
+ const is$typed = _is$typed, validate = _validate;
9
+ const id = 'tools.ozone.inbox.defs';
10
+ const hashSubjectView = 'subjectView';
11
+ export function isSubjectView(v) {
12
+ return is$typed(v, id, hashSubjectView);
13
+ }
14
+ export function validateSubjectView(v) {
15
+ return validate(v, id, hashSubjectView);
16
+ }
17
+ const hashEnforcementView = 'enforcementView';
18
+ export function isEnforcementView(v) {
19
+ return is$typed(v, id, hashEnforcementView);
20
+ }
21
+ export function validateEnforcementView(v) {
22
+ return validate(v, id, hashEnforcementView);
23
+ }
24
+ const hashAppealView = 'appealView';
25
+ export function isAppealView(v) {
26
+ return is$typed(v, id, hashAppealView);
27
+ }
28
+ export function validateAppealView(v) {
29
+ return validate(v, id, hashAppealView);
30
+ }
31
+ const hashActionView = 'actionView';
32
+ export function isActionView(v) {
33
+ return is$typed(v, id, hashActionView);
34
+ }
35
+ export function validateActionView(v) {
36
+ return validate(v, id, hashActionView);
37
+ }
38
+ //# sourceMappingURL=defs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/inbox/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAA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CAAC;AAED,MAAM,UAAU,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\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 ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.inbox.defs'\n\n/** A subject belonging to the viewer that has moderation actions against it. */\nexport interface SubjectView {\n $type?: 'tools.ozone.inbox.defs#subjectView'\n /** DID of the moderation service that took the actions. */\n src: string\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n enforcement: EnforcementView\n appeal?: AppealView\n availableActions?: ('appeal' | (string & {}))[]\n latestAction?: ActionView\n actionCount?: number\n createdAt: string\n updatedAt: string\n}\n\nconst hashSubjectView = 'subjectView'\n\nexport function isSubjectView<V>(v: V) {\n return is$typed(v, id, hashSubjectView)\n}\n\nexport function validateSubjectView<V>(v: V) {\n return validate<SubjectView & V>(v, id, hashSubjectView)\n}\n\n/** The current enforcement state of a subject. */\nexport interface EnforcementView {\n $type?: 'tools.ozone.inbox.defs#enforcementView'\n state:\n 'none' | 'labeled' | 'removed' | 'suspended' | 'takendown' | (string & {})\n scope?: 'network' | 'app' | 'labelOnly' | (string & {})\n expiresAt?: string\n /** Active label values on the subject, excluding negated and expired labels. */\n labels?: string[]\n}\n\nconst hashEnforcementView = 'enforcementView'\n\nexport function isEnforcementView<V>(v: V) {\n return is$typed(v, id, hashEnforcementView)\n}\n\nexport function validateEnforcementView<V>(v: V) {\n return validate<EnforcementView & V>(v, id, hashEnforcementView)\n}\n\n/** The state of the viewer's appeal against the actions on a subject. */\nexport interface AppealView {\n $type?: 'tools.ozone.inbox.defs#appealView'\n state:\n 'none' | 'pending' | 'resolved' | 'superseded' | 'expired' | (string & {})\n appealedAt?: string\n /** When the appeal's report was closed. */\n resolvedAt?: string\n /** Moderator explanation, from the publicNote on the closing activity. Absent if none was written. */\n note?: string\n appealableUntil?: string\n}\n\nconst hashAppealView = 'appealView'\n\nexport function isAppealView<V>(v: V) {\n return is$typed(v, id, hashAppealView)\n}\n\nexport function validateAppealView<V>(v: V) {\n return validate<AppealView & V>(v, id, hashAppealView)\n}\n\n/** A single moderation action taken against a subject. */\nexport interface ActionView {\n $type?: 'tools.ozone.inbox.defs#actionView'\n /** Action ID (moderation event ID). */\n id: number\n /** Public action type. */\n type: string\n scope?: 'network' | 'app' | 'labelOnly' | (string & {})\n createdAt: string\n reversedAt?: string\n expiresAt?: string\n /** Label values, for labelApplied/labelRemoved. */\n labels?: string[]\n /** Policies that were applied in this action. */\n policies?: string[]\n}\n\nconst hashActionView = 'actionView'\n\nexport function isActionView<V>(v: V) {\n return is$typed(v, id, hashActionView)\n}\n\nexport function validateActionView<V>(v: V) {\n return validate<ActionView & V>(v, id, hashActionView)\n}\n"]}
@@ -17,6 +17,8 @@ export interface InputSchema {
17
17
  description?: string;
18
18
  /** Policy keys to recommend when actioning reports in this queue */
19
19
  recommendedPolicies?: string[];
20
+ /** Labels to recommend for this queue and use as fallback appeal routing mappings */
21
+ recommendedLabels?: string[];
20
22
  }
21
23
  export interface OutputSchema {
22
24
  queue: ToolsOzoneQueueDefs.QueueView;
@@ -1 +1 @@
1
- {"version":3,"file":"createQueue.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/queue/createQueue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,mBAAmB,MAAM,WAAW,CAAA;AAMrD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAA;IACZ,uCAAuC;IACvC,YAAY,CAAC,EAAE,CACb,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAClE,EAAE,CAAA;IACH,uFAAuF;IACvF,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oEAAoE;IACpE,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC/B;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,mBAAmB,CAAC,SAAS,CAAA;CACrC;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,+BAAgC,SAAQ,SAAS;IAC5D,YAAY,GAAG,EAAE,SAAS,EAEzB;CACF;AAED,qBAAa,qBAAsB,SAAQ,SAAS;IAClD,YAAY,GAAG,EAAE,SAAS,EAEzB;CACF;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAQhC"}
1
+ {"version":3,"file":"createQueue.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/queue/createQueue.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAA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AAO,CAAC,CAAA;AACV,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 ToolsOzoneQueueDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.queue.createQueue'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Display name for the queue (must be unique) */\n name: string\n /** Subject types this queue accepts */\n subjectTypes?: (\n 'account' | 'record' | 'message' | 'conversation' | (string & {})\n )[]\n /** Collection name for record subjects. Required if subjectTypes includes 'record'. */\n collection?: string\n /** Report reason types (fully qualified NSIDs) */\n reportTypes?: string[]\n /** Optional description of the queue */\n description?: string\n /** Policy keys to recommend when actioning reports in this queue */\n recommendedPolicies?: string[]\n}\n\nexport interface OutputSchema {\n queue: ToolsOzoneQueueDefs.QueueView\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class InvalidRecommendedPoliciesError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class ConflictingQueueError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidRecommendedPolicies')\n return new InvalidRecommendedPoliciesError(e)\n if (e.error === 'ConflictingQueue') return new ConflictingQueueError(e)\n }\n\n return e\n}\n"]}
1
+ {"version":3,"file":"createQueue.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/queue/createQueue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ODIFY\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 ToolsOzoneQueueDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.queue.createQueue'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n /** Display name for the queue (must be unique) */\n name: string\n /** Subject types this queue accepts */\n subjectTypes?: (\n 'account' | 'record' | 'message' | 'conversation' | (string & {})\n )[]\n /** Collection name for record subjects. Required if subjectTypes includes 'record'. */\n collection?: string\n /** Report reason types (fully qualified NSIDs) */\n reportTypes?: string[]\n /** Optional description of the queue */\n description?: string\n /** Policy keys to recommend when actioning reports in this queue */\n recommendedPolicies?: string[]\n /** Labels to recommend for this queue and use as fallback appeal routing mappings */\n recommendedLabels?: string[]\n}\n\nexport interface OutputSchema {\n queue: ToolsOzoneQueueDefs.QueueView\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n qp?: QueryParams\n encoding?: 'application/json'\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class InvalidRecommendedPoliciesError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport class ConflictingQueueError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'InvalidRecommendedPolicies')\n return new InvalidRecommendedPoliciesError(e)\n if (e.error === 'ConflictingQueue') return new ConflictingQueueError(e)\n }\n\n return e\n}\n"]}
@@ -19,6 +19,8 @@ export interface QueueView {
19
19
  description?: string;
20
20
  /** Policy keys recommended when actioning reports in this queue */
21
21
  recommendedPolicies?: string[];
22
+ /** Labels recommended for this queue and used as a fallback when routing label appeals */
23
+ recommendedLabels?: string[];
22
24
  /** DID of moderator who created this queue */
23
25
  createdBy: string;
24
26
  createdAt: string;