MCPcopy
hub / github.com/midudev/preguntas-entrevista-react / listPosts

Function listPosts

utils/posts.js:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24export const listPosts = async () => {
25 const posts = await readIndex()
26 return posts.map(post => ({ post: post.id }))
27}

Callers 2

sitemapFunction · 0.90
generateStaticParamsFunction · 0.90

Calls 1

readIndexFunction · 0.85

Tested by

no test coverage detected