* Produces the change-detection hash for a note from its stable identifiers. * Granola exposes `updated_at`, which advances whenever the note (or its summary) * changes, so a metadata-only hash is sufficient and stays identical between the * list stub and the fetched document — letting the sync e
(id: string, updatedAt: string)
| 97 | * unchanged notes. |
| 98 | */ |
| 99 | function buildContentHash(id: string, updatedAt: string): string { |
| 100 | return `granola:${id}:${updatedAt}` |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Parses the optional `maxNotes` cap from source config. |
no outgoing calls
no test coverage detected