@robbeverhelst/do 1.33.0 → 1.34.0
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/do.js +16 -2
- package/package.json +1 -1
package/dist/do.js
CHANGED
|
@@ -20108,6 +20108,10 @@ var inventoryItemViewSchema = inventoryItemSchema.extend({
|
|
|
20108
20108
|
updatedAt: exports_external.coerce.date(),
|
|
20109
20109
|
deletedAt: exports_external.coerce.date().nullable()
|
|
20110
20110
|
});
|
|
20111
|
+
var restockInputSchema = exports_external.object({
|
|
20112
|
+
listId: ulidSchema.optional(),
|
|
20113
|
+
itemIds: exports_external.array(ulidSchema).optional()
|
|
20114
|
+
}).strict();
|
|
20111
20115
|
// ../../packages/schema/src/contracts/recipes.ts
|
|
20112
20116
|
var recipeSchema = createSelectSchema(recipes);
|
|
20113
20117
|
var recipeIngredientSchema = createSelectSchema(recipeIngredients, {
|
|
@@ -20156,7 +20160,17 @@ var recipeViewSchema = recipeSchema.extend({
|
|
|
20156
20160
|
var recipeDetailSchema = recipeViewSchema.extend({
|
|
20157
20161
|
ingredients: exports_external.array(recipeIngredientSchema)
|
|
20158
20162
|
});
|
|
20159
|
-
var addRecipeToShoppingListInputSchema = exports_external.object({ listId: ulidSchema }).strict();
|
|
20163
|
+
var addRecipeToShoppingListInputSchema = exports_external.object({ listId: ulidSchema, onlyMissing: exports_external.boolean().optional() }).strict();
|
|
20164
|
+
var recipePantryIngredientSchema = recipeIngredientSchema.extend({
|
|
20165
|
+
inStock: exports_external.boolean(),
|
|
20166
|
+
haveQuantity: exports_external.number().nullable()
|
|
20167
|
+
});
|
|
20168
|
+
var recipePantrySchema = exports_external.object({
|
|
20169
|
+
recipeId: ulidSchema,
|
|
20170
|
+
haveCount: exports_external.number().int().min(0),
|
|
20171
|
+
totalCount: exports_external.number().int().min(0),
|
|
20172
|
+
ingredients: exports_external.array(recipePantryIngredientSchema)
|
|
20173
|
+
});
|
|
20160
20174
|
// ../../packages/schema/src/contracts/meal-plans.ts
|
|
20161
20175
|
var mealTypeSchema = exports_external.enum(mealType.enumValues);
|
|
20162
20176
|
var mealPlanSchema = createSelectSchema(mealPlans, {
|
|
@@ -22870,7 +22884,7 @@ function parseCapture2(input) {
|
|
|
22870
22884
|
|
|
22871
22885
|
// src/meta.ts
|
|
22872
22886
|
var CLI_NAME = "do";
|
|
22873
|
-
var VERSION = "1.
|
|
22887
|
+
var VERSION = "1.34.0";
|
|
22874
22888
|
var API_PREFIX = "/api/v1";
|
|
22875
22889
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
22876
22890
|
|