@battle-racing/br-common-lib 1.4.1 → 1.4.2
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.
|
@@ -154,6 +154,6 @@ export type SteeringWheelModuleCommands = {
|
|
|
154
154
|
export type SoundModuleCommands = {
|
|
155
155
|
module: 'sound';
|
|
156
156
|
action: 'play';
|
|
157
|
-
params:
|
|
157
|
+
params: PlaySoundActionCommandOptions;
|
|
158
158
|
};
|
|
159
159
|
export type AllCommandsConfig = BallSensorDiskThrowerModuleCommands | DiskSensorBallShooterModuleCommands | FlagModuleCommands | RGBModuleCommands | SpeedModuleCommands | LeftStarBackLaserModuleCommands | RightStarFrontLaserModuleCommands | ScreenModuleCommands | SteeringWheelModuleCommands | SoundModuleCommands;
|
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ export type SteeringWheelModuleCommands =
|
|
|
80
80
|
| { module: 'steeringWheel'; action: 'turnLedOn'; params?: undefined }
|
|
81
81
|
| { module: 'steeringWheel'; action: 'turnLedOff'; params?: undefined };
|
|
82
82
|
|
|
83
|
-
export type SoundModuleCommands = { module: 'sound'; action: 'play'; params:
|
|
83
|
+
export type SoundModuleCommands = { module: 'sound'; action: 'play'; params: PlaySoundActionCommandOptions };
|
|
84
84
|
|
|
85
85
|
export type AllCommandsConfig =
|
|
86
86
|
| BallSensorDiskThrowerModuleCommands
|