@dan-uni/dan-any
Version:
A danmaku transformer lib, supporting danmaku from different platforms.
25 lines (24 loc) • 960 B
TypeScript
export declare enum PlatformInfoSource {
Bangumi = "bgm",
TMDB = "tmdb"
}
export declare const PlatformInfoSources: PlatformInfoSource[];
export declare enum PlatformVideoSource {
Acfun = "acfun",
Baha = "baha",
Bilibili = "bili",
BilibiliGlobal = "bglobal",
Iqiyi = "iqiyi",
Tencent = "tencent",
Youku = "youku"
}
export declare const PlatformVideoSources: PlatformVideoSource[];
export declare enum PlatformDanmakuOnlySource {
DanDanPlay = "ddplay",
TuCao = "tucao"
}
export declare const PlatformDanmakuOnlySources: PlatformDanmakuOnlySource[];
export type PlatformDanmakuSource = PlatformVideoSource | PlatformDanmakuOnlySource;
export declare const PlatformDanmakuSources: (PlatformVideoSource | PlatformDanmakuOnlySource)[];
export type PlatformSource = PlatformInfoSource | PlatformDanmakuSource;
export declare const PlatformSources: (PlatformInfoSource | PlatformVideoSource | PlatformDanmakuOnlySource)[];