@myko/ui-vue 4.22.1 → 4.23.0
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
CHANGED
|
@@ -15,7 +15,7 @@ pnpm add @myko/ui-vue
|
|
|
15
15
|
```vue
|
|
16
16
|
<script setup>
|
|
17
17
|
import { useQuery, useReport, useConnection } from '@myko/ui-vue'
|
|
18
|
-
import { queries, reports } from '@
|
|
18
|
+
import { queries, reports } from '@your-app/entities'
|
|
19
19
|
|
|
20
20
|
// Connection management
|
|
21
21
|
const { status, isConnected, connect, disconnect } = useConnection()
|
|
@@ -46,7 +46,7 @@ connect('ws://localhost:5155')
|
|
|
46
46
|
<script setup>
|
|
47
47
|
import { onUnmounted } from 'vue'
|
|
48
48
|
import { getMykoClient } from '@myko/ui-vue'
|
|
49
|
-
import { queries, commands } from '@
|
|
49
|
+
import { queries, commands } from '@your-app/entities'
|
|
50
50
|
|
|
51
51
|
const client = getMykoClient()
|
|
52
52
|
|
|
@@ -24,7 +24,7 @@ export interface UseQueryReturn<Q extends Query<unknown>> {
|
|
|
24
24
|
* ```vue
|
|
25
25
|
* <script setup>
|
|
26
26
|
* import { useQuery } from '@myko/ui-vue'
|
|
27
|
-
* import { queries } from '@
|
|
27
|
+
* import { queries } from '@your-app/entities'
|
|
28
28
|
*
|
|
29
29
|
* const { items, itemsArray, resolved } = useQuery(queries.GetAllTargets({}))
|
|
30
30
|
* </script>
|
|
@@ -16,7 +16,7 @@ export interface UseReportReturn<R extends Report<unknown>> {
|
|
|
16
16
|
* ```vue
|
|
17
17
|
* <script setup>
|
|
18
18
|
* import { useReport } from '@myko/ui-vue'
|
|
19
|
-
* import { reports } from '@
|
|
19
|
+
* import { reports } from '@your-app/entities'
|
|
20
20
|
*
|
|
21
21
|
* const { value } = useReport(reports.CountAllTargets({}))
|
|
22
22
|
* </script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@myko/core": "^4.
|
|
3
|
+
"@myko/core": "^4.23.0"
|
|
4
4
|
},
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@types/luxon": "^3.4.2",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
},
|
|
51
51
|
"type": "module",
|
|
52
52
|
"types": "./dist/index.d.ts",
|
|
53
|
-
"version": "4.
|
|
53
|
+
"version": "4.23.0"
|
|
54
54
|
}
|