You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
506 B

import {Config, Inject, Injectable, Routing} from '@extollo/lib'
@Injectable()
export class Cobalt {
@Inject()
protected readonly config!: Config
@Inject()
protected readonly routing!: Routing
public getSession(): {[key: string]: any} {
return {
app: {
name: this.config.get('app.name'),
url: this.routing.getAppUrl().toRemote,
}
}
}
public getState(): {[key: string]: any} {
return {}
}
}