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

Function isSameView

packages/shared/src/lib/streakViewQueue.ts:52–53  ·  view source on GitHub ↗
(a: QueuedStreakView, b: Pick<QueuedStreakView, 'postId'>)

Source from the content-addressed store, hash-verified

50};
51
52const isSameView = (a: QueuedStreakView, b: Pick<QueuedStreakView, 'postId'>) =>
53 a.postId === b.postId;
54
55export const enqueueStreakView = (view: QueuedStreakView): void => {
56 const queue = readStreakViewQueue();

Callers 2

enqueueStreakViewFunction · 0.85
removeStreakViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected