MCPcopy Create free account
hub / github.com/dailydotdev/apps / getSimilarPostsVariables

Function getSimilarPostsVariables

packages/webapp/lib/postMarkdown.ts:182–188  ·  view source on GitHub ↗
(
  post: PostMarkdownPost,
)

Source from the content-addressed store, hash-verified

180`;
181
182export const getSimilarPostsVariables = (
183 post: PostMarkdownPost,
184): { post: string; tags: string[]; first: number } => ({
185 post: post.id,
186 tags: post.tags ?? [],
187 first: SIMILAR_POSTS_COUNT,
188});
189
190const yaml = (value: string): string => JSON.stringify(value);
191

Callers 1

handlerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected