MCPcopy
hub / github.com/codedogQBY/ReadAny / normalizeDeletedAt

Function normalizeDeletedAt

packages/core/src/sync/simple-sync.ts:438–442  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

436}
437
438function normalizeDeletedAt(value: unknown): number | null | undefined {
439 if (value === undefined) return undefined;
440 if (value === null) return null;
441 return typeof value === "number" ? value : Number(value) || null;
442}
443
444function shouldApplyRemoteRecord(
445 record: Record<string, unknown>,

Callers 3

applyChangesFunction · 0.85
shouldApplyRemoteRecordFunction · 0.85
loadExistingRecordStatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected