Bill Thornton
8f730b8270
Fix eslint warnings in ts files
2023-04-26 11:30:57 -04:00
Merlin Danner
012c281615
Bump ITEMS_PER_REQUEST_LIMIT to 40 (getItems call)
2023-04-19 02:43:47 +02:00
dann-merlin
3629e826df
Update src/utils/jellyfin-apiclient/getItems.ts
...
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-04-19 00:43:21 +00:00
Merlin Danner
840fbed68a
Fix eslint errors (syntax)
2023-04-13 13:25:19 +02:00
Merlin Danner
4fe4ed2b0a
Define interface for getItems options
2023-04-03 14:34:57 +02:00
Merlin Danner
06c4f0f258
Add JSDoc comment to getItems helper
...
In return the comments at each usage are removed.
2023-03-29 07:44:21 +02:00
Merlin Danner
d8bbba2dc9
Add handling of undefined cases for tsc
...
The handled cases are never going to actually be undefined,
as the affected variables are defined before.
tsc however was not satisfied so these changed had to be made.
2023-03-29 07:26:22 +02:00
Merlin Danner
762feba94c
Use syntactic sugar to check if Ids is undefined
2023-03-29 07:06:29 +02:00
dann-merlin
2154ea64ad
Update src/utils/jellyfin-apiclient/getItems.ts
...
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 05:02:23 +00:00
dann-merlin
5932decce5
Update src/utils/jellyfin-apiclient/getItems.ts
...
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 05:00:40 +00:00
dann-merlin
da4f890adf
Update src/utils/jellyfin-apiclient/getItems.ts
...
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 05:00:04 +00:00
dann-merlin
eca7cc7ced
Update src/utils/jellyfin-apiclient/getItems.ts
...
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-29 04:59:20 +00:00
Merlin Danner
117dd15394
Rename variable in getItemsSplit loop
2023-03-29 06:50:15 +02:00
Merlin Danner
96febf9f25
Rename file level constant to conform naming conv.
...
Renames idsPerItemRequestLimit to ITEMS_PER_REQUEST_LIMIT
as it as a file level constant.
2023-03-29 06:29:37 +02:00
Merlin Danner
1a069b49be
Rename getItemsHelper.ts to getItems.ts
2023-03-08 02:39:17 +00:00
Merlin Danner
e693724055
Remove leftover debugging log in getItems
2023-03-08 02:39:17 +00:00
dann-merlin
baa4f0a29d
Improve log message for invalid TotalRecordCount in getItems
...
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-08 02:39:17 +00:00
dann-merlin
aede0fa8ca
Fixing type in getItems.ts
...
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-03-08 02:39:17 +00:00
Merlin Danner
d5e9541010
Fix too long URLs on getItems with many ids
2023-03-08 02:39:17 +00:00
Bill Thornton
c8ea7322fd
Refactor api hooks
2022-11-18 12:55:46 -05:00
Bill Thornton
7e9bf96668
Refactor ConnectionState to a shared enum
2022-10-28 00:59:34 -04:00