Source: data/dasf/responseHandlerRegistry.js

  1. import { handleTimeseriesData} from './handlers/timeseriesPlot.js';
  2. import { handleObjectDisplay } from './handlers/default.js';
  3. /**
  4. * Registry object that maps response types to their corresponding handler functions.
  5. */
  6. export const responseHandlerRegistry = {
  7. "timeseries": handleTimeseriesData,
  8. "default": handleObjectDisplay,
  9. };