Commit Graph

1494 Commits

Author SHA1 Message Date
Matthew Haughton
3280bba52f Enable linting TS with type checking
https://typescript-eslint.io/getting-started/typed-linting/
2024-10-29 16:22:02 +11:00
renovate[bot]
eb135caf6e
Update dependency @types/node to v20.16.14 2024-10-29 03:44:52 +00:00
Niels van Velzen
391d155294
Merge pull request #652 from jellyfin/renovate/typescript
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Update dependency typescript-eslint to v8.11.0
2024-10-28 21:45:57 +01:00
renovate[bot]
957aad9a0c
Update dependency typescript-eslint to v8.11.0 2024-10-28 20:15:24 +00:00
Matthew Haughton
11f9806b13 Revert removal of deviceProfile parameter from getPlaybackInfo 2024-10-28 20:00:13 +11:00
Matthew Haughton
b6aaaf2d09 Use PlaybackInfoDto to pass data to getPostedPlaybackInfo 2024-10-28 19:59:48 +11:00
Niels van Velzen
22099bfd45
Merge pull request #651 from 3flex/remove-appstatus-playing
Some checks failed
Lint / Lint TS and CSS (push) Has been cancelled
Publish / Build (push) Has been cancelled
Test / Jest (push) Has been cancelled
Publish / Publish (push) Has been cancelled
Publish / Deploy (push) Has been cancelled
Remove unnecessary AppStatus.Playing
2024-10-27 09:08:48 +01:00
Matthew Haughton
eeb56c5ba4 Remove unnecessary AppStatus.Playing
App status is never set to 'Playing'
2024-10-27 16:42:43 +11:00
Matthew Haughton
76d1be4138 Convert getPlaybackInfo to use generated API 2024-10-27 13:32:04 +11:00
Matthew Haughton
2d4fed7bf5 Convert reportPlaybackStart to use generated API 2024-10-27 13:31:33 +11:00
Matthew Haughton
fadfb34d29 Convert reportPlaybackProgress to use generated API 2024-10-27 13:30:53 +11:00
Matthew Haughton
e53840ad93 Configure logging for Axios requests & responses 2024-10-27 13:29:12 +11:00
Matthew Haughton
795f86ada1 Create instance of Jellyfin's generated API when setting server info 2024-10-27 13:28:57 +11:00
Niels van Velzen
34a21c4f70
Merge pull request #649 from jellyfin/renovate/node-20.x
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Update dependency @types/node to v20.16.13
2024-10-26 11:33:08 +02:00
renovate[bot]
7be59ccbe6
Update dependency @types/node to v20.16.13 2024-10-26 07:52:55 +00:00
Niels van Velzen
35dc856d1b
Merge pull request #646 from 3flex/any-unused-params
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Remove unused parameters
2024-10-25 14:25:14 +02:00
Niels van Velzen
7012aac3da
Merge pull request #645 from 3flex/any-deviceids
Use deviceIds enum type where possible
2024-10-25 14:24:43 +02:00
Matthew Haughton
ab21ba3236 Update DeviceIds name to pascal case 2024-10-25 23:19:05 +11:00
Matthew Haughton
2f091715ed Remove unused parameters 2024-10-25 23:16:50 +11:00
Matthew Haughton
8d0a8dc72d Use deviceIds enum type where possible 2024-10-25 23:02:02 +11:00
Niels van Velzen
ddbb245697
Merge pull request #644 from 3flex/get-episodes
Use TvShowsApiGetEpisodesRequest type for getEpisodes query parameters
2024-10-25 13:12:28 +02:00
Niels van Velzen
c004df6249
Merge pull request #643 from 3flex/any-simple-fixes
Fix some simple no-explicit-any violations
2024-10-25 11:55:29 +02:00
Matthew Haughton
4b80d0b791 Use TvShowsApiGetEpisodesRequest type for getEpisodes query parameters 2024-10-25 20:35:05 +11:00
Matthew Haughton
e9719011b9 Don't set IsVirtualUnaired when calling getEpisodes endpoint
This is not a valid query parameter for this endpoint.
2024-10-25 20:31:59 +11:00
Matthew Haughton
72b7d9702f Don't set ExcludeLocationTypes when calling getEpisodes endpoint
This is not a valid query parameter for this endpoint.
2024-10-25 20:31:46 +11:00
Matthew Haughton
2035395768 Remove userId parameter from getEpisodesForPlayback
This is already set in the query object at the call site.
2024-10-25 20:30:59 +11:00
Matthew Haughton
c717a63d39 Remove default parameter from ItemQuery
There is a single caller of this function and it passes an object.
2024-10-25 20:29:41 +11:00
Matthew Haughton
8c94160f02 Fix some simple no-explicit-any violations 2024-10-25 20:14:25 +11:00
Niels van Velzen
d643dee564
Merge pull request #642 from jellyfin/renovate/typescript
Update dependency typescript-eslint to v8.10.0
2024-10-25 07:31:02 +02:00
renovate[bot]
d9fff5b70c
Update dependency typescript-eslint to v8.10.0 2024-10-24 22:03:39 +00:00
Niels van Velzen
9d56ef38fc
Merge pull request #641 from jellyfin/renovate/ci-deps
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Update actions/setup-node action to v4.1.0
2024-10-24 17:21:00 +02:00
renovate[bot]
1a6980178c
Update actions/setup-node action to v4.1.0 2024-10-24 15:18:56 +00:00
Niels van Velzen
4674e61d26
Merge pull request #637 from jellyfin/renovate/ci-deps
Update actions/checkout action to v4.2.2
2024-10-24 17:18:38 +02:00
Niels van Velzen
92c4a457d6
Merge pull request #640 from jellyfin/renovate/node-20.x
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run
Update dependency @types/node to v20.16.12
2024-10-24 07:47:45 +02:00
Niels van Velzen
7bb5821dcc
Merge pull request #638 from 3flex/add-subtitleappearance-type
Add SubtitleAppearance interface
2024-10-24 07:47:30 +02:00
Niels van Velzen
7075e16d46
Merge pull request #639 from 3flex/ts-eslint-strict
Enable typescript-eslint strict checks
2024-10-24 07:47:01 +02:00
renovate[bot]
3310299de1
Update dependency @types/node to v20.16.12 2024-10-24 00:57:12 +00:00
Matthew Haughton
95ddd5deb8 Ignore existing violations of typescript-eslint strict rules 2024-10-24 11:37:27 +11:00
Matthew Haughton
6f37929f99 Enable typescript-eslint strict checks 2024-10-24 11:37:19 +11:00
Matthew Haughton
9db0f4a8de Add SubtitleAppearance interface 2024-10-24 10:53:39 +11:00
renovate[bot]
d0e41d3812
Update actions/checkout action to v4.2.2 2024-10-23 17:28:52 +00:00
Niels van Velzen
9859c9f32e
Merge pull request #636 from 3flex/patch-1
Some checks failed
Lint / Lint TS and CSS (push) Has been cancelled
Publish / Build (push) Has been cancelled
Test / Jest (push) Has been cancelled
Publish / Publish (push) Has been cancelled
Publish / Deploy (push) Has been cancelled
Run tsc with lint script
2024-10-22 12:09:10 +02:00
Matthew Haughton
80a8e28af9
Run tsc with lint script 2024-10-22 21:02:14 +11:00
Niels van Velzen
f02f67c84e
Merge pull request #635 from jellyfin/renovate/node-20.x
Update dependency @types/node to v20
2024-10-22 08:58:34 +02:00
renovate[bot]
87329113c6
Update dependency @types/node to v20 2024-10-22 05:40:51 +00:00
Niels van Velzen
3cf136dc4e
Merge pull request #634 from jellyfin/renovate/pin-dependencies
Pin dependency @types/node to v18.19.57
2024-10-22 07:40:29 +02:00
renovate[bot]
b388522acb
Pin dependency @types/node to v18.19.57 2024-10-22 05:36:13 +00:00
Niels van Velzen
0acdbc1f7b
Merge pull request #633 from 3flex/fix-typing
Fix issues found by TypeScript compiler
2024-10-22 07:35:43 +02:00
Niels van Velzen
b68071737e
Merge pull request #627 from 3flex/patch-3
Enable bundler module resolution mode
2024-10-22 07:32:05 +02:00
Matthew Haughton
844591972e Update Node types to latest v18 2024-10-22 09:49:10 +11:00