lib/helpers/indexes.js
function indexSubscribers() {
  const { subscribers = {} } = getComponentsSettings();

  return index({
    file: 'subscribers.js',
    config: {
      type: TYPE_SUBSCRIBERS,
      config: subscribers,
      exportsStart: 'export default [',
      exportsEnd: '];',
      isArray: true,
    },
    defaultContent: 'export default [];\n',
    ...getIndexLogTranslations(TYPE_SUBSCRIBERS),
  });
}
function indexSubscribers() {
  const { subscribers = {} } = getComponentsSettings();

  return index({
    file: 'subscribers.js',
    config: {
      type: TYPE_SUBSCRIBERS,
      config: subscribers,
      exportsStart: 'export default [',
      exportsEnd: '];',
      isArray: true,
    },
    defaultContent: 'export default [];\n',
    ...getIndexLogTranslations(TYPE_SUBSCRIBERS),
  });
}
function indexSubscribers ( ) { const { subscribers = { } } = getComponentsSettings ( ) ; return index ( { file : 'subscribers.js' , config : { type : TYPE_SUBSCRIBERS , config : subscribers , exportsStart : 'export default [' , exportsEnd : '];' , isArray : true , } , defaultContent : 'export default [];\n' , ... getIndexLogTranslations ( TYPE_SUBSCRIBERS ) , } ) ; }
Indexes the RxJS subscriptions from extensions.
@return {Promise}
Indexes the RxJS subscriptions from extensions .