[Feature Request]: Add `app.bsky.actor.contentVisibilityDeclaration` record support

オープン
#350 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

@KC-2001MS がすでに取り組んでいます。

2026年11月17日 から。

  • #351 @KC-2001MS による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
swift
領域
api

調査の方向性

Read the existing ATRecordProtocol models and ATProtoBluesky record wrappers for comparable actor records, then check the linked lexicon for the record shape and literal self key. Add the typed record and matching read and write wrappers; done when callers can read and write this record through the typed APIs, consistent with existing wrappers.

索引モデルが issue の本文から書いたものです。

説明

new feature
Summary

The app.bsky.actor.contentVisibilityDeclaration record (rkey self) is not available in ATProtoKit.

Pain points

This record cannot be read or written through ATProtoKit's typed APIs.

Considered Alternatives

Defining the record type on the app side and using getRepositoryRecord / putRecord directly.

Is this a breaking change?

No

Library Examples

No — this is an additive model and method set.

Additional Context

Lexicon: https://github.com/bluesky-social/bsky/blob/main/lexicons/app/bsky/actor/contentVisibilityDeclaration.json

{
  "lexicon": 1,
  "id": "app.bsky.actor.contentVisibilityDeclaration",
  "defs": {
    "main": {
      "type": "record",
      "description": "A declaration of an account's preferences for appearing in content discovery surfaces.",
      "key": "literal:self",
      "record": {
        "type": "object",
        "required": ["hideFromAlgorithmicRecommendations"],
        "properties": {
          "hideFromAlgorithmicRecommendations": {
            "type": "boolean",
            "description": "Whether the account requests that its posts be hidden from algorithmic recommendations. Consumers must treat a missing record as false."
          }
        }
      }
    }
  }
}

Proposed additions:

  • AppBskyLexicon.Actor.ContentVisibilityDeclarationRecord (ATRecordProtocol)
  • ATProtoBluesky wrappers for reading and writing the self record, following the existing record wrappers
主要言語
Swift
スター
226
フォーク
40
平均マージ
2時間 56分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MasterJ93/ATProtoKit のほかの issue

MasterJ93/ATProtoKit の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。