orbitjs/orbit.js — pull request #45 by ahacking (2014-08-06 08:50:57+00:00)
Title: Add per model ID mapping and modelDefaults

Adds per model ID field mapping support via a new ``Schema`` option: ``modelDefaults``. This is used for specifying default schema attributes and links (including ID fields) for all models in the schema.

Since ID mapping is now per model, the id mapping concern has been integrated into the ``Schema`` class and the type lookup based ``IdMap`` removed.

An MIT licensed v4 UUID implementation has been added and made the default id generator.

Tests have been enhanced.