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