import type { InstrumentConfig } from '../ui/instrumentPage'; import { STRING_CONFIG } from './bead-string/config'; import { DRUM_CONFIG } from './bead-drum/config'; import { CYMBAL_CONFIG } from './bead-cymbal/config'; // Every built instrument's configuration, by id (the instrument page and the // embedded widget both start from these). export type AnyConfig = InstrumentConfig; export const CONFIGS: Record = { 'bead-string': STRING_CONFIG, 'bead-drum': DRUM_CONFIG, 'bead-cymbal': CYMBAL_CONFIG, };