lib/helpers/indexes.js
function indexWidgets() {
  const { widgets = {} } = getComponentsSettings();

  return index({
    file: 'widgets.js',
    config: {
      type: TYPE_WIDGETS,
      config: widgets,
    },
    ...getIndexLogTranslations(TYPE_WIDGETS),
  });
}
function indexWidgets() {
  const { widgets = {} } = getComponentsSettings();

  return index({
    file: 'widgets.js',
    config: {
      type: TYPE_WIDGETS,
      config: widgets,
    },
    ...getIndexLogTranslations(TYPE_WIDGETS),
  });
}
function indexWidgets ( ) { const { widgets = { } } = getComponentsSettings ( ) ; return index ( { file : 'widgets.js' , config : { type : TYPE_WIDGETS , config : widgets , } , ... getIndexLogTranslations ( TYPE_WIDGETS ) , } ) ; }
Indexes the widgets.
@return {Promise}
Indexes the widgets .