1 indexed skills · max 10 per page
langgenius/dify · Productivity
Contract-first API patterns for Dify frontend using oRPC with TanStack Query integration. \n \n Define contracts in web/contract/* as single source of truth; consume via useQuery(consoleQuery.xxx.queryOptions(...)) at call sites for 1:1 endpoint mappings \n Use .key() for partial matching in invalidation/refetch, .queryKey() for specific query identity, and .mutationKey() for mutation defaults or status filtering \n Extract queryOptions helpers only when 3+ call sites share identical options; cr