@atproto/api 0.29.4 → 0.29.5

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.
@@ -0,0 +1,30 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type HeadersMap } from '@atproto/xrpc';
5
+ import { type ValidationResult } from '@atproto/lexicon';
6
+ export type QueryParams = {
7
+ limit?: number;
8
+ };
9
+ export type InputSchema = undefined;
10
+ export interface OutputSchema {
11
+ members: OnlineMember[];
12
+ }
13
+ export interface CallOptions {
14
+ signal?: AbortSignal;
15
+ headers?: HeadersMap;
16
+ }
17
+ export interface Response {
18
+ success: boolean;
19
+ headers: HeadersMap;
20
+ data: OutputSchema;
21
+ }
22
+ export declare function toKnownErr(e: any): any;
23
+ export interface OnlineMember {
24
+ $type?: 'tools.ozone.team.listOnlineMembers#onlineMember';
25
+ did: string;
26
+ lastActive: string;
27
+ }
28
+ export declare function isOnlineMember<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.team.listOnlineMembers", "onlineMember">;
29
+ export declare function validateOnlineMember<V>(v: V): ValidationResult<OnlineMember & V>;
30
+ //# sourceMappingURL=listOnlineMembers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listOnlineMembers.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/team/listOnlineMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAa,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,YAAY,EAAE,CAAA;CACxB;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,iDAAiD,CAAA;IACzD,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;CACnB;AAID,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4GAErC;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sCAE3C"}
@@ -0,0 +1,21 @@
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.team.listOnlineMembers';
11
+ export function toKnownErr(e) {
12
+ return e;
13
+ }
14
+ const hashOnlineMember = 'onlineMember';
15
+ export function isOnlineMember(v) {
16
+ return is$typed(v, id, hashOnlineMember);
17
+ }
18
+ export function validateOnlineMember(v) {
19
+ return validate(v, id, hashOnlineMember);
20
+ }
21
+ //# sourceMappingURL=listOnlineMembers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listOnlineMembers.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/team/listOnlineMembers.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,oCAAoC,CAAA;AAsB/C,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAQD,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'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.team.listOnlineMembers'\n\nexport type QueryParams = {\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n members: OnlineMember[]\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 OnlineMember {\n $type?: 'tools.ozone.team.listOnlineMembers#onlineMember'\n did: string\n lastActive: string\n}\n\nconst hashOnlineMember = 'onlineMember'\n\nexport function isOnlineMember<V>(v: V) {\n return is$typed(v, id, hashOnlineMember)\n}\n\nexport function validateOnlineMember<V>(v: V) {\n return validate<OnlineMember & V>(v, id, hashOnlineMember)\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atproto/api",
3
- "version": "0.29.4",
3
+ "version": "0.29.5",
4
4
  "license": "MIT",
5
5
  "description": "Client library for atproto and Bluesky",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  "jest": "^30.5.2",
47
47
  "prettier": "^3.9.6",
48
48
  "@atproto/lex-cli": "^0.10.16",
49
- "@atproto/lex-installer": "^0.2.2"
49
+ "@atproto/lex-installer": "^0.2.3"
50
50
  },
51
51
  "scripts": {
52
52
  "lex:gen": "if [ ! -f ./src/client/index.ts ] || [ -n \"$(find -L ./lexicons -type f -newer ./src/client/index.ts -print -quit)\" ]; then lex gen-api --yes ./src/client ./lexicons/com/atproto/*/* ./lexicons/app/bsky/*/* ./lexicons/chat/bsky/*/* ./lexicons/tools/ozone/*/* ./lexicons/com/germnetwork/*; fi",