File

models/state.model.ts

Description

Dynamic hazard state.

Index

Properties

Properties

availableModels
availableModels: Parameter[]
Type : Parameter[]

Available NSHMs

nshmServices
nshmServices: NshmMetadata[]
Type : NshmMetadata[]

NSHM service metadata

plots
plots: Map<string | NshmpPlot>
Type : Map<string | NshmpPlot>

Hazard plots

responseSpectra
responseSpectra: ResponseSpectra
Type : ResponseSpectra

Hazard response spectra data

serviceCallInfo
serviceCallInfo: ServiceCallInfo
Type : ServiceCallInfo

Service call info

serviceResponse
serviceResponse: HazardCalcResponse
Type : HazardCalcResponse

Hazard service responses

usageResponses
usageResponses: Map<string | HazardUsageResponse>
Type : Map<string | HazardUsageResponse>

Hazard usage responses

import {ResponseSpectra} from '@ghsc/nshmp-lib-ng/hazard';
import {ServiceCallInfo} from '@ghsc/nshmp-lib-ng/nshmp';
import {NshmpPlot} from '@ghsc/nshmp-lib-ng/plot';
import {
  HazardCalcResponse,
  HazardUsageResponse,
} from '@ghsc/nshmp-utils-ts/libs/nshmp-haz/www/hazard-service';
import {NshmMetadata} from '@ghsc/nshmp-utils-ts/libs/nshmp-haz/www/nshm-service';
import {Parameter} from '@ghsc/nshmp-utils-ts/libs/nshmp-ws-utils/metadata';

/**
 * Dynamic hazard state.
 */
export interface AppState {
  /** Available NSHMs */
  availableModels: Parameter[];
  /** NSHM service metadata */
  nshmServices: NshmMetadata[];
  /** Hazard plots */
  plots: Map<string, NshmpPlot>;
  /** Hazard response spectra data */
  responseSpectra: ResponseSpectra;
  /** Service call info */
  serviceCallInfo: ServiceCallInfo;
  /** Hazard service responses */
  serviceResponse: HazardCalcResponse;
  /** Hazard usage responses */
  usageResponses: Map<string, HazardUsageResponse>;
}

results matching ""

    No results matching ""