@mestra-dev/contract 0.0.287 → 0.0.289

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -54,7 +54,7 @@ type AiUnavailableReason =
54
54
  | "workspace_disabled";
55
55
  type GrowthDirection = "positive" | "negative" | "none";
56
56
  type ResourceAttributeValue = string | number | boolean | string[] | null;
57
- type BranchDeleteBlock = "last" | "default" | "hasWarehouses";
57
+ type BranchDeleteBlock = "default" | "hasWarehouses";
58
58
  type WarehouseArchiveBlock = "last" | "default" | "hasStock";
59
59
  type StockTransferBlock = "unavailableWarehouse" | "noProduct" | "exceedsAvailable";
60
60
  type Variables = JwtVariables;
@@ -10029,7 +10029,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
10029
10029
  };
10030
10030
  output: {
10031
10031
  success: false;
10032
- error: "A workspace keeps at least one branch" | "Make another branch the default before removing this one" | "Archive or move this branch's warehouses first";
10032
+ error: "Make another branch the default or remove the other branches first" | "Archive or move this branch's warehouses first";
10033
10033
  reason: BranchDeleteBlock;
10034
10034
  };
10035
10035
  outputFormat: "json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mestra-dev/contract",
3
- "version": "0.0.287",
3
+ "version": "0.0.289",
4
4
  "description": "Types-only Hono AppType contract for the Mestra auth API",
5
5
  "type": "module",
6
6
  "sideEffects": false,