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: update lexicons lib

+24 -24
+1 -1
libs/lexicons/scripts/generate.sh
··· 3 3 root="$(dirname "$(dirname "${BASH_SOURCE[0]}")")" 4 4 5 5 pnpm exec lex-cli generate \ 6 - "$root"/../../lexicons/moe/hayden/cookware/*.json \ 6 + "$root"/../../lexicons/blue/recipes/**/*.json \ 7 7 -o src/atcute.ts \ 8 8 --description "Contains type declarations for Cookware lexicons"
+23 -23
libs/lexicons/src/atcute.ts
··· 9 9 import "@atcute/client/lexicons"; 10 10 11 11 declare module "@atcute/client/lexicons" { 12 - namespace MoeHaydenCookwareDefs { 12 + namespace BlueRecipesFeedDefs { 13 13 interface ElapsedTime { 14 - [Brand.Type]?: "moe.hayden.cookware.defs#elapsedTime"; 14 + [Brand.Type]?: "blue.recipes.feed.defs#elapsedTime"; 15 15 /** The amount of (#unit) to display. */ 16 16 amount: number; 17 17 /** The unit to display the time in. */ 18 18 unit: string; 19 19 } 20 20 interface Ingredient { 21 - [Brand.Type]?: "moe.hayden.cookware.defs#ingredient"; 21 + [Brand.Type]?: "blue.recipes.feed.defs#ingredient"; 22 22 /** How much of the ingredient is needed. */ 23 23 amount?: number; 24 24 /** ··· 35 35 unit?: string; 36 36 } 37 37 interface Step { 38 - [Brand.Type]?: "moe.hayden.cookware.defs#step"; 38 + [Brand.Type]?: "blue.recipes.feed.defs#step"; 39 39 /** 40 40 * The instruction to provide to the user. \ 41 41 * Maximum string length: 5000 \ ··· 46 46 } 47 47 48 48 /** Gets a recipe from the index by author DID and rkey. */ 49 - namespace MoeHaydenCookwareGetRecipe { 49 + namespace BlueRecipesFeedGetRecipe { 50 50 interface Params { 51 51 did: string; 52 52 rkey: string; ··· 56 56 recipe: Result; 57 57 } 58 58 interface AuthorInfo { 59 - [Brand.Type]?: "moe.hayden.cookware.getRecipe#authorInfo"; 59 + [Brand.Type]?: "blue.recipes.feed.getRecipe#authorInfo"; 60 60 handle: string; 61 61 } 62 62 interface Result { 63 - [Brand.Type]?: "moe.hayden.cookware.getRecipe#result"; 63 + [Brand.Type]?: "blue.recipes.feed.getRecipe#result"; 64 64 author: AuthorInfo; 65 - ingredients: MoeHaydenCookwareDefs.Ingredient[]; 66 - steps: MoeHaydenCookwareDefs.Step[]; 65 + ingredients: BlueRecipesFeedDefs.Ingredient[]; 66 + steps: BlueRecipesFeedDefs.Step[]; 67 67 title: string; 68 68 description?: string; 69 69 } 70 70 } 71 71 72 72 /** Gets recipes from the index. */ 73 - namespace MoeHaydenCookwareGetRecipes { 73 + namespace BlueRecipesFeedGetRecipes { 74 74 interface Params { 75 75 cursor: string; 76 76 did?: string; ··· 80 80 recipes: Result[]; 81 81 } 82 82 interface Result { 83 - [Brand.Type]?: "moe.hayden.cookware.getRecipes#result"; 83 + [Brand.Type]?: "blue.recipes.feed.getRecipes#result"; 84 84 author: string; 85 85 did: string; 86 86 ingredients: number; ··· 92 92 } 93 93 } 94 94 95 - namespace MoeHaydenCookwareRecipe { 95 + namespace BlueRecipesFeedRecipe { 96 96 /** Record containing a Cookware recipe. */ 97 97 interface Record { 98 - $type: "moe.hayden.cookware.recipe"; 99 - ingredients: MoeHaydenCookwareDefs.Ingredient[]; 100 - steps: MoeHaydenCookwareDefs.Step[]; 98 + $type: "blue.recipes.feed.recipe"; 99 + ingredients: BlueRecipesFeedDefs.Ingredient[]; 100 + steps: BlueRecipesFeedDefs.Step[]; 101 101 /** 102 102 * The title of the recipe. \ 103 103 * Maximum string length: 3000 \ ··· 110 110 * Maximum grapheme length: 300 111 111 */ 112 112 description?: string; 113 - estimate?: MoeHaydenCookwareDefs.ElapsedTime; 113 + estimate?: BlueRecipesFeedDefs.ElapsedTime; 114 114 } 115 115 } 116 116 117 117 interface Records { 118 - "moe.hayden.cookware.recipe": MoeHaydenCookwareRecipe.Record; 118 + "blue.recipes.feed.recipe": BlueRecipesFeedRecipe.Record; 119 119 } 120 120 121 121 interface Queries { 122 - "moe.hayden.cookware.getRecipe": { 123 - params: MoeHaydenCookwareGetRecipe.Params; 124 - output: MoeHaydenCookwareGetRecipe.Output; 122 + "blue.recipes.feed.getRecipe": { 123 + params: BlueRecipesFeedGetRecipe.Params; 124 + output: BlueRecipesFeedGetRecipe.Output; 125 125 }; 126 - "moe.hayden.cookware.getRecipes": { 127 - params: MoeHaydenCookwareGetRecipes.Params; 128 - output: MoeHaydenCookwareGetRecipes.Output; 126 + "blue.recipes.feed.getRecipes": { 127 + params: BlueRecipesFeedGetRecipes.Params; 128 + output: BlueRecipesFeedGetRecipes.Output; 129 129 }; 130 130 } 131 131