MCPcopy Create free account
hub / github.com/simstudioai/sim / buildContentHash

Function buildContentHash

apps/sim/connectors/monday/monday.ts:191–193  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

189 * fetch, since monday's `updated_at` advances on any item or column change.
190 */
191function 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`

Callers 1

itemToDocumentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected