Private/ps1/Get-ApprxrFileWatcherLocations.ps1

<##
.SYNOPSIS
    Reads all file watcher locations from the Apprxr configuration.
.DESCRIPTION
    Reads the 'FileWatcher' configuration value and decodes it from JSON to a hashtable.
.EXAMPLE
    Get-ApprxrFileWatcherLocations
    Returns all configured file watcher locations as a hashtable.
##>

function Get-ApprxrFileWatcherLocations {
    $json = Get-ApprxrConfigurationValue -Name 'FileWatcher'
    if ($json) {
        return $json | ConvertFrom-Json
    } else {
        return @{}
    }
}