File

models/state.model.ts

Extends

HazardPlots

Index

Properties

Properties

magnitudes
magnitudes: NshmpPlot
Type : NshmpPlot
sources
sources: NshmpPlot
Type : NshmpPlot
import {HazardPlots, Nshms, ResponseSpectra} from '@ghsc/nshmp-lib/hazard';
import {ServiceCallInfo} from '@ghsc/nshmp-lib/nshmp';
import {NshmpPlot} from '@ghsc/nshmp-lib/plot';
import {
  HazardCalcResponse,
  HazardRequestMetadata,
} from '@ghsc/nshmp-utils-ts/libs/nshmp-haz/www/hazard-service';

export interface Plots extends HazardPlots {
  magnitudes: NshmpPlot;
  sources: NshmpPlot;
}

/**
 * Dynamic hazard state.
 */
export interface AppState {
  /** Nshms */
  nshms: Nshms<HazardRequestMetadata>;
  /** Hazard plots */
  plots: Plots;
  /** Hazard response spectra data */
  responseSpectra: null | ResponseSpectra;
  /** Service call info */
  serviceCallInfo: ServiceCallInfo;
  /** Hazard service responses */
  serviceResponse: HazardCalcResponse | null;
}

results matching ""

    No results matching ""