@jskit-ai/users-core 0.1.70 → 0.1.72

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/users-core",
4
- version: "0.1.70",
4
+ version: "0.1.72",
5
5
  kind: "runtime",
6
6
  description: "Users/account runtime plus HTTP routes for account features.",
7
7
  dependsOn: [
@@ -43,6 +43,17 @@ export default Object.freeze({
43
43
  }
44
44
  },
45
45
  metadata: {
46
+ jskit: {
47
+ tableOwnership: {
48
+ tables: [
49
+ {
50
+ tableName: "user_settings",
51
+ provenance: "runtime-package",
52
+ ownerKind: "package-runtime"
53
+ }
54
+ ]
55
+ }
56
+ },
46
57
  apiSummary: {
47
58
  surfaces: [
48
59
  {
@@ -132,16 +143,16 @@ export default Object.freeze({
132
143
  mutations: {
133
144
  dependencies: {
134
145
  runtime: {
135
- "@jskit-ai/auth-core": "0.1.59",
136
- "@jskit-ai/crud-core": "0.1.68",
137
- "@jskit-ai/database-runtime": "0.1.60",
138
- "@jskit-ai/http-runtime": "0.1.59",
139
- "@jskit-ai/json-rest-api-core": "0.1.5",
140
- "@jskit-ai/kernel": "0.1.60",
141
- "@jskit-ai/resource-core": "0.1.5",
142
- "@jskit-ai/resource-crud-core": "0.1.5",
146
+ "@jskit-ai/auth-core": "0.1.61",
147
+ "@jskit-ai/crud-core": "0.1.70",
148
+ "@jskit-ai/database-runtime": "0.1.62",
149
+ "@jskit-ai/http-runtime": "0.1.61",
150
+ "@jskit-ai/json-rest-api-core": "0.1.7",
151
+ "@jskit-ai/kernel": "0.1.62",
152
+ "@jskit-ai/resource-core": "0.1.7",
153
+ "@jskit-ai/resource-crud-core": "0.1.7",
143
154
  "@local/users": "file:packages/users",
144
- "@jskit-ai/uploads-runtime": "0.1.38"
155
+ "@jskit-ai/uploads-runtime": "0.1.40"
145
156
  },
146
157
  dev: {}
147
158
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/users-core",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -11,14 +11,14 @@
11
11
  "./shared/resources/userSettingsResource": "./src/shared/resources/userSettingsResource.js"
12
12
  },
13
13
  "dependencies": {
14
- "@jskit-ai/auth-core": "0.1.59",
15
- "@jskit-ai/database-runtime": "0.1.60",
16
- "@jskit-ai/http-runtime": "0.1.59",
17
- "@jskit-ai/json-rest-api-core": "0.1.5",
18
- "@jskit-ai/kernel": "0.1.60",
19
- "@jskit-ai/resource-crud-core": "0.1.5",
20
- "@jskit-ai/resource-core": "0.1.5",
21
- "@jskit-ai/uploads-runtime": "0.1.38",
14
+ "@jskit-ai/auth-core": "0.1.61",
15
+ "@jskit-ai/database-runtime": "0.1.62",
16
+ "@jskit-ai/http-runtime": "0.1.61",
17
+ "@jskit-ai/json-rest-api-core": "0.1.7",
18
+ "@jskit-ai/kernel": "0.1.62",
19
+ "@jskit-ai/resource-crud-core": "0.1.7",
20
+ "@jskit-ai/resource-core": "0.1.7",
21
+ "@jskit-ai/uploads-runtime": "0.1.40",
22
22
  "json-rest-schema": "1.x.x"
23
23
  }
24
24
  }
@@ -35,6 +35,18 @@ export default Object.freeze({
35
35
  }
36
36
  },
37
37
  metadata: {
38
+ jskit: {
39
+ scaffoldShape: "users-core-crud-v1",
40
+ tableOwnership: {
41
+ tables: [
42
+ {
43
+ tableName: "users",
44
+ provenance: "users-core-template",
45
+ ownerKind: "baseline-crud"
46
+ }
47
+ ]
48
+ }
49
+ },
38
50
  apiSummary: {
39
51
  surfaces: [
40
52
  {
@@ -36,6 +36,18 @@ export default Object.freeze({
36
36
  }
37
37
  },
38
38
  metadata: {
39
+ jskit: {
40
+ scaffoldShape: "users-core-crud-v1",
41
+ tableOwnership: {
42
+ tables: [
43
+ {
44
+ tableName: "users",
45
+ provenance: "users-core-template",
46
+ ownerKind: "baseline-crud"
47
+ }
48
+ ]
49
+ }
50
+ },
39
51
  apiSummary: {
40
52
  surfaces: [
41
53
  {
@@ -78,6 +78,9 @@ test("users-core base users package templates stay aligned with non-workspace ap
78
78
  assert.doesNotMatch(packageDescriptorSource, /@jskit-ai\/workspaces-core/);
79
79
  assert.match(packageDescriptorSource, /@jskit-ai\/json-rest-api-core/);
80
80
  assert.match(packageDescriptorSource, /json-rest-api\.core/);
81
+ assert.match(packageDescriptorSource, /scaffoldShape: "users-core-crud-v1"/);
82
+ assert.match(packageDescriptorSource, /tableName: "users"/);
83
+ assert.match(packageDescriptorSource, /provenance: "users-core-template"/);
81
84
  assert.doesNotMatch(packageDescriptorSource, /server\/actionIds/);
82
85
  assert.match(providerSource, /surface: "home"/);
83
86
  assert.doesNotMatch(providerSource, /routeSurfaceRequiresWorkspace/);
@@ -138,6 +141,9 @@ test("users-core workspace users package templates stay aligned with workspace a
138
141
  assert.match(packageDescriptorSource, /@jskit-ai\/workspaces-core/);
139
142
  assert.match(packageDescriptorSource, /@jskit-ai\/json-rest-api-core/);
140
143
  assert.match(packageDescriptorSource, /json-rest-api\.core/);
144
+ assert.match(packageDescriptorSource, /scaffoldShape: "users-core-crud-v1"/);
145
+ assert.match(packageDescriptorSource, /tableName: "users"/);
146
+ assert.match(packageDescriptorSource, /provenance: "users-core-template"/);
141
147
  assert.doesNotMatch(packageDescriptorSource, /server\/actionIds/);
142
148
  assert.match(providerSource, /surface: "admin"/);
143
149
  assert.match(providerSource, /routeSurfaceRequiresWorkspace/);