scanLocalBindings
scanLocalBindings(
sourceDirs,types):LocalScanResult
Defined in: packages/simply-aep-core/src/at4dxLocalScan.ts:68
Scan local Salesforce DX source directories for AT4DX Application Factory binding records,
parsing each CustomMetadata component’s <values> pairs directly — the same “read the
metadata XML” approach simply schema visualize’s local scan uses for CustomField/
CustomObject.
Unlike an org (see at4dxOrgScan), local source gives no signal for “this Custom Metadata Type
doesn’t exist” independent of “zero records exist for it” — a missing customMetadata folder
and an empty one look identical to ComponentSet.fromSource. Callers treat a fully empty result
across every requested type as “AT4DX not detected here.”
Parameters
Section titled “Parameters”sourceDirs
Section titled “sourceDirs”string[]
The source directories to scan.
Which binding types to include.
Returns
Section titled “Returns”The discovered bindings and diagnostics.