(pathname: string)
| 12 | const DEFAULT_RETENTION_DAYS = 7; |
| 13 | |
| 14 | export function getStorageKey(pathname: string): string { |
| 15 | return `${STORAGE_PREFIX}${pathname}`; |
| 16 | } |
| 17 | |
| 18 | export function loadAnnotations<T = Annotation>(pathname: string): T[] { |
| 19 | if (typeof window === "undefined") return []; |
no outgoing calls
no test coverage detected
searching dependent graphs…