MCPcopy Create free account
hub / github.com/botbotrobotics/BotBrain / getAllConfig

Function getAllConfig

frontend/src/utils/config.ts:144–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 * @returns All config values, with defaults applied for missing values
143 */
144export function getAllConfig(): ConfigValues {
145 if (typeof window === 'undefined') return DEFAULT_CONFIG;
146
147 const config: ConfigValues = {
148 robotAddress: getConfig('robotAddress'),
149 videoFormat: getConfig('videoFormat'),
150 overlayColor: getConfig('overlayColor'),
151 gamepadMappings: getConfig('gamepadMappings'),
152 gamepadAxisMappings: getConfig('gamepadAxisMappings'),
153 joystickVisualizationOnly: getConfig('joystickVisualizationOnly'),
154 };
155
156 return config;
157}

Callers

nothing calls this directly

Calls 1

getConfigFunction · 0.85

Tested by

no test coverage detected