@molecule/app-query-vue 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
|
|
|
3
3
|
Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
|
|
4
4
|
Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
|
|
5
5
|
To change this document, edit the module-level JSDoc in src/index.ts.
|
|
6
|
-
Generated: 2026-11-
|
|
6
|
+
Generated: 2026-11-15T13:02:10.518Z
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
# @molecule/app-query-vue
|
|
@@ -208,7 +208,7 @@ explicit `fetch()` retries into the mounted page.
|
|
|
208
208
|
```ts
|
|
209
209
|
import { getQueryClient } from '@molecule/app-query'
|
|
210
210
|
import { getClient } from '@molecule/app-http'
|
|
211
|
-
import {
|
|
211
|
+
import { useTranslation } from '@molecule/app-vue'
|
|
212
212
|
import { defineComponent, h } from 'vue'
|
|
213
213
|
|
|
214
214
|
// The key names what the document actually depends on — here the signed-in
|
|
@@ -239,6 +239,7 @@ async function setFollowing(principal: string, authorId: string, follow: boolean
|
|
|
239
239
|
const Retry = defineComponent({
|
|
240
240
|
props: { principal: { type: String, required: true } },
|
|
241
241
|
setup(props) {
|
|
242
|
+
const { t } = useTranslation()
|
|
242
243
|
return () =>
|
|
243
244
|
h(
|
|
244
245
|
'button',
|
package/dist/index.d.ts
CHANGED
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
* ```ts
|
|
177
177
|
* import { getQueryClient } from '@molecule/app-query'
|
|
178
178
|
* import { getClient } from '@molecule/app-http'
|
|
179
|
-
* import {
|
|
179
|
+
* import { useTranslation } from '@molecule/app-vue'
|
|
180
180
|
* import { defineComponent, h } from 'vue'
|
|
181
181
|
*
|
|
182
182
|
* // The key names what the document actually depends on — here the signed-in
|
|
@@ -207,6 +207,7 @@
|
|
|
207
207
|
* const Retry = defineComponent({
|
|
208
208
|
* props: { principal: { type: String, required: true } },
|
|
209
209
|
* setup(props) {
|
|
210
|
+
* const { t } = useTranslation()
|
|
210
211
|
* return () =>
|
|
211
212
|
* h(
|
|
212
213
|
* 'button',
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmbG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
* ```ts
|
|
177
177
|
* import { getQueryClient } from '@molecule/app-query'
|
|
178
178
|
* import { getClient } from '@molecule/app-http'
|
|
179
|
-
* import {
|
|
179
|
+
* import { useTranslation } from '@molecule/app-vue'
|
|
180
180
|
* import { defineComponent, h } from 'vue'
|
|
181
181
|
*
|
|
182
182
|
* // The key names what the document actually depends on — here the signed-in
|
|
@@ -207,6 +207,7 @@
|
|
|
207
207
|
* const Retry = defineComponent({
|
|
208
208
|
* props: { principal: { type: String, required: true } },
|
|
209
209
|
* setup(props) {
|
|
210
|
+
* const { t } = useTranslation()
|
|
210
211
|
* return () =>
|
|
211
212
|
* h(
|
|
212
213
|
* 'button',
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmbG;AAEH,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@molecule/app-query-vue",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Vue hooks for @molecule/app-query — read a cached document synchronously, observe it, and prefetch on intent",
|
|
5
5
|
"homepage": "https://www.molecule.dev/packages/app-query-vue",
|
|
6
6
|
"type": "module",
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@molecule/app-framework-conformance": "0.0.0",
|
|
53
|
-
"@molecule/app-i18n": "1.2.
|
|
53
|
+
"@molecule/app-i18n": "1.2.2",
|
|
54
54
|
"@molecule/app-icons": "1.0.4",
|
|
55
55
|
"@molecule/app-query": "1.2.0",
|
|
56
56
|
"@molecule/app-query-memory": "1.0.5",
|
|
57
57
|
"@molecule/app-query-tanstack": "1.0.5",
|
|
58
|
-
"@molecule/app-ui": "1.
|
|
59
|
-
"@molecule/app-ui-vue": "1.1.
|
|
60
|
-
"@molecule/app-vue": "3.
|
|
58
|
+
"@molecule/app-ui": "1.4.0",
|
|
59
|
+
"@molecule/app-ui-vue": "1.1.4",
|
|
60
|
+
"@molecule/app-vue": "3.7.1",
|
|
61
61
|
"@types/node": "26.6.5",
|
|
62
62
|
"jsdom": "30.1.3",
|
|
63
63
|
"typescript": "6.0.3",
|