2023-02-02 09:53:26 +01:00
|
|
|
export { }
|
2023-01-11 10:54:25 +01:00
|
|
|
|
|
|
|
declare global {
|
2023-02-02 09:53:26 +01:00
|
|
|
interface Crumb {
|
2023-01-11 10:54:25 +01:00
|
|
|
text: string
|
|
|
|
path: string
|
|
|
|
}
|
|
|
|
|
2023-01-25 08:54:30 +01:00
|
|
|
interface Payload {
|
|
|
|
method: string,
|
|
|
|
headers: any,
|
|
|
|
body?: any,
|
|
|
|
}
|
|
|
|
|
2023-01-11 10:54:25 +01:00
|
|
|
interface PlaylistItem {
|
|
|
|
uid: string
|
|
|
|
begin: number
|
|
|
|
source: string
|
|
|
|
duration: number
|
|
|
|
in: number
|
|
|
|
out: number
|
|
|
|
audio?: string
|
|
|
|
category?: string
|
|
|
|
custom_filter?: string
|
|
|
|
class?: string
|
|
|
|
}
|
|
|
|
|
|
|
|
interface FileObject {
|
|
|
|
name: string
|
|
|
|
duration: number
|
|
|
|
}
|
|
|
|
|
2023-01-22 20:04:57 +01:00
|
|
|
interface FileFolderObject {
|
2023-01-11 10:54:25 +01:00
|
|
|
source: string
|
|
|
|
parent: string
|
|
|
|
folders: string[]
|
|
|
|
files: FileObject[]
|
|
|
|
}
|
|
|
|
|
2023-01-22 20:04:57 +01:00
|
|
|
interface FolderObject {
|
|
|
|
source: string
|
|
|
|
parent: string
|
|
|
|
folders: string[]
|
|
|
|
}
|
|
|
|
|
2023-01-11 10:54:25 +01:00
|
|
|
interface SourceObject {
|
|
|
|
type: string
|
|
|
|
src: string
|
|
|
|
}
|
|
|
|
}
|