Commit graph

16 commits

Author SHA1 Message Date
dumbmoron
64ac458941
api-client: make base URL reconfigurable 2024-09-14 19:14:47 +00:00
dumbmoron
d3e278660d
api-client/session: pull URL from client 2024-09-14 19:14:47 +00:00
dumbmoron
d201deb60a
api-client/package: configure tsup output and exports 2024-09-14 19:14:47 +00:00
dumbmoron
00d5754ea8
api-client: simplify interface, take turnstile object on init 2024-09-14 19:14:47 +00:00
dumbmoron
ff57a6a448
api-client/turnstile: expose information about client needing session 2024-09-14 19:14:47 +00:00
dumbmoron
1d30ac0139
api-client: implement individual api clients 2024-09-14 19:14:47 +00:00
dumbmoron
a80c7b7a5a
api-client: rename CobaltAPIResponse type to CobaltResponse 2024-09-14 19:14:47 +00:00
dumbmoron
afe9917169
api-client: move base api and session to internal subfolder 2024-09-14 19:14:47 +00:00
dumbmoron
4755787b69
api-client: initial api request 2024-09-14 19:14:47 +00:00
dumbmoron
c8ccb32421
api-client: copy request schema from api 2024-09-14 19:14:47 +00:00
dumbmoron
6cc1227288
api-client: migrate session handler and response types 2024-09-14 19:14:47 +00:00
dumbmoron
ab8650030b
api-client: set up error enums/types 2024-09-14 19:14:47 +00:00
dumbmoron
abb6a26ee0
i18n: move api errors to api-client package 2024-09-14 19:14:47 +00:00
dumbmoron
2e9721d611
repo: set up api-client package 2024-08-09 07:55:21 +00:00
dumbmoron
a7ab4a9706
version-info: don't throw on import if git does not exist 2024-08-03 16:48:57 +00:00
wukko
0d20ffc004
packages: add version-info package 2024-08-03 21:27:14 +06:00