node-type-registry 0.20.0 → 0.21.0

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.
@@ -15,6 +15,11 @@ exports.AuthzEntityMembership = {
15
15
  format: 'column-ref',
16
16
  description: 'Column name referencing the entity (e.g., entity_id, org_id)'
17
17
  },
18
+ sel_field: {
19
+ type: 'string',
20
+ description: 'SPRT column to select for the entity match',
21
+ default: 'entity_id'
22
+ },
18
23
  membership_type: {
19
24
  type: [
20
25
  'integer',
@@ -15,6 +15,16 @@ exports.AuthzRelatedEntityMembership = {
15
15
  format: 'column-ref',
16
16
  description: 'Column name on protected table referencing the join table'
17
17
  },
18
+ sel_field: {
19
+ type: 'string',
20
+ description: 'SPRT column to select for the entity match',
21
+ default: 'entity_id'
22
+ },
23
+ sprt_join_field: {
24
+ type: 'string',
25
+ description: 'SPRT column to join on with the related table',
26
+ default: 'entity_id'
27
+ },
18
28
  membership_type: {
19
29
  type: [
20
30
  'integer',
@@ -52,7 +52,8 @@ exports.AuthzRelatedPeerOwnership = {
52
52
  obj_ref_field: {
53
53
  type: 'string',
54
54
  format: 'column-ref',
55
- description: 'Field on related table to select for matching entity_field (defaults to id)'
55
+ description: 'Field on related table to select for matching entity_field',
56
+ default: 'id'
56
57
  },
57
58
  permission: {
58
59
  type: 'string',
@@ -12,6 +12,11 @@ export const AuthzEntityMembership = {
12
12
  format: 'column-ref',
13
13
  description: 'Column name referencing the entity (e.g., entity_id, org_id)'
14
14
  },
15
+ sel_field: {
16
+ type: 'string',
17
+ description: 'SPRT column to select for the entity match',
18
+ default: 'entity_id'
19
+ },
15
20
  membership_type: {
16
21
  type: [
17
22
  'integer',
@@ -12,6 +12,16 @@ export const AuthzRelatedEntityMembership = {
12
12
  format: 'column-ref',
13
13
  description: 'Column name on protected table referencing the join table'
14
14
  },
15
+ sel_field: {
16
+ type: 'string',
17
+ description: 'SPRT column to select for the entity match',
18
+ default: 'entity_id'
19
+ },
20
+ sprt_join_field: {
21
+ type: 'string',
22
+ description: 'SPRT column to join on with the related table',
23
+ default: 'entity_id'
24
+ },
15
25
  membership_type: {
16
26
  type: [
17
27
  'integer',
@@ -49,7 +49,8 @@ export const AuthzRelatedPeerOwnership = {
49
49
  obj_ref_field: {
50
50
  type: 'string',
51
51
  format: 'column-ref',
52
- description: 'Field on related table to select for matching entity_field (defaults to id)'
52
+ description: 'Field on related table to select for matching entity_field',
53
+ default: 'id'
53
54
  },
54
55
  permission: {
55
56
  type: 'string',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-type-registry",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Node type definitions for the Constructive blueprint system. Single source of truth for all Authz*, Data*, Relation*, and View* node types.",
5
5
  "author": "Constructive <developers@constructive.io>",
6
6
  "main": "index.js",
@@ -47,5 +47,5 @@
47
47
  "registry",
48
48
  "graphile"
49
49
  ],
50
- "gitHead": "3f86c5a243633bb086f83866fdfb790ec45558bd"
50
+ "gitHead": "425a7111ec17cbe975a12c8528e7cef151fc03df"
51
51
  }