@bpinternal/const 0.4.0 → 0.4.1

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.
@@ -14,7 +14,7 @@ exports.billingV4Definition = {
14
14
  description: 'New billing system with credit grants and entitlements',
15
15
  plans: billing_plans_1.billingPlansDefs,
16
16
  addons: billing_addons_1.billingAddonsDefs,
17
- isActive: false, // Will be set to true when migration is complete
17
+ isActive: true,
18
18
  createdAt: new Date().toISOString(),
19
19
  // stripeMapping will be populated by Pulumi
20
20
  };
package/dist/types.d.ts CHANGED
@@ -42,8 +42,8 @@ export type BillingVersionDefinition = {
42
42
  version: BillingVersionId;
43
43
  name: string;
44
44
  description: string;
45
- plans: Record<BillingPlanId, BillingPlanDefinition>;
46
- addons: Record<BillingAddonId, BillingAddonDefinition>;
45
+ plans: Partial<Record<BillingPlanId, BillingPlanDefinition>>;
46
+ addons: Partial<Record<BillingAddonId, BillingAddonDefinition>>;
47
47
  isActive: boolean;
48
48
  createdAt: string;
49
49
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpinternal/const",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Shared constants for Skynet billing refactor (vendored copy of upstream packages/const)",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "build": "tsc -b tsconfig.json",
19
19
  "dev": "tsc -w",
20
20
  "clean": "rm -rf dist tsconfig.tsbuildinfo",
21
- "check:lint": "eslint --max-warnings 0 --cache --ext .ts,.tsx .",
21
+ "check:lint": "eslint --cache --ext .ts,.tsx .",
22
22
  "fix:lint": "eslint --fix --cache --ext .ts,.tsx .",
23
23
  "check:type": "tsc --noEmit"
24
24
  }