mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 03:40:31 +00:00
15 lines
359 B
TypeScript
15 lines
359 B
TypeScript
import Container from 'typedi';
|
|
import {
|
|
SystemUserRepository,
|
|
TenantRepository,
|
|
} from '@/system/repositories';
|
|
|
|
export default () => {
|
|
const knex = Container.get('knex');
|
|
const cache = Container.get('cache');
|
|
|
|
return {
|
|
systemUserRepository: new SystemUserRepository(knex, cache),
|
|
tenantRepository: new TenantRepository(knex, cache),
|
|
};
|
|
} |