mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-11 02:37:22 +03:00
23 lines
473 B
TypeScript
23 lines
473 B
TypeScript
import type Bottle from 'bottlejs';
|
|
import { Main } from '../Main';
|
|
import { setUpStore } from './store';
|
|
|
|
export const provideServices = (bottle: Bottle) => {
|
|
bottle.serviceFactory(
|
|
'Main',
|
|
Main,
|
|
'TagsList',
|
|
'ShortUrlsList',
|
|
'CreateShortUrl',
|
|
'ShortUrlVisits',
|
|
'TagVisits',
|
|
'DomainVisits',
|
|
'OrphanVisits',
|
|
'NonOrphanVisits',
|
|
'Overview',
|
|
'EditShortUrl',
|
|
'ManageDomains',
|
|
);
|
|
|
|
bottle.factory('store', setUpStore);
|
|
};
|