fix: Item type

This commit is contained in:
Artemy 2023-08-10 13:41:44 +03:00
parent 82868b2d47
commit 6416322628
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "piped-api", "name": "piped-api",
"version": "1.2.2", "version": "1.2.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "piped-api", "name": "piped-api",
"version": "1.2.2", "version": "1.2.3",
"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.2", "version": "1.2.3",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"type": "module", "type": "module",

View file

@ -176,4 +176,4 @@ export interface Search {
suggestion: string | null; suggestion: string | null;
} }
export type Item = Video | Channel; export type Item = Video | Channel | Playlist;