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", "name": "piped-api",
"version": "1.2.1", "version": "1.2.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "piped-api", "name": "piped-api",
"version": "1.2.1", "version": "1.2.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"axios": "^1.4.0" "axios": "^1.4.0"

View file

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

View file

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