getCurrentFieldSignature function

Last updated: 2026-03-04T23:21:38.393Z

Metrics

LOC: 5 Complexity: 1 Params: 0

Signature

getCurrentFieldSignature(): : string

Summary

Generates a signature string from current form fields for change detection

Source Code

function getCurrentFieldSignature(): string {
  const { fields } = detectAllFields();
  const fieldSigs = fields.map((f) => `${f.selector}:${f.fieldType}`);
  return fieldSigs.sort().join("|");
}

Dependencies (Outgoing)

graph LR getCurrentFieldSignature["getCurrentFieldSignature"] detectAllFields["detectAllFields"] getCurrentFieldSignature -->|calls| detectAllFields style getCurrentFieldSignature fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getCurrentFieldSignature "e72508d8f19c287a.html" click detectAllFields "394718c982f136bb.html"
TargetType
detectAllFields calls

Impact (Incoming)

graph LR getCurrentFieldSignature["getCurrentFieldSignature"] startWatching["startWatching"] handleMutations["handleMutations"] refillNewFields["refillNewFields"] startWatching -->|calls| getCurrentFieldSignature handleMutations -->|calls| getCurrentFieldSignature refillNewFields -->|calls| getCurrentFieldSignature style getCurrentFieldSignature fill:#dbeafe,stroke:#2563eb,stroke-width:2px click getCurrentFieldSignature "e72508d8f19c287a.html" click startWatching "f5ff88d04d3dd953.html" click handleMutations "b707db53be39a752.html" click refillNewFields "07b7f93b13ced4af.html"
SourceType
startWatching calls
handleMutations calls
refillNewFields calls