@atproto/pds 0.4.32 → 0.4.34
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +14 -0
- package/dist/actor-store/preference/reader.d.ts +2 -1
- package/dist/actor-store/preference/reader.d.ts.map +1 -1
- package/dist/actor-store/preference/reader.js +3 -1
- package/dist/actor-store/preference/reader.js.map +1 -1
- package/dist/actor-store/preference/transactor.d.ts +2 -1
- package/dist/actor-store/preference/transactor.d.ts.map +1 -1
- package/dist/actor-store/preference/transactor.js +7 -1
- package/dist/actor-store/preference/transactor.js.map +1 -1
- package/dist/actor-store/preference/util.d.ts +3 -0
- package/dist/actor-store/preference/util.d.ts.map +1 -0
- package/dist/actor-store/preference/util.js +12 -0
- package/dist/actor-store/preference/util.js.map +1 -0
- package/dist/api/app/bsky/actor/getPreferences.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getPreferences.js +1 -6
- package/dist/api/app/bsky/actor/getPreferences.js.map +1 -1
- package/dist/api/app/bsky/actor/putPreferences.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/putPreferences.js +1 -1
- package/dist/api/app/bsky/actor/putPreferences.js.map +1 -1
- package/dist/lexicon/index.d.ts +6 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +12 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +127 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +127 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +9 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +11 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/getKnownFollowers.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts +29 -0
- package/dist/lexicon/types/app/bsky/graph/muteThread.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/muteThread.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/muteThread.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts +29 -0
- package/dist/lexicon/types/app/bsky/graph/unmuteThread.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/unmuteThread.js +3 -0
- package/dist/lexicon/types/app/bsky/graph/unmuteThread.js.map +1 -0
- package/package.json +4 -4
- package/src/actor-store/preference/reader.ts +7 -1
- package/src/actor-store/preference/transactor.ts +10 -0
- package/src/actor-store/preference/util.ts +8 -0
- package/src/api/app/bsky/actor/getPreferences.ts +2 -9
- package/src/api/app/bsky/actor/putPreferences.ts +5 -1
- package/src/lexicon/index.ts +36 -0
- package/src/lexicon/lexicons.ts +129 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +20 -0
- package/src/lexicon/types/app/bsky/feed/defs.ts +1 -0
- package/src/lexicon/types/app/bsky/graph/getKnownFollowers.ts +50 -0
- package/src/lexicon/types/app/bsky/graph/muteThread.ts +38 -0
- package/src/lexicon/types/app/bsky/graph/unmuteThread.ts +38 -0
- package/tests/handle-validation.test.ts +1 -1
- package/tests/preferences.test.ts +67 -1
- package/tests/proxied/__snapshots__/feedgen.test.ts.snap +4 -1
- package/tests/proxied/__snapshots__/views.test.ts.snap +193 -42
@@ -72,10 +72,19 @@ export interface ViewerState {
|
|
72
72
|
blockingByList?: AppBskyGraphDefs.ListViewBasic;
|
73
73
|
following?: string;
|
74
74
|
followedBy?: string;
|
75
|
+
knownFollowers?: KnownFollowers;
|
75
76
|
[k: string]: unknown;
|
76
77
|
}
|
77
78
|
export declare function isViewerState(v: unknown): v is ViewerState;
|
78
79
|
export declare function validateViewerState(v: unknown): ValidationResult;
|
80
|
+
/** The subject's followers whom you also follow */
|
81
|
+
export interface KnownFollowers {
|
82
|
+
count: number;
|
83
|
+
followers: ProfileViewBasic[];
|
84
|
+
[k: string]: unknown;
|
85
|
+
}
|
86
|
+
export declare function isKnownFollowers(v: unknown): v is KnownFollowers;
|
87
|
+
export declare function validateKnownFollowers(v: unknown): ValidationResult;
|
79
88
|
export type Preferences = (AdultContentPref | ContentLabelPref | SavedFeedsPref | SavedFeedsPrefV2 | PersonalDetailsPref | FeedViewPref | ThreadViewPref | InterestsPref | MutedWordsPref | HiddenPostsPref | {
|
80
89
|
$type: string;
|
81
90
|
[k: string]: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAI5D,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,gBAAgB,CAMpE;AAED,wBA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nD,KAAK,EAAE,SAAS,EAAE,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,cAAc,CAMhE;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEnE;AAED,MAAM,WAAW,eAAe;IAC9B,4DAA4D;IAC5D,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,eAAe,CAMlE;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEpE;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,eAAe,EAAE,CAAA;IAC3B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,YAAY,CAM5D;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEjE;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,eAAe,CAMlE;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAEpE"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateSavedFeedsPrefV2 = exports.isSavedFeedsPrefV2 = exports.validateSavedFeed = exports.isSavedFeed = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociatedChat = exports.isProfileAssociatedChat = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
3
|
+
exports.validateLabelerPrefItem = exports.isLabelerPrefItem = exports.validateLabelersPref = exports.isLabelersPref = exports.validateHiddenPostsPref = exports.isHiddenPostsPref = exports.validateMutedWordsPref = exports.isMutedWordsPref = exports.validateMutedWord = exports.isMutedWord = exports.validateInterestsPref = exports.isInterestsPref = exports.validateThreadViewPref = exports.isThreadViewPref = exports.validateFeedViewPref = exports.isFeedViewPref = exports.validatePersonalDetailsPref = exports.isPersonalDetailsPref = exports.validateSavedFeedsPref = exports.isSavedFeedsPref = exports.validateSavedFeedsPrefV2 = exports.isSavedFeedsPrefV2 = exports.validateSavedFeed = exports.isSavedFeed = exports.validateContentLabelPref = exports.isContentLabelPref = exports.validateAdultContentPref = exports.isAdultContentPref = exports.validateKnownFollowers = exports.isKnownFollowers = exports.validateViewerState = exports.isViewerState = exports.validateProfileAssociatedChat = exports.isProfileAssociatedChat = exports.validateProfileAssociated = exports.isProfileAssociated = exports.validateProfileViewDetailed = exports.isProfileViewDetailed = exports.validateProfileView = exports.isProfileView = exports.validateProfileViewBasic = exports.isProfileViewBasic = void 0;
|
4
4
|
const lexicons_1 = require("../../../../lexicons");
|
5
5
|
const util_1 = require("../../../../util");
|
6
6
|
function isProfileViewBasic(v) {
|
@@ -63,6 +63,16 @@ function validateViewerState(v) {
|
|
63
63
|
return lexicons_1.lexicons.validate('app.bsky.actor.defs#viewerState', v);
|
64
64
|
}
|
65
65
|
exports.validateViewerState = validateViewerState;
|
66
|
+
function isKnownFollowers(v) {
|
67
|
+
return ((0, util_1.isObj)(v) &&
|
68
|
+
(0, util_1.hasProp)(v, '$type') &&
|
69
|
+
v.$type === 'app.bsky.actor.defs#knownFollowers');
|
70
|
+
}
|
71
|
+
exports.isKnownFollowers = isKnownFollowers;
|
72
|
+
function validateKnownFollowers(v) {
|
73
|
+
return lexicons_1.lexicons.validate('app.bsky.actor.defs#knownFollowers', v);
|
74
|
+
}
|
75
|
+
exports.validateKnownFollowers = validateKnownFollowers;
|
66
76
|
function isAdultContentPref(v) {
|
67
77
|
return ((0, util_1.isObj)(v) &&
|
68
78
|
(0, util_1.hasProp)(v, '$type') &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAgBjD,SAAgB,kBAAkB,CAAC,CAAU;IAC3C,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,sCAAsC,CACnD,CAAA;AACH,CAAC;AAND,gDAMC;AAED,SAAgB,wBAAwB,CAAC,CAAU;IACjD,OAAO,mBAAQ,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4DAEC;AAeD,SAAgB,aAAa,CAAC,CAAU;IACtC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC;QACR,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC;QACnB,CAAC,CAAC,KAAK,KAAK,iCAAiC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O,MAAM,oBAAoB,4CAA4C,CAAA;AAC7E,oEAAoE;AACpE,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,iCAAiC;AACjC,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,+BAA+B;AAC/B,eAAO,MAAM,eAAe,uCAAuC,CAAA;AACnE,kCAAkC;AAClC,eAAO,MAAM,iBAAiB,yCAAyC,CAAA;AACvE,oCAAoC;AACpC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA;AACrE,gCAAgC;AAChC,eAAO,MAAM,gBAAgB,wCAAwC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAgCjD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAC7E,CAAA;AACH,CAAC;AAJD,gCAIC;AAED,SAAgB,gBAAgB,CAAC,CAAU;IACzC,OAAO,mBAAQ,CAAC,QAAQ,CAAC,6BAA6B,EAAE,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,4CAEC;
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/feed/defs.ts"],"names":[],"mappings":";;;AAIA,mDAA+C;AAC/C,2CAAiD;AAgCjD,SAAgB,UAAU,CAAC,CAAU;IACnC,OAAO,CACL,IAAA,YAAK,EAAC,CAAC,CAAC,IAAI,IAAA,cAAO,EAAC,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,6BAA6B,CAC7E,CAAA;AACH,CAAC;AAJD,gCAIC;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qCAAqC,CAAA;AACrE,0DAA0D;AAC7C,QAAA,kBAAkB,GAAG,uCAAuC,CAAA;AACzE,4DAA4D;AAC/C,QAAA,oBAAoB,GAAG,yCAAyC,CAAA;AAC7E,oEAAoE;AACvD,QAAA,iBAAiB,GAAG,sCAAsC,CAAA;AACvE,iCAAiC;AACpB,QAAA,eAAe,GAAG,oCAAoC,CAAA;AACnE,+BAA+B;AAClB,QAAA,eAAe,GAAG,oCAAoC,CAAA;AACnE,kCAAkC;AACrB,QAAA,iBAAiB,GAAG,sCAAsC,CAAA;AACvE,oCAAoC;AACvB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA;AACrE,gCAAgC;AACnB,QAAA,gBAAgB,GAAG,qCAAqC,CAAA"}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
6
|
+
import * as AppBskyActorDefs from '../actor/defs';
|
7
|
+
export interface QueryParams {
|
8
|
+
actor: string;
|
9
|
+
limit: number;
|
10
|
+
cursor?: string;
|
11
|
+
}
|
12
|
+
export type InputSchema = undefined;
|
13
|
+
export interface OutputSchema {
|
14
|
+
subject: AppBskyActorDefs.ProfileView;
|
15
|
+
cursor?: string;
|
16
|
+
followers: AppBskyActorDefs.ProfileView[];
|
17
|
+
[k: string]: unknown;
|
18
|
+
}
|
19
|
+
export type HandlerInput = undefined;
|
20
|
+
export interface HandlerSuccess {
|
21
|
+
encoding: 'application/json';
|
22
|
+
body: OutputSchema;
|
23
|
+
headers?: {
|
24
|
+
[key: string]: string;
|
25
|
+
};
|
26
|
+
}
|
27
|
+
export interface HandlerError {
|
28
|
+
status: number;
|
29
|
+
message?: string;
|
30
|
+
}
|
31
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
32
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
33
|
+
auth: HA;
|
34
|
+
params: QueryParams;
|
35
|
+
input: HandlerInput;
|
36
|
+
req: express.Request;
|
37
|
+
res: express.Response;
|
38
|
+
};
|
39
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
40
|
+
//# sourceMappingURL=getKnownFollowers.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getKnownFollowers.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getKnownFollowers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AAEjD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,gBAAgB,CAAC,WAAW,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,gBAAgB,CAAC,WAAW,EAAE,CAAA;IACzC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,CAAA;AAEpC,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,GAAG,kBAAkB,CAAA;AAC9E,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getKnownFollowers.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/getKnownFollowers.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth } from '@atproto/xrpc-server';
|
6
|
+
export interface QueryParams {
|
7
|
+
}
|
8
|
+
export interface InputSchema {
|
9
|
+
root: string;
|
10
|
+
[k: string]: unknown;
|
11
|
+
}
|
12
|
+
export interface HandlerInput {
|
13
|
+
encoding: 'application/json';
|
14
|
+
body: InputSchema;
|
15
|
+
}
|
16
|
+
export interface HandlerError {
|
17
|
+
status: number;
|
18
|
+
message?: string;
|
19
|
+
}
|
20
|
+
export type HandlerOutput = HandlerError | void;
|
21
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
22
|
+
auth: HA;
|
23
|
+
params: QueryParams;
|
24
|
+
input: HandlerInput;
|
25
|
+
req: express.Request;
|
26
|
+
res: express.Response;
|
27
|
+
};
|
28
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
29
|
+
//# sourceMappingURL=muteThread.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"muteThread.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/muteThread.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAsB,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,IAAI,CAAA;AAC/C,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"muteThread.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/muteThread.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
3
|
+
*/
|
4
|
+
import express from 'express';
|
5
|
+
import { HandlerAuth } from '@atproto/xrpc-server';
|
6
|
+
export interface QueryParams {
|
7
|
+
}
|
8
|
+
export interface InputSchema {
|
9
|
+
root: string;
|
10
|
+
[k: string]: unknown;
|
11
|
+
}
|
12
|
+
export interface HandlerInput {
|
13
|
+
encoding: 'application/json';
|
14
|
+
body: InputSchema;
|
15
|
+
}
|
16
|
+
export interface HandlerError {
|
17
|
+
status: number;
|
18
|
+
message?: string;
|
19
|
+
}
|
20
|
+
export type HandlerOutput = HandlerError | void;
|
21
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
22
|
+
auth: HA;
|
23
|
+
params: QueryParams;
|
24
|
+
input: HandlerInput;
|
25
|
+
req: express.Request;
|
26
|
+
res: express.Response;
|
27
|
+
};
|
28
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
29
|
+
//# sourceMappingURL=unmuteThread.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"unmuteThread.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/unmuteThread.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,OAAO,MAAM,SAAS,CAAA;AAK7B,OAAO,EAAE,WAAW,EAAsB,MAAM,sBAAsB,CAAA;AAEtE,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,IAAI,CAAA;AAC/C,MAAM,MAAM,aAAa,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI;IAC1D,IAAI,EAAE,EAAE,CAAA;IACR,MAAM,EAAE,WAAW,CAAA;IACnB,KAAK,EAAE,YAAY,CAAA;IACnB,GAAG,EAAE,OAAO,CAAC,OAAO,CAAA;IACpB,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAA;CACtB,CAAA;AACD,MAAM,MAAM,OAAO,CAAC,EAAE,SAAS,WAAW,GAAG,KAAK,IAAI,CACpD,GAAG,EAAE,aAAa,CAAC,EAAE,CAAC,KACnB,OAAO,CAAC,aAAa,CAAC,GAAG,aAAa,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"unmuteThread.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/graph/unmuteThread.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atproto/pds",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.34",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "Reference implementation of atproto Personal Data Server (PDS)",
|
6
6
|
"keywords": [
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"typed-emitter": "^2.1.0",
|
44
44
|
"uint8arrays": "3.0.0",
|
45
45
|
"zod": "^3.21.4",
|
46
|
-
"@atproto/api": "^0.12.
|
46
|
+
"@atproto/api": "^0.12.19",
|
47
47
|
"@atproto/aws": "^0.2.0",
|
48
48
|
"@atproto/common": "^0.4.0",
|
49
49
|
"@atproto/crypto": "^0.4.0",
|
@@ -70,8 +70,8 @@
|
|
70
70
|
"jest": "^28.1.2",
|
71
71
|
"ts-node": "^10.8.2",
|
72
72
|
"ws": "^8.12.0",
|
73
|
-
"@atproto/api": "^0.12.
|
74
|
-
"@atproto/bsky": "^0.0.
|
73
|
+
"@atproto/api": "^0.12.19",
|
74
|
+
"@atproto/bsky": "^0.0.62",
|
75
75
|
"@atproto/lex-cli": "^0.4.0"
|
76
76
|
},
|
77
77
|
"scripts": {
|
@@ -1,9 +1,14 @@
|
|
1
|
+
import { AuthScope } from '../../auth-verifier'
|
1
2
|
import { ActorDb } from '../db'
|
3
|
+
import { prefInScope } from './util'
|
2
4
|
|
3
5
|
export class PreferenceReader {
|
4
6
|
constructor(public db: ActorDb) {}
|
5
7
|
|
6
|
-
async getPreferences(
|
8
|
+
async getPreferences(
|
9
|
+
namespace: string,
|
10
|
+
scope: AuthScope,
|
11
|
+
): Promise<AccountPreference[]> {
|
7
12
|
const prefsRes = await this.db.db
|
8
13
|
.selectFrom('account_pref')
|
9
14
|
.orderBy('id')
|
@@ -11,6 +16,7 @@ export class PreferenceReader {
|
|
11
16
|
.execute()
|
12
17
|
return prefsRes
|
13
18
|
.filter((pref) => !namespace || prefMatchNamespace(namespace, pref.name))
|
19
|
+
.filter((pref) => prefInScope(scope, pref.name))
|
14
20
|
.map((pref) => JSON.parse(pref.valueJson))
|
15
21
|
}
|
16
22
|
}
|
@@ -4,11 +4,14 @@ import {
|
|
4
4
|
AccountPreference,
|
5
5
|
prefMatchNamespace,
|
6
6
|
} from './reader'
|
7
|
+
import { AuthScope } from '../../auth-verifier'
|
8
|
+
import { prefInScope } from './util'
|
7
9
|
|
8
10
|
export class PreferenceTransactor extends PreferenceReader {
|
9
11
|
async putPreferences(
|
10
12
|
values: AccountPreference[],
|
11
13
|
namespace: string,
|
14
|
+
scope: AuthScope,
|
12
15
|
): Promise<void> {
|
13
16
|
this.db.assertTransaction()
|
14
17
|
if (!values.every((value) => prefMatchNamespace(namespace, value.$type))) {
|
@@ -16,6 +19,12 @@ export class PreferenceTransactor extends PreferenceReader {
|
|
16
19
|
`Some preferences are not in the ${namespace} namespace`,
|
17
20
|
)
|
18
21
|
}
|
22
|
+
const notInScope = values.filter((val) => !prefInScope(scope, val.$type))
|
23
|
+
if (notInScope.length > 0) {
|
24
|
+
throw new InvalidRequestError(
|
25
|
+
`Do not have authorization to set preferences: ${notInScope.join(', ')}`,
|
26
|
+
)
|
27
|
+
}
|
19
28
|
// get all current prefs for user and prep new pref rows
|
20
29
|
const allPrefs = await this.db.db
|
21
30
|
.selectFrom('account_pref')
|
@@ -29,6 +38,7 @@ export class PreferenceTransactor extends PreferenceReader {
|
|
29
38
|
})
|
30
39
|
const allPrefIdsInNamespace = allPrefs
|
31
40
|
.filter((pref) => prefMatchNamespace(namespace, pref.name))
|
41
|
+
.filter((pref) => prefInScope(scope, pref.name))
|
32
42
|
.map((pref) => pref.id)
|
33
43
|
// replace all prefs in given namespace
|
34
44
|
if (allPrefIdsInNamespace.length) {
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { AuthScope } from '../../auth-verifier'
|
2
|
+
|
3
|
+
const FULL_ACCESS_ONLY_PREFS = ['app.bsky.actor.defs#personalDetailsPref']
|
4
|
+
|
5
|
+
export const prefInScope = (scope: AuthScope, prefType: string) => {
|
6
|
+
if (scope === AuthScope.Access) return true
|
7
|
+
return !FULL_ACCESS_ONLY_PREFS.includes(prefType)
|
8
|
+
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { Server } from '../../../../lexicon'
|
2
2
|
import AppContext from '../../../../context'
|
3
|
-
import { AuthScope } from '../../../../auth-verifier'
|
4
3
|
|
5
4
|
export default function (server: Server, ctx: AppContext) {
|
6
5
|
if (!ctx.cfg.bskyAppView) return
|
@@ -8,15 +7,9 @@ export default function (server: Server, ctx: AppContext) {
|
|
8
7
|
auth: ctx.authVerifier.accessStandard(),
|
9
8
|
handler: async ({ auth }) => {
|
10
9
|
const requester = auth.credentials.did
|
11
|
-
|
12
|
-
store.pref.getPreferences('app.bsky'),
|
10
|
+
const preferences = await ctx.actorStore.read(requester, (store) =>
|
11
|
+
store.pref.getPreferences('app.bsky', auth.credentials.scope),
|
13
12
|
)
|
14
|
-
if (auth.credentials.scope !== AuthScope.Access) {
|
15
|
-
// filter out personal details for app passwords
|
16
|
-
preferences = preferences.filter(
|
17
|
-
(pref) => pref.$type !== 'app.bsky.actor.defs#personalDetailsPref',
|
18
|
-
)
|
19
|
-
}
|
20
13
|
return {
|
21
14
|
encoding: 'application/json',
|
22
15
|
body: { preferences },
|
@@ -19,7 +19,11 @@ export default function (server: Server, ctx: AppContext) {
|
|
19
19
|
}
|
20
20
|
}
|
21
21
|
await ctx.actorStore.transact(requester, async (actorTxn) => {
|
22
|
-
await actorTxn.pref.putPreferences(
|
22
|
+
await actorTxn.pref.putPreferences(
|
23
|
+
checkedPreferences,
|
24
|
+
'app.bsky',
|
25
|
+
auth.credentials.scope,
|
26
|
+
)
|
23
27
|
})
|
24
28
|
},
|
25
29
|
})
|
package/src/lexicon/index.ts
CHANGED
@@ -110,6 +110,7 @@ import * as AppBskyFeedSendInteractions from './types/app/bsky/feed/sendInteract
|
|
110
110
|
import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks'
|
111
111
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers'
|
112
112
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows'
|
113
|
+
import * as AppBskyGraphGetKnownFollowers from './types/app/bsky/graph/getKnownFollowers'
|
113
114
|
import * as AppBskyGraphGetList from './types/app/bsky/graph/getList'
|
114
115
|
import * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks'
|
115
116
|
import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes'
|
@@ -119,8 +120,10 @@ import * as AppBskyGraphGetRelationships from './types/app/bsky/graph/getRelatio
|
|
119
120
|
import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor'
|
120
121
|
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor'
|
121
122
|
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList'
|
123
|
+
import * as AppBskyGraphMuteThread from './types/app/bsky/graph/muteThread'
|
122
124
|
import * as AppBskyGraphUnmuteActor from './types/app/bsky/graph/unmuteActor'
|
123
125
|
import * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActorList'
|
126
|
+
import * as AppBskyGraphUnmuteThread from './types/app/bsky/graph/unmuteThread'
|
124
127
|
import * as AppBskyLabelerGetServices from './types/app/bsky/labeler/getServices'
|
125
128
|
import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount'
|
126
129
|
import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications'
|
@@ -1493,6 +1496,17 @@ export class AppBskyGraphNS {
|
|
1493
1496
|
return this._server.xrpc.method(nsid, cfg)
|
1494
1497
|
}
|
1495
1498
|
|
1499
|
+
getKnownFollowers<AV extends AuthVerifier>(
|
1500
|
+
cfg: ConfigOf<
|
1501
|
+
AV,
|
1502
|
+
AppBskyGraphGetKnownFollowers.Handler<ExtractAuth<AV>>,
|
1503
|
+
AppBskyGraphGetKnownFollowers.HandlerReqCtx<ExtractAuth<AV>>
|
1504
|
+
>,
|
1505
|
+
) {
|
1506
|
+
const nsid = 'app.bsky.graph.getKnownFollowers' // @ts-ignore
|
1507
|
+
return this._server.xrpc.method(nsid, cfg)
|
1508
|
+
}
|
1509
|
+
|
1496
1510
|
getList<AV extends AuthVerifier>(
|
1497
1511
|
cfg: ConfigOf<
|
1498
1512
|
AV,
|
@@ -1592,6 +1606,17 @@ export class AppBskyGraphNS {
|
|
1592
1606
|
return this._server.xrpc.method(nsid, cfg)
|
1593
1607
|
}
|
1594
1608
|
|
1609
|
+
muteThread<AV extends AuthVerifier>(
|
1610
|
+
cfg: ConfigOf<
|
1611
|
+
AV,
|
1612
|
+
AppBskyGraphMuteThread.Handler<ExtractAuth<AV>>,
|
1613
|
+
AppBskyGraphMuteThread.HandlerReqCtx<ExtractAuth<AV>>
|
1614
|
+
>,
|
1615
|
+
) {
|
1616
|
+
const nsid = 'app.bsky.graph.muteThread' // @ts-ignore
|
1617
|
+
return this._server.xrpc.method(nsid, cfg)
|
1618
|
+
}
|
1619
|
+
|
1595
1620
|
unmuteActor<AV extends AuthVerifier>(
|
1596
1621
|
cfg: ConfigOf<
|
1597
1622
|
AV,
|
@@ -1613,6 +1638,17 @@ export class AppBskyGraphNS {
|
|
1613
1638
|
const nsid = 'app.bsky.graph.unmuteActorList' // @ts-ignore
|
1614
1639
|
return this._server.xrpc.method(nsid, cfg)
|
1615
1640
|
}
|
1641
|
+
|
1642
|
+
unmuteThread<AV extends AuthVerifier>(
|
1643
|
+
cfg: ConfigOf<
|
1644
|
+
AV,
|
1645
|
+
AppBskyGraphUnmuteThread.Handler<ExtractAuth<AV>>,
|
1646
|
+
AppBskyGraphUnmuteThread.HandlerReqCtx<ExtractAuth<AV>>
|
1647
|
+
>,
|
1648
|
+
) {
|
1649
|
+
const nsid = 'app.bsky.graph.unmuteThread' // @ts-ignore
|
1650
|
+
return this._server.xrpc.method(nsid, cfg)
|
1651
|
+
}
|
1616
1652
|
}
|
1617
1653
|
|
1618
1654
|
export class AppBskyLabelerNS {
|