javascript-ampache
Version:
A JS library for the Ampache API
24 lines (23 loc) • 537 B
TypeScript
import { UID } from "../base";
export type ShareResponse = {
id: UID;
name: string;
owner: string;
allow_stream: boolean;
allow_download: boolean;
creation_date: number;
lastvisit_date: number;
object_type: string;
object_id: UID;
expire_days: number;
max_counter: number;
counter: number;
secret: string;
public_url: string;
description: string;
};
export type SharesResponse = {
total_count: number;
md5: string;
share: ShareResponse[];
};