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

Function getProfileReadingWindow

packages/shared/src/graphql/users.ts:268–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }, 0) ?? 0;
267
268export const getProfileReadingWindow = (): { before: Date; after: Date } => {
269 const before = startOfTomorrow();
270
271 return { before, after: subMonths(subDays(before, 2), 5) };
272};
273
274export const profileReadingHistoryQueryOptions = ({
275 user,

Callers 2

ProfileWidgetsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected