@robbeverhelst/do 1.40.0 → 1.42.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
|
@@ -20309,6 +20309,7 @@ var createRecipeInputSchema = exports_external.object({
|
|
|
20309
20309
|
cookMinutes: exports_external.number().int().min(0).nullish(),
|
|
20310
20310
|
source: exports_external.string().nullish(),
|
|
20311
20311
|
tags: exports_external.array(exports_external.string()).optional(),
|
|
20312
|
+
displayKind: exports_external.string().min(1).nullish(),
|
|
20312
20313
|
ingredients: exports_external.array(recipeIngredientInputSchema).optional()
|
|
20313
20314
|
});
|
|
20314
20315
|
var updateRecipeInputSchema = exports_external.object({
|
|
@@ -20321,11 +20322,13 @@ var updateRecipeInputSchema = exports_external.object({
|
|
|
20321
20322
|
cookMinutes: exports_external.number().int().min(0).nullish(),
|
|
20322
20323
|
source: exports_external.string().nullish(),
|
|
20323
20324
|
tags: exports_external.array(exports_external.string()).optional(),
|
|
20325
|
+
displayKind: exports_external.string().min(1).optional(),
|
|
20324
20326
|
ingredients: exports_external.array(recipeIngredientInputSchema).optional()
|
|
20325
20327
|
}).strict();
|
|
20326
20328
|
var recipeViewSchema = recipeSchema.extend({
|
|
20327
20329
|
title: exports_external.string(),
|
|
20328
20330
|
parentId: ulidSchema.nullable(),
|
|
20331
|
+
displayKind: exports_external.string(),
|
|
20329
20332
|
createdAt: exports_external.coerce.date(),
|
|
20330
20333
|
updatedAt: exports_external.coerce.date(),
|
|
20331
20334
|
deletedAt: exports_external.coerce.date().nullable(),
|
|
@@ -20649,7 +20652,12 @@ var apiKeyScopeSchema = exports_external.enum([
|
|
|
20649
20652
|
"comments:write",
|
|
20650
20653
|
"roles:read",
|
|
20651
20654
|
"links:read",
|
|
20652
|
-
"links:write"
|
|
20655
|
+
"links:write",
|
|
20656
|
+
"collections:read",
|
|
20657
|
+
"collections:write",
|
|
20658
|
+
"presets:read",
|
|
20659
|
+
"presets:install",
|
|
20660
|
+
"*"
|
|
20653
20661
|
]);
|
|
20654
20662
|
var apiKeySchema = createSelectSchema(apiKeys, {
|
|
20655
20663
|
scopes: exports_external.array(apiKeyScopeSchema),
|
|
@@ -22553,6 +22561,7 @@ var mealPresets = [
|
|
|
22553
22561
|
icon: "\uD83C\uDF5D",
|
|
22554
22562
|
color: "#fb7185",
|
|
22555
22563
|
category: "Recipes",
|
|
22564
|
+
displayKind: "recipe-card",
|
|
22556
22565
|
featured: true,
|
|
22557
22566
|
recipe: {
|
|
22558
22567
|
nodes: [
|
|
@@ -22588,6 +22597,7 @@ var mealPresets = [
|
|
|
22588
22597
|
icon: "\uD83E\uDD61",
|
|
22589
22598
|
color: "#34d399",
|
|
22590
22599
|
category: "Recipes",
|
|
22600
|
+
displayKind: "recipe-card",
|
|
22591
22601
|
recipe: {
|
|
22592
22602
|
nodes: [
|
|
22593
22603
|
recipeNode({
|
|
@@ -22628,6 +22638,7 @@ var mealPresets = [
|
|
|
22628
22638
|
icon: "\uD83E\uDD64",
|
|
22629
22639
|
color: "#f472b6",
|
|
22630
22640
|
category: "Recipes",
|
|
22641
|
+
displayKind: "recipe-card",
|
|
22631
22642
|
recipe: {
|
|
22632
22643
|
nodes: [
|
|
22633
22644
|
recipeNode({
|
|
@@ -22659,6 +22670,7 @@ var mealPresets = [
|
|
|
22659
22670
|
icon: "\uD83D\uDCAA",
|
|
22660
22671
|
color: "#fb7185",
|
|
22661
22672
|
category: "Recipes",
|
|
22673
|
+
displayKind: "recipe-card",
|
|
22662
22674
|
recipe: {
|
|
22663
22675
|
nodes: [
|
|
22664
22676
|
recipeNode({
|
|
@@ -22686,6 +22698,7 @@ var mealPresets = [
|
|
|
22686
22698
|
icon: "\uD83E\uDD57",
|
|
22687
22699
|
color: "#34d399",
|
|
22688
22700
|
category: "Recipes",
|
|
22701
|
+
displayKind: "recipe-card",
|
|
22689
22702
|
recipe: {
|
|
22690
22703
|
nodes: [
|
|
22691
22704
|
recipeNode({
|
|
@@ -22713,6 +22726,7 @@ var mealPresets = [
|
|
|
22713
22726
|
icon: "\uD83D\uDCB0",
|
|
22714
22727
|
color: "#f59e0b",
|
|
22715
22728
|
category: "Recipes",
|
|
22729
|
+
displayKind: "recipe-card",
|
|
22716
22730
|
recipe: {
|
|
22717
22731
|
nodes: [
|
|
22718
22732
|
recipeNode({
|
|
@@ -23292,7 +23306,7 @@ function parseCapture2(input) {
|
|
|
23292
23306
|
|
|
23293
23307
|
// src/meta.ts
|
|
23294
23308
|
var CLI_NAME = "do";
|
|
23295
|
-
var VERSION = "1.
|
|
23309
|
+
var VERSION = "1.42.0";
|
|
23296
23310
|
var API_PREFIX = "/api/v1";
|
|
23297
23311
|
var DEFAULT_API_URL = "http://localhost:3001";
|
|
23298
23312
|
|