Creates an instance of ContactNoteWriter.
The Obsidian Vault instance to operate on.
The Obsidian MetadataCache instance to operate on.
The Obsidian FileManager instance to operate on.
ProtectedfileThe FileManager instance used for file operations.
This protected property is used to manage file operations in the Obsidian vault.
ProtectedformatterThe Formatter instance used for formatting contact data into frontmatter.
This protected property is used to format contact data into a suitable format for Obsidian frontmatter.
ProtectedmetadataThe MetadataCache instance used for managing file metadata.
This protected property is used to manage file metadata in the Obsidian vault.
ProtectedvaultThe VaultService instance used for vault operations.
This protected property is used to encapsulate file and folder operations to facilitate testing and decouple from direct API usage.
ProtectedhasChecks if a Google contact has the specified sync label.
The Google contact to check.
The label to check for.
A mapping of label names to their corresponding group IDs.
True if the contact has the label, false otherwise.
ProtectedscanScans the provided files for frontmatter properties matching the specified prefix.
The list of TFile objects to scan.
The prefix to use for identifying frontmatter properties.
A mapping of property values to TFile objects.
Writes notes for the provided contacts based on the specified configuration.
The configuration for writing contact notes.
A mapping of label names to their corresponding group IDs.
The list of Google contacts to write notes for.
Responsible for creating and updating contact notes in the vault. Handles writing new notes and updating existing ones based on contact metadata.