Skip to main content

Interface: PieceContext<StoreName>

Deprecated

Use LoaderPieceContext instead.

Extends

Type parameters

Type parameterValue
StoreName extends StoreRegistryKeyStoreRegistryKey

Properties

name

readonly name: string

The module's name extracted from the path.

Inherited from

LoaderPieceContext . name

Source

projects/pieces/src/lib/structures/Piece.ts:25


path

readonly path: string

The path the module was loaded from, relative to LoaderPieceContext.root.

Inherited from

LoaderPieceContext . path

Source

projects/pieces/src/lib/structures/Piece.ts:20


root

readonly root: string

The root directory the piece was loaded from.

Inherited from

LoaderPieceContext . root

Source

projects/pieces/src/lib/structures/Piece.ts:15


store

readonly store: StoreOf<StoreName>

The store that loaded the piece.

Inherited from

LoaderPieceContext . store

Source

projects/pieces/src/lib/structures/Piece.ts:30