@jskit-ai/users-web 0.1.95 → 0.1.97
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.descriptor.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { HOME_COG_OUTLET } from "./src/shared/toolsOutletContracts.js";
|
|
|
3
3
|
export default Object.freeze({
|
|
4
4
|
packageVersion: 1,
|
|
5
5
|
packageId: "@jskit-ai/users-web",
|
|
6
|
-
version: "0.1.
|
|
6
|
+
version: "0.1.97",
|
|
7
7
|
kind: "runtime",
|
|
8
8
|
description: "Users web module: account/profile UI plus shared users web widgets.",
|
|
9
9
|
dependsOn: [
|
|
@@ -278,12 +278,12 @@ export default Object.freeze({
|
|
|
278
278
|
dependencies: {
|
|
279
279
|
runtime: {
|
|
280
280
|
"@mdi/js": "^7.4.47",
|
|
281
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
282
|
-
"@jskit-ai/realtime": "0.1.
|
|
283
|
-
"@jskit-ai/kernel": "0.1.
|
|
284
|
-
"@jskit-ai/shell-web": "0.1.
|
|
285
|
-
"@jskit-ai/uploads-image-web": "0.1.
|
|
286
|
-
"@jskit-ai/users-core": "0.1.
|
|
281
|
+
"@jskit-ai/http-runtime": "0.1.81",
|
|
282
|
+
"@jskit-ai/realtime": "0.1.81",
|
|
283
|
+
"@jskit-ai/kernel": "0.1.82",
|
|
284
|
+
"@jskit-ai/shell-web": "0.1.81",
|
|
285
|
+
"@jskit-ai/uploads-image-web": "0.1.60",
|
|
286
|
+
"@jskit-ai/users-core": "0.1.92"
|
|
287
287
|
},
|
|
288
288
|
dev: {}
|
|
289
289
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/users-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.97",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@mdi/js": "^7.4.47",
|
|
47
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
48
|
-
"@jskit-ai/kernel": "0.1.
|
|
49
|
-
"@jskit-ai/realtime": "0.1.
|
|
50
|
-
"@jskit-ai/shell-web": "0.1.
|
|
51
|
-
"@jskit-ai/uploads-image-web": "0.1.
|
|
52
|
-
"@jskit-ai/users-core": "0.1.
|
|
47
|
+
"@jskit-ai/http-runtime": "0.1.81",
|
|
48
|
+
"@jskit-ai/kernel": "0.1.82",
|
|
49
|
+
"@jskit-ai/realtime": "0.1.81",
|
|
50
|
+
"@jskit-ai/shell-web": "0.1.81",
|
|
51
|
+
"@jskit-ai/uploads-image-web": "0.1.60",
|
|
52
|
+
"@jskit-ai/users-core": "0.1.92"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@tanstack/vue-query": "^5.90.5",
|
|
@@ -11,6 +11,7 @@ import { resolveRouteParamNamesInOrder } from "../support/routeTemplateHelpers.j
|
|
|
11
11
|
import { resolveOperationRealtimeOptions } from "../useRealtimeQueryInvalidation.js";
|
|
12
12
|
|
|
13
13
|
function useView({
|
|
14
|
+
resource = null,
|
|
14
15
|
ownershipFilter = ROUTE_VISIBILITY_WORKSPACE,
|
|
15
16
|
surfaceId = "",
|
|
16
17
|
access = "auto",
|
|
@@ -96,7 +97,7 @@ function useView({
|
|
|
96
97
|
});
|
|
97
98
|
const canView = operationScope.permissionGate("view");
|
|
98
99
|
|
|
99
|
-
const
|
|
100
|
+
const endpointResource = useEndpointResource({
|
|
100
101
|
queryKey: requestQueryRuntime.queryKey,
|
|
101
102
|
path: operationScope.apiPath,
|
|
102
103
|
enabled: operationScope.queryCanRun(canView),
|
|
@@ -108,7 +109,7 @@ function useView({
|
|
|
108
109
|
});
|
|
109
110
|
|
|
110
111
|
const view = useViewCore({
|
|
111
|
-
resource,
|
|
112
|
+
resource: endpointResource,
|
|
112
113
|
model,
|
|
113
114
|
canView,
|
|
114
115
|
mapLoadedToModel,
|
|
@@ -148,7 +149,7 @@ function useView({
|
|
|
148
149
|
notFoundError: view.notFoundError,
|
|
149
150
|
loadError,
|
|
150
151
|
refresh: view.refresh,
|
|
151
|
-
resource
|
|
152
|
+
resource: endpointResource
|
|
152
153
|
});
|
|
153
154
|
}
|
|
154
155
|
|