4 Commits

Author SHA1 Message Date
Dessalines
42bd941f35
Upgrading ts-rs, and adding feature flag (#5777)
* Upgrading ts-rs, and adding feature flag.

- Lets us remove all the ts-optionals on every field.
- Should speed up compilation, and this feature is only needed for
  lemmy-js-client.
- Fixes #5741

* Removing ts_optional_fields from enums

* Updating translations.

* Fix tests

* Fixing translations

* Adding ts-rs feature to ts_bindings script

* Consolidating optional fields and export to one line.

* Dont export federation_queue_state
2025-06-12 16:30:48 +02:00
Dessalines
d9df8335ea
Adding ability to make a note for a given person. (#5765)
* Adding ability to make a note for a given person.

- This comes back with PersonActions.note, already on post and comment
  views.
- Also adds person_actions to PersonView, so that the read person API
  action can return the note.
- Fixes #2353

* Adding unit test for person_view read.

* Fixing bindings check

* Addressing PR comments

* Moving API action to person/note
2025-06-12 16:29:03 +02:00
Dessalines
398c9ec967
Rename timestamp fields to _at (#5761)
* Adding migration for renaming timestamps to at

* Running format.

* Updating code to _at

* Fix replaceable schema

* Fixing scheduled tasks.

* Fixing and cleaning up api tests.

* Fixing cargo shear.
2025-06-11 09:38:24 +02:00
Nutomic
0668a38a2a
Remove feature full for api_utils (#5767)
* Remove feature `full` for api_utils

* move api crates to subfolder
2025-06-10 09:26:36 -04:00