@battle-racing/br-common-lib 6.2.1-rc.3 → 6.2.1-rc.4
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/domains/hardware/screen/Screen.const.d.ts +8 -0
- package/dist/domains/hardware/screen/Screen.const.js +9 -1
- package/dist/domains/tutorial/Tutorial.schema.d.ts +4 -4
- package/dist/domains/tutorial/TutorialConfig.schema.d.ts +3 -3
- package/package.json +1 -1
- package/src/domains/hardware/screen/Screen.const.ts +10 -0
|
@@ -15,3 +15,11 @@ export declare const SCREEN_VIEW: {
|
|
|
15
15
|
readonly BATTLE: "Battle";
|
|
16
16
|
readonly DEBUG: "Debug";
|
|
17
17
|
};
|
|
18
|
+
export declare const SCREEN_STANDBY_SAFETY_CAROUSEL: {
|
|
19
|
+
readonly SLIDE_DURATION_MS: 4000;
|
|
20
|
+
readonly SLIDES: {
|
|
21
|
+
readonly HOME: "Home";
|
|
22
|
+
readonly PERSONAL_ITEMS: "PersonalItems";
|
|
23
|
+
readonly SEAT_BELT: "SeatBelt";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SCREEN_VIEW = exports.SCREEN_STATUS = void 0;
|
|
3
|
+
exports.SCREEN_STANDBY_SAFETY_CAROUSEL = exports.SCREEN_VIEW = exports.SCREEN_STATUS = void 0;
|
|
4
4
|
exports.SCREEN_STATUS = {
|
|
5
5
|
ACTIVATED: 'Activated',
|
|
6
6
|
DEACTIVATED: 'Deactivated',
|
|
@@ -18,3 +18,11 @@ exports.SCREEN_VIEW = {
|
|
|
18
18
|
BATTLE: 'Battle',
|
|
19
19
|
DEBUG: 'Debug',
|
|
20
20
|
};
|
|
21
|
+
exports.SCREEN_STANDBY_SAFETY_CAROUSEL = {
|
|
22
|
+
SLIDE_DURATION_MS: 4000,
|
|
23
|
+
SLIDES: {
|
|
24
|
+
HOME: 'Home',
|
|
25
|
+
PERSONAL_ITEMS: 'PersonalItems',
|
|
26
|
+
SEAT_BELT: 'SeatBelt',
|
|
27
|
+
},
|
|
28
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const tutorialScreenStepSchema: z.ZodEnum<{
|
|
3
3
|
Countdown: "Countdown";
|
|
4
|
-
Welcome: "Welcome";
|
|
5
4
|
PersonalItems: "PersonalItems";
|
|
6
5
|
SeatBelt: "SeatBelt";
|
|
6
|
+
Welcome: "Welcome";
|
|
7
7
|
Pedal: "Pedal";
|
|
8
8
|
DriveToControls: "DriveToControls";
|
|
9
9
|
WheelControls0Of2: "WheelControls0Of2";
|
|
@@ -73,9 +73,9 @@ export declare const tutorialKartSnapshotSchema: z.ZodObject<{
|
|
|
73
73
|
}>;
|
|
74
74
|
currentStep: z.ZodEnum<{
|
|
75
75
|
Countdown: "Countdown";
|
|
76
|
-
Welcome: "Welcome";
|
|
77
76
|
PersonalItems: "PersonalItems";
|
|
78
77
|
SeatBelt: "SeatBelt";
|
|
78
|
+
Welcome: "Welcome";
|
|
79
79
|
Pedal: "Pedal";
|
|
80
80
|
DriveToControls: "DriveToControls";
|
|
81
81
|
WheelControls0Of2: "WheelControls0Of2";
|
|
@@ -190,9 +190,9 @@ export declare const tutorialParticipantSchema: z.ZodObject<{
|
|
|
190
190
|
}>;
|
|
191
191
|
currentStep: z.ZodEnum<{
|
|
192
192
|
Countdown: "Countdown";
|
|
193
|
-
Welcome: "Welcome";
|
|
194
193
|
PersonalItems: "PersonalItems";
|
|
195
194
|
SeatBelt: "SeatBelt";
|
|
195
|
+
Welcome: "Welcome";
|
|
196
196
|
Pedal: "Pedal";
|
|
197
197
|
DriveToControls: "DriveToControls";
|
|
198
198
|
WheelControls0Of2: "WheelControls0Of2";
|
|
@@ -260,9 +260,9 @@ export declare const tutorialSessionSchema: z.ZodObject<{
|
|
|
260
260
|
}>;
|
|
261
261
|
currentStep: z.ZodEnum<{
|
|
262
262
|
Countdown: "Countdown";
|
|
263
|
-
Welcome: "Welcome";
|
|
264
263
|
PersonalItems: "PersonalItems";
|
|
265
264
|
SeatBelt: "SeatBelt";
|
|
265
|
+
Welcome: "Welcome";
|
|
266
266
|
Pedal: "Pedal";
|
|
267
267
|
DriveToControls: "DriveToControls";
|
|
268
268
|
WheelControls0Of2: "WheelControls0Of2";
|
|
@@ -50,9 +50,9 @@ export declare const tutorialStepConfigSchema: z.ZodObject<{
|
|
|
50
50
|
name: z.ZodString;
|
|
51
51
|
screenStep: z.ZodEnum<{
|
|
52
52
|
Countdown: "Countdown";
|
|
53
|
-
Welcome: "Welcome";
|
|
54
53
|
PersonalItems: "PersonalItems";
|
|
55
54
|
SeatBelt: "SeatBelt";
|
|
55
|
+
Welcome: "Welcome";
|
|
56
56
|
Pedal: "Pedal";
|
|
57
57
|
DriveToControls: "DriveToControls";
|
|
58
58
|
WheelControls0Of2: "WheelControls0Of2";
|
|
@@ -1131,9 +1131,9 @@ export declare const tutorialPhaseConfigSchema: z.ZodObject<{
|
|
|
1131
1131
|
name: z.ZodString;
|
|
1132
1132
|
screenStep: z.ZodEnum<{
|
|
1133
1133
|
Countdown: "Countdown";
|
|
1134
|
-
Welcome: "Welcome";
|
|
1135
1134
|
PersonalItems: "PersonalItems";
|
|
1136
1135
|
SeatBelt: "SeatBelt";
|
|
1136
|
+
Welcome: "Welcome";
|
|
1137
1137
|
Pedal: "Pedal";
|
|
1138
1138
|
DriveToControls: "DriveToControls";
|
|
1139
1139
|
WheelControls0Of2: "WheelControls0Of2";
|
|
@@ -2216,9 +2216,9 @@ export declare const tutorialMasterConfigSchema: z.ZodObject<{
|
|
|
2216
2216
|
name: z.ZodString;
|
|
2217
2217
|
screenStep: z.ZodEnum<{
|
|
2218
2218
|
Countdown: "Countdown";
|
|
2219
|
-
Welcome: "Welcome";
|
|
2220
2219
|
PersonalItems: "PersonalItems";
|
|
2221
2220
|
SeatBelt: "SeatBelt";
|
|
2221
|
+
Welcome: "Welcome";
|
|
2222
2222
|
Pedal: "Pedal";
|
|
2223
2223
|
DriveToControls: "DriveToControls";
|
|
2224
2224
|
WheelControls0Of2: "WheelControls0Of2";
|
package/package.json
CHANGED
|
@@ -16,3 +16,13 @@ export const SCREEN_VIEW = {
|
|
|
16
16
|
BATTLE: 'Battle',
|
|
17
17
|
DEBUG: 'Debug',
|
|
18
18
|
} as const;
|
|
19
|
+
|
|
20
|
+
export const SCREEN_STANDBY_SAFETY_CAROUSEL = {
|
|
21
|
+
SLIDE_DURATION_MS: 4000,
|
|
22
|
+
SLIDES: {
|
|
23
|
+
HOME: 'Home',
|
|
24
|
+
PERSONAL_ITEMS: 'PersonalItems',
|
|
25
|
+
SEAT_BELT: 'SeatBelt',
|
|
26
|
+
},
|
|
27
|
+
} as const;
|
|
28
|
+
|