@jskit-ai/workspaces-web 0.2.23 → 0.2.25
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/workspaces-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jskit test"
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"./locales/en.json": "./locales/en.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@jskit-ai/users-core": "0.2.
|
|
20
|
-
"@jskit-ai/workspaces-core": "0.2.
|
|
19
|
+
"@jskit-ai/users-core": "0.2.17",
|
|
20
|
+
"@jskit-ai/workspaces-core": "0.2.17"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@jskit-ai/auth-web": "0.2.
|
|
24
|
-
"@jskit-ai/http-web": "0.2.
|
|
25
|
-
"@jskit-ai/kernel": "0.2.
|
|
26
|
-
"@jskit-ai/shell-web": "0.2.
|
|
27
|
-
"@jskit-ai/users-web": "0.2.
|
|
23
|
+
"@jskit-ai/auth-web": "0.2.20",
|
|
24
|
+
"@jskit-ai/http-web": "0.2.23",
|
|
25
|
+
"@jskit-ai/kernel": "0.2.15",
|
|
26
|
+
"@jskit-ai/shell-web": "0.2.18",
|
|
27
|
+
"@jskit-ai/users-web": "0.2.25",
|
|
28
28
|
"@tanstack/vue-query": "^5.90.5",
|
|
29
29
|
"vue": "^3.5.13",
|
|
30
30
|
"vue-router": "^5.0.4",
|
|
@@ -54,6 +54,22 @@ the **Your workspaces** page at `src/pages/home/workspaces/index.vue`, member
|
|
|
54
54
|
and settings routes, not-found state, app-owned invitation widgets, and the
|
|
55
55
|
components that an application's client provider registers.
|
|
56
56
|
|
|
57
|
+
`example/src/surfaces/<surface>/` and `example/src/pages/admin/` are each
|
|
58
|
+
surface's own pages; the app puts them under the surface's `pagesRoot`. With
|
|
59
|
+
`pagesRoot: "w/[workspaceSlug]"` for `app` and `"w/[workspaceSlug]/admin"` for
|
|
60
|
+
`admin`:
|
|
61
|
+
|
|
62
|
+
| Example file | App file |
|
|
63
|
+
| --- | --- |
|
|
64
|
+
| `src/surfaces/app/root.vue` | `src/pages/w/[workspaceSlug].vue` |
|
|
65
|
+
| `src/surfaces/app/index.vue` | `src/pages/w/[workspaceSlug]/index.vue` |
|
|
66
|
+
| `src/surfaces/admin/root.vue` | `src/pages/w/[workspaceSlug]/admin.vue` |
|
|
67
|
+
| `src/surfaces/admin/index.vue` | `src/pages/w/[workspaceSlug]/admin/index.vue` |
|
|
68
|
+
| `src/pages/admin/...` | `src/pages/w/[workspaceSlug]/admin/...` |
|
|
69
|
+
|
|
70
|
+
The surface definitions and access policies they need are in the human
|
|
71
|
+
guide's **Workspace tenancy → Surfaces and where `/` lands**.
|
|
72
|
+
|
|
57
73
|
## Variation points
|
|
58
74
|
|
|
59
75
|
Change surfaces, routes, section owners, labels, icons, placement order,
|