node-type-registry 0.39.0 → 0.40.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.
- package/esm/event/referral.js +10 -0
- package/event/referral.js +10 -0
- package/package.json +2 -2
package/esm/event/referral.js
CHANGED
|
@@ -41,6 +41,16 @@ export const EventReferral = {
|
|
|
41
41
|
format: 'column-ref',
|
|
42
42
|
description: 'Column containing the entity ID (org/group) for entity-scoped referral events. Omit for user-only events.'
|
|
43
43
|
},
|
|
44
|
+
max_depth: {
|
|
45
|
+
type: 'integer',
|
|
46
|
+
description: 'Maximum depth to walk up the invite chain. ' +
|
|
47
|
+
'Default 1 (direct inviter only). Set 2–10 to enable ' +
|
|
48
|
+
'multi-level referral rewards. App-level only — must not ' +
|
|
49
|
+
'be combined with entity_field.',
|
|
50
|
+
default: 1,
|
|
51
|
+
minimum: 1,
|
|
52
|
+
maximum: 10,
|
|
53
|
+
},
|
|
44
54
|
auto_register_type: {
|
|
45
55
|
type: 'boolean',
|
|
46
56
|
description: 'Automatically register the event_name in event_types during provisioning',
|
package/event/referral.js
CHANGED
|
@@ -44,6 +44,16 @@ exports.EventReferral = {
|
|
|
44
44
|
format: 'column-ref',
|
|
45
45
|
description: 'Column containing the entity ID (org/group) for entity-scoped referral events. Omit for user-only events.'
|
|
46
46
|
},
|
|
47
|
+
max_depth: {
|
|
48
|
+
type: 'integer',
|
|
49
|
+
description: 'Maximum depth to walk up the invite chain. ' +
|
|
50
|
+
'Default 1 (direct inviter only). Set 2–10 to enable ' +
|
|
51
|
+
'multi-level referral rewards. App-level only — must not ' +
|
|
52
|
+
'be combined with entity_field.',
|
|
53
|
+
default: 1,
|
|
54
|
+
minimum: 1,
|
|
55
|
+
maximum: 10,
|
|
56
|
+
},
|
|
47
57
|
auto_register_type: {
|
|
48
58
|
type: 'boolean',
|
|
49
59
|
description: 'Automatically register the event_name in event_types during provisioning',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-type-registry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.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": "
|
|
50
|
+
"gitHead": "35e09818297d7ef14a0aa1ed723d7dd0de7cb83a"
|
|
51
51
|
}
|