@atproto/api 0.4.3 → 0.5.0
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/README.md +81 -0
- package/definitions/labels.json +212 -0
- package/definitions/locale/en/label-groups.json +38 -0
- package/definitions/locale/en/labels.json +366 -0
- package/definitions/locale/en/proposed-label-groups.json +38 -0
- package/definitions/locale/en/proposed-labels.json +632 -0
- package/definitions/moderation-behaviors.d.ts +48 -0
- package/definitions/post-moderation-behaviors.json +879 -0
- package/definitions/profile-moderation-behaviors.json +447 -0
- package/definitions/proposed-labels.json +326 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/lexicons.d.ts +41 -1
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +3 -10
- package/dist/client/types/app/bsky/{feed/getBookmarkedFeeds.d.ts → graph/getListBlocks.d.ts} +2 -2
- package/dist/client/types/app/bsky/graph/listblock.d.ts +8 -0
- package/dist/client/types/app/bsky/{feed/unbookmarkFeed.d.ts → graph/subscribeMuteList.d.ts} +1 -1
- package/dist/client/types/app/bsky/{feed/bookmarkFeed.d.ts → graph/unsubscribeMuteList.d.ts} +1 -1
- package/dist/{src/client/types/app/bsky/notification/updateSeen.d.ts → client/types/app/bsky/unspecced/applyLabels.d.ts} +2 -1
- package/dist/client/types/com/atproto/admin/defs.d.ts +2 -0
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts +1 -0
- package/dist/helpers/bsky.d.ts +20 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1417 -14
- package/dist/index.js.map +4 -4
- package/dist/mixins/bsky.d.ts +23 -0
- package/dist/moderation/accumulator.d.ts +14 -0
- package/dist/moderation/const/label-groups.d.ts +2 -0
- package/dist/moderation/const/labels.d.ts +2 -0
- package/dist/moderation/index.d.ts +44 -0
- package/dist/moderation/subjects/account.d.ts +3 -0
- package/dist/moderation/subjects/feed-generator.d.ts +2 -0
- package/dist/moderation/subjects/post.d.ts +2 -0
- package/dist/moderation/subjects/profile.d.ts +3 -0
- package/dist/moderation/subjects/quoted-post.d.ts +6 -0
- package/dist/moderation/subjects/user-list.d.ts +2 -0
- package/dist/moderation/types.d.ts +97 -0
- package/dist/moderation/util.d.ts +12 -0
- package/dist/rich-text/sanitize.d.ts +4 -0
- package/docs/labels.md +522 -0
- package/docs/moderation-behaviors/posts.md +1919 -0
- package/docs/moderation-behaviors/profiles.md +907 -0
- package/docs/moderation.md +144 -0
- package/package.json +6 -4
- package/scripts/code/label-groups.mjs +68 -0
- package/scripts/code/labels.mjs +68 -0
- package/scripts/docs/labels.mjs +164 -0
- package/scripts/docs/post-moderation-behaviors.mjs +122 -0
- package/scripts/docs/profile-moderation-behaviors.mjs +122 -0
- package/scripts/generate-code.mjs +4 -0
- package/scripts/generate-docs.mjs +5 -0
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +44 -2
- package/src/client/types/app/bsky/unspecced/applyLabels.ts +33 -0
- package/src/client/types/com/atproto/admin/defs.ts +2 -0
- package/src/client/types/com/atproto/admin/disableAccountInvites.ts +2 -0
- package/src/client/types/com/atproto/admin/enableAccountInvites.ts +2 -0
- package/src/client/types/com/atproto/moderation/defs.ts +1 -1
- package/src/index.ts +4 -0
- package/src/moderation/accumulator.ts +181 -0
- package/src/moderation/const/label-groups.ts +143 -0
- package/src/moderation/const/labels.ts +798 -0
- package/src/moderation/index.ts +343 -0
- package/src/moderation/subjects/account.ts +40 -0
- package/src/moderation/subjects/feed-generator.ts +13 -0
- package/src/moderation/subjects/post.ts +23 -0
- package/src/moderation/subjects/profile.ts +31 -0
- package/src/moderation/subjects/quoted-post.ts +62 -0
- package/src/moderation/subjects/user-list.ts +13 -0
- package/src/moderation/types.ts +141 -0
- package/src/moderation/util.ts +98 -0
- package/tests/post-moderation.test.ts +46 -0
- package/tests/profile-moderation.test.ts +46 -0
- package/tests/util/index.ts +176 -0
- package/tests/util/moderation-behavior.ts +180 -0
- package/dist/client/types/app/bsky/actor/searchActor.d.ts +0 -22
- package/dist/client/types/app/bsky/actor/searchActorTypeahead.d.ts +0 -20
- package/dist/client/types/com/atproto/admin/getInviteCodeUsage.d.ts +0 -29
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/repo/uploadRepo.d.ts +0 -19
- package/dist/client/types/com/atproto/server/getUserInviteCodes.d.ts +0 -31
- package/dist/src/client/index.d.ts +0 -462
- package/dist/src/client/lexicons.d.ts +0 -2910
- package/dist/src/client/schemas.d.ts +0 -17
- package/dist/src/client/types/app/bsky/actor/createScene.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/getProfile.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/getSuggestions.d.ts +0 -36
- package/dist/src/client/types/app/bsky/actor/profile.d.ts +0 -15
- package/dist/src/client/types/app/bsky/actor/ref.d.ts +0 -14
- package/dist/src/client/types/app/bsky/actor/search.d.ts +0 -32
- package/dist/src/client/types/app/bsky/actor/searchTypeahead.d.ts +0 -28
- package/dist/src/client/types/app/bsky/actor/updateProfile.d.ts +0 -48
- package/dist/src/client/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/client/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/client/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/client/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/client/types/app/bsky/embed/external.d.ts +0 -26
- package/dist/src/client/types/app/bsky/embed/images.d.ts +0 -23
- package/dist/src/client/types/app/bsky/feed/embed.d.ts +0 -36
- package/dist/src/client/types/app/bsky/feed/feedViewPost.d.ts +0 -26
- package/dist/src/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getPostThread.d.ts +0 -43
- package/dist/src/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -35
- package/dist/src/client/types/app/bsky/feed/getTimeline.d.ts +0 -22
- package/dist/src/client/types/app/bsky/feed/getVotes.d.ts +0 -33
- package/dist/src/client/types/app/bsky/feed/mediaEmbed.d.ts +0 -18
- package/dist/src/client/types/app/bsky/feed/post.d.ts +0 -54
- package/dist/src/client/types/app/bsky/feed/repost.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/setVote.d.ts +0 -25
- package/dist/src/client/types/app/bsky/feed/trend.d.ts +0 -6
- package/dist/src/client/types/app/bsky/feed/vote.d.ts +0 -7
- package/dist/src/client/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/client/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/client/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/client/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/client/types/app/bsky/getProfile.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/client/types/app/bsky/getTimeline.d.ts +0 -56
- package/dist/src/client/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/client/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/client/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/client/types/app/bsky/graph/assertCreator.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertMember.d.ts +0 -1
- package/dist/src/client/types/app/bsky/graph/assertion.d.ts +0 -7
- package/dist/src/client/types/app/bsky/graph/confirmation.d.ts +0 -8
- package/dist/src/client/types/app/bsky/graph/follow.d.ts +0 -6
- package/dist/src/client/types/app/bsky/graph/getAssertions.d.ts +0 -43
- package/dist/src/client/types/app/bsky/graph/getFollowers.d.ts +0 -34
- package/dist/src/client/types/app/bsky/graph/getFollows.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMembers.d.ts +0 -33
- package/dist/src/client/types/app/bsky/graph/getMemberships.d.ts +0 -33
- package/dist/src/client/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/client/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/client/types/app/bsky/like.d.ts +0 -10
- package/dist/src/client/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/client/types/app/bsky/notification/getCount.d.ts +0 -17
- package/dist/src/client/types/app/bsky/notification/list.d.ts +0 -32
- package/dist/src/client/types/app/bsky/post.d.ts +0 -23
- package/dist/src/client/types/app/bsky/postNotificationsSeen.d.ts +0 -20
- package/dist/src/client/types/app/bsky/profile.d.ts +0 -5
- package/dist/src/client/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/client/types/app/bsky/system/actorScene.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/actorUser.d.ts +0 -1
- package/dist/src/client/types/app/bsky/system/declRef.d.ts +0 -5
- package/dist/src/client/types/app/bsky/system/declaration.d.ts +0 -4
- package/dist/src/client/types/app/bsky/updateProfile.d.ts +0 -23
- package/dist/src/client/types/com/atproto/account/create.d.ts +0 -41
- package/dist/src/client/types/com/atproto/account/createInviteCode.d.ts +0 -22
- package/dist/src/client/types/com/atproto/account/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/account/get.d.ts +0 -12
- package/dist/src/client/types/com/atproto/account/requestPasswordReset.d.ts +0 -17
- package/dist/src/client/types/com/atproto/account/resetPassword.d.ts +0 -24
- package/dist/src/client/types/com/atproto/blob/upload.d.ts +0 -19
- package/dist/src/client/types/com/atproto/createAccount.d.ts +0 -40
- package/dist/src/client/types/com/atproto/createInviteCode.d.ts +0 -20
- package/dist/src/client/types/com/atproto/createSession.d.ts +0 -24
- package/dist/src/client/types/com/atproto/data/uploadFile.d.ts +0 -19
- package/dist/src/client/types/com/atproto/deleteAccount.d.ts +0 -20
- package/dist/src/client/types/com/atproto/deleteSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getAccount.d.ts +0 -16
- package/dist/src/client/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/client/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/client/types/com/atproto/handle/resolve.d.ts +0 -18
- package/dist/src/client/types/com/atproto/refreshSession.d.ts +0 -20
- package/dist/src/client/types/com/atproto/repo/batchWrite.d.ts +0 -39
- package/dist/src/client/types/com/atproto/repo/createRecord.d.ts +0 -26
- package/dist/src/client/types/com/atproto/repo/deleteRecord.d.ts +0 -19
- package/dist/src/client/types/com/atproto/repo/describe.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repo/getRecord.d.ts +0 -23
- package/dist/src/client/types/com/atproto/repo/listRecords.d.ts +0 -30
- package/dist/src/client/types/com/atproto/repo/putRecord.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repo/strongRef.d.ts +0 -5
- package/dist/src/client/types/com/atproto/repoBatchWrite.d.ts +0 -36
- package/dist/src/client/types/com/atproto/repoCreateRecord.d.ts +0 -24
- package/dist/src/client/types/com/atproto/repoDeleteRecord.d.ts +0 -18
- package/dist/src/client/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/client/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/client/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/client/types/com/atproto/repoPutRecord.d.ts +0 -25
- package/dist/src/client/types/com/atproto/requestAccountPasswordReset.d.ts +0 -19
- package/dist/src/client/types/com/atproto/resetAccountPassword.d.ts +0 -26
- package/dist/src/client/types/com/atproto/resolveHandle.d.ts +0 -17
- package/dist/src/client/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/client/types/com/atproto/server/getAccountsConfig.d.ts +0 -24
- package/dist/src/client/types/com/atproto/session/create.d.ts +0 -26
- package/dist/src/client/types/com/atproto/session/delete.d.ts +0 -13
- package/dist/src/client/types/com/atproto/session/get.d.ts +0 -18
- package/dist/src/client/types/com/atproto/session/refresh.d.ts +0 -21
- package/dist/src/client/types/com/atproto/sync/getRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/sync/getRoot.d.ts +0 -18
- package/dist/src/client/types/com/atproto/sync/updateRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/client/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/client/types/com/atproto/syncUpdateRepo.d.ts +0 -15
- package/dist/src/index.d.ts +0 -4
- package/dist/src/schemas.d.ts +0 -19
- package/dist/src/session.d.ts +0 -42
- package/dist/src/types/app/bsky/acceptedBadge.d.ts +0 -10
- package/dist/src/types/app/bsky/badge.d.ts +0 -22
- package/dist/src/types/app/bsky/badgeAccept.d.ts +0 -11
- package/dist/src/types/app/bsky/badgeOffer.d.ts +0 -11
- package/dist/src/types/app/bsky/declaration.d.ts +0 -6
- package/dist/src/types/app/bsky/follow.d.ts +0 -9
- package/dist/src/types/app/bsky/getAuthorFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getBadgeMembers.d.ts +0 -29
- package/dist/src/types/app/bsky/getHomeFeed.d.ts +0 -56
- package/dist/src/types/app/bsky/getLikedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getNotificationCount.d.ts +0 -16
- package/dist/src/types/app/bsky/getNotifications.d.ts +0 -33
- package/dist/src/types/app/bsky/getPostThread.d.ts +0 -55
- package/dist/src/types/app/bsky/getProfile.d.ts +0 -42
- package/dist/src/types/app/bsky/getRepostedBy.d.ts +0 -29
- package/dist/src/types/app/bsky/getUserFollowers.d.ts +0 -31
- package/dist/src/types/app/bsky/getUserFollows.d.ts +0 -31
- package/dist/src/types/app/bsky/getUsersSearch.d.ts +0 -26
- package/dist/src/types/app/bsky/getUsersTypeahead.d.ts +0 -22
- package/dist/src/types/app/bsky/invite.d.ts +0 -10
- package/dist/src/types/app/bsky/inviteAccept.d.ts +0 -14
- package/dist/src/types/app/bsky/like.d.ts +0 -10
- package/dist/src/types/app/bsky/mediaEmbed.d.ts +0 -15
- package/dist/src/types/app/bsky/post.d.ts +0 -23
- package/dist/src/types/app/bsky/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/app/bsky/profile.d.ts +0 -11
- package/dist/src/types/app/bsky/repost.d.ts +0 -10
- package/dist/src/types/app/bsky/updateProfile.d.ts +0 -27
- package/dist/src/types/com/atproto/createAccount.d.ts +0 -39
- package/dist/src/types/com/atproto/createInviteCode.d.ts +0 -19
- package/dist/src/types/com/atproto/createSession.d.ts +0 -23
- package/dist/src/types/com/atproto/deleteAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/deleteSession.d.ts +0 -16
- package/dist/src/types/com/atproto/getAccount.d.ts +0 -19
- package/dist/src/types/com/atproto/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/com/atproto/getSession.d.ts +0 -17
- package/dist/src/types/com/atproto/refreshSession.d.ts +0 -19
- package/dist/src/types/com/atproto/repoBatchWrite.d.ts +0 -35
- package/dist/src/types/com/atproto/repoCreateRecord.d.ts +0 -23
- package/dist/src/types/com/atproto/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/com/atproto/repoDescribe.d.ts +0 -21
- package/dist/src/types/com/atproto/repoGetRecord.d.ts +0 -22
- package/dist/src/types/com/atproto/repoListRecords.d.ts +0 -27
- package/dist/src/types/com/atproto/repoPutRecord.d.ts +0 -24
- package/dist/src/types/com/atproto/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/com/atproto/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/com/atproto/resolveName.d.ts +0 -17
- package/dist/src/types/com/atproto/syncGetRepo.d.ts +0 -15
- package/dist/src/types/com/atproto/syncGetRoot.d.ts +0 -17
- package/dist/src/types/com/atproto/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/adx/createAccount.d.ts +0 -36
- package/dist/src/types/todo/adx/createInviteCode.d.ts +0 -19
- package/dist/src/types/todo/adx/createSession.d.ts +0 -22
- package/dist/src/types/todo/adx/deleteAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/deleteSession.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccount.d.ts +0 -19
- package/dist/src/types/todo/adx/getAccountsConfig.d.ts +0 -17
- package/dist/src/types/todo/adx/getSession.d.ts +0 -17
- package/dist/src/types/todo/adx/repoBatchWrite.d.ts +0 -34
- package/dist/src/types/todo/adx/repoCreateRecord.d.ts +0 -22
- package/dist/src/types/todo/adx/repoDeleteRecord.d.ts +0 -15
- package/dist/src/types/todo/adx/repoDescribe.d.ts +0 -21
- package/dist/src/types/todo/adx/repoGetRecord.d.ts +0 -20
- package/dist/src/types/todo/adx/repoListRecords.d.ts +0 -25
- package/dist/src/types/todo/adx/repoPutRecord.d.ts +0 -23
- package/dist/src/types/todo/adx/requestAccountPasswordReset.d.ts +0 -18
- package/dist/src/types/todo/adx/resetAccountPassword.d.ts +0 -25
- package/dist/src/types/todo/adx/resolveName.d.ts +0 -17
- package/dist/src/types/todo/adx/syncGetRepo.d.ts +0 -15
- package/dist/src/types/todo/adx/syncGetRoot.d.ts +0 -17
- package/dist/src/types/todo/adx/syncUpdateRepo.d.ts +0 -14
- package/dist/src/types/todo/social/badge.d.ts +0 -23
- package/dist/src/types/todo/social/follow.d.ts +0 -5
- package/dist/src/types/todo/social/getAuthorFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getHomeFeed.d.ts +0 -55
- package/dist/src/types/todo/social/getLikedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getNotificationCount.d.ts +0 -16
- package/dist/src/types/todo/social/getNotifications.d.ts +0 -31
- package/dist/src/types/todo/social/getPostThread.d.ts +0 -54
- package/dist/src/types/todo/social/getProfile.d.ts +0 -40
- package/dist/src/types/todo/social/getRepostedBy.d.ts +0 -26
- package/dist/src/types/todo/social/getUserFollowers.d.ts +0 -30
- package/dist/src/types/todo/social/getUserFollows.d.ts +0 -30
- package/dist/src/types/todo/social/like.d.ts +0 -5
- package/dist/src/types/todo/social/mediaEmbed.d.ts +0 -15
- package/dist/src/types/todo/social/post.d.ts +0 -18
- package/dist/src/types/todo/social/postNotificationsSeen.d.ts +0 -19
- package/dist/src/types/todo/social/profile.d.ts +0 -10
- package/dist/src/types/todo/social/repost.d.ts +0 -5
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/tests/_util.ts +0 -26
- package/tsconfig.build.tsbuildinfo +0 -1
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "system",
|
|
4
|
+
"configurable": false,
|
|
5
|
+
"labels": [
|
|
6
|
+
{
|
|
7
|
+
"id": "!hide",
|
|
8
|
+
"preferences": ["hide"],
|
|
9
|
+
"flags": ["no-override"],
|
|
10
|
+
"onwarn": "blur"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "!no-promote",
|
|
14
|
+
"preferences": ["hide"],
|
|
15
|
+
"flags": [],
|
|
16
|
+
"onwarn": null
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "!warn",
|
|
20
|
+
"preferences": ["warn"],
|
|
21
|
+
"flags": [],
|
|
22
|
+
"onwarn": "blur"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "legal",
|
|
28
|
+
"configurable": false,
|
|
29
|
+
"labels": [
|
|
30
|
+
{
|
|
31
|
+
"id": "nudity-nonconsensual",
|
|
32
|
+
"preferences": ["hide"],
|
|
33
|
+
"flags": ["no-override"],
|
|
34
|
+
"onwarn": "blur"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "dmca-violation",
|
|
38
|
+
"preferences": ["hide"],
|
|
39
|
+
"flags": ["no-override"],
|
|
40
|
+
"onwarn": "blur"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "doxxing",
|
|
44
|
+
"preferences": ["hide"],
|
|
45
|
+
"flags": ["no-override"],
|
|
46
|
+
"onwarn": "blur"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "sexual",
|
|
52
|
+
"configurable": true,
|
|
53
|
+
"labels": [
|
|
54
|
+
{
|
|
55
|
+
"id": "porn",
|
|
56
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
57
|
+
"flags": ["adult"],
|
|
58
|
+
"onwarn": "blur-media"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "sexual",
|
|
62
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
63
|
+
"flags": ["adult"],
|
|
64
|
+
"onwarn": "blur-media"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "nudity",
|
|
68
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
69
|
+
"flags": ["adult"],
|
|
70
|
+
"onwarn": "blur-media"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "violence",
|
|
76
|
+
"configurable": true,
|
|
77
|
+
"labels": [
|
|
78
|
+
{
|
|
79
|
+
"id": "nsfl",
|
|
80
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
81
|
+
"flags": ["adult"],
|
|
82
|
+
"onwarn": "blur-media"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "corpse",
|
|
86
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
87
|
+
"flags": ["adult"],
|
|
88
|
+
"onwarn": "blur-media"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "gore",
|
|
92
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
93
|
+
"flags": ["adult"],
|
|
94
|
+
"onwarn": "blur-media"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "torture",
|
|
98
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
99
|
+
"flags": ["adult"],
|
|
100
|
+
"onwarn": "blur"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "self-harm",
|
|
104
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
105
|
+
"flags": ["adult"],
|
|
106
|
+
"onwarn": "blur-media"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "intolerance",
|
|
112
|
+
"configurable": true,
|
|
113
|
+
"labels": [
|
|
114
|
+
{
|
|
115
|
+
"id": "intolerant-race",
|
|
116
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
117
|
+
"flags": [],
|
|
118
|
+
"onwarn": "blur"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "intolerant-gender",
|
|
122
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
123
|
+
"flags": [],
|
|
124
|
+
"onwarn": "blur"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "intolerant-sexual-orientation",
|
|
128
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
129
|
+
"flags": [],
|
|
130
|
+
"onwarn": "blur"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "intolerant-religion",
|
|
134
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
135
|
+
"flags": [],
|
|
136
|
+
"onwarn": "blur"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "intolerant",
|
|
140
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
141
|
+
"flags": [],
|
|
142
|
+
"onwarn": "blur"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "icon-intolerant",
|
|
146
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
147
|
+
"flags": [],
|
|
148
|
+
"onwarn": "blur-media"
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "rude",
|
|
154
|
+
"configurable": true,
|
|
155
|
+
"labels": [
|
|
156
|
+
{
|
|
157
|
+
"id": "trolling",
|
|
158
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
159
|
+
"flags": [],
|
|
160
|
+
"onwarn": "blur"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "harassment",
|
|
164
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
165
|
+
"flags": [],
|
|
166
|
+
"onwarn": "blur"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "bullying",
|
|
170
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
171
|
+
"flags": [],
|
|
172
|
+
"onwarn": "blur"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "threat",
|
|
176
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
177
|
+
"flags": [],
|
|
178
|
+
"onwarn": "blur"
|
|
179
|
+
}
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "curation",
|
|
184
|
+
"configurable": true,
|
|
185
|
+
"labels": [
|
|
186
|
+
{
|
|
187
|
+
"id": "disgusting",
|
|
188
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
189
|
+
"flags": [],
|
|
190
|
+
"onwarn": "blur"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "upsetting",
|
|
194
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
195
|
+
"flags": [],
|
|
196
|
+
"onwarn": "blur"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "profane",
|
|
200
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
201
|
+
"flags": [],
|
|
202
|
+
"onwarn": "blur"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "politics",
|
|
206
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
207
|
+
"flags": [],
|
|
208
|
+
"onwarn": "blur"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "troubling",
|
|
212
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
213
|
+
"flags": [],
|
|
214
|
+
"onwarn": "blur"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "negative",
|
|
218
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
219
|
+
"flags": [],
|
|
220
|
+
"onwarn": "blur"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "discourse",
|
|
224
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
225
|
+
"flags": [],
|
|
226
|
+
"onwarn": "blur"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "spoiler",
|
|
230
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
231
|
+
"flags": [],
|
|
232
|
+
"onwarn": "blur"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "spam",
|
|
238
|
+
"configurable": true,
|
|
239
|
+
"labels": [
|
|
240
|
+
{
|
|
241
|
+
"id": "spam",
|
|
242
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
243
|
+
"flags": [],
|
|
244
|
+
"onwarn": "blur"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "clickbait",
|
|
248
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
249
|
+
"flags": [],
|
|
250
|
+
"onwarn": "blur"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "shill",
|
|
254
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
255
|
+
"flags": [],
|
|
256
|
+
"onwarn": "blur"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "promotion",
|
|
260
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
261
|
+
"flags": [],
|
|
262
|
+
"onwarn": "blur"
|
|
263
|
+
}
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"id": "misinfo",
|
|
268
|
+
"configurable": true,
|
|
269
|
+
"labels": [
|
|
270
|
+
{
|
|
271
|
+
"id": "account-security",
|
|
272
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
273
|
+
"flags": [],
|
|
274
|
+
"onwarn": "blur"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "net-abuse",
|
|
278
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
279
|
+
"flags": [],
|
|
280
|
+
"onwarn": "blur"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "impersonation",
|
|
284
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
285
|
+
"flags": [],
|
|
286
|
+
"onwarn": "alert"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "scam",
|
|
290
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
291
|
+
"flags": [],
|
|
292
|
+
"onwarn": "alert"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "misinformation",
|
|
296
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
297
|
+
"flags": [],
|
|
298
|
+
"onwarn": "alert"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "unverified",
|
|
302
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
303
|
+
"flags": [],
|
|
304
|
+
"onwarn": "alert"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"id": "manipulated",
|
|
308
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
309
|
+
"flags": [],
|
|
310
|
+
"onwarn": "alert"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"id": "fringe",
|
|
314
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
315
|
+
"flags": [],
|
|
316
|
+
"onwarn": "alert"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "bullshit",
|
|
320
|
+
"preferences": ["ignore", "warn", "hide"],
|
|
321
|
+
"flags": [],
|
|
322
|
+
"onwarn": "alert"
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
]
|
package/dist/client/index.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ import * as AppBskyGraphUnmuteActorList from './types/app/bsky/graph/unmuteActor
|
|
|
99
99
|
import * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notification/getUnreadCount';
|
|
100
100
|
import * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
|
|
101
101
|
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
102
|
+
import * as AppBskyUnspeccedApplyLabels from './types/app/bsky/unspecced/applyLabels';
|
|
102
103
|
import * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
|
|
103
104
|
import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
|
|
104
105
|
import * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton';
|
|
@@ -217,6 +218,7 @@ export * as AppBskyNotificationGetUnreadCount from './types/app/bsky/notificatio
|
|
|
217
218
|
export * as AppBskyNotificationListNotifications from './types/app/bsky/notification/listNotifications';
|
|
218
219
|
export * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen';
|
|
219
220
|
export * as AppBskyRichtextFacet from './types/app/bsky/richtext/facet';
|
|
221
|
+
export * as AppBskyUnspeccedApplyLabels from './types/app/bsky/unspecced/applyLabels';
|
|
220
222
|
export * as AppBskyUnspeccedGetPopular from './types/app/bsky/unspecced/getPopular';
|
|
221
223
|
export * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators';
|
|
222
224
|
export * as AppBskyUnspeccedGetTimelineSkeleton from './types/app/bsky/unspecced/getTimelineSkeleton';
|
|
@@ -626,6 +628,7 @@ export declare class RichtextNS {
|
|
|
626
628
|
export declare class UnspeccedNS {
|
|
627
629
|
_service: AtpServiceClient;
|
|
628
630
|
constructor(service: AtpServiceClient);
|
|
631
|
+
applyLabels(data?: AppBskyUnspeccedApplyLabels.InputSchema, opts?: AppBskyUnspeccedApplyLabels.CallOptions): Promise<AppBskyUnspeccedApplyLabels.Response>;
|
|
629
632
|
getPopular(params?: AppBskyUnspeccedGetPopular.QueryParams, opts?: AppBskyUnspeccedGetPopular.CallOptions): Promise<AppBskyUnspeccedGetPopular.Response>;
|
|
630
633
|
getPopularFeedGenerators(params?: AppBskyUnspeccedGetPopularFeedGenerators.QueryParams, opts?: AppBskyUnspeccedGetPopularFeedGenerators.CallOptions): Promise<AppBskyUnspeccedGetPopularFeedGenerators.Response>;
|
|
631
634
|
getTimelineSkeleton(params?: AppBskyUnspeccedGetTimelineSkeleton.QueryParams, opts?: AppBskyUnspeccedGetTimelineSkeleton.CallOptions): Promise<AppBskyUnspeccedGetTimelineSkeleton.Response>;
|
|
@@ -276,6 +276,9 @@ export declare const schemaDict: {
|
|
|
276
276
|
invitesDisabled: {
|
|
277
277
|
type: string;
|
|
278
278
|
};
|
|
279
|
+
inviteNote: {
|
|
280
|
+
type: string;
|
|
281
|
+
};
|
|
279
282
|
};
|
|
280
283
|
};
|
|
281
284
|
repoViewDetail: {
|
|
@@ -328,6 +331,9 @@ export declare const schemaDict: {
|
|
|
328
331
|
invitesDisabled: {
|
|
329
332
|
type: string;
|
|
330
333
|
};
|
|
334
|
+
inviteNote: {
|
|
335
|
+
type: string;
|
|
336
|
+
};
|
|
331
337
|
};
|
|
332
338
|
};
|
|
333
339
|
repoViewNotFound: {
|
|
@@ -441,7 +447,6 @@ export declare const schemaDict: {
|
|
|
441
447
|
};
|
|
442
448
|
moderation: {
|
|
443
449
|
type: string;
|
|
444
|
-
required: never[];
|
|
445
450
|
properties: {
|
|
446
451
|
currentAction: {
|
|
447
452
|
type: string;
|
|
@@ -547,6 +552,10 @@ export declare const schemaDict: {
|
|
|
547
552
|
type: string;
|
|
548
553
|
format: string;
|
|
549
554
|
};
|
|
555
|
+
note: {
|
|
556
|
+
type: string;
|
|
557
|
+
description: string;
|
|
558
|
+
};
|
|
550
559
|
};
|
|
551
560
|
};
|
|
552
561
|
};
|
|
@@ -600,6 +609,10 @@ export declare const schemaDict: {
|
|
|
600
609
|
type: string;
|
|
601
610
|
format: string;
|
|
602
611
|
};
|
|
612
|
+
note: {
|
|
613
|
+
type: string;
|
|
614
|
+
description: string;
|
|
615
|
+
};
|
|
603
616
|
};
|
|
604
617
|
};
|
|
605
618
|
};
|
|
@@ -5925,6 +5938,32 @@ export declare const schemaDict: {
|
|
|
5925
5938
|
};
|
|
5926
5939
|
};
|
|
5927
5940
|
};
|
|
5941
|
+
AppBskyUnspeccedApplyLabels: {
|
|
5942
|
+
lexicon: number;
|
|
5943
|
+
id: string;
|
|
5944
|
+
defs: {
|
|
5945
|
+
main: {
|
|
5946
|
+
type: string;
|
|
5947
|
+
description: string;
|
|
5948
|
+
input: {
|
|
5949
|
+
encoding: string;
|
|
5950
|
+
schema: {
|
|
5951
|
+
type: string;
|
|
5952
|
+
required: string[];
|
|
5953
|
+
properties: {
|
|
5954
|
+
labels: {
|
|
5955
|
+
type: string;
|
|
5956
|
+
items: {
|
|
5957
|
+
type: string;
|
|
5958
|
+
ref: string;
|
|
5959
|
+
};
|
|
5960
|
+
};
|
|
5961
|
+
};
|
|
5962
|
+
};
|
|
5963
|
+
};
|
|
5964
|
+
};
|
|
5965
|
+
};
|
|
5966
|
+
};
|
|
5928
5967
|
AppBskyUnspeccedGetPopular: {
|
|
5929
5968
|
lexicon: number;
|
|
5930
5969
|
id: string;
|
|
@@ -6183,6 +6222,7 @@ export declare const ids: {
|
|
|
6183
6222
|
AppBskyNotificationListNotifications: string;
|
|
6184
6223
|
AppBskyNotificationUpdateSeen: string;
|
|
6185
6224
|
AppBskyRichtextFacet: string;
|
|
6225
|
+
AppBskyUnspeccedApplyLabels: string;
|
|
6186
6226
|
AppBskyUnspeccedGetPopular: string;
|
|
6187
6227
|
AppBskyUnspeccedGetPopularFeedGenerators: string;
|
|
6188
6228
|
AppBskyUnspeccedGetTimelineSkeleton: string;
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
2
|
+
import { BlobRef } from '@atproto/lexicon';
|
|
2
3
|
export interface QueryParams {
|
|
3
4
|
}
|
|
4
5
|
export interface InputSchema {
|
|
5
6
|
displayName?: string;
|
|
6
7
|
description?: string | null;
|
|
7
|
-
avatar?:
|
|
8
|
-
|
|
9
|
-
mimeType: string;
|
|
10
|
-
[k: string]: unknown;
|
|
11
|
-
} | null;
|
|
12
|
-
banner?: {
|
|
13
|
-
cid: string;
|
|
14
|
-
mimeType: string;
|
|
15
|
-
[k: string]: unknown;
|
|
16
|
-
} | null;
|
|
8
|
+
avatar?: BlobRef | null;
|
|
9
|
+
banner?: BlobRef | null;
|
|
17
10
|
[k: string]: unknown;
|
|
18
11
|
}
|
|
19
12
|
export interface OutputSchema {
|
package/dist/client/types/app/bsky/{feed/getBookmarkedFeeds.d.ts → graph/getListBlocks.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Headers } from '@atproto/xrpc';
|
|
2
|
-
import * as
|
|
2
|
+
import * as AppBskyGraphDefs from './defs';
|
|
3
3
|
export interface QueryParams {
|
|
4
4
|
limit?: number;
|
|
5
5
|
cursor?: string;
|
|
@@ -7,7 +7,7 @@ export interface QueryParams {
|
|
|
7
7
|
export declare type InputSchema = undefined;
|
|
8
8
|
export interface OutputSchema {
|
|
9
9
|
cursor?: string;
|
|
10
|
-
|
|
10
|
+
lists: AppBskyGraphDefs.ListView[];
|
|
11
11
|
[k: string]: unknown;
|
|
12
12
|
}
|
|
13
13
|
export interface CallOptions {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ValidationResult } from '@atproto/lexicon';
|
|
2
|
+
export interface Record {
|
|
3
|
+
subject: string;
|
|
4
|
+
createdAt: string;
|
|
5
|
+
[k: string]: unknown;
|
|
6
|
+
}
|
|
7
|
+
export declare function isRecord(v: unknown): v is Record;
|
|
8
|
+
export declare function validateRecord(v: unknown): ValidationResult;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Headers } from '@atproto/xrpc';
|
|
2
|
+
import * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs';
|
|
2
3
|
export interface QueryParams {
|
|
3
4
|
}
|
|
4
5
|
export interface InputSchema {
|
|
5
|
-
|
|
6
|
+
labels: ComAtprotoLabelDefs.Label[];
|
|
6
7
|
[k: string]: unknown;
|
|
7
8
|
}
|
|
8
9
|
export interface CallOptions {
|
|
@@ -101,6 +101,7 @@ export interface RepoView {
|
|
|
101
101
|
moderation: Moderation;
|
|
102
102
|
invitedBy?: ComAtprotoServerDefs.InviteCode;
|
|
103
103
|
invitesDisabled?: boolean;
|
|
104
|
+
inviteNote?: string;
|
|
104
105
|
[k: string]: unknown;
|
|
105
106
|
}
|
|
106
107
|
export declare function isRepoView(v: unknown): v is RepoView;
|
|
@@ -116,6 +117,7 @@ export interface RepoViewDetail {
|
|
|
116
117
|
invitedBy?: ComAtprotoServerDefs.InviteCode;
|
|
117
118
|
invites?: ComAtprotoServerDefs.InviteCode[];
|
|
118
119
|
invitesDisabled?: boolean;
|
|
120
|
+
inviteNote?: string;
|
|
119
121
|
[k: string]: unknown;
|
|
120
122
|
}
|
|
121
123
|
export declare function isRepoViewDetail(v: unknown): v is RepoViewDetail;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AtpAgent } from '../agent';
|
|
2
|
+
export declare class Bsky {
|
|
3
|
+
private agent;
|
|
4
|
+
constructor(agent: AtpAgent);
|
|
5
|
+
like(uri: string, cid: string): Promise<{
|
|
6
|
+
uri: string;
|
|
7
|
+
cid: string;
|
|
8
|
+
}>;
|
|
9
|
+
unlike(likeUri: string): Promise<void>;
|
|
10
|
+
repost(uri: string, cid: string): Promise<{
|
|
11
|
+
uri: string;
|
|
12
|
+
cid: string;
|
|
13
|
+
}>;
|
|
14
|
+
unrepost(repostUri: string): Promise<void>;
|
|
15
|
+
follow(subjectDid: string): Promise<{
|
|
16
|
+
uri: string;
|
|
17
|
+
cid: string;
|
|
18
|
+
}>;
|
|
19
|
+
unfollow(followUri: string): Promise<void>;
|
|
20
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,5 +7,9 @@ export * from './agent';
|
|
|
7
7
|
export * from './rich-text/rich-text';
|
|
8
8
|
export * from './rich-text/sanitization';
|
|
9
9
|
export * from './rich-text/unicode';
|
|
10
|
+
export * from './moderation';
|
|
11
|
+
export * from './moderation/types';
|
|
12
|
+
export { LABELS } from './moderation/const/labels';
|
|
13
|
+
export { LABEL_GROUPS } from './moderation/const/label-groups';
|
|
10
14
|
export { BskyAgent } from './bsky-agent';
|
|
11
15
|
export { AtpAgent as default } from './agent';
|