Deprecated
UseLoaderPieceContext instead.
Extends
LoaderPieceContext<StoreName>
Type Parameters
StoreName
StoreName extends StoreRegistryKey = StoreRegistryKey
Properties
name
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.readonlyname:string
Inherited from
LoaderPieceContext.name
path
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.readonlypath:string
Inherited from
LoaderPieceContext.path
root
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.readonlyroot:string
Inherited from
LoaderPieceContext.root
store
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.readonlystore:StoreRegistryEntries[StoreName]
Inherited from
LoaderPieceContext.store