mirror of
https://github.com/artegoser/piped-api.git
synced 2024-11-05 20:13:58 +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",
|
||||
"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"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "piped-api",
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
|
|
|
@ -107,7 +107,11 @@ export interface Channel {
|
|||
relatedStreams: Video[];
|
||||
subscriberCount: number;
|
||||
verified: boolean;
|
||||
|
||||
type?: string;
|
||||
url?: string;
|
||||
thumbnail?: string;
|
||||
videos?: number;
|
||||
}
|
||||
|
||||
export interface TabInfo {
|
||||
|
|
Loading…
Reference in a new issue