Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (21 sloc) 1.39 KB
import {DI} from 'dependency-injection'
import { SessionService } from 'services/planning-poker/SessionService'
import { ApiService } from 'services/planning-poker/ApiService'
import { LocalStorageService } from 'services/storage/local-storage'
import { SessionStorageService } from 'services/storage/session-storage'
import { SimpleService } from 'services/planning-poker/SimpleService'
import { NotificationService } from 'services/planning-poker/NotificationService'
import { StateService } from 'services/planning-poker/StateService'
import { BrowserFeatureDetectionService } from 'services/planning-poker/BrowserFeatureDetectionService'
import { SanitizerService } from 'services/planning-poker/SanitizerService'
export const Singletons = [
{interface: DI.ILocalStorageService, implementation: LocalStorageService},
{interface: DI.ISessionStorageService, implementation: SessionStorageService},
{interface: DI.IApiService, implementation: ApiService},
{interface: DI.ISessionService, implementation: SessionService},
{interface: DI.ISimpleService, implementation: SimpleService},
{interface: DI.INotificationService, implementation: NotificationService},
{interface: DI.IStateService, implementation: StateService},
{interface: DI.IBrowserFeatureDetectionService, implementation: BrowserFeatureDetectionService },
{interface: DI.ISanitizerService, implementation: SanitizerService}
]