Compare commits

..

No commits in common. "641632262866909f79072be90f8677e0972978db" and "5465963650063ae11fe1826a781172e53dcd2439" have entirely different histories.

3 changed files with 7 additions and 17 deletions

4
package-lock.json generated
View file

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

View file

@ -1,6 +1,6 @@
{
"name": "piped-api",
"version": "1.2.3",
"version": "1.2.0",
"description": "",
"main": "dist/index.js",
"type": "module",
@ -14,7 +14,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc",
"docs": "typedoc src/index.ts src/types.ts",
"prepublishOnly": "npm i && npm run build"
"prepublishOnly": "npm run build"
},
"keywords": [
"api",

View file

@ -107,11 +107,7 @@ export interface Channel {
relatedStreams: Video[];
subscriberCount: number;
verified: boolean;
type?: string;
url?: string;
thumbnail?: string;
videos?: number;
}
export interface TabInfo {
@ -132,22 +128,16 @@ export interface NextPageChannel {
}
export interface Playlist {
url: string;
bannerUrl: string;
name: string;
nextpage: string;
relatedStreams: Video[];
thumbnailUrl?: string;
uploader?: string;
thumbnailUrl: string;
uploader: string;
uploaderAvatar: string;
uploaderUrl: string;
videos: number;
type?: string;
thumbnail?: string;
uploaderName?: string;
uploaderVerified?: boolean;
playlistType?: string;
}
export interface NextPagePlaylist {
@ -176,4 +166,4 @@ export interface Search {
suggestion: string | null;
}
export type Item = Video | Channel | Playlist;
export type Item = Video | Channel;