From 82868b2d471bcae571e8e36b16b6732b584e0619 Mon Sep 17 00:00:00 2001 From: Artemy Date: Thu, 10 Aug 2023 12:18:24 +0300 Subject: [PATCH] fix: add types to channel --- package-lock.json | 4 ++-- package.json | 2 +- src/types.ts | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3a3a8cc..a60aff4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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" diff --git a/package.json b/package.json index 3c94280..93252fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "piped-api", - "version": "1.2.1", + "version": "1.2.2", "description": "", "main": "dist/index.js", "type": "module", diff --git a/src/types.ts b/src/types.ts index e8bf366..3cf676c 100644 --- a/src/types.ts +++ b/src/types.ts @@ -107,7 +107,11 @@ export interface Channel { relatedStreams: Video[]; subscriberCount: number; verified: boolean; + type?: string; + url?: string; + thumbnail?: string; + videos?: number; } export interface TabInfo {