Skip to main content

Class: IndexList

The underlying structure of each index.

Hierarchy

Constructors

constructor

new IndexList(indexId?, summary?)

Parameters

NameTypeDefault value
indexIdstringundefined
summaryundefinedundefined

Inherited from

IndexStruct.constructor

Defined in

indices/BaseIndex.ts:19

Properties

indexId

indexId: string

Inherited from

IndexStruct.indexId

Defined in

indices/BaseIndex.ts:16


nodes

nodes: string[] = []

Defined in

indices/BaseIndex.ts:93


summary

Optional summary: string

Inherited from

IndexStruct.summary

Defined in

indices/BaseIndex.ts:17


type

type: IndexStructType = IndexStructType.LIST

Defined in

indices/BaseIndex.ts:94

Methods

addNode

addNode(node): void

Parameters

NameType
nodeBaseNode

Returns

void

Defined in

indices/BaseIndex.ts:96


getSummary

getSummary(): string

Returns

string

Inherited from

IndexStruct.getSummary

Defined in

indices/BaseIndex.ts:31


toJson

toJson(): Record<string, unknown>

Returns

Record<string, unknown>

Overrides

IndexStruct.toJson

Defined in

indices/BaseIndex.ts:100