import { FactoryIndex } from '~/types/factory/factory.index' ; import { FrameworkIndexApi } from '~/types/framework/framework.index' ; import { execute } from '~/tools/tasks' ; export const activity = function ( indexName ) { const self = this ; return async ( pagination = { } ) => { return execute ( [ { name : `Activity [${ indexName }]` , async task ( ) { return { } ; } , } , ] , { domain : 'Biota.index.activity' , } ) ; } ; } ;