The recipes.blue monorepo recipes.blue
recipes appview atproto

feat: make author optional in getRecipes

hayden.moe ca2cdc76 aaa11a23

verified
Changed files
+2 -2
libs
lexicons
lexicons
lib
types
blue
recipes
+1 -1
libs/lexicons/lexicons/feed/getRecipes.tsp
··· 5 5 /** Response model for fetching multiple recipes. */ 6 6 @query 7 7 op main( 8 - @required author: atIdentifier, 8 + author?: atIdentifier, 9 9 @minValue(1) @maxValue(100) limit?: integer = 50, 10 10 cursor?: string, 11 11 ): {
+1 -1
libs/lexicons/lib/types/blue/recipes/feed/getRecipes.ts
··· 5 5 6 6 const _mainSchema = /*#__PURE__*/ v.query("blue.recipes.feed.getRecipes", { 7 7 params: /*#__PURE__*/ v.object({ 8 - author: /*#__PURE__*/ v.actorIdentifierString(), 8 + author: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.actorIdentifierString()), 9 9 cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 10 10 /** 11 11 * @minimum 1