Jakub Ďuraš
48b930535f
Fix add file button handler
2018-09-30 23:14:12 +02:00
Jordan Eldredge
f1e06accf7
Type ResizeTarget
2018-09-28 07:26:28 -07:00
Jordan Eldredge
29c12c656a
Type Balance
2018-09-28 07:26:24 -07:00
Jordan Eldredge
7abc3d351d
Type MonoStero
2018-09-28 07:06:46 -07:00
Jordan Eldredge
5d6b2d40dc
Type Minimize
2018-09-28 07:03:45 -07:00
Jordan Eldredge
839444fe86
Type Volume and MainVolume
2018-09-28 06:58:56 -07:00
Jordan Eldredge
6ace5363d4
Add null gard to media session code
2018-09-28 06:45:22 -07:00
Jordan Eldredge
289a4f8866
Stub out a destroy method with some notes
2018-09-27 07:43:53 -07:00
Jordan Eldredge
343686f745
Don't leak a file into into the global DOM
...
Fixes #662
This never should have been in the Webamp class. It's only used for testing/screenshots.
2018-09-27 07:24:41 -07:00
Jordan Eldredge
9cef2e606a
Convert call site back to public version
2018-09-26 01:05:11 -07:00
Jordan Eldredge
15aae9387a
Type mediaSession and fix the bug that typing revealed.
2018-09-25 22:36:05 -07:00
Jordan Eldredge
3bd6e931c6
Make onTrackDidChange public again.
...
I realized that onTrackDidChange was already a public API, and that while I'm not sure if the new approach is 100% correct, it's surely better than the old one.
2018-09-25 22:31:05 -07:00
Jordan Eldredge
5f7948c011
Add media session integration ( #646 )
2018-09-25 22:13:43 -07:00
Jordan Eldredge
b1674094db
Avoid awkward Typescript literal
2018-09-25 07:27:22 -07:00
Jordan Eldredge
ff06c96de2
Provide a way to prevent closing Webamp ( #655 )
...
* Provide a way to prevent closing Webamp
Fixes #653
* Fix typos for onWillClose in usage and types
2018-09-20 06:19:28 -07:00
Jordan Eldredge
17756eaa60
Memoize selectors and use curried functions rather than arguments
2018-09-18 08:38:25 -07:00
Jordan Eldredge
c5b71d91ae
Remove unused imports
2018-09-18 07:55:19 -07:00
Jordan Eldredge
5852ce22c9
Move reduer state types into reducers
2018-09-18 07:54:34 -07:00
Jordan Eldredge
a2c28d7742
Remove debug cruft
2018-09-18 07:44:00 -07:00
Jordan Eldredge
9a7861d054
Remove error, in favor of early return/comment
2018-09-18 07:43:01 -07:00
Jordan Eldredge
76b85df82e
Handle one case where we can leave a track playing after it's been removed
2018-09-18 07:42:37 -07:00
Jordan Eldredge
7198df5379
Type snapUtils test
2018-09-17 17:04:05 -07:00
Jordan Eldredge
1780b33fe5
Start typing Jest tests
2018-09-17 17:04:05 -07:00
Jordan Eldredge
614d5f0ca0
Improve typing of PlaylistTrack
2018-09-17 17:04:05 -07:00
Jordan Eldredge
83303f9e0e
Type the Redux store
2018-09-17 17:04:05 -07:00
Jordan Eldredge
973ca30117
Add interface stub for winamp-eqf
...
(No idea why this works. We still need to actually supply the types!)
2018-09-17 17:04:05 -07:00
Jordan Eldredge
44abf69a71
Type file action creators!
2018-09-17 17:04:05 -07:00
Jordan Eldredge
77f9a7d8b7
Expand typeing of fileUtils
2018-09-17 17:04:05 -07:00
Jordan Eldredge
8249ac0907
Add more types for our constants
2018-09-17 17:04:05 -07:00
Jordan Eldredge
c2d5861c49
Types for config
2018-09-17 17:04:05 -07:00
Jordan Eldredge
2e6cf2d157
Add more types
...
This includes bringing the previous index.d.ts types into our Typescript code base.
2018-09-17 17:04:05 -07:00
Jordan Eldredge
cb337d6261
Fix context menu bug
...
I guess React does not like it when these are strings
2018-09-17 17:04:05 -07:00
Jordan Eldredge
55f063f5c5
Type snapUtils
2018-09-17 17:04:05 -07:00
Jordan Eldredge
6ef225c746
Convert parent actionCreator module to typescript
2018-09-17 17:04:05 -07:00
Jordan Eldredge
2fea702d5c
Type hotkeys
2018-09-17 17:04:05 -07:00
Jordan Eldredge
20805ae66b
Type skinSprites
2018-09-17 17:04:05 -07:00
Jordan Eldredge
342ac3dac9
Ignore issue with Object.keys always returning string[]
2018-09-17 17:04:05 -07:00
Jordan Eldredge
8b2e2dd142
Type fileUtils
2018-09-17 17:04:05 -07:00
Jordan Eldredge
80ff286e00
Type playlist action creators
2018-09-17 17:04:05 -07:00
Jordan Eldredge
6d3a9a782f
Type window reducers
2018-09-17 17:04:05 -07:00
Jordan Eldredge
e71dac807d
Type the equalizer action creators
2018-09-17 17:04:05 -07:00
Jordan Eldredge
96ef91cff6
Url is not a real property of the an audio object
2018-09-17 17:04:05 -07:00
Jordan Eldredge
a5485cfb4f
Clarify return type of getWindowsInfo
2018-09-17 17:04:05 -07:00
Jordan Eldredge
658403533a
Add return type for regionParser
2018-09-17 17:04:05 -07:00
Jordan Eldredge
197fcadfbb
Add type for WindowInfo
2018-09-17 17:04:05 -07:00
Jordan Eldredge
70cfcf45e2
Type resizeUtils
2018-09-17 17:04:05 -07:00
Jordan Eldredge
fdace2deb1
Type regionParser
2018-09-17 17:04:05 -07:00
Jordan Eldredge
48465b949b
Type the media middleware
2018-09-17 17:04:05 -07:00
Jordan Eldredge
8e496e9d97
Type the media action creators
2018-09-17 17:04:05 -07:00
Jordan Eldredge
edc5c7890c
Type check media
2018-09-17 17:04:05 -07:00