@atproto/api 0.6.12 → 0.6.14
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 +17 -0
- package/LICENSE +1 -1
- package/dist/client/index.d.ts +58 -8
- package/dist/client/lexicons.d.ts +259 -29
- package/dist/client/types/app/bsky/feed/defs.d.ts +18 -0
- package/dist/client/types/app/bsky/feed/{getSavedFeeds.d.ts → getListFeed.d.ts} +6 -2
- package/dist/client/types/app/bsky/feed/threadgate.d.ts +26 -0
- package/dist/client/types/app/bsky/graph/defs.d.ts +3 -1
- package/dist/client/types/app/bsky/{notification/getCount.d.ts → graph/getSuggestedFollowsByActor.d.ts} +3 -1
- package/dist/index.js +564 -165
- package/dist/index.js.map +3 -3
- package/package.json +6 -6
- package/src/client/index.ts +183 -23
- package/src/client/lexicons.ts +272 -30
- package/src/client/types/app/bsky/feed/defs.ts +40 -0
- package/src/client/types/app/bsky/feed/getListFeed.ts +46 -0
- package/src/client/types/app/bsky/feed/threadgate.ts +80 -0
- package/src/client/types/app/bsky/graph/defs.ts +7 -1
- package/src/client/types/app/bsky/graph/getListBlocks.ts +38 -0
- package/src/client/types/{com/atproto/temp/upgradeRepoVersion.ts → app/bsky/graph/getSuggestedFollowsByActor.ts} +9 -6
- package/src/client/types/app/bsky/graph/listblock.ts +26 -0
- package/dist/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/client/types/app/bsky/actor/ref.d.ts +0 -28
- package/dist/client/types/app/bsky/actor/search.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -20
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -40
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +0 -28
- package/dist/client/types/app/bsky/feed/getVotes.d.ts +0 -36
- package/dist/client/types/app/bsky/feed/saveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/client/types/app/bsky/feed/trend.d.ts +0 -9
- package/dist/client/types/app/bsky/feed/unsaveFeed.d.ts +0 -17
- package/dist/client/types/app/bsky/feed/vote.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/client/types/app/bsky/graph/assertion.d.ts +0 -10
- package/dist/client/types/app/bsky/graph/confirmation.d.ts +0 -11
- package/dist/client/types/app/bsky/graph/getAssertions.d.ts +0 -48
- package/dist/client/types/app/bsky/graph/getMembers.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/getMemberships.d.ts +0 -36
- package/dist/client/types/app/bsky/graph/mute.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/subscribeMuteList.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/unmute.d.ts +0 -17
- package/dist/client/types/app/bsky/graph/unsubscribeMuteList.d.ts +0 -17
- package/dist/client/types/app/bsky/notification/list.d.ts +0 -35
- package/dist/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +0 -8
- package/dist/client/types/app/bsky/system/declaration.d.ts +0 -7
- package/dist/client/types/app/bsky/unspecced/registerPushNotification.d.ts +0 -16
- package/dist/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/client/types/com/atproto/account/delete.d.ts +0 -25
- package/dist/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +0 -13
- package/dist/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/blob.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +0 -60
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/admin/record.d.ts +0 -43
- package/dist/client/types/com/atproto/admin/repo.d.ts +0 -45
- package/dist/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/client/types/com/atproto/handle/update.d.ts +0 -17
- package/dist/client/types/com/atproto/repo/batchWrite.d.ts +0 -46
- package/dist/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +0 -24
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +0 -7
- package/dist/client/types/com/atproto/report/create.d.ts +0 -39
- package/dist/client/types/com/atproto/report/reasonType.d.ts +0 -3
- package/dist/client/types/com/atproto/report/subject.d.ts +0 -23
- package/dist/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -27
- package/dist/client/types/com/atproto/session/create.d.ts +0 -29
- package/dist/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/client/types/com/atproto/session/refresh.d.ts +0 -24
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +0 -20
- package/dist/client/types/com/atproto/sync/getRoot.d.ts +0 -18
- package/dist/client/types/com/atproto/sync/subscribeAllRepos.d.ts +0 -9
- package/dist/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/client/types/com/atproto/temp/upgradeRepoVersion.d.ts +0 -18
- package/dist/helpers/bsky.d.ts +0 -20
- package/dist/mixins/bsky.d.ts +0 -23
- package/dist/rich-text/sanitize.d.ts +0 -4
- package/dist/session.d.ts +0 -42
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @atproto/api
|
|
2
|
+
|
|
3
|
+
## 0.6.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b1dc3555`](https://github.com/bluesky-social/atproto/commit/b1dc355504f9f2e047093dc56682b8034518cf80)]:
|
|
8
|
+
- @atproto/syntax@0.1.1
|
|
9
|
+
- @atproto/lexicon@0.2.1
|
|
10
|
+
- @atproto/xrpc@0.3.1
|
|
11
|
+
|
|
12
|
+
## 0.6.13
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#1553](https://github.com/bluesky-social/atproto/pull/1553) [`3877210e`](https://github.com/bluesky-social/atproto/commit/3877210e7fb3c76dfb1a11eb9ba3f18426301d9f) Thanks [@estrattonbailey](https://github.com/estrattonbailey)! - Adds a new method `app.bsky.graph.getSuggestedFollowsByActor`. This method
|
|
17
|
+
returns suggested follows for a given actor based on their likes and follows.
|
package/LICENSE
CHANGED
package/dist/client/index.d.ts
CHANGED
|
@@ -55,7 +55,6 @@ import * as ComAtprotoSyncListBlobs from './types/com/atproto/sync/listBlobs';
|
|
|
55
55
|
import * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos';
|
|
56
56
|
import * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
|
|
57
57
|
import * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
|
|
58
|
-
import * as ComAtprotoTempUpgradeRepoVersion from './types/com/atproto/temp/upgradeRepoVersion';
|
|
59
58
|
import * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
|
|
60
59
|
import * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
61
60
|
import * as AppBskyActorGetProfiles from './types/app/bsky/actor/getProfiles';
|
|
@@ -74,6 +73,7 @@ import * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGener
|
|
|
74
73
|
import * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators';
|
|
75
74
|
import * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton';
|
|
76
75
|
import * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
|
|
76
|
+
import * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed';
|
|
77
77
|
import * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
78
78
|
import * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts';
|
|
79
79
|
import * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
@@ -82,16 +82,20 @@ import * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
|
82
82
|
import * as AppBskyFeedLike from './types/app/bsky/feed/like';
|
|
83
83
|
import * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
84
84
|
import * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
85
|
+
import * as AppBskyFeedThreadgate from './types/app/bsky/feed/threadgate';
|
|
85
86
|
import * as AppBskyGraphBlock from './types/app/bsky/graph/block';
|
|
86
87
|
import * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
87
88
|
import * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks';
|
|
88
89
|
import * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
89
90
|
import * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
90
91
|
import * as AppBskyGraphGetList from './types/app/bsky/graph/getList';
|
|
92
|
+
import * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks';
|
|
91
93
|
import * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes';
|
|
92
94
|
import * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists';
|
|
93
95
|
import * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
96
|
+
import * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor';
|
|
94
97
|
import * as AppBskyGraphList from './types/app/bsky/graph/list';
|
|
98
|
+
import * as AppBskyGraphListblock from './types/app/bsky/graph/listblock';
|
|
95
99
|
import * as AppBskyGraphListitem from './types/app/bsky/graph/listitem';
|
|
96
100
|
import * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
|
|
97
101
|
import * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList';
|
|
@@ -168,7 +172,6 @@ export * as ComAtprotoSyncListRepos from './types/com/atproto/sync/listRepos';
|
|
|
168
172
|
export * as ComAtprotoSyncNotifyOfUpdate from './types/com/atproto/sync/notifyOfUpdate';
|
|
169
173
|
export * as ComAtprotoSyncRequestCrawl from './types/com/atproto/sync/requestCrawl';
|
|
170
174
|
export * as ComAtprotoSyncSubscribeRepos from './types/com/atproto/sync/subscribeRepos';
|
|
171
|
-
export * as ComAtprotoTempUpgradeRepoVersion from './types/com/atproto/temp/upgradeRepoVersion';
|
|
172
175
|
export * as AppBskyActorDefs from './types/app/bsky/actor/defs';
|
|
173
176
|
export * as AppBskyActorGetPreferences from './types/app/bsky/actor/getPreferences';
|
|
174
177
|
export * as AppBskyActorGetProfile from './types/app/bsky/actor/getProfile';
|
|
@@ -193,6 +196,7 @@ export * as AppBskyFeedGetFeedGenerator from './types/app/bsky/feed/getFeedGener
|
|
|
193
196
|
export * as AppBskyFeedGetFeedGenerators from './types/app/bsky/feed/getFeedGenerators';
|
|
194
197
|
export * as AppBskyFeedGetFeedSkeleton from './types/app/bsky/feed/getFeedSkeleton';
|
|
195
198
|
export * as AppBskyFeedGetLikes from './types/app/bsky/feed/getLikes';
|
|
199
|
+
export * as AppBskyFeedGetListFeed from './types/app/bsky/feed/getListFeed';
|
|
196
200
|
export * as AppBskyFeedGetPostThread from './types/app/bsky/feed/getPostThread';
|
|
197
201
|
export * as AppBskyFeedGetPosts from './types/app/bsky/feed/getPosts';
|
|
198
202
|
export * as AppBskyFeedGetRepostedBy from './types/app/bsky/feed/getRepostedBy';
|
|
@@ -201,6 +205,7 @@ export * as AppBskyFeedGetTimeline from './types/app/bsky/feed/getTimeline';
|
|
|
201
205
|
export * as AppBskyFeedLike from './types/app/bsky/feed/like';
|
|
202
206
|
export * as AppBskyFeedPost from './types/app/bsky/feed/post';
|
|
203
207
|
export * as AppBskyFeedRepost from './types/app/bsky/feed/repost';
|
|
208
|
+
export * as AppBskyFeedThreadgate from './types/app/bsky/feed/threadgate';
|
|
204
209
|
export * as AppBskyGraphBlock from './types/app/bsky/graph/block';
|
|
205
210
|
export * as AppBskyGraphDefs from './types/app/bsky/graph/defs';
|
|
206
211
|
export * as AppBskyGraphFollow from './types/app/bsky/graph/follow';
|
|
@@ -208,10 +213,13 @@ export * as AppBskyGraphGetBlocks from './types/app/bsky/graph/getBlocks';
|
|
|
208
213
|
export * as AppBskyGraphGetFollowers from './types/app/bsky/graph/getFollowers';
|
|
209
214
|
export * as AppBskyGraphGetFollows from './types/app/bsky/graph/getFollows';
|
|
210
215
|
export * as AppBskyGraphGetList from './types/app/bsky/graph/getList';
|
|
216
|
+
export * as AppBskyGraphGetListBlocks from './types/app/bsky/graph/getListBlocks';
|
|
211
217
|
export * as AppBskyGraphGetListMutes from './types/app/bsky/graph/getListMutes';
|
|
212
218
|
export * as AppBskyGraphGetLists from './types/app/bsky/graph/getLists';
|
|
213
219
|
export * as AppBskyGraphGetMutes from './types/app/bsky/graph/getMutes';
|
|
220
|
+
export * as AppBskyGraphGetSuggestedFollowsByActor from './types/app/bsky/graph/getSuggestedFollowsByActor';
|
|
214
221
|
export * as AppBskyGraphList from './types/app/bsky/graph/list';
|
|
222
|
+
export * as AppBskyGraphListblock from './types/app/bsky/graph/listblock';
|
|
215
223
|
export * as AppBskyGraphListitem from './types/app/bsky/graph/listitem';
|
|
216
224
|
export * as AppBskyGraphMuteActor from './types/app/bsky/graph/muteActor';
|
|
217
225
|
export * as AppBskyGraphMuteActorList from './types/app/bsky/graph/muteActorList';
|
|
@@ -242,6 +250,7 @@ export declare const COM_ATPROTO_MODERATION: {
|
|
|
242
250
|
};
|
|
243
251
|
export declare const APP_BSKY_GRAPH: {
|
|
244
252
|
DefsModlist: string;
|
|
253
|
+
DefsCuratelist: string;
|
|
245
254
|
};
|
|
246
255
|
export declare class AtpBaseClient {
|
|
247
256
|
xrpc: XrpcClient;
|
|
@@ -270,7 +279,6 @@ export declare class AtprotoNS {
|
|
|
270
279
|
repo: RepoNS;
|
|
271
280
|
server: ServerNS;
|
|
272
281
|
sync: SyncNS;
|
|
273
|
-
temp: TempNS;
|
|
274
282
|
constructor(service: AtpServiceClient);
|
|
275
283
|
}
|
|
276
284
|
export declare class AdminNS {
|
|
@@ -357,11 +365,6 @@ export declare class SyncNS {
|
|
|
357
365
|
notifyOfUpdate(data?: ComAtprotoSyncNotifyOfUpdate.InputSchema, opts?: ComAtprotoSyncNotifyOfUpdate.CallOptions): Promise<ComAtprotoSyncNotifyOfUpdate.Response>;
|
|
358
366
|
requestCrawl(data?: ComAtprotoSyncRequestCrawl.InputSchema, opts?: ComAtprotoSyncRequestCrawl.CallOptions): Promise<ComAtprotoSyncRequestCrawl.Response>;
|
|
359
367
|
}
|
|
360
|
-
export declare class TempNS {
|
|
361
|
-
_service: AtpServiceClient;
|
|
362
|
-
constructor(service: AtpServiceClient);
|
|
363
|
-
upgradeRepoVersion(data?: ComAtprotoTempUpgradeRepoVersion.InputSchema, opts?: ComAtprotoTempUpgradeRepoVersion.CallOptions): Promise<ComAtprotoTempUpgradeRepoVersion.Response>;
|
|
364
|
-
}
|
|
365
368
|
export declare class AppNS {
|
|
366
369
|
_service: AtpServiceClient;
|
|
367
370
|
bsky: BskyNS;
|
|
@@ -421,6 +424,7 @@ export declare class FeedNS {
|
|
|
421
424
|
like: LikeRecord;
|
|
422
425
|
post: PostRecord;
|
|
423
426
|
repost: RepostRecord;
|
|
427
|
+
threadgate: ThreadgateRecord;
|
|
424
428
|
constructor(service: AtpServiceClient);
|
|
425
429
|
describeFeedGenerator(params?: AppBskyFeedDescribeFeedGenerator.QueryParams, opts?: AppBskyFeedDescribeFeedGenerator.CallOptions): Promise<AppBskyFeedDescribeFeedGenerator.Response>;
|
|
426
430
|
getActorFeeds(params?: AppBskyFeedGetActorFeeds.QueryParams, opts?: AppBskyFeedGetActorFeeds.CallOptions): Promise<AppBskyFeedGetActorFeeds.Response>;
|
|
@@ -431,6 +435,7 @@ export declare class FeedNS {
|
|
|
431
435
|
getFeedGenerators(params?: AppBskyFeedGetFeedGenerators.QueryParams, opts?: AppBskyFeedGetFeedGenerators.CallOptions): Promise<AppBskyFeedGetFeedGenerators.Response>;
|
|
432
436
|
getFeedSkeleton(params?: AppBskyFeedGetFeedSkeleton.QueryParams, opts?: AppBskyFeedGetFeedSkeleton.CallOptions): Promise<AppBskyFeedGetFeedSkeleton.Response>;
|
|
433
437
|
getLikes(params?: AppBskyFeedGetLikes.QueryParams, opts?: AppBskyFeedGetLikes.CallOptions): Promise<AppBskyFeedGetLikes.Response>;
|
|
438
|
+
getListFeed(params?: AppBskyFeedGetListFeed.QueryParams, opts?: AppBskyFeedGetListFeed.CallOptions): Promise<AppBskyFeedGetListFeed.Response>;
|
|
434
439
|
getPostThread(params?: AppBskyFeedGetPostThread.QueryParams, opts?: AppBskyFeedGetPostThread.CallOptions): Promise<AppBskyFeedGetPostThread.Response>;
|
|
435
440
|
getPosts(params?: AppBskyFeedGetPosts.QueryParams, opts?: AppBskyFeedGetPosts.CallOptions): Promise<AppBskyFeedGetPosts.Response>;
|
|
436
441
|
getRepostedBy(params?: AppBskyFeedGetRepostedBy.QueryParams, opts?: AppBskyFeedGetRepostedBy.CallOptions): Promise<AppBskyFeedGetRepostedBy.Response>;
|
|
@@ -521,20 +526,44 @@ export declare class RepostRecord {
|
|
|
521
526
|
}>;
|
|
522
527
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
523
528
|
}
|
|
529
|
+
export declare class ThreadgateRecord {
|
|
530
|
+
_service: AtpServiceClient;
|
|
531
|
+
constructor(service: AtpServiceClient);
|
|
532
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
533
|
+
cursor?: string;
|
|
534
|
+
records: {
|
|
535
|
+
uri: string;
|
|
536
|
+
value: AppBskyFeedThreadgate.Record;
|
|
537
|
+
}[];
|
|
538
|
+
}>;
|
|
539
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
540
|
+
uri: string;
|
|
541
|
+
cid: string;
|
|
542
|
+
value: AppBskyFeedThreadgate.Record;
|
|
543
|
+
}>;
|
|
544
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyFeedThreadgate.Record, headers?: Record<string, string>): Promise<{
|
|
545
|
+
uri: string;
|
|
546
|
+
cid: string;
|
|
547
|
+
}>;
|
|
548
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
549
|
+
}
|
|
524
550
|
export declare class GraphNS {
|
|
525
551
|
_service: AtpServiceClient;
|
|
526
552
|
block: BlockRecord;
|
|
527
553
|
follow: FollowRecord;
|
|
528
554
|
list: ListRecord;
|
|
555
|
+
listblock: ListblockRecord;
|
|
529
556
|
listitem: ListitemRecord;
|
|
530
557
|
constructor(service: AtpServiceClient);
|
|
531
558
|
getBlocks(params?: AppBskyGraphGetBlocks.QueryParams, opts?: AppBskyGraphGetBlocks.CallOptions): Promise<AppBskyGraphGetBlocks.Response>;
|
|
532
559
|
getFollowers(params?: AppBskyGraphGetFollowers.QueryParams, opts?: AppBskyGraphGetFollowers.CallOptions): Promise<AppBskyGraphGetFollowers.Response>;
|
|
533
560
|
getFollows(params?: AppBskyGraphGetFollows.QueryParams, opts?: AppBskyGraphGetFollows.CallOptions): Promise<AppBskyGraphGetFollows.Response>;
|
|
534
561
|
getList(params?: AppBskyGraphGetList.QueryParams, opts?: AppBskyGraphGetList.CallOptions): Promise<AppBskyGraphGetList.Response>;
|
|
562
|
+
getListBlocks(params?: AppBskyGraphGetListBlocks.QueryParams, opts?: AppBskyGraphGetListBlocks.CallOptions): Promise<AppBskyGraphGetListBlocks.Response>;
|
|
535
563
|
getListMutes(params?: AppBskyGraphGetListMutes.QueryParams, opts?: AppBskyGraphGetListMutes.CallOptions): Promise<AppBskyGraphGetListMutes.Response>;
|
|
536
564
|
getLists(params?: AppBskyGraphGetLists.QueryParams, opts?: AppBskyGraphGetLists.CallOptions): Promise<AppBskyGraphGetLists.Response>;
|
|
537
565
|
getMutes(params?: AppBskyGraphGetMutes.QueryParams, opts?: AppBskyGraphGetMutes.CallOptions): Promise<AppBskyGraphGetMutes.Response>;
|
|
566
|
+
getSuggestedFollowsByActor(params?: AppBskyGraphGetSuggestedFollowsByActor.QueryParams, opts?: AppBskyGraphGetSuggestedFollowsByActor.CallOptions): Promise<AppBskyGraphGetSuggestedFollowsByActor.Response>;
|
|
538
567
|
muteActor(data?: AppBskyGraphMuteActor.InputSchema, opts?: AppBskyGraphMuteActor.CallOptions): Promise<AppBskyGraphMuteActor.Response>;
|
|
539
568
|
muteActorList(data?: AppBskyGraphMuteActorList.InputSchema, opts?: AppBskyGraphMuteActorList.CallOptions): Promise<AppBskyGraphMuteActorList.Response>;
|
|
540
569
|
unmuteActor(data?: AppBskyGraphUnmuteActor.InputSchema, opts?: AppBskyGraphUnmuteActor.CallOptions): Promise<AppBskyGraphUnmuteActor.Response>;
|
|
@@ -603,6 +632,27 @@ export declare class ListRecord {
|
|
|
603
632
|
}>;
|
|
604
633
|
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
605
634
|
}
|
|
635
|
+
export declare class ListblockRecord {
|
|
636
|
+
_service: AtpServiceClient;
|
|
637
|
+
constructor(service: AtpServiceClient);
|
|
638
|
+
list(params: Omit<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
639
|
+
cursor?: string;
|
|
640
|
+
records: {
|
|
641
|
+
uri: string;
|
|
642
|
+
value: AppBskyGraphListblock.Record;
|
|
643
|
+
}[];
|
|
644
|
+
}>;
|
|
645
|
+
get(params: Omit<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
646
|
+
uri: string;
|
|
647
|
+
cid: string;
|
|
648
|
+
value: AppBskyGraphListblock.Record;
|
|
649
|
+
}>;
|
|
650
|
+
create(params: Omit<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: AppBskyGraphListblock.Record, headers?: Record<string, string>): Promise<{
|
|
651
|
+
uri: string;
|
|
652
|
+
cid: string;
|
|
653
|
+
}>;
|
|
654
|
+
delete(params: Omit<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
655
|
+
}
|
|
606
656
|
export declare class ListitemRecord {
|
|
607
657
|
_service: AtpServiceClient;
|
|
608
658
|
constructor(service: AtpServiceClient);
|
|
@@ -2910,7 +2910,6 @@ export declare const schemaDict: {
|
|
|
2910
2910
|
};
|
|
2911
2911
|
since: {
|
|
2912
2912
|
type: string;
|
|
2913
|
-
format: string;
|
|
2914
2913
|
description: string;
|
|
2915
2914
|
};
|
|
2916
2915
|
};
|
|
@@ -2939,7 +2938,6 @@ export declare const schemaDict: {
|
|
|
2939
2938
|
};
|
|
2940
2939
|
since: {
|
|
2941
2940
|
type: string;
|
|
2942
|
-
format: string;
|
|
2943
2941
|
description: string;
|
|
2944
2942
|
};
|
|
2945
2943
|
limit: {
|
|
@@ -3253,32 +3251,6 @@ export declare const schemaDict: {
|
|
|
3253
3251
|
};
|
|
3254
3252
|
};
|
|
3255
3253
|
};
|
|
3256
|
-
ComAtprotoTempUpgradeRepoVersion: {
|
|
3257
|
-
lexicon: number;
|
|
3258
|
-
id: string;
|
|
3259
|
-
defs: {
|
|
3260
|
-
main: {
|
|
3261
|
-
type: string;
|
|
3262
|
-
description: string;
|
|
3263
|
-
input: {
|
|
3264
|
-
encoding: string;
|
|
3265
|
-
schema: {
|
|
3266
|
-
type: string;
|
|
3267
|
-
required: string[];
|
|
3268
|
-
properties: {
|
|
3269
|
-
did: {
|
|
3270
|
-
type: string;
|
|
3271
|
-
format: string;
|
|
3272
|
-
};
|
|
3273
|
-
force: {
|
|
3274
|
-
type: string;
|
|
3275
|
-
};
|
|
3276
|
-
};
|
|
3277
|
-
};
|
|
3278
|
-
};
|
|
3279
|
-
};
|
|
3280
|
-
};
|
|
3281
|
-
};
|
|
3282
3254
|
AppBskyActorDefs: {
|
|
3283
3255
|
lexicon: number;
|
|
3284
3256
|
id: string;
|
|
@@ -4123,6 +4095,10 @@ export declare const schemaDict: {
|
|
|
4123
4095
|
ref: string;
|
|
4124
4096
|
};
|
|
4125
4097
|
};
|
|
4098
|
+
threadgate: {
|
|
4099
|
+
type: string;
|
|
4100
|
+
ref: string;
|
|
4101
|
+
};
|
|
4126
4102
|
};
|
|
4127
4103
|
};
|
|
4128
4104
|
viewerState: {
|
|
@@ -4203,6 +4179,10 @@ export declare const schemaDict: {
|
|
|
4203
4179
|
refs: string[];
|
|
4204
4180
|
};
|
|
4205
4181
|
};
|
|
4182
|
+
viewer: {
|
|
4183
|
+
type: string;
|
|
4184
|
+
ref: string;
|
|
4185
|
+
};
|
|
4206
4186
|
};
|
|
4207
4187
|
};
|
|
4208
4188
|
notFoundPost: {
|
|
@@ -4251,6 +4231,14 @@ export declare const schemaDict: {
|
|
|
4251
4231
|
};
|
|
4252
4232
|
};
|
|
4253
4233
|
};
|
|
4234
|
+
viewerThreadState: {
|
|
4235
|
+
type: string;
|
|
4236
|
+
properties: {
|
|
4237
|
+
canReply: {
|
|
4238
|
+
type: string;
|
|
4239
|
+
};
|
|
4240
|
+
};
|
|
4241
|
+
};
|
|
4254
4242
|
generatorView: {
|
|
4255
4243
|
type: string;
|
|
4256
4244
|
required: string[];
|
|
@@ -4336,6 +4324,29 @@ export declare const schemaDict: {
|
|
|
4336
4324
|
};
|
|
4337
4325
|
};
|
|
4338
4326
|
};
|
|
4327
|
+
threadgateView: {
|
|
4328
|
+
type: string;
|
|
4329
|
+
properties: {
|
|
4330
|
+
uri: {
|
|
4331
|
+
type: string;
|
|
4332
|
+
format: string;
|
|
4333
|
+
};
|
|
4334
|
+
cid: {
|
|
4335
|
+
type: string;
|
|
4336
|
+
format: string;
|
|
4337
|
+
};
|
|
4338
|
+
record: {
|
|
4339
|
+
type: string;
|
|
4340
|
+
};
|
|
4341
|
+
lists: {
|
|
4342
|
+
type: string;
|
|
4343
|
+
items: {
|
|
4344
|
+
type: string;
|
|
4345
|
+
ref: string;
|
|
4346
|
+
};
|
|
4347
|
+
};
|
|
4348
|
+
};
|
|
4349
|
+
};
|
|
4339
4350
|
};
|
|
4340
4351
|
};
|
|
4341
4352
|
AppBskyFeedDescribeFeedGenerator: {
|
|
@@ -4856,6 +4867,57 @@ export declare const schemaDict: {
|
|
|
4856
4867
|
};
|
|
4857
4868
|
};
|
|
4858
4869
|
};
|
|
4870
|
+
AppBskyFeedGetListFeed: {
|
|
4871
|
+
lexicon: number;
|
|
4872
|
+
id: string;
|
|
4873
|
+
defs: {
|
|
4874
|
+
main: {
|
|
4875
|
+
type: string;
|
|
4876
|
+
description: string;
|
|
4877
|
+
parameters: {
|
|
4878
|
+
type: string;
|
|
4879
|
+
required: string[];
|
|
4880
|
+
properties: {
|
|
4881
|
+
list: {
|
|
4882
|
+
type: string;
|
|
4883
|
+
format: string;
|
|
4884
|
+
};
|
|
4885
|
+
limit: {
|
|
4886
|
+
type: string;
|
|
4887
|
+
minimum: number;
|
|
4888
|
+
maximum: number;
|
|
4889
|
+
default: number;
|
|
4890
|
+
};
|
|
4891
|
+
cursor: {
|
|
4892
|
+
type: string;
|
|
4893
|
+
};
|
|
4894
|
+
};
|
|
4895
|
+
};
|
|
4896
|
+
output: {
|
|
4897
|
+
encoding: string;
|
|
4898
|
+
schema: {
|
|
4899
|
+
type: string;
|
|
4900
|
+
required: string[];
|
|
4901
|
+
properties: {
|
|
4902
|
+
cursor: {
|
|
4903
|
+
type: string;
|
|
4904
|
+
};
|
|
4905
|
+
feed: {
|
|
4906
|
+
type: string;
|
|
4907
|
+
items: {
|
|
4908
|
+
type: string;
|
|
4909
|
+
ref: string;
|
|
4910
|
+
};
|
|
4911
|
+
};
|
|
4912
|
+
};
|
|
4913
|
+
};
|
|
4914
|
+
};
|
|
4915
|
+
errors: {
|
|
4916
|
+
name: string;
|
|
4917
|
+
}[];
|
|
4918
|
+
};
|
|
4919
|
+
};
|
|
4920
|
+
};
|
|
4859
4921
|
AppBskyFeedGetPostThread: {
|
|
4860
4922
|
lexicon: number;
|
|
4861
4923
|
id: string;
|
|
@@ -5246,6 +5308,58 @@ export declare const schemaDict: {
|
|
|
5246
5308
|
};
|
|
5247
5309
|
};
|
|
5248
5310
|
};
|
|
5311
|
+
AppBskyFeedThreadgate: {
|
|
5312
|
+
lexicon: number;
|
|
5313
|
+
id: string;
|
|
5314
|
+
defs: {
|
|
5315
|
+
main: {
|
|
5316
|
+
type: string;
|
|
5317
|
+
key: string;
|
|
5318
|
+
description: string;
|
|
5319
|
+
record: {
|
|
5320
|
+
type: string;
|
|
5321
|
+
required: string[];
|
|
5322
|
+
properties: {
|
|
5323
|
+
post: {
|
|
5324
|
+
type: string;
|
|
5325
|
+
format: string;
|
|
5326
|
+
};
|
|
5327
|
+
allow: {
|
|
5328
|
+
type: string;
|
|
5329
|
+
maxLength: number;
|
|
5330
|
+
items: {
|
|
5331
|
+
type: string;
|
|
5332
|
+
refs: string[];
|
|
5333
|
+
};
|
|
5334
|
+
};
|
|
5335
|
+
createdAt: {
|
|
5336
|
+
type: string;
|
|
5337
|
+
format: string;
|
|
5338
|
+
};
|
|
5339
|
+
};
|
|
5340
|
+
};
|
|
5341
|
+
};
|
|
5342
|
+
mentionRule: {
|
|
5343
|
+
type: string;
|
|
5344
|
+
description: string;
|
|
5345
|
+
};
|
|
5346
|
+
followingRule: {
|
|
5347
|
+
type: string;
|
|
5348
|
+
description: string;
|
|
5349
|
+
};
|
|
5350
|
+
listRule: {
|
|
5351
|
+
type: string;
|
|
5352
|
+
description: string;
|
|
5353
|
+
required: string[];
|
|
5354
|
+
properties: {
|
|
5355
|
+
list: {
|
|
5356
|
+
type: string;
|
|
5357
|
+
format: string;
|
|
5358
|
+
};
|
|
5359
|
+
};
|
|
5360
|
+
};
|
|
5361
|
+
};
|
|
5362
|
+
};
|
|
5249
5363
|
AppBskyGraphBlock: {
|
|
5250
5364
|
lexicon: number;
|
|
5251
5365
|
id: string;
|
|
@@ -5377,12 +5491,20 @@ export declare const schemaDict: {
|
|
|
5377
5491
|
type: string;
|
|
5378
5492
|
description: string;
|
|
5379
5493
|
};
|
|
5494
|
+
curatelist: {
|
|
5495
|
+
type: string;
|
|
5496
|
+
description: string;
|
|
5497
|
+
};
|
|
5380
5498
|
listViewerState: {
|
|
5381
5499
|
type: string;
|
|
5382
5500
|
properties: {
|
|
5383
5501
|
muted: {
|
|
5384
5502
|
type: string;
|
|
5385
5503
|
};
|
|
5504
|
+
blocked: {
|
|
5505
|
+
type: string;
|
|
5506
|
+
format: string;
|
|
5507
|
+
};
|
|
5386
5508
|
};
|
|
5387
5509
|
};
|
|
5388
5510
|
};
|
|
@@ -5611,6 +5733,49 @@ export declare const schemaDict: {
|
|
|
5611
5733
|
};
|
|
5612
5734
|
};
|
|
5613
5735
|
};
|
|
5736
|
+
AppBskyGraphGetListBlocks: {
|
|
5737
|
+
lexicon: number;
|
|
5738
|
+
id: string;
|
|
5739
|
+
defs: {
|
|
5740
|
+
main: {
|
|
5741
|
+
type: string;
|
|
5742
|
+
description: string;
|
|
5743
|
+
parameters: {
|
|
5744
|
+
type: string;
|
|
5745
|
+
properties: {
|
|
5746
|
+
limit: {
|
|
5747
|
+
type: string;
|
|
5748
|
+
minimum: number;
|
|
5749
|
+
maximum: number;
|
|
5750
|
+
default: number;
|
|
5751
|
+
};
|
|
5752
|
+
cursor: {
|
|
5753
|
+
type: string;
|
|
5754
|
+
};
|
|
5755
|
+
};
|
|
5756
|
+
};
|
|
5757
|
+
output: {
|
|
5758
|
+
encoding: string;
|
|
5759
|
+
schema: {
|
|
5760
|
+
type: string;
|
|
5761
|
+
required: string[];
|
|
5762
|
+
properties: {
|
|
5763
|
+
cursor: {
|
|
5764
|
+
type: string;
|
|
5765
|
+
};
|
|
5766
|
+
lists: {
|
|
5767
|
+
type: string;
|
|
5768
|
+
items: {
|
|
5769
|
+
type: string;
|
|
5770
|
+
ref: string;
|
|
5771
|
+
};
|
|
5772
|
+
};
|
|
5773
|
+
};
|
|
5774
|
+
};
|
|
5775
|
+
};
|
|
5776
|
+
};
|
|
5777
|
+
};
|
|
5778
|
+
};
|
|
5614
5779
|
AppBskyGraphGetListMutes: {
|
|
5615
5780
|
lexicon: number;
|
|
5616
5781
|
id: string;
|
|
@@ -5745,6 +5910,42 @@ export declare const schemaDict: {
|
|
|
5745
5910
|
};
|
|
5746
5911
|
};
|
|
5747
5912
|
};
|
|
5913
|
+
AppBskyGraphGetSuggestedFollowsByActor: {
|
|
5914
|
+
lexicon: number;
|
|
5915
|
+
id: string;
|
|
5916
|
+
defs: {
|
|
5917
|
+
main: {
|
|
5918
|
+
type: string;
|
|
5919
|
+
description: string;
|
|
5920
|
+
parameters: {
|
|
5921
|
+
type: string;
|
|
5922
|
+
required: string[];
|
|
5923
|
+
properties: {
|
|
5924
|
+
actor: {
|
|
5925
|
+
type: string;
|
|
5926
|
+
format: string;
|
|
5927
|
+
};
|
|
5928
|
+
};
|
|
5929
|
+
};
|
|
5930
|
+
output: {
|
|
5931
|
+
encoding: string;
|
|
5932
|
+
schema: {
|
|
5933
|
+
type: string;
|
|
5934
|
+
required: string[];
|
|
5935
|
+
properties: {
|
|
5936
|
+
suggestions: {
|
|
5937
|
+
type: string;
|
|
5938
|
+
items: {
|
|
5939
|
+
type: string;
|
|
5940
|
+
ref: string;
|
|
5941
|
+
};
|
|
5942
|
+
};
|
|
5943
|
+
};
|
|
5944
|
+
};
|
|
5945
|
+
};
|
|
5946
|
+
};
|
|
5947
|
+
};
|
|
5948
|
+
};
|
|
5748
5949
|
AppBskyGraphList: {
|
|
5749
5950
|
lexicon: number;
|
|
5750
5951
|
id: string;
|
|
@@ -5796,6 +5997,31 @@ export declare const schemaDict: {
|
|
|
5796
5997
|
};
|
|
5797
5998
|
};
|
|
5798
5999
|
};
|
|
6000
|
+
AppBskyGraphListblock: {
|
|
6001
|
+
lexicon: number;
|
|
6002
|
+
id: string;
|
|
6003
|
+
defs: {
|
|
6004
|
+
main: {
|
|
6005
|
+
type: string;
|
|
6006
|
+
description: string;
|
|
6007
|
+
key: string;
|
|
6008
|
+
record: {
|
|
6009
|
+
type: string;
|
|
6010
|
+
required: string[];
|
|
6011
|
+
properties: {
|
|
6012
|
+
subject: {
|
|
6013
|
+
type: string;
|
|
6014
|
+
format: string;
|
|
6015
|
+
};
|
|
6016
|
+
createdAt: {
|
|
6017
|
+
type: string;
|
|
6018
|
+
format: string;
|
|
6019
|
+
};
|
|
6020
|
+
};
|
|
6021
|
+
};
|
|
6022
|
+
};
|
|
6023
|
+
};
|
|
6024
|
+
};
|
|
5799
6025
|
AppBskyGraphListitem: {
|
|
5800
6026
|
lexicon: number;
|
|
5801
6027
|
id: string;
|
|
@@ -6385,7 +6611,6 @@ export declare const ids: {
|
|
|
6385
6611
|
ComAtprotoSyncNotifyOfUpdate: string;
|
|
6386
6612
|
ComAtprotoSyncRequestCrawl: string;
|
|
6387
6613
|
ComAtprotoSyncSubscribeRepos: string;
|
|
6388
|
-
ComAtprotoTempUpgradeRepoVersion: string;
|
|
6389
6614
|
AppBskyActorDefs: string;
|
|
6390
6615
|
AppBskyActorGetPreferences: string;
|
|
6391
6616
|
AppBskyActorGetProfile: string;
|
|
@@ -6410,6 +6635,7 @@ export declare const ids: {
|
|
|
6410
6635
|
AppBskyFeedGetFeedGenerators: string;
|
|
6411
6636
|
AppBskyFeedGetFeedSkeleton: string;
|
|
6412
6637
|
AppBskyFeedGetLikes: string;
|
|
6638
|
+
AppBskyFeedGetListFeed: string;
|
|
6413
6639
|
AppBskyFeedGetPostThread: string;
|
|
6414
6640
|
AppBskyFeedGetPosts: string;
|
|
6415
6641
|
AppBskyFeedGetRepostedBy: string;
|
|
@@ -6418,6 +6644,7 @@ export declare const ids: {
|
|
|
6418
6644
|
AppBskyFeedLike: string;
|
|
6419
6645
|
AppBskyFeedPost: string;
|
|
6420
6646
|
AppBskyFeedRepost: string;
|
|
6647
|
+
AppBskyFeedThreadgate: string;
|
|
6421
6648
|
AppBskyGraphBlock: string;
|
|
6422
6649
|
AppBskyGraphDefs: string;
|
|
6423
6650
|
AppBskyGraphFollow: string;
|
|
@@ -6425,10 +6652,13 @@ export declare const ids: {
|
|
|
6425
6652
|
AppBskyGraphGetFollowers: string;
|
|
6426
6653
|
AppBskyGraphGetFollows: string;
|
|
6427
6654
|
AppBskyGraphGetList: string;
|
|
6655
|
+
AppBskyGraphGetListBlocks: string;
|
|
6428
6656
|
AppBskyGraphGetListMutes: string;
|
|
6429
6657
|
AppBskyGraphGetLists: string;
|
|
6430
6658
|
AppBskyGraphGetMutes: string;
|
|
6659
|
+
AppBskyGraphGetSuggestedFollowsByActor: string;
|
|
6431
6660
|
AppBskyGraphList: string;
|
|
6661
|
+
AppBskyGraphListblock: string;
|
|
6432
6662
|
AppBskyGraphListitem: string;
|
|
6433
6663
|
AppBskyGraphMuteActor: string;
|
|
6434
6664
|
AppBskyGraphMuteActorList: string;
|
|
@@ -6,6 +6,7 @@ import * as AppBskyEmbedRecord from '../embed/record';
|
|
|
6
6
|
import * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia';
|
|
7
7
|
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
|
8
8
|
import * as AppBskyRichtextFacet from '../richtext/facet';
|
|
9
|
+
import * as AppBskyGraphDefs from '../graph/defs';
|
|
9
10
|
export interface PostView {
|
|
10
11
|
uri: string;
|
|
11
12
|
cid: string;
|
|
@@ -21,6 +22,7 @@ export interface PostView {
|
|
|
21
22
|
indexedAt: string;
|
|
22
23
|
viewer?: ViewerState;
|
|
23
24
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
25
|
+
threadgate?: ThreadgateView;
|
|
24
26
|
[k: string]: unknown;
|
|
25
27
|
}
|
|
26
28
|
export declare function isPostView(v: unknown): v is PostView;
|
|
@@ -73,6 +75,7 @@ export interface ThreadViewPost {
|
|
|
73
75
|
$type: string;
|
|
74
76
|
[k: string]: unknown;
|
|
75
77
|
})[];
|
|
78
|
+
viewer?: ViewerThreadState;
|
|
76
79
|
[k: string]: unknown;
|
|
77
80
|
}
|
|
78
81
|
export declare function isThreadViewPost(v: unknown): v is ThreadViewPost;
|
|
@@ -99,6 +102,12 @@ export interface BlockedAuthor {
|
|
|
99
102
|
}
|
|
100
103
|
export declare function isBlockedAuthor(v: unknown): v is BlockedAuthor;
|
|
101
104
|
export declare function validateBlockedAuthor(v: unknown): ValidationResult;
|
|
105
|
+
export interface ViewerThreadState {
|
|
106
|
+
canReply?: boolean;
|
|
107
|
+
[k: string]: unknown;
|
|
108
|
+
}
|
|
109
|
+
export declare function isViewerThreadState(v: unknown): v is ViewerThreadState;
|
|
110
|
+
export declare function validateViewerThreadState(v: unknown): ValidationResult;
|
|
102
111
|
export interface GeneratorView {
|
|
103
112
|
uri: string;
|
|
104
113
|
cid: string;
|
|
@@ -137,3 +146,12 @@ export interface SkeletonReasonRepost {
|
|
|
137
146
|
}
|
|
138
147
|
export declare function isSkeletonReasonRepost(v: unknown): v is SkeletonReasonRepost;
|
|
139
148
|
export declare function validateSkeletonReasonRepost(v: unknown): ValidationResult;
|
|
149
|
+
export interface ThreadgateView {
|
|
150
|
+
uri?: string;
|
|
151
|
+
cid?: string;
|
|
152
|
+
record?: {};
|
|
153
|
+
lists?: AppBskyGraphDefs.ListViewBasic[];
|
|
154
|
+
[k: string]: unknown;
|
|
155
|
+
}
|
|
156
|
+
export declare function isThreadgateView(v: unknown): v is ThreadgateView;
|
|
157
|
+
export declare function validateThreadgateView(v: unknown): ValidationResult;
|