Constructors
constructor
Defined in models/StoreModel.ts:17
Parameters
Default value data: any = {}
Properties
_data
_data: Map < string , any >
Defined in models/StoreModel.ts:23
Methods
getData
getData( ) : Map < string , any >
Defined in models/StoreModel.ts:42
Returns Map < string , any >
getKey
Defined in models/StoreModel.ts:29
Parameters
Returns any
listPush
listPush<T>( ClassName: any , i_key: string , i_value: string ) : any
Defined in models/StoreModel.ts:53
Type parameters
Parameters
ClassName: any
i_key: string
i_value: string
Returns any
setData
setData<T>( ClassName: any , data: any ) : T
Defined in models/StoreModel.ts:33
Type parameters
Parameters
Returns T
setKey
setKey<T>( ClassName: any , key: string , value: any ) : T
Defined in models/StoreModel.ts:25
Type parameters
Parameters
ClassName: any
key: string
value: any
Returns T
Static UniqueId
Defined in models/StoreModel.ts:15
Returns unknown
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
StoreModel is a thin wrapper of Immutable data around for a Class uses the internal immutable map to hold all values. This allows us a base class on which we can extend and inject into any Redux store as we follow Immutability
Also ships with a helper static method to create unique IDs