shapesSlice
Type Aliases
ShapesSlice
ShapesSlice =
ShapesSliceState
&ShapesSliceActions
Defined in: stores/shapesSlice.ts:13
ShapesSliceActions
ShapesSliceActions =
object
Defined in: stores/shapesSlice.ts:21
Properties
deleteShapes()
deleteShapes: (
shapes
) =>void
Defined in: stores/shapesSlice.ts:31
Parameters
shapes
Returns
void
loadShapes()
loadShapes: (
shapes
,signal?
) =>Promise
<IShapesData
>
Defined in: stores/shapesSlice.ts:23
Parameters
shapes
signal?
AbortSignal
Returns
Promise
<IShapesData
>
loadShapesByID()
loadShapesByID: (
shapesId
,signal?
) =>Promise
<IShapesData
>
Defined in: stores/shapesSlice.ts:27
Parameters
shapesId
string
signal?
AbortSignal
Returns
Promise
<IShapesData
>
setShapes()
setShapes: (
shapes
,index?
) =>void
Defined in: stores/shapesSlice.ts:22
Parameters
shapes
index?
number
Returns
void
ShapesSliceState
ShapesSliceState =
object
Defined in: stores/shapesSlice.ts:15
Properties
shapesDataCache
shapesDataCache:
Map
<IShapesDataSourceModel
,IShapesData
>
Defined in: stores/shapesSlice.ts:17
shapesDataLoaderFactories
shapesDataLoaderFactories:
Map
<string
,ShapesDataLoaderFactory
>
Defined in: stores/shapesSlice.ts:18
shapesMap
shapesMap:
Map
<string
,IShapesModel
>
Defined in: stores/shapesSlice.ts:16
Variables
createShapesSlice
const
createShapesSlice:BoundStoreStateCreator
<ShapesSlice
>
Defined in: stores/shapesSlice.ts:34