narrat 2.13.0 → 2.13.1
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/narrat.es.js +1969 -1948
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +66 -66
- package/dist/narrat.umd.js.map +1 -1
- package/dist/stores/audio-store.d.ts +1 -0
- package/dist/stores/main-store.d.ts +1 -0
- package/dist/vm/commands/audio-commands.d.ts +4 -0
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ export declare const useAudio: import("pinia").StoreDefinition<"audio", AudioSta
|
|
|
40
40
|
stopChannel(mode: AudioModeKey, channelIndex: number): Promise<void>;
|
|
41
41
|
pauseChannel(mode: AudioModeKey, channelIndex: number): Promise<void>;
|
|
42
42
|
playChannel(mode: AudioModeKey, audio: string, channelIndex: number): Promise<void>;
|
|
43
|
+
resumeChannel(mode: AudioModeKey, channelIndex: number): Promise<void>;
|
|
43
44
|
changeChannel(mode: AudioModeKey, audio: string, channelIndex: number): Promise<void>;
|
|
44
45
|
actuallyStopChannel(channel: AudioChannel): void;
|
|
45
46
|
getAudioChannel(mode: AudioModeKey, channelIndex: number): AudioChannel | null;
|
|
@@ -1675,6 +1675,7 @@ export declare const useMain: import("pinia").StoreDefinition<"main", MainState,
|
|
|
1675
1675
|
stopChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): Promise<void>;
|
|
1676
1676
|
pauseChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): Promise<void>;
|
|
1677
1677
|
playChannel(mode: "sound" | "music" | "ambiant", audio: string, channelIndex: number): Promise<void>;
|
|
1678
|
+
resumeChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): Promise<void>;
|
|
1678
1679
|
changeChannel(mode: "sound" | "music" | "ambiant", audio: string, channelIndex: number): Promise<void>;
|
|
1679
1680
|
actuallyStopChannel(channel: import("./audio-store").AudioChannel): void;
|
|
1680
1681
|
getAudioChannel(mode: "sound" | "music" | "ambiant", channelIndex: number): import("./audio-store").AudioChannel | null;
|
|
@@ -5,6 +5,10 @@ export interface PlayCommandArgs {
|
|
|
5
5
|
channel?: number;
|
|
6
6
|
}
|
|
7
7
|
export declare const playCommand: CommandPlugin<PlayCommandArgs, {}>;
|
|
8
|
+
export declare const resumeCommand: CommandPlugin<{
|
|
9
|
+
mode: string;
|
|
10
|
+
channel?: number | undefined;
|
|
11
|
+
}, {}>;
|
|
8
12
|
export declare const pauseCommand: CommandPlugin<{
|
|
9
13
|
mode: string;
|
|
10
14
|
channel?: number | undefined;
|