Skip to main content

Class: IndexList

Extends

Constructors

new IndexList()

new IndexList(indexId?, summary?): IndexList

Parameters

indexId?: `${string}-${string}-${string}-${string}-${string}`

summary?: string

Returns

IndexList

Inherited from

IndexStruct.constructor

Defined in

packages/core/data-structs/dist/index.d.ts:45

Properties

indexId

indexId: string

Inherited from

IndexStruct.indexId

Defined in

packages/core/data-structs/dist/index.d.ts:43


nodes

nodes: string[]

Defined in

packages/core/data-structs/dist/index.d.ts:64


summary

summary: undefined | string

Inherited from

IndexStruct.summary

Defined in

packages/core/data-structs/dist/index.d.ts:44


type

type: IndexStructType

Defined in

packages/core/data-structs/dist/index.d.ts:65

Methods

addNode()

addNode(node): void

Parameters

node: BaseNode<Metadata>

Returns

void

Defined in

packages/core/data-structs/dist/index.d.ts:66


getSummary()

getSummary(): string

Returns

string

Inherited from

IndexStruct.getSummary

Defined in

packages/core/data-structs/dist/index.d.ts:47


toJson()

toJson(): Record<string, unknown>

Returns

Record<string, unknown>

Overrides

IndexStruct.toJson

Defined in

packages/core/data-structs/dist/index.d.ts:67