├── .gitignore ├── .gitmodules ├── .npmignore ├── .travis.yml ├── API.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bower.json ├── core ├── Condition.js ├── ManyToManyProxy.js ├── ModelInstance.js ├── OneToManyProxy.js ├── OneToOneProxy.js ├── Placeholder.js ├── Query.js ├── RelationshipProxy.js ├── RelationshipType.js ├── cache.js ├── chain.js ├── collection.js ├── collectionRegistry.js ├── error.js ├── events.js ├── index.js ├── instanceFactory.js ├── log.js ├── mappingOperation.js ├── model.js ├── modelEvents.js ├── querySet.js ├── reactiveQuery.js └── util.js ├── dist ├── siesta.js └── siesta.min.js ├── gulpfile.js ├── package.json ├── siesta.sublime-project ├── siesta.sublime-workspace ├── test ├── async.spec.js ├── babelHook.js ├── bugs.spec.js ├── bulkRemoval.spec.js ├── cache.spec.js ├── changeIdentifiers.spec.js ├── collection.setup.spec.js ├── events.spec.js ├── getByLocalId.spec.js ├── graph.spec.js ├── index.html ├── install.spec.js ├── integration │ └── photos.spec.js ├── intercollection.spec.js ├── manyToManyRelationship.spec.js ├── mappingOperation.spec.js ├── model.spec.js ├── newInstances.spec.js ├── observe.spec.js ├── oneToManyRelationship.spec.js ├── oneToOneRelationship.spec.js ├── query.spec.js ├── reactiveQuery.spec.js ├── recursiveRelationships.spec.js ├── relationshipProxy.spec.js ├── remove.spec.js ├── serialisation.spec.js ├── singleton.spec.js ├── stats.spec.js ├── subclass.spec.js ├── util.js └── vendor │ ├── chai │ ├── es5-shim │ ├── mocha │ ├── pouchdb │ ├── source-map-support │ └── underscore ├── vendor └── zepto.js └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/.gitmodules -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/.travis.yml -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | TODO -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/README.md -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/bower.json -------------------------------------------------------------------------------- /core/Condition.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/Condition.js -------------------------------------------------------------------------------- /core/ManyToManyProxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/ManyToManyProxy.js -------------------------------------------------------------------------------- /core/ModelInstance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/ModelInstance.js -------------------------------------------------------------------------------- /core/OneToManyProxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/OneToManyProxy.js -------------------------------------------------------------------------------- /core/OneToOneProxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/OneToOneProxy.js -------------------------------------------------------------------------------- /core/Placeholder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/Placeholder.js -------------------------------------------------------------------------------- /core/Query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/Query.js -------------------------------------------------------------------------------- /core/RelationshipProxy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/RelationshipProxy.js -------------------------------------------------------------------------------- /core/RelationshipType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/RelationshipType.js -------------------------------------------------------------------------------- /core/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/cache.js -------------------------------------------------------------------------------- /core/chain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/chain.js -------------------------------------------------------------------------------- /core/collection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/collection.js -------------------------------------------------------------------------------- /core/collectionRegistry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/collectionRegistry.js -------------------------------------------------------------------------------- /core/error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/error.js -------------------------------------------------------------------------------- /core/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/events.js -------------------------------------------------------------------------------- /core/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/index.js -------------------------------------------------------------------------------- /core/instanceFactory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/instanceFactory.js -------------------------------------------------------------------------------- /core/log.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/log.js -------------------------------------------------------------------------------- /core/mappingOperation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/mappingOperation.js -------------------------------------------------------------------------------- /core/model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/model.js -------------------------------------------------------------------------------- /core/modelEvents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/modelEvents.js -------------------------------------------------------------------------------- /core/querySet.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/querySet.js -------------------------------------------------------------------------------- /core/reactiveQuery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/reactiveQuery.js -------------------------------------------------------------------------------- /core/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/core/util.js -------------------------------------------------------------------------------- /dist/siesta.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/dist/siesta.js -------------------------------------------------------------------------------- /dist/siesta.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/dist/siesta.min.js -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/gulpfile.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/package.json -------------------------------------------------------------------------------- /siesta.sublime-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/siesta.sublime-project -------------------------------------------------------------------------------- /siesta.sublime-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/siesta.sublime-workspace -------------------------------------------------------------------------------- /test/async.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/async.spec.js -------------------------------------------------------------------------------- /test/babelHook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/babelHook.js -------------------------------------------------------------------------------- /test/bugs.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/bugs.spec.js -------------------------------------------------------------------------------- /test/bulkRemoval.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/bulkRemoval.spec.js -------------------------------------------------------------------------------- /test/cache.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/cache.spec.js -------------------------------------------------------------------------------- /test/changeIdentifiers.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/changeIdentifiers.spec.js -------------------------------------------------------------------------------- /test/collection.setup.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/collection.setup.spec.js -------------------------------------------------------------------------------- /test/events.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/events.spec.js -------------------------------------------------------------------------------- /test/getByLocalId.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/getByLocalId.spec.js -------------------------------------------------------------------------------- /test/graph.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/graph.spec.js -------------------------------------------------------------------------------- /test/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/index.html -------------------------------------------------------------------------------- /test/install.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/install.spec.js -------------------------------------------------------------------------------- /test/integration/photos.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/integration/photos.spec.js -------------------------------------------------------------------------------- /test/intercollection.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/intercollection.spec.js -------------------------------------------------------------------------------- /test/manyToManyRelationship.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/manyToManyRelationship.spec.js -------------------------------------------------------------------------------- /test/mappingOperation.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/mappingOperation.spec.js -------------------------------------------------------------------------------- /test/model.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/model.spec.js -------------------------------------------------------------------------------- /test/newInstances.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/newInstances.spec.js -------------------------------------------------------------------------------- /test/observe.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/observe.spec.js -------------------------------------------------------------------------------- /test/oneToManyRelationship.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/oneToManyRelationship.spec.js -------------------------------------------------------------------------------- /test/oneToOneRelationship.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/oneToOneRelationship.spec.js -------------------------------------------------------------------------------- /test/query.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/query.spec.js -------------------------------------------------------------------------------- /test/reactiveQuery.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/reactiveQuery.spec.js -------------------------------------------------------------------------------- /test/recursiveRelationships.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/recursiveRelationships.spec.js -------------------------------------------------------------------------------- /test/relationshipProxy.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/relationshipProxy.spec.js -------------------------------------------------------------------------------- /test/remove.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/remove.spec.js -------------------------------------------------------------------------------- /test/serialisation.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/serialisation.spec.js -------------------------------------------------------------------------------- /test/singleton.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/singleton.spec.js -------------------------------------------------------------------------------- /test/stats.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/stats.spec.js -------------------------------------------------------------------------------- /test/subclass.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/subclass.spec.js -------------------------------------------------------------------------------- /test/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/test/util.js -------------------------------------------------------------------------------- /test/vendor/chai: -------------------------------------------------------------------------------- 1 | ../../node_modules/chai -------------------------------------------------------------------------------- /test/vendor/es5-shim: -------------------------------------------------------------------------------- 1 | ../../node_modules/es5-shim -------------------------------------------------------------------------------- /test/vendor/mocha: -------------------------------------------------------------------------------- 1 | ../../node_modules/mocha -------------------------------------------------------------------------------- /test/vendor/pouchdb: -------------------------------------------------------------------------------- 1 | ../../node_modules/pouchdb -------------------------------------------------------------------------------- /test/vendor/source-map-support: -------------------------------------------------------------------------------- 1 | ../../node_modules/source-map-support -------------------------------------------------------------------------------- /test/vendor/underscore: -------------------------------------------------------------------------------- 1 | ../../node_modules/underscore -------------------------------------------------------------------------------- /vendor/zepto.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/vendor/zepto.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mtford90/siesta/HEAD/webpack.config.js --------------------------------------------------------------------------------