MCPcopy Create free account
hub / github.com/EvoMap/evolver / sanitizeRow

Function sanitizeRow

src/proxy/mailbox/store.js:37–47  ·  view source on GitHub ↗
(row)

Source from the content-addressed store, hash-verified

35}
36
37function sanitizeRow(row) {
38 if (!row || typeof row !== 'object') return row;
39 const out = {};
40 safeAssign(out, row);
41 if (out.fields && typeof out.fields === 'object') {
42 const cleanFields = {};
43 safeAssign(cleanFields, out.fields);
44 out.fields = cleanFields;
45 }
46 return out;
47}
48
49// --- UUID v7 (RFC 9562) ---
50// Bits 0-47: unix_ts_ms, Bits 48-51: ver=0b0111, Bits 52-63: rand_a,

Callers 1

_rebuildIndexMethod · 0.85

Calls 1

safeAssignFunction · 0.85

Tested by

no test coverage detected