mirror of
https://github.com/artegoser/piped-api.git
synced 2024-11-24 03:46:21 +03:00
fix: add types to channel
This commit is contained in:
parent
963be51741
commit
82868b2d47
3 changed files with 7 additions and 3 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -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"
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue