@battle-racing/br-common-lib 6.2.0-rc.9 → 6.2.1-rc.0
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.
|
@@ -17,8 +17,8 @@ export declare const gameTrackKartsConfigSchema: z.ZodObject<{
|
|
|
17
17
|
waitTimeAfterHit: z.ZodNumber;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
lowSpeed: z.ZodNumber;
|
|
20
|
-
tutorialSpeed: z.ZodNumber
|
|
21
|
-
tutorialReturnSpeed: z.ZodNumber
|
|
20
|
+
tutorialSpeed: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
tutorialReturnSpeed: z.ZodOptional<z.ZodNumber>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
export declare const gameTrackKartConfigSchema: z.ZodObject<{
|
|
24
24
|
gameTrackId: z.ZodString;
|
|
@@ -74,8 +74,8 @@ export declare const gameTrackSchema: z.ZodObject<{
|
|
|
74
74
|
waitTimeAfterHit: z.ZodNumber;
|
|
75
75
|
}, z.core.$strip>;
|
|
76
76
|
lowSpeed: z.ZodNumber;
|
|
77
|
-
tutorialSpeed: z.ZodNumber
|
|
78
|
-
tutorialReturnSpeed: z.ZodNumber
|
|
77
|
+
tutorialSpeed: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
tutorialReturnSpeed: z.ZodOptional<z.ZodNumber>;
|
|
79
79
|
}, z.core.$strip>;
|
|
80
80
|
macAddress: z.ZodOptional<z.ZodString>;
|
|
81
81
|
isConnected: z.ZodBoolean;
|
|
@@ -18,8 +18,8 @@ exports.gameTrackKartsConfigSchema = zod_1.z.object({
|
|
|
18
18
|
diskSensorBallShooter: hardware_1.configDiskSensorBallShooterModuleOptionsSchema,
|
|
19
19
|
ballSensorDiskThrower: hardware_1.configureBallSensorDiskThrowerModuleOptionsSchema,
|
|
20
20
|
lowSpeed: zod_1.z.number().min(0).max(100),
|
|
21
|
-
tutorialSpeed: zod_1.z.number().min(0).max(100),
|
|
22
|
-
tutorialReturnSpeed: zod_1.z.number().min(0).max(100),
|
|
21
|
+
tutorialSpeed: zod_1.z.number().min(0).max(100).optional(),
|
|
22
|
+
tutorialReturnSpeed: zod_1.z.number().min(0).max(100).optional(),
|
|
23
23
|
});
|
|
24
24
|
exports.gameTrackKartConfigSchema = zod_1.z.object({
|
|
25
25
|
gameTrackId: zod_1.z.string(),
|
package/package.json
CHANGED
|
@@ -20,8 +20,8 @@ export const gameTrackKartsConfigSchema = z.object({
|
|
|
20
20
|
diskSensorBallShooter: configDiskSensorBallShooterModuleOptionsSchema,
|
|
21
21
|
ballSensorDiskThrower: configureBallSensorDiskThrowerModuleOptionsSchema,
|
|
22
22
|
lowSpeed: z.number().min(0).max(100),
|
|
23
|
-
tutorialSpeed: z.number().min(0).max(100),
|
|
24
|
-
tutorialReturnSpeed: z.number().min(0).max(100),
|
|
23
|
+
tutorialSpeed: z.number().min(0).max(100).optional(),
|
|
24
|
+
tutorialReturnSpeed: z.number().min(0).max(100).optional(),
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export const gameTrackKartConfigSchema = z.object({
|