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

Function buildWidePost

packages/shared/src/components/Feed.spec.tsx:1812–1819  ·  view source on GitHub ↗
(id: string, size: number)

Source from the content-addressed store, hash-verified

1810};
1811
1812const buildWidePost = (id: string, size: number): Post =>
1813 buildPost(id, {
1814 id: `hero-${id}`,
1815 headline: 'wide',
1816 significance: SIGNIFICANCE_BY_SIZE[size] ?? 'notable',
1817 size,
1818 highlightedAt: '2026-05-25T00:00:00.000Z',
1819 });
1820
1821const buildFeedPage = (posts: Post[]): Connection<Post> => ({
1822 pageInfo: { hasNextPage: false, endCursor: '' },

Callers 1

Feed.spec.tsxFile · 0.85

Calls 1

buildPostFunction · 0.70

Tested by

no test coverage detected