@orbit/data
    TypeScript icon, indicating that this package has built-in type declarations

    0.16.7 • Public • Published

    @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 Source class that can be used to abstract any source of data. Sources can be decorated as pullable, pushable, queryable, syncable, and/or updatable - each decorator provides a unique interface that allows for transforms and queries to be applied as appropriate.

    Installation

    yarn add @orbit/data
    

    Contributing

    Installation

    yarn install
    

    Building

    Distributions can be built to the /dist directory by running:

    yarn build
    

    Testing

    CI Testing

    Test in CI mode by running:

    yarn test
    

    Browser Testing

    Test within a browser (at http://localhost:4200/tests/) by running:

    yarn testem
    

    License

    Copyright 2014-2019 Cerebris Corporation. MIT License (see LICENSE for details).

    Install

    npm i @orbit/data

    DownloadsWeekly Downloads

    4,092

    Version

    0.16.7

    License

    MIT

    Unpacked Size

    927 kB

    Total Files

    130

    Last publish

    Collaborators

    • dgeb