MCPcopy Create free account
hub / github.com/MigoXLab/coderio / getFigmaConfig

Function getFigmaConfig

src/utils/config.ts:97–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 * @throws Error if configuration is invalid
96 */
97export function getFigmaConfig(): FigmaConfig {
98 const config = loadConfig();
99 if (!config.figma) {
100 throw new Error('Figma configuration not found in config.yaml');
101 }
102 return config.figma;
103}
104
105/**
106 * Get debug configuration from config.yaml

Callers 1

Calls 1

loadConfigFunction · 0.85

Tested by

no test coverage detected