@atproto/pds 0.4.190 → 0.4.191
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 +7 -0
- package/dist/lexicon/lexicons.d.ts +8 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +4 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/follow.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/graph/follow.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/follow.js.map +1 -1
- package/package.json +4 -4
- package/src/lexicon/lexicons.ts +4 -0
- package/src/lexicon/types/app/bsky/graph/follow.ts +2 -0
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
5
6
|
export interface Main {
|
|
6
7
|
$type: 'app.bsky.graph.follow';
|
|
7
8
|
subject: string;
|
|
8
9
|
createdAt: string;
|
|
10
|
+
via?: ComAtprotoRepoStrongRef.Main;
|
|
9
11
|
[k: string]: unknown;
|
|
10
12
|
}
|
|
11
13
|
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.graph.follow", "main">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"follow.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/follow.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"follow.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/follow.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,uBAAuB,CAAA;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,GAAG,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IAClC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"follow.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/follow.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"follow.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/follow.ts"],"names":[],"mappings":";;AA2BA,wBAEC;AAQW,0BAAQ;AANpB,oCAEC;AAKiB,sCAAc;AAjChC,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,uBAAuB,CAAA;AAUlC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAA;AAClD,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'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.graph.follow'\n\nexport interface Main {\n $type: 'app.bsky.graph.follow'\n subject: string\n createdAt: string\n via?: ComAtprotoRepoStrongRef.Main\n [k: string]: unknown\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain, true)\n}\n\nexport {\n type Main as Record,\n isMain as isRecord,\n validateMain as validateRecord,\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/pds",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.191",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
|
6
6
|
"keywords": [
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atproto-labs/simple-store-memory": "0.1.4",
|
|
53
53
|
"@atproto-labs/simple-store-redis": "0.0.1",
|
|
54
54
|
"@atproto-labs/xrpc-utils": "0.0.22",
|
|
55
|
-
"@atproto/api": "^0.17.
|
|
55
|
+
"@atproto/api": "^0.17.7",
|
|
56
56
|
"@atproto/aws": "^0.2.30",
|
|
57
57
|
"@atproto/common": "^0.4.12",
|
|
58
58
|
"@atproto/crypto": "^0.4.4",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"ts-node": "^10.8.2",
|
|
83
83
|
"typescript": "^5.6.3",
|
|
84
84
|
"ws": "^8.12.0",
|
|
85
|
-
"@atproto/api": "^0.17.
|
|
86
|
-
"@atproto/bsky": "^0.0.
|
|
85
|
+
"@atproto/api": "^0.17.7",
|
|
86
|
+
"@atproto/bsky": "^0.0.194",
|
|
87
87
|
"@atproto/lex-cli": "^0.9.6",
|
|
88
88
|
"@atproto/oauth-client-browser-example": "0.0.7"
|
|
89
89
|
},
|
package/src/lexicon/lexicons.ts
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
is$typed as _is$typed,
|
|
10
10
|
type OmitKey,
|
|
11
11
|
} from '../../../../util'
|
|
12
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'
|
|
12
13
|
|
|
13
14
|
const is$typed = _is$typed,
|
|
14
15
|
validate = _validate
|
|
@@ -18,6 +19,7 @@ export interface Main {
|
|
|
18
19
|
$type: 'app.bsky.graph.follow'
|
|
19
20
|
subject: string
|
|
20
21
|
createdAt: string
|
|
22
|
+
via?: ComAtprotoRepoStrongRef.Main
|
|
21
23
|
[k: string]: unknown
|
|
22
24
|
}
|
|
23
25
|
|