Skip to main content
Defined in: node_modules/.pnpm/@sapphire+pieces@4.4.1/node_modules/@sapphire/pieces/dist/esm/index.d.mts:189

Deprecated

Use LoaderPieceContext instead.

Extends

Type Parameters

StoreName

StoreName extends StoreRegistryKey = StoreRegistryKey

Properties

name

readonly name: string
Defined in: node_modules/.pnpm/@sapphire+pieces@4.4.1/node_modules/@sapphire/pieces/dist/esm/index.d.mts:182 The module’s name extracted from the path.

Inherited from

LoaderPieceContext.name

path

readonly path: string
Defined in: node_modules/.pnpm/@sapphire+pieces@4.4.1/node_modules/@sapphire/pieces/dist/esm/index.d.mts:178 The path the module was loaded from, relative to LoaderPieceContext.root.

Inherited from

LoaderPieceContext.path

root

readonly root: string
Defined in: node_modules/.pnpm/@sapphire+pieces@4.4.1/node_modules/@sapphire/pieces/dist/esm/index.d.mts:174 The root directory the piece was loaded from.

Inherited from

LoaderPieceContext.root

store

readonly store: StoreRegistryEntries[StoreName]
Defined in: node_modules/.pnpm/@sapphire+pieces@4.4.1/node_modules/@sapphire/pieces/dist/esm/index.d.mts:186 The store that loaded the piece.

Inherited from

LoaderPieceContext.store