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

Function buildWidePost

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

Source from the content-addressed store, hash-verified

1761};
1762
1763const buildWidePost = (id: string, size: number): Post =>
1764 buildPost(id, {
1765 id: `hero-${id}`,
1766 headline: 'wide',
1767 significance: SIGNIFICANCE_BY_SIZE[size] ?? 'notable',
1768 size,
1769 highlightedAt: '2026-05-25T00:00:00.000Z',
1770 });
1771
1772const buildFeedPage = (posts: Post[]): Connection<Post> => ({
1773 pageInfo: { hasNextPage: false, endCursor: '' },

Callers 1

Feed.spec.tsxFile · 0.85

Calls 1

buildPostFunction · 0.70

Tested by

no test coverage detected