@omnichar/contracts 0.19.3 → 0.19.4

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.
@@ -17,7 +17,7 @@ export type PlanPreset = {
17
17
  };
18
18
  export declare const PLAN_PRESETS: {
19
19
  readonly free: {
20
- readonly name: "Free";
20
+ readonly name: "Flex";
21
21
  readonly priceUsd: null;
22
22
  readonly workspace: "any";
23
23
  readonly includedSeats: 5;
@@ -2,7 +2,7 @@
2
2
  export const GIB = 1024 * 1024 * 1024;
3
3
  export const PLAN_PRESETS = {
4
4
  free: {
5
- name: 'Free',
5
+ name: 'Flex',
6
6
  priceUsd: null,
7
7
  workspace: 'any',
8
8
  includedSeats: 5,
@@ -71,10 +71,10 @@ export const savingVsTopUp = (plan) => {
71
71
  return rate === null ? null : Math.round((1 - rate / TOPUP_USD_PER_CREDIT) * 100);
72
72
  };
73
73
  export const WELCOME_OFFER = { bonusCredits: 500, hours: 24 };
74
- // A Free personal workspace below this sees the low-balance banner once.
74
+ // A Flex personal workspace below this sees the low-balance banner once.
75
75
  export const LOW_BALANCE_CREDITS = 100;
76
76
  // A cancelled subscription within this many days means no welcome popup.
77
77
  export const RECENT_CANCEL_DAYS = 30;
78
- // Days a halted subscription keeps its plan before the workspace moves to Free.
78
+ // Days a halted subscription keeps its plan before the workspace moves to Flex.
79
79
  export const HALTED_GRACE_DAYS = 7;
80
80
  //# sourceMappingURL=planPresets.js.map
@@ -13,14 +13,14 @@ export declare const planSchema: z.ZodObject<{
13
13
  }, z.core.$strip>;
14
14
  export declare const FREE_PLAN: {
15
15
  readonly id: "free";
16
- readonly name: "Free";
16
+ readonly name: "Flex";
17
17
  readonly storageBytes: number;
18
18
  readonly unlimitedCredits: true;
19
19
  };
20
20
  export declare const PLANS: {
21
21
  readonly free: {
22
22
  readonly id: "free";
23
- readonly name: "Free";
23
+ readonly name: "Flex";
24
24
  readonly storageBytes: number;
25
25
  readonly unlimitedCredits: true;
26
26
  };
package/dist/v1/plans.js CHANGED
@@ -11,7 +11,7 @@ export const planSchema = z.object({
11
11
  });
12
12
  export const FREE_PLAN = {
13
13
  id: 'free',
14
- name: 'Free',
14
+ name: 'Flex',
15
15
  storageBytes: 5 * 1024 * 1024 * 1024,
16
16
  unlimitedCredits: true,
17
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnichar/contracts",
3
- "version": "0.19.3",
3
+ "version": "0.19.4",
4
4
  "description": "The wire contract between Cloud-Studio and Cloud-Control-Plane. Zod schemas and the types inferred from them.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",