-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update muted words handling, add attributes (#2276)
* Sketch proposal for additional muted words attributes * Rename ttl -> expiresAt * Feedback * Codegen * Refactor muted words methods to integrate new attributes * Add changeset * Use datetime format * Simplify migration * Fix tests * Format * Re-integrate tests * Let the lock cook * Fix comments * Integrate mute words enhancements (#2643) * Check expiry when comparing mute words * Check actors when comparing * Tweak lex, condegen * Integrate new prop * Remove fake timers (cherry picked from commit ad31910) * Update changeset * Prevent deleting value when updating * Include missing test * Add default * Apply default 'all' value to existing mute words to satisfy Typescript * Fix types in tests * Fix types on new tests
- Loading branch information
1 parent
803d1b6
commit 77c5306
Showing
15 changed files
with
1,102 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@atproto/ozone': patch | ||
'@atproto/bsky': patch | ||
'@atproto/api': patch | ||
'@atproto/pds': patch | ||
--- | ||
|
||
Updates muted words lexicons to include new attributes `id`, `actorTarget`, and `expiresAt`. Adds and updates methods in API SDK for better management of muted words. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.