• Full sync: jdoc.json → SurrealDB

    This is the main entry point for synchronization.

    Process:

    1. Connect to SurrealDB
    2. Initialize schema (if needed)
    3. Sync all files (optionally filtered by path)
    4. Display statistics
    5. Disconnect

    Parameters

    • OptionalpathFilter: string

      Optional path filter (e.g., "packages/ts_web/src/apis")

    Returns Promise<void>

    Error if sync fails