@jskit-ai/resource-crud-core 0.1.89 → 0.1.90

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/resource-crud-core",
4
- version: "0.1.89",
4
+ version: "0.1.90",
5
5
  kind: "runtime",
6
6
  description: "CRUD-specific resource-definition helpers and namespace support.",
7
7
  dependsOn: [
@@ -23,7 +23,7 @@ export default Object.freeze({
23
23
  mutations: {
24
24
  dependencies: {
25
25
  runtime: {
26
- "@jskit-ai/resource-crud-core": "0.1.89"
26
+ "@jskit-ai/resource-crud-core": "0.1.90"
27
27
  },
28
28
  dev: {}
29
29
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/resource-crud-core",
3
- "version": "0.1.89",
3
+ "version": "0.1.90",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -10,7 +10,7 @@
10
10
  "./shared/crudResource": "./src/shared/crudResource.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/kernel": "0.1.146",
14
- "@jskit-ai/resource-core": "0.1.89"
13
+ "@jskit-ai/kernel": "0.1.147",
14
+ "@jskit-ai/resource-core": "0.1.90"
15
15
  }
16
16
  }
@@ -54,12 +54,12 @@ test("defineCrudResource derives standard CRUD operations and resource messages"
54
54
  const normalizedViewOutput = await validateSchemaPayload(resource.operations.view.output, {
55
55
  id: 7,
56
56
  name: " Example ",
57
- createdAt: "2026-05-01 12:30:00.000",
57
+ createdAt: "2026-05-01T12:30:00.000Z",
58
58
  lookups: {}
59
59
  }, { phase: "output" });
60
60
  assert.equal(normalizedViewOutput.id, "7");
61
61
  assert.equal(normalizedViewOutput.name, "Example");
62
- assert.ok(normalizedViewOutput.createdAt instanceof Date);
62
+ assert.equal(normalizedViewOutput.createdAt, "2026-05-01T12:30:00.000Z");
63
63
  });
64
64
 
65
65
  test("defineCrudResource preserves and freezes resource-owned response defaults", () => {