UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

12 lines (11 loc) 450 B
import { PlaceModel } from '@lml/cosmo-ts-data'; import { PlaceDataAction } from '../actions'; export declare const PLACE_API_REDUCER_KEY = "places"; export interface PlacesDataByIdState { [refId: string]: PlaceModel; } export interface PlaceApiState { byId: PlacesDataByIdState; } export declare const initialPlacesState: PlaceApiState; export declare const placeApiReducer: (state: PlaceApiState, action: PlaceDataAction) => PlaceApiState;