@jskit-ai/kernel 0.1.28 → 0.1.30

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/kernel",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "typebox": "^1.0.81"
@@ -144,24 +144,24 @@ test("discoverShellOutletTargetsFromApp returns targets with sourcePath and defa
144
144
  );
145
145
  await writeFileInApp(
146
146
  appRoot,
147
- "src/pages/admin/workspace/settings/index.vue",
147
+ "src/pages/admin/toolbox/index.vue",
148
148
  `<template>
149
149
  <section>
150
- <ShellOutlet host="admin-settings" position="forms" default />
150
+ <ShellOutlet host="admin-toolbox" position="widgets" default />
151
151
  </section>
152
152
  </template>
153
153
  `
154
154
  );
155
155
 
156
156
  const discovered = await discoverShellOutletTargetsFromApp({ appRoot });
157
- assert.equal(discovered.defaultTargetId, "admin-settings:forms");
157
+ assert.equal(discovered.defaultTargetId, "admin-toolbox:widgets");
158
158
  assert.deepEqual(discovered.targets, [
159
159
  {
160
- id: "admin-settings:forms",
161
- host: "admin-settings",
162
- position: "forms",
160
+ id: "admin-toolbox:widgets",
161
+ host: "admin-toolbox",
162
+ position: "widgets",
163
163
  default: true,
164
- sourcePath: "src/pages/admin/workspace/settings/index.vue"
164
+ sourcePath: "src/pages/admin/toolbox/index.vue"
165
165
  },
166
166
  {
167
167
  id: "shell-layout:primary-menu",