2023-02-02 09:53:26 +01:00
|
|
|
export { }
|
2023-01-11 10:54:25 +01:00
|
|
|
|
|
|
|
declare global {
|
2023-09-26 09:29:46 +02:00
|
|
|
interface GuiConfig {
|
|
|
|
id: number
|
|
|
|
config_path: string
|
|
|
|
extra_extensions: string | string[]
|
|
|
|
name: string
|
|
|
|
preview_url: string
|
|
|
|
service: string
|
|
|
|
uts_offset?: number
|
|
|
|
}
|
|
|
|
|
|
|
|
interface User {
|
|
|
|
username: String
|
|
|
|
mail: String
|
|
|
|
password?: String
|
|
|
|
confirm?: String
|
2023-11-02 13:38:45 +01:00
|
|
|
admin?: Boolean
|
2023-09-26 09:29:46 +02:00
|
|
|
role_id?: Number
|
|
|
|
}
|
|
|
|
|
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-09-08 10:16:34 +02:00
|
|
|
interface Folder {
|
|
|
|
uid: string
|
|
|
|
name: string
|
|
|
|
}
|
|
|
|
|
2023-01-22 20:04:57 +01:00
|
|
|
interface FileFolderObject {
|
2023-01-11 10:54:25 +01:00
|
|
|
source: string
|
|
|
|
parent: string
|
2023-09-08 10:16:34 +02:00
|
|
|
folders: Folder[]
|
2023-01-11 10:54:25 +01:00
|
|
|
files: FileObject[]
|
|
|
|
}
|
|
|
|
|
2023-01-22 20:04:57 +01:00
|
|
|
interface FolderObject {
|
|
|
|
source: string
|
|
|
|
parent: string
|
2023-09-08 10:16:34 +02:00
|
|
|
folders: Folder[]
|
2023-01-22 20:04:57 +01:00
|
|
|
}
|
|
|
|
|
2023-01-11 10:54:25 +01:00
|
|
|
interface SourceObject {
|
|
|
|
type: string
|
|
|
|
src: string
|
|
|
|
}
|
2023-09-08 10:16:34 +02:00
|
|
|
|
|
|
|
interface TemplateItem {
|
|
|
|
start: string
|
|
|
|
duration: string
|
|
|
|
shuffle: boolean
|
|
|
|
paths: string[]
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Template {
|
|
|
|
sources: TemplateItem[]
|
|
|
|
}
|
|
|
|
|
|
|
|
interface BodyObject {
|
|
|
|
paths?: string[]
|
|
|
|
template?: Template
|
|
|
|
}
|
2023-01-11 10:54:25 +01:00
|
|
|
}
|