* Builds the change-detection hash from item identity + last-modified time. Must * be identical whether produced inline during listing or via a `getDocument` * fetch, since monday's `updated_at` advances on any item or column change.
(itemId: string, updatedAt: string | null | undefined)
| 189 | * fetch, since monday's `updated_at` advances on any item or column change. |
| 190 | */ |
| 191 | function buildContentHash(itemId: string, updatedAt: string | null | undefined): string { |
| 192 | return `monday:${itemId}:${updatedAt ?? ''}` |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Resolves a stable board name + id for an item, preferring the nested `board` |