@gala-chain/api ∙ API
API > RangedChainObject
Class: abstract
RangedChainObject
Contents
- Extended By
- Constructors
- new RangedChainObject()
- Methods
- getRangedKey()
- serialize()
- toPlainObject()
- validate()
- validateOrReject()
- deserialize()
- getRangedKeyFromParts()
- getStringKeyFromParts()
Extended By
Constructors
new RangedChainObject()
new RangedChainObject():
RangedChainObject
Methods
getRangedKey()
getRangedKey():
string
Source
chain-api/src/types/RangedChainObject.ts:57
serialize()
serialize():
string
Source
chain-api/src/types/RangedChainObject.ts:30
toPlainObject()
toPlainObject():
Record
\<string
,unknown
>
Source
chain-api/src/types/RangedChainObject.ts:46
validate()
validate():
Promise
\<ValidationError
[]>
Source
chain-api/src/types/RangedChainObject.ts:34
validateOrReject()
validateOrReject():
Promise
\<void
>
Source
chain-api/src/types/RangedChainObject.ts:38
deserialize()
static
deserialize\<T
>(constructor
,object
):T
Type parameters
▪ T
Parameters
▪ constructor: ClassConstructor
\<Inferred
\<T
, RangedChainObject
>>
▪ object: string
| Record
\<string
, unknown
> | Record
\<string
, unknown
>[]
Source
chain-api/src/types/RangedChainObject.ts:50
getRangedKeyFromParts()
static
getRangedKeyFromParts(indexKey
,parts
):string
Parameters
▪ indexKey: string
▪ parts: unknown
[]
Source
chain-api/src/types/RangedChainObject.ts:80
getStringKeyFromParts()
static
getStringKeyFromParts(parts
):string
Parameters
▪ parts: string
[]