feat: add support for uploading videos (#115)

* chore: add video upload url

* feat!: add support for uploading videos

This is probably complete but I will do a self-review later today.

* style: align comments

* style: lint code

* chore: tidy things up
This commit is contained in:
LuanRT
2022-07-25 04:45:55 -03:00
committed by GitHub
parent 616b1405c3
commit 95079ced09
5 changed files with 167 additions and 7 deletions

View File

@@ -80,6 +80,7 @@ export default class Session extends EventEmitterLike {
on(type: 'auth', listener: OAuthAuthEventHandler): void;
on(type: 'auth-pending', listener: OAuthAuthPendingEventHandler): void;
on(type: 'auth-error', listener: OAuthAuthErrorEventHandler): void;
on(type: 'update-credentials', listener: OAuthAuthEventHandler): void;
on(type: string, listener: (...args: any[]) => void): void {
super.on(type, listener);