Commit graph

23 commits

Author SHA1 Message Date
SleeplessOne1917
360196c8ae
feat: add image upload method to http client (#108)
* feat: add image upload method to http client

* fix: Make files optional on UploadImageResponse

* fix: Fix comment typo

* fix: replace loose equals with strict equals

* fix: Remove useless awaits

* fix: Add explicit return types to image upload helper functions

* fix: Include client headers in image upload request

* fix: Change type of uploadImage arg to File | Buffer instead of Blob | Buffer

* doc: Add doc string

* refactor: Switch to using cross-fetch instead of node-fetch v3

* chore: remove unnecessary asyncs
2023-03-22 14:33:54 -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
e80d2e9b8c Fixing yarn.lock 2022-12-29 09:54:02 -05:00
Dessalines
0b6e2af513
Add community language (#85)
* Adding some API fixes.

* v0.17.0-rc.55

* Adding create community discussion languages.

* v0.17.0-rc.57
2022-12-19 10:57:02 -05:00
SleeplessOne1917
a4ed93ae16
fix: Move required dependencies to prod dependencies instead of devependencies (#91)
* fix: Move required dependencies to prod dependencies instead of dev dependencies

* fix: Make node-fetch types match version

* Delete accidental pnpm lockfile
2022-12-09 10:01:21 -05:00
Dessalines
0f8e6f754d
Upgrade deps (#71) 2022-07-29 23:35:59 -04:00
Dessalines
54bc5139ee
Starting to add comment tree paging (#70)
* Starting to add comment tree paging

* Switching comment_read to mark_comment_reply_read.

* Finishing up comment tree paging.

* v0.17.0-rc.35

* Get rid of circular dependency

* Upgrade deps

* v0.17.0-rc.36

* Fix deserializing non HTTP gets

* v0.17.0-rc.37
2022-07-29 23:33:06 -04: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
f67a5c12f6
Upgrading deps. (#58) 2022-05-22 15:46:02 -04:00
Dessalines
fa04408c5a
Upgrading deps. (#43) 2022-01-24 22:12:50 -05:00
Dessalines
5e4ff291c5
Upgrade deps 2 (#39)
* Upgrade deps

* Running prettier.
2021-12-06 14:44:10 -05:00
93cdfa0eed Downgrading typedocs 2021-09-30 11:28:12 -04:00
cbc0c46d85 upgrade deps. 2021-09-29 15:59:41 -04:00
81ff3d4137 Upgrade deps 2021-09-28 12:08:22 -04:00
Dessalines
f87f1e1a11
Fix defined in links via docker. (#31) 2021-09-01 10:52:23 -04:00
Dessalines
8f35e63b3a
Adding typedoc, and code comments. Fixes #29 (#30) 2021-08-22 21:01:40 -04:00
Dessalines
a35afab102
Upgrade deps (#23)
* Upgrading deps

* Upgrading deps
2021-07-19 10:11:44 -04:00
9bd5dab517 Adding some comments. 2021-01-24 12:37:04 -05:00
5c32bc2c9f Upgrading deps. 2020-12-20 10:53:52 -05:00
b673128013 Upgrade deps. 2020-10-04 20:05:47 -05:00
5ce4bf4d72 Adding community_name for getposts and getcomments. 2020-09-08 09:40:07 -05:00
fc7b4b820a Fixing url. 2020-08-19 23:51:57 -04:00
329987893f Initial commit. 2020-08-19 13:29:37 -04:00