Jonh Alex
ec3748343d
Update hydra-api.ts
2024-10-05 03:49:32 -03:00
Jonh Alex
a09124e8be
Refactor type definitions in hydra-api.ts to replace any with unknown
...
- Replaced instances of `any` with `unknown` in the `get`, `post`, `put`, `patch`, and `delete` methods for safer type handling.
- Updated parameters like `data` and `params` to use `Record<string, unknown>` for better type safety.
- Improved overall type robustness and eliminated warnings related to the use of `any`.
Contributed by: [Jonhvmp](https://github.com/Jonhvmp )
2024-10-05 03:26:36 -03:00
Zamitto
9791c311f1
chore: update bug issue template
2024-09-18 15:46:14 -03:00
Zamitto
e139423b52
feat: add axios user agent header with Hydra version
2024-09-17 21:56:46 -03:00
Zamitto
5b18aba2b8
feat: omit username and tokens in logs
2024-09-16 13:09:50 -03:00
Chubby Granny Chaser
b4f99418e9
chore: changing auth url
2024-09-15 03:39:13 +01:00
Chubby Granny Chaser
8f0003298f
Merge branch 'main' of github.com:hydralauncher/hydra
2024-09-13 00:04:07 +01:00
Zamitto
2e82c29f4c
feat: searching from api
2024-09-12 11:12:52 -03:00
Chubby Granny Chaser
ada7b452a0
feat: initial profile refactor
2024-09-12 00:53:16 +01:00
Zamitto
c72fa08d40
feat: undo api logs comment
2024-08-19 21:36:07 -03:00
Chubby Granny Chaser
42ea35441c
fix: showing multiple download options
2024-08-18 01:39:50 +01:00
Zamitto
e1ef8a9193
feat: pass headers correctly to downloadURL
2024-08-05 15:21:05 -03:00
Zamitto
c38422f635
feat: add generic to HydraApi calls
2024-07-30 15:15:34 -03:00
Zamitto
d350aa950d
feat: get friends event
2024-07-21 16:35:02 -03:00
Zamitto
198a283752
feat: add logs
2024-07-17 19:03:43 -03:00
Zamitto
6f70b529a2
feat: refactor hydra api
2024-07-17 19:03:43 -03:00
Zamitto
6ccbff0160
feat: creating friends section
2024-07-17 19:03:41 -03:00
Zamitto
aa253466a3
feat: refactor
2024-07-02 23:31:07 -03:00
Zamitto
9e11d6c098
feat: refactor hydra api
2024-07-02 14:56:01 -03:00
Zamitto
dd23358a95
feat: prevent api calls when user is not logged in
2024-07-01 15:48:52 -03:00
Zamitto
4bd2174bf3
feat: handling 401 status code
2024-06-28 12:24:12 -03:00
Zamitto
1ceabb00be
feat: better logs on api error
2024-06-28 11:29:23 -03:00
Zamitto
a3f7d3c59e
fix: send signout event when auth token is empty
2024-06-27 19:05:08 -03:00
Chubby Granny Chaser
71d79a4a15
feat: adding auth window
2024-06-20 13:22:12 +01:00
Zamitto
4f32043966
Merge branch 'rc/v2.0' into feature/user-profile
...
# Conflicts:
# src/main/services/hydra-api.ts
# src/renderer/src/app.tsx
2024-06-19 21:02:16 -03:00
JackEnx
e56a8209e1
fix: refresh session token
2024-06-19 20:21:50 -03:00
Zamitto
17cfc7bb02
feat: add event and check if user is logged in
2024-06-19 12:07:33 -03:00
Zamitto
3b2b78dc7c
use logger
2024-06-19 00:09:13 -03:00
Zamitto
2e5a324669
clear remote ids on sign in
2024-06-19 00:07:15 -03:00
Zamitto
2c9129c7b6
delete user auth if it is not logged in
2024-06-18 23:15:16 -03:00
Chubby Granny Chaser
944f3891bf
feat: dispatching event when remote games are fetched
2024-06-19 02:35:57 +01:00
Zamitto
30fb588d3c
fix debug log
2024-06-18 12:15:26 -03:00
Zamitto
27ef85f653
debug logs
2024-06-18 12:15:22 -03:00
Zamitto
7eb69f6e16
fix debug log
2024-06-17 22:25:56 -03:00
Zamitto
c01ed86071
debug logs
2024-06-17 22:22:55 -03:00
Zamitto
7fc376b47f
feat: batch games and code refactor
2024-06-17 21:56:45 -03:00
Zamitto
da5cc11bff
feat: sync library
2024-06-17 21:56:45 -03:00
Zamitto
05cb66f2a4
remove unused method
2024-06-16 18:55:00 -03:00
Zamitto
8b8494ee64
organize code
2024-06-16 18:53:20 -03:00
Zamitto
16c4460011
feat: refactor deeplnik handler
2024-06-16 17:02:37 -03:00
Zamitto
32566e5dfc
feat: handle login from deeplink
2024-06-16 14:08:06 -03:00
Zamitto
76259c2b54
feat: loading from me endpoint and updating sidebar profile
2024-06-15 19:55:29 -03:00
Zamitto
1797abb2da
refactor user preferences and create user auth entity
2024-06-13 23:31:32 -03:00
Zamitto
9e5118d1dc
remove zod schema
2024-06-13 23:11:40 -03:00
Zamitto
7bbaae91c9
fix: await and conditional
2024-06-13 22:52:29 -03:00
Zamitto
ba08e0b112
feat: refactor api
2024-06-13 21:08:30 -03:00
Zamitto
f21a8bf784
feat: create HydraApi
2024-06-13 20:12:13 -03:00
Zamitto
81f2e509c5
feat: create HydraApi
2024-06-13 20:08:30 -03:00