import { Injectable } from '@angular/core' ; import { ReduxAction , ReduxActionContext } from '../../harmowatch/ngx-redux-core/decorators/index' ; @ Injectable ( ) @ ReduxActionContext ( { prefix : 'VehicleActions://' } ) export class VehicleActions { @ ReduxAction ( ) public setMaxVelocity ( max ) { return max ; } @ ReduxAction ( ) public setDefaultVelocity ( ) { } }