Skip to content

Commit

Permalink
Include new followerRule as valid setting in `postInteractionSettin…
Browse files Browse the repository at this point in the history
…gs` pref (#3501)

Include new followerRule as valid setting in postInteractionSettings pref
  • Loading branch information
estrattonbailey authored Feb 6, 2025
1 parent dc8a784 commit 636951e
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cool-yaks-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/api": patch
---

Include `followerRule` as valid setting in `postInteractionSettings` pref
1 change: 1 addition & 0 deletions lexicons/app/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@
"type": "union",
"refs": [
"app.bsky.feed.threadgate#mentionRule",
"app.bsky.feed.threadgate#followerRule",
"app.bsky.feed.threadgate#followingRule",
"app.bsky.feed.threadgate#listRule"
]
Expand Down
1 change: 1 addition & 0 deletions packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4730,6 +4730,7 @@ export const schemaDict = {
type: 'union',
refs: [
'lex:app.bsky.feed.threadgate#mentionRule',
'lex:app.bsky.feed.threadgate#followerRule',
'lex:app.bsky.feed.threadgate#followingRule',
'lex:app.bsky.feed.threadgate#listRule',
],
Expand Down
1 change: 1 addition & 0 deletions packages/api/src/client/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export interface PostInteractionSettingsPref {
/** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
threadgateAllowRules?: (
| AppBskyFeedThreadgate.MentionRule
| AppBskyFeedThreadgate.FollowerRule
| AppBskyFeedThreadgate.FollowingRule
| AppBskyFeedThreadgate.ListRule
| { $type: string; [k: string]: unknown }
Expand Down
1 change: 1 addition & 0 deletions packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4730,6 +4730,7 @@ export const schemaDict = {
type: 'union',
refs: [
'lex:app.bsky.feed.threadgate#mentionRule',
'lex:app.bsky.feed.threadgate#followerRule',
'lex:app.bsky.feed.threadgate#followingRule',
'lex:app.bsky.feed.threadgate#listRule',
],
Expand Down
1 change: 1 addition & 0 deletions packages/bsky/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export interface PostInteractionSettingsPref {
/** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
threadgateAllowRules?: (
| AppBskyFeedThreadgate.MentionRule
| AppBskyFeedThreadgate.FollowerRule
| AppBskyFeedThreadgate.FollowingRule
| AppBskyFeedThreadgate.ListRule
| { $type: string; [k: string]: unknown }
Expand Down
1 change: 1 addition & 0 deletions packages/ozone/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4730,6 +4730,7 @@ export const schemaDict = {
type: 'union',
refs: [
'lex:app.bsky.feed.threadgate#mentionRule',
'lex:app.bsky.feed.threadgate#followerRule',
'lex:app.bsky.feed.threadgate#followingRule',
'lex:app.bsky.feed.threadgate#listRule',
],
Expand Down
1 change: 1 addition & 0 deletions packages/ozone/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export interface PostInteractionSettingsPref {
/** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
threadgateAllowRules?: (
| AppBskyFeedThreadgate.MentionRule
| AppBskyFeedThreadgate.FollowerRule
| AppBskyFeedThreadgate.FollowingRule
| AppBskyFeedThreadgate.ListRule
| { $type: string; [k: string]: unknown }
Expand Down
1 change: 1 addition & 0 deletions packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4730,6 +4730,7 @@ export const schemaDict = {
type: 'union',
refs: [
'lex:app.bsky.feed.threadgate#mentionRule',
'lex:app.bsky.feed.threadgate#followerRule',
'lex:app.bsky.feed.threadgate#followingRule',
'lex:app.bsky.feed.threadgate#listRule',
],
Expand Down
1 change: 1 addition & 0 deletions packages/pds/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ export interface PostInteractionSettingsPref {
/** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */
threadgateAllowRules?: (
| AppBskyFeedThreadgate.MentionRule
| AppBskyFeedThreadgate.FollowerRule
| AppBskyFeedThreadgate.FollowingRule
| AppBskyFeedThreadgate.ListRule
| { $type: string; [k: string]: unknown }
Expand Down

0 comments on commit 636951e

Please sign in to comment.