@atproto/pds 0.4.37 → 0.4.39
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +19 -0
- package/dist/lexicon/index.d.ts +7 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +13 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +362 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +371 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +22 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +21 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts +3 -0
- package/dist/lexicon/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +36 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js +23 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts +39 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getActorStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts +37 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js +27 -0
- package/dist/lexicon/types/app/bsky/graph/starterpack.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts +1 -1
- package/dist/lexicon/types/tools/ozone/team/deleteMember.d.ts.map +1 -1
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js +4 -0
- package/dist/repo/prepare.js.map +1 -1
- package/example.env +5 -5
- package/package.json +5 -5
- package/src/lexicon/index.ts +37 -0
- package/src/lexicon/lexicons.ts +376 -2
- package/src/lexicon/types/app/bsky/actor/defs.ts +44 -0
- package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +58 -0
- package/src/lexicon/types/app/bsky/graph/getActorStarterPacks.ts +49 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPack.ts +47 -0
- package/src/lexicon/types/app/bsky/graph/getStarterPacks.ts +46 -0
- package/src/lexicon/types/app/bsky/graph/starterpack.ts +50 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -1
- package/src/lexicon/types/tools/ozone/team/deleteMember.ts +1 -1
- package/src/repo/prepare.ts +3 -0
- package/tests/proxied/__snapshots__/admin.test.ts.snap +3 -0
- package/tests/proxied/__snapshots__/feedgen.test.ts.snap +2 -0
- package/tests/proxied/__snapshots__/views.test.ts.snap +141 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepare.d.ts","sourceRoot":"","sources":["../../src/repo/prepare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAOtC,OAAO,EACL,OAAO,EACP,QAAQ,EAER,UAAU,EAIX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAEL,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EAEd,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"prepare.d.ts","sourceRoot":"","sources":["../../src/repo/prepare.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAOtC,OAAO,EACL,OAAO,EACP,QAAQ,EAER,UAAU,EAIX,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAEL,cAAc,EACd,cAAc,EACd,cAAc,EACd,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,cAAc,EACd,cAAc,EACd,cAAc,EAEd,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAA;AAUhB,eAAO,MAAM,iBAAiB,WAAY,OAAO,MAAM,EAAE,OAAO,CAAC,SAiBhE,CAAA;AAID,eAAO,MAAM,oBAAoB,WAAY,OAAO,MAAM,EAAE,OAAO,CAAC,SAYnE,CAAA;AAED,eAAO,MAAM,iBAAiB,eAChB,MAAM,UACV,UAAU,YACR,OAAO,eAWlB,CAAA;AAED,eAAO,MAAM,aAAa,SAAgB;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,KAAG,QAAQ,cAAc,CAoBzB,CAAA;AAED,eAAO,MAAM,aAAa,SAAgB;IACxC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,KAAG,QAAQ,cAAc,CAezB,CAAA;AAED,eAAO,MAAM,aAAa,SAAU;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;CACrB,KAAG,cAOH,CAAA;AAED,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAKtD,CAAA;AAEF,eAAO,MAAM,eAAe,UAAW,cAAc,KAAG,cAItD,CAAA;AAEF,eAAO,MAAM,SAAS,UAAW,aAAa,KAAG,aAWhD,CAAA;AA4CD,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,OAAO,CAAA;IACZ,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED,eAAO,MAAM,aAAa,WAChB,UAAU,YACR,OAAO,KAChB,eAAe,EAmBjB,CAAA;AAED,eAAO,MAAM,YAAY,QAClB,QAAQ,SACP,MAAM,EAAE,qBAEb,YAAY,EA6Bd,CAAA"}
|
package/dist/repo/prepare.js
CHANGED
@@ -32,6 +32,7 @@ const repo_1 = require("@atproto/repo");
|
|
32
32
|
const types_1 = require("./types");
|
33
33
|
const lex = __importStar(require("../lexicon/lexicons"));
|
34
34
|
const generator_1 = require("../lexicon/types/app/bsky/feed/generator");
|
35
|
+
const starterpack_1 = require("../lexicon/types/app/bsky/graph/starterpack");
|
35
36
|
const post_1 = require("../lexicon/types/app/bsky/feed/post");
|
36
37
|
const facet_1 = require("../lexicon/types/app/bsky/richtext/facet");
|
37
38
|
const list_1 = require("../lexicon/types/app/bsky/graph/list");
|
@@ -179,6 +180,9 @@ function assertNoExplicitSlurs(rkey, record) {
|
|
179
180
|
else if ((0, list_1.isRecord)(record)) {
|
180
181
|
toCheck += ' ' + record.name;
|
181
182
|
}
|
183
|
+
else if ((0, starterpack_1.isRecord)(record)) {
|
184
|
+
toCheck += ' ' + record.name;
|
185
|
+
}
|
182
186
|
else if ((0, generator_1.isRecord)(record)) {
|
183
187
|
toCheck += ' ' + rkey;
|
184
188
|
toCheck += ' ' + record.displayName;
|
package/dist/repo/prepare.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepare.js","sourceRoot":"","sources":["../../src/repo/prepare.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAsC;AACtC,4CAIwB;AACxB,4CAA6D;AAC7D,8CAQyB;AACzB,wCAOsB;AACtB,mCAOgB;AAChB,yDAA0C;AAC1C,wEAAsF;AACtF,8DAAwE;AACxE,oEAAgE;AAChE,+DAAyE;AACzE,qEAA+E;AAC/E,6DAA0D;AAEnD,MAAM,iBAAiB,GAAG,CAAC,MAA+B,EAAE,EAAE;IACnE,IAAI,OAAO,MAAM,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrC,MAAM,IAAI,0BAAkB,CAAC,mBAAmB,CAAC,CAAA;IACnD,CAAC;IACD,IAAI,CAAC;QACH,GAAG,CAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;QACpD,IAAA,4BAAoB,EAAC,MAAM,CAAC,CAAA;IAC9B,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,IAAI,CAAC,YAAY,iCAAuB,EAAE,CAAC;YACzC,MAAM,IAAI,0BAAkB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;QACzC,CAAC;QACD,MAAM,IAAI,0BAAkB,CA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,CAAC,UAAU,CAAC,KAAK;QAC/D,sBAAsB,EACpB,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK;QACpE,0BAA0B,EACxB,GAAG,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK;QAC/D,4BAA4B,EAC1B,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK;KACrE;CACF,CAAA"}
|
package/example.env
CHANGED
@@ -18,11 +18,11 @@ PDS_DPOP_SECRET="32-random-bytes-hex-encoded"
|
|
18
18
|
PDS_JWT_SECRET="jwt-secret"
|
19
19
|
PDS_ADMIN_PASSWORD="admin-pass"
|
20
20
|
|
21
|
-
# Environment - example is for
|
22
|
-
PDS_DID_PLC_URL="https://plc.
|
23
|
-
PDS_BSKY_APP_VIEW_ENDPOINT="https://api.bsky
|
24
|
-
PDS_BSKY_APP_VIEW_DID="did:web:api.bsky
|
25
|
-
PDS_CRAWLERS="https://
|
21
|
+
# Environment - example is for live network
|
22
|
+
PDS_DID_PLC_URL="https://plc.directory"
|
23
|
+
PDS_BSKY_APP_VIEW_ENDPOINT="https://api.bsky.app"
|
24
|
+
PDS_BSKY_APP_VIEW_DID="did:web:api.bsky.app"
|
25
|
+
PDS_CRAWLERS="https://bsky.network"
|
26
26
|
|
27
27
|
# OAuth Provider
|
28
28
|
PDS_OAUTH_PROVIDER_NAME="John's self hosted PDS"
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/pds",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.39",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
6
6
|
"keywords": [
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"uint8arrays": "3.0.0",
|
45
45
|
"zod": "^3.23.8",
|
46
46
|
"@atproto-labs/fetch-node": "0.1.0",
|
47
|
-
"@atproto/api": "^0.12.
|
47
|
+
"@atproto/api": "^0.12.23",
|
48
48
|
"@atproto/aws": "^0.2.0",
|
49
49
|
"@atproto/common": "^0.4.0",
|
50
50
|
"@atproto/crypto": "^0.4.0",
|
@@ -54,7 +54,7 @@
|
|
54
54
|
"@atproto/repo": "^0.4.0",
|
55
55
|
"@atproto/syntax": "^0.3.0",
|
56
56
|
"@atproto/xrpc": "^0.5.0",
|
57
|
-
"@atproto/xrpc-server": "^0.5.
|
57
|
+
"@atproto/xrpc-server": "^0.5.2"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
60
|
"@atproto/pds-entryway": "npm:@atproto/pds@0.3.0-entryway.3",
|
@@ -72,8 +72,8 @@
|
|
72
72
|
"jest": "^28.1.2",
|
73
73
|
"ts-node": "^10.8.2",
|
74
74
|
"ws": "^8.12.0",
|
75
|
-
"@atproto/api": "^0.12.
|
76
|
-
"@atproto/bsky": "^0.0.
|
75
|
+
"@atproto/api": "^0.12.23",
|
76
|
+
"@atproto/bsky": "^0.0.66",
|
77
77
|
"@atproto/lex-cli": "^0.4.0"
|
78
78
|
},
|
79
79
|
"scripts": {
|
package/src/lexicon/index.ts
CHANGED
@@ -107,6 +107,7 @@ import * as AppBskyFeedGetSuggestedFeeds from './types/app/bsky/feed/getSuggeste
|
|
107
107
|
import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline'
|
108
108
|
import * as AppBskyFeedSearchPosts from './types/app/bsky/feed/searchPosts'
|
109
109
|
import * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteractions'
|
110
|
+
import * as AppBskyGraphGetActorStarterPacks from './types/app/bsky/graph/getActorStarterPacks'
|
110
111
|
import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks'
|
111
112
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'
|
112
113
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'
|
@@ -117,6 +118,8 @@ import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes'
|
|
117
118
|
import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists'
|
118
119
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes'
|
119
120
|
import * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelationships'
|
121
|
+
import * as AppBskyGraphGetStarterPack from './types/app/bsky/graph/getStarterPack'
|
122
|
+
import * as AppBskyGraphGetStarterPacks from './types/app/bsky/graph/getStarterPacks'
|
120
123
|
import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor'
|
121
124
|
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor'
|
122
125
|
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList'
|
@@ -194,6 +197,7 @@ export const APP_BSKY_FEED = {
|
|
194
197
|
export const APP_BSKY_GRAPH = {
|
195
198
|
DefsModlist: 'app.bsky.graph.defs#modlist',
|
196
199
|
DefsCuratelist: 'app.bsky.graph.defs#curatelist',
|
200
|
+
DefsReferencelist: 'app.bsky.graph.defs#referencelist',
|
197
201
|
}
|
198
202
|
export const TOOLS_OZONE_MODERATION = {
|
199
203
|
DefsReviewOpen: 'tools.ozone.moderation.defs#reviewOpen',
|
@@ -1472,6 +1476,17 @@ export class AppBskyGraphNS {
|
|
1472
1476
|
this._server = server
|
1473
1477
|
}
|
1474
1478
|
|
1479
|
+
getActorStarterPacks<AV extends AuthVerifier>(
|
1480
|
+
cfg: ConfigOf<
|
1481
|
+
AV,
|
1482
|
+
AppBskyGraphGetActorStarterPacks.Handler<ExtractAuth<AV>>,
|
1483
|
+
AppBskyGraphGetActorStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
|
1484
|
+
>,
|
1485
|
+
) {
|
1486
|
+
const nsid = 'app.bsky.graph.getActorStarterPacks' // @ts-ignore
|
1487
|
+
return this._server.xrpc.method(nsid, cfg)
|
1488
|
+
}
|
1489
|
+
|
1475
1490
|
getBlocks<AV extends AuthVerifier>(
|
1476
1491
|
cfg: ConfigOf<
|
1477
1492
|
AV,
|
@@ -1582,6 +1597,28 @@ export class AppBskyGraphNS {
|
|
1582
1597
|
return this._server.xrpc.method(nsid, cfg)
|
1583
1598
|
}
|
1584
1599
|
|
1600
|
+
getStarterPack<AV extends AuthVerifier>(
|
1601
|
+
cfg: ConfigOf<
|
1602
|
+
AV,
|
1603
|
+
AppBskyGraphGetStarterPack.Handler<ExtractAuth<AV>>,
|
1604
|
+
AppBskyGraphGetStarterPack.HandlerReqCtx<ExtractAuth<AV>>
|
1605
|
+
>,
|
1606
|
+
) {
|
1607
|
+
const nsid = 'app.bsky.graph.getStarterPack' // @ts-ignore
|
1608
|
+
return this._server.xrpc.method(nsid, cfg)
|
1609
|
+
}
|
1610
|
+
|
1611
|
+
getStarterPacks<AV extends AuthVerifier>(
|
1612
|
+
cfg: ConfigOf<
|
1613
|
+
AV,
|
1614
|
+
AppBskyGraphGetStarterPacks.Handler<ExtractAuth<AV>>,
|
1615
|
+
AppBskyGraphGetStarterPacks.HandlerReqCtx<ExtractAuth<AV>>
|
1616
|
+
>,
|
1617
|
+
) {
|
1618
|
+
const nsid = 'app.bsky.graph.getStarterPacks' // @ts-ignore
|
1619
|
+
return this._server.xrpc.method(nsid, cfg)
|
1620
|
+
}
|
1621
|
+
|
1585
1622
|
getSuggestedFollowsByActor<AV extends AuthVerifier>(
|
1586
1623
|
cfg: ConfigOf<
|
1587
1624
|
AV,
|