@mestra-dev/contract 0.0.48 → 0.0.49

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -962,7 +962,8 @@ declare const routes: import("hono/hono-base").HonoBase<{
962
962
  };
963
963
  readonly planCode: {
964
964
  readonly type: "string";
965
- readonly description: "Current workspace plan code (e.g. free, economy, standard, professional, or a private enterprise code).";
965
+ readonly nullable: true;
966
+ readonly description: "Current workspace plan code (e.g. free, economy, standard, professional, or a private enterprise code). Null for legacy workspaces that predate billing plans.";
966
967
  readonly example: "free";
967
968
  };
968
969
  readonly token: {
@@ -13105,7 +13106,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
13105
13106
  maxCollaborators: number;
13106
13107
  hasPaid: boolean;
13107
13108
  status: string;
13108
- planCode: string;
13109
+ planCode: string | null;
13109
13110
  token: string | null;
13110
13111
  isOwner: boolean;
13111
13112
  resources: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,