@jskit-ai/shell-web 0.1.14 → 0.1.16

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.
@@ -1,7 +1,7 @@
1
1
  export default Object.freeze({
2
2
  packageVersion: 1,
3
3
  packageId: "@jskit-ai/shell-web",
4
- version: "0.1.14",
4
+ version: "0.1.16",
5
5
  description: "Web shell layout runtime with outlet-based placement contributions.",
6
6
  dependsOn: [],
7
7
  capabilities: {
@@ -85,7 +85,7 @@ export default Object.freeze({
85
85
  dependencies: {
86
86
  runtime: {
87
87
  "@tanstack/vue-query": "^5.90.5",
88
- "@jskit-ai/kernel": "0.1.14",
88
+ "@jskit-ai/kernel": "0.1.17",
89
89
  "vuetify": "^4.0.0"
90
90
  },
91
91
  dev: {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/shell-web",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@tanstack/vue-query": "^5.90.5",
20
- "@jskit-ai/kernel": "0.1.14",
20
+ "@jskit-ai/kernel": "0.1.17",
21
21
  "vuetify": "^4.0.0"
22
22
  }
23
23
  }
@@ -5,7 +5,7 @@ import { resolveShellLinkPath } from "../src/client/navigation/linkResolver.js";
5
5
  function createPlacementContext() {
6
6
  return {
7
7
  surfaceConfig: {
8
- tenancyMode: "workspace",
8
+ tenancyMode: "workspaces",
9
9
  defaultSurfaceId: "app",
10
10
  enabledSurfaceIds: ["app", "admin", "console"],
11
11
  surfacesById: {
@@ -122,7 +122,7 @@ test("shell web client provider binds runtime and injects it into Vue app", asyn
122
122
 
123
123
  test("shell web client provider resolves surface config from client app config", async () => {
124
124
  setClientAppConfig({
125
- tenancyMode: "workspace",
125
+ tenancyMode: "workspaces",
126
126
  surfaceAccessPolicies: {
127
127
  public: {}
128
128
  }
@@ -151,7 +151,7 @@ test("shell web client provider resolves surface config from client app config",
151
151
 
152
152
  const placementRuntime = app.make(WEB_PLACEMENT_RUNTIME_CLIENT_TOKEN);
153
153
  const context = placementRuntime.getContext();
154
- assert.equal(context.surfaceConfig.tenancyMode, "workspace");
154
+ assert.equal(context.surfaceConfig.tenancyMode, "workspaces");
155
155
  assert.equal(context.surfaceConfig.defaultSurfaceId, "app");
156
156
  assert.deepEqual(context.surfaceConfig.enabledSurfaceIds, ["app", "admin", "console"]);
157
157
  assert.deepEqual(context.surfaceAccessPolicies, {
@@ -26,12 +26,12 @@ test("buildSurfaceConfigContext normalizes runtime definitions for placement con
26
26
  }
27
27
  },
28
28
  {
29
- tenancyMode: "workspace"
29
+ tenancyMode: "workspaces"
30
30
  }
31
31
  );
32
32
 
33
33
  assert.equal(surfaceConfig.defaultSurfaceId, "app");
34
- assert.equal(surfaceConfig.tenancyMode, "workspace");
34
+ assert.equal(surfaceConfig.tenancyMode, "workspaces");
35
35
  assert.deepEqual(surfaceConfig.enabledSurfaceIds, ["app", "admin"]);
36
36
  assert.deepEqual(surfaceConfig.surfacesById.admin, {
37
37
  id: "admin",
@@ -52,7 +52,7 @@ test("buildSurfaceConfigContext normalizes runtime definitions for placement con
52
52
  test("readPlacementSurfaceConfig normalizes malformed context data", () => {
53
53
  const context = {
54
54
  surfaceConfig: {
55
- tenancyMode: "workspace",
55
+ tenancyMode: "workspaces",
56
56
  defaultSurfaceId: " ADMIN ",
57
57
  enabledSurfaceIds: ["admin", "app", "app"],
58
58
  surfacesById: {
@@ -78,7 +78,7 @@ test("readPlacementSurfaceConfig normalizes malformed context data", () => {
78
78
  test("surface path helpers compose root and prefixed surface routes", () => {
79
79
  const context = {
80
80
  surfaceConfig: {
81
- tenancyMode: "workspace",
81
+ tenancyMode: "workspaces",
82
82
  enabledSurfaceIds: ["app", "home", "console"],
83
83
  surfacesById: {
84
84
  app: {