The recipes.blue monorepo recipes.blue
recipes appview atproto
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: estimated time lexicon

+26
+14
lexicons/moe/hayden/cookware/defs.json
··· 34 34 "description": "The instruction to provide to the user." 35 35 } 36 36 } 37 + }, 38 + "elapsedTime": { 39 + "type": "object", 40 + "required": ["amount", "unit"], 41 + "properties": { 42 + "amount": { 43 + "type": "integer", 44 + "description": "The amount of (#unit) to display." 45 + }, 46 + "unit": { 47 + "type": "string", 48 + "description": "The unit to display the time in." 49 + } 50 + } 37 51 } 38 52 } 39 53 }
+4
lexicons/moe/hayden/cookware/recipe.json
··· 22 22 "maxGraphemes": 300, 23 23 "description": "The description of the recipe." 24 24 }, 25 + "estimate": { 26 + "type": "ref", 27 + "ref": "moe.hayden.cookware.defs#elapsedTime" 28 + }, 25 29 "ingredients": { 26 30 "type": "array", 27 31 "items": {
+8
libs/lexicons/src/atcute.ts
··· 10 10 11 11 declare module "@atcute/client/lexicons" { 12 12 namespace MoeHaydenCookwareDefs { 13 + interface ElapsedTime { 14 + [Brand.Type]?: "moe.hayden.cookware.defs#elapsedTime"; 15 + /** The amount of (#unit) to display. */ 16 + amount: number; 17 + /** The unit to display the time in. */ 18 + unit: string; 19 + } 13 20 interface Ingredient { 14 21 [Brand.Type]?: "moe.hayden.cookware.defs#ingredient"; 15 22 /** How much of the ingredient is needed. */ ··· 103 110 * Maximum grapheme length: 300 104 111 */ 105 112 description?: string; 113 + estimate?: MoeHaydenCookwareDefs.ElapsedTime; 106 114 } 107 115 } 108 116