From: Eduardo San Martin Morote Date: Wed, 13 Apr 2022 10:22:23 +0000 (+0200) Subject: docs: change delimiters for attrs X-Git-Tag: @pinia/nuxt@0.1.9~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac21309a7c8f4ccf894cb3e8837ad85e3dbb33f4;p=thirdparty%2Fvuejs%2Fpinia.git docs: change delimiters for attrs --- diff --git a/package.json b/package.json index f796611e..6d639630 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@rollup/plugin-alias": "^3.1.8", "@rollup/plugin-commonjs": "^21.0.1", - "@rollup/plugin-node-resolve": "^13.0.6", + "@rollup/plugin-node-resolve": "^13.2.0", "@rollup/plugin-replace": "^3.0.0", "@sucrase/jest-plugin": "^2.2.0", "@types/jest": "^27.0.3", @@ -41,14 +41,14 @@ "minimist": "^1.2.5", "p-series": "^3.0.0", "pascalcase": "^1.0.0", - "prettier": "^2.5.1", + "prettier": "^2.6.2", "rimraf": "^3.0.2", "rollup": "^2.61.1", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.31.1", - "semver": "^7.3.5", - "typedoc": "^0.22.13", - "typedoc-plugin-markdown": "^3.11.7", + "semver": "^7.3.6", + "typedoc": "^0.22.15", + "typedoc-plugin-markdown": "^3.12.0", "typescript": "^4.5.3", "yorkie": "^2.0.0" }, diff --git a/packages/docs/.vitepress/config.js b/packages/docs/.vitepress/config.js index ff8c4048..b8c8c817 100644 --- a/packages/docs/.vitepress/config.js +++ b/packages/docs/.vitepress/config.js @@ -26,6 +26,12 @@ const productionHead = [ * @type {import('vitepress').UserConfig} */ module.exports = { + markdown: { + attrs: { + leftDelimiter: '%{', + rightDelimiter: '}%', + }, + }, title: 'Pinia', lang: 'en-US', description: 'The Vue Store that you will enjoy using', diff --git a/packages/docs/api/enums/pinia.MutationType.md b/packages/docs/api/enums/pinia.MutationType.md index b508c4ca..b3590568 100644 --- a/packages/docs/api/enums/pinia.MutationType.md +++ b/packages/docs/api/enums/pinia.MutationType.md @@ -26,7 +26,7 @@ Direct mutation of the state: #### Defined in -[pinia/src/types.ts:50](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L50) +[pinia/src/types.ts:50](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L50) ___ @@ -40,7 +40,7 @@ Mutated the state with `$patch` and a function #### Defined in -[pinia/src/types.ts:64](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L64) +[pinia/src/types.ts:64](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L64) ___ @@ -54,4 +54,4 @@ Mutated the state with `$patch` and an object #### Defined in -[pinia/src/types.ts:57](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L57) +[pinia/src/types.ts:57](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L57) diff --git a/packages/docs/api/interfaces/pinia.DefineSetupStoreOptions.md b/packages/docs/api/interfaces/pinia.DefineSetupStoreOptions.md index 6d6ab7e9..fbe581c4 100644 --- a/packages/docs/api/interfaces/pinia.DefineSetupStoreOptions.md +++ b/packages/docs/api/interfaces/pinia.DefineSetupStoreOptions.md @@ -40,4 +40,4 @@ store defined with a setup function. Note this is always defined #### Defined in -[pinia/src/types.ts:704](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L704) +[pinia/src/types.ts:704](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L704) diff --git a/packages/docs/api/interfaces/pinia.DefineStoreOptions.md b/packages/docs/api/interfaces/pinia.DefineStoreOptions.md index 06db8361..40c2ccf8 100644 --- a/packages/docs/api/interfaces/pinia.DefineStoreOptions.md +++ b/packages/docs/api/interfaces/pinia.DefineStoreOptions.md @@ -38,7 +38,7 @@ Optional object of actions. #### Defined in -[pinia/src/types.ts:652](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L652) +[pinia/src/types.ts:652](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L652) ___ @@ -50,7 +50,7 @@ Optional object of getters. #### Defined in -[pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L645) +[pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L645) ___ @@ -62,7 +62,7 @@ Unique string key to identify the store across the application. #### Defined in -[pinia/src/types.ts:634](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L634) +[pinia/src/types.ts:634](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L634) ## Methods @@ -103,7 +103,7 @@ const useStore = defineStore('main', { #### Defined in -[pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L685) +[pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L685) ___ @@ -120,4 +120,4 @@ correct typings! #### Defined in -[pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L640) +[pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L640) diff --git a/packages/docs/api/interfaces/pinia.DefineStoreOptionsInPlugin.md b/packages/docs/api/interfaces/pinia.DefineStoreOptionsInPlugin.md index 588bbd84..bb3812f6 100644 --- a/packages/docs/api/interfaces/pinia.DefineStoreOptionsInPlugin.md +++ b/packages/docs/api/interfaces/pinia.DefineStoreOptionsInPlugin.md @@ -39,7 +39,7 @@ Defaults to an empty object if no actions are defined. #### Defined in -[pinia/src/types.ts:721](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L721) +[pinia/src/types.ts:721](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L721) ___ @@ -55,7 +55,7 @@ Omit.getters #### Defined in -[pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L645) +[pinia/src/types.ts:645](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L645) ## Methods @@ -100,7 +100,7 @@ Omit.hydrate #### Defined in -[pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L685) +[pinia/src/types.ts:685](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L685) ___ @@ -121,4 +121,4 @@ Omit.state #### Defined in -[pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L640) +[pinia/src/types.ts:640](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L640) diff --git a/packages/docs/api/interfaces/pinia.Pinia.md b/packages/docs/api/interfaces/pinia.Pinia.md index 5ee4f68a..e5f17ef3 100644 --- a/packages/docs/api/interfaces/pinia.Pinia.md +++ b/packages/docs/api/interfaces/pinia.Pinia.md @@ -28,7 +28,7 @@ root state #### Defined in -[pinia/src/rootStore.ts:51](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L51) +[pinia/src/rootStore.ts:51](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L51) ## Methods @@ -48,7 +48,7 @@ root state #### Defined in -[pinia/src/rootStore.ts:46](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L46) +[pinia/src/rootStore.ts:46](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L46) ___ @@ -70,4 +70,4 @@ Adds a store plugin to extend every store #### Defined in -[pinia/src/rootStore.ts:58](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L58) +[pinia/src/rootStore.ts:58](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L58) diff --git a/packages/docs/api/interfaces/pinia.PiniaCustomProperties.md b/packages/docs/api/interfaces/pinia.PiniaCustomProperties.md index fbc8d867..3f834763 100644 --- a/packages/docs/api/interfaces/pinia.PiniaCustomProperties.md +++ b/packages/docs/api/interfaces/pinia.PiniaCustomProperties.md @@ -31,7 +31,7 @@ Nuxt context. #### Defined in -[nuxt/src/module.ts:68](https://github.com/vuejs/pinia/blob/d96dca2/packages/nuxt/src/module.ts#L68) +[nuxt/src/module.ts:68](https://github.com/vuejs/pinia/blob/6ce186f/packages/nuxt/src/module.ts#L68) ___ @@ -41,7 +41,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:14](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L14) +[pinia/__tests__/storePlugins.spec.ts:14](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L14) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:11](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L11) +[pinia/__tests__/storePlugins.spec.ts:11](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L11) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:12](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L12) +[pinia/__tests__/storePlugins.spec.ts:12](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L12) ___ @@ -71,7 +71,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:9](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L9) +[pinia/__tests__/storePlugins.spec.ts:9](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L9) ___ @@ -81,7 +81,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:10](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L10) +[pinia/__tests__/storePlugins.spec.ts:10](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L10) ___ @@ -91,7 +91,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:7](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L7) +[pinia/__tests__/storePlugins.spec.ts:7](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L7) ___ @@ -101,7 +101,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:13](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L13) +[pinia/__tests__/storePlugins.spec.ts:13](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L13) ___ @@ -111,7 +111,7 @@ ___ #### Defined in -[pinia/__tests__/storePlugins.spec.ts:8](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/__tests__/storePlugins.spec.ts#L8) +[pinia/__tests__/storePlugins.spec.ts:8](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/__tests__/storePlugins.spec.ts#L8) ## Accessors @@ -125,7 +125,7 @@ ___ #### Defined in -[playground/src/main.ts:17](https://github.com/vuejs/pinia/blob/d96dca2/packages/playground/src/main.ts#L17) +[playground/src/main.ts:17](https://github.com/vuejs/pinia/blob/6ce186f/packages/playground/src/main.ts#L17) • `set` **route**(`value`): `void` @@ -141,4 +141,4 @@ ___ #### Defined in -[playground/src/main.ts:14](https://github.com/vuejs/pinia/blob/d96dca2/packages/playground/src/main.ts#L14) +[playground/src/main.ts:14](https://github.com/vuejs/pinia/blob/6ce186f/packages/playground/src/main.ts#L14) diff --git a/packages/docs/api/interfaces/pinia.PiniaPlugin.md b/packages/docs/api/interfaces/pinia.PiniaPlugin.md index c63e0895..e1cfa788 100644 --- a/packages/docs/api/interfaces/pinia.PiniaPlugin.md +++ b/packages/docs/api/interfaces/pinia.PiniaPlugin.md @@ -31,4 +31,4 @@ nothing. #### Defined in -[pinia/src/rootStore.ts:140](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L140) +[pinia/src/rootStore.ts:140](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L140) diff --git a/packages/docs/api/interfaces/pinia.PiniaPluginContext.md b/packages/docs/api/interfaces/pinia.PiniaPluginContext.md index 21114e33..c3fbf1d4 100644 --- a/packages/docs/api/interfaces/pinia.PiniaPluginContext.md +++ b/packages/docs/api/interfaces/pinia.PiniaPluginContext.md @@ -31,7 +31,7 @@ Current app created with `Vue.createApp()`. #### Defined in -[pinia/src/rootStore.ts:117](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L117) +[pinia/src/rootStore.ts:117](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L117) ___ @@ -43,7 +43,7 @@ Current store being extended. #### Defined in -[pinia/src/rootStore.ts:127](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L127) +[pinia/src/rootStore.ts:127](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L127) ___ @@ -55,7 +55,7 @@ pinia instance. #### Defined in -[pinia/src/rootStore.ts:112](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L112) +[pinia/src/rootStore.ts:112](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L112) ___ @@ -67,4 +67,4 @@ Current store being extended. #### Defined in -[pinia/src/rootStore.ts:122](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L122) +[pinia/src/rootStore.ts:122](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L122) diff --git a/packages/docs/api/interfaces/pinia.StoreDefinition.md b/packages/docs/api/interfaces/pinia.StoreDefinition.md index cdd2308d..0ca7c3a2 100644 --- a/packages/docs/api/interfaces/pinia.StoreDefinition.md +++ b/packages/docs/api/interfaces/pinia.StoreDefinition.md @@ -40,7 +40,7 @@ Returns a store, creates it if necessary. #### Defined in -[pinia/src/types.ts:511](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L511) +[pinia/src/types.ts:511](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L511) ## Properties @@ -52,4 +52,4 @@ Id of the store. Used by map helpers. #### Defined in -[pinia/src/types.ts:516](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L516) +[pinia/src/types.ts:516](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L516) diff --git a/packages/docs/api/interfaces/pinia.StoreProperties.md b/packages/docs/api/interfaces/pinia.StoreProperties.md index 4270a614..043c1ca2 100644 --- a/packages/docs/api/interfaces/pinia.StoreProperties.md +++ b/packages/docs/api/interfaces/pinia.StoreProperties.md @@ -34,7 +34,7 @@ Unique identifier of the store #### Defined in -[pinia/src/types.ts:265](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L265) +[pinia/src/types.ts:265](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L265) ___ @@ -48,4 +48,4 @@ that should be displayed in devtools. #### Defined in -[pinia/src/types.ts:293](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L293) +[pinia/src/types.ts:293](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L293) diff --git a/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationDirect.md b/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationDirect.md index dbd1ee33..2225ab40 100644 --- a/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationDirect.md +++ b/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationDirect.md @@ -30,7 +30,7 @@ DEV ONLY. Different mutation calls. #### Defined in -[pinia/src/types.ts:96](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L96) +[pinia/src/types.ts:96](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L96) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L81) +[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L81) ___ @@ -62,4 +62,4 @@ Type of the mutation. #### Defined in -[pinia/src/types.ts:91](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L91) +[pinia/src/types.ts:91](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L91) diff --git a/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchFunction.md b/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchFunction.md index 76297f46..7cccfc75 100644 --- a/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchFunction.md +++ b/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchFunction.md @@ -29,7 +29,7 @@ DEV ONLY. Array of all the mutations done inside of the callback. #### Defined in -[pinia/src/types.ts:129](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L129) +[pinia/src/types.ts:129](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L129) ___ @@ -45,7 +45,7 @@ ___ #### Defined in -[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L81) +[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L81) ___ @@ -61,4 +61,4 @@ Type of the mutation. #### Defined in -[pinia/src/types.ts:124](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L124) +[pinia/src/types.ts:124](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L124) diff --git a/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchObject.md b/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchObject.md index 20d424c9..64bf01b7 100644 --- a/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchObject.md +++ b/packages/docs/api/interfaces/pinia.SubscriptionCallbackMutationPatchObject.md @@ -35,7 +35,7 @@ DEV ONLY. Array for patch calls. #### Defined in -[pinia/src/types.ts:110](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L110) +[pinia/src/types.ts:110](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L110) ___ @@ -47,7 +47,7 @@ Object passed to `store.$patch()`. #### Defined in -[pinia/src/types.ts:115](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L115) +[pinia/src/types.ts:115](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L115) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L81) +[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L81) ___ @@ -79,4 +79,4 @@ Type of the mutation. #### Defined in -[pinia/src/types.ts:105](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L105) +[pinia/src/types.ts:105](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L105) diff --git a/packages/docs/api/interfaces/pinia._StoreWithState.md b/packages/docs/api/interfaces/pinia._StoreWithState.md index 8f2bc4b4..7252af20 100644 --- a/packages/docs/api/interfaces/pinia._StoreWithState.md +++ b/packages/docs/api/interfaces/pinia._StoreWithState.md @@ -41,7 +41,7 @@ Unique identifier of the store #### Defined in -[pinia/src/types.ts:265](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L265) +[pinia/src/types.ts:265](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L265) ___ @@ -53,7 +53,7 @@ State of the Store. Setting it will replace the whole state. #### Defined in -[pinia/src/types.ts:335](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L335) +[pinia/src/types.ts:335](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L335) ___ @@ -71,7 +71,7 @@ that should be displayed in devtools. #### Defined in -[pinia/src/types.ts:293](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L293) +[pinia/src/types.ts:293](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L293) ## Methods @@ -89,7 +89,7 @@ e.g. devtools plugin stops displaying disposed stores from devtools. #### Defined in -[pinia/src/types.ts:423](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L423) +[pinia/src/types.ts:423](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L423) ___ @@ -182,7 +182,7 @@ function that removes the watcher #### Defined in -[pinia/src/types.ts:413](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L413) +[pinia/src/types.ts:413](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L413) ___ @@ -204,7 +204,7 @@ Applies a state patch to current state. Allows passing nested values #### Defined in -[pinia/src/types.ts:342](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L342) +[pinia/src/types.ts:342](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L342) ▸ **$patch**<`F`\>(`stateMutator`): `void` @@ -230,7 +230,7 @@ to an array. The function passed to `$patch()` **must be synchronous**. #### Defined in -[pinia/src/types.ts:351](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L351) +[pinia/src/types.ts:351](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L351) ___ @@ -247,7 +247,7 @@ TODO: make this options only #### Defined in -[pinia/src/types.ts:360](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L360) +[pinia/src/types.ts:360](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L360) ___ @@ -286,4 +286,4 @@ function that removes the watcher #### Defined in -[pinia/src/types.ts:372](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L372) +[pinia/src/types.ts:372](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L372) diff --git a/packages/docs/api/interfaces/pinia._SubscriptionCallbackMutationBase.md b/packages/docs/api/interfaces/pinia._SubscriptionCallbackMutationBase.md index 559cfc91..2b720054 100644 --- a/packages/docs/api/interfaces/pinia._SubscriptionCallbackMutationBase.md +++ b/packages/docs/api/interfaces/pinia._SubscriptionCallbackMutationBase.md @@ -32,7 +32,7 @@ Base type for the context passed to a subscription callback. Internal type. #### Defined in -[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L81) +[pinia/src/types.ts:81](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L81) ___ @@ -44,4 +44,4 @@ Type of the mutation. #### Defined in -[pinia/src/types.ts:76](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L76) +[pinia/src/types.ts:76](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L76) diff --git a/packages/docs/api/interfaces/pinia_testing.TestingOptions.md b/packages/docs/api/interfaces/pinia_testing.TestingOptions.md index 512e50e6..fad66d47 100644 --- a/packages/docs/api/interfaces/pinia_testing.TestingOptions.md +++ b/packages/docs/api/interfaces/pinia_testing.TestingOptions.md @@ -23,7 +23,7 @@ Defaults to false. #### Defined in -[testing/src/testing.ts:45](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L45) +[testing/src/testing.ts:57](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L57) ___ @@ -36,7 +36,7 @@ allowing you to only set a few properties that are required in your test. #### Defined in -[testing/src/testing.ts:15](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L15) +[testing/src/testing.ts:27](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L27) ___ @@ -49,7 +49,7 @@ your application that will be used while testing. #### Defined in -[testing/src/testing.ts:21](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L21) +[testing/src/testing.ts:33](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L33) ___ @@ -65,7 +65,7 @@ handle this in `createSpy()`. #### Defined in -[testing/src/testing.ts:30](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L30) +[testing/src/testing.ts:42](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L42) ___ @@ -79,7 +79,7 @@ argument `undefined`. You still have to handle this in `createSpy()`. #### Defined in -[testing/src/testing.ts:37](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L37) +[testing/src/testing.ts:49](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L49) ## Methods @@ -114,4 +114,4 @@ with `jest.fn()` in jest projects or `vi.fn()` in vitest projects. #### Defined in -[testing/src/testing.ts:51](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L51) +[testing/src/testing.ts:63](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L63) diff --git a/packages/docs/api/interfaces/pinia_testing.TestingPinia.md b/packages/docs/api/interfaces/pinia_testing.TestingPinia.md index 8c49de0a..4b1e555a 100644 --- a/packages/docs/api/interfaces/pinia_testing.TestingPinia.md +++ b/packages/docs/api/interfaces/pinia_testing.TestingPinia.md @@ -29,7 +29,7 @@ App used by Pinia #### Defined in -[testing/src/testing.ts:60](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L60) +[testing/src/testing.ts:72](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L72) ___ @@ -45,7 +45,7 @@ root state #### Defined in -[pinia/src/rootStore.ts:51](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L51) +[pinia/src/rootStore.ts:51](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L51) ## Methods @@ -69,7 +69,7 @@ root state #### Defined in -[pinia/src/rootStore.ts:46](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L46) +[pinia/src/rootStore.ts:46](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L46) ___ @@ -95,4 +95,4 @@ Adds a store plugin to extend every store #### Defined in -[pinia/src/rootStore.ts:58](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L58) +[pinia/src/rootStore.ts:58](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L58) diff --git a/packages/docs/api/modules/pinia.md b/packages/docs/api/modules/pinia.md index 6b8c57f8..0ef78d41 100644 --- a/packages/docs/api/modules/pinia.md +++ b/packages/docs/api/modules/pinia.md @@ -45,7 +45,7 @@ Plugin to extend every store. #### Defined in -[pinia/src/rootStore.ts:149](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L149) +[pinia/src/rootStore.ts:149](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L149) ___ @@ -57,7 +57,7 @@ Generic state of a Store #### Defined in -[pinia/src/types.ts:13](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L13) +[pinia/src/types.ts:13](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L13) ___ @@ -78,7 +78,7 @@ Store type to build a store. #### Defined in -[pinia/src/types.ts:470](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L470) +[pinia/src/types.ts:470](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L470) ___ @@ -97,7 +97,7 @@ Options Store. #### Defined in -[pinia/src/store.ts:727](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/store.ts#L727) +[pinia/src/store.ts:729](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/store.ts#L729) ___ @@ -111,7 +111,7 @@ about the kind of store that is passed. #### Defined in -[pinia/src/types.ts:489](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L489) +[pinia/src/types.ts:489](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L489) ___ @@ -130,7 +130,7 @@ Options Store. #### Defined in -[pinia/src/store.ts:740](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/store.ts#L740) +[pinia/src/store.ts:742](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/store.ts#L742) ___ @@ -165,7 +165,7 @@ Argument of `store.$onAction()` #### Defined in -[pinia/src/types.ts:243](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L243) +[pinia/src/types.ts:243](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L243) ___ @@ -187,7 +187,7 @@ TODO: should have only the Id, the Store and Actions to generate the proper obje #### Defined in -[pinia/src/types.ts:227](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L227) +[pinia/src/types.ts:227](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L227) ___ @@ -206,7 +206,7 @@ Options Store. Note this unwraps refs. #### Defined in -[pinia/src/store.ts:753](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/store.ts#L753) +[pinia/src/store.ts:755](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/store.ts#L755) ___ @@ -239,7 +239,7 @@ Callback of a subscription #### Defined in -[pinia/src/types.ts:148](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L148) +[pinia/src/types.ts:148](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L148) ___ @@ -257,7 +257,7 @@ Context object passed to a subscription callback. #### Defined in -[pinia/src/types.ts:140](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L140) +[pinia/src/types.ts:140](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L140) ___ @@ -270,7 +270,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:555](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L555) +[pinia/src/types.ts:555](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L555) ___ @@ -286,7 +286,7 @@ ___ #### Defined in -[pinia/src/types.ts:164](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L164) +[pinia/src/types.ts:164](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L164) ___ @@ -306,7 +306,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:35](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L35) +[pinia/src/types.ts:35](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L35) ___ @@ -324,7 +324,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:599](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L599) +[pinia/src/types.ts:599](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L599) ___ @@ -343,7 +343,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:569](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L569) +[pinia/src/types.ts:569](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L569) ___ @@ -361,7 +361,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:608](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L608) +[pinia/src/types.ts:608](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L608) ___ @@ -380,7 +380,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:577](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L577) +[pinia/src/types.ts:577](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L577) ___ @@ -398,7 +398,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:590](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L590) +[pinia/src/types.ts:590](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L590) ___ @@ -417,7 +417,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:561](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L561) +[pinia/src/types.ts:561](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L561) ___ @@ -436,7 +436,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:545](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L545) +[pinia/src/types.ts:545](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L545) ___ @@ -455,7 +455,7 @@ For internal use **only** #### Defined in -[pinia/src/mapHelpers.ts:297](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L297) +[pinia/src/mapHelpers.ts:297](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L297) ___ @@ -473,7 +473,7 @@ For internal use **only** #### Defined in -[pinia/src/mapHelpers.ts:290](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L290) +[pinia/src/mapHelpers.ts:290](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L290) ___ @@ -495,7 +495,7 @@ For internal use **only** #### Defined in -[pinia/src/mapHelpers.ts:141](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L141) +[pinia/src/mapHelpers.ts:141](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L141) ___ @@ -515,7 +515,7 @@ For internal use **only** #### Defined in -[pinia/src/mapHelpers.ts:125](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L125) +[pinia/src/mapHelpers.ts:125](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L125) ___ @@ -534,7 +534,7 @@ For internal use **only** #### Defined in -[pinia/src/mapHelpers.ts:422](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L422) +[pinia/src/mapHelpers.ts:422](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L422) ___ @@ -552,7 +552,7 @@ For internal use **only** #### Defined in -[pinia/src/mapHelpers.ts:412](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L412) +[pinia/src/mapHelpers.ts:412](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L412) ___ @@ -580,7 +580,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:439](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L439) +[pinia/src/types.ts:439](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L439) ___ @@ -598,7 +598,7 @@ For internal use **only**. #### Defined in -[pinia/src/mapHelpers.ts:53](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L53) +[pinia/src/mapHelpers.ts:53](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L53) ___ @@ -616,7 +616,7 @@ For internal use **only**. #### Defined in -[pinia/src/mapHelpers.ts:25](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L25) +[pinia/src/mapHelpers.ts:25](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L25) ___ @@ -635,7 +635,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:451](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L451) +[pinia/src/types.ts:451](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L451) ___ @@ -654,7 +654,7 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:461](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L461) +[pinia/src/types.ts:461](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L461) ___ @@ -673,13 +673,13 @@ For internal use **only** #### Defined in -[pinia/src/types.ts:585](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/types.ts#L585) +[pinia/src/types.ts:585](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/types.ts#L585) ## Variables ### PiniaVuePlugin -• **PiniaVuePlugin**: `Plugin` +• `Const` **PiniaVuePlugin**: `Plugin` Vue 2 Plugin that must be installed for pinia to work. Note **you don't need this plugin if you are using Nuxt.js**. Use the `buildModule` instead: @@ -704,7 +704,7 @@ new Vue({ #### Defined in -[pinia/src/vue2-plugin.ts:28](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/vue2-plugin.ts#L28) +[pinia/src/vue2-plugin.ts:28](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/vue2-plugin.ts#L28) ## Functions @@ -747,7 +747,7 @@ if (import.meta.hot) { #### Defined in -[pinia/src/hmr.ts:73](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/hmr.ts#L73) +[pinia/src/hmr.ts:73](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/hmr.ts#L73) ___ @@ -763,7 +763,7 @@ Creates a Pinia instance to be used by the application #### Defined in -[pinia/src/createPinia.ts:10](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/createPinia.ts#L10) +[pinia/src/createPinia.ts:10](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/createPinia.ts#L10) ___ @@ -795,7 +795,7 @@ Creates a `useStore` function that retrieves the store instance #### Defined in -[pinia/src/store.ts:776](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/store.ts#L776) +[pinia/src/store.ts:778](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/store.ts#L778) ▸ **defineStore**<`Id`, `S`, `G`, `A`\>(`options`): [`StoreDefinition`](../interfaces/pinia.StoreDefinition.md)<`Id`, `S`, `G`, `A`\> @@ -822,7 +822,7 @@ Creates a `useStore` function that retrieves the store instance #### Defined in -[pinia/src/store.ts:792](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/store.ts#L792) +[pinia/src/store.ts:794](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/store.ts#L794) ▸ **defineStore**<`Id`, `SS`\>(`id`, `storeSetup`, `options?`): [`StoreDefinition`](../interfaces/pinia.StoreDefinition.md)<`Id`, [`_ExtractStateFromSetupStore`](pinia.md#_extractstatefromsetupstore)<`SS`\>, [`_ExtractGettersFromSetupStore`](pinia.md#_extractgettersfromsetupstore)<`SS`\>, [`_ExtractActionsFromSetupStore`](pinia.md#_extractactionsfromsetupstore)<`SS`\>\> @@ -849,13 +849,13 @@ Creates a `useStore` function that retrieves the store instance #### Defined in -[pinia/src/store.ts:807](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/store.ts#L807) +[pinia/src/store.ts:809](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/store.ts#L809) ___ ### getActivePinia -▸ `Const` **getActivePinia**(): `undefined` \| [`Pinia`](../interfaces/pinia.Pinia.md) +▸ **getActivePinia**(): `undefined` \| [`Pinia`](../interfaces/pinia.Pinia.md) Get the currently active pinia if there is any. @@ -865,7 +865,7 @@ Get the currently active pinia if there is any. #### Defined in -[pinia/src/rootStore.ts:39](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L39) +[pinia/src/rootStore.ts:39](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L39) ___ @@ -917,7 +917,7 @@ export default { #### Defined in -[pinia/src/mapHelpers.ts:326](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L326) +[pinia/src/mapHelpers.ts:326](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L326) ▸ **mapActions**<`Id`, `S`, `G`, `A`\>(`useStore`, `keys`): [`_MapActionsReturn`](pinia.md#_mapactionsreturn)<`A`\> @@ -962,13 +962,13 @@ export default { #### Defined in -[pinia/src/mapHelpers.ts:359](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L359) +[pinia/src/mapHelpers.ts:359](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L359) ___ ### mapGetters -▸ `Const` **mapGetters**<`Id`, `S`, `G`, `A`, `KeyMapper`\>(`useStore`, `keyMapper`): [`_MapStateObjectReturn`](pinia.md#_mapstateobjectreturn)<`Id`, `S`, `G`, `A`, `KeyMapper`\> +▸ **mapGetters**<`Id`, `S`, `G`, `A`, `KeyMapper`\>(`useStore`, `keyMapper`): [`_MapStateObjectReturn`](pinia.md#_mapstateobjectreturn)<`Id`, `S`, `G`, `A`, `KeyMapper`\> Alias for `mapState()`. You should use `mapState()` instead. @@ -997,9 +997,9 @@ Alias for `mapState()`. You should use `mapState()` instead. #### Defined in -[pinia/src/mapHelpers.ts:285](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L285) +[pinia/src/mapHelpers.ts:285](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L285) -▸ `Const` **mapGetters**<`Id`, `S`, `G`, `A`, `Keys`\>(`useStore`, `keys`): [`_MapStateReturn`](pinia.md#_mapstatereturn)<`S`, `G`, `Keys`\> +▸ **mapGetters**<`Id`, `S`, `G`, `A`, `Keys`\>(`useStore`, `keys`): [`_MapStateReturn`](pinia.md#_mapstatereturn)<`S`, `G`, `Keys`\> Alias for `mapState()`. You should use `mapState()` instead. @@ -1028,7 +1028,7 @@ Alias for `mapState()`. You should use `mapState()` instead. #### Defined in -[pinia/src/mapHelpers.ts:285](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L285) +[pinia/src/mapHelpers.ts:285](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L285) ___ @@ -1091,7 +1091,7 @@ export default { #### Defined in -[pinia/src/mapHelpers.ts:194](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L194) +[pinia/src/mapHelpers.ts:194](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L194) ▸ **mapState**<`Id`, `S`, `G`, `A`, `Keys`\>(`useStore`, `keys`): [`_MapStateReturn`](pinia.md#_mapstatereturn)<`S`, `G`, `Keys`\> @@ -1137,7 +1137,7 @@ export default { #### Defined in -[pinia/src/mapHelpers.ts:231](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L231) +[pinia/src/mapHelpers.ts:231](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L231) ___ @@ -1182,7 +1182,7 @@ export default { #### Defined in -[pinia/src/mapHelpers.ts:96](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L96) +[pinia/src/mapHelpers.ts:96](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L96) ___ @@ -1217,7 +1217,7 @@ added. #### Defined in -[pinia/src/mapHelpers.ts:440](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L440) +[pinia/src/mapHelpers.ts:440](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L440) ▸ **mapWritableState**<`Id`, `S`, `G`, `A`\>(`useStore`, `keys`): [`_MapWritableStateReturn`](pinia.md#_mapwritablestatereturn)<`S`\> @@ -1247,13 +1247,13 @@ of a component. #### Defined in -[pinia/src/mapHelpers.ts:458](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L458) +[pinia/src/mapHelpers.ts:458](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L458) ___ ### setActivePinia -▸ `Const` **setActivePinia**(`pinia`): `undefined` \| [`Pinia`](../interfaces/pinia.Pinia.md) +▸ **setActivePinia**(`pinia`): `undefined` \| [`Pinia`](../interfaces/pinia.Pinia.md) Sets or unsets the active pinia. Used in SSR and internally when calling actions and getters @@ -1270,7 +1270,7 @@ actions and getters #### Defined in -[pinia/src/rootStore.ts:33](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/rootStore.ts#L33) +[pinia/src/rootStore.ts:33](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/rootStore.ts#L33) ___ @@ -1294,7 +1294,7 @@ interface if you need are using TypeScript. #### Defined in -[pinia/src/mapHelpers.ts:66](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/mapHelpers.ts#L66) +[pinia/src/mapHelpers.ts:66](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/mapHelpers.ts#L66) ___ @@ -1320,7 +1320,7 @@ ___ #### Defined in -[pinia/src/store.ts:85](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/store.ts#L85) +[pinia/src/store.ts:87](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/store.ts#L87) ___ @@ -1351,4 +1351,4 @@ completely ignored. #### Defined in -[pinia/src/storeToRefs.ts:21](https://github.com/vuejs/pinia/blob/d96dca2/packages/pinia/src/storeToRefs.ts#L21) +[pinia/src/storeToRefs.ts:21](https://github.com/vuejs/pinia/blob/6ce186f/packages/pinia/src/storeToRefs.ts#L21) diff --git a/packages/docs/api/modules/pinia_testing.md b/packages/docs/api/modules/pinia_testing.md index 0c1f5cdd..3921e6cf 100644 --- a/packages/docs/api/modules/pinia_testing.md +++ b/packages/docs/api/modules/pinia_testing.md @@ -40,4 +40,4 @@ a augmented pinia instance #### Defined in -[testing/src/testing.ts:80](https://github.com/vuejs/pinia/blob/d96dca2/packages/testing/src/testing.ts#L80) +[testing/src/testing.ts:92](https://github.com/vuejs/pinia/blob/6ce186f/packages/testing/src/testing.ts#L92) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01b2d3fc..ea93278f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ importers: specifiers: '@rollup/plugin-alias': ^3.1.8 '@rollup/plugin-commonjs': ^21.0.1 - '@rollup/plugin-node-resolve': ^13.0.6 + '@rollup/plugin-node-resolve': ^13.2.0 '@rollup/plugin-replace': ^3.0.0 '@sucrase/jest-plugin': ^2.2.0 '@types/jest': ^27.0.3 @@ -25,20 +25,20 @@ importers: minimist: ^1.2.5 p-series: ^3.0.0 pascalcase: ^1.0.0 - prettier: ^2.5.1 + prettier: ^2.6.2 rimraf: ^3.0.2 rollup: ^2.61.1 rollup-plugin-terser: ^7.0.2 rollup-plugin-typescript2: ^0.31.1 - semver: ^7.3.5 - typedoc: ^0.22.13 - typedoc-plugin-markdown: ^3.11.7 + semver: ^7.3.6 + typedoc: ^0.22.15 + typedoc-plugin-markdown: ^3.12.0 typescript: ^4.5.3 yorkie: ^2.0.0 devDependencies: '@rollup/plugin-alias': 3.1.9_rollup@2.70.1 '@rollup/plugin-commonjs': 21.0.3_rollup@2.70.1 - '@rollup/plugin-node-resolve': 13.1.3_rollup@2.70.1 + '@rollup/plugin-node-resolve': 13.2.0_rollup@2.70.1 '@rollup/plugin-replace': 3.1.0_rollup@2.70.1 '@sucrase/jest-plugin': 2.2.0 '@types/jest': 27.4.1 @@ -57,14 +57,14 @@ importers: minimist: 1.2.6 p-series: 3.0.0 pascalcase: 1.0.0 - prettier: 2.6.1 + prettier: 2.6.2 rimraf: 3.0.2 rollup: 2.70.1 rollup-plugin-terser: 7.0.2_rollup@2.70.1 rollup-plugin-typescript2: 0.31.2_c35c33224ba5c44ddc357107e4264a15 - semver: 7.3.5 - typedoc: 0.22.13_typescript@4.6.3 - typedoc-plugin-markdown: 3.11.14_typedoc@0.22.13 + semver: 7.3.6 + typedoc: 0.22.15_typescript@4.6.3 + typedoc-plugin-markdown: 3.12.0_typedoc@0.22.15 typescript: 4.6.3 yorkie: 2.0.0 @@ -1014,6 +1014,21 @@ packages: rollup: 2.70.1 dev: true + /@rollup/plugin-node-resolve/13.2.0_rollup@2.70.1: + resolution: {integrity: sha512-GuUIUyIKq7EjQxB51XSn6zPHYo+cILQQBYOGYvFFNxws2OVOqCBShAoof2hFrV8bAZzZGDBDQ8m2iUt8SLOUkg==} + engines: {node: '>= 10.0.0'} + peerDependencies: + rollup: ^2.42.0 + dependencies: + '@rollup/pluginutils': 3.1.0_rollup@2.70.1 + '@types/resolve': 1.17.1 + builtin-modules: 3.2.0 + deepmerge: 4.2.2 + is-module: 1.0.0 + resolve: 1.22.0 + rollup: 2.70.1 + dev: true + /@rollup/plugin-replace/3.1.0_rollup@2.70.1: resolution: {integrity: sha512-pA3XRUrSKybVYqmH5TqWNZpGxF+VV+1GrYchKgCNIj2vsSOX7CVm2RCtx8p2nrC7xvkziYyK+lSi74T93MU3YA==} peerDependencies: @@ -3226,7 +3241,7 @@ packages: source-map: 0.6.1 wordwrap: 1.0.0 optionalDependencies: - uglify-js: 3.15.3 + uglify-js: 3.15.4 dev: true /hard-rejection/2.1.0: @@ -3913,7 +3928,7 @@ packages: jest-util: 27.5.1 natural-compare: 1.4.0 pretty-format: 27.5.1 - semver: 7.3.5 + semver: 7.3.6 transitivePeerDependencies: - supports-color dev: true @@ -4278,6 +4293,11 @@ packages: yallist: 4.0.0 dev: true + /lru-cache/7.8.1: + resolution: {integrity: sha512-E1v547OCgJvbvevfjgK9sNKIVXO96NnsTsFPBlg4ZxjhsJSODoH9lk8Bm0OxvHNm6Vm5Yqkl/1fErDxhYL8Skg==} + engines: {node: '>=12'} + dev: true + /lunr/2.3.9: resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==} dev: true @@ -4505,7 +4525,7 @@ packages: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.8.1 - semver: 7.3.5 + semver: 7.3.6 validate-npm-package-license: 3.0.4 dev: true @@ -4822,8 +4842,8 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier/2.6.1: - resolution: {integrity: sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==} + /prettier/2.6.2: + resolution: {integrity: sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==} engines: {node: '>=10.13.0'} hasBin: true dev: true @@ -5210,6 +5230,14 @@ packages: lru-cache: 6.0.0 dev: true + /semver/7.3.6: + resolution: {integrity: sha512-HZWqcgwLsjaX1HBD31msI/rXktuIhS+lWvdE4kN9z+8IVT4Itc7vqU2WvYsyD6/sjYCt4dEKH/m1M3dwI9CC5w==} + engines: {node: ^10.0.0 || ^12.0.0 || ^14.0.0 || >=16.0.0} + hasBin: true + dependencies: + lru-cache: 7.8.1 + dev: true + /serialize-javascript/4.0.0: resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} dependencies: @@ -5749,17 +5777,17 @@ packages: is-typedarray: 1.0.0 dev: true - /typedoc-plugin-markdown/3.11.14_typedoc@0.22.13: - resolution: {integrity: sha512-lh47OQvl0079nB18YL9wuTRRhMpjo300SZKfx/xpQY8qG+GINeSxTod95QBELeI0NP81sNtUbemRDrn5nyef4Q==} + /typedoc-plugin-markdown/3.12.0_typedoc@0.22.15: + resolution: {integrity: sha512-yKl7/KWD8nP6Ot6OzMLLc8wBzN3CmkBoI/YQzxT62a9xmDgxyeTxGbHbkUoSzhKFqMI3SR0AqV6prAhVKbYnxw==} peerDependencies: typedoc: '>=0.22.0' dependencies: handlebars: 4.7.7 - typedoc: 0.22.13_typescript@4.6.3 + typedoc: 0.22.15_typescript@4.6.3 dev: true - /typedoc/0.22.13_typescript@4.6.3: - resolution: {integrity: sha512-NHNI7Dr6JHa/I3+c62gdRNXBIyX7P33O9TafGLd07ur3MqzcKgwTvpg18EtvCLHJyfeSthAtCLpM7WkStUmDuQ==} + /typedoc/0.22.15_typescript@4.6.3: + resolution: {integrity: sha512-CMd1lrqQbFvbx6S9G6fL4HKp3GoIuhujJReWqlIvSb2T26vGai+8Os3Mde7Pn832pXYemd9BMuuYWhFpL5st0Q==} engines: {node: '>= 12.10.0'} hasBin: true peerDependencies: @@ -5785,8 +5813,8 @@ packages: hasBin: true dev: true - /uglify-js/3.15.3: - resolution: {integrity: sha512-6iCVm2omGJbsu3JWac+p6kUiOpg3wFO2f8lIXjfEb8RrmLjzog1wTPMmwKB7swfzzqxj9YM+sGUM++u1qN4qJg==} + /uglify-js/3.15.4: + resolution: {integrity: sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA==} engines: {node: '>=0.8.0'} hasBin: true requiresBuild: true