@orbit/data v0.17.0
@orbit/data
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.
addRecord,removeRecord,addToHasMany, etc.).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.
A base
Sourceclass that can be used to abstract any source of data. Sources can be decorated aspullable,pushable,queryable,syncable, and/orupdatable- each decorator provides a unique interface that allows for transforms and queries to be applied as appropriate.
Installation
Install with yarn:
yarn add @orbit/dataOr with npm:
npm install @orbit/dataContributing
Installation
To install dependencies:
yarn installBuilding
Distributions can be built to the /dist directory by running:
yarn buildTesting
CI Testing
Test in CI mode by running:
yarn testBrowser Testing
Test within a browser (at http://localhost:8080/) by running:
yarn startLicense
Copyright 2014-2021 Cerebris Corporation. MIT License (see LICENSE for details).
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago