Interface: PieceContext<StoreName>
Deprecated
Use LoaderPieceContext instead.
Extends
LoaderPieceContext<StoreName>
Type parameters
| Type parameter | Value |
|---|---|
StoreName extends StoreRegistryKey | StoreRegistryKey |
Properties
name
readonlyname:string
The module's name extracted from the path.
Inherited from
Source
projects/pieces/src/lib/structures/Piece.ts:25
path
readonlypath:string
The path the module was loaded from, relative to LoaderPieceContext.root.
Inherited from
Source
projects/pieces/src/lib/structures/Piece.ts:20
root
readonlyroot:string
The root directory the piece was loaded from.
Inherited from
Source
projects/pieces/src/lib/structures/Piece.ts:15
store
readonlystore:StoreOf<StoreName>
The store that loaded the piece.