@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.
- package/dist/index.d.ts +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 = "
|
|
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: "
|
|
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";
|