fix: add types to channel

This commit is contained in:
Artemy 2023-08-10 12:18:24 +03:00
parent 963be51741
commit 82868b2d47
3 changed files with 7 additions and 3 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "piped-api",
"version": "1.2.1",
"version": "1.2.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "piped-api",
"version": "1.2.1",
"version": "1.2.2",
"license": "MIT",
"dependencies": {
"axios": "^1.4.0"

View file

@ -1,6 +1,6 @@
{
"name": "piped-api",
"version": "1.2.1",
"version": "1.2.2",
"description": "",
"main": "dist/index.js",
"type": "module",

View file

@ -107,7 +107,11 @@ export interface Channel {
relatedStreams: Video[];
subscriberCount: number;
verified: boolean;
type?: string;
url?: string;
thumbnail?: string;
videos?: number;
}
export interface TabInfo {