Skip to content

Commit

Permalink
Add missing getPreferences union return types (#2215)
Browse files Browse the repository at this point in the history
* Add missing getPreferences union types

* Add changeset
  • Loading branch information
estrattonbailey authored Feb 22, 2024
1 parent 6d38eea commit 514aab9
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/seven-ladybugs-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@atproto/api': patch
---

Add missing `getPreferences` union return types
4 changes: 3 additions & 1 deletion lexicons/app/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@
"#personalDetailsPref",
"#feedViewPref",
"#threadViewPref",
"#interestsPref"
"#interestsPref",
"#mutedWordsPref",
"#hiddenPostsPref"
]
}
},
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5102,6 +5102,8 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#feedViewPref',
'lex:app.bsky.actor.defs#threadViewPref',
'lex:app.bsky.actor.defs#interestsPref',
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
],
},
},
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/client/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ export type Preferences = (
| FeedViewPref
| ThreadViewPref
| InterestsPref
| MutedWordsPref
| HiddenPostsPref
| { $type: string; [k: string]: unknown }
)[]

Expand Down
2 changes: 2 additions & 0 deletions packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5102,6 +5102,8 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#feedViewPref',
'lex:app.bsky.actor.defs#threadViewPref',
'lex:app.bsky.actor.defs#interestsPref',
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
],
},
},
Expand Down
2 changes: 2 additions & 0 deletions packages/bsky/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ export type Preferences = (
| FeedViewPref
| ThreadViewPref
| InterestsPref
| MutedWordsPref
| HiddenPostsPref
| { $type: string; [k: string]: unknown }
)[]

Expand Down
2 changes: 2 additions & 0 deletions packages/ozone/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5102,6 +5102,8 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#feedViewPref',
'lex:app.bsky.actor.defs#threadViewPref',
'lex:app.bsky.actor.defs#interestsPref',
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
],
},
},
Expand Down
2 changes: 2 additions & 0 deletions packages/ozone/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ export type Preferences = (
| FeedViewPref
| ThreadViewPref
| InterestsPref
| MutedWordsPref
| HiddenPostsPref
| { $type: string; [k: string]: unknown }
)[]

Expand Down
2 changes: 2 additions & 0 deletions packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5102,6 +5102,8 @@ export const schemaDict = {
'lex:app.bsky.actor.defs#feedViewPref',
'lex:app.bsky.actor.defs#threadViewPref',
'lex:app.bsky.actor.defs#interestsPref',
'lex:app.bsky.actor.defs#mutedWordsPref',
'lex:app.bsky.actor.defs#hiddenPostsPref',
],
},
},
Expand Down
2 changes: 2 additions & 0 deletions packages/pds/src/lexicon/types/app/bsky/actor/defs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ export type Preferences = (
| FeedViewPref
| ThreadViewPref
| InterestsPref
| MutedWordsPref
| HiddenPostsPref
| { $type: string; [k: string]: unknown }
)[]

Expand Down

0 comments on commit 514aab9

Please sign in to comment.