import { InjectionToken } from '@angular/core'
import { StageId } from '@core/types'

export interface EnvironmentType {
	production: boolean
	stage: StageId
	firebaseConfig: {
		apiKey: string
		authDomain: string
		projectId: string
		storageBucket: string
		messagingSenderId: string
		appId: string
	}
	i18nConfig: {
		availableLangs: string[]
		defaultLang: string
	}
	googleMapsApiKey: string
	baseUrl: string
	baseWSUrl: string
}

export const ENVIRONMENT = new InjectionToken<EnvironmentType>('ENVIRONMENT')
