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

Function buildWidePost

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

Source from the content-addressed store, hash-verified

1864};
1865
1866const buildWidePost = (id: string, size: number): Post =>
1867 buildPost(id, {
1868 id: `hero-${id}`,
1869 headline: 'wide',
1870 significance: SIGNIFICANCE_BY_SIZE[size] ?? 'notable',
1871 size,
1872 highlightedAt: '2026-05-25T00:00:00.000Z',
1873 });
1874
1875const buildFeedPage = (posts: Post[]): Connection<Post> => ({
1876 pageInfo: { hasNextPage: false, endCursor: '' },

Callers 1

Feed.spec.tsxFile · 0.85

Calls 1

buildPostFunction · 0.70

Tested by

no test coverage detected