Skip to content

Commit

Permalink
Add labelersPref to getPreferences union return types (bluesky-so…
Browse files Browse the repository at this point in the history
…cial#2554)

* Add missing getPreferences union types

* Add changeset
  • Loading branch information
sugyan authored Jul 2, 2024
1 parent d2e757a commit 0529bec
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/old-dryers-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@atproto/api": patch
---

Add missing `getPreferences` union return types
3 changes: 2 additions & 1 deletion lexicons/app/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@
"#interestsPref",
"#mutedWordsPref",
"#hiddenPostsPref",
"#bskyAppStatePref"
"#bskyAppStatePref",
"#labelersPref"
]
}
},
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 @@ -4167,6 +4167,7 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
'lex:app.bsky.actor.defs#bskyAppStatePref',
'lex:app.bsky.actor.defs#labelersPref',
],
},
},
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 @@ -185,6 +185,7 @@ export type Preferences = (
| MutedWordsPref
| HiddenPostsPref
| BskyAppStatePref
| LabelersPref
| { $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 @@ -4167,6 +4167,7 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
'lex:app.bsky.actor.defs#bskyAppStatePref',
'lex:app.bsky.actor.defs#labelersPref',
],
},
},
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 @@ -185,6 +185,7 @@ export type Preferences = (
| MutedWordsPref
| HiddenPostsPref
| BskyAppStatePref
| LabelersPref
| { $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 @@ -4167,6 +4167,7 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
'lex:app.bsky.actor.defs#bskyAppStatePref',
'lex:app.bsky.actor.defs#labelersPref',
],
},
},
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 @@ -185,6 +185,7 @@ export type Preferences = (
| MutedWordsPref
| HiddenPostsPref
| BskyAppStatePref
| LabelersPref
| { $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 @@ -4167,6 +4167,7 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
'lex:app.bsky.actor.defs#bskyAppStatePref',
'lex:app.bsky.actor.defs#labelersPref',
],
},
},
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 @@ -185,6 +185,7 @@ export type Preferences = (
| MutedWordsPref
| HiddenPostsPref
| BskyAppStatePref
| LabelersPref
| { $type: string; [k: string]: unknown }
)[]

Expand Down

0 comments on commit 0529bec

Please sign in to comment.