@revturbine/cli 0.12.0 → 0.13.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/dist/cli.js +12 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9395,25 +9395,30 @@ var STARTER_PLAYBOOK = {
|
|
|
9395
9395
|
tenant_id: "local",
|
|
9396
9396
|
environment_id: "local",
|
|
9397
9397
|
plans: [
|
|
9398
|
-
{
|
|
9399
|
-
{
|
|
9398
|
+
{ unique_handle: "free", name: "Free", tier_position: 0, sort_order: 0 },
|
|
9399
|
+
{ unique_handle: "pro", name: "Pro", tier_position: 1, sort_order: 1 }
|
|
9400
9400
|
],
|
|
9401
9401
|
entitlements: [
|
|
9402
|
-
{
|
|
9402
|
+
{ unique_handle: "advanced_export", name: "Advanced Export", type: "feature" }
|
|
9403
9403
|
],
|
|
9404
|
+
// Rules reference entities by their HANDLE, never a synthetic id: the import
|
|
9405
|
+
// stores these references verbatim and the runtime resolves them by handle
|
|
9406
|
+
// (entitlement-check.ts matches rule.entitlement_id / plan targets against
|
|
9407
|
+
// unique_handle). Authoring `ent_*` / `plan_*` ids here would produce rules
|
|
9408
|
+
// that never link — the exact bug the plan-154 dogfood surfaced.
|
|
9404
9409
|
entitlement_rules: [
|
|
9405
9410
|
{
|
|
9406
9411
|
id: "er_advanced_export_free",
|
|
9407
|
-
entitlement_id: "
|
|
9408
|
-
targets: [{ kind: "plan", id: "
|
|
9412
|
+
entitlement_id: "advanced_export",
|
|
9413
|
+
targets: [{ kind: "plan", id: "free" }],
|
|
9409
9414
|
segment_ids: [],
|
|
9410
9415
|
enabled: false,
|
|
9411
9416
|
current_usage: 0
|
|
9412
9417
|
},
|
|
9413
9418
|
{
|
|
9414
9419
|
id: "er_advanced_export_pro",
|
|
9415
|
-
entitlement_id: "
|
|
9416
|
-
targets: [{ kind: "plan", id: "
|
|
9420
|
+
entitlement_id: "advanced_export",
|
|
9421
|
+
targets: [{ kind: "plan", id: "pro" }],
|
|
9417
9422
|
segment_ids: [],
|
|
9418
9423
|
enabled: true,
|
|
9419
9424
|
current_usage: 0
|
package/package.json
CHANGED