@atproto/bsky 0.0.13 → 0.0.15
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 +18 -0
- package/dist/api/app/bsky/feed/searchPosts.d.ts +3 -0
- package/dist/api/com/atproto/temp/fetchLabels.d.ts +3 -0
- package/dist/config.d.ts +2 -2
- package/dist/context.d.ts +1 -1
- package/dist/index.js +723 -443
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +7 -0
- package/dist/lexicon/lexicons.d.ts +63 -0
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts +2 -0
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/temp/fetchLabels.d.ts +33 -0
- package/package.json +10 -11
- package/src/api/app/bsky/actor/getSuggestions.ts +45 -21
- package/src/api/app/bsky/feed/getPostThread.ts +16 -4
- package/src/api/app/bsky/feed/searchPosts.ts +127 -0
- package/src/api/com/atproto/admin/reverseModerationAction.ts +3 -3
- package/src/api/com/atproto/admin/takeModerationAction.ts +2 -2
- package/src/api/com/atproto/admin/util.ts +3 -1
- package/src/api/com/atproto/temp/fetchLabels.ts +30 -0
- package/src/api/index.ts +4 -0
- package/src/config.ts +6 -6
- package/src/context.ts +11 -9
- package/src/db/periodic-moderation-action-reversal.ts +1 -9
- package/src/lexicon/index.ts +22 -0
- package/src/lexicon/lexicons.ts +192 -129
- package/src/lexicon/types/app/bsky/actor/defs.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/searchActors.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/searchPosts.ts +3 -3
- package/src/lexicon/types/app/bsky/graph/defs.ts +2 -2
- package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +4 -4
- package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +3 -3
- package/src/lexicon/types/com/atproto/admin/defs.ts +5 -3
- package/src/lexicon/types/com/atproto/admin/disableAccountInvites.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/enableAccountInvites.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/getModerationReports.ts +3 -3
- package/src/lexicon/types/com/atproto/admin/takeModerationAction.ts +1 -1
- package/src/lexicon/types/com/atproto/label/defs.ts +9 -9
- package/src/lexicon/types/com/atproto/label/queryLabels.ts +2 -2
- package/src/lexicon/types/com/atproto/repo/applyWrites.ts +1 -1
- package/src/lexicon/types/com/atproto/repo/createRecord.ts +2 -2
- package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +2 -2
- package/src/lexicon/types/com/atproto/repo/listRecords.ts +1 -1
- package/src/lexicon/types/com/atproto/repo/putRecord.ts +3 -3
- package/src/lexicon/types/com/atproto/server/getSession.ts +1 -0
- package/src/lexicon/types/com/atproto/sync/listBlobs.ts +1 -1
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +4 -4
- package/src/lexicon/types/com/atproto/temp/fetchLabels.ts +47 -0
- package/tests/admin/get-repo.test.ts +33 -0
- package/tests/views/suggestions.test.ts +15 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atproto/bsky
|
|
2
2
|
|
|
3
|
+
## 0.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`e1b5f253`](https://github.com/bluesky-social/atproto/commit/e1b5f2537a5ba4d8b951a741269b604856028ae5)]:
|
|
8
|
+
- @atproto/crypto@0.3.0
|
|
9
|
+
- @atproto/xrpc-server@0.4.1
|
|
10
|
+
- @atproto/identity@0.3.2
|
|
11
|
+
- @atproto/repo@0.3.5
|
|
12
|
+
- @atproto/api@0.6.23
|
|
13
|
+
|
|
14
|
+
## 0.0.14
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`772736a0`](https://github.com/bluesky-social/atproto/commit/772736a01081f39504e1b19a1b3687783bb78f07)]:
|
|
19
|
+
- @atproto/api@0.6.23
|
|
20
|
+
|
|
3
21
|
## 0.0.13
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/config.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface ServerConfigValues {
|
|
|
20
20
|
adminPassword: string;
|
|
21
21
|
moderatorPassword?: string;
|
|
22
22
|
triagePassword?: string;
|
|
23
|
-
|
|
23
|
+
moderationPushUrl?: string;
|
|
24
24
|
}
|
|
25
25
|
export declare class ServerConfig {
|
|
26
26
|
private cfg;
|
|
@@ -50,5 +50,5 @@ export declare class ServerConfig {
|
|
|
50
50
|
get adminPassword(): string;
|
|
51
51
|
get moderatorPassword(): string | undefined;
|
|
52
52
|
get triagePassword(): string | undefined;
|
|
53
|
-
get
|
|
53
|
+
get moderationPushUrl(): string | undefined;
|
|
54
54
|
}
|
package/dist/context.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { LabelCache } from './label-cache';
|
|
|
15
15
|
import { NotificationServer } from './notifications';
|
|
16
16
|
export declare class AppContext {
|
|
17
17
|
private opts;
|
|
18
|
+
moderationPushAgent: AtpAgent | undefined;
|
|
18
19
|
constructor(opts: {
|
|
19
20
|
db: DatabaseCoordinator;
|
|
20
21
|
imgUriBuilder: ImageUriBuilder;
|
|
@@ -114,7 +115,6 @@ export declare class AppContext {
|
|
|
114
115
|
};
|
|
115
116
|
}>;
|
|
116
117
|
serviceAuthJwt(aud: string): Promise<string>;
|
|
117
|
-
pdsAdminAgent(did: string): Promise<AtpAgent>;
|
|
118
118
|
get backgroundQueue(): BackgroundQueue;
|
|
119
119
|
get algos(): MountedAlgos;
|
|
120
120
|
}
|