@atproto/api 0.20.20 → 0.20.21

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.
@@ -36,14 +36,16 @@ export type QueryParams = {
36
36
  excludeEmbeddedAtUris?: string[];
37
37
  /** Exclude posts tagged with any of these hashtags. Do not include the hash (#) prefix. */
38
38
  excludeHashtags?: string[];
39
- /** Include posts indexed at or after this timestamp. */
39
+ /** Include posts indexed at or after this timestamp. Can be a datetime, or just an ISO date (YYYY-MM-DD). */
40
40
  since?: string;
41
- /** Include posts indexed before this timestamp. Defaults to the current time. */
41
+ /** Include posts indexed before this timestamp. Defaults to the current time. Can be a datetime, or just an ISO date (YYYY-MM-DD). */
42
42
  until?: string;
43
43
  /** Search the full index instead of the recent-post window. */
44
44
  allTime?: boolean;
45
- /** Include posts whose language matches this language code. */
46
- language?: string;
45
+ /** Include posts whose language matches any of these language codes. */
46
+ languages?: string[];
47
+ /** Exclude posts whose language matches any of these language codes. */
48
+ excludeLanguages?: string[];
47
49
  /** Include only posts with media. */
48
50
  hasMedia?: boolean;
49
51
  /** Include only posts with video. */
@@ -1 +1 @@
1
- {"version":3,"file":"searchPostsV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/searchPostsV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uFAAuF;IACvF,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACvC,4FAA4F;IAC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;IACnB,kGAAkG;IAClG,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CACjE,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,4EAA4E;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wCAAwC;IACxC,KAAK,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAA;IACjC,kGAAkG;IAClG,sBAAsB,CAAC,EAAE,CAAC,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,EAAE,CAAA;CAC9E;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,qBAAa,mBAAoB,SAAQ,SAAS;IAChD,YAAY,GAAG,EAAE,SAAS,EAEzB;CACF;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAMhC"}
1
+ {"version":3,"file":"searchPostsV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/searchPostsV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,2CAA2C;IAC3C,KAAK,CAAC,E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V2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAc,SAAS,EAAE,MAAM,eAAe,CAAA;AAGrD,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,6BAA6B,CAAA;AAoFxC,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAChD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAED,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,SAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,gBAAgB;YAAE,OAAO,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAA;IACrE,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { 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.searchPostsV2'\n\nexport type QueryParams = {\n /** Optional pagination cursor. */\n cursor?: string\n /** Maximum number of results to return. */\n limit?: number\n /** Search query string. A query or at least one filter is required. */\n query?: string\n /** Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking. */\n sort?: 'recent' | 'top' | (string & {})\n /** Include posts by any of these authors. Handles are resolved to DIDs before searching. */\n authors?: string[]\n /** Include posts that mention any of these accounts. Handles are resolved to DIDs before searching. */\n mentions?: string[]\n /** Include posts that link to any of these domains. */\n domains?: string[]\n /** Include posts that link to any of these URLs. */\n urls?: string[]\n /** Include posts that embed any of these AT URIs. */\n embeddedAtUris?: string[]\n /** Include posts tagged with any of these hashtags. Do not include the hash (#) prefix. */\n hashtags?: string[]\n /** Exclude posts by any of these authors. Handles are resolved to DIDs before searching. */\n excludeAuthors?: string[]\n /** Exclude posts that mention any of these accounts. Handles are resolved to DIDs before searching. */\n excludeMentions?: string[]\n /** Exclude posts that link to any of these domains. */\n excludeDomains?: string[]\n /** Exclude posts that link to any of these URLs. */\n excludeUrls?: string[]\n /** Exclude posts that embed any of these AT URIs. */\n excludeEmbeddedAtUris?: string[]\n /** Exclude posts tagged with any of these hashtags. Do not include the hash (#) prefix. */\n excludeHashtags?: string[]\n /** Include posts indexed at or after this timestamp. */\n since?: string\n /** Include posts indexed before this timestamp. Defaults to the current time. */\n until?: string\n /** Search the full index instead of the recent-post window. */\n allTime?: boolean\n /** Include posts whose language matches this language code. */\n language?: string\n /** Include only posts with media. */\n hasMedia?: boolean\n /** Include only posts with video. */\n hasVideo?: boolean\n /** Include only direct replies to this parent post URI. */\n replyParentUri?: string\n /** Include only posts in the thread rooted at this post URI. */\n threadRootUri?: string\n /** Exclude replies from results. Mutually exclusive with repliesOnly. */\n excludeReplies?: boolean\n /** Include only replies. Mutually exclusive with excludeReplies. */\n repliesOnly?: boolean\n /** Include only posts from accounts followed by the viewer. */\n following?: boolean\n /** Language analyzer hint for the query text. If unset, the server auto-detects when possible. */\n queryLanguage?: 'ja' | 'zh' | 'ko' | 'th' | 'ar' | (string & {})\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** Cursor for the next page of results. */\n cursor?: string\n /** Estimated total number of matching hits. May be rounded or truncated. */\n hitsTotal?: number\n /** Hydrated views of matching posts. */\n posts: AppBskyFeedDefs.PostView[]\n /** Query languages detected for CJK, Thai, or Arabic text. Empty or omitted for other scripts. */\n detectedQueryLanguages?: ('ja' | 'zh' | 'ko' | 'th' | 'ar' | (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 class BadQueryStringError 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 === 'BadQueryString') return new BadQueryStringError(e)\n }\n\n return e\n}\n"]}
1
+ {"version":3,"file":"searchPostsV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/searchPostsV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAc,SAAS,EAAE,MAAM,eAAe,CAAA;AAGrD,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,6BAA6B,CAAA;AAsFxC,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAChD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAED,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,SAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,gBAAgB;YAAE,OAAO,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAA;IACrE,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { 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.searchPostsV2'\n\nexport type QueryParams = {\n /** Optional pagination cursor. */\n cursor?: string\n /** Maximum number of results to return. */\n limit?: number\n /** Search query string. A query or at least one filter is required. */\n query?: string\n /** Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking. */\n sort?: 'recent' | 'top' | (string & {})\n /** Include posts by any of these authors. Handles are resolved to DIDs before searching. */\n authors?: string[]\n /** Include posts that mention any of these accounts. Handles are resolved to DIDs before searching. */\n mentions?: string[]\n /** Include posts that link to any of these domains. */\n domains?: string[]\n /** Include posts that link to any of these URLs. */\n urls?: string[]\n /** Include posts that embed any of these AT URIs. */\n embeddedAtUris?: string[]\n /** Include posts tagged with any of these hashtags. Do not include the hash (#) prefix. */\n hashtags?: string[]\n /** Exclude posts by any of these authors. Handles are resolved to DIDs before searching. */\n excludeAuthors?: string[]\n /** Exclude posts that mention any of these accounts. Handles are resolved to DIDs before searching. */\n excludeMentions?: string[]\n /** Exclude posts that link to any of these domains. */\n excludeDomains?: string[]\n /** Exclude posts that link to any of these URLs. */\n excludeUrls?: string[]\n /** Exclude posts that embed any of these AT URIs. */\n excludeEmbeddedAtUris?: string[]\n /** Exclude posts tagged with any of these hashtags. Do not include the hash (#) prefix. */\n excludeHashtags?: string[]\n /** Include posts indexed at or after this timestamp. Can be a datetime, or just an ISO date (YYYY-MM-DD). */\n since?: string\n /** Include posts indexed before this timestamp. Defaults to the current time. Can be a datetime, or just an ISO date (YYYY-MM-DD). */\n until?: string\n /** Search the full index instead of the recent-post window. */\n allTime?: boolean\n /** Include posts whose language matches any of these language codes. */\n languages?: string[]\n /** Exclude posts whose language matches any of these language codes. */\n excludeLanguages?: string[]\n /** Include only posts with media. */\n hasMedia?: boolean\n /** Include only posts with video. */\n hasVideo?: boolean\n /** Include only direct replies to this parent post URI. */\n replyParentUri?: string\n /** Include only posts in the thread rooted at this post URI. */\n threadRootUri?: string\n /** Exclude replies from results. Mutually exclusive with repliesOnly. */\n excludeReplies?: boolean\n /** Include only replies. Mutually exclusive with excludeReplies. */\n repliesOnly?: boolean\n /** Include only posts from accounts followed by the viewer. */\n following?: boolean\n /** Language analyzer hint for the query text. If unset, the server auto-detects when possible. */\n queryLanguage?: 'ja' | 'zh' | 'ko' | 'th' | 'ar' | (string & {})\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** Cursor for the next page of results. */\n cursor?: string\n /** Estimated total number of matching hits. May be rounded or truncated. */\n hitsTotal?: number\n /** Hydrated views of matching posts. */\n posts: AppBskyFeedDefs.PostView[]\n /** Query languages detected for CJK, Thai, or Arabic text. Empty or omitted for other scripts. */\n detectedQueryLanguages?: ('ja' | 'zh' | 'ko' | 'th' | 'ar' | (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 class BadQueryStringError 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 === 'BadQueryString') return new BadQueryStringError(e)\n }\n\n return e\n}\n"]}
@@ -8,9 +8,9 @@ export type QueryParams = {
8
8
  };
9
9
  export type InputSchema = undefined;
10
10
  export interface OutputSchema {
11
- /** Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 31, where 31 means more than 30. */
11
+ /** Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 100, where 100 means more than 99. */
12
12
  unreadAcceptedConvos: number;
13
- /** Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 11, where 11 means more than 10. */
13
+ /** Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 100, where 100 means more than 99. */
14
14
  unreadRequestConvos: number;
15
15
  }
16
16
  export interface CallOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"getUnreadCounts.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getUnreadCounts.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,0JAA0J;IAC1J,oBAAoB,EAAE,MAAM,CAAA;IAC5B,4QAA4Q;IAC5Q,mBAAmB,EAAE,MAAM,CAAA;CAC5B;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":"getUnreadCounts.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getUnreadCounts.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AAcrD,MAAM,MAAM,WAAW,GAAG;IACxB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,4JAA4J;IAC5J,oBAAoB,EAAE,MAAM,CAAA;IAC5B,8QAA8Q;IAC9Q,mBAAmB,EAAE,MAAM,CAAA;CAC5B;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":"getUnreadCounts.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getUnreadCounts.ts"],"names":[],"mappings":"AAMA,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,iCAAiC,CAAA;AA0B5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { 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 = 'chat.bsky.convo.getUnreadCounts'\n\nexport type QueryParams = {\n /** When false, group convos are excluded from the counts. */\n includeGroupChats?: boolean\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 31, where 31 means more than 30. */\n unreadAcceptedConvos: number\n /** Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 11, where 11 means more than 10. */\n unreadRequestConvos: 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":"getUnreadCounts.js","sourceRoot":"","sources":["../../../../../../src/client/types/chat/bsky/convo/getUnreadCounts.ts"],"names":[],"mappings":"AAMA,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,iCAAiC,CAAA;AA0B5C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { 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 = 'chat.bsky.convo.getUnreadCounts'\n\nexport type QueryParams = {\n /** When false, group convos are excluded from the counts. */\n includeGroupChats?: boolean\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** Number of unread, unlocked accepted convos. Counts convos with unread messages and unread join requests. Capped at 100, where 100 means more than 99. */\n unreadAcceptedConvos: number\n /** Number of unread, unlocked request convos. Includes convos with unread messages, but not with unread join request, since only the owner of a group has join requests to read, and the group would necessarily be accepted. Capped at 100, where 100 means more than 99. */\n unreadRequestConvos: 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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.20.20",
3
+ "version": "0.20.21",
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },
@@ -24,8 +24,8 @@
24
24
  "zod": "^3.23.8",
25
25
  "@atproto/common-web": "^0.5.1",
26
26
  "@atproto/lexicon": "^0.7.2",
27
- "@atproto/xrpc": "^0.8.1",
28
- "@atproto/syntax": "^0.6.2"
27
+ "@atproto/syntax": "^0.6.2",
28
+ "@atproto/xrpc": "^0.8.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@jest/globals": "^28.1.3",