Skip to content

Commit

Permalink
docs: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 30, 2024
1 parent a44f801 commit 688c526
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 42 deletions.
6 changes: 3 additions & 3 deletions packages/docs/api/@pinia/nuxt/functions/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ editLink: false

# Function: default()

> **default**(`this`, `inlineOptions`, `nuxt`): `_ModuleSetupReturn`
> **default**(`this`, `resolvedOptions`, `nuxt`): `ModuleSetupReturn`
## Parameters

**this**: `void`

**inlineOptions**: [`ModuleOptions`](../interfaces/ModuleOptions.md)
**resolvedOptions**: [`ModuleOptions`](../interfaces/ModuleOptions.md)

**nuxt**: `Nuxt`

## Returns

`_ModuleSetupReturn`
`ModuleSetupReturn`
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ App used by Pinia

### state

> **state**: `Ref`\<`Record`\<`string`, [`StateTree`](../../../pinia/type-aliases/StateTree.md)\>\>
> **state**: `Ref`\<`Record`\<`string`, [`StateTree`](../../../pinia/type-aliases/StateTree.md)\>, `Record`\<`string`, [`StateTree`](../../../pinia/type-aliases/StateTree.md)\>\>
root state

Expand Down
28 changes: 14 additions & 14 deletions packages/docs/api/pinia/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ editLink: false

### Interfaces

- [\_StoreOnActionListenerContext](interfaces/StoreOnActionListenerContext.md)
- [\_StoreWithState](interfaces/StoreWithState.md)
- [\_SubscriptionCallbackMutationBase](interfaces/SubscriptionCallbackMutationBase.md)
- [DefineSetupStoreOptions](interfaces/DefineSetupStoreOptions.md)
- [DefineStoreOptions](interfaces/DefineStoreOptions.md)
- [DefineStoreOptionsBase](interfaces/DefineStoreOptionsBase.md)
Expand All @@ -34,23 +37,9 @@ editLink: false
- [SubscriptionCallbackMutationDirect](interfaces/SubscriptionCallbackMutationDirect.md)
- [SubscriptionCallbackMutationPatchFunction](interfaces/SubscriptionCallbackMutationPatchFunction.md)
- [SubscriptionCallbackMutationPatchObject](interfaces/SubscriptionCallbackMutationPatchObject.md)
- [\_StoreOnActionListenerContext](interfaces/StoreOnActionListenerContext.md)
- [\_StoreWithState](interfaces/StoreWithState.md)
- [\_SubscriptionCallbackMutationBase](interfaces/SubscriptionCallbackMutationBase.md)

### Type Aliases

- [PiniaStorePlugin](type-aliases/PiniaStorePlugin.md)
- [StateTree](type-aliases/StateTree.md)
- [Store](type-aliases/Store.md)
- [StoreActions](type-aliases/StoreActions.md)
- [StoreGeneric](type-aliases/StoreGeneric.md)
- [StoreGetters](type-aliases/StoreGetters.md)
- [StoreOnActionListener](type-aliases/StoreOnActionListener.md)
- [StoreOnActionListenerContext](type-aliases/StoreOnActionListenerContext.md)
- [StoreState](type-aliases/StoreState.md)
- [SubscriptionCallback](type-aliases/SubscriptionCallback.md)
- [SubscriptionCallbackMutation](type-aliases/SubscriptionCallbackMutation.md)
- [\_ActionsTree](type-aliases/ActionsTree.md)
- [\_Awaited](type-aliases/Awaited.md)
- [\_DeepPartial](type-aliases/DeepPartial.md)
Expand All @@ -73,6 +62,17 @@ editLink: false
- [\_StoreWithActions](type-aliases/StoreWithActions.md)
- [\_StoreWithGetters](type-aliases/StoreWithGetters.md)
- [\_UnwrapAll](type-aliases/UnwrapAll.md)
- [PiniaStorePlugin](type-aliases/PiniaStorePlugin.md)
- [StateTree](type-aliases/StateTree.md)
- [Store](type-aliases/Store.md)
- [StoreActions](type-aliases/StoreActions.md)
- [StoreGeneric](type-aliases/StoreGeneric.md)
- [StoreGetters](type-aliases/StoreGetters.md)
- [StoreOnActionListener](type-aliases/StoreOnActionListener.md)
- [StoreOnActionListenerContext](type-aliases/StoreOnActionListenerContext.md)
- [StoreState](type-aliases/StoreState.md)
- [SubscriptionCallback](type-aliases/SubscriptionCallback.md)
- [SubscriptionCallbackMutation](type-aliases/SubscriptionCallbackMutation.md)

### Variables

Expand Down
2 changes: 1 addition & 1 deletion packages/docs/api/pinia/interfaces/Pinia.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Every application must own its own pinia to be able to create stores

### state

> **state**: `Ref`\<`Record`\<`string`, [`StateTree`](../type-aliases/StateTree.md)\>\>
> **state**: `Ref`\<`Record`\<`string`, [`StateTree`](../type-aliases/StateTree.md)\>, `Record`\<`string`, [`StateTree`](../type-aliases/StateTree.md)\>\>
root state

Expand Down
16 changes: 8 additions & 8 deletions packages/docs/api/pinia/interfaces/StoreProperties.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ Properties of a store.

## Properties

### $id

> **$id**: `Id`
Unique identifier of the store

***

### \_customProperties

> **\_customProperties**: `Set`\<`string`\>
Used by devtools plugin to retrieve properties added with plugins. Removed
in production. Can be used by the user to add property keys of the store
that should be displayed in devtools.

***

### $id

> **$id**: `Id`
Unique identifier of the store
28 changes: 14 additions & 14 deletions packages/docs/api/pinia/interfaces/StoreWithState.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,20 @@ Base store with state and functions. Should not be used directly.

## Properties

### \_customProperties

> **\_customProperties**: `Set`\<`string`\>
Used by devtools plugin to retrieve properties added with plugins. Removed
in production. Can be used by the user to add property keys of the store
that should be displayed in devtools.

#### Inherited from

[`StoreProperties`](StoreProperties.md).[`_customProperties`](StoreProperties.md#_customProperties)

***

### $id

> **$id**: `Id`
Expand All @@ -46,20 +60,6 @@ Unique identifier of the store
State of the Store. Setting it will internally call `$patch()` to update the state.

***

### \_customProperties

> **\_customProperties**: `Set`\<`string`\>
Used by devtools plugin to retrieve properties added with plugins. Removed
in production. Can be used by the user to add property keys of the store
that should be displayed in devtools.

#### Inherited from

[`StoreProperties`](StoreProperties.md).[`_customProperties`](StoreProperties.md#_customProperties)

## Methods

### $dispose()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ editLink: false

# Type Alias: \_ExtractStateFromSetupStore\<SS\>

> **\_ExtractStateFromSetupStore**\<`SS`\>: `SS` *extends* `undefined` \| `void` ? `object` : [`_ExtractStateFromSetupStore_Keys`](ExtractStateFromSetupStore_Keys.md)\<`SS`\> *extends* keyof `SS` ? [`_UnwrapAll`](UnwrapAll.md)\<`Pick`\<`SS`, [`_ExtractStateFromSetupStore_Keys`](ExtractStateFromSetupStore_Keys.md)\<`SS`\>\>\> : `never`
> **\_ExtractStateFromSetupStore**\<`SS`\>: `SS` *extends* `undefined` \| `void` ? `object` : `Pick`\<`SS`, [`_ExtractStateFromSetupStore_Keys`](ExtractStateFromSetupStore_Keys.md)\<`SS`\>\>
For internal use **only**

Expand Down

0 comments on commit 688c526

Please sign in to comment.