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

Function buildWidePost

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

Source from the content-addressed store, hash-verified

2727};
2728
2729const buildWidePost = (id: string, size: number): Post =>
2730 buildPost(id, {
2731 id: `hero-${id}`,
2732 headline: 'wide',
2733 significance: SIGNIFICANCE_BY_SIZE[size] ?? 'notable',
2734 size,
2735 highlightedAt: '2026-05-25T00:00:00.000Z',
2736 });
2737
2738const buildFeedPage = (posts: Post[]): Connection<Post> => ({
2739 pageInfo: { hasNextPage: false, endCursor: '' },

Callers 1

Feed.spec.tsxFile · 0.85

Calls 1

buildPostFunction · 0.70

Tested by

no test coverage detected