lemmy/crates/api_common/src
Nutomic 93225e5ddf
Error enum fixed (#3487)
* Create error type enum

* Replace magic string slices with LemmyErrorTypes

* Remove unused enum

* Add rename snake case to error enum

* Rename functions

* clippy

* Fix merge errors

* Serialize in PascalCase instead of snake_case

* Revert src/lib

* Add serialization tests

* Update translations

* Fix compilation error in test

* Fix another compilation error

* Add code for generating typescript types

* Various fixes to avoid breaking api

* impl From<LemmyErrorType> for LemmyError

* with_lemmy_type

* trigger ci

---------

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
2023-07-10 16:50:07 +02:00
..
build_response.rs Use async email sender (#3554) 2023-07-10 14:04:39 +02:00
comment.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
community.rs add new flag to api (#3363) 2023-06-27 06:45:26 -04:00
context.rs Remove chatserver (#2919) 2023-06-06 12:27:22 -04:00
custom_emoji.rs Improve api response times by doing send_activity asynchronously (#3493) 2023-07-10 12:27:49 +02:00
lib.rs Remove chatserver (#2919) 2023-06-06 12:27:22 -04:00
person.rs Add Open links in new tab setting (#3318) 2023-07-03 11:10:25 -04:00
post.rs Remove chatserver (#2919) 2023-06-06 12:27:22 -04:00
private_message.rs Adding comments to all API related types. Fixes #2846 (#2848) 2023-05-10 21:20:39 +02:00
request.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00
sensitive.rs Upgrade api_test deps (#2850) 2023-05-10 16:31:37 -04:00
site.rs Improve api response times by doing send_activity asynchronously (#3493) 2023-07-10 12:27:49 +02:00
utils.rs Error enum fixed (#3487) 2023-07-10 16:50:07 +02:00