import { Params } from '@angular/router';

export class GetZoneAction {
  static readonly type = '[Zone] Get';
  constructor(public payload: Params) {}
}

export class SaveLocationAction {
  static readonly type = '[Zone] Set Address';
  constructor(public location: string) {}
}

export class ClearZoneAction {
  static readonly type = '[Zone] Clear Zone';
}

export class IsSelectedZoneAction {
  static readonly type = '[Zone] Zone Selected';
}
