@vocalstack/player 0.1.0-alpha.36 → 0.1.0-alpha.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/embeds.d.ts +18 -0
- package/dist/core/loomStream.d.ts +4 -0
- package/dist/core/voiceWait.d.ts +10 -0
- package/dist/index.js +2362 -2203
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui/EmbedFollow.d.ts +7 -0
- package/dist/ui/FileFollow.d.ts +5 -2
- package/dist/ui/core.d.ts +1 -0
- package/dist/ui/full.d.ts +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface EmbedAt {
|
|
2
|
+
t: number;
|
|
3
|
+
play: boolean;
|
|
4
|
+
host?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function loomId(raw: string): string | null;
|
|
7
|
+
export declare function vimeoIds(raw: string): {
|
|
8
|
+
id: string;
|
|
9
|
+
h: string | null;
|
|
10
|
+
} | null;
|
|
11
|
+
export declare function dailymotionId(raw: string): string | null;
|
|
12
|
+
export declare function twitchTarget(raw: string): {
|
|
13
|
+
video?: string;
|
|
14
|
+
channel?: string;
|
|
15
|
+
clip?: string;
|
|
16
|
+
} | null;
|
|
17
|
+
export declare function embedUrl(raw: string, at: EmbedAt): string | null;
|
|
18
|
+
export declare function hasEmbed(raw: string | null | undefined): boolean;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FollowSetup } from '../ui/FileFollow';
|
|
2
|
+
export declare function loomStreamUrl(id: string): Promise<string | null>;
|
|
3
|
+
export declare function signedLoader(master: string): (xhr: XMLHttpRequest, u: string) => void;
|
|
4
|
+
export declare function loomSetup(id: string): FollowSetup;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type VoiceWait = 'asked' | 'line' | null;
|
|
2
|
+
export declare function voiceWait(o: {
|
|
3
|
+
on: boolean;
|
|
4
|
+
want: boolean;
|
|
5
|
+
relang: boolean;
|
|
6
|
+
playing: boolean;
|
|
7
|
+
preparing: boolean;
|
|
8
|
+
starting: number | null | undefined;
|
|
9
|
+
}): VoiceWait;
|
|
10
|
+
export declare const VOICE_WAIT_TITLE = "Preparing the voice\u2026";
|