GitHub

DaffCartStoreCreditPageFacade

API

@Injectable()
class DaffCartStoreCreditPageFacade implements DaffCartStoreCreditPageFacadeInterface {
  loadingState$: Observable<DaffCartStoreCreditReducerState['daffState']>
  loading$: Observable<boolean>
  resolving$: Observable<boolean>
  mutating$: Observable<boolean>
  errors$: Observable<DaffCartStoreCreditReducerState['daffErrors']>
  hasErrors$: Observable<boolean>
  dispatch(action: Action<string>)
}

Properties

Name Type Description
loadingState$ Observable<DaffCartStoreCreditReducerState['daffState']> The loading state enum.
loading$ Observable<boolean> Whether the operation state is in any of the loading states.
resolving$ Observable<boolean> Whether the operation state is resolving.
mutating$ Observable<boolean> Whether the operation state is mutating.
errors$ Observable<DaffCartStoreCreditReducerState['daffErrors']> The errors in the operation state.
hasErrors$ Observable<boolean> Whether the operation state has any errors. If so, it should be considered to be in an "error" state.
dispatch