Commit graph

25 commits

Author SHA1 Message Date
Dessalines
6f0fab6d7d
Adding changes from lemmy, mainly removing aggregate ids. (#211) 2023-11-13 19:41:44 +00:00
Dessalines
991af27e42
Updating types from lemmy. (#209) 2023-10-31 09:00:44 -04:00
Maarten Vercruysse
e65588ae3e
Fix other successResponses (#204)
* Fix other successResponses

* Remove remnants

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-21 08:44:04 -04:00
Dessalines
24eed9e7be
Adding mark multiple posts as read, and other API changes. (#201)
* Adding mark multiple posts as read, and other API changes.

* v0.19.0-alpha.10

* Adding animated_images boolean.

* v0.19.0-alpha.11

* Updating successresponses.

* v0.19.0-alpha.12

* Adding a few missing routes.

* Revert "Updating successresponses."

This reverts commit 6de51027d4.

* v0.19.0-alpha.13

* update before rc.3.
2023-10-19 20:22:35 -04:00
Dessalines
b58fbb51e0
Regenerating types from main. (#197) 2023-10-09 12:42:35 -04:00
Dessalines
b4f1bbcd63
Add totp token (#192)
* Adding new TOTP generate and update methods. Fixes #191

* Fix husky mode.
2023-09-27 14:55:29 +00:00
maarten.vercruysse
20587370ab Fix conflict issues 2023-09-26 18:40:22 +02:00
Maarten Vercruysse
a4d56f1133
Merge branch 'main' into add_int_visibility 2023-09-26 13:24:06 +02:00
Dessalines
ab7af88a2b
Removing auth and useless interfaces. (#181)
* Removing auth and useless interfaces.

* v0.19.0-rc.8

* v0.19.0-rc.10

* Changing jwt cookie to auth.

* Adding a few types merged from main.

* v0.19.0-rc.11

* Adding blockInstance fn.

* v0.19.0-rc.12
2023-09-25 21:47:28 -04:00
maarten.vercruysse
8f9fe6e435 type changes 2023-09-23 01:13:26 +02:00
Dessalines
4439d22157
Adding block instance. (#178)
* Adding block instance.

- https://github.com/LemmyNet/lemmy/pull/3869

* v0.19.0-rc.4

* Forgot to add types.

* v0.19.0-rc.5

* Fixing optional site issue.
2023-09-06 08:28:00 -04:00
Dessalines
c77ee9ee16
Adding some additions from main. (#171) 2023-07-26 15:23:11 -04:00
SleeplessOne1917
b5355233fd
Generate error enum types (#161)
* Generate error enum types

* Remove unnecessary newline

* Catch errors not covered by LemmyErrorType

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-17 11:37:53 -04:00
33519b2be7 Upgrade prettier. 2023-07-12 08:37:34 -04:00
Dessalines
4553c749cb
Removing websocket. (#145) 2023-06-21 11:40:11 -04:00
22b0777f51 Add taglines to site response. 2023-06-06 09:06:58 -04:00
SleeplessOne1917
40dfb4c3ac
Make script for adding types to index (#118)
* Make script for adding types to index

* Add semicolons to export lines
2023-05-11 13:10:28 -04:00
Dessalines
0078d575b3
Adding bindings from rust. Fixes #113 (#114)
* Adding bindings from rust. Fixes #113

* v0.17.2-rc.7

* v0.17.2-rc.8

* v0.17.2-rc.9

* Trying encode 1

* v0.17.2-rc.10

* Nixing encode

* Switching to old comment GetPost.

* v0.17.2-rc.11
2023-05-02 17:15:36 -04:00
Dessalines
8065620cb5
Removing monads. Fixes #98 (#99)
* Removing monads. Fixes #98

* Fixing http get params

* In encode get params, dont serialize the undefineds.

* v0.17.0-rc.60
2023-01-04 11:29:06 -05:00
Dessalines
36103fbca0
Add option types (#67)
* Testing some option types over the API.

* v0.17.0-rc.6

* Removing a few to better test.

* v0.17.0-rc.7

* Simpler again.

* v0.17.0-rc.8

* Trying swan.io boxed

* v0.17.0-rc.13

* Trying option-t

* v0.17.0-rc.14

* Adding rust-style Options using @sniptt/monads

- Also added serialization with class-transformer

* v0.17.0-rc.15

* Trying to fix encodeGetParams.

* v0.17.0-rc.16

* Trying to fix encodeGetParams 2.

* v0.17.0-rc.17

* Using init constructors.

* v0.17.0-rc.18

* v0.17.0-rc.19

* Add more type info.

* v0.17.0-rc.20

* Adding reflect-metadata

* v0.17.0-rc.21

* Adding type to siteview.site

* v0.17.0-rc.22

* Adding rest of nested types.

* v0.17.0-rc.23

* Adding toOption function.

* v0.17.0-rc.24

* Trying to fix send.

* v0.17.0-rc.25

* Try to stringify jsonres.

* v0.17.0-rc.26

* Try to stringify jsonres 2.

* v0.17.0-rc.27

* Adding toOption function.

* v0.17.0-rc.28

* Forgot to type a communityview.

* v0.17.0-rc.29

* Forgot to type a registrationapplicationview.

* v0.17.0-rc.30
2022-06-21 17:42:09 -04:00
Dessalines
5e4ff291c5
Upgrade deps 2 (#39)
* Upgrade deps

* Running prettier.
2021-12-06 14:44:10 -05:00
e812a627b1 Adding index.ts s 2020-12-20 13:50:08 -05:00
2f777a91fd Initial commit of API v2 2020-12-20 12:33:14 -05:00
18d5ed8414 Adding an HTTP client. Cleaning up Websocket client. 2020-08-19 22:25:21 -04:00
329987893f Initial commit. 2020-08-19 13:29:37 -04:00