Commit graph

897 commits

Author SHA1 Message Date
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
Jordan Eldredge
7c2a01dc5c Type ElementSource 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b4a48d57b8 Type Emitter 2018-09-17 17:04:05 -07:00
Jordan Eldredge
76187eb0cd Type skin selectors 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bbf56232c3 Type Selectors 2018-09-17 17:04:05 -07:00
Jordan Eldredge
be3b024b0b Fix regression in getTimeStr
When we switched getTimeObj to return strings, our sketchy zero check started to fail. Luckily our tests caught it!
2018-09-17 17:04:05 -07:00
Jordan Eldredge
3279033196 Convert ContextMenu and ContextMenuTarget to typescriptThis is the first component to use a connected component 2018-09-17 17:04:05 -07:00
Jordan Eldredge
d85d689539 Type MiniTime.js 2018-09-17 17:04:05 -07:00
Jordan Eldredge
082db5f3e2 Type passthrough props 2018-09-17 17:04:05 -07:00
Jordan Eldredge
49c50887d8 Convert some non-connected components to Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
71b0ed79b1 Convert Character component to Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
1ec6a886b8 Convert all reducers to typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bf2544e25b Convert utils.js to utils.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b68ae54d78 Format display.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
58e77832be Format types.ts 2018-09-17 17:04:05 -07:00
Jordan Eldredge
0819c10ac2 Improve typing of skin info 2018-09-17 17:04:05 -07:00
Jordan Eldredge
25b3678aae Make skin data a bit more correct 2018-09-17 17:04:05 -07:00
Jordan Eldredge
4f8a9a7065 Pass dummy data object in SET_SKIN_DATA in test to reset skin 2018-09-17 17:04:05 -07:00
Jordan Eldredge
670c0ba508 More type progress 2018-09-17 17:04:05 -07:00
Jordan Eldredge
bd1b4709d4 Convert UserInput reducer to TypeScript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
b2359c6b5a Convert media reducer to Typescript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
24835e4f8f Format typescript files with Prettier 2018-09-17 17:04:05 -07:00
Jordan Eldredge
a276ffb518 Convert first files to TypeScript 2018-09-17 17:04:05 -07:00
Jordan Eldredge
2c2ee5faab
Refactor PresetOverlay to be easier to understand (#652)
* Refactor PresetOverlay to be easier to understand

* Clean up stray semi
2018-09-11 06:45:50 -07:00
jberg
bc7c5bffaf Load local MilkDrop preset directory (#637) 2018-09-07 22:13:48 -07:00
Jordan Eldredge
b84049344d Remove module.exports
This was originally removed in https://github.com/captbaritone/webamp/pull/648

And accidentally re-added in https://github.com/captbaritone/webamp/pull/639 due to a bad rebase.
2018-09-02 09:18:16 -07:00
Jordan Eldredge
1bdb7d6345
Inject lazy dependencies (#639)
Still TODO Find a nice way to expose WebampLazy as:

```JavaScript
import WebampLazy from 'webamp/lazy';
```
2018-09-02 09:01:51 -07:00