@maschinenlesbar.org/openka-cli
    Preparing search index...

    Function normalizeSyncWindow

    • Check a sync window and return it in canonical form (dates trimmed). Throws OpenKaValidationError for a since/until that is not a YYYY-MM-DD calendar date, an until before since, a period outside PERIOD_RANGE and a limit below SYNC_LIMIT_MIN (both integers), and refs that syncRefsProblem refuses (trimmed otherwise). Idempotent; omitted fields stay omitted. sync() calls it first.

      Type Parameters

      Parameters

      • window: T

      Returns T