ffplayout/types/index.ts

51 lines
870 B
TypeScript

export { }
declare global {
interface Crumb {
text: string
path: string
}
interface Payload {
method: string,
headers: any,
body?: any,
}
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
}
interface FileFolderObject {
source: string
parent: string
folders: string[]
files: FileObject[]
}
interface FolderObject {
source: string
parent: string
folders: string[]
}
interface SourceObject {
type: string
src: string
}
}