mirror of
https://github.com/artegoser/piped-api.git
synced 2025-02-23 20:51:27 +03:00
doc: add Item type
This commit is contained in:
parent
c71702157f
commit
6f0aaa4081
4 changed files with 8 additions and 6 deletions
|
@ -1,2 +1,2 @@
|
|||
export { PipedAPI } from "./piped-api";
|
||||
export * as Types from "./responses.interface";
|
||||
export * from "./responses.interface";
|
||||
|
|
|
@ -147,7 +147,9 @@ export interface Segments {
|
|||
|
||||
export interface Search {
|
||||
nextpage: string;
|
||||
items: (Video | Channel)[];
|
||||
items: Item[];
|
||||
corrected: boolean;
|
||||
suggestion: string | null;
|
||||
}
|
||||
|
||||
export type Item = Video | Channel;
|
||||
|
|
Loading…
Add table
Reference in a new issue