@jskit-ai/workspaces-core 0.1.128 → 0.1.131
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-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.131",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"./shared/resources/workspaceSettingsResource": "./src/shared/resources/workspaceSettingsResource.js"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@jskit-ai/auth-core": "0.1.
|
|
21
|
-
"@jskit-ai/database-runtime": "0.1.
|
|
22
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
23
|
-
"@jskit-ai/json-rest-api-core": "0.1.
|
|
24
|
-
"@jskit-ai/kernel": "0.1.
|
|
25
|
-
"@jskit-ai/resource-core": "0.1.
|
|
26
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
27
|
-
"@jskit-ai/users-core": "0.1.
|
|
20
|
+
"@jskit-ai/auth-core": "0.1.151",
|
|
21
|
+
"@jskit-ai/database-runtime": "0.1.153",
|
|
22
|
+
"@jskit-ai/http-runtime": "0.1.151",
|
|
23
|
+
"@jskit-ai/json-rest-api-core": "0.1.97",
|
|
24
|
+
"@jskit-ai/kernel": "0.1.153",
|
|
25
|
+
"@jskit-ai/resource-core": "0.1.95",
|
|
26
|
+
"@jskit-ai/resource-crud-core": "0.1.95",
|
|
27
|
+
"@jskit-ai/users-core": "0.1.166",
|
|
28
28
|
"json-rest-schema": "^1.0.17"
|
|
29
29
|
},
|
|
30
30
|
"description": "Workspace tenancy runtime plus HTTP routes, role catalog, and workspace config scaffolding.",
|
|
@@ -167,10 +167,10 @@
|
|
|
167
167
|
"mutations": {
|
|
168
168
|
"dependencies": {
|
|
169
169
|
"runtime": {
|
|
170
|
-
"@jskit-ai/json-rest-api-core": "0.1.
|
|
171
|
-
"@jskit-ai/resource-core": "0.1.
|
|
172
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
173
|
-
"@jskit-ai/users-core": "0.1.
|
|
170
|
+
"@jskit-ai/json-rest-api-core": "0.1.97",
|
|
171
|
+
"@jskit-ai/resource-core": "0.1.95",
|
|
172
|
+
"@jskit-ai/resource-crud-core": "0.1.95",
|
|
173
|
+
"@jskit-ai/users-core": "0.1.166"
|
|
174
174
|
},
|
|
175
175
|
"dev": {}
|
|
176
176
|
},
|
|
@@ -95,7 +95,7 @@ test("workspace settings and invite operations expose canonical validators", ()
|
|
|
95
95
|
}
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
-
test("workspaces-core
|
|
98
|
+
test("workspaces-core keeps raw workspace schema leaves private", () => {
|
|
99
99
|
const testFilePath = fileURLToPath(import.meta.url);
|
|
100
100
|
const packageRoot = path.resolve(path.dirname(testFilePath), "..");
|
|
101
101
|
const workspaceRoutesFilePath = path.join(packageRoot, "src", "server", "common", "routes", "workspaceRoutes.js");
|
|
@@ -179,7 +179,7 @@ function createWorkspaceServiceFixture({
|
|
|
179
179
|
return { service, calls, insertedPayloads };
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
test("workspaceService
|
|
182
|
+
test("workspaceService keeps bootstrap payload assembly outside its API", () => {
|
|
183
183
|
const { service } = createWorkspaceServiceFixture();
|
|
184
184
|
assert.equal(service.buildBootstrapPayload, undefined);
|
|
185
185
|
});
|
|
@@ -199,7 +199,7 @@ test("workspaceService.listWorkspacesForUser returns only accessible workspaces"
|
|
|
199
199
|
assert.equal(calls.insert, 0);
|
|
200
200
|
});
|
|
201
201
|
|
|
202
|
-
test("workspaceService.listWorkspacesForUser
|
|
202
|
+
test("workspaceService.listWorkspacesForUser does not provision a personal workspace in workspace mode", async () => {
|
|
203
203
|
const { service, calls } = createWorkspaceServiceFixture({
|
|
204
204
|
tenancyMode: "workspaces",
|
|
205
205
|
personalWorkspace: null
|
|
@@ -16,7 +16,7 @@ test("workspace settings actions live in their own action array", () => {
|
|
|
16
16
|
assert.equal(workspaceSettingsActions[1].extensions?.assistant?.description, "Update workspace settings.");
|
|
17
17
|
});
|
|
18
18
|
|
|
19
|
-
test("workspace actions array
|
|
19
|
+
test("workspace actions array excludes workspace settings actions", () => {
|
|
20
20
|
const otherWorkspaceActionIds = [
|
|
21
21
|
...workspaceDirectoryActions,
|
|
22
22
|
...workspacePendingInvitationsActions,
|