Skip to main content

pointsSlice

Type Aliases

PointsSlice

PointsSlice = PointsSliceState & PointsSliceActions

Defined in: stores/pointsSlice.ts:18


PointsSliceActions

PointsSliceActions = object

Defined in: stores/pointsSlice.ts:26

Properties

deletePoints()

deletePoints: (points) => void

Defined in: stores/pointsSlice.ts:36

Parameters
points

IPointsModel

Returns

void

loadPoints()

loadPoints: (points, signal?) => Promise<IPointsData>

Defined in: stores/pointsSlice.ts:28

Parameters
points

IPointsModel

signal?

AbortSignal

Returns

Promise<IPointsData>

loadPointsByID()

loadPointsByID: (pointsId, signal?) => Promise<IPointsData>

Defined in: stores/pointsSlice.ts:32

Parameters
pointsId

string

signal?

AbortSignal

Returns

Promise<IPointsData>

setPoints()

setPoints: (points, index?) => void

Defined in: stores/pointsSlice.ts:27

Parameters
points

IPointsModel

index?

number

Returns

void


PointsSliceState

PointsSliceState = object

Defined in: stores/pointsSlice.ts:20

Properties

pointsDataCache

pointsDataCache: Map<IPointsDataSourceModel, IPointsData>

Defined in: stores/pointsSlice.ts:22

pointsDataLoaderFactories

pointsDataLoaderFactories: Map<string, PointsDataLoaderFactory>

Defined in: stores/pointsSlice.ts:23

pointsMap

pointsMap: Map<string, IPointsModel>

Defined in: stores/pointsSlice.ts:21

Variables

createPointsSlice

const createPointsSlice: BoundStoreStateCreator<PointsSlice>

Defined in: stores/pointsSlice.ts:39