UNPKG

javascript-ampache

Version:
30 lines (26 loc) 564 B
import { UID } from "../base"; import { UserSummary } from "../users/types" export type PlaylistResponse = { id: UID; name: string; owner: string; items: number; type: "public" | "private"; art: string; has_art: boolean; flag: boolean; rating: number | null; averagerating: number | null; user: UserSummary; has_access: boolean; has_collaborate: boolean; last_update: number; }; export type PlaylistsResponse = { total_count: number; md5: string; playlist: PlaylistResponse[]; }; export type HashResponse = { md5: string; };