LuanRT
1d62e469a9
refactor: rewrite Comments Section logic ( #88 )
...
* feat: add core comments section classes
* chore: update type declarations
* chore: fix linter warnings
* style: fix linter
* chore: update tests
* chore(tests): fix typo
* chore(tests): fix typo x2
* fix(tests): `getReplies()` method is only present in `CommentThread` and not `Comment`
* chore(tests): fix comment id path
* chore(tests): remove outdated code
* chore(tests): fix results path
* chore: enforce code style
* chore: update type declarations
* docs: add examples and documentation
* chore(docs): fix paths
* chore(docs): fix more paths
* chore(docs): fix `Comments.js` path
* chore(docs): fix typo
* chore(docs): mention example file
* chore(examples): fix imports
* chore(examples): fix typo
2022-07-02 19:55:33 -03:00
Bob Varioa
0a851bde31
refactor: remove confusing code practices ( #87 )
...
* Prefer `c ? x : y` over `c && x || y`
* Avoid unnecessary asssignment expressions
* Prefer switch statements over object lookup tables
* Add an .editorconfig
* Fix style issues
* Fix mentioned issues
Co-authored-by: bob <bob.varioa@gmail.com >
2022-07-01 19:37:59 -03:00
LuanRT
4c7a42d8d4
fix: search continuations should return a Search class
...
Why? To keep things consistent.
2022-06-18 05:16:21 -03:00
LuanRT
49688a0ad6
chore: fix invalid jsdoc comments
2022-06-14 15:03:45 -03:00
LuanRT
4ee6ec0d20
refactor: move data access code to /parser
2022-06-08 20:11:05 -03:00
LuanRT
359020193b
dev: start parser refactor on the main codebase, see #65 and #44
...
Things were getting a bit complicated and slow with the old parser so I decided to continue #44 's work on the main codebase.
2022-06-06 04:19:14 -03:00
LuanRT
a85e9ef667
refactor!: welp, a lot of stuff
...
- Use the OS temp folder to cache the player, closes #57 .
- Added support for editing channel name, closes #40 .
- Added support for editing channel description.
- Added support for retrieving basic channel analytics, closes #54 .
- Moved `Innertube#getAccountInfo()` to `Innertube#account`, and renamed it to `getInfo()`.
- `getInfo()` is now able to return email, channel id, etc.
- Improved jsdoc.
2022-05-27 08:17:16 -03:00