Skip to content

Commit d17eb20

Browse files
committed
docs: generated api docs
1 parent 4ade516 commit d17eb20

23 files changed

+288
-121
lines changed

packages/docs/api/enums/pinia.MutationType.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Direct mutation of the state:
2626

2727
#### Defined in
2828

29-
[pinia/src/types.ts:50](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L50)
29+
[packages/pinia/src/types.ts:50](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L50)
3030

3131
___
3232

@@ -40,7 +40,7 @@ Mutated the state with `$patch` and a function
4040

4141
#### Defined in
4242

43-
[pinia/src/types.ts:64](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L64)
43+
[packages/pinia/src/types.ts:64](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L64)
4444

4545
___
4646

@@ -54,4 +54,4 @@ Mutated the state with `$patch` and an object
5454

5555
#### Defined in
5656

57-
[pinia/src/types.ts:57](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L57)
57+
[packages/pinia/src/types.ts:57](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L57)

packages/docs/api/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ API Documentation
44

55
## Modules
66

7+
- [@pinia/nuxt](modules/pinia_nuxt.md)
78
- [@pinia/testing](modules/pinia_testing.md)
89
- [pinia](modules/pinia.md)

packages/docs/api/interfaces/pinia.DefineSetupStoreOptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ store defined with a setup function. Note this is always defined
4040

4141
#### Defined in
4242

43-
[pinia/src/types.ts:704](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L704)
43+
[packages/pinia/src/types.ts:704](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L704)

packages/docs/api/interfaces/pinia.DefineStoreOptions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Optional object of actions.
3838

3939
#### Defined in
4040

41-
[pinia/src/types.ts:652](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L652)
41+
[packages/pinia/src/types.ts:652](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L652)
4242

4343
___
4444

@@ -50,7 +50,7 @@ Optional object of getters.
5050

5151
#### Defined in
5252

53-
[pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L645)
53+
[packages/pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L645)
5454

5555
___
5656

@@ -62,7 +62,7 @@ Unique string key to identify the store across the application.
6262

6363
#### Defined in
6464

65-
[pinia/src/types.ts:634](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L634)
65+
[packages/pinia/src/types.ts:634](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L634)
6666

6767
## Methods
6868

@@ -103,7 +103,7 @@ const useStore = defineStore('main', {
103103

104104
#### Defined in
105105

106-
[pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L685)
106+
[packages/pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L685)
107107

108108
___
109109

@@ -120,4 +120,4 @@ correct typings!
120120

121121
#### Defined in
122122

123-
[pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L640)
123+
[packages/pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L640)

packages/docs/api/interfaces/pinia.DefineStoreOptionsInPlugin.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Defaults to an empty object if no actions are defined.
3939

4040
#### Defined in
4141

42-
[pinia/src/types.ts:721](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L721)
42+
[packages/pinia/src/types.ts:721](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L721)
4343

4444
___
4545

@@ -55,7 +55,7 @@ Omit.getters
5555

5656
#### Defined in
5757

58-
[pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L645)
58+
[packages/pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L645)
5959

6060
## Methods
6161

@@ -100,7 +100,7 @@ Omit.hydrate
100100

101101
#### Defined in
102102

103-
[pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L685)
103+
[packages/pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L685)
104104

105105
___
106106

@@ -121,4 +121,4 @@ Omit.state
121121

122122
#### Defined in
123123

124-
[pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L640)
124+
[packages/pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L640)

packages/docs/api/interfaces/pinia.Pinia.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ root state
2828

2929
#### Defined in
3030

31-
[pinia/src/rootStore.ts:51](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L51)
31+
[packages/pinia/src/rootStore.ts:51](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L51)
3232

3333
## Methods
3434

@@ -48,7 +48,7 @@ root state
4848

4949
#### Defined in
5050

51-
[pinia/src/rootStore.ts:46](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L46)
51+
[packages/pinia/src/rootStore.ts:46](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L46)
5252

5353
___
5454

@@ -70,4 +70,4 @@ Adds a store plugin to extend every store
7070

7171
#### Defined in
7272

73-
[pinia/src/rootStore.ts:58](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L58)
73+
[packages/pinia/src/rootStore.ts:58](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L58)

packages/docs/api/interfaces/pinia.PiniaCustomProperties.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Nuxt context.
3131

3232
#### Defined in
3333

34-
[nuxt/src/module.ts:68](https://github.com/vuejs/pinia/blob/6ce186f/packages/nuxt/src/module.ts#L68)
34+
[packages/nuxt/src/module.ts:68](https://github.com/vuejs/pinia/blob/2b998ee/packages/nuxt/src/module.ts#L68)
3535

3636
___
3737

@@ -41,7 +41,7 @@ ___
4141

4242
#### Defined in
4343

44-
[pinia/__tests__/storePlugins.spec.ts:14](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L14)
44+
[packages/pinia/__tests__/storePlugins.spec.ts:14](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L14)
4545

4646
___
4747

@@ -51,7 +51,7 @@ ___
5151

5252
#### Defined in
5353

54-
[pinia/__tests__/storePlugins.spec.ts:11](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L11)
54+
[packages/pinia/__tests__/storePlugins.spec.ts:11](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L11)
5555

5656
___
5757

@@ -61,7 +61,7 @@ ___
6161

6262
#### Defined in
6363

64-
[pinia/__tests__/storePlugins.spec.ts:12](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L12)
64+
[packages/pinia/__tests__/storePlugins.spec.ts:12](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L12)
6565

6666
___
6767

@@ -71,7 +71,7 @@ ___
7171

7272
#### Defined in
7373

74-
[pinia/__tests__/storePlugins.spec.ts:9](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L9)
74+
[packages/pinia/__tests__/storePlugins.spec.ts:9](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L9)
7575

7676
___
7777

@@ -81,7 +81,7 @@ ___
8181

8282
#### Defined in
8383

84-
[pinia/__tests__/storePlugins.spec.ts:10](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L10)
84+
[packages/pinia/__tests__/storePlugins.spec.ts:10](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L10)
8585

8686
___
8787

@@ -91,7 +91,7 @@ ___
9191

9292
#### Defined in
9393

94-
[pinia/__tests__/storePlugins.spec.ts:7](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L7)
94+
[packages/pinia/__tests__/storePlugins.spec.ts:7](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L7)
9595

9696
___
9797

@@ -101,7 +101,7 @@ ___
101101

102102
#### Defined in
103103

104-
[pinia/__tests__/storePlugins.spec.ts:13](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L13)
104+
[packages/pinia/__tests__/storePlugins.spec.ts:13](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L13)
105105

106106
___
107107

@@ -111,7 +111,7 @@ ___
111111

112112
#### Defined in
113113

114-
[pinia/__tests__/storePlugins.spec.ts:8](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L8)
114+
[packages/pinia/__tests__/storePlugins.spec.ts:8](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/__tests__/storePlugins.spec.ts#L8)
115115

116116
## Accessors
117117

@@ -125,7 +125,7 @@ ___
125125

126126
#### Defined in
127127

128-
[playground/src/main.ts:17](https://github.com/vuejs/pinia/blob/6ce186f/packages/playground/src/main.ts#L17)
128+
[packages/playground/src/main.ts:17](https://github.com/vuejs/pinia/blob/2b998ee/packages/playground/src/main.ts#L17)
129129

130130
`set` **route**(`value`): `void`
131131

@@ -141,4 +141,4 @@ ___
141141

142142
#### Defined in
143143

144-
[playground/src/main.ts:14](https://github.com/vuejs/pinia/blob/6ce186f/packages/playground/src/main.ts#L14)
144+
[packages/playground/src/main.ts:14](https://github.com/vuejs/pinia/blob/2b998ee/packages/playground/src/main.ts#L14)

packages/docs/api/interfaces/pinia.PiniaPlugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ nothing.
3131

3232
#### Defined in
3333

34-
[pinia/src/rootStore.ts:140](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L140)
34+
[packages/pinia/src/rootStore.ts:140](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L140)

packages/docs/api/interfaces/pinia.PiniaPluginContext.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Current app created with `Vue.createApp()`.
3131

3232
#### Defined in
3333

34-
[pinia/src/rootStore.ts:117](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L117)
34+
[packages/pinia/src/rootStore.ts:117](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L117)
3535

3636
___
3737

@@ -43,7 +43,7 @@ Current store being extended.
4343

4444
#### Defined in
4545

46-
[pinia/src/rootStore.ts:127](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L127)
46+
[packages/pinia/src/rootStore.ts:127](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L127)
4747

4848
___
4949

@@ -55,7 +55,7 @@ pinia instance.
5555

5656
#### Defined in
5757

58-
[pinia/src/rootStore.ts:112](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L112)
58+
[packages/pinia/src/rootStore.ts:112](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L112)
5959

6060
___
6161

@@ -67,4 +67,4 @@ Current store being extended.
6767

6868
#### Defined in
6969

70-
[pinia/src/rootStore.ts:122](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L122)
70+
[packages/pinia/src/rootStore.ts:122](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/rootStore.ts#L122)

packages/docs/api/interfaces/pinia.StoreDefinition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Returns a store, creates it if necessary.
4040

4141
#### Defined in
4242

43-
[pinia/src/types.ts:511](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L511)
43+
[packages/pinia/src/types.ts:511](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L511)
4444

4545
## Properties
4646

@@ -52,4 +52,4 @@ Id of the store. Used by map helpers.
5252

5353
#### Defined in
5454

55-
[pinia/src/types.ts:516](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L516)
55+
[packages/pinia/src/types.ts:516](https://github.com/vuejs/pinia/blob/2b998ee/packages/pinia/src/types.ts#L516)

0 commit comments

Comments
 (0)