MV-GH / LemmyBackwardsCompatibleAPI

Kotlin multiplatform Backward compatible Lemmy API
GNU Affero General Public License v3.0
4 stars 1 forks source link

How to properly auto-generate routes? #21

Closed dessalines closed 8 months ago

dessalines commented 8 months ago

I'd like to add the ListPostLikes and ListCommentLikes routes in order to add the Admin View Votes functionality to jerboa, but I'm not seeing any instructions for how to do that in the README, or any scripts, like we used to with jerboa copy_generated_types.sh.

Should I do a PR to add them manually for now?

MV-GH commented 8 months ago

Sure, did those endpoints get added only recently? They are automatically generated based on the lemmy-js-client. there is a autogenerated submodule which contains all the generator scripts.

MV-GH commented 8 months ago

I have added these endpoints now, but I still need to expand the documentation regarding this information. So, I ll leave this open for now

dessalines commented 8 months ago

Sweet, thx!