Applies the primitives from @orbit/core to data sources. Includes the following elements:
A schema for defining models, including attributes and relationships.
Operations used to manipulate records (e.g.
Transforms, which are composed of any number of operations, and must be performed transactionally.
A query language that allows query expressions to be composed in a flexible AST form.
Sourceclass that can be used to abstract any source of data. Sources can be decorated as
updatable- each decorator provides a unique interface that allows for transforms and queries to be applied as appropriate.
Install with npm:
npm install @orbit/data
Install the CLI for Broccoli globally:
npm install -g broccoli-cli
Install other dependencies:
Distributions can be built to the
/dist directory by running:
npm run build
Test in CI mode by running:
Or directly with testem (useful for configuring options):
Test within a browser (at http://localhost:4200/tests/) by running:
Copyright 2014-2017 Cerebris Corporation. MIT License (see LICENSE for details).