@atproto/api 0.20.13 → 0.20.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/client/lexicons.d.ts +22 -2
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +11 -1
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/getUnreadCounts.d.ts +4 -1
- package/dist/client/types/chat/bsky/convo/getUnreadCounts.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/getUnreadCounts.js.map +1 -1
- package/package.json +3 -3
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
4
|
import { HeadersMap } from '@atproto/xrpc';
|
|
5
|
-
export type QueryParams = {
|
|
5
|
+
export type QueryParams = {
|
|
6
|
+
/** When false, group convos are excluded from the counts. */
|
|
7
|
+
includeGroupChats?: boolean;
|
|
8
|
+
};
|
|
6
9
|
export type InputSchema = undefined;
|
|
7
10
|
export interface OutputSchema {
|
|
8
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. */
|
|
@@ -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,EAAE,CAAA;
|
|
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 +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;
|
|
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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.14",
|
|
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.0",
|
|
26
26
|
"@atproto/lexicon": "^0.7.1",
|
|
27
|
-
"@atproto/
|
|
28
|
-
"@atproto/
|
|
27
|
+
"@atproto/syntax": "^0.6.1",
|
|
28
|
+
"@atproto/xrpc": "^0.8.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@jest/globals": "^28.1.3",
|