> ## Documentation Index
> Fetch the complete documentation index at: https://stars-components.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# ~~Interface: PieceContext<StoreName>~~

Defined in: node\_modules/.pnpm/@sapphire+pieces\@4.4.1/node\_modules/@sapphire/pieces/dist/esm/index.d.mts:189

## Deprecated

Use [`LoaderPieceContext`](/documentation/api/http-framework/interfaces/LoaderPieceContext) instead.

## Extends

* [`LoaderPieceContext`](/documentation/api/http-framework/interfaces/LoaderPieceContext)\<`StoreName`>

## 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`](/documentation/api/http-framework/interfaces/LoaderPieceContext).[`name`](/documentation/api/http-framework/interfaces/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](/documentation/api/http-framework/interfaces/LoaderPieceContext#root).

#### Inherited from

[`LoaderPieceContext`](/documentation/api/http-framework/interfaces/LoaderPieceContext).[`path`](/documentation/api/http-framework/interfaces/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`](/documentation/api/http-framework/interfaces/LoaderPieceContext).[`root`](/documentation/api/http-framework/interfaces/LoaderPieceContext#root)

***

### ~~store~~

> `readonly` **store**: [`StoreRegistryEntries`](/documentation/api/http-framework/interfaces/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`](/documentation/api/http-framework/interfaces/LoaderPieceContext).[`store`](/documentation/api/http-framework/interfaces/LoaderPieceContext#store)
